IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/reactos/dll/win32/gdiplus/extr_stringformat.c_free_generic_string_formats.c' source_filename = "AnghaBench/reactos/dll/win32/gdiplus/extr_stringformat.c_free_generic_string_formats.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_3__ = type { i32, i32 } @generic_default_format = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @generic_typographic_format = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local void @free_generic_string_formats() local_unnamed_addr #0 { %1 = load i32, ptr getelementptr inbounds (%struct.TYPE_4__, ptr @generic_default_format, i64 0, i32 1), align 4, !tbaa !5 %2 = tail call i32 @heap_free(i32 noundef %1) #2 %3 = load i32, ptr @generic_default_format, align 4, !tbaa !10 %4 = tail call i32 @heap_free(i32 noundef %3) #2 %5 = load i32, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @generic_typographic_format, i64 0, i32 1), align 4, !tbaa !11 %6 = tail call i32 @heap_free(i32 noundef %5) #2 %7 = load i32, ptr @generic_typographic_format, align 4, !tbaa !13 %8 = tail call i32 @heap_free(i32 noundef %7) #2 ret void } declare i32 @heap_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, !7, i64 4} !6 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 4} !12 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !13 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/gdiplus/extr_stringformat.c_free_generic_string_formats.c' source_filename = "AnghaBench/reactos/dll/win32/gdiplus/extr_stringformat.c_free_generic_string_formats.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32, i32 } %struct.TYPE_3__ = type { i32, i32 } @generic_default_format = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @generic_typographic_format = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @free_generic_string_formats() local_unnamed_addr #0 { %1 = load i32, ptr getelementptr inbounds (i8, ptr @generic_default_format, i64 4), align 4, !tbaa !6 %2 = tail call i32 @heap_free(i32 noundef %1) #2 %3 = load i32, ptr @generic_default_format, align 4, !tbaa !11 %4 = tail call i32 @heap_free(i32 noundef %3) #2 %5 = load i32, ptr getelementptr inbounds (i8, ptr @generic_typographic_format, i64 4), align 4, !tbaa !12 %6 = tail call i32 @heap_free(i32 noundef %5) #2 %7 = load i32, ptr @generic_typographic_format, align 4, !tbaa !14 %8 = tail call i32 @heap_free(i32 noundef %7) #2 ret void } declare i32 @heap_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, !8, i64 4} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !14 = !{!13, !8, i64 0}
reactos_dll_win32_gdiplus_extr_stringformat.c_free_generic_string_formats
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_cxusb-analog.c_cxusb_videoradio_open.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_cxusb-analog.c_cxusb_videoradio_open.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CXUSB_OPEN_ANALOG = dso_local local_unnamed_addr global i32 0, align 4 @OPS = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"got open\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cxusb_videoradio_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cxusb_videoradio_open(ptr noundef %0) #0 { %2 = tail call ptr @video_drvdata(ptr noundef %0) #2 %3 = load i32, ptr @CXUSB_OPEN_ANALOG, align 4, !tbaa !5 %4 = tail call i32 @cxusb_medion_get(ptr noundef %2, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %1 %7 = tail call i32 @v4l2_fh_open(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr @OPS, align 4, !tbaa !5 %11 = tail call i32 @cxusb_vprintk(ptr noundef %2, i32 noundef %10, ptr noundef nonnull @.str) #2 br label %14 12: ; preds = %6 %13 = tail call i32 @cxusb_medion_put(ptr noundef %2) #2 br label %14 14: ; preds = %1, %12, %9 %15 = phi i32 [ %7, %12 ], [ 0, %9 ], [ %4, %1 ] ret i32 %15 } declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @cxusb_medion_get(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_fh_open(ptr noundef) local_unnamed_addr #1 declare i32 @cxusb_vprintk(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cxusb_medion_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb/extr_cxusb-analog.c_cxusb_videoradio_open.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb/extr_cxusb-analog.c_cxusb_videoradio_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CXUSB_OPEN_ANALOG = common local_unnamed_addr global i32 0, align 4 @OPS = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"got open\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cxusb_videoradio_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cxusb_videoradio_open(ptr noundef %0) #0 { %2 = tail call ptr @video_drvdata(ptr noundef %0) #2 %3 = load i32, ptr @CXUSB_OPEN_ANALOG, align 4, !tbaa !6 %4 = tail call i32 @cxusb_medion_get(ptr noundef %2, i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %14 6: ; preds = %1 %7 = tail call i32 @v4l2_fh_open(ptr noundef %0) #2 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %6 %10 = load i32, ptr @OPS, align 4, !tbaa !6 %11 = tail call i32 @cxusb_vprintk(ptr noundef %2, i32 noundef %10, ptr noundef nonnull @.str) #2 br label %14 12: ; preds = %6 %13 = tail call i32 @cxusb_medion_put(ptr noundef %2) #2 br label %14 14: ; preds = %1, %12, %9 %15 = phi i32 [ %7, %12 ], [ 0, %9 ], [ %4, %1 ] ret i32 %15 } declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @cxusb_medion_get(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @v4l2_fh_open(ptr noundef) local_unnamed_addr #1 declare i32 @cxusb_vprintk(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cxusb_medion_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_media_usb_dvb-usb_extr_cxusb-analog.c_cxusb_videoradio_open
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dvb_dummy_fe.c_dvb_dummy_fe_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dvb_dummy_fe.c_dvb_dummy_fe_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @dvb_dummy_fe_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @dvb_dummy_fe_init(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dvb_dummy_fe.c_dvb_dummy_fe_init.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/frontends/extr_dvb_dummy_fe.c_dvb_dummy_fe_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @dvb_dummy_fe_init], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @dvb_dummy_fe_init(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_media_dvb_frontends_extr_dvb_dummy_fe.c_dvb_dummy_fe_init
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/pci/extr_pci-sb1250.c_sb1250_pci_can_access.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/pci/extr_pci-sb1250.c_sb1250_pci_can_access.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sb1250_bus_status = dso_local local_unnamed_addr global i32 0, align 4 @PCI_BUS_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @PCI_DEVICE_MODE = dso_local local_unnamed_addr global i32 0, align 4 @LDT_BRIDGE_DEVICE = dso_local local_unnamed_addr global i64 0, align 8 @LDT_BUS_ENABLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sb1250_pci_can_access], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sb1250_pci_can_access(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr @sb1250_bus_status, align 4, !tbaa !5 %4 = load i32, ptr @PCI_BUS_ENABLED, align 4, !tbaa !5 %5 = load i32, ptr @PCI_DEVICE_MODE, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = and i32 %6, %3 %8 = icmp eq i32 %7, 0 br i1 %8, label %25, label %9 9: ; preds = %2 %10 = load i64, ptr %0, align 8, !tbaa !9 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = tail call i64 @PCI_SLOT(i32 noundef %1) #2 %14 = load i64, ptr @LDT_BRIDGE_DEVICE, align 8, !tbaa !12 %15 = icmp eq i64 %13, %14 %16 = load i32, ptr @sb1250_bus_status, align 4, !tbaa !5 br i1 %15, label %17, label %21 17: ; preds = %12 %18 = load i32, ptr @LDT_BUS_ENABLED, align 4, !tbaa !5 %19 = and i32 %18, %16 %20 = icmp ne i32 %19, 0 br label %25 21: ; preds = %12 %22 = load i32, ptr @PCI_DEVICE_MODE, align 4, !tbaa !5 %23 = and i32 %22, %16 %24 = icmp eq i32 %23, 0 br label %25 25: ; preds = %9, %21, %2, %17 %26 = phi i1 [ %20, %17 ], [ false, %2 ], [ %24, %21 ], [ true, %9 ] %27 = zext i1 %26 to i32 ret i32 %27 } declare i64 @PCI_SLOT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"pci_bus", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/mips/pci/extr_pci-sb1250.c_sb1250_pci_can_access.c' source_filename = "AnghaBench/fastsocket/kernel/arch/mips/pci/extr_pci-sb1250.c_sb1250_pci_can_access.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sb1250_bus_status = common local_unnamed_addr global i32 0, align 4 @PCI_BUS_ENABLED = common local_unnamed_addr global i32 0, align 4 @PCI_DEVICE_MODE = common local_unnamed_addr global i32 0, align 4 @LDT_BRIDGE_DEVICE = common local_unnamed_addr global i64 0, align 8 @LDT_BUS_ENABLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sb1250_pci_can_access], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @sb1250_pci_can_access(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr @sb1250_bus_status, align 4, !tbaa !6 %4 = load i32, ptr @PCI_BUS_ENABLED, align 4, !tbaa !6 %5 = load i32, ptr @PCI_DEVICE_MODE, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = and i32 %6, %3 %8 = icmp eq i32 %7, 0 br i1 %8, label %25, label %9 9: ; preds = %2 %10 = load i64, ptr %0, align 8, !tbaa !10 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %25 12: ; preds = %9 %13 = tail call i64 @PCI_SLOT(i32 noundef %1) #2 %14 = load i64, ptr @LDT_BRIDGE_DEVICE, align 8, !tbaa !13 %15 = icmp eq i64 %13, %14 %16 = load i32, ptr @sb1250_bus_status, align 4, !tbaa !6 br i1 %15, label %17, label %21 17: ; preds = %12 %18 = load i32, ptr @LDT_BUS_ENABLED, align 4, !tbaa !6 %19 = and i32 %18, %16 %20 = icmp ne i32 %19, 0 br label %25 21: ; preds = %12 %22 = load i32, ptr @PCI_DEVICE_MODE, align 4, !tbaa !6 %23 = and i32 %22, %16 %24 = icmp eq i32 %23, 0 br label %25 25: ; preds = %9, %21, %2, %17 %26 = phi i1 [ %20, %17 ], [ false, %2 ], [ %24, %21 ], [ true, %9 ] %27 = zext i1 %26 to i32 ret i32 %27 } declare i64 @PCI_SLOT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"pci_bus", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
fastsocket_kernel_arch_mips_pci_extr_pci-sb1250.c_sb1250_pci_can_access
; ModuleID = 'AnghaBench/systemd/src/journal/extr_journald-server.c_vl_method_flush_to_var.c' source_filename = "AnghaBench/systemd/src/journal/extr_journald-server.c_vl_method_flush_to_var.c" target datalayout = "e-m:e-p270:32:32-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 [50 x i8] c"Received client request to flush runtime journal.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vl_method_flush_to_var], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vl_method_flush_to_var(ptr noundef %0, ptr noundef %1, i32 %2, ptr noundef %3) #0 { %5 = tail call i32 @assert(ptr noundef %0) #2 %6 = tail call i32 @assert(ptr noundef %3) #2 %7 = tail call i64 @json_variant_elements(ptr noundef %1) #2 %8 = icmp sgt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call i32 @varlink_error_invalid_parameter(ptr noundef %0, ptr noundef %1) #2 br label %15 11: ; preds = %4 %12 = tail call i32 @log_info(ptr noundef nonnull @.str) #2 %13 = tail call i32 @server_full_flush(ptr noundef %3) #2 %14 = tail call i32 @varlink_reply(ptr noundef %0, ptr noundef null) #2 br label %15 15: ; preds = %11, %9 %16 = phi i32 [ %10, %9 ], [ %14, %11 ] ret i32 %16 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i64 @json_variant_elements(ptr noundef) local_unnamed_addr #1 declare i32 @varlink_error_invalid_parameter(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @log_info(ptr noundef) local_unnamed_addr #1 declare i32 @server_full_flush(ptr noundef) local_unnamed_addr #1 declare i32 @varlink_reply(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/systemd/src/journal/extr_journald-server.c_vl_method_flush_to_var.c' source_filename = "AnghaBench/systemd/src/journal/extr_journald-server.c_vl_method_flush_to_var.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 [50 x i8] c"Received client request to flush runtime journal.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vl_method_flush_to_var], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vl_method_flush_to_var(ptr noundef %0, ptr noundef %1, i32 %2, ptr noundef %3) #0 { %5 = tail call i32 @assert(ptr noundef %0) #2 %6 = tail call i32 @assert(ptr noundef %3) #2 %7 = tail call i64 @json_variant_elements(ptr noundef %1) #2 %8 = icmp sgt i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call i32 @varlink_error_invalid_parameter(ptr noundef %0, ptr noundef %1) #2 br label %15 11: ; preds = %4 %12 = tail call i32 @log_info(ptr noundef nonnull @.str) #2 %13 = tail call i32 @server_full_flush(ptr noundef %3) #2 %14 = tail call i32 @varlink_reply(ptr noundef %0, ptr noundef null) #2 br label %15 15: ; preds = %11, %9 %16 = phi i32 [ %10, %9 ], [ %14, %11 ] ret i32 %16 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i64 @json_variant_elements(ptr noundef) local_unnamed_addr #1 declare i32 @varlink_error_invalid_parameter(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @log_info(ptr noundef) local_unnamed_addr #1 declare i32 @server_full_flush(ptr noundef) local_unnamed_addr #1 declare i32 @varlink_reply(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)"}
systemd_src_journal_extr_journald-server.c_vl_method_flush_to_var
; ModuleID = 'AnghaBench/linux/drivers/bus/extr_sunxi-rsb.c_sunxi_rsb_driver_register.c' source_filename = "AnghaBench/linux/drivers/bus/extr_sunxi-rsb.c_sunxi_rsb_driver_register.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @sunxi_rsb_bus = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sunxi_rsb_driver_register(ptr noundef %0) local_unnamed_addr #0 { store ptr @sunxi_rsb_bus, ptr %0, align 8, !tbaa !5 %2 = tail call i32 @driver_register(ptr noundef nonnull %0) #2 ret i32 %2 } declare i32 @driver_register(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"sunxi_rsb_driver", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/bus/extr_sunxi-rsb.c_sunxi_rsb_driver_register.c' source_filename = "AnghaBench/linux/drivers/bus/extr_sunxi-rsb.c_sunxi_rsb_driver_register.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @sunxi_rsb_bus = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sunxi_rsb_driver_register(ptr noundef %0) local_unnamed_addr #0 { store ptr @sunxi_rsb_bus, ptr %0, align 8, !tbaa !6 %2 = tail call i32 @driver_register(ptr noundef nonnull %0) #2 ret i32 %2 } declare i32 @driver_register(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"sunxi_rsb_driver", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_bus_extr_sunxi-rsb.c_sunxi_rsb_driver_register
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_ds1302.c_ds1302_wdisable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_ds1302.c_ds1302_wdisable.c" target datalayout = "e-m:e-p270:32:32-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 @ds1302_wdisable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ds1302_wdisable() #0 { %1 = tail call i32 @out_byte_rtc(i32 noundef 142, i32 noundef 128) #2 ret void } declare i32 @out_byte_rtc(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/fastsocket/kernel/drivers/char/extr_ds1302.c_ds1302_wdisable.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_ds1302.c_ds1302_wdisable.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 @ds1302_wdisable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ds1302_wdisable() #0 { %1 = tail call i32 @out_byte_rtc(i32 noundef 142, i32 noundef 128) #2 ret void } declare i32 @out_byte_rtc(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)"}
fastsocket_kernel_drivers_char_extr_ds1302.c_ds1302_wdisable
; ModuleID = 'AnghaBench/freebsd/lib/libc/resolv/extr_res_data.c___res_isourserver.c' source_filename = "AnghaBench/freebsd/lib/libc/resolv/extr_res_data.c___res_isourserver.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_res = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @res_isourserver(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @res_ourserver_p(ptr noundef nonnull @_res, ptr noundef %0) #2 ret i32 %2 } declare i32 @res_ourserver_p(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/freebsd/lib/libc/resolv/extr_res_data.c___res_isourserver.c' source_filename = "AnghaBench/freebsd/lib/libc/resolv/extr_res_data.c___res_isourserver.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_res = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @res_isourserver(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @res_ourserver_p(ptr noundef nonnull @_res, ptr noundef %0) #2 ret i32 %2 } declare i32 @res_ourserver_p(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)"}
freebsd_lib_libc_resolv_extr_res_data.c___res_isourserver
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_utrace.c_utrace_task_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_utrace.c_utrace_task_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" %struct.utrace = type { i32, i32, i32, i32 } @utrace_cachep = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @UTRACE_RESUME = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @utrace_task_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @utrace_task_alloc(ptr noundef %0) #0 { %2 = load i32, ptr @utrace_cachep, align 4, !tbaa !5 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call ptr @kmem_cache_zalloc(i32 noundef %2, i32 noundef %3) #2 %5 = icmp eq ptr %4, null %6 = zext i1 %5 to i32 %7 = tail call i64 @unlikely(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %35 9: ; preds = %1 %10 = getelementptr inbounds %struct.utrace, ptr %4, i64 0, i32 3 %11 = tail call i32 @spin_lock_init(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds %struct.utrace, ptr %4, i64 0, i32 2 %13 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %12) #2 %14 = getelementptr inbounds %struct.utrace, ptr %4, i64 0, i32 1 %15 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %14) #2 %16 = load i32, ptr @UTRACE_RESUME, align 4, !tbaa !5 store i32 %16, ptr %4, align 4, !tbaa !9 %17 = tail call i32 @task_lock(ptr noundef %0) #2 %18 = load ptr, ptr %0, align 8, !tbaa !11 %19 = icmp eq ptr %18, null %20 = zext i1 %19 to i32 %21 = tail call i64 @likely(i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %9 %24 = tail call i32 (...) @smp_wmb() #2 store ptr %4, ptr %0, align 8, !tbaa !11 br label %25 25: ; preds = %23, %9 %26 = tail call i32 @task_unlock(ptr noundef nonnull %0) #2 %27 = load ptr, ptr %0, align 8, !tbaa !11 %28 = icmp ne ptr %27, %4 %29 = zext i1 %28 to i32 %30 = tail call i64 @unlikely(i32 noundef %29) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %25 %33 = load i32, ptr @utrace_cachep, align 4, !tbaa !5 %34 = tail call i32 @kmem_cache_free(i32 noundef %33, ptr noundef nonnull %4) #2 br label %35 35: ; preds = %25, %32, %1 %36 = phi i32 [ 0, %1 ], [ 1, %32 ], [ 1, %25 ] ret i32 %36 } declare ptr @kmem_cache_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @task_lock(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @smp_wmb(...) local_unnamed_addr #1 declare i32 @task_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"utrace", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !11 = !{!12, !13, i64 0} !12 = !{!"task_struct", !13, i64 0} !13 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_utrace.c_utrace_task_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_utrace.c_utrace_task_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @utrace_cachep = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @UTRACE_RESUME = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @utrace_task_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @utrace_task_alloc(ptr noundef %0) #0 { %2 = load i32, ptr @utrace_cachep, align 4, !tbaa !6 %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call ptr @kmem_cache_zalloc(i32 noundef %2, i32 noundef %3) #2 %5 = icmp eq ptr %4, null %6 = zext i1 %5 to i32 %7 = tail call i64 @unlikely(i32 noundef %6) #2 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %35 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %4, i64 12 %11 = tail call i32 @spin_lock_init(ptr noundef nonnull %10) #2 %12 = getelementptr inbounds i8, ptr %4, i64 8 %13 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %12) #2 %14 = getelementptr inbounds i8, ptr %4, i64 4 %15 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %14) #2 %16 = load i32, ptr @UTRACE_RESUME, align 4, !tbaa !6 store i32 %16, ptr %4, align 4, !tbaa !10 %17 = tail call i32 @task_lock(ptr noundef %0) #2 %18 = load ptr, ptr %0, align 8, !tbaa !12 %19 = icmp eq ptr %18, null %20 = zext i1 %19 to i32 %21 = tail call i64 @likely(i32 noundef %20) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %25, label %23 23: ; preds = %9 %24 = tail call i32 @smp_wmb() #2 store ptr %4, ptr %0, align 8, !tbaa !12 br label %25 25: ; preds = %23, %9 %26 = tail call i32 @task_unlock(ptr noundef nonnull %0) #2 %27 = load ptr, ptr %0, align 8, !tbaa !12 %28 = icmp ne ptr %27, %4 %29 = zext i1 %28 to i32 %30 = tail call i64 @unlikely(i32 noundef %29) #2 %31 = icmp eq i64 %30, 0 br i1 %31, label %35, label %32 32: ; preds = %25 %33 = load i32, ptr @utrace_cachep, align 4, !tbaa !6 %34 = tail call i32 @kmem_cache_free(i32 noundef %33, ptr noundef nonnull %4) #2 br label %35 35: ; preds = %25, %32, %1 %36 = phi i32 [ 0, %1 ], [ 1, %32 ], [ 1, %25 ] ret i32 %36 } declare ptr @kmem_cache_zalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_init(ptr noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @task_lock(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @smp_wmb(...) local_unnamed_addr #1 declare i32 @task_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @kmem_cache_free(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"utrace", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !12 = !{!13, !14, i64 0} !13 = !{!"task_struct", !14, i64 0} !14 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_kernel_extr_utrace.c_utrace_task_alloc
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_i8254.c_kpit_elapsed.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_i8254.c_kpit_elapsed.c" target datalayout = "e-m:e-p270:32:32-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 @kpit_elapsed], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @kpit_elapsed(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %5, label %7 5: ; preds = %3 %6 = tail call i32 @__kpit_elapsed(ptr noundef %0) #2 br label %12 7: ; preds = %3 %8 = tail call i32 (...) @ktime_get() #2 %9 = load i32, ptr %1, align 4, !tbaa !5 %10 = tail call i32 @ktime_sub(i32 noundef %8, i32 noundef %9) #2 %11 = tail call i32 @ktime_to_ns(i32 noundef %10) #2 br label %12 12: ; preds = %7, %5 %13 = phi i32 [ %6, %5 ], [ %11, %7 ] ret i32 %13 } declare i32 @__kpit_elapsed(ptr noundef) local_unnamed_addr #1 declare i32 @ktime_to_ns(i32 noundef) local_unnamed_addr #1 declare i32 @ktime_sub(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ktime_get(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"kvm_kpit_channel_state", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/arch/x86/kvm/extr_i8254.c_kpit_elapsed.c' source_filename = "AnghaBench/linux/arch/x86/kvm/extr_i8254.c_kpit_elapsed.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 @kpit_elapsed], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @kpit_elapsed(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp eq i32 %2, 0 br i1 %4, label %5, label %7 5: ; preds = %3 %6 = tail call i32 @__kpit_elapsed(ptr noundef %0) #2 br label %12 7: ; preds = %3 %8 = tail call i32 @ktime_get() #2 %9 = load i32, ptr %1, align 4, !tbaa !6 %10 = tail call i32 @ktime_sub(i32 noundef %8, i32 noundef %9) #2 %11 = tail call i32 @ktime_to_ns(i32 noundef %10) #2 br label %12 12: ; preds = %7, %5 %13 = phi i32 [ %6, %5 ], [ %11, %7 ] ret i32 %13 } declare i32 @__kpit_elapsed(ptr noundef) local_unnamed_addr #1 declare i32 @ktime_to_ns(i32 noundef) local_unnamed_addr #1 declare i32 @ktime_sub(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ktime_get(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"kvm_kpit_channel_state", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_arch_x86_kvm_extr_i8254.c_kpit_elapsed
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MovetoTimePos.c' source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MovetoTimePos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr } %struct.TYPE_7__ = type { i32, %struct.TYPE_5__, ptr, i64, i64, i64 } %struct.TYPE_5__ = type { i64 } @VLC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @INPUT_UPDATE_SEEKPOINT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @MovetoTimePos], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @MovetoTimePos(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 5 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = add nsw i64 %8, %2 %10 = tail call i32 @vlc_stream_Seek(i32 noundef %6, i64 noundef %9) #3 %11 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !16 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %29 13: ; preds = %3 %14 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 3 %15 = load i64, ptr %14, align 8, !tbaa !17 %16 = sub nsw i64 %1, %15 %17 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 4 store i64 %16, ptr %17, align 8, !tbaa !18 %18 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 2 %19 = load ptr, ptr %18, align 8, !tbaa !19 %20 = icmp eq ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %13 %22 = tail call i32 @block_ChainRelease(ptr noundef nonnull %19) #3 br label %23 23: ; preds = %21, %13 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %5, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false) %25 = load i32, ptr @INPUT_UPDATE_SEEKPOINT, align 4, !tbaa !16 %26 = load i32, ptr %5, align 8, !tbaa !20 %27 = or i32 %26, %25 store i32 %27, ptr %5, align 8, !tbaa !20 %28 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !16 br label %29 29: ; preds = %3, %23 %30 = phi i32 [ %28, %23 ], [ %10, %3 ] ret i32 %30 } declare i32 @vlc_stream_Seek(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @block_ChainRelease(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, !10, i64 8} !6 = !{!"TYPE_6__", !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} !12 = !{!13, !15, i64 40} !13 = !{!"TYPE_7__", !7, i64 0, !14, i64 8, !10, i64 16, !15, i64 24, !15, i64 32, !15, i64 40} !14 = !{!"TYPE_5__", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!7, !7, i64 0} !17 = !{!13, !15, i64 24} !18 = !{!13, !15, i64 32} !19 = !{!13, !10, i64 16} !20 = !{!13, !7, i64 0}
; ModuleID = 'AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MovetoTimePos.c' source_filename = "AnghaBench/vlc/modules/demux/mpeg/extr_es.c_MovetoTimePos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VLC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @INPUT_UPDATE_SEEKPOINT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @MovetoTimePos], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @MovetoTimePos(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %0, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %5, i64 40 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = add nsw i64 %8, %2 %10 = tail call i32 @vlc_stream_Seek(i32 noundef %6, i64 noundef %9) #3 %11 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !17 %12 = icmp eq i32 %10, %11 br i1 %12, label %13, label %29 13: ; preds = %3 %14 = getelementptr inbounds i8, ptr %5, i64 24 %15 = load i64, ptr %14, align 8, !tbaa !18 %16 = sub nsw i64 %1, %15 %17 = getelementptr inbounds i8, ptr %5, i64 32 store i64 %16, ptr %17, align 8, !tbaa !19 %18 = getelementptr inbounds i8, ptr %5, i64 16 %19 = load ptr, ptr %18, align 8, !tbaa !20 %20 = icmp eq ptr %19, null br i1 %20, label %23, label %21 21: ; preds = %13 %22 = tail call i32 @block_ChainRelease(ptr noundef nonnull %19) #3 br label %23 23: ; preds = %21, %13 %24 = getelementptr inbounds i8, ptr %5, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false) %25 = load i32, ptr @INPUT_UPDATE_SEEKPOINT, align 4, !tbaa !17 %26 = load i32, ptr %5, align 8, !tbaa !21 %27 = or i32 %26, %25 store i32 %27, ptr %5, align 8, !tbaa !21 %28 = load i32, ptr @VLC_SUCCESS, align 4, !tbaa !17 br label %29 29: ; preds = %3, %23 %30 = phi i32 [ %28, %23 ], [ %10, %3 ] ret i32 %30 } declare i32 @vlc_stream_Seek(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @block_ChainRelease(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, !11, i64 8} !7 = !{!"TYPE_6__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !16, i64 40} !14 = !{!"TYPE_7__", !8, i64 0, !15, i64 8, !11, i64 16, !16, i64 24, !16, i64 32, !16, i64 40} !15 = !{!"TYPE_5__", !16, i64 0} !16 = !{!"long", !9, i64 0} !17 = !{!8, !8, i64 0} !18 = !{!14, !16, i64 24} !19 = !{!14, !16, i64 32} !20 = !{!14, !11, i64 16} !21 = !{!14, !8, i64 0}
vlc_modules_demux_mpeg_extr_es.c_MovetoTimePos
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_kpc.c_sysctl_kpc_get_shadow_counters.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_kpc.c_sysctl_kpc_get_shadow_counters.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @KPC_ALL_CPUS = 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 @sysctl_kpc_get_shadow_counters], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sysctl_kpc_get_shadow_counters(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @KPC_ALL_CPUS, align 4, !tbaa !5 %6 = and i32 %5, %0 %7 = getelementptr inbounds i32, ptr %2, i64 1 %8 = call i32 @kpc_get_shadow_counters(i32 noundef %6, i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %16 12: ; preds = %3 %13 = load i32, ptr %4, align 4, !tbaa !5 store i32 %13, ptr %2, align 4, !tbaa !5 %14 = shl i32 %8, 2 %15 = add i32 %14, 4 store i32 %15, ptr %1, align 4, !tbaa !5 br label %16 16: ; preds = %12, %10 %17 = phi i32 [ 0, %12 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @kpc_get_shadow_counters(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/kern/extr_kern_kpc.c_sysctl_kpc_get_shadow_counters.c' source_filename = "AnghaBench/darwin-xnu/bsd/kern/extr_kern_kpc.c_sysctl_kpc_get_shadow_counters.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KPC_ALL_CPUS = 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 @sysctl_kpc_get_shadow_counters], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sysctl_kpc_get_shadow_counters(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr @KPC_ALL_CPUS, align 4, !tbaa !6 %6 = and i32 %5, %0 %7 = getelementptr inbounds i8, ptr %2, i64 4 %8 = call i32 @kpc_get_shadow_counters(i32 noundef %6, i32 noundef %0, ptr noundef nonnull %4, ptr noundef nonnull %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %16 12: ; preds = %3 %13 = load i32, ptr %4, align 4, !tbaa !6 store i32 %13, ptr %2, align 4, !tbaa !6 %14 = shl i32 %8, 2 %15 = add i32 %14, 4 store i32 %15, ptr %1, align 4, !tbaa !6 br label %16 16: ; preds = %12, %10 %17 = phi i32 [ 0, %12 ], [ %11, %10 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @kpc_get_shadow_counters(i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
darwin-xnu_bsd_kern_extr_kern_kpc.c_sysctl_kpc_get_shadow_counters
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/common/extr_khrn_client.c_client_thread_detach.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/common/extr_khrn_client.c_client_thread_detach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @client_tls = dso_local local_unnamed_addr global i32 0, align 4 @client_tls_mutex = dso_local local_unnamed_addr global i32 0, align 4 @client_tls_process = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @client_thread_detach(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr (...) @CLIENT_GET_THREAD_STATE() #2 %3 = tail call i32 @UNUSED(ptr noundef %0) #2 %4 = load i32, ptr @client_tls, align 4, !tbaa !5 %5 = tail call i32 @platform_tls_remove(i32 noundef %4) #2 %6 = tail call i32 @client_thread_state_term(ptr noundef %2) #2 %7 = tail call i32 @khrn_platform_free(ptr noundef %2) #2 %8 = tail call i32 (...) @platform_maybe_free_process() #2 ret void } declare ptr @CLIENT_GET_THREAD_STATE(...) local_unnamed_addr #1 declare i32 @UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @platform_tls_remove(i32 noundef) local_unnamed_addr #1 declare i32 @client_thread_state_term(ptr noundef) local_unnamed_addr #1 declare i32 @khrn_platform_free(ptr noundef) local_unnamed_addr #1 declare i32 @platform_maybe_free_process(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/RetroArch/gfx/include/userland/interface/khronos/common/extr_khrn_client.c_client_thread_detach.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/common/extr_khrn_client.c_client_thread_detach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @client_tls = common local_unnamed_addr global i32 0, align 4 @client_tls_mutex = common local_unnamed_addr global i32 0, align 4 @client_tls_process = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @client_thread_detach(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @CLIENT_GET_THREAD_STATE() #2 %3 = tail call i32 @UNUSED(ptr noundef %0) #2 %4 = load i32, ptr @client_tls, align 4, !tbaa !6 %5 = tail call i32 @platform_tls_remove(i32 noundef %4) #2 %6 = tail call i32 @client_thread_state_term(ptr noundef %2) #2 %7 = tail call i32 @khrn_platform_free(ptr noundef %2) #2 %8 = tail call i32 @platform_maybe_free_process() #2 ret void } declare ptr @CLIENT_GET_THREAD_STATE(...) local_unnamed_addr #1 declare i32 @UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @platform_tls_remove(i32 noundef) local_unnamed_addr #1 declare i32 @client_thread_state_term(ptr noundef) local_unnamed_addr #1 declare i32 @khrn_platform_free(ptr noundef) local_unnamed_addr #1 declare i32 @platform_maybe_free_process(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
RetroArch_gfx_include_userland_interface_khronos_common_extr_khrn_client.c_client_thread_detach
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_reset.c_nop_submit_request.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_reset.c_nop_submit_request.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i915_request = type { %struct.TYPE_4__, ptr } %struct.TYPE_4__ = type { i32, i32 } %struct.intel_engine_cs = type { %struct.TYPE_3__, i32 } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [28 x i8] c"%s fence %llx:%lld -> -EIO\0A\00", align 1 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nop_submit_request], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nop_submit_request(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.i915_request, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.intel_engine_cs, ptr %3, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !15 %8 = load i32, ptr %0, align 8, !tbaa !16 %9 = tail call i32 @GEM_TRACE(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr @EIO, align 4, !tbaa !17 %11 = sub nsw i32 0, %10 %12 = tail call i32 @dma_fence_set_error(ptr noundef nonnull %0, i32 noundef %11) #2 %13 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %14 = tail call i32 @__i915_request_submit(ptr noundef nonnull %0) #2 %15 = tail call i32 @i915_request_mark_complete(ptr noundef nonnull %0) #2 %16 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 %17 = tail call i32 @intel_engine_queue_breadcrumbs(ptr noundef %3) #2 ret void } declare i32 @GEM_TRACE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_fence_set_error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__i915_request_submit(ptr noundef) local_unnamed_addr #1 declare i32 @i915_request_mark_complete(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @intel_engine_queue_breadcrumbs(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 8} !6 = !{!"i915_request", !7, i64 0, !11, i64 8} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"intel_engine_cs", !14, i64 0, !8, i64 4} !14 = !{!"TYPE_3__", !8, i64 0} !15 = !{!6, !8, i64 4} !16 = !{!6, !8, i64 0} !17 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_reset.c_nop_submit_request.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gt/extr_intel_reset.c_nop_submit_request.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 [28 x i8] c"%s fence %llx:%lld -> -EIO\0A\00", align 1 @EIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nop_submit_request], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nop_submit_request(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !16 %8 = load i32, ptr %0, align 8, !tbaa !17 %9 = tail call i32 @GEM_TRACE(ptr noundef nonnull @.str, i32 noundef %5, i32 noundef %7, i32 noundef %8) #2 %10 = load i32, ptr @EIO, align 4, !tbaa !18 %11 = sub nsw i32 0, %10 %12 = tail call i32 @dma_fence_set_error(ptr noundef nonnull %0, i32 noundef %11) #2 %13 = tail call i32 @spin_lock_irqsave(ptr noundef %3, i64 noundef undef) #2 %14 = tail call i32 @__i915_request_submit(ptr noundef nonnull %0) #2 %15 = tail call i32 @i915_request_mark_complete(ptr noundef nonnull %0) #2 %16 = tail call i32 @spin_unlock_irqrestore(ptr noundef %3, i64 noundef undef) #2 %17 = tail call i32 @intel_engine_queue_breadcrumbs(ptr noundef %3) #2 ret void } declare i32 @GEM_TRACE(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_fence_set_error(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @__i915_request_submit(ptr noundef) local_unnamed_addr #1 declare i32 @i915_request_mark_complete(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @intel_engine_queue_breadcrumbs(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"i915_request", !8, i64 0, !12, i64 8} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!14, !9, i64 4} !14 = !{!"intel_engine_cs", !15, i64 0, !9, i64 4} !15 = !{!"TYPE_3__", !9, i64 0} !16 = !{!7, !9, i64 4} !17 = !{!7, !9, i64 0} !18 = !{!9, !9, i64 0}
linux_drivers_gpu_drm_i915_gt_extr_intel_reset.c_nop_submit_request
; ModuleID = 'AnghaBench/linux/arch/arm/mach-imx/extr_mx31lilly-db.c_mxc_mmc1_get_ro.c' source_filename = "AnghaBench/linux/arch/arm/mach-imx/extr_mx31lilly-db.c_mxc_mmc1_get_ro.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MX31_PIN_LCS0 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mxc_mmc1_get_ro], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mxc_mmc1_get_ro(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @MX31_PIN_LCS0, align 4, !tbaa !5 %3 = tail call i32 @IOMUX_TO_GPIO(i32 noundef %2) #2 %4 = tail call i32 @gpio_get_value(i32 noundef %3) #2 ret i32 %4 } declare i32 @gpio_get_value(i32 noundef) local_unnamed_addr #1 declare i32 @IOMUX_TO_GPIO(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/arch/arm/mach-imx/extr_mx31lilly-db.c_mxc_mmc1_get_ro.c' source_filename = "AnghaBench/linux/arch/arm/mach-imx/extr_mx31lilly-db.c_mxc_mmc1_get_ro.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MX31_PIN_LCS0 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mxc_mmc1_get_ro], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mxc_mmc1_get_ro(ptr nocapture readnone %0) #0 { %2 = load i32, ptr @MX31_PIN_LCS0, align 4, !tbaa !6 %3 = tail call i32 @IOMUX_TO_GPIO(i32 noundef %2) #2 %4 = tail call i32 @gpio_get_value(i32 noundef %3) #2 ret i32 %4 } declare i32 @gpio_get_value(i32 noundef) local_unnamed_addr #1 declare i32 @IOMUX_TO_GPIO(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_arch_arm_mach-imx_extr_mx31lilly-db.c_mxc_mmc1_get_ro
; ModuleID = 'AnghaBench/lab/engine/code/renderergl1/extr_tr_bsp.c_R_ColorShiftLightingBytes.c' source_filename = "AnghaBench/lab/engine/code/renderergl1/extr_tr_bsp.c_R_ColorShiftLightingBytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_4__ = type { i32 } %struct.TYPE_3__ = type { i32 } @r_mapOverBrightBits = dso_local local_unnamed_addr global %struct.TYPE_4__* null, align 8 @tr = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (i32*, i32*)* @R_ColorShiftLightingBytes to i8*)], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind uwtable willreturn define internal void @R_ColorShiftLightingBytes(i32* nocapture noundef readonly %0, i32* nocapture noundef writeonly %1) #0 { %3 = load %struct.TYPE_4__*, %struct.TYPE_4__** @r_mapOverBrightBits, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_4__, %struct.TYPE_4__* %3, i64 0, i32 0 %5 = load i32, i32* %4, align 4, !tbaa !9 %6 = load i32, i32* getelementptr inbounds (%struct.TYPE_3__, %struct.TYPE_3__* @tr, i64 0, i32 0), align 4, !tbaa !12 %7 = sub nsw i32 %5, %6 %8 = load i32, i32* %0, align 4, !tbaa !14 %9 = shl i32 %8, %7 %10 = getelementptr inbounds i32, i32* %0, i64 1 %11 = load i32, i32* %10, align 4, !tbaa !14 %12 = shl i32 %11, %7 %13 = getelementptr inbounds i32, i32* %0, i64 2 %14 = load i32, i32* %13, align 4, !tbaa !14 %15 = shl i32 %14, %7 %16 = or i32 %12, %9 %17 = or i32 %16, %15 %18 = icmp sgt i32 %17, 255 br i1 %18, label %19, label %30 19: ; preds = %2 %20 = icmp sgt i32 %9, %12 %21 = select i1 %20, i32 %9, i32 %12 %22 = icmp sgt i32 %21, %15 %23 = select i1 %22, i32 %21, i32 %15 %24 = mul nsw i32 %9, 255 %25 = sdiv i32 %24, %23 %26 = mul nsw i32 %12, 255 %27 = sdiv i32 %26, %23 %28 = mul nsw i32 %15, 255 %29 = sdiv i32 %28, %23 br label %30 30: ; preds = %19, %2 %31 = phi i32 [ %27, %19 ], [ %12, %2 ] %32 = phi i32 [ %29, %19 ], [ %15, %2 ] %33 = phi i32 [ %25, %19 ], [ %9, %2 ] store i32 %33, i32* %1, align 4, !tbaa !14 %34 = getelementptr inbounds i32, i32* %1, i64 1 store i32 %31, i32* %34, align 4, !tbaa !14 %35 = getelementptr inbounds i32, i32* %1, i64 2 store i32 %32, i32* %35, align 4, !tbaa !14 %36 = getelementptr inbounds i32, i32* %0, i64 3 %37 = load i32, i32* %36, align 4, !tbaa !14 %38 = getelementptr inbounds i32, i32* %1, i64 3 store i32 %37, i32* %38, align 4, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind uwtable willreturn "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_4__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_3__", !11, i64 0} !14 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/renderergl1/extr_tr_bsp.c_R_ColorShiftLightingBytes.c' source_filename = "AnghaBench/lab/engine/code/renderergl1/extr_tr_bsp.c_R_ColorShiftLightingBytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32 } @r_mapOverBrightBits = common local_unnamed_addr global ptr null, align 8 @tr = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @R_ColorShiftLightingBytes], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @R_ColorShiftLightingBytes(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) #0 { %3 = load ptr, ptr @r_mapOverBrightBits, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = load i32, ptr @tr, align 4, !tbaa !13 %6 = sub nsw i32 %4, %5 %7 = load i32, ptr %0, align 4, !tbaa !15 %8 = shl i32 %7, %6 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !15 %11 = shl i32 %10, %6 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = shl i32 %13, %6 %15 = or i32 %11, %8 %16 = or i32 %15, %14 %17 = icmp sgt i32 %16, 255 br i1 %17, label %18, label %27 18: ; preds = %2 %19 = tail call i32 @llvm.smax.i32(i32 %8, i32 %11) %20 = tail call i32 @llvm.smax.i32(i32 %19, i32 %14) %21 = mul nsw i32 %8, 255 %22 = sdiv i32 %21, %20 %23 = mul nsw i32 %11, 255 %24 = sdiv i32 %23, %20 %25 = mul nsw i32 %14, 255 %26 = sdiv i32 %25, %20 br label %27 27: ; preds = %18, %2 %28 = phi i32 [ %24, %18 ], [ %11, %2 ] %29 = phi i32 [ %26, %18 ], [ %14, %2 ] %30 = phi i32 [ %22, %18 ], [ %8, %2 ] store i32 %30, ptr %1, align 4, !tbaa !15 %31 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %28, ptr %31, align 4, !tbaa !15 %32 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %29, ptr %32, align 4, !tbaa !15 %33 = getelementptr inbounds i8, ptr %0, i64 12 %34 = load i32, ptr %33, align 4, !tbaa !15 %35 = getelementptr inbounds i8, ptr %1, i64 12 store i32 %34, ptr %35, align 4, !tbaa !15 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.smax.i32(i32, i32) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = !{!12, !12, i64 0}
lab_engine_code_renderergl1_extr_tr_bsp.c_R_ColorShiftLightingBytes
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___free_engines.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___free_engines.c" target datalayout = "e-m:e-p270:32:32-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 @__free_engines], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__free_engines(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 br i1 %3, label %17, label %4 4: ; preds = %2 %5 = zext i32 %1 to i64 br label %6 6: ; preds = %4, %15 %7 = phi i64 [ %5, %4 ], [ %8, %15 ] %8 = add nsw i64 %7, -1 %9 = load ptr, ptr %0, align 8, !tbaa !5 %10 = getelementptr inbounds i32, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %6 %14 = tail call i32 @intel_context_put(i32 noundef %11) #2 br label %15 15: ; preds = %13, %6 %16 = icmp eq i64 %8, 0 br i1 %16, label %17, label %6, !llvm.loop !12 17: ; preds = %15, %2 %18 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @intel_context_put(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"i915_gem_engines", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___free_engines.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/gem/extr_i915_gem_context.c___free_engines.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_engines], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__free_engines(ptr noundef %0, i32 noundef %1) #0 { %3 = icmp eq i32 %1, 0 br i1 %3, label %17, label %4 4: ; preds = %2 %5 = zext i32 %1 to i64 br label %6 6: ; preds = %4, %15 %7 = phi i64 [ %5, %4 ], [ %8, %15 ] %8 = add nsw i64 %7, -1 %9 = load ptr, ptr %0, align 8, !tbaa !6 %10 = getelementptr inbounds i32, ptr %9, i64 %8 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %6 %14 = tail call i32 @intel_context_put(i32 noundef %11) #2 br label %15 15: ; preds = %13, %6 %16 = icmp eq i64 %8, 0 br i1 %16, label %17, label %6, !llvm.loop !13 17: ; preds = %15, %2 %18 = tail call i32 @kfree(ptr noundef %0) #2 ret void } declare i32 @intel_context_put(i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"i915_gem_engines", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_i915_gem_extr_i915_gem_context.c___free_engines
; ModuleID = 'AnghaBench/esp-idf/components/mdns/extr_mdns.c__mdns_if_is_dup.c' source_filename = "AnghaBench/esp-idf/components/mdns/extr_mdns.c__mdns_if_is_dup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { ptr } %struct.TYPE_4__ = type { i64 } @MDNS_IF_MAX = dso_local local_unnamed_addr global i64 0, align 8 @_mdns_server = dso_local local_unnamed_addr global ptr null, align 8 @MDNS_IP_PROTOCOL_V4 = dso_local local_unnamed_addr global i64 0, align 8 @PCB_DUP = dso_local local_unnamed_addr global i64 0, align 8 @MDNS_IP_PROTOCOL_V6 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @_mdns_if_is_dup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @_mdns_if_is_dup(i64 noundef %0) #0 { %2 = tail call i64 @_mdns_get_other_if(i64 noundef %0) #2 %3 = load i64, ptr @MDNS_IF_MAX, align 8, !tbaa !5 %4 = icmp eq i64 %2, %3 br i1 %4, label %31, label %5 5: ; preds = %1 %6 = load ptr, ptr @_mdns_server, align 8, !tbaa !9 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 %0 %9 = load ptr, ptr %8, align 8, !tbaa !13 %10 = load i64, ptr @MDNS_IP_PROTOCOL_V4, align 8, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %10 %12 = load i64, ptr %11, align 8, !tbaa !15 %13 = load i64, ptr @PCB_DUP, align 8, !tbaa !5 %14 = icmp eq i64 %12, %13 br i1 %14, label %31, label %15 15: ; preds = %5 %16 = load i64, ptr @MDNS_IP_PROTOCOL_V6, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %16 %18 = load i64, ptr %17, align 8, !tbaa !15 %19 = icmp eq i64 %18, %13 br i1 %19, label %31, label %20 20: ; preds = %15 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 %2 %22 = load ptr, ptr %21, align 8, !tbaa !13 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 %10 %24 = load i64, ptr %23, align 8, !tbaa !15 %25 = icmp eq i64 %24, %13 br i1 %25, label %31, label %26 26: ; preds = %20 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 %16 %28 = load i64, ptr %27, align 8, !tbaa !15 %29 = icmp eq i64 %28, %13 %30 = zext i1 %29 to i32 br label %31 31: ; preds = %26, %5, %15, %20, %1 %32 = phi i32 [ 0, %1 ], [ 1, %20 ], [ 1, %15 ], [ 1, %5 ], [ %30, %26 ] ret i32 %32 } declare i64 @_mdns_get_other_if(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_6__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_5__", !10, i64 0} !15 = !{!16, !6, i64 0} !16 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/mdns/extr_mdns.c__mdns_if_is_dup.c' source_filename = "AnghaBench/esp-idf/components/mdns/extr_mdns.c__mdns_if_is_dup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { ptr } %struct.TYPE_4__ = type { i64 } @MDNS_IF_MAX = common local_unnamed_addr global i64 0, align 8 @_mdns_server = common local_unnamed_addr global ptr null, align 8 @MDNS_IP_PROTOCOL_V4 = common local_unnamed_addr global i64 0, align 8 @PCB_DUP = common local_unnamed_addr global i64 0, align 8 @MDNS_IP_PROTOCOL_V6 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @_mdns_if_is_dup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @_mdns_if_is_dup(i64 noundef %0) #0 { %2 = tail call i64 @_mdns_get_other_if(i64 noundef %0) #2 %3 = load i64, ptr @MDNS_IF_MAX, align 8, !tbaa !6 %4 = icmp eq i64 %2, %3 br i1 %4, label %31, label %5 5: ; preds = %1 %6 = load ptr, ptr @_mdns_server, align 8, !tbaa !10 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 %0 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = load i64, ptr @MDNS_IP_PROTOCOL_V4, align 8, !tbaa !6 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %10 %12 = load i64, ptr %11, align 8, !tbaa !16 %13 = load i64, ptr @PCB_DUP, align 8, !tbaa !6 %14 = icmp eq i64 %12, %13 br i1 %14, label %31, label %15 15: ; preds = %5 %16 = load i64, ptr @MDNS_IP_PROTOCOL_V6, align 8, !tbaa !6 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i64 %16 %18 = load i64, ptr %17, align 8, !tbaa !16 %19 = icmp eq i64 %18, %13 br i1 %19, label %31, label %20 20: ; preds = %15 %21 = getelementptr inbounds %struct.TYPE_5__, ptr %7, i64 %2 %22 = load ptr, ptr %21, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 %10 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = icmp eq i64 %24, %13 br i1 %25, label %31, label %26 26: ; preds = %20 %27 = getelementptr inbounds %struct.TYPE_4__, ptr %22, i64 %16 %28 = load i64, ptr %27, align 8, !tbaa !16 %29 = icmp eq i64 %28, %13 %30 = zext i1 %29 to i32 br label %31 31: ; preds = %26, %5, %15, %20, %1 %32 = phi i32 [ 0, %1 ], [ 1, %20 ], [ 1, %15 ], [ 1, %5 ], [ %30, %26 ] ret i32 %32 } declare i64 @_mdns_get_other_if(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_6__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_5__", !11, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_4__", !7, i64 0}
esp-idf_components_mdns_extr_mdns.c__mdns_if_is_dup
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/yanfali/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/yanfali/extr_keymap.c_process_record_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" @_QWERTY = dso_local local_unnamed_addr global i64 0, align 8 @_LOWER = dso_local local_unnamed_addr global i32 0, align 4 @_RAISE = dso_local local_unnamed_addr global i32 0, align 4 @_ADJUST = dso_local local_unnamed_addr global i32 0, align 4 @tone_qwerty = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { switch i32 %0, label %50 [ i32 129, label %3 i32 130, label %10 i32 128, label %26 i32 131, label %42 ] 3: ; preds = %2 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %50, label %6 6: ; preds = %3 %7 = load i64, ptr @_QWERTY, align 8, !tbaa !11 %8 = shl nuw i64 1, %7 %9 = tail call i32 @persistent_default_layer_set(i64 noundef %8) #2 br label %50 10: ; preds = %2 %11 = load i32, ptr %1, align 4, !tbaa !5 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @_LOWER, align 4, !tbaa !13 br i1 %12, label %20, label %14 14: ; preds = %10 %15 = tail call i32 @layer_on(i32 noundef %13) #2 %16 = load i32, ptr @_LOWER, align 4, !tbaa !13 %17 = load i32, ptr @_RAISE, align 4, !tbaa !13 %18 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %19 = tail call i32 @update_tri_layer(i32 noundef %16, i32 noundef %17, i32 noundef %18) #2 br label %50 20: ; preds = %10 %21 = tail call i32 @layer_off(i32 noundef %13) #2 %22 = load i32, ptr @_LOWER, align 4, !tbaa !13 %23 = load i32, ptr @_RAISE, align 4, !tbaa !13 %24 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %25 = tail call i32 @update_tri_layer(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 br label %50 26: ; preds = %2 %27 = load i32, ptr %1, align 4, !tbaa !5 %28 = icmp eq i32 %27, 0 %29 = load i32, ptr @_RAISE, align 4, !tbaa !13 br i1 %28, label %36, label %30 30: ; preds = %26 %31 = tail call i32 @layer_on(i32 noundef %29) #2 %32 = load i32, ptr @_LOWER, align 4, !tbaa !13 %33 = load i32, ptr @_RAISE, align 4, !tbaa !13 %34 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %35 = tail call i32 @update_tri_layer(i32 noundef %32, i32 noundef %33, i32 noundef %34) #2 br label %50 36: ; preds = %26 %37 = tail call i32 @layer_off(i32 noundef %29) #2 %38 = load i32, ptr @_LOWER, align 4, !tbaa !13 %39 = load i32, ptr @_RAISE, align 4, !tbaa !13 %40 = load i32, ptr @_ADJUST, align 4, !tbaa !13 %41 = tail call i32 @update_tri_layer(i32 noundef %38, i32 noundef %39, i32 noundef %40) #2 br label %50 42: ; preds = %2 %43 = load i32, ptr %1, align 4, !tbaa !5 %44 = icmp eq i32 %43, 0 %45 = load i32, ptr @_ADJUST, align 4, !tbaa !13 br i1 %44, label %48, label %46 46: ; preds = %42 %47 = tail call i32 @layer_on(i32 noundef %45) #2 br label %50 48: ; preds = %42 %49 = tail call i32 @layer_off(i32 noundef %45) #2 br label %50 50: ; preds = %2, %46, %48, %30, %36, %14, %20, %3, %6 %51 = phi i32 [ 0, %6 ], [ 0, %3 ], [ 0, %20 ], [ 0, %14 ], [ 0, %36 ], [ 0, %30 ], [ 0, %48 ], [ 0, %46 ], [ 1, %2 ] ret i32 %51 } declare i32 @persistent_default_layer_set(i64 noundef) local_unnamed_addr #1 declare i32 @layer_on(i32 noundef) local_unnamed_addr #1 declare i32 @update_tri_layer(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @layer_off(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/yanfali/extr_keymap.c_process_record_user.c' source_filename = "AnghaBench/qmk_firmware/keyboards/keebio/iris/keymaps/yanfali/extr_keymap.c_process_record_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_QWERTY = common local_unnamed_addr global i64 0, align 8 @_LOWER = common local_unnamed_addr global i32 0, align 4 @_RAISE = common local_unnamed_addr global i32 0, align 4 @_ADJUST = common local_unnamed_addr global i32 0, align 4 @tone_qwerty = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @process_record_user(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { switch i32 %0, label %50 [ i32 129, label %3 i32 130, label %10 i32 128, label %26 i32 131, label %42 ] 3: ; preds = %2 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %50, label %6 6: ; preds = %3 %7 = load i64, ptr @_QWERTY, align 8, !tbaa !12 %8 = shl nuw i64 1, %7 %9 = tail call i32 @persistent_default_layer_set(i64 noundef %8) #2 br label %50 10: ; preds = %2 %11 = load i32, ptr %1, align 4, !tbaa !6 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr @_LOWER, align 4, !tbaa !14 br i1 %12, label %20, label %14 14: ; preds = %10 %15 = tail call i32 @layer_on(i32 noundef %13) #2 %16 = load i32, ptr @_LOWER, align 4, !tbaa !14 %17 = load i32, ptr @_RAISE, align 4, !tbaa !14 %18 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %19 = tail call i32 @update_tri_layer(i32 noundef %16, i32 noundef %17, i32 noundef %18) #2 br label %50 20: ; preds = %10 %21 = tail call i32 @layer_off(i32 noundef %13) #2 %22 = load i32, ptr @_LOWER, align 4, !tbaa !14 %23 = load i32, ptr @_RAISE, align 4, !tbaa !14 %24 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %25 = tail call i32 @update_tri_layer(i32 noundef %22, i32 noundef %23, i32 noundef %24) #2 br label %50 26: ; preds = %2 %27 = load i32, ptr %1, align 4, !tbaa !6 %28 = icmp eq i32 %27, 0 %29 = load i32, ptr @_RAISE, align 4, !tbaa !14 br i1 %28, label %36, label %30 30: ; preds = %26 %31 = tail call i32 @layer_on(i32 noundef %29) #2 %32 = load i32, ptr @_LOWER, align 4, !tbaa !14 %33 = load i32, ptr @_RAISE, align 4, !tbaa !14 %34 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %35 = tail call i32 @update_tri_layer(i32 noundef %32, i32 noundef %33, i32 noundef %34) #2 br label %50 36: ; preds = %26 %37 = tail call i32 @layer_off(i32 noundef %29) #2 %38 = load i32, ptr @_LOWER, align 4, !tbaa !14 %39 = load i32, ptr @_RAISE, align 4, !tbaa !14 %40 = load i32, ptr @_ADJUST, align 4, !tbaa !14 %41 = tail call i32 @update_tri_layer(i32 noundef %38, i32 noundef %39, i32 noundef %40) #2 br label %50 42: ; preds = %2 %43 = load i32, ptr %1, align 4, !tbaa !6 %44 = icmp eq i32 %43, 0 %45 = load i32, ptr @_ADJUST, align 4, !tbaa !14 br i1 %44, label %48, label %46 46: ; preds = %42 %47 = tail call i32 @layer_on(i32 noundef %45) #2 br label %50 48: ; preds = %42 %49 = tail call i32 @layer_off(i32 noundef %45) #2 br label %50 50: ; preds = %2, %46, %48, %30, %36, %14, %20, %3, %6 %51 = phi i32 [ 0, %6 ], [ 0, %3 ], [ 0, %20 ], [ 0, %14 ], [ 0, %36 ], [ 0, %30 ], [ 0, %48 ], [ 0, %46 ], [ 1, %2 ] ret i32 %51 } declare i32 @persistent_default_layer_set(i64 noundef) local_unnamed_addr #1 declare i32 @layer_on(i32 noundef) local_unnamed_addr #1 declare i32 @update_tri_layer(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @layer_off(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"long", !10, i64 0} !14 = !{!9, !9, i64 0}
qmk_firmware_keyboards_keebio_iris_keymaps_yanfali_extr_keymap.c_process_record_user
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_acl.c_jfs_acl_chmod.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_acl.c_jfs_acl_chmod.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.inode = type { i32, i32 } @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @ACL_TYPE_ACCESS = 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 @llvm.compiler.used = appending global [1 x ptr] [ptr @jfs_acl_chmod], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @jfs_acl_chmod(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !9 %5 = tail call i64 @S_ISLNK(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !12 %9 = sub nsw i32 0, %8 br label %50 10: ; preds = %1 %11 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !12 %12 = tail call ptr @jfs_get_acl(ptr noundef nonnull %0, i32 noundef %11) #2 %13 = tail call i64 @IS_ERR(ptr noundef %12) #2 %14 = icmp eq i64 %13, 0 %15 = icmp ne ptr %12, null %16 = and i1 %15, %14 br i1 %16, label %19, label %17 17: ; preds = %10 %18 = tail call i32 @PTR_ERR(ptr noundef %12) #2 br label %50 19: ; preds = %10 %20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !12 %21 = tail call ptr @posix_acl_clone(ptr noundef nonnull %12, i32 noundef %20) #2 %22 = tail call i32 @posix_acl_release(ptr noundef nonnull %12) #2 %23 = icmp eq ptr %21, null br i1 %23, label %24, label %27 24: ; preds = %19 %25 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %26 = sub nsw i32 0, %25 br label %50 27: ; preds = %19 %28 = load i32, ptr %3, align 4, !tbaa !9 %29 = tail call i32 @posix_acl_chmod_masq(ptr noundef nonnull %21, i32 noundef %28) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %27 %32 = load i32, ptr %0, align 4, !tbaa !13 %33 = tail call i32 @txBegin(i32 noundef %32, i32 noundef 0) #2 %34 = tail call ptr @JFS_IP(ptr noundef nonnull %0) #2 %35 = tail call i32 @mutex_lock(ptr noundef %34) #2 %36 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !12 %37 = tail call i32 @jfs_set_acl(i32 noundef %33, ptr noundef nonnull %0, i32 noundef %36, ptr noundef nonnull %21) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = call i32 @txCommit(i32 noundef %33, i32 noundef 1, ptr noundef nonnull %2, i32 noundef 0) #2 br label %41 41: ; preds = %39, %31 %42 = phi i32 [ %37, %31 ], [ %40, %39 ] %43 = call i32 @txEnd(i32 noundef %33) #2 %44 = load ptr, ptr %2, align 8, !tbaa !5 %45 = call ptr @JFS_IP(ptr noundef %44) #2 %46 = call i32 @mutex_unlock(ptr noundef %45) #2 br label %47 47: ; preds = %41, %27 %48 = phi i32 [ %29, %27 ], [ %42, %41 ] %49 = call i32 @posix_acl_release(ptr noundef nonnull %21) #2 br label %50 50: ; preds = %47, %24, %17, %7 %51 = phi i32 [ %9, %7 ], [ %48, %47 ], [ %26, %24 ], [ %18, %17 ] ret i32 %51 } declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #1 declare ptr @jfs_get_acl(ptr noundef, i32 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 ptr @posix_acl_clone(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @posix_acl_release(ptr noundef) local_unnamed_addr #1 declare i32 @posix_acl_chmod_masq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @txBegin(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #1 declare i32 @jfs_set_acl(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @txCommit(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @txEnd(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"inode", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/jfs/extr_acl.c_jfs_acl_chmod.c' source_filename = "AnghaBench/fastsocket/kernel/fs/jfs/extr_acl.c_jfs_acl_chmod.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 @ACL_TYPE_ACCESS = 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 @llvm.used = appending global [1 x ptr] [ptr @jfs_acl_chmod], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @jfs_acl_chmod(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = tail call i64 @S_ISLNK(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %1 %8 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !13 %9 = sub nsw i32 0, %8 br label %50 10: ; preds = %1 %11 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !13 %12 = tail call ptr @jfs_get_acl(ptr noundef nonnull %0, i32 noundef %11) #2 %13 = tail call i64 @IS_ERR(ptr noundef %12) #2 %14 = icmp eq i64 %13, 0 %15 = icmp ne ptr %12, null %16 = and i1 %15, %14 br i1 %16, label %19, label %17 17: ; preds = %10 %18 = tail call i32 @PTR_ERR(ptr noundef %12) #2 br label %50 19: ; preds = %10 %20 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %21 = tail call ptr @posix_acl_clone(ptr noundef nonnull %12, i32 noundef %20) #2 %22 = tail call i32 @posix_acl_release(ptr noundef nonnull %12) #2 %23 = icmp eq ptr %21, null br i1 %23, label %24, label %27 24: ; preds = %19 %25 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %26 = sub nsw i32 0, %25 br label %50 27: ; preds = %19 %28 = load i32, ptr %3, align 4, !tbaa !10 %29 = tail call i32 @posix_acl_chmod_masq(ptr noundef nonnull %21, i32 noundef %28) #2 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %47 31: ; preds = %27 %32 = load i32, ptr %0, align 4, !tbaa !14 %33 = tail call i32 @txBegin(i32 noundef %32, i32 noundef 0) #2 %34 = tail call ptr @JFS_IP(ptr noundef nonnull %0) #2 %35 = tail call i32 @mutex_lock(ptr noundef %34) #2 %36 = load i32, ptr @ACL_TYPE_ACCESS, align 4, !tbaa !13 %37 = tail call i32 @jfs_set_acl(i32 noundef %33, ptr noundef nonnull %0, i32 noundef %36, ptr noundef nonnull %21) #2 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %31 %40 = call i32 @txCommit(i32 noundef %33, i32 noundef 1, ptr noundef nonnull %2, i32 noundef 0) #2 br label %41 41: ; preds = %39, %31 %42 = phi i32 [ %37, %31 ], [ %40, %39 ] %43 = call i32 @txEnd(i32 noundef %33) #2 %44 = load ptr, ptr %2, align 8, !tbaa !6 %45 = call ptr @JFS_IP(ptr noundef %44) #2 %46 = call i32 @mutex_unlock(ptr noundef %45) #2 br label %47 47: ; preds = %41, %27 %48 = phi i32 [ %29, %27 ], [ %42, %41 ] %49 = call i32 @posix_acl_release(ptr noundef nonnull %21) #2 br label %50 50: ; preds = %47, %24, %17, %7 %51 = phi i32 [ %9, %7 ], [ %48, %47 ], [ %26, %24 ], [ %18, %17 ] ret i32 %51 } declare i64 @S_ISLNK(i32 noundef) local_unnamed_addr #1 declare ptr @jfs_get_acl(ptr noundef, i32 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 ptr @posix_acl_clone(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @posix_acl_release(ptr noundef) local_unnamed_addr #1 declare i32 @posix_acl_chmod_masq(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @txBegin(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare ptr @JFS_IP(ptr noundef) local_unnamed_addr #1 declare i32 @jfs_set_acl(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @txCommit(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @txEnd(i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"inode", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 0}
fastsocket_kernel_fs_jfs_extr_acl.c_jfs_acl_chmod
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_hwcontext_drm.c_drm_unmap_frame.c' source_filename = "AnghaBench/FFmpeg/libavutil/extr_hwcontext_drm.c_drm_unmap_frame.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_6__ = type { i32, ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @drm_unmap_frame], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @drm_unmap_frame(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = load i32, ptr %3, align 8, !tbaa !10 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %22 6: ; preds = %2 %7 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 2 %8 = getelementptr inbounds %struct.TYPE_6__, ptr %3, i64 0, i32 1 br label %9 9: ; preds = %6, %9 %10 = phi i64 [ 0, %6 ], [ %18, %9 ] %11 = load ptr, ptr %7, align 8, !tbaa !13 %12 = getelementptr inbounds i32, ptr %11, i64 %10 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = load ptr, ptr %8, align 8, !tbaa !15 %15 = getelementptr inbounds i32, ptr %14, i64 %10 %16 = load i32, ptr %15, align 4, !tbaa !14 %17 = tail call i32 @munmap(i32 noundef %13, i32 noundef %16) #2 %18 = add nuw nsw i64 %10, 1 %19 = load i32, ptr %3, align 8, !tbaa !10 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %18, %20 br i1 %21, label %9, label %22, !llvm.loop !16 22: ; preds = %9, %2 %23 = tail call i32 @av_free(ptr noundef nonnull %3) #2 ret void } declare i32 @munmap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !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_6__", !12, i64 0, !7, i64 8, !7, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!11, !7, i64 16} !14 = !{!12, !12, i64 0} !15 = !{!11, !7, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavutil/extr_hwcontext_drm.c_drm_unmap_frame.c' source_filename = "AnghaBench/FFmpeg/libavutil/extr_hwcontext_drm.c_drm_unmap_frame.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 @drm_unmap_frame], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @drm_unmap_frame(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load i32, ptr %3, align 8, !tbaa !11 %5 = icmp sgt i32 %4, 0 br i1 %5, label %6, label %22 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %3, i64 16 %8 = getelementptr inbounds i8, ptr %3, i64 8 br label %9 9: ; preds = %6, %9 %10 = phi i64 [ 0, %6 ], [ %18, %9 ] %11 = load ptr, ptr %7, align 8, !tbaa !14 %12 = getelementptr inbounds i32, ptr %11, i64 %10 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = load ptr, ptr %8, align 8, !tbaa !16 %15 = getelementptr inbounds i32, ptr %14, i64 %10 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = tail call i32 @munmap(i32 noundef %13, i32 noundef %16) #2 %18 = add nuw nsw i64 %10, 1 %19 = load i32, ptr %3, align 8, !tbaa !11 %20 = sext i32 %19 to i64 %21 = icmp slt i64 %18, %20 br i1 %21, label %9, label %22, !llvm.loop !17 22: ; preds = %9, %2 %23 = tail call i32 @av_free(ptr noundef nonnull %3) #2 ret void } declare i32 @munmap(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @av_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !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_6__", !13, i64 0, !8, i64 8, !8, i64 16} !13 = !{!"int", !9, i64 0} !14 = !{!12, !8, i64 16} !15 = !{!13, !13, i64 0} !16 = !{!12, !8, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavutil_extr_hwcontext_drm.c_drm_unmap_frame
; ModuleID = 'AnghaBench/twemproxy/src/extr_nc.c_nc_post_run.c' source_filename = "AnghaBench/twemproxy/src/extr_nc.c_nc_post_run.c" target datalayout = "e-m:e-p270:32:32-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 @nc_post_run], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @nc_post_run(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @nc_remove_pidfile(ptr noundef nonnull %0) #2 br label %6 6: ; preds = %4, %1 %7 = tail call i32 (...) @signal_deinit() #2 %8 = tail call i32 (...) @nc_print_done() #2 %9 = tail call i32 (...) @log_deinit() #2 ret void } declare i32 @nc_remove_pidfile(ptr noundef) local_unnamed_addr #1 declare i32 @signal_deinit(...) local_unnamed_addr #1 declare i32 @nc_print_done(...) local_unnamed_addr #1 declare i32 @log_deinit(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"instance", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/twemproxy/src/extr_nc.c_nc_post_run.c' source_filename = "AnghaBench/twemproxy/src/extr_nc.c_nc_post_run.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 @nc_post_run], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @nc_post_run(ptr noundef %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = icmp eq i64 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i32 @nc_remove_pidfile(ptr noundef nonnull %0) #2 br label %6 6: ; preds = %4, %1 %7 = tail call i32 @signal_deinit() #2 %8 = tail call i32 @nc_print_done() #2 %9 = tail call i32 @log_deinit() #2 ret void } declare i32 @nc_remove_pidfile(ptr noundef) local_unnamed_addr #1 declare i32 @signal_deinit(...) local_unnamed_addr #1 declare i32 @nc_print_done(...) local_unnamed_addr #1 declare i32 @log_deinit(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"instance", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
twemproxy_src_extr_nc.c_nc_post_run
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_fw_qos.c_mlx4_ALLOCATE_VPP_set.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_fw_qos.c_mlx4_ALLOCATE_VPP_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mlx4_cmd_mailbox = type { i32, ptr } @MLX4_NUM_UP = dso_local local_unnamed_addr global i32 0, align 4 @MLX4_ALLOCATE_VPP_ALLOCATE = dso_local local_unnamed_addr global i32 0, align 4 @MLX4_CMD_ALLOCATE_VPP = dso_local local_unnamed_addr global i32 0, align 4 @MLX4_CMD_TIME_CLASS_A = dso_local local_unnamed_addr global i32 0, align 4 @MLX4_CMD_NATIVE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @mlx4_ALLOCATE_VPP_set(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = tail call ptr @mlx4_alloc_cmd_mailbox(ptr noundef %0) #2 %5 = tail call i64 @IS_ERR(ptr noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @PTR_ERR(ptr noundef %4) #2 br label %33 9: ; preds = %3 %10 = getelementptr inbounds %struct.mlx4_cmd_mailbox, ptr %4, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !5 %12 = load i32, ptr @MLX4_NUM_UP, align 4, !tbaa !11 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %9, %14 %15 = phi i64 [ %21, %14 ], [ 0, %9 ] %16 = getelementptr inbounds i32, ptr %2, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = tail call i32 @cpu_to_be32(i32 noundef %17) #2 %19 = load ptr, ptr %11, align 8, !tbaa !12 %20 = getelementptr inbounds i32, ptr %19, i64 %15 store i32 %18, ptr %20, align 4, !tbaa !11 %21 = add nuw nsw i64 %15, 1 %22 = load i32, ptr @MLX4_NUM_UP, align 4, !tbaa !11 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %14, label %25, !llvm.loop !14 25: ; preds = %14, %9 %26 = load i32, ptr %4, align 8, !tbaa !16 %27 = load i32, ptr @MLX4_ALLOCATE_VPP_ALLOCATE, align 4, !tbaa !11 %28 = load i32, ptr @MLX4_CMD_ALLOCATE_VPP, align 4, !tbaa !11 %29 = load i32, ptr @MLX4_CMD_TIME_CLASS_A, align 4, !tbaa !11 %30 = load i32, ptr @MLX4_CMD_NATIVE, align 4, !tbaa !11 %31 = tail call i32 @mlx4_cmd(ptr noundef %0, i32 noundef %26, i32 noundef %1, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30) #2 %32 = tail call i32 @mlx4_free_cmd_mailbox(ptr noundef %0, ptr noundef nonnull %4) #2 br label %33 33: ; preds = %25, %7 %34 = phi i32 [ %8, %7 ], [ %31, %25 ] ret i32 %34 } declare ptr @mlx4_alloc_cmd_mailbox(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 @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i32 @mlx4_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlx4_free_cmd_mailbox(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"mlx4_cmd_mailbox", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"mlx4_alloc_vpp_param", !10, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_fw_qos.c_mlx4_ALLOCATE_VPP_set.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx4/extr_fw_qos.c_mlx4_ALLOCATE_VPP_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX4_NUM_UP = common local_unnamed_addr global i32 0, align 4 @MLX4_ALLOCATE_VPP_ALLOCATE = common local_unnamed_addr global i32 0, align 4 @MLX4_CMD_ALLOCATE_VPP = common local_unnamed_addr global i32 0, align 4 @MLX4_CMD_TIME_CLASS_A = common local_unnamed_addr global i32 0, align 4 @MLX4_CMD_NATIVE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mlx4_ALLOCATE_VPP_set(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) local_unnamed_addr #0 { %4 = tail call ptr @mlx4_alloc_cmd_mailbox(ptr noundef %0) #2 %5 = tail call i64 @IS_ERR(ptr noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @PTR_ERR(ptr noundef %4) #2 br label %33 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %4, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !6 %12 = load i32, ptr @MLX4_NUM_UP, align 4, !tbaa !12 %13 = icmp sgt i32 %12, 0 br i1 %13, label %14, label %25 14: ; preds = %9, %14 %15 = phi i64 [ %21, %14 ], [ 0, %9 ] %16 = getelementptr inbounds i32, ptr %2, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = tail call i32 @cpu_to_be32(i32 noundef %17) #2 %19 = load ptr, ptr %11, align 8, !tbaa !13 %20 = getelementptr inbounds i32, ptr %19, i64 %15 store i32 %18, ptr %20, align 4, !tbaa !12 %21 = add nuw nsw i64 %15, 1 %22 = load i32, ptr @MLX4_NUM_UP, align 4, !tbaa !12 %23 = sext i32 %22 to i64 %24 = icmp slt i64 %21, %23 br i1 %24, label %14, label %25, !llvm.loop !15 25: ; preds = %14, %9 %26 = load i32, ptr %4, align 8, !tbaa !17 %27 = load i32, ptr @MLX4_ALLOCATE_VPP_ALLOCATE, align 4, !tbaa !12 %28 = load i32, ptr @MLX4_CMD_ALLOCATE_VPP, align 4, !tbaa !12 %29 = load i32, ptr @MLX4_CMD_TIME_CLASS_A, align 4, !tbaa !12 %30 = load i32, ptr @MLX4_CMD_NATIVE, align 4, !tbaa !12 %31 = tail call i32 @mlx4_cmd(ptr noundef %0, i32 noundef %26, i32 noundef %1, i32 noundef %27, i32 noundef %28, i32 noundef %29, i32 noundef %30) #2 %32 = tail call i32 @mlx4_free_cmd_mailbox(ptr noundef %0, ptr noundef nonnull %4) #2 br label %33 33: ; preds = %25, %7 %34 = phi i32 [ %8, %7 ], [ %31, %25 ] ret i32 %34 } declare ptr @mlx4_alloc_cmd_mailbox(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 @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i32 @mlx4_cmd(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlx4_free_cmd_mailbox(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"mlx4_cmd_mailbox", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"mlx4_alloc_vpp_param", !11, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!7, !8, i64 0}
linux_drivers_net_ethernet_mellanox_mlx4_extr_fw_qos.c_mlx4_ALLOCATE_VPP_set
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_attach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_attach.c" target datalayout = "e-m:e-p270:32:32-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.vp7045_fe_state = type { %struct.dvb_frontend, ptr } %struct.dvb_frontend = type { ptr, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @vp7045_fe_ops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @vp7045_fe_attach(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %3 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds %struct.vp7045_fe_state, ptr %3, i64 0, i32 1 store ptr %0, ptr %6, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.dvb_frontend, ptr %3, i64 0, i32 1 %8 = tail call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull @vp7045_fe_ops, i32 noundef 4) #2 store ptr %3, ptr %3, align 8, !tbaa !13 br label %9 9: ; preds = %1, %5 ret ptr %3 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 16} !10 = !{!"vp7045_fe_state", !11, i64 0, !12, i64 16} !11 = !{!"dvb_frontend", !12, i64 0, !6, i64 8} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_attach.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp7045-fe.c_vp7045_fe_attach.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 @vp7045_fe_ops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @vp7045_fe_attach(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %3 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %1 %6 = getelementptr inbounds i8, ptr %3, i64 16 store ptr %0, ptr %6, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = tail call i32 @memcpy(ptr noundef nonnull %7, ptr noundef nonnull @vp7045_fe_ops, i32 noundef 4) #2 store ptr %3, ptr %3, align 8, !tbaa !14 br label %9 9: ; preds = %1, %5 ret ptr %3 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 16} !11 = !{!"vp7045_fe_state", !12, i64 0, !13, i64 16} !12 = !{!"dvb_frontend", !13, i64 0, !7, i64 8} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 0}
fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_vp7045-fe.c_vp7045_fe_attach
; ModuleID = 'AnghaBench/linux/net/core/extr_bpf_sk_storage.c_selem_unlink_map.c' source_filename = "AnghaBench/linux/net/core/extr_bpf_sk_storage.c_selem_unlink_map.c" target datalayout = "e-m:e-p270:32:32-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 @selem_unlink_map], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @selem_unlink_map(ptr noundef %0) #0 { %2 = tail call i32 @selem_linked_to_map(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i64 @unlikely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %20 7: ; preds = %1 %8 = tail call ptr @SDATA(ptr noundef %0) #2 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = tail call ptr @rcu_dereference(i32 noundef %9) #2 %11 = tail call ptr @select_bucket(ptr noundef %10, ptr noundef %0) #2 %12 = tail call i32 @raw_spin_lock_bh(ptr noundef %11) #2 %13 = tail call i32 @selem_linked_to_map(ptr noundef %0) #2 %14 = tail call i64 @likely(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %7 %17 = tail call i32 @hlist_del_init_rcu(ptr noundef %0) #2 br label %18 18: ; preds = %16, %7 %19 = tail call i32 @raw_spin_unlock_bh(ptr noundef %11) #2 br label %20 20: ; preds = %1, %18 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @selem_linked_to_map(ptr noundef) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare ptr @SDATA(ptr noundef) local_unnamed_addr #1 declare ptr @select_bucket(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @raw_spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @hlist_del_init_rcu(ptr noundef) local_unnamed_addr #1 declare i32 @raw_spin_unlock_bh(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/net/core/extr_bpf_sk_storage.c_selem_unlink_map.c' source_filename = "AnghaBench/linux/net/core/extr_bpf_sk_storage.c_selem_unlink_map.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 @selem_unlink_map], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @selem_unlink_map(ptr noundef %0) #0 { %2 = tail call i32 @selem_linked_to_map(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i64 @unlikely(i32 noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %20 7: ; preds = %1 %8 = tail call ptr @SDATA(ptr noundef %0) #2 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = tail call ptr @rcu_dereference(i32 noundef %9) #2 %11 = tail call ptr @select_bucket(ptr noundef %10, ptr noundef %0) #2 %12 = tail call i32 @raw_spin_lock_bh(ptr noundef %11) #2 %13 = tail call i32 @selem_linked_to_map(ptr noundef %0) #2 %14 = tail call i64 @likely(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %7 %17 = tail call i32 @hlist_del_init_rcu(ptr noundef %0) #2 br label %18 18: ; preds = %16, %7 %19 = tail call i32 @raw_spin_unlock_bh(ptr noundef %11) #2 br label %20 20: ; preds = %1, %18 ret void } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @selem_linked_to_map(ptr noundef) local_unnamed_addr #1 declare ptr @rcu_dereference(i32 noundef) local_unnamed_addr #1 declare ptr @SDATA(ptr noundef) local_unnamed_addr #1 declare ptr @select_bucket(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @raw_spin_lock_bh(ptr noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @hlist_del_init_rcu(ptr noundef) local_unnamed_addr #1 declare i32 @raw_spin_unlock_bh(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_net_core_extr_bpf_sk_storage.c_selem_unlink_map
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_video.c_VIDEO_GetNextField.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_video.c_VIDEO_GetNextField.c" target datalayout = "e-m:e-p270:32:32-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 } @HorVer = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @VIDEO_GetNextField() local_unnamed_addr #0 { %1 = tail call i32 @_CPU_ISR_Disable(i32 noundef undef) #2 %2 = tail call i32 (...) @__getCurrentFieldEvenOdd() #2 %3 = tail call i32 @_CPU_ISR_Restore(i32 noundef undef) #2 %4 = load i32, ptr @HorVer, align 4, !tbaa !5 %5 = and i32 %4, 1 %6 = xor i32 %2, %5 %7 = xor i32 %6, 1 ret i32 %7 } declare i32 @_CPU_ISR_Disable(i32 noundef) local_unnamed_addr #1 declare i32 @__getCurrentFieldEvenOdd(...) local_unnamed_addr #1 declare i32 @_CPU_ISR_Restore(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/RetroArch/wii/libogc/libogc/extr_video.c_VIDEO_GetNextField.c' source_filename = "AnghaBench/RetroArch/wii/libogc/libogc/extr_video.c_VIDEO_GetNextField.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 } @HorVer = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @VIDEO_GetNextField() local_unnamed_addr #0 { %1 = tail call i32 @_CPU_ISR_Disable(i32 noundef undef) #2 %2 = tail call i32 @__getCurrentFieldEvenOdd() #2 %3 = tail call i32 @_CPU_ISR_Restore(i32 noundef undef) #2 %4 = load i32, ptr @HorVer, align 4, !tbaa !6 %5 = and i32 %4, 1 %6 = xor i32 %2, %5 %7 = xor i32 %6, 1 ret i32 %7 } declare i32 @_CPU_ISR_Disable(i32 noundef) local_unnamed_addr #1 declare i32 @__getCurrentFieldEvenOdd(...) local_unnamed_addr #1 declare i32 @_CPU_ISR_Restore(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
RetroArch_wii_libogc_libogc_extr_video.c_VIDEO_GetNextField
; ModuleID = 'AnghaBench/nnn/src/extr_nnn.c_coolsize.c' source_filename = "AnghaBench/nnn/src/extr_nnn.c_coolsize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"BKMGTPEZY\00", align 1 @coolsize.size_buf = internal global [12 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @coolsize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef nonnull ptr @coolsize(i32 noundef %0) #0 { %2 = icmp sgt i32 %0, 1023 br i1 %2, label %3, label %83 3: ; preds = %1, %3 %4 = phi i32 [ %6, %3 ], [ %0, %1 ] %5 = phi i32 [ %7, %3 ], [ 0, %1 ] %6 = lshr i32 %4, 10 %7 = add nuw nsw i32 %5, 1 %8 = icmp ugt i32 %4, 1048575 br i1 %8, label %3, label %9, !llvm.loop !5 9: ; preds = %3 %10 = and i32 %4, 1023 switch i32 %5, label %37 [ i32 0, label %11 i32 1, label %24 ] 11: ; preds = %9 %12 = mul nuw nsw i32 %10, 1000 %13 = udiv i32 %12, 10240 %14 = trunc i32 %13 to i8 %15 = urem i8 %14, 10 %16 = icmp ugt i8 %15, 4 %17 = udiv i32 %12, 102400 br i1 %16, label %18, label %50 18: ; preds = %11 %19 = add nuw nsw i32 %17, 1 %20 = icmp eq i32 %19, 10 %21 = select i1 %20, i32 0, i32 %19 %22 = zext i1 %20 to i32 %23 = add nuw nsw i32 %6, %22 br label %50 24: ; preds = %9 %25 = mul nuw nsw i32 %10, 1000 %26 = lshr i32 %25, 10 %27 = trunc i32 %26 to i16 %28 = urem i16 %27, 10 %29 = icmp ugt i16 %28, 4 %30 = udiv i32 %25, 10240 br i1 %29, label %31, label %50 31: ; preds = %24 %32 = add nuw nsw i32 %30, 1 %33 = icmp eq i32 %32, 100 %34 = select i1 %33, i32 0, i32 %32 %35 = zext i1 %33 to i32 %36 = add nuw nsw i32 %6, %35 br label %50 37: ; preds = %9 %38 = mul nuw nsw i32 %10, 10000 %39 = lshr i32 %38, 10 %40 = trunc i32 %39 to i16 %41 = urem i16 %40, 10 %42 = icmp ugt i16 %41, 4 %43 = udiv i32 %38, 10240 br i1 %42, label %44, label %50 44: ; preds = %37 %45 = add nuw nsw i32 %43, 1 %46 = icmp eq i32 %45, 1000 %47 = select i1 %46, i32 0, i32 %45 %48 = zext i1 %46 to i32 %49 = add nuw nsw i32 %6, %48 br label %50 50: ; preds = %37, %24, %11, %44, %31, %18 %51 = phi i32 [ %21, %18 ], [ %34, %31 ], [ %47, %44 ], [ %17, %11 ], [ %30, %24 ], [ %43, %37 ] %52 = phi i32 [ %23, %18 ], [ %36, %31 ], [ %49, %44 ], [ %6, %11 ], [ %6, %24 ], [ %6, %37 ] %53 = icmp ult i32 %5, 5 %54 = icmp ne i32 %51, 0 %55 = and i1 %53, %54 br i1 %55, label %56, label %83 56: ; preds = %50 %57 = tail call ptr @xitoa(i32 noundef %52) #4 %58 = tail call i64 @xstrlcpy(ptr noundef nonnull @coolsize.size_buf, ptr noundef %57, i32 noundef 12) #4 %59 = add i64 %58, -1 %60 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %59 store i8 46, ptr %60, align 1, !tbaa !7 %61 = tail call ptr @xitoa(i32 noundef %51) #4 %62 = tail call i32 @llvm.umin.i32(i32 %7, i32 3) %63 = zext nneg i32 %62 to i64 %64 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %61) %65 = icmp ult i64 %64, %63 br i1 %65, label %66, label %75 66: ; preds = %56 %67 = add i64 %58, 2 %68 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %67 store i8 48, ptr %68, align 1, !tbaa !7 %69 = add i64 %58, 1 %70 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %69 store i8 48, ptr %70, align 1, !tbaa !7 %71 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %58 store i8 48, ptr %71, align 1, !tbaa !7 %72 = sub nsw i64 %63, %64 %73 = getelementptr inbounds i8, ptr %71, i64 %72 %74 = trunc i64 %64 to i32 br label %77 75: ; preds = %56 %76 = getelementptr inbounds i8, ptr @coolsize.size_buf, i64 %58 br label %77 77: ; preds = %75, %66 %78 = phi i32 [ %62, %75 ], [ %74, %66 ] %79 = phi ptr [ %76, %75 ], [ %73, %66 ] %80 = add nuw nsw i32 %78, 1 %81 = tail call i64 @xstrlcpy(ptr noundef nonnull %79, ptr noundef %61, i32 noundef %80) #4 %82 = add i64 %58, %63 br label %93 83: ; preds = %1, %50 %84 = phi i32 [ %7, %50 ], [ 0, %1 ] %85 = phi i32 [ %52, %50 ], [ %0, %1 ] %86 = icmp eq i32 %85, 0 br i1 %86, label %89, label %87 87: ; preds = %83 %88 = tail call ptr @xitoa(i32 noundef %85) #4 br label %89 89: ; preds = %83, %87 %90 = phi ptr [ %88, %87 ], [ @.str.1, %83 ] %91 = tail call i64 @xstrlcpy(ptr noundef nonnull @coolsize.size_buf, ptr noundef %90, i32 noundef 12) #4 %92 = add i64 %91, -1 br label %93 93: ; preds = %89, %77 %94 = phi i32 [ %7, %77 ], [ %84, %89 ] %95 = phi i64 [ %82, %77 ], [ %92, %89 ] %96 = zext nneg i32 %94 to i64 %97 = getelementptr inbounds i8, ptr @.str, i64 %96 %98 = load i8, ptr %97, align 1, !tbaa !7 %99 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %95 store i8 %98, ptr %99, align 1, !tbaa !7 %100 = add i64 %95, 1 %101 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %100 store i8 0, ptr %101, align 1, !tbaa !7 ret ptr @coolsize.size_buf } declare i64 @xstrlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @xitoa(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, 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 = { "no-trapping-math"="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 nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/nnn/src/extr_nnn.c_coolsize.c' source_filename = "AnghaBench/nnn/src/extr_nnn.c_coolsize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"BKMGTPEZY\00", align 1 @coolsize.size_buf = internal global [12 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"0\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @coolsize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @coolsize(i32 noundef %0) #0 { %2 = icmp sgt i32 %0, 1023 br i1 %2, label %3, label %83 3: ; preds = %1, %3 %4 = phi i32 [ %6, %3 ], [ %0, %1 ] %5 = phi i32 [ %7, %3 ], [ 0, %1 ] %6 = lshr i32 %4, 10 %7 = add nuw nsw i32 %5, 1 %8 = icmp ugt i32 %4, 1048575 br i1 %8, label %3, label %9, !llvm.loop !6 9: ; preds = %3 %10 = and i32 %4, 1023 switch i32 %5, label %37 [ i32 0, label %11 i32 1, label %24 ] 11: ; preds = %9 %12 = mul nuw nsw i32 %10, 1000 %13 = udiv i32 %12, 10240 %14 = trunc nuw nsw i32 %13 to i8 %15 = urem i8 %14, 10 %16 = icmp ugt i8 %15, 4 %17 = udiv i32 %12, 102400 br i1 %16, label %18, label %50 18: ; preds = %11 %19 = add nuw nsw i32 %17, 1 %20 = icmp eq i32 %19, 10 %21 = select i1 %20, i32 0, i32 %19 %22 = zext i1 %20 to i32 %23 = add nuw nsw i32 %6, %22 br label %50 24: ; preds = %9 %25 = mul nuw nsw i32 %10, 1000 %26 = lshr i32 %25, 10 %27 = trunc nuw nsw i32 %26 to i16 %28 = urem i16 %27, 10 %29 = icmp ugt i16 %28, 4 %30 = udiv i32 %25, 10240 br i1 %29, label %31, label %50 31: ; preds = %24 %32 = add nuw nsw i32 %30, 1 %33 = icmp eq i32 %32, 100 %34 = select i1 %33, i32 0, i32 %32 %35 = zext i1 %33 to i32 %36 = add nuw nsw i32 %6, %35 br label %50 37: ; preds = %9 %38 = mul nuw nsw i32 %10, 10000 %39 = lshr i32 %38, 10 %40 = trunc nuw nsw i32 %39 to i16 %41 = urem i16 %40, 10 %42 = icmp ugt i16 %41, 4 %43 = udiv i32 %38, 10240 br i1 %42, label %44, label %50 44: ; preds = %37 %45 = add nuw nsw i32 %43, 1 %46 = icmp eq i32 %45, 1000 %47 = select i1 %46, i32 0, i32 %45 %48 = zext i1 %46 to i32 %49 = add nuw nsw i32 %6, %48 br label %50 50: ; preds = %37, %24, %11, %44, %31, %18 %51 = phi i32 [ %21, %18 ], [ %34, %31 ], [ %47, %44 ], [ %17, %11 ], [ %30, %24 ], [ %43, %37 ] %52 = phi i32 [ %23, %18 ], [ %36, %31 ], [ %49, %44 ], [ %6, %11 ], [ %6, %24 ], [ %6, %37 ] %53 = icmp ult i32 %5, 5 %54 = icmp ne i32 %51, 0 %55 = and i1 %53, %54 br i1 %55, label %56, label %83 56: ; preds = %50 %57 = tail call ptr @xitoa(i32 noundef %52) #4 %58 = tail call i64 @xstrlcpy(ptr noundef nonnull @coolsize.size_buf, ptr noundef %57, i32 noundef 12) #4 %59 = add i64 %58, -1 %60 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %59 store i8 46, ptr %60, align 1, !tbaa !8 %61 = tail call ptr @xitoa(i32 noundef %51) #4 %62 = tail call i32 @llvm.umin.i32(i32 %7, i32 3) %63 = zext nneg i32 %62 to i64 %64 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %61) %65 = icmp ult i64 %64, %63 br i1 %65, label %66, label %75 66: ; preds = %56 %67 = add i64 %58, 2 %68 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %67 store i8 48, ptr %68, align 1, !tbaa !8 %69 = add i64 %58, 1 %70 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %69 store i8 48, ptr %70, align 1, !tbaa !8 %71 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %58 store i8 48, ptr %71, align 1, !tbaa !8 %72 = sub nsw i64 %63, %64 %73 = getelementptr inbounds i8, ptr %71, i64 %72 %74 = trunc i64 %64 to i32 br label %77 75: ; preds = %56 %76 = getelementptr inbounds i8, ptr @coolsize.size_buf, i64 %58 br label %77 77: ; preds = %75, %66 %78 = phi i32 [ %62, %75 ], [ %74, %66 ] %79 = phi ptr [ %76, %75 ], [ %73, %66 ] %80 = add nuw nsw i32 %78, 1 %81 = tail call i64 @xstrlcpy(ptr noundef nonnull %79, ptr noundef %61, i32 noundef %80) #4 %82 = add i64 %58, %63 br label %93 83: ; preds = %1, %50 %84 = phi i32 [ %7, %50 ], [ 0, %1 ] %85 = phi i32 [ %52, %50 ], [ %0, %1 ] %86 = icmp eq i32 %85, 0 br i1 %86, label %89, label %87 87: ; preds = %83 %88 = tail call ptr @xitoa(i32 noundef %85) #4 br label %89 89: ; preds = %83, %87 %90 = phi ptr [ %88, %87 ], [ @.str.1, %83 ] %91 = tail call i64 @xstrlcpy(ptr noundef nonnull @coolsize.size_buf, ptr noundef %90, i32 noundef 12) #4 %92 = add i64 %91, -1 br label %93 93: ; preds = %89, %77 %94 = phi i32 [ %7, %77 ], [ %84, %89 ] %95 = phi i64 [ %82, %77 ], [ %92, %89 ] %96 = zext nneg i32 %94 to i64 %97 = getelementptr inbounds i8, ptr @.str, i64 %96 %98 = load i8, ptr %97, align 1, !tbaa !8 %99 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %95 store i8 %98, ptr %99, align 1, !tbaa !8 %100 = add i64 %95, 1 %101 = getelementptr inbounds [12 x i8], ptr @coolsize.size_buf, i64 0, i64 %100 store i8 0, ptr %101, align 1, !tbaa !8 ret ptr @coolsize.size_buf } declare i64 @xstrlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @xitoa(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, 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 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
nnn_src_extr_nnn.c_coolsize
; ModuleID = 'AnghaBench/freebsd/sys/dev/nvme/extr_nvme_ns.c_nvme_ns_get_num_sectors.c' source_filename = "AnghaBench/freebsd/sys/dev/nvme/extr_nvme_ns.c_nvme_ns_get_num_sectors.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define dso_local i32 @nvme_ns_get_num_sectors(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"nvme_namespace", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/nvme/extr_nvme_ns.c_nvme_ns_get_num_sectors.c' source_filename = "AnghaBench/freebsd/sys/dev/nvme/extr_nvme_ns.c_nvme_ns_get_num_sectors.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define i32 @nvme_ns_get_num_sectors(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %2 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"nvme_namespace", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_nvme_extr_nvme_ns.c_nvme_ns_get_num_sectors
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_stb_truetype.h_stbtt__hheap_free.c' source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_stb_truetype.h_stbtt__hheap_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @stbtt__hheap_free], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @stbtt__hheap_free(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 = { 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 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/openpilot/phonelibs/nanovg/extr_stb_truetype.h_stbtt__hheap_free.c' source_filename = "AnghaBench/openpilot/phonelibs/nanovg/extr_stb_truetype.h_stbtt__hheap_free.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 @stbtt__hheap_free], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @stbtt__hheap_free(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 = { 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 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
openpilot_phonelibs_nanovg_extr_stb_truetype.h_stbtt__hheap_free
; ModuleID = 'AnghaBench/vim.js/src/extr_os_mswin.c_mch_FullName.c' source_filename = "AnghaBench/vim.js/src/extr_os_mswin.c_mch_FullName.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FAIL = dso_local local_unnamed_addr global i32 0, align 4 @OK = dso_local local_unnamed_addr global i32 0, align 4 @MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4 @NUL = dso_local local_unnamed_addr global i64 0, align 8 @VER_PLATFORM_WIN32_NT = dso_local local_unnamed_addr global i64 0, align 8 @enc_codepage = dso_local local_unnamed_addr global i32 0, align 4 @g_PlatformId = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @mch_FullName(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @FAIL, align 4, !tbaa !5 %6 = add nsw i32 %2, -1 %7 = tail call ptr @_fullpath(ptr noundef %1, ptr noundef %0, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call i32 @vim_strncpy(ptr noundef %1, ptr noundef %0, i32 noundef %6) #2 br label %13 11: ; preds = %4 %12 = load i32, ptr @OK, align 4, !tbaa !5 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %5, %9 ], [ %12, %11 ] %15 = tail call i32 @slash_adjust(ptr noundef %1) #2 ret i32 %14 } declare ptr @_fullpath(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vim_strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @slash_adjust(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/vim.js/src/extr_os_mswin.c_mch_FullName.c' source_filename = "AnghaBench/vim.js/src/extr_os_mswin.c_mch_FullName.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FAIL = common local_unnamed_addr global i32 0, align 4 @OK = common local_unnamed_addr global i32 0, align 4 @MAX_PATH = common local_unnamed_addr global i32 0, align 4 @NUL = common local_unnamed_addr global i64 0, align 8 @VER_PLATFORM_WIN32_NT = common local_unnamed_addr global i64 0, align 8 @enc_codepage = common local_unnamed_addr global i32 0, align 4 @g_PlatformId = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mch_FullName(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @FAIL, align 4, !tbaa !6 %6 = add nsw i32 %2, -1 %7 = tail call ptr @_fullpath(ptr noundef %1, ptr noundef %0, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %11 9: ; preds = %4 %10 = tail call i32 @vim_strncpy(ptr noundef %1, ptr noundef %0, i32 noundef %6) #2 br label %13 11: ; preds = %4 %12 = load i32, ptr @OK, align 4, !tbaa !6 br label %13 13: ; preds = %11, %9 %14 = phi i32 [ %5, %9 ], [ %12, %11 ] %15 = tail call i32 @slash_adjust(ptr noundef %1) #2 ret i32 %14 } declare ptr @_fullpath(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vim_strncpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @slash_adjust(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"}
vim.js_src_extr_os_mswin.c_mch_FullName
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_file.c_ocfs2_orphan_for_truncate.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_file.c_ocfs2_orphan_for_truncate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.inode = type { %struct.TYPE_2__, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32 } %struct.ocfs2_dinode = type { i32, i32, ptr, ptr, ptr } @OCFS2_INODE_UPDATE_CREDITS = dso_local local_unnamed_addr global i32 0, align 4 @OCFS2_JOURNAL_ACCESS_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_orphan_for_truncate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ocfs2_orphan_for_truncate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @ocfs2_cow_file_pos(ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @mlog_errno(i32 noundef %5) #2 br label %53 9: ; preds = %4 %10 = load i32, ptr @OCFS2_INODE_UPDATE_CREDITS, align 4, !tbaa !5 %11 = tail call ptr @ocfs2_start_trans(ptr noundef %0, i32 noundef %10) #2 %12 = tail call i64 @IS_ERR(ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %9 %15 = tail call i32 @PTR_ERR(ptr noundef %11) #2 %16 = tail call i32 @mlog_errno(i32 noundef %15) #2 br label %53 17: ; preds = %9 %18 = tail call i32 @INODE_CACHE(ptr noundef %1) #2 %19 = load i32, ptr @OCFS2_JOURNAL_ACCESS_WRITE, align 4, !tbaa !5 %20 = tail call i32 @ocfs2_journal_access_di(ptr noundef %11, i32 noundef %18, ptr noundef %2, i32 noundef %19) #2 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = tail call i32 @mlog_errno(i32 noundef %20) #2 br label %50 24: ; preds = %17 %25 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 2 %26 = load i32, ptr %25, align 4, !tbaa !9 %27 = tail call i32 @ocfs2_align_bytes_to_clusters(i32 noundef %26, i32 noundef %3) #2 %28 = tail call i32 @ocfs2_zero_range_for_truncate(ptr noundef %1, ptr noundef %11, i32 noundef %3, i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %24 %31 = tail call i32 @mlog_errno(i32 noundef %28) #2 br label %50 32: ; preds = %24 %33 = tail call i32 @i_size_write(ptr noundef nonnull %1, i32 noundef %3) #2 %34 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 1 %35 = tail call i64 @current_time(ptr noundef nonnull %1) #2 store i64 %35, ptr %34, align 4, !tbaa.struct !12 store i64 %35, ptr %1, align 4 %36 = load i64, ptr %2, align 8, !tbaa !13 %37 = inttoptr i64 %36 to ptr %38 = tail call ptr @cpu_to_le64(i32 noundef %3) #2 %39 = getelementptr inbounds %struct.ocfs2_dinode, ptr %37, i64 0, i32 4 store ptr %38, ptr %39, align 8, !tbaa !16 %40 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 %41 = load i32, ptr %40, align 4, !tbaa !19 %42 = tail call ptr @cpu_to_le64(i32 noundef %41) #2 %43 = getelementptr inbounds %struct.ocfs2_dinode, ptr %37, i64 0, i32 2 store ptr %42, ptr %43, align 8, !tbaa !20 %44 = getelementptr inbounds %struct.ocfs2_dinode, ptr %37, i64 0, i32 3 store ptr %42, ptr %44, align 8, !tbaa !21 %45 = load i32, ptr %1, align 4, !tbaa !22 %46 = tail call i32 @cpu_to_le32(i32 noundef %45) #2 store i32 %46, ptr %37, align 8, !tbaa !23 %47 = getelementptr inbounds %struct.ocfs2_dinode, ptr %37, i64 0, i32 1 store i32 %46, ptr %47, align 4, !tbaa !24 %48 = tail call i32 @ocfs2_update_inode_fsync_trans(ptr noundef %11, ptr noundef nonnull %1, i32 noundef 0) #2 %49 = tail call i32 @ocfs2_journal_dirty(ptr noundef %11, ptr noundef nonnull %2) #2 br label %50 50: ; preds = %32, %30, %22 %51 = phi i32 [ %20, %22 ], [ %28, %30 ], [ 0, %32 ] %52 = tail call i32 @ocfs2_commit_trans(ptr noundef %0, ptr noundef %11) #2 br label %53 53: ; preds = %14, %50, %7 %54 = phi i32 [ %5, %7 ], [ %15, %14 ], [ %51, %50 ] ret i32 %54 } declare i32 @ocfs2_cow_file_pos(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #1 declare ptr @ocfs2_start_trans(ptr noundef, i32 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 @ocfs2_journal_access_di(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #1 declare i32 @ocfs2_align_bytes_to_clusters(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_zero_range_for_truncate(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i_size_write(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @current_time(ptr noundef) local_unnamed_addr #1 declare ptr @cpu_to_le64(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_update_inode_fsync_trans(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_journal_dirty(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ocfs2_commit_trans(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, !6, i64 16} !10 = !{!"inode", !11, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !12 = !{i64 0, i64 4, !5, i64 4, i64 4, !5} !13 = !{!14, !15, i64 0} !14 = !{!"buffer_head", !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!17, !18, i64 24} !17 = !{!"ocfs2_dinode", !6, i64 0, !6, i64 4, !18, i64 8, !18, i64 16, !18, i64 24} !18 = !{!"any pointer", !7, i64 0} !19 = !{!10, !6, i64 4} !20 = !{!17, !18, i64 8} !21 = !{!17, !18, i64 16} !22 = !{!10, !6, i64 0} !23 = !{!17, !6, i64 0} !24 = !{!17, !6, i64 4}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_file.c_ocfs2_orphan_for_truncate.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_file.c_ocfs2_orphan_for_truncate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OCFS2_INODE_UPDATE_CREDITS = common local_unnamed_addr global i32 0, align 4 @OCFS2_JOURNAL_ACCESS_WRITE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ocfs2_orphan_for_truncate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ocfs2_orphan_for_truncate(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @ocfs2_cow_file_pos(ptr noundef %1, ptr noundef %2, i32 noundef %3) #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %4 %8 = tail call i32 @mlog_errno(i32 noundef %5) #2 br label %53 9: ; preds = %4 %10 = load i32, ptr @OCFS2_INODE_UPDATE_CREDITS, align 4, !tbaa !6 %11 = tail call ptr @ocfs2_start_trans(ptr noundef %0, i32 noundef %10) #2 %12 = tail call i64 @IS_ERR(ptr noundef %11) #2 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %9 %15 = tail call i32 @PTR_ERR(ptr noundef %11) #2 %16 = tail call i32 @mlog_errno(i32 noundef %15) #2 br label %53 17: ; preds = %9 %18 = tail call i32 @INODE_CACHE(ptr noundef %1) #2 %19 = load i32, ptr @OCFS2_JOURNAL_ACCESS_WRITE, align 4, !tbaa !6 %20 = tail call i32 @ocfs2_journal_access_di(ptr noundef %11, i32 noundef %18, ptr noundef %2, i32 noundef %19) #2 %21 = icmp slt i32 %20, 0 br i1 %21, label %22, label %24 22: ; preds = %17 %23 = tail call i32 @mlog_errno(i32 noundef %20) #2 br label %50 24: ; preds = %17 %25 = getelementptr inbounds i8, ptr %1, i64 16 %26 = load i32, ptr %25, align 4, !tbaa !10 %27 = tail call i32 @ocfs2_align_bytes_to_clusters(i32 noundef %26, i32 noundef %3) #2 %28 = tail call i32 @ocfs2_zero_range_for_truncate(ptr noundef %1, ptr noundef %11, i32 noundef %3, i32 noundef %27) #2 %29 = icmp eq i32 %28, 0 br i1 %29, label %32, label %30 30: ; preds = %24 %31 = tail call i32 @mlog_errno(i32 noundef %28) #2 br label %50 32: ; preds = %24 %33 = tail call i32 @i_size_write(ptr noundef nonnull %1, i32 noundef %3) #2 %34 = getelementptr inbounds i8, ptr %1, i64 8 %35 = tail call i64 @current_time(ptr noundef nonnull %1) #2 store i64 %35, ptr %34, align 4 store i64 %35, ptr %1, align 4 %36 = load i64, ptr %2, align 8, !tbaa !13 %37 = inttoptr i64 %36 to ptr %38 = tail call ptr @cpu_to_le64(i32 noundef %3) #2 %39 = getelementptr inbounds i8, ptr %37, i64 24 store ptr %38, ptr %39, align 8, !tbaa !16 %40 = getelementptr inbounds i8, ptr %1, i64 4 %41 = load i32, ptr %40, align 4, !tbaa !19 %42 = tail call ptr @cpu_to_le64(i32 noundef %41) #2 %43 = getelementptr inbounds i8, ptr %37, i64 8 store ptr %42, ptr %43, align 8, !tbaa !20 %44 = getelementptr inbounds i8, ptr %37, i64 16 store ptr %42, ptr %44, align 8, !tbaa !21 %45 = load i32, ptr %1, align 4, !tbaa !22 %46 = tail call i32 @cpu_to_le32(i32 noundef %45) #2 store i32 %46, ptr %37, align 8, !tbaa !23 %47 = getelementptr inbounds i8, ptr %37, i64 4 store i32 %46, ptr %47, align 4, !tbaa !24 %48 = tail call i32 @ocfs2_update_inode_fsync_trans(ptr noundef %11, ptr noundef nonnull %1, i32 noundef 0) #2 %49 = tail call i32 @ocfs2_journal_dirty(ptr noundef %11, ptr noundef nonnull %2) #2 br label %50 50: ; preds = %32, %30, %22 %51 = phi i32 [ %20, %22 ], [ %28, %30 ], [ 0, %32 ] %52 = tail call i32 @ocfs2_commit_trans(ptr noundef %0, ptr noundef %11) #2 br label %53 53: ; preds = %14, %50, %7 %54 = phi i32 [ %5, %7 ], [ %15, %14 ], [ %51, %50 ] ret i32 %54 } declare i32 @ocfs2_cow_file_pos(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #1 declare ptr @ocfs2_start_trans(ptr noundef, i32 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 @ocfs2_journal_access_di(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INODE_CACHE(ptr noundef) local_unnamed_addr #1 declare i32 @ocfs2_align_bytes_to_clusters(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_zero_range_for_truncate(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i_size_write(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @current_time(ptr noundef) local_unnamed_addr #1 declare ptr @cpu_to_le64(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_update_inode_fsync_trans(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_journal_dirty(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ocfs2_commit_trans(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, !7, i64 16} !11 = !{!"inode", !12, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !13 = !{!14, !15, i64 0} !14 = !{!"buffer_head", !15, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!17, !18, i64 24} !17 = !{!"ocfs2_dinode", !7, i64 0, !7, i64 4, !18, i64 8, !18, i64 16, !18, i64 24} !18 = !{!"any pointer", !8, i64 0} !19 = !{!11, !7, i64 4} !20 = !{!17, !18, i64 8} !21 = !{!17, !18, i64 16} !22 = !{!11, !7, i64 0} !23 = !{!17, !7, i64 0} !24 = !{!17, !7, i64 4}
linux_fs_ocfs2_extr_file.c_ocfs2_orphan_for_truncate
; ModuleID = 'AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx.c_ahd_sglist_size.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx.c_ahd_sglist_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AHD_NSEG = dso_local local_unnamed_addr global i32 0, align 4 @AHD_64BIT_ADDRESSING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ahd_sglist_size], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @ahd_sglist_size(ptr nocapture readonly %0) #0 { %2 = load i32, ptr @AHD_NSEG, align 4, !tbaa !5 %3 = shl i32 %2, 2 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/dev/aic7xxx/extr_aic79xx.c_ahd_sglist_size.c' source_filename = "AnghaBench/freebsd/sys/dev/aic7xxx/extr_aic79xx.c_ahd_sglist_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AHD_NSEG = common local_unnamed_addr global i32 0, align 4 @AHD_64BIT_ADDRESSING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ahd_sglist_size], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @ahd_sglist_size(ptr nocapture readonly %0) #0 { %2 = load i32, ptr @AHD_NSEG, align 4, !tbaa !6 %3 = shl i32 %2, 2 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_dev_aic7xxx_extr_aic79xx.c_ahd_sglist_size
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_clearAllSharedCacheTableLocks.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_clearAllSharedCacheTableLocks.c" target datalayout = "e-m:e-p270:32:32-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 { i64, %struct.TYPE_9__, i64, ptr } %struct.TYPE_9__ = type { i64, i32, ptr, ptr } %struct.TYPE_8__ = type { i32, i32, ptr, ptr } @BTS_EXCLUSIVE = dso_local local_unnamed_addr global i32 0, align 4 @BTS_PENDING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @clearAllSharedCacheTableLocks], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @clearAllSharedCacheTableLocks(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 3 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 3 %5 = tail call i32 @sqlite3BtreeHoldsMutex(ptr noundef %0) #2 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 2 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %4, align 8, !tbaa !14 %12 = icmp eq ptr %11, null %13 = zext i1 %12 to i32 br label %14 14: ; preds = %10, %1 %15 = phi i32 [ 1, %1 ], [ %13, %10 ] %16 = tail call i32 @assert(i32 noundef %15) #2 %17 = load i64, ptr %0, align 8, !tbaa !15 %18 = icmp sgt i64 %17, 0 %19 = zext i1 %18 to i32 %20 = tail call i32 @assert(i32 noundef %19) #2 %21 = load ptr, ptr %4, align 8, !tbaa !14 %22 = icmp eq ptr %21, null br i1 %22, label %69, label %23 23: ; preds = %14 %24 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 2 %25 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 br label %26 26: ; preds = %23, %65 %27 = phi ptr [ %21, %23 ], [ %67, %65 ] %28 = phi ptr [ %4, %23 ], [ %66, %65 ] %29 = load i32, ptr %3, align 8, !tbaa !16 %30 = load i32, ptr @BTS_EXCLUSIVE, align 4, !tbaa !18 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %26 %34 = load ptr, ptr %24, align 8, !tbaa !19 %35 = getelementptr inbounds %struct.TYPE_9__, ptr %27, i64 0, i32 3 %36 = load ptr, ptr %35, align 8, !tbaa !20 %37 = icmp eq ptr %34, %36 br label %38 38: ; preds = %33, %26 %39 = phi i1 [ true, %26 ], [ %37, %33 ] %40 = zext i1 %39 to i32 %41 = tail call i32 @assert(i32 noundef %40) #2 %42 = getelementptr inbounds %struct.TYPE_9__, ptr %27, i64 0, i32 3 %43 = load ptr, ptr %42, align 8, !tbaa !20 %44 = load i64, ptr %43, align 8, !tbaa !15 %45 = load i64, ptr %27, align 8, !tbaa !21 %46 = icmp sge i64 %44, %45 %47 = zext i1 %46 to i32 %48 = tail call i32 @assert(i32 noundef %47) #2 %49 = load ptr, ptr %42, align 8, !tbaa !20 %50 = icmp eq ptr %49, %0 %51 = getelementptr inbounds %struct.TYPE_9__, ptr %27, i64 0, i32 2 br i1 %50, label %52, label %65 52: ; preds = %38 %53 = load ptr, ptr %51, align 8, !tbaa !22 store ptr %53, ptr %28, align 8, !tbaa !14 %54 = getelementptr inbounds %struct.TYPE_9__, ptr %27, i64 0, i32 1 %55 = load i32, ptr %54, align 8, !tbaa !23 %56 = icmp ne i32 %55, 1 %57 = icmp eq ptr %27, %25 %58 = select i1 %56, i1 true, i1 %57 %59 = zext i1 %58 to i32 %60 = tail call i32 @assert(i32 noundef %59) #2 %61 = load i32, ptr %54, align 8, !tbaa !23 %62 = icmp eq i32 %61, 1 br i1 %62, label %65, label %63 63: ; preds = %52 %64 = tail call i32 @sqlite3_free(ptr noundef nonnull %27) #2 br label %65 65: ; preds = %38, %52, %63 %66 = phi ptr [ %28, %63 ], [ %28, %52 ], [ %51, %38 ] %67 = load ptr, ptr %66, align 8, !tbaa !14 %68 = icmp eq ptr %67, null br i1 %68, label %69, label %26, !llvm.loop !24 69: ; preds = %65, %14 %70 = load i32, ptr %3, align 8, !tbaa !16 %71 = load i32, ptr @BTS_PENDING, align 4, !tbaa !18 %72 = and i32 %71, %70 %73 = icmp eq i32 %72, 0 br i1 %73, label %79, label %74 74: ; preds = %69 %75 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 2 %76 = load ptr, ptr %75, align 8, !tbaa !19 %77 = icmp ne ptr %76, null %78 = zext i1 %77 to i32 br label %79 79: ; preds = %74, %69 %80 = phi i32 [ 1, %69 ], [ %78, %74 ] %81 = tail call i32 @assert(i32 noundef %80) #2 %82 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 2 %83 = load ptr, ptr %82, align 8, !tbaa !19 %84 = icmp eq ptr %83, %0 br i1 %84, label %85, label %89 85: ; preds = %79 store ptr null, ptr %82, align 8, !tbaa !19 %86 = load i32, ptr @BTS_EXCLUSIVE, align 4, !tbaa !18 %87 = load i32, ptr @BTS_PENDING, align 4, !tbaa !18 %88 = or i32 %87, %86 br label %95 89: ; preds = %79 %90 = getelementptr inbounds %struct.TYPE_8__, ptr %3, i64 0, i32 1 %91 = load i32, ptr %90, align 4, !tbaa !26 %92 = icmp eq i32 %91, 2 br i1 %92, label %93, label %100 93: ; preds = %89 %94 = load i32, ptr @BTS_PENDING, align 4, !tbaa !18 br label %95 95: ; preds = %85, %93 %96 = phi i32 [ %94, %93 ], [ %88, %85 ] %97 = xor i32 %96, -1 %98 = load i32, ptr %3, align 8, !tbaa !16 %99 = and i32 %98, %97 store i32 %99, ptr %3, align 8, !tbaa !16 br label %100 100: ; preds = %95, %89 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeHoldsMutex(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 48} !6 = !{!"TYPE_7__", !7, i64 0, !10, i64 8, !7, i64 40, !12, i64 48} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_9__", !7, i64 0, !11, i64 8, !12, i64 16, !12, i64 24} !11 = !{!"int", !8, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !7, i64 40} !14 = !{!12, !12, i64 0} !15 = !{!6, !7, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_8__", !11, i64 0, !11, i64 4, !12, i64 8, !12, i64 16} !18 = !{!11, !11, i64 0} !19 = !{!17, !12, i64 8} !20 = !{!10, !12, i64 24} !21 = !{!10, !7, i64 0} !22 = !{!10, !12, i64 16} !23 = !{!10, !11, i64 8} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!17, !11, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_clearAllSharedCacheTableLocks.c' source_filename = "AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_clearAllSharedCacheTableLocks.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BTS_EXCLUSIVE = common local_unnamed_addr global i32 0, align 4 @BTS_PENDING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @clearAllSharedCacheTableLocks], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @clearAllSharedCacheTableLocks(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 16 %5 = tail call i32 @sqlite3BtreeHoldsMutex(ptr noundef %0) #2 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 40 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %14 10: ; preds = %1 %11 = load ptr, ptr %4, align 8, !tbaa !15 %12 = icmp eq ptr %11, null %13 = zext i1 %12 to i32 br label %14 14: ; preds = %10, %1 %15 = phi i32 [ 1, %1 ], [ %13, %10 ] %16 = tail call i32 @assert(i32 noundef %15) #2 %17 = load i64, ptr %0, align 8, !tbaa !16 %18 = icmp sgt i64 %17, 0 %19 = zext i1 %18 to i32 %20 = tail call i32 @assert(i32 noundef %19) #2 %21 = load ptr, ptr %4, align 8, !tbaa !15 %22 = icmp eq ptr %21, null br i1 %22, label %69, label %23 23: ; preds = %14 %24 = getelementptr inbounds i8, ptr %3, i64 8 %25 = getelementptr inbounds i8, ptr %0, i64 8 br label %26 26: ; preds = %23, %65 %27 = phi ptr [ %21, %23 ], [ %67, %65 ] %28 = phi ptr [ %4, %23 ], [ %66, %65 ] %29 = load i32, ptr %3, align 8, !tbaa !17 %30 = load i32, ptr @BTS_EXCLUSIVE, align 4, !tbaa !19 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %38, label %33 33: ; preds = %26 %34 = load ptr, ptr %24, align 8, !tbaa !20 %35 = getelementptr inbounds i8, ptr %27, i64 24 %36 = load ptr, ptr %35, align 8, !tbaa !21 %37 = icmp eq ptr %34, %36 br label %38 38: ; preds = %33, %26 %39 = phi i1 [ true, %26 ], [ %37, %33 ] %40 = zext i1 %39 to i32 %41 = tail call i32 @assert(i32 noundef %40) #2 %42 = getelementptr inbounds i8, ptr %27, i64 24 %43 = load ptr, ptr %42, align 8, !tbaa !21 %44 = load i64, ptr %43, align 8, !tbaa !16 %45 = load i64, ptr %27, align 8, !tbaa !22 %46 = icmp sge i64 %44, %45 %47 = zext i1 %46 to i32 %48 = tail call i32 @assert(i32 noundef %47) #2 %49 = load ptr, ptr %42, align 8, !tbaa !21 %50 = icmp eq ptr %49, %0 %51 = getelementptr inbounds i8, ptr %27, i64 16 br i1 %50, label %52, label %65 52: ; preds = %38 %53 = load ptr, ptr %51, align 8, !tbaa !23 store ptr %53, ptr %28, align 8, !tbaa !15 %54 = getelementptr inbounds i8, ptr %27, i64 8 %55 = load i32, ptr %54, align 8, !tbaa !24 %56 = icmp ne i32 %55, 1 %57 = icmp eq ptr %27, %25 %58 = select i1 %56, i1 true, i1 %57 %59 = zext i1 %58 to i32 %60 = tail call i32 @assert(i32 noundef %59) #2 %61 = load i32, ptr %54, align 8, !tbaa !24 %62 = icmp eq i32 %61, 1 br i1 %62, label %65, label %63 63: ; preds = %52 %64 = tail call i32 @sqlite3_free(ptr noundef nonnull %27) #2 br label %65 65: ; preds = %38, %52, %63 %66 = phi ptr [ %28, %63 ], [ %28, %52 ], [ %51, %38 ] %67 = load ptr, ptr %66, align 8, !tbaa !15 %68 = icmp eq ptr %67, null br i1 %68, label %69, label %26, !llvm.loop !25 69: ; preds = %65, %14 %70 = load i32, ptr %3, align 8, !tbaa !17 %71 = load i32, ptr @BTS_PENDING, align 4, !tbaa !19 %72 = and i32 %71, %70 %73 = icmp eq i32 %72, 0 br i1 %73, label %79, label %74 74: ; preds = %69 %75 = getelementptr inbounds i8, ptr %3, i64 8 %76 = load ptr, ptr %75, align 8, !tbaa !20 %77 = icmp ne ptr %76, null %78 = zext i1 %77 to i32 br label %79 79: ; preds = %74, %69 %80 = phi i32 [ 1, %69 ], [ %78, %74 ] %81 = tail call i32 @assert(i32 noundef %80) #2 %82 = getelementptr inbounds i8, ptr %3, i64 8 %83 = load ptr, ptr %82, align 8, !tbaa !20 %84 = icmp eq ptr %83, %0 br i1 %84, label %85, label %89 85: ; preds = %79 store ptr null, ptr %82, align 8, !tbaa !20 %86 = load i32, ptr @BTS_EXCLUSIVE, align 4, !tbaa !19 %87 = load i32, ptr @BTS_PENDING, align 4, !tbaa !19 %88 = or i32 %87, %86 br label %95 89: ; preds = %79 %90 = getelementptr inbounds i8, ptr %3, i64 4 %91 = load i32, ptr %90, align 4, !tbaa !27 %92 = icmp eq i32 %91, 2 br i1 %92, label %93, label %100 93: ; preds = %89 %94 = load i32, ptr @BTS_PENDING, align 4, !tbaa !19 br label %95 95: ; preds = %85, %93 %96 = phi i32 [ %94, %93 ], [ %88, %85 ] %97 = xor i32 %96, -1 %98 = load i32, ptr %3, align 8, !tbaa !17 %99 = and i32 %98, %97 store i32 %99, ptr %3, align 8, !tbaa !17 br label %100 100: ; preds = %95, %89 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @sqlite3BtreeHoldsMutex(ptr noundef) local_unnamed_addr #1 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 48} !7 = !{!"TYPE_7__", !8, i64 0, !11, i64 8, !8, i64 40, !13, i64 48} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_9__", !8, i64 0, !12, i64 8, !13, i64 16, !13, i64 24} !12 = !{!"int", !9, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !8, i64 40} !15 = !{!13, !13, i64 0} !16 = !{!7, !8, i64 0} !17 = !{!18, !12, i64 0} !18 = !{!"TYPE_8__", !12, i64 0, !12, i64 4, !13, i64 8, !13, i64 16} !19 = !{!12, !12, i64 0} !20 = !{!18, !13, i64 8} !21 = !{!11, !13, i64 24} !22 = !{!11, !8, i64 0} !23 = !{!11, !13, i64 16} !24 = !{!11, !12, i64 8} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{!18, !12, i64 4}
freebsd_contrib_sqlite3_extr_sqlite3.c_clearAllSharedCacheTableLocks
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/midi/extr_midi.c_midi_modevent.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/midi/extr_midi.c_midi_modevent.c" target datalayout = "e-m:e-p270:32:32-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 @midi_modevent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @midi_modevent(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { switch i32 %1, label %12 [ i32 129, label %4 i32 128, label %7 ] 4: ; preds = %3 %5 = tail call i32 (...) @midi_load() #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %12 7: ; preds = %3 %8 = tail call i32 (...) @midi_unload() #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7, %4 %11 = tail call i32 @seq_modevent(i32 noundef %0, i32 noundef %1, ptr noundef %2) #2 br label %12 12: ; preds = %10, %3, %7, %4 %13 = phi i32 [ 0, %3 ], [ %8, %7 ], [ %5, %4 ], [ %11, %10 ] ret i32 %13 } declare i32 @midi_load(...) local_unnamed_addr #1 declare i32 @seq_modevent(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @midi_unload(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/dev/sound/midi/extr_midi.c_midi_modevent.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/midi/extr_midi.c_midi_modevent.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 @midi_modevent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @midi_modevent(i32 noundef %0, i32 noundef %1, ptr noundef %2) #0 { switch i32 %1, label %12 [ i32 129, label %4 i32 128, label %7 ] 4: ; preds = %3 %5 = tail call i32 @midi_load() #2 %6 = icmp eq i32 %5, 0 br i1 %6, label %10, label %12 7: ; preds = %3 %8 = tail call i32 @midi_unload() #2 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %12 10: ; preds = %7, %4 %11 = tail call i32 @seq_modevent(i32 noundef %0, i32 noundef %1, ptr noundef %2) #2 br label %12 12: ; preds = %10, %3, %7, %4 %13 = phi i32 [ 0, %3 ], [ %8, %7 ], [ %5, %4 ], [ %11, %10 ] ret i32 %13 } declare i32 @midi_load(...) local_unnamed_addr #1 declare i32 @seq_modevent(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @midi_unload(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{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_dev_sound_midi_extr_midi.c_midi_modevent
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/egl/extr_egl_client_context.c_egl_context_term.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/egl/extr_egl_client_context.c_egl_context_term.c" target datalayout = "e-m:e-p270:32:32-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, i64, i32, i32 } @eglIntDestroyVG_impl = dso_local local_unnamed_addr global i32 0, align 4 @EGLINTDESTROYVG_ID = dso_local local_unnamed_addr global i32 0, align 4 @eglIntDestroyGL_impl = dso_local local_unnamed_addr global i32 0, align 4 @EGLINTDESTROYGL_ID = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @egl_context_term(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = tail call ptr (...) @CLIENT_GET_THREAD_STATE() #2 %3 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 4 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @vcos_assert(i32 noundef %6) #2 %8 = load i32, ptr %0, align 8, !tbaa !11 %9 = tail call i32 @vcos_assert(i32 noundef %8) #2 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !12 switch i32 %11, label %36 [ i32 128, label %12 i32 130, label %24 i32 129, label %24 ] 12: ; preds = %1 %13 = load i32, ptr @eglIntDestroyVG_impl, align 4, !tbaa !13 %14 = load i32, ptr @EGLINTDESTROYVG_ID, align 4, !tbaa !13 %15 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %16 = load i32, ptr %15, align 8, !tbaa !14 %17 = tail call i32 @RPC_UINT(i32 noundef %16) #2 %18 = tail call i32 @RPC_CALL1(i32 noundef %13, ptr noundef %2, i32 noundef %14, i32 noundef %17) #2 %19 = tail call i32 @RPC_FLUSH(ptr noundef %2) #2 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %21 = load i64, ptr %20, align 8, !tbaa !15 %22 = inttoptr i64 %21 to ptr %23 = tail call i32 @vg_client_state_free(ptr noundef %22) #2 br label %38 24: ; preds = %1, %1 %25 = load i32, ptr @eglIntDestroyGL_impl, align 4, !tbaa !13 %26 = load i32, ptr @EGLINTDESTROYGL_ID, align 4, !tbaa !13 %27 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 3 %28 = load i32, ptr %27, align 8, !tbaa !14 %29 = tail call i32 @RPC_UINT(i32 noundef %28) #2 %30 = tail call i32 @RPC_CALL1(i32 noundef %25, ptr noundef %2, i32 noundef %26, i32 noundef %29) #2 %31 = tail call i32 @RPC_FLUSH(ptr noundef %2) #2 %32 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 %33 = load i64, ptr %32, align 8, !tbaa !15 %34 = inttoptr i64 %33 to ptr %35 = tail call i32 @glxx_client_state_free(ptr noundef %34) #2 br label %38 36: ; preds = %1 %37 = tail call i32 (...) @UNREACHABLE() #2 br label %38 38: ; preds = %36, %24, %12 %39 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 2 store i64 0, ptr %39, align 8, !tbaa !15 ret void } declare ptr @CLIENT_GET_THREAD_STATE(...) local_unnamed_addr #1 declare i32 @vcos_assert(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_CALL1(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RPC_UINT(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_FLUSH(ptr noundef) local_unnamed_addr #1 declare i32 @vg_client_state_free(ptr noundef) local_unnamed_addr #1 declare i32 @glxx_client_state_free(ptr noundef) local_unnamed_addr #1 declare i32 @UNREACHABLE(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 20} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !7, i64 4} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 16} !15 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/khronos/egl/extr_egl_client_context.c_egl_context_term.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/khronos/egl/extr_egl_client_context.c_egl_context_term.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @eglIntDestroyVG_impl = common local_unnamed_addr global i32 0, align 4 @EGLINTDESTROYVG_ID = common local_unnamed_addr global i32 0, align 4 @eglIntDestroyGL_impl = common local_unnamed_addr global i32 0, align 4 @EGLINTDESTROYGL_ID = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @egl_context_term(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @CLIENT_GET_THREAD_STATE() #2 %3 = getelementptr inbounds i8, ptr %0, i64 20 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @vcos_assert(i32 noundef %6) #2 %8 = load i32, ptr %0, align 8, !tbaa !12 %9 = tail call i32 @vcos_assert(i32 noundef %8) #2 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !13 switch i32 %11, label %36 [ i32 128, label %12 i32 130, label %24 i32 129, label %24 ] 12: ; preds = %1 %13 = load i32, ptr @eglIntDestroyVG_impl, align 4, !tbaa !14 %14 = load i32, ptr @EGLINTDESTROYVG_ID, align 4, !tbaa !14 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = tail call i32 @RPC_UINT(i32 noundef %16) #2 %18 = tail call i32 @RPC_CALL1(i32 noundef %13, ptr noundef %2, i32 noundef %14, i32 noundef %17) #2 %19 = tail call i32 @RPC_FLUSH(ptr noundef %2) #2 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = inttoptr i64 %21 to ptr %23 = tail call i32 @vg_client_state_free(ptr noundef %22) #2 br label %38 24: ; preds = %1, %1 %25 = load i32, ptr @eglIntDestroyGL_impl, align 4, !tbaa !14 %26 = load i32, ptr @EGLINTDESTROYGL_ID, align 4, !tbaa !14 %27 = getelementptr inbounds i8, ptr %0, i64 16 %28 = load i32, ptr %27, align 8, !tbaa !15 %29 = tail call i32 @RPC_UINT(i32 noundef %28) #2 %30 = tail call i32 @RPC_CALL1(i32 noundef %25, ptr noundef %2, i32 noundef %26, i32 noundef %29) #2 %31 = tail call i32 @RPC_FLUSH(ptr noundef %2) #2 %32 = getelementptr inbounds i8, ptr %0, i64 8 %33 = load i64, ptr %32, align 8, !tbaa !16 %34 = inttoptr i64 %33 to ptr %35 = tail call i32 @glxx_client_state_free(ptr noundef %34) #2 br label %38 36: ; preds = %1 %37 = tail call i32 @UNREACHABLE() #2 br label %38 38: ; preds = %36, %24, %12 %39 = getelementptr inbounds i8, ptr %0, i64 8 store i64 0, ptr %39, align 8, !tbaa !16 ret void } declare ptr @CLIENT_GET_THREAD_STATE(...) local_unnamed_addr #1 declare i32 @vcos_assert(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_CALL1(i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RPC_UINT(i32 noundef) local_unnamed_addr #1 declare i32 @RPC_FLUSH(ptr noundef) local_unnamed_addr #1 declare i32 @vg_client_state_free(ptr noundef) local_unnamed_addr #1 declare i32 @glxx_client_state_free(ptr noundef) local_unnamed_addr #1 declare i32 @UNREACHABLE(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 20} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 16} !16 = !{!7, !11, i64 8}
RetroArch_gfx_include_userland_interface_khronos_egl_extr_egl_client_context.c_egl_context_term
; ModuleID = 'AnghaBench/vlc/src/player/extr_player.c_vlc_player_GetCategoryLanguage.c' source_filename = "AnghaBench/vlc/src/player/extr_player.c_vlc_player_GetCategoryLanguage.c" target datalayout = "e-m:e-p270:32:32-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 [15 x i8] c"audio-language\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"sub-language\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @vlc_player_GetCategoryLanguage(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @vlc_player_assert_locked(ptr noundef %0) #2 switch i32 %1, label %8 [ i32 129, label %4 i32 128, label %6 ] 4: ; preds = %2 %5 = tail call ptr @var_GetString(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %10 6: ; preds = %2 %7 = tail call ptr @var_GetString(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %10 8: ; preds = %2 %9 = tail call i32 (...) @vlc_assert_unreachable() #2 br label %10 10: ; preds = %4, %6, %8 %11 = phi ptr [ undef, %8 ], [ %7, %6 ], [ %5, %4 ] ret ptr %11 } declare i32 @vlc_player_assert_locked(ptr noundef) local_unnamed_addr #1 declare ptr @var_GetString(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vlc_assert_unreachable(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/vlc/src/player/extr_player.c_vlc_player_GetCategoryLanguage.c' source_filename = "AnghaBench/vlc/src/player/extr_player.c_vlc_player_GetCategoryLanguage.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"audio-language\00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"sub-language\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @vlc_player_GetCategoryLanguage(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @vlc_player_assert_locked(ptr noundef %0) #2 switch i32 %1, label %8 [ i32 129, label %4 i32 128, label %6 ] 4: ; preds = %2 %5 = tail call ptr @var_GetString(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %10 6: ; preds = %2 %7 = tail call ptr @var_GetString(ptr noundef %0, ptr noundef nonnull @.str.1) #2 br label %10 8: ; preds = %2 %9 = tail call i32 @vlc_assert_unreachable() #2 br label %10 10: ; preds = %4, %6, %8 %11 = phi ptr [ undef, %8 ], [ %7, %6 ], [ %5, %4 ] ret ptr %11 } declare i32 @vlc_player_assert_locked(ptr noundef) local_unnamed_addr #1 declare ptr @var_GetString(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @vlc_assert_unreachable(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
vlc_src_player_extr_player.c_vlc_player_GetCategoryLanguage
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_mxic_nand.c_mxic_nfc_isr.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_mxic_nand.c_mxic_nfc_isr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.mxic_nand_ctlr = type { i32, i64 } @INT_STS = dso_local local_unnamed_addr global i64 0, align 8 @INT_RDY_PIN = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_NONE = dso_local local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mxic_nfc_isr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mxic_nfc_isr(i32 %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.mxic_nand_ctlr, ptr %1, i64 0, i32 1 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @INT_STS, align 8, !tbaa !11 %6 = add nsw i64 %5, %4 %7 = tail call i32 @readl(i64 noundef %6) #2 %8 = load i32, ptr @INT_RDY_PIN, align 4, !tbaa !12 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = tail call i32 @complete(ptr noundef nonnull %1) #2 br label %13 13: ; preds = %2, %11 %14 = phi ptr [ @IRQ_HANDLED, %11 ], [ @IRQ_NONE, %2 ] %15 = load i32, ptr %14, align 4, !tbaa !12 ret i32 %15 } declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @complete(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 = !{!"mxic_nand_ctlr", !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 = !{!10, !10, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/extr_mxic_nand.c_mxic_nfc_isr.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/extr_mxic_nand.c_mxic_nfc_isr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INT_STS = common local_unnamed_addr global i64 0, align 8 @INT_RDY_PIN = common local_unnamed_addr global i32 0, align 4 @IRQ_NONE = common local_unnamed_addr global i32 0, align 4 @IRQ_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mxic_nfc_isr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mxic_nfc_isr(i32 %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @INT_STS, align 8, !tbaa !12 %6 = add nsw i64 %5, %4 %7 = tail call i32 @readl(i64 noundef %6) #2 %8 = load i32, ptr @INT_RDY_PIN, align 4, !tbaa !13 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %2 %12 = tail call i32 @complete(ptr noundef nonnull %1) #2 br label %13 13: ; preds = %2, %11 %14 = phi ptr [ @IRQ_HANDLED, %11 ], [ @IRQ_NONE, %2 ] %15 = load i32, ptr %14, align 4, !tbaa !13 ret i32 %15 } declare i32 @readl(i64 noundef) local_unnamed_addr #1 declare i32 @complete(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 = !{!"mxic_nand_ctlr", !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 = !{!11, !11, i64 0} !13 = !{!8, !8, i64 0}
linux_drivers_mtd_nand_raw_extr_mxic_nand.c_mxic_nfc_isr
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_rw.c_fdt_data_size_.c' source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_rw.c_fdt_data_size_.c" target datalayout = "e-m:e-p270:32:32-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 @fdt_data_size_], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @fdt_data_size_(ptr noundef %0) #0 { %2 = tail call i32 @fdt_off_dt_strings(ptr noundef %0) #2 %3 = tail call i32 @fdt_size_dt_strings(ptr noundef %0) #2 %4 = add nsw i32 %3, %2 ret i32 %4 } declare i32 @fdt_off_dt_strings(ptr noundef) local_unnamed_addr #1 declare i32 @fdt_size_dt_strings(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_rw.c_fdt_data_size_.c' source_filename = "AnghaBench/linux/scripts/dtc/libfdt/extr_fdt_rw.c_fdt_data_size_.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 @fdt_data_size_], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @fdt_data_size_(ptr noundef %0) #0 { %2 = tail call i32 @fdt_off_dt_strings(ptr noundef %0) #2 %3 = tail call i32 @fdt_size_dt_strings(ptr noundef %0) #2 %4 = add nsw i32 %3, %2 ret i32 %4 } declare i32 @fdt_off_dt_strings(ptr noundef) local_unnamed_addr #1 declare i32 @fdt_size_dt_strings(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)"}
linux_scripts_dtc_libfdt_extr_fdt_rw.c_fdt_data_size_
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-common.c_xlgmac_init_all_ops.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-common.c_xlgmac_init_all_ops.c" target datalayout = "e-m:e-p270:32:32-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.xlgmac_pdata = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @xlgmac_init_all_ops], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xlgmac_init_all_ops(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.xlgmac_pdata, ptr %0, i64 0, i32 1 %3 = tail call i32 @xlgmac_init_desc_ops(ptr noundef nonnull %2) #2 %4 = tail call i32 @xlgmac_init_hw_ops(ptr noundef %0) #2 ret void } declare i32 @xlgmac_init_desc_ops(ptr noundef) local_unnamed_addr #1 declare i32 @xlgmac_init_hw_ops(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-common.c_xlgmac_init_all_ops.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/synopsys/extr_dwc-xlgmac-common.c_xlgmac_init_all_ops.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 @xlgmac_init_all_ops], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xlgmac_init_all_ops(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 4 %3 = tail call i32 @xlgmac_init_desc_ops(ptr noundef nonnull %2) #2 %4 = tail call i32 @xlgmac_init_hw_ops(ptr noundef %0) #2 ret void } declare i32 @xlgmac_init_desc_ops(ptr noundef) local_unnamed_addr #1 declare i32 @xlgmac_init_hw_ops(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_ethernet_synopsys_extr_dwc-xlgmac-common.c_xlgmac_init_all_ops
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5315_spi.c_ar5315_spi_attach.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5315_spi.c_ar5315_spi_attach.c" target datalayout = "e-m:e-p270:32:32-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.ar5315_spi_softc = type { i32, i32 } @SYS_RES_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Could not map memory\0A\00", align 1 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"spibus\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ar5315_spi_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ar5315_spi_attach(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @device_get_softc(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds %struct.ar5315_spi_softc, ptr %3, i64 0, i32 1 store i32 %0, ptr %4, align 4, !tbaa !5 store i32 0, ptr %2, align 4, !tbaa !10 %5 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !10 %6 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !10 %7 = call i32 @bus_alloc_resource_any(i32 noundef %0, i32 noundef %5, ptr noundef nonnull %2, i32 noundef %6) #3 store i32 %7, ptr %3, align 4, !tbaa !11 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #3 %11 = load i32, ptr @ENXIO, align 4, !tbaa !10 br label %16 12: ; preds = %1 %13 = call i32 @device_add_child(i32 noundef %0, ptr noundef nonnull @.str.1, i32 noundef -1) #3 %14 = call i32 @ar5315_spi_attach_sysctl(i32 noundef %0) #3 %15 = call i32 @bus_generic_attach(i32 noundef %0) #3 br label %16 16: ; preds = %12, %9 %17 = phi i32 [ %15, %12 ], [ %11, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2 declare i32 @bus_alloc_resource_any(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ar5315_spi_attach_sysctl(i32 noundef) local_unnamed_addr #2 declare i32 @bus_generic_attach(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 4} !6 = !{!"ar5315_spi_softc", !7, i64 0, !7, i64 4} !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 0}
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5315_spi.c_ar5315_spi_attach.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/ar531x/extr_ar5315_spi.c_ar5315_spi_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SYS_RES_MEMORY = common local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Could not map memory\0A\00", align 1 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"spibus\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ar5315_spi_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ar5315_spi_attach(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = tail call ptr @device_get_softc(i32 noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 %4 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %0, ptr %4, align 4, !tbaa !6 store i32 0, ptr %2, align 4, !tbaa !11 %5 = load i32, ptr @SYS_RES_MEMORY, align 4, !tbaa !11 %6 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !11 %7 = call i32 @bus_alloc_resource_any(i32 noundef %0, i32 noundef %5, ptr noundef nonnull %2, i32 noundef %6) #3 store i32 %7, ptr %3, align 4, !tbaa !12 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %12 9: ; preds = %1 %10 = call i32 @device_printf(i32 noundef %0, ptr noundef nonnull @.str) #3 %11 = load i32, ptr @ENXIO, align 4, !tbaa !11 br label %16 12: ; preds = %1 %13 = call i32 @device_add_child(i32 noundef %0, ptr noundef nonnull @.str.1, i32 noundef -1) #3 %14 = call i32 @ar5315_spi_attach_sysctl(i32 noundef %0) #3 %15 = call i32 @bus_generic_attach(i32 noundef %0) #3 br label %16 16: ; preds = %12, %9 %17 = phi i32 [ %15, %12 ], [ %11, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #2 declare i32 @bus_alloc_resource_any(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @device_add_child(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ar5315_spi_attach_sysctl(i32 noundef) local_unnamed_addr #2 declare i32 @bus_generic_attach(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 4} !7 = !{!"ar5315_spi_softc", !8, i64 0, !8, i64 4} !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 0}
freebsd_sys_mips_atheros_ar531x_extr_ar5315_spi.c_ar5315_spi_attach
; ModuleID = 'AnghaBench/freebsd/sys/dev/terasic/mtl/extr_terasic_mtl_text.c_terasic_mtl_text_write.c' source_filename = "AnghaBench/freebsd/sys/dev/terasic/mtl/extr_terasic_mtl_text.c_terasic_mtl_text_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uio = type { i32, i32 } @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @terasic_mtl_text_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @terasic_mtl_text_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr %1, align 4, !tbaa !5 %6 = and i32 %5, -2147483647 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = getelementptr inbounds %struct.uio, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !10 %11 = and i32 %10, 1 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %8, %3 %14 = load i32, ptr @ENODEV, align 4, !tbaa !11 br label %39 15: ; preds = %8 %16 = load ptr, ptr %0, align 8, !tbaa !12 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @rman_get_size(i32 noundef %17) #3 %19 = load i32, ptr %9, align 4, !tbaa !10 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %39 21: ; preds = %15 %22 = sext i32 %18 to i64 br label %23 23: ; preds = %21, %33 %24 = load i32, ptr %1, align 4, !tbaa !5 %25 = sext i32 %24 to i64 %26 = add nsw i64 %25, 4 %27 = icmp ugt i64 %26, %22 br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load i32, ptr @ENODEV, align 4, !tbaa !11 br label %39 30: ; preds = %23 %31 = call i32 @uiomove(ptr noundef nonnull %4, i32 noundef 4, ptr noundef nonnull %1) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %16, align 4, !tbaa !15 %35 = load i32, ptr %4, align 4, !tbaa !11 %36 = call i32 @bus_write_2(i32 noundef %34, i32 noundef %24, i32 noundef %35) #3 %37 = load i32, ptr %9, align 4, !tbaa !10 %38 = icmp sgt i32 %37, 0 br i1 %38, label %23, label %39, !llvm.loop !17 39: ; preds = %30, %33, %15, %28, %13 %40 = phi i32 [ %14, %13 ], [ %29, %28 ], [ 0, %15 ], [ %31, %30 ], [ 0, %33 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rman_get_size(i32 noundef) local_unnamed_addr #2 declare i32 @uiomove(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bus_write_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"uio", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"cdev", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"terasic_mtl_softc", !7, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/terasic/mtl/extr_terasic_mtl_text.c_terasic_mtl_text_write.c' source_filename = "AnghaBench/freebsd/sys/dev/terasic/mtl/extr_terasic_mtl_text.c_terasic_mtl_text_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @terasic_mtl_text_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @terasic_mtl_text_write(ptr nocapture noundef readonly %0, ptr noundef %1, i32 %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = load i32, ptr %1, align 4, !tbaa !6 %6 = and i32 %5, -2147483647 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = and i32 %10, 1 %12 = icmp eq i32 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %8, %3 %14 = load i32, ptr @ENODEV, align 4, !tbaa !12 br label %39 15: ; preds = %8 %16 = load ptr, ptr %0, align 8, !tbaa !13 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = tail call i32 @rman_get_size(i32 noundef %17) #3 %19 = load i32, ptr %9, align 4, !tbaa !11 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %39 21: ; preds = %15 %22 = sext i32 %18 to i64 br label %23 23: ; preds = %21, %33 %24 = load i32, ptr %1, align 4, !tbaa !6 %25 = sext i32 %24 to i64 %26 = add nsw i64 %25, 4 %27 = icmp ugt i64 %26, %22 br i1 %27, label %28, label %30 28: ; preds = %23 %29 = load i32, ptr @ENODEV, align 4, !tbaa !12 br label %39 30: ; preds = %23 %31 = call i32 @uiomove(ptr noundef nonnull %4, i32 noundef 4, ptr noundef nonnull %1) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %39 33: ; preds = %30 %34 = load i32, ptr %16, align 4, !tbaa !16 %35 = load i32, ptr %4, align 4, !tbaa !12 %36 = call i32 @bus_write_2(i32 noundef %34, i32 noundef %24, i32 noundef %35) #3 %37 = load i32, ptr %9, align 4, !tbaa !11 %38 = icmp sgt i32 %37, 0 br i1 %38, label %23, label %39, !llvm.loop !18 39: ; preds = %30, %33, %15, %28, %13 %40 = phi i32 [ %14, %13 ], [ %29, %28 ], [ 0, %15 ], [ %31, %30 ], [ 0, %33 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @rman_get_size(i32 noundef) local_unnamed_addr #2 declare i32 @uiomove(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @bus_write_2(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"uio", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"cdev", !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"terasic_mtl_softc", !8, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
freebsd_sys_dev_terasic_mtl_extr_terasic_mtl_text.c_terasic_mtl_text_write
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_usb.c_drm_usb_get_name.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_usb.c_drm_usb_get_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"USB\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @drm_usb_get_name], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef nonnull ptr @drm_usb_get_name(ptr nocapture readnone %0) #0 { ret ptr @.str } 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/gpu/drm/extr_drm_usb.c_drm_usb_get_name.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/extr_drm_usb.c_drm_usb_get_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"USB\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @drm_usb_get_name], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef nonnull ptr @drm_usb_get_name(ptr nocapture readnone %0) #0 { ret ptr @.str } 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_gpu_drm_extr_drm_usb.c_drm_usb_get_name
; ModuleID = 'AnghaBench/postgres/src/timezone/extr_zic.c_oadd.c' source_filename = "AnghaBench/postgres/src/timezone/extr_zic.c_oadd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ZIC_MIN = dso_local local_unnamed_addr global i64 0, align 8 @ZIC_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @oadd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @oadd(i64 noundef %0, i64 noundef %1) #0 { %3 = icmp slt i64 %0, 0 br i1 %3, label %4, label %8 4: ; preds = %2 %5 = load i64, ptr @ZIC_MIN, align 8, !tbaa !5 %6 = sub nsw i64 %5, %0 %7 = icmp sgt i64 %6, %1 br i1 %7, label %12, label %14 8: ; preds = %2 %9 = load i64, ptr @ZIC_MAX, align 8, !tbaa !5 %10 = sub nsw i64 %9, %0 %11 = icmp slt i64 %10, %1 br i1 %11, label %12, label %14 12: ; preds = %8, %4 %13 = tail call i32 (...) @time_overflow() #2 br label %14 14: ; preds = %12, %8, %4 %15 = add nsw i64 %1, %0 ret i64 %15 } declare i32 @time_overflow(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/postgres/src/timezone/extr_zic.c_oadd.c' source_filename = "AnghaBench/postgres/src/timezone/extr_zic.c_oadd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZIC_MIN = common local_unnamed_addr global i64 0, align 8 @ZIC_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @oadd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @oadd(i64 noundef %0, i64 noundef %1) #0 { %3 = icmp slt i64 %0, 0 br i1 %3, label %4, label %8 4: ; preds = %2 %5 = load i64, ptr @ZIC_MIN, align 8, !tbaa !6 %6 = sub nsw i64 %5, %0 %7 = icmp sgt i64 %6, %1 br i1 %7, label %12, label %14 8: ; preds = %2 %9 = load i64, ptr @ZIC_MAX, align 8, !tbaa !6 %10 = sub nsw i64 %9, %0 %11 = icmp slt i64 %10, %1 br i1 %11, label %12, label %14 12: ; preds = %8, %4 %13 = tail call i32 @time_overflow() #2 br label %14 14: ; preds = %12, %8, %4 %15 = add nsw i64 %1, %0 ret i64 %15 } declare i32 @time_overflow(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
postgres_src_timezone_extr_zic.c_oadd
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_get_rx_desc_swdec.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_get_rx_desc_swdec.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_rx_desc_swdec], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @get_rx_desc_swdec(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @BIT(i32 noundef 27) #2 %4 = tail call i32 @le32_get_bits(i32 noundef %2, i32 noundef %3) #2 ret i32 %4 } declare i32 @le32_get_bits(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_get_rx_desc_swdec.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_trx.h_get_rx_desc_swdec.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_rx_desc_swdec], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @get_rx_desc_swdec(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @BIT(i32 noundef 27) #2 %4 = tail call i32 @le32_get_bits(i32 noundef %2, i32 noundef %3) #2 ret i32 %4 } declare i32 @le32_get_bits(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BIT(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723ae_extr_trx.h_get_rx_desc_swdec
; ModuleID = 'AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.h_sysreg_hidden_from_user.c' source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.h_sysreg_hidden_from_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" @REG_HIDDEN_USER = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sysreg_hidden_from_user], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @sysreg_hidden_from_user(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i64 @likely(i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !5 %10 = tail call i32 %9(ptr noundef %0, ptr noundef nonnull %1) #2 %11 = load i32, ptr @REG_HIDDEN_USER, align 4, !tbaa !10 %12 = and i32 %11, %10 br label %13 13: ; preds = %2, %8 %14 = phi i32 [ %12, %8 ], [ 0, %2 ] ret i32 %14 } declare i64 @likely(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 = !{!"sys_reg_desc", !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/linux/arch/arm64/kvm/extr_sys_regs.h_sysreg_hidden_from_user.c' source_filename = "AnghaBench/linux/arch/arm64/kvm/extr_sys_regs.h_sysreg_hidden_from_user.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_HIDDEN_USER = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sysreg_hidden_from_user], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @sysreg_hidden_from_user(ptr noundef %0, ptr noundef %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = icmp eq ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i64 @likely(i32 noundef %5) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !6 %10 = tail call i32 %9(ptr noundef %0, ptr noundef nonnull %1) #2 %11 = load i32, ptr @REG_HIDDEN_USER, align 4, !tbaa !11 %12 = and i32 %11, %10 br label %13 13: ; preds = %2, %8 %14 = phi i32 [ %12, %8 ], [ 0, %2 ] ret i32 %14 } declare i64 @likely(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 = !{!"sys_reg_desc", !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}
linux_arch_arm64_kvm_extr_sys_regs.h_sysreg_hidden_from_user
; ModuleID = 'AnghaBench/zstd/zlibWrapper/examples/extr_zwrapbench.c_BMK_setNotificationLevel.c' source_filename = "AnghaBench/zstd/zlibWrapper/examples/extr_zwrapbench.c_BMK_setNotificationLevel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g_displayLevel = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @BMK_setNotificationLevel(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @g_displayLevel, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/zstd/zlibWrapper/examples/extr_zwrapbench.c_BMK_setNotificationLevel.c' source_filename = "AnghaBench/zstd/zlibWrapper/examples/extr_zwrapbench.c_BMK_setNotificationLevel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_displayLevel = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @BMK_setNotificationLevel(i32 noundef %0) local_unnamed_addr #0 { store i32 %0, ptr @g_displayLevel, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
zstd_zlibWrapper_examples_extr_zwrapbench.c_BMK_setNotificationLevel
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_encrypt_internal.c' source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_encrypt_internal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.debug_expect = type { i64 } @VARHDRSZ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @encrypt_internal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @encrypt_internal(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.debug_expect, align 8 %9 = load i32, ptr @VARHDRSZ, align 4, !tbaa !5 %10 = zext i32 %9 to i64 %11 = alloca i32, i64 %10, align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %12 = call i32 @init_work(ptr noundef nonnull %7, i32 noundef %1, ptr noundef %4, ptr noundef nonnull %8) #3 %13 = icmp eq i32 %1, 0 br i1 %13, label %22, label %14 14: ; preds = %5 %15 = load ptr, ptr %7, align 8, !tbaa !9 %16 = call i64 @pgp_get_unicode_mode(ptr noundef %15) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = call ptr @convert_to_utf8(ptr noundef %2) #3 %20 = icmp eq ptr %19, %2 %21 = select i1 %20, ptr null, ptr %19 br label %22 22: ; preds = %18, %14, %5 %23 = phi ptr [ null, %14 ], [ null, %5 ], [ %21, %18 ] %24 = phi ptr [ %2, %14 ], [ %2, %5 ], [ %19, %18 ] %25 = call ptr @create_mbuf_from_vardata(ptr noundef %24) #3 %26 = call i64 @VARSIZE_ANY(ptr noundef %24) #3 %27 = add nsw i64 %26, 128 %28 = call ptr @mbuf_create(i64 noundef %27) #3 %29 = load i32, ptr @VARHDRSZ, align 4, !tbaa !5 %30 = call i32 @mbuf_append(ptr noundef %28, ptr noundef nonnull %11, i32 noundef %29) #3 %31 = icmp eq i32 %0, 0 br i1 %31, label %37, label %32 32: ; preds = %22 %33 = call ptr @create_mbuf_from_vardata(ptr noundef %3) #3 %34 = load ptr, ptr %7, align 8, !tbaa !9 %35 = call i32 @pgp_set_pubkey(ptr noundef %34, ptr noundef %33, ptr noundef null, i32 noundef 0, i32 noundef 0) #3 %36 = call i32 @mbuf_free(ptr noundef %33) #3 br label %43 37: ; preds = %22 %38 = load ptr, ptr %7, align 8, !tbaa !9 %39 = call i64 @VARDATA_ANY(ptr noundef %3) #3 %40 = inttoptr i64 %39 to ptr %41 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef %3) #3 %42 = call i32 @pgp_set_symkey(ptr noundef %38, ptr noundef %40, i32 noundef %41) #3 br label %43 43: ; preds = %37, %32 %44 = phi i32 [ %35, %32 ], [ %42, %37 ] %45 = icmp sgt i32 %44, -1 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load ptr, ptr %7, align 8, !tbaa !9 %48 = call i32 @pgp_encrypt(ptr noundef %47, ptr noundef %25, ptr noundef %28) #3 %49 = icmp eq i32 %48, 0 br i1 %49, label %66, label %50 50: ; preds = %43, %46 %51 = phi i32 [ %48, %46 ], [ %44, %43 ] %52 = load i64, ptr %8, align 8, !tbaa !11 %53 = icmp eq i64 %52, 0 br i1 %53, label %56, label %54 54: ; preds = %50 %55 = call i32 @px_set_debug_handler(ptr noundef null) #3 br label %56 56: ; preds = %54, %50 %57 = icmp eq ptr %23, null br i1 %57, label %60, label %58 58: ; preds = %56 %59 = call i32 @clear_and_pfree(ptr noundef nonnull %23) #3 br label %60 60: ; preds = %58, %56 %61 = load ptr, ptr %7, align 8, !tbaa !9 %62 = call i32 @pgp_free(ptr noundef %61) #3 %63 = call i32 @mbuf_free(ptr noundef %25) #3 %64 = call i32 @mbuf_free(ptr noundef %28) #3 %65 = call i32 @px_THROW_ERROR(i32 noundef %51) #3 br label %66 66: ; preds = %60, %46 %67 = call i32 @mbuf_steal_data(ptr noundef %28, ptr noundef nonnull %6) #3 %68 = load ptr, ptr %6, align 8, !tbaa !9 %69 = call i32 @SET_VARSIZE(ptr noundef %68, i32 noundef %67) #3 %70 = icmp eq ptr %23, null br i1 %70, label %73, label %71 71: ; preds = %66 %72 = call i32 @clear_and_pfree(ptr noundef nonnull %23) #3 br label %73 73: ; preds = %71, %66 %74 = load ptr, ptr %7, align 8, !tbaa !9 %75 = call i32 @pgp_free(ptr noundef %74) #3 %76 = call i32 @mbuf_free(ptr noundef %25) #3 %77 = call i32 @mbuf_free(ptr noundef %28) #3 %78 = call i32 @px_set_debug_handler(ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @init_work(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @pgp_get_unicode_mode(ptr noundef) local_unnamed_addr #2 declare ptr @convert_to_utf8(ptr noundef) local_unnamed_addr #2 declare ptr @create_mbuf_from_vardata(ptr noundef) local_unnamed_addr #2 declare ptr @mbuf_create(i64 noundef) local_unnamed_addr #2 declare i64 @VARSIZE_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @mbuf_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pgp_set_pubkey(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_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 @pgp_set_symkey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @VARDATA_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @VARSIZE_ANY_EXHDR(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_encrypt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @px_set_debug_handler(ptr noundef) local_unnamed_addr #2 declare i32 @clear_and_pfree(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_free(ptr noundef) local_unnamed_addr #2 declare i32 @px_THROW_ERROR(i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_steal_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SET_VARSIZE(ptr 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 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"debug_expect", !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_encrypt_internal.c' source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_encrypt_internal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.debug_expect = type { i64 } @VARHDRSZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @encrypt_internal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @encrypt_internal(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca %struct.debug_expect, align 8 %9 = load i32, ptr @VARHDRSZ, align 4, !tbaa !6 %10 = zext i32 %9 to i64 %11 = alloca i32, i64 %10, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %12 = call i32 @init_work(ptr noundef nonnull %7, i32 noundef %1, ptr noundef %4, ptr noundef nonnull %8) #3 %13 = icmp eq i32 %1, 0 br i1 %13, label %22, label %14 14: ; preds = %5 %15 = load ptr, ptr %7, align 8, !tbaa !10 %16 = call i64 @pgp_get_unicode_mode(ptr noundef %15) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = call ptr @convert_to_utf8(ptr noundef %2) #3 %20 = icmp eq ptr %19, %2 %21 = select i1 %20, ptr null, ptr %19 br label %22 22: ; preds = %18, %14, %5 %23 = phi ptr [ null, %14 ], [ null, %5 ], [ %21, %18 ] %24 = phi ptr [ %2, %14 ], [ %2, %5 ], [ %19, %18 ] %25 = call ptr @create_mbuf_from_vardata(ptr noundef %24) #3 %26 = call i64 @VARSIZE_ANY(ptr noundef %24) #3 %27 = add nsw i64 %26, 128 %28 = call ptr @mbuf_create(i64 noundef %27) #3 %29 = load i32, ptr @VARHDRSZ, align 4, !tbaa !6 %30 = call i32 @mbuf_append(ptr noundef %28, ptr noundef nonnull %11, i32 noundef %29) #3 %31 = icmp eq i32 %0, 0 br i1 %31, label %37, label %32 32: ; preds = %22 %33 = call ptr @create_mbuf_from_vardata(ptr noundef %3) #3 %34 = load ptr, ptr %7, align 8, !tbaa !10 %35 = call i32 @pgp_set_pubkey(ptr noundef %34, ptr noundef %33, ptr noundef null, i32 noundef 0, i32 noundef 0) #3 %36 = call i32 @mbuf_free(ptr noundef %33) #3 br label %43 37: ; preds = %22 %38 = load ptr, ptr %7, align 8, !tbaa !10 %39 = call i64 @VARDATA_ANY(ptr noundef %3) #3 %40 = inttoptr i64 %39 to ptr %41 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef %3) #3 %42 = call i32 @pgp_set_symkey(ptr noundef %38, ptr noundef %40, i32 noundef %41) #3 br label %43 43: ; preds = %37, %32 %44 = phi i32 [ %35, %32 ], [ %42, %37 ] %45 = icmp sgt i32 %44, -1 br i1 %45, label %46, label %50 46: ; preds = %43 %47 = load ptr, ptr %7, align 8, !tbaa !10 %48 = call i32 @pgp_encrypt(ptr noundef %47, ptr noundef %25, ptr noundef %28) #3 %49 = icmp eq i32 %48, 0 br i1 %49, label %66, label %50 50: ; preds = %43, %46 %51 = phi i32 [ %48, %46 ], [ %44, %43 ] %52 = load i64, ptr %8, align 8, !tbaa !12 %53 = icmp eq i64 %52, 0 br i1 %53, label %56, label %54 54: ; preds = %50 %55 = call i32 @px_set_debug_handler(ptr noundef null) #3 br label %56 56: ; preds = %54, %50 %57 = icmp eq ptr %23, null br i1 %57, label %60, label %58 58: ; preds = %56 %59 = call i32 @clear_and_pfree(ptr noundef nonnull %23) #3 br label %60 60: ; preds = %58, %56 %61 = load ptr, ptr %7, align 8, !tbaa !10 %62 = call i32 @pgp_free(ptr noundef %61) #3 %63 = call i32 @mbuf_free(ptr noundef %25) #3 %64 = call i32 @mbuf_free(ptr noundef %28) #3 %65 = call i32 @px_THROW_ERROR(i32 noundef %51) #3 br label %66 66: ; preds = %60, %46 %67 = call i32 @mbuf_steal_data(ptr noundef %28, ptr noundef nonnull %6) #3 %68 = load ptr, ptr %6, align 8, !tbaa !10 %69 = call i32 @SET_VARSIZE(ptr noundef %68, i32 noundef %67) #3 %70 = icmp eq ptr %23, null br i1 %70, label %73, label %71 71: ; preds = %66 %72 = call i32 @clear_and_pfree(ptr noundef nonnull %23) #3 br label %73 73: ; preds = %71, %66 %74 = load ptr, ptr %7, align 8, !tbaa !10 %75 = call i32 @pgp_free(ptr noundef %74) #3 %76 = call i32 @mbuf_free(ptr noundef %25) #3 %77 = call i32 @mbuf_free(ptr noundef %28) #3 %78 = call i32 @px_set_debug_handler(ptr noundef null) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %68 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @init_work(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @pgp_get_unicode_mode(ptr noundef) local_unnamed_addr #2 declare ptr @convert_to_utf8(ptr noundef) local_unnamed_addr #2 declare ptr @create_mbuf_from_vardata(ptr noundef) local_unnamed_addr #2 declare ptr @mbuf_create(i64 noundef) local_unnamed_addr #2 declare i64 @VARSIZE_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @mbuf_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pgp_set_pubkey(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_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 @pgp_set_symkey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @VARDATA_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @VARSIZE_ANY_EXHDR(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_encrypt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @px_set_debug_handler(ptr noundef) local_unnamed_addr #2 declare i32 @clear_and_pfree(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_free(ptr noundef) local_unnamed_addr #2 declare i32 @px_THROW_ERROR(i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_steal_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SET_VARSIZE(ptr 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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"debug_expect", !14, i64 0} !14 = !{!"long", !8, i64 0}
postgres_contrib_pgcrypto_extr_pgp-pgsql.c_encrypt_internal
; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_update.c_rcu_unexpedite_gp.c' source_filename = "AnghaBench/linux/kernel/rcu/extr_update.c_rcu_unexpedite_gp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @rcu_expedited_nesting = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @rcu_unexpedite_gp() local_unnamed_addr #0 { %1 = tail call i32 @atomic_dec(ptr noundef nonnull @rcu_expedited_nesting) #2 ret void } declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/kernel/rcu/extr_update.c_rcu_unexpedite_gp.c' source_filename = "AnghaBench/linux/kernel/rcu/extr_update.c_rcu_unexpedite_gp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @rcu_expedited_nesting = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @rcu_unexpedite_gp() local_unnamed_addr #0 { %1 = tail call i32 @atomic_dec(ptr noundef nonnull @rcu_expedited_nesting) #2 ret void } declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_kernel_rcu_extr_update.c_rcu_unexpedite_gp
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_handle_soft_flr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_handle_soft_flr.c" target datalayout = "e-m:e-p270:32:32-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.qlcnic_adapter = type { i32, ptr } %struct.qlcnic_vf_info = type { i32, ptr, i32 } @QLC_BC_VF_FLR = dso_local local_unnamed_addr global i32 0, align 4 @QLC_BC_VF_STATE = dso_local local_unnamed_addr global i32 0, align 4 @QLC_BC_VF_SOFT_FLR = dso_local local_unnamed_addr global i32 0, align 4 @qlcnic_sriov_pf_process_flr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Software FLR for PCI func %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qlcnic_sriov_handle_soft_flr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qlcnic_sriov_handle_soft_flr(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds %struct.qlcnic_adapter, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load i32, ptr @QLC_BC_VF_FLR, align 4, !tbaa !13 %8 = getelementptr inbounds %struct.qlcnic_vf_info, ptr %2, i64 0, i32 2 %9 = tail call i32 @set_bit(i32 noundef %7, ptr noundef nonnull %8) #2 %10 = load i32, ptr @QLC_BC_VF_STATE, align 4, !tbaa !13 %11 = tail call i32 @clear_bit(i32 noundef %10, ptr noundef nonnull %8) #2 %12 = load i32, ptr @QLC_BC_VF_SOFT_FLR, align 4, !tbaa !13 %13 = tail call i32 @set_bit(i32 noundef %12, ptr noundef nonnull %8) #2 %14 = getelementptr inbounds %struct.qlcnic_vf_info, ptr %2, i64 0, i32 1 store ptr %1, ptr %14, align 8, !tbaa !14 %15 = load i32, ptr @qlcnic_sriov_pf_process_flr, align 4, !tbaa !13 %16 = tail call i32 @qlcnic_sriov_schedule_flr(ptr noundef %6, ptr noundef %2, i32 noundef %15) #2 %17 = load i32, ptr %0, align 8, !tbaa !16 %18 = load i32, ptr %2, align 8, !tbaa !17 %19 = tail call i32 @netdev_info(i32 noundef %17, ptr noundef nonnull @.str, i32 noundef %18) #2 ret void } declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qlcnic_sriov_schedule_flr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netdev_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"qlcnic_adapter", !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_2__", !10, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !10, i64 8} !15 = !{!"qlcnic_vf_info", !7, i64 0, !10, i64 8, !7, i64 16} !16 = !{!6, !7, i64 0} !17 = !{!15, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_handle_soft_flr.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qlcnic/extr_qlcnic_sriov_pf.c_qlcnic_sriov_handle_soft_flr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @QLC_BC_VF_FLR = common local_unnamed_addr global i32 0, align 4 @QLC_BC_VF_STATE = common local_unnamed_addr global i32 0, align 4 @QLC_BC_VF_SOFT_FLR = common local_unnamed_addr global i32 0, align 4 @qlcnic_sriov_pf_process_flr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Software FLR for PCI func %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qlcnic_sriov_handle_soft_flr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qlcnic_sriov_handle_soft_flr(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr @QLC_BC_VF_FLR, align 4, !tbaa !14 %8 = getelementptr inbounds i8, ptr %2, i64 16 %9 = tail call i32 @set_bit(i32 noundef %7, ptr noundef nonnull %8) #2 %10 = load i32, ptr @QLC_BC_VF_STATE, align 4, !tbaa !14 %11 = tail call i32 @clear_bit(i32 noundef %10, ptr noundef nonnull %8) #2 %12 = load i32, ptr @QLC_BC_VF_SOFT_FLR, align 4, !tbaa !14 %13 = tail call i32 @set_bit(i32 noundef %12, ptr noundef nonnull %8) #2 %14 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %1, ptr %14, align 8, !tbaa !15 %15 = load i32, ptr @qlcnic_sriov_pf_process_flr, align 4, !tbaa !14 %16 = tail call i32 @qlcnic_sriov_schedule_flr(ptr noundef %6, ptr noundef %2, i32 noundef %15) #2 %17 = load i32, ptr %0, align 8, !tbaa !17 %18 = load i32, ptr %2, align 8, !tbaa !18 %19 = tail call i32 @netdev_info(i32 noundef %17, ptr noundef nonnull @.str, i32 noundef %18) #2 ret void } declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qlcnic_sriov_schedule_flr(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @netdev_info(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"qlcnic_adapter", !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_2__", !11, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"qlcnic_vf_info", !8, i64 0, !11, i64 8, !8, i64 16} !17 = !{!7, !8, i64 0} !18 = !{!16, !8, i64 0}
linux_drivers_net_ethernet_qlogic_qlcnic_extr_qlcnic_sriov_pf.c_qlcnic_sriov_handle_soft_flr
; ModuleID = 'AnghaBench/fastsocket/kernel/samples/kobject/extr_kset-example.c_destroy_foo_obj.c' source_filename = "AnghaBench/fastsocket/kernel/samples/kobject/extr_kset-example.c_destroy_foo_obj.c" target datalayout = "e-m:e-p270:32:32-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 @destroy_foo_obj], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @destroy_foo_obj(ptr noundef %0) #0 { %2 = tail call i32 @kobject_put(ptr noundef %0) #2 ret void } declare i32 @kobject_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/samples/kobject/extr_kset-example.c_destroy_foo_obj.c' source_filename = "AnghaBench/fastsocket/kernel/samples/kobject/extr_kset-example.c_destroy_foo_obj.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 @destroy_foo_obj], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @destroy_foo_obj(ptr noundef %0) #0 { %2 = tail call i32 @kobject_put(ptr noundef %0) #2 ret void } declare i32 @kobject_put(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_samples_kobject_extr_kset-example.c_destroy_foo_obj
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_stream/salsa2012/extr_stream_salsa2012.c_crypto_stream_salsa2012_keybytes.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_stream/salsa2012/extr_stream_salsa2012.c_crypto_stream_salsa2012_keybytes.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crypto_stream_salsa2012_KEYBYTES = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local i64 @crypto_stream_salsa2012_keybytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_stream_salsa2012_KEYBYTES, align 8, !tbaa !5 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libsodium/src/libsodium/crypto_stream/salsa2012/extr_stream_salsa2012.c_crypto_stream_salsa2012_keybytes.c' source_filename = "AnghaBench/libsodium/src/libsodium/crypto_stream/salsa2012/extr_stream_salsa2012.c_crypto_stream_salsa2012_keybytes.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crypto_stream_salsa2012_KEYBYTES = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define i64 @crypto_stream_salsa2012_keybytes() local_unnamed_addr #0 { %1 = load i64, ptr @crypto_stream_salsa2012_KEYBYTES, align 8, !tbaa !6 ret i64 %1 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libsodium_src_libsodium_crypto_stream_salsa2012_extr_stream_salsa2012.c_crypto_stream_salsa2012_keybytes
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_serdes.c_mv88e6390x_serdes_get_lane.c' source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_serdes.c_mv88e6390x_serdes_get_lane.c" target datalayout = "e-m:e-p270:32:32-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 } @MV88E6XXX_PORT_STS_CMODE_1000BASEX = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_SGMII = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_2500BASEX = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE1 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_RXAUI = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE2 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE3 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE1 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE2 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE3 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_XAUI = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE0 = dso_local local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE0 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @mv88e6390x_serdes_get_lane(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 10 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 9 %10 = load i32, ptr %9, align 4, !tbaa !10 switch i32 %1, label %135 [ i32 2, label %11 i32 3, label %24 i32 4, label %40 i32 5, label %56 i32 6, label %69 i32 7, label %85 i32 9, label %101 i32 10, label %118 ] 11: ; preds = %2 %12 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %13 = icmp eq i32 %10, %12 %14 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %15 = icmp eq i32 %10, %14 %16 = select i1 %13, i1 true, i1 %15 %17 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %18 = icmp eq i32 %10, %17 %19 = select i1 %16, i1 true, i1 %18 %20 = icmp eq i32 %6, %12 %21 = select i1 %19, i1 %20, i1 false %22 = load i32, ptr @MV88E6390_PORT9_LANE1, align 4 %23 = select i1 %21, i32 %22, i32 0 br label %135 24: ; preds = %2 %25 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %26 = icmp eq i32 %10, %25 %27 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %28 = icmp eq i32 %10, %27 %29 = select i1 %26, i1 true, i1 %28 %30 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %31 = icmp eq i32 %10, %30 %32 = select i1 %29, i1 true, i1 %31 %33 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %34 = icmp eq i32 %10, %33 %35 = select i1 %32, i1 true, i1 %34 %36 = icmp eq i32 %6, %25 %37 = select i1 %35, i1 %36, i1 false %38 = load i32, ptr @MV88E6390_PORT9_LANE2, align 4 %39 = select i1 %37, i32 %38, i32 0 br label %135 40: ; preds = %2 %41 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %42 = icmp eq i32 %10, %41 %43 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %44 = icmp eq i32 %10, %43 %45 = select i1 %42, i1 true, i1 %44 %46 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %47 = icmp eq i32 %10, %46 %48 = select i1 %45, i1 true, i1 %47 %49 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %50 = icmp eq i32 %10, %49 %51 = select i1 %48, i1 true, i1 %50 %52 = icmp eq i32 %6, %41 %53 = select i1 %51, i1 %52, i1 false %54 = load i32, ptr @MV88E6390_PORT9_LANE3, align 4 %55 = select i1 %53, i32 %54, i32 0 br label %135 56: ; preds = %2 %57 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %58 = icmp eq i32 %8, %57 %59 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %60 = icmp eq i32 %8, %59 %61 = select i1 %58, i1 true, i1 %60 %62 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %63 = icmp eq i32 %8, %62 %64 = select i1 %61, i1 true, i1 %63 %65 = icmp eq i32 %6, %57 %66 = select i1 %64, i1 %65, i1 false %67 = load i32, ptr @MV88E6390_PORT10_LANE1, align 4 %68 = select i1 %66, i32 %67, i32 0 br label %135 69: ; preds = %2 %70 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %71 = icmp eq i32 %8, %70 %72 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %73 = icmp eq i32 %8, %72 %74 = select i1 %71, i1 true, i1 %73 %75 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %76 = icmp eq i32 %8, %75 %77 = select i1 %74, i1 true, i1 %76 %78 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %79 = icmp eq i32 %8, %78 %80 = select i1 %77, i1 true, i1 %79 %81 = icmp eq i32 %6, %70 %82 = select i1 %80, i1 %81, i1 false %83 = load i32, ptr @MV88E6390_PORT10_LANE2, align 4 %84 = select i1 %82, i32 %83, i32 0 br label %135 85: ; preds = %2 %86 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %87 = icmp eq i32 %8, %86 %88 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %89 = icmp eq i32 %8, %88 %90 = select i1 %87, i1 true, i1 %89 %91 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %92 = icmp eq i32 %8, %91 %93 = select i1 %90, i1 true, i1 %92 %94 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %95 = icmp eq i32 %8, %94 %96 = select i1 %93, i1 true, i1 %95 %97 = icmp eq i32 %6, %86 %98 = select i1 %96, i1 %97, i1 false %99 = load i32, ptr @MV88E6390_PORT10_LANE3, align 4 %100 = select i1 %98, i32 %99, i32 0 br label %135 101: ; preds = %2 %102 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4, !tbaa !13 %103 = icmp eq i32 %10, %102 %104 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %105 = icmp eq i32 %10, %104 %106 = select i1 %103, i1 true, i1 %105 %107 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %108 = icmp eq i32 %10, %107 %109 = select i1 %106, i1 true, i1 %108 %110 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_XAUI, align 4 %111 = icmp eq i32 %10, %110 %112 = select i1 %109, i1 true, i1 %111 %113 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %114 = icmp eq i32 %10, %113 %115 = select i1 %112, i1 true, i1 %114 %116 = load i32, ptr @MV88E6390_PORT9_LANE0, align 4 %117 = select i1 %115, i32 %116, i32 0 br label %135 118: ; preds = %2 %119 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4, !tbaa !13 %120 = icmp eq i32 %8, %119 %121 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %122 = icmp eq i32 %8, %121 %123 = select i1 %120, i1 true, i1 %122 %124 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %125 = icmp eq i32 %8, %124 %126 = select i1 %123, i1 true, i1 %125 %127 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_XAUI, align 4 %128 = icmp eq i32 %8, %127 %129 = select i1 %126, i1 true, i1 %128 %130 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %131 = icmp eq i32 %8, %130 %132 = select i1 %129, i1 true, i1 %131 %133 = load i32, ptr @MV88E6390_PORT10_LANE0, align 4 %134 = select i1 %132, i32 %133, i32 0 br label %135 135: ; preds = %118, %101, %85, %69, %56, %40, %24, %11, %2 %136 = phi i32 [ 0, %2 ], [ %23, %11 ], [ %39, %24 ], [ %55, %40 ], [ %68, %56 ], [ %84, %69 ], [ %100, %85 ], [ %117, %101 ], [ %134, %118 ] ret i32 %136 } 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 = !{!"mv88e6xxx_chip", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_serdes.c_mv88e6390x_serdes_get_lane.c' source_filename = "AnghaBench/linux/drivers/net/dsa/mv88e6xxx/extr_serdes.c_mv88e6390x_serdes_get_lane.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 } @MV88E6XXX_PORT_STS_CMODE_1000BASEX = common local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_SGMII = common local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_2500BASEX = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE1 = common local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_RXAUI = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE2 = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE3 = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE1 = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE2 = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE3 = common local_unnamed_addr global i32 0, align 4 @MV88E6XXX_PORT_STS_CMODE_XAUI = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT9_LANE0 = common local_unnamed_addr global i32 0, align 4 @MV88E6390_PORT10_LANE0 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @mv88e6390x_serdes_get_lane(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = sext i32 %1 to i64 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = getelementptr inbounds i8, ptr %3, i64 40 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %3, i64 36 %10 = load i32, ptr %9, align 4, !tbaa !11 switch i32 %1, label %135 [ i32 2, label %11 i32 3, label %24 i32 4, label %40 i32 5, label %56 i32 6, label %69 i32 7, label %85 i32 9, label %101 i32 10, label %118 ] 11: ; preds = %2 %12 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %13 = icmp eq i32 %10, %12 %14 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %15 = icmp eq i32 %10, %14 %16 = select i1 %13, i1 true, i1 %15 %17 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %18 = icmp eq i32 %10, %17 %19 = select i1 %16, i1 true, i1 %18 %20 = icmp eq i32 %6, %12 %21 = select i1 %19, i1 %20, i1 false %22 = load i32, ptr @MV88E6390_PORT9_LANE1, align 4 %23 = select i1 %21, i32 %22, i32 0 br label %135 24: ; preds = %2 %25 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %26 = icmp eq i32 %10, %25 %27 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %28 = icmp eq i32 %10, %27 %29 = select i1 %26, i1 true, i1 %28 %30 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %31 = icmp eq i32 %10, %30 %32 = select i1 %29, i1 true, i1 %31 %33 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %34 = icmp eq i32 %10, %33 %35 = select i1 %32, i1 true, i1 %34 %36 = icmp eq i32 %6, %25 %37 = select i1 %35, i1 %36, i1 false %38 = load i32, ptr @MV88E6390_PORT9_LANE2, align 4 %39 = select i1 %37, i32 %38, i32 0 br label %135 40: ; preds = %2 %41 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %42 = icmp eq i32 %10, %41 %43 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %44 = icmp eq i32 %10, %43 %45 = select i1 %42, i1 true, i1 %44 %46 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %47 = icmp eq i32 %10, %46 %48 = select i1 %45, i1 true, i1 %47 %49 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %50 = icmp eq i32 %10, %49 %51 = select i1 %48, i1 true, i1 %50 %52 = icmp eq i32 %6, %41 %53 = select i1 %51, i1 %52, i1 false %54 = load i32, ptr @MV88E6390_PORT9_LANE3, align 4 %55 = select i1 %53, i32 %54, i32 0 br label %135 56: ; preds = %2 %57 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %58 = icmp eq i32 %8, %57 %59 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %60 = icmp eq i32 %8, %59 %61 = select i1 %58, i1 true, i1 %60 %62 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %63 = icmp eq i32 %8, %62 %64 = select i1 %61, i1 true, i1 %63 %65 = icmp eq i32 %6, %57 %66 = select i1 %64, i1 %65, i1 false %67 = load i32, ptr @MV88E6390_PORT10_LANE1, align 4 %68 = select i1 %66, i32 %67, i32 0 br label %135 69: ; preds = %2 %70 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %71 = icmp eq i32 %8, %70 %72 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %73 = icmp eq i32 %8, %72 %74 = select i1 %71, i1 true, i1 %73 %75 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %76 = icmp eq i32 %8, %75 %77 = select i1 %74, i1 true, i1 %76 %78 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %79 = icmp eq i32 %8, %78 %80 = select i1 %77, i1 true, i1 %79 %81 = icmp eq i32 %6, %70 %82 = select i1 %80, i1 %81, i1 false %83 = load i32, ptr @MV88E6390_PORT10_LANE2, align 4 %84 = select i1 %82, i32 %83, i32 0 br label %135 85: ; preds = %2 %86 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4 %87 = icmp eq i32 %8, %86 %88 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %89 = icmp eq i32 %8, %88 %90 = select i1 %87, i1 true, i1 %89 %91 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %92 = icmp eq i32 %8, %91 %93 = select i1 %90, i1 true, i1 %92 %94 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %95 = icmp eq i32 %8, %94 %96 = select i1 %93, i1 true, i1 %95 %97 = icmp eq i32 %6, %86 %98 = select i1 %96, i1 %97, i1 false %99 = load i32, ptr @MV88E6390_PORT10_LANE3, align 4 %100 = select i1 %98, i32 %99, i32 0 br label %135 101: ; preds = %2 %102 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4, !tbaa !14 %103 = icmp eq i32 %10, %102 %104 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %105 = icmp eq i32 %10, %104 %106 = select i1 %103, i1 true, i1 %105 %107 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %108 = icmp eq i32 %10, %107 %109 = select i1 %106, i1 true, i1 %108 %110 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_XAUI, align 4 %111 = icmp eq i32 %10, %110 %112 = select i1 %109, i1 true, i1 %111 %113 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %114 = icmp eq i32 %10, %113 %115 = select i1 %112, i1 true, i1 %114 %116 = load i32, ptr @MV88E6390_PORT9_LANE0, align 4 %117 = select i1 %115, i32 %116, i32 0 br label %135 118: ; preds = %2 %119 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_1000BASEX, align 4, !tbaa !14 %120 = icmp eq i32 %8, %119 %121 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_SGMII, align 4 %122 = icmp eq i32 %8, %121 %123 = select i1 %120, i1 true, i1 %122 %124 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_2500BASEX, align 4 %125 = icmp eq i32 %8, %124 %126 = select i1 %123, i1 true, i1 %125 %127 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_XAUI, align 4 %128 = icmp eq i32 %8, %127 %129 = select i1 %126, i1 true, i1 %128 %130 = load i32, ptr @MV88E6XXX_PORT_STS_CMODE_RXAUI, align 4 %131 = icmp eq i32 %8, %130 %132 = select i1 %129, i1 true, i1 %131 %133 = load i32, ptr @MV88E6390_PORT10_LANE0, align 4 %134 = select i1 %132, i32 %133, i32 0 br label %135 135: ; preds = %118, %101, %85, %69, %56, %40, %24, %11, %2 %136 = phi i32 [ 0, %2 ], [ %23, %11 ], [ %39, %24 ], [ %55, %40 ], [ %68, %56 ], [ %84, %69 ], [ %100, %85 ], [ %117, %101 ], [ %134, %118 ] ret i32 %136 } 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 = !{!"mv88e6xxx_chip", !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} !14 = !{!13, !13, i64 0}
linux_drivers_net_dsa_mv88e6xxx_extr_serdes.c_mv88e6390x_serdes_get_lane
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sctp/extr_input.c___sctp_rcv_lookup.c' source_filename = "AnghaBench/fastsocket/kernel/net/sctp/extr_input.c___sctp_rcv_lookup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @__sctp_rcv_lookup], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @__sctp_rcv_lookup(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @__sctp_lookup_association(ptr noundef %2, ptr noundef %1, ptr noundef %3) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %4 %8 = tail call ptr @__sctp_rcv_lookup_harder(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2 br label %9 9: ; preds = %7, %4 %10 = phi ptr [ %5, %4 ], [ %8, %7 ] ret ptr %10 } declare ptr @__sctp_lookup_association(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @__sctp_rcv_lookup_harder(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sctp/extr_input.c___sctp_rcv_lookup.c' source_filename = "AnghaBench/fastsocket/kernel/net/sctp/extr_input.c___sctp_rcv_lookup.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 @__sctp_rcv_lookup], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @__sctp_rcv_lookup(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @__sctp_lookup_association(ptr noundef %2, ptr noundef %1, ptr noundef %3) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %9 7: ; preds = %4 %8 = tail call ptr @__sctp_rcv_lookup_harder(ptr noundef %0, ptr noundef %2, ptr noundef %3) #2 br label %9 9: ; preds = %7, %4 %10 = phi ptr [ %5, %4 ], [ %8, %7 ] ret ptr %10 } declare ptr @__sctp_lookup_association(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @__sctp_rcv_lookup_harder(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)"}
fastsocket_kernel_net_sctp_extr_input.c___sctp_rcv_lookup
; ModuleID = 'AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_vorbisfile.c__fseek64_wrap.c' source_filename = "AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_vorbisfile.c__fseek64_wrap.c" target datalayout = "e-m:e-p270:32:32-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 @_fseek64_wrap], section "llvm.metadata" ; Function Attrs: nofree nounwind uwtable define internal noundef i32 @_fseek64_wrap(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %7, label %5 5: ; preds = %3 %6 = tail call i32 @fseek(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) br label %7 7: ; preds = %3, %5 %8 = phi i32 [ %6, %5 ], [ -1, %3 ] ret i32 %8 } ; Function Attrs: nofree nounwind declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_vorbisfile.c__fseek64_wrap.c' source_filename = "AnghaBench/Provenance/Cores/Mednafen/mednafen-1.21/src/tremor/extr_vorbisfile.c__fseek64_wrap.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 @_fseek64_wrap], section "llvm.metadata" ; Function Attrs: nofree nounwind ssp uwtable(sync) define internal noundef i32 @_fseek64_wrap(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %7, label %5 5: ; preds = %3 %6 = tail call i32 @fseek(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2) br label %7 7: ; preds = %3, %5 %8 = phi i32 [ %6, %5 ], [ -1, %3 ] ret i32 %8 } ; Function Attrs: nofree nounwind declare noundef i32 @fseek(ptr nocapture noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
Provenance_Cores_Mednafen_mednafen-1.21_src_tremor_extr_vorbisfile.c__fseek64_wrap
; ModuleID = 'AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_block_shutdown.c' source_filename = "AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_block_shutdown.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.driver_data = type { i32, ptr, ptr, i32, i32, ptr } %struct.TYPE_5__ = type { i64, i32 } @.str = private unnamed_addr constant [22 x i8] c"Shutting down %s ...\0A\00", align 1 @MTIP_DDF_INIT_DONE_BIT = dso_local local_unnamed_addr global i32 0, align 4 @rssd_index_ida = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mtip_block_shutdown], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @mtip_block_shutdown(ptr noundef %0) #0 { %2 = tail call i32 @mtip_hw_shutdown(ptr noundef %0) #3 %3 = getelementptr inbounds %struct.driver_data, 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 %34, label %6 6: ; preds = %1 %7 = getelementptr inbounds %struct.driver_data, ptr %0, i64 0, i32 5 %8 = load ptr, ptr %7, align 8, !tbaa !11 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 1 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @dev_info(ptr noundef %8, ptr noundef nonnull @.str, i32 noundef %10) #3 %12 = load i32, ptr @MTIP_DDF_INIT_DONE_BIT, align 4, !tbaa !15 %13 = getelementptr inbounds %struct.driver_data, ptr %0, i64 0, i32 4 %14 = tail call i64 @test_bit(i32 noundef %12, ptr noundef nonnull %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %6 %17 = load ptr, ptr %3, align 8, !tbaa !5 %18 = tail call i32 @del_gendisk(ptr noundef %17) #3 br label %19 19: ; preds = %16, %6 %20 = load ptr, ptr %3, align 8, !tbaa !5 %21 = load i64, ptr %20, align 8, !tbaa !16 %22 = icmp eq i64 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %19 %24 = getelementptr inbounds %struct.driver_data, ptr %0, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !17 %26 = tail call i32 @blk_cleanup_queue(ptr noundef %25) #3 %27 = getelementptr inbounds %struct.driver_data, ptr %0, i64 0, i32 3 %28 = tail call i32 @blk_mq_free_tag_set(ptr noundef nonnull %27) #3 %29 = load ptr, ptr %3, align 8, !tbaa !5 br label %30 30: ; preds = %23, %19 %31 = phi ptr [ %29, %23 ], [ %20, %19 ] %32 = tail call i32 @put_disk(ptr noundef %31) #3 %33 = getelementptr inbounds %struct.driver_data, ptr %0, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false) br label %34 34: ; preds = %30, %1 %35 = load i32, ptr %0, align 8, !tbaa !18 %36 = tail call i32 @ida_free(ptr noundef nonnull @rssd_index_ida, i32 noundef %35) #3 ret i32 0 } declare i32 @mtip_hw_shutdown(ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @del_gendisk(ptr noundef) local_unnamed_addr #1 declare i32 @blk_cleanup_queue(ptr noundef) local_unnamed_addr #1 declare i32 @blk_mq_free_tag_set(ptr noundef) local_unnamed_addr #1 declare i32 @put_disk(ptr noundef) local_unnamed_addr #1 declare i32 @ida_free(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"driver_data", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 32} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_5__", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!13, !14, i64 0} !17 = !{!6, !10, i64 8} !18 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_block_shutdown.c' source_filename = "AnghaBench/linux/drivers/block/mtip32xx/extr_mtip32xx.c_mtip_block_shutdown.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [22 x i8] c"Shutting down %s ...\0A\00", align 1 @MTIP_DDF_INIT_DONE_BIT = common local_unnamed_addr global i32 0, align 4 @rssd_index_ida = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mtip_block_shutdown], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @mtip_block_shutdown(ptr noundef %0) #0 { %2 = tail call i32 @mtip_hw_shutdown(ptr noundef %0) #3 %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 %34, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 32 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds i8, ptr %4, i64 8 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @dev_info(ptr noundef %8, ptr noundef nonnull @.str, i32 noundef %10) #3 %12 = load i32, ptr @MTIP_DDF_INIT_DONE_BIT, align 4, !tbaa !16 %13 = getelementptr inbounds i8, ptr %0, i64 28 %14 = tail call i64 @test_bit(i32 noundef %12, ptr noundef nonnull %13) #3 %15 = icmp eq i64 %14, 0 br i1 %15, label %19, label %16 16: ; preds = %6 %17 = load ptr, ptr %3, align 8, !tbaa !6 %18 = tail call i32 @del_gendisk(ptr noundef %17) #3 br label %19 19: ; preds = %16, %6 %20 = load ptr, ptr %3, align 8, !tbaa !6 %21 = load i64, ptr %20, align 8, !tbaa !17 %22 = icmp eq i64 %21, 0 br i1 %22, label %30, label %23 23: ; preds = %19 %24 = getelementptr inbounds i8, ptr %0, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !18 %26 = tail call i32 @blk_cleanup_queue(ptr noundef %25) #3 %27 = getelementptr inbounds i8, ptr %0, i64 24 %28 = tail call i32 @blk_mq_free_tag_set(ptr noundef nonnull %27) #3 %29 = load ptr, ptr %3, align 8, !tbaa !6 br label %30 30: ; preds = %23, %19 %31 = phi ptr [ %29, %23 ], [ %20, %19 ] %32 = tail call i32 @put_disk(ptr noundef %31) #3 %33 = getelementptr inbounds i8, ptr %0, i64 8 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %33, i8 0, i64 16, i1 false) br label %34 34: ; preds = %30, %1 %35 = load i32, ptr %0, align 8, !tbaa !19 %36 = tail call i32 @ida_free(ptr noundef nonnull @rssd_index_ida, i32 noundef %35) #3 ret i32 0 } declare i32 @mtip_hw_shutdown(ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @del_gendisk(ptr noundef) local_unnamed_addr #1 declare i32 @blk_cleanup_queue(ptr noundef) local_unnamed_addr #1 declare i32 @blk_mq_free_tag_set(ptr noundef) local_unnamed_addr #1 declare i32 @put_disk(ptr noundef) local_unnamed_addr #1 declare i32 @ida_free(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"driver_data", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 32} !13 = !{!14, !8, i64 8} !14 = !{!"TYPE_5__", !15, i64 0, !8, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!14, !15, i64 0} !18 = !{!7, !11, i64 8} !19 = !{!7, !8, i64 0}
linux_drivers_block_mtip32xx_extr_mtip32xx.c_mtip_block_shutdown
; ModuleID = 'AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_exportnode.c' source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_exportnode.c" target datalayout = "e-m:e-p270:32:32-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, i32 } @D_XDRTRACE = dso_local local_unnamed_addr global i32 0, align 4 @XLOG_DEBUG = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"xdr_exportnode:\00", align 1 @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_exportnode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @D_XDRTRACE, align 4, !tbaa !5 %4 = tail call i64 @amuDebug(i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @XLOG_DEBUG, align 4, !tbaa !5 %8 = tail call i32 @plog(i32 noundef %7, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %6, %2 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 %11 = tail call i32 @xdr_dirpath(ptr noundef %0, ptr noundef nonnull %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %9 %14 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %15 = tail call i32 @xdr_groups(ptr noundef %0, ptr noundef nonnull %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %13 %18 = tail call i32 @xdr_exports(ptr noundef %0, ptr noundef %1) #2 %19 = icmp eq i32 %18, 0 %20 = select i1 %19, ptr @FALSE, ptr @TRUE br label %21 21: ; preds = %17, %13, %9 %22 = phi ptr [ @FALSE, %9 ], [ @FALSE, %13 ], [ %20, %17 ] %23 = load i32, ptr %22, align 4, !tbaa !5 ret i32 %23 } declare i64 @amuDebug(i32 noundef) local_unnamed_addr #1 declare i32 @plog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_dirpath(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_groups(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_exports(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/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_exportnode.c' source_filename = "AnghaBench/freebsd/contrib/amd/libamu/extr_xdr_func.c_xdr_exportnode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @D_XDRTRACE = common local_unnamed_addr global i32 0, align 4 @XLOG_DEBUG = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"xdr_exportnode:\00", align 1 @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_exportnode(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr @D_XDRTRACE, align 4, !tbaa !6 %4 = tail call i64 @amuDebug(i32 noundef %3) #2 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %2 %7 = load i32, ptr @XLOG_DEBUG, align 4, !tbaa !6 %8 = tail call i32 @plog(i32 noundef %7, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %6, %2 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = tail call i32 @xdr_dirpath(ptr noundef %0, ptr noundef nonnull %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %21, label %13 13: ; preds = %9 %14 = getelementptr inbounds i8, ptr %1, i64 4 %15 = tail call i32 @xdr_groups(ptr noundef %0, ptr noundef nonnull %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %21, label %17 17: ; preds = %13 %18 = tail call i32 @xdr_exports(ptr noundef %0, ptr noundef %1) #2 %19 = icmp eq i32 %18, 0 %20 = select i1 %19, ptr @FALSE, ptr @TRUE br label %21 21: ; preds = %17, %13, %9 %22 = phi ptr [ @FALSE, %9 ], [ @FALSE, %13 ], [ %20, %17 ] %23 = load i32, ptr %22, align 4, !tbaa !6 ret i32 %23 } declare i64 @amuDebug(i32 noundef) local_unnamed_addr #1 declare i32 @plog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_dirpath(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_groups(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @xdr_exports(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"}
freebsd_contrib_amd_libamu_extr_xdr_func.c_xdr_exportnode
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_atmel_lcdfb.c_chan_to_field.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_atmel_lcdfb.c_chan_to_field.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.fb_bitfield = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @chan_to_field], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @chan_to_field(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = and i32 %0, 65535 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = sub nsw i32 16, %4 %6 = lshr i32 %3, %5 %7 = getelementptr inbounds %struct.fb_bitfield, ptr %1, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = shl i32 %6, %8 ret i32 %9 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"fb_bitfield", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/extr_atmel_lcdfb.c_chan_to_field.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/extr_atmel_lcdfb.c_chan_to_field.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 @chan_to_field], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @chan_to_field(i32 noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = and i32 %0, 65535 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = sub nsw i32 16, %4 %6 = lshr i32 %3, %5 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = shl i32 %6, %8 ret i32 %9 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"fb_bitfield", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
fastsocket_kernel_drivers_video_extr_atmel_lcdfb.c_chan_to_field
; ModuleID = 'AnghaBench/sqlcipher/ext/icu/extr_icu.c_icuCaseFunc16.c' source_filename = "AnghaBench/sqlcipher/ext/icu/extr_icu.c_icuCaseFunc16.c" target datalayout = "e-m:e-p270:32:32-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 @SQLITE_STATIC = dso_local local_unnamed_addr global i32 0, align 4 @U_ZERO_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @xFree = dso_local local_unnamed_addr global i32 0, align 4 @U_BUFFER_OVERFLOW_ERROR = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [13 x i8] c"u_strToUpper\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"u_strToLower\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @icuCaseFunc16], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @icuCaseFunc16(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = icmp eq i32 %1, 2 %6 = add i32 %1, -1 %7 = icmp ult i32 %6, 2 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = tail call i64 @sqlite3_user_data(ptr noundef %0) #3 %11 = icmp eq i64 %10, 0 br i1 %5, label %12, label %17 12: ; preds = %3 %13 = getelementptr inbounds ptr, ptr %2, i64 1 %14 = load ptr, ptr %13, align 8, !tbaa !5 %15 = tail call i64 @sqlite3_value_text(ptr noundef %14) #3 %16 = inttoptr i64 %15 to ptr br label %17 17: ; preds = %12, %3 %18 = phi ptr [ %16, %12 ], [ null, %3 ] %19 = load ptr, ptr %2, align 8, !tbaa !5 %20 = tail call ptr @sqlite3_value_text16(ptr noundef %19) #3 %21 = icmp eq ptr %20, null br i1 %21, label %84, label %22 22: ; preds = %17 %23 = load ptr, ptr %2, align 8, !tbaa !5 %24 = tail call i32 @sqlite3_value_bytes16(ptr noundef %23) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %22 %27 = sdiv i32 %24, 2 %28 = tail call ptr @sqlite3_realloc(ptr noundef null, i32 noundef %24) #3 %29 = icmp eq ptr %28, null br i1 %29, label %33, label %36 30: ; preds = %22 %31 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !9 %32 = tail call i32 @sqlite3_result_text16(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %31) #3 br label %84 33: ; preds = %61, %26 %34 = call i32 @sqlite3_free(ptr noundef %28) #3 %35 = call i32 @sqlite3_result_error_nomem(ptr noundef %0) #3 br label %84 36: ; preds = %26 %37 = load i64, ptr @U_ZERO_ERROR, align 8, !tbaa !11 store i64 %37, ptr %4, align 8, !tbaa !11 br i1 %11, label %40, label %38 38: ; preds = %36 %39 = call i32 @u_strToUpper(ptr noundef nonnull %28, i32 noundef %27, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %42 40: ; preds = %36 %41 = call i32 @u_strToLower(ptr noundef nonnull %28, i32 noundef %27, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %42 42: ; preds = %40, %38 %43 = phi i32 [ %39, %38 ], [ %41, %40 ] %44 = shl nsw i32 %43, 1 %45 = load i64, ptr %4, align 8, !tbaa !11 %46 = call i64 @U_SUCCESS(i64 noundef %45) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %53, label %48 48: ; preds = %71, %42 %49 = phi i32 [ %44, %42 ], [ %73, %71 ] %50 = phi ptr [ %28, %42 ], [ %63, %71 ] %51 = load i32, ptr @xFree, align 4, !tbaa !9 %52 = call i32 @sqlite3_result_text16(ptr noundef %0, ptr noundef nonnull %50, i32 noundef %49, i32 noundef %51) #3 br label %84 53: ; preds = %42 %54 = load i64, ptr %4, align 8, !tbaa !11 %55 = load i64, ptr @U_BUFFER_OVERFLOW_ERROR, align 8, !tbaa !11 %56 = icmp eq i64 %54, %55 br i1 %56, label %61, label %57 57: ; preds = %77, %53 %58 = phi i64 [ %54, %53 ], [ %78, %77 ] %59 = select i1 %11, ptr @.str.2, ptr @.str.1 %60 = call i32 @icuFunctionError(ptr noundef %0, ptr noundef nonnull %59, i64 noundef %58) #3 br label %84 61: ; preds = %53 %62 = call i32 @assert(i32 noundef 1) #3 %63 = call ptr @sqlite3_realloc(ptr noundef nonnull %28, i32 noundef %44) #3 %64 = icmp eq ptr %63, null br i1 %64, label %33, label %65 65: ; preds = %61 %66 = load i64, ptr @U_ZERO_ERROR, align 8, !tbaa !11 store i64 %66, ptr %4, align 8, !tbaa !11 br i1 %11, label %69, label %67 67: ; preds = %65 %68 = call i32 @u_strToUpper(ptr noundef nonnull %63, i32 noundef %43, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %71 69: ; preds = %65 %70 = call i32 @u_strToLower(ptr noundef nonnull %63, i32 noundef %43, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %71 71: ; preds = %69, %67 %72 = phi i32 [ %68, %67 ], [ %70, %69 ] %73 = shl nsw i32 %72, 1 %74 = load i64, ptr %4, align 8, !tbaa !11 %75 = call i64 @U_SUCCESS(i64 noundef %74) #3 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %48 77: ; preds = %71 %78 = load i64, ptr %4, align 8, !tbaa !11 %79 = load i64, ptr @U_BUFFER_OVERFLOW_ERROR, align 8, !tbaa !11 %80 = icmp eq i64 %78, %79 br i1 %80, label %81, label %57 81: ; preds = %77 %82 = call i32 @assert(i32 noundef 0) #3 %83 = call i32 @assert(i32 noundef 0) #3 br label %84 84: ; preds = %48, %57, %33, %17, %81, %30 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3_user_data(ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3_value_text(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_value_text16(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_value_bytes16(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_result_text16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @sqlite3_realloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_result_error_nomem(ptr noundef) local_unnamed_addr #2 declare i32 @u_strToUpper(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @u_strToLower(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @U_SUCCESS(i64 noundef) local_unnamed_addr #2 declare i32 @icuFunctionError(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/sqlcipher/ext/icu/extr_icu.c_icuCaseFunc16.c' source_filename = "AnghaBench/sqlcipher/ext/icu/extr_icu.c_icuCaseFunc16.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 @SQLITE_STATIC = common local_unnamed_addr global i32 0, align 4 @U_ZERO_ERROR = common local_unnamed_addr global i64 0, align 8 @xFree = common local_unnamed_addr global i32 0, align 4 @U_BUFFER_OVERFLOW_ERROR = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [13 x i8] c"u_strToUpper\00", align 1 @.str.2 = private unnamed_addr constant [13 x i8] c"u_strToLower\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @icuCaseFunc16], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @icuCaseFunc16(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2) #0 { %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = icmp eq i32 %1, 2 %6 = add i32 %1, -1 %7 = icmp ult i32 %6, 2 %8 = zext i1 %7 to i32 %9 = tail call i32 @assert(i32 noundef %8) #3 %10 = tail call i64 @sqlite3_user_data(ptr noundef %0) #3 %11 = icmp eq i64 %10, 0 br i1 %5, label %12, label %17 12: ; preds = %3 %13 = getelementptr inbounds i8, ptr %2, i64 8 %14 = load ptr, ptr %13, align 8, !tbaa !6 %15 = tail call i64 @sqlite3_value_text(ptr noundef %14) #3 %16 = inttoptr i64 %15 to ptr br label %17 17: ; preds = %12, %3 %18 = phi ptr [ %16, %12 ], [ null, %3 ] %19 = load ptr, ptr %2, align 8, !tbaa !6 %20 = tail call ptr @sqlite3_value_text16(ptr noundef %19) #3 %21 = icmp eq ptr %20, null br i1 %21, label %84, label %22 22: ; preds = %17 %23 = load ptr, ptr %2, align 8, !tbaa !6 %24 = tail call i32 @sqlite3_value_bytes16(ptr noundef %23) #3 %25 = icmp eq i32 %24, 0 br i1 %25, label %30, label %26 26: ; preds = %22 %27 = sdiv i32 %24, 2 %28 = tail call ptr @sqlite3_realloc(ptr noundef null, i32 noundef %24) #3 %29 = icmp eq ptr %28, null br i1 %29, label %33, label %36 30: ; preds = %22 %31 = load i32, ptr @SQLITE_STATIC, align 4, !tbaa !10 %32 = tail call i32 @sqlite3_result_text16(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %31) #3 br label %84 33: ; preds = %61, %26 %34 = call i32 @sqlite3_free(ptr noundef %28) #3 %35 = call i32 @sqlite3_result_error_nomem(ptr noundef %0) #3 br label %84 36: ; preds = %26 %37 = load i64, ptr @U_ZERO_ERROR, align 8, !tbaa !12 store i64 %37, ptr %4, align 8, !tbaa !12 br i1 %11, label %40, label %38 38: ; preds = %36 %39 = call i32 @u_strToUpper(ptr noundef nonnull %28, i32 noundef %27, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %42 40: ; preds = %36 %41 = call i32 @u_strToLower(ptr noundef nonnull %28, i32 noundef %27, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %42 42: ; preds = %40, %38 %43 = phi i32 [ %39, %38 ], [ %41, %40 ] %44 = shl nsw i32 %43, 1 %45 = load i64, ptr %4, align 8, !tbaa !12 %46 = call i64 @U_SUCCESS(i64 noundef %45) #3 %47 = icmp eq i64 %46, 0 br i1 %47, label %53, label %48 48: ; preds = %71, %42 %49 = phi i32 [ %44, %42 ], [ %73, %71 ] %50 = phi ptr [ %28, %42 ], [ %63, %71 ] %51 = load i32, ptr @xFree, align 4, !tbaa !10 %52 = call i32 @sqlite3_result_text16(ptr noundef %0, ptr noundef nonnull %50, i32 noundef %49, i32 noundef %51) #3 br label %84 53: ; preds = %42 %54 = load i64, ptr %4, align 8, !tbaa !12 %55 = load i64, ptr @U_BUFFER_OVERFLOW_ERROR, align 8, !tbaa !12 %56 = icmp eq i64 %54, %55 br i1 %56, label %61, label %57 57: ; preds = %77, %53 %58 = phi i64 [ %54, %53 ], [ %78, %77 ] %59 = select i1 %11, ptr @.str.2, ptr @.str.1 %60 = call i32 @icuFunctionError(ptr noundef %0, ptr noundef nonnull %59, i64 noundef %58) #3 br label %84 61: ; preds = %53 %62 = call i32 @assert(i32 noundef 1) #3 %63 = call ptr @sqlite3_realloc(ptr noundef nonnull %28, i32 noundef %44) #3 %64 = icmp eq ptr %63, null br i1 %64, label %33, label %65 65: ; preds = %61 %66 = load i64, ptr @U_ZERO_ERROR, align 8, !tbaa !12 store i64 %66, ptr %4, align 8, !tbaa !12 br i1 %11, label %69, label %67 67: ; preds = %65 %68 = call i32 @u_strToUpper(ptr noundef nonnull %63, i32 noundef %43, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %71 69: ; preds = %65 %70 = call i32 @u_strToLower(ptr noundef nonnull %63, i32 noundef %43, ptr noundef nonnull %20, i32 noundef %27, ptr noundef %18, ptr noundef nonnull %4) #3 br label %71 71: ; preds = %69, %67 %72 = phi i32 [ %68, %67 ], [ %70, %69 ] %73 = shl nsw i32 %72, 1 %74 = load i64, ptr %4, align 8, !tbaa !12 %75 = call i64 @U_SUCCESS(i64 noundef %74) #3 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %48 77: ; preds = %71 %78 = load i64, ptr %4, align 8, !tbaa !12 %79 = load i64, ptr @U_BUFFER_OVERFLOW_ERROR, align 8, !tbaa !12 %80 = icmp eq i64 %78, %79 br i1 %80, label %81, label %57 81: ; preds = %77 %82 = call i32 @assert(i32 noundef 0) #3 %83 = call i32 @assert(i32 noundef 0) #3 br label %84 84: ; preds = %48, %57, %33, %17, %81, %30 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @assert(i32 noundef) local_unnamed_addr #2 declare i64 @sqlite3_user_data(ptr noundef) local_unnamed_addr #2 declare i64 @sqlite3_value_text(ptr noundef) local_unnamed_addr #2 declare ptr @sqlite3_value_text16(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_value_bytes16(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_result_text16(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @sqlite3_realloc(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @sqlite3_free(ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_result_error_nomem(ptr noundef) local_unnamed_addr #2 declare i32 @u_strToUpper(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @u_strToLower(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @U_SUCCESS(i64 noundef) local_unnamed_addr #2 declare i32 @icuFunctionError(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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, !13, i64 0} !13 = !{!"long", !8, i64 0}
sqlcipher_ext_icu_extr_icu.c_icuCaseFunc16
; ModuleID = 'AnghaBench/exploitdb/exploits/plan9/local/extr_3383.c_sethostowner.c' source_filename = "AnghaBench/exploitdb/exploits/plan9/local/extr_3383.c_sethostowner.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [13 x i8] c"#c/hostowner\00", align 1 @OWRITE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"can't open \22#c/hostowner\22: %r\00", align 1 @False = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"write to \22#c/hostowner\22 failed: %r\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"write of \22%s\22 to \22#c/hostowner\22 succeeded\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"can't retrieve \22#c/hostowner\22 for comparison?\00", align 1 @.str.5 = private unnamed_addr constant [74 x i8] c"write on \22#c/hostowner\22 succeeded but storedvalue isn't as expected: \22%s\22\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @sethostowner], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sethostowner(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @OWRITE, align 4, !tbaa !5 %4 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %3) #3 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = tail call i32 (ptr, ...) @err(ptr noundef nonnull @.str.1) #3 %8 = load i32, ptr @False, align 4, !tbaa !5 br label %36 9: ; preds = %1 %10 = tail call i32 @strlen(ptr noundef %0) #3 %11 = tail call i32 @write(i32 noundef %4, ptr noundef %0, i32 noundef %10) #3 %12 = icmp eq i32 %11, %10 br i1 %12, label %17, label %13 13: ; preds = %9 %14 = tail call i32 (ptr, ...) @err(ptr noundef nonnull @.str.2) #3 %15 = tail call i32 @close(i32 noundef %4) #3 %16 = load i32, ptr @False, align 4, !tbaa !5 br label %36 17: ; preds = %9 %18 = tail call i32 @close(i32 noundef %4) #3 %19 = tail call i32 @msg(ptr noundef nonnull @.str.3, ptr noundef %0) #3 %20 = call i32 @userfile(ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 (ptr, ...) @err(ptr noundef nonnull @.str.4) #3 %24 = load i32, ptr @False, align 4, !tbaa !5 br label %36 25: ; preds = %17 %26 = load ptr, ptr %2, align 8, !tbaa !9 %27 = call i64 @strcmp(ptr noundef %0, ptr noundef %26) #3 %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 br i1 %28, label %33, label %30 30: ; preds = %25 %31 = load ptr, ptr %2, align 8, !tbaa !9 %32 = call i32 (ptr, ...) @err(ptr noundef nonnull @.str.5, ptr noundef %31) #3 br label %33 33: ; preds = %30, %25 %34 = load ptr, ptr %2, align 8, !tbaa !9 %35 = call i32 @free(ptr noundef %34) #3 br label %36 36: ; preds = %33, %22, %13, %6 %37 = phi i32 [ %8, %6 ], [ %16, %13 ], [ %29, %33 ], [ %24, %22 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @err(ptr noundef, ...) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @close(i32 noundef) local_unnamed_addr #2 declare i32 @msg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @userfile(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, ptr 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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/exploitdb/exploits/plan9/local/extr_3383.c_sethostowner.c' source_filename = "AnghaBench/exploitdb/exploits/plan9/local/extr_3383.c_sethostowner.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [13 x i8] c"#c/hostowner\00", align 1 @OWRITE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"can't open \22#c/hostowner\22: %r\00", align 1 @False = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [35 x i8] c"write to \22#c/hostowner\22 failed: %r\00", align 1 @.str.3 = private unnamed_addr constant [42 x i8] c"write of \22%s\22 to \22#c/hostowner\22 succeeded\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"can't retrieve \22#c/hostowner\22 for comparison?\00", align 1 @.str.5 = private unnamed_addr constant [74 x i8] c"write on \22#c/hostowner\22 succeeded but storedvalue isn't as expected: \22%s\22\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @sethostowner], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sethostowner(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %3 = load i32, ptr @OWRITE, align 4, !tbaa !6 %4 = tail call i32 @open(ptr noundef nonnull @.str, i32 noundef %3) #3 %5 = icmp slt i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = tail call i32 (ptr, ...) @err(ptr noundef nonnull @.str.1) #3 %8 = load i32, ptr @False, align 4, !tbaa !6 br label %36 9: ; preds = %1 %10 = tail call i32 @strlen(ptr noundef %0) #3 %11 = tail call i32 @write(i32 noundef %4, ptr noundef %0, i32 noundef %10) #3 %12 = icmp eq i32 %11, %10 br i1 %12, label %17, label %13 13: ; preds = %9 %14 = tail call i32 (ptr, ...) @err(ptr noundef nonnull @.str.2) #3 %15 = tail call i32 @close(i32 noundef %4) #3 %16 = load i32, ptr @False, align 4, !tbaa !6 br label %36 17: ; preds = %9 %18 = tail call i32 @close(i32 noundef %4) #3 %19 = tail call i32 @msg(ptr noundef nonnull @.str.3, ptr noundef %0) #3 %20 = call i32 @userfile(ptr noundef nonnull @.str, ptr noundef nonnull %2) #3 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %17 %23 = call i32 (ptr, ...) @err(ptr noundef nonnull @.str.4) #3 %24 = load i32, ptr @False, align 4, !tbaa !6 br label %36 25: ; preds = %17 %26 = load ptr, ptr %2, align 8, !tbaa !10 %27 = call i64 @strcmp(ptr noundef %0, ptr noundef %26) #3 %28 = icmp eq i64 %27, 0 %29 = zext i1 %28 to i32 br i1 %28, label %33, label %30 30: ; preds = %25 %31 = load ptr, ptr %2, align 8, !tbaa !10 %32 = call i32 (ptr, ...) @err(ptr noundef nonnull @.str.5, ptr noundef %31) #3 br label %33 33: ; preds = %30, %25 %34 = load ptr, ptr %2, align 8, !tbaa !10 %35 = call i32 @free(ptr noundef %34) #3 br label %36 36: ; preds = %33, %22, %13, %6 %37 = phi i32 [ %8, %6 ], [ %16, %13 ], [ %29, %33 ], [ %24, %22 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %37 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @open(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @err(ptr noundef, ...) local_unnamed_addr #2 declare i32 @strlen(ptr noundef) local_unnamed_addr #2 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @close(i32 noundef) local_unnamed_addr #2 declare i32 @msg(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @userfile(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @strcmp(ptr noundef, ptr 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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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}
exploitdb_exploits_plan9_local_extr_3383.c_sethostowner
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-puv3.c_puv3_i2c_probe.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-puv3.c_puv3_i2c_probe.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_adapter = type { i32, %struct.TYPE_2__, i32, ptr, i32 } %struct.TYPE_2__ = type { ptr } %struct.platform_device = type { i32, i32 } @IORESOURCE_MEM = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"puv3_i2c\00", align 1 @EBUSY = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"can't allocate interface!\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"PUV3-I2C at 0x%08x\00", align 1 @puv3_i2c_algorithm = dso_local global i32 0, align 4 @I2C_CLASS_HWMON = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [29 x i8] c"PKUnity v3 i2c bus adapter.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @puv3_i2c_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @puv3_i2c_probe(ptr noundef %0) #0 { %2 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !5 %3 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENODEV, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %47 8: ; preds = %1 %9 = load i32, ptr %3, align 4, !tbaa !9 %10 = tail call i32 @resource_size(ptr noundef nonnull %3) #2 %11 = tail call i32 @request_mem_region(i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr @EBUSY, align 4, !tbaa !5 %15 = sub nsw i32 0, %14 br label %47 16: ; preds = %8 %17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %18 = tail call ptr @kzalloc(i32 noundef 40, i32 noundef %17) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %23 = sub nsw i32 0, %22 br label %42 24: ; preds = %16 %25 = getelementptr inbounds %struct.i2c_adapter, ptr %18, i64 0, i32 4 %26 = load i32, ptr %25, align 8, !tbaa !11 %27 = load i32, ptr %3, align 4, !tbaa !9 %28 = tail call i32 @snprintf(i32 noundef %26, i32 noundef 4, ptr noundef nonnull @.str.2, i32 noundef %27) #2 %29 = getelementptr inbounds %struct.i2c_adapter, ptr %18, i64 0, i32 3 store ptr @puv3_i2c_algorithm, ptr %29, align 8, !tbaa !15 %30 = load i32, ptr @I2C_CLASS_HWMON, align 4, !tbaa !5 %31 = getelementptr inbounds %struct.i2c_adapter, ptr %18, i64 0, i32 2 store i32 %30, ptr %31, align 8, !tbaa !16 %32 = getelementptr inbounds %struct.i2c_adapter, ptr %18, i64 0, i32 1 store ptr %0, ptr %32, align 8, !tbaa !17 %33 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %18) #2 %34 = getelementptr inbounds %struct.platform_device, ptr %0, i64 0, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !18 store i32 %35, ptr %18, align 8, !tbaa !20 %36 = tail call i32 @i2c_add_numbered_adapter(ptr noundef nonnull %18) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %24 %39 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #2 br label %47 40: ; preds = %24 %41 = tail call i32 @kfree(ptr noundef nonnull %18) #2 br label %42 42: ; preds = %40, %20 %43 = phi i32 [ %23, %20 ], [ %36, %40 ] %44 = load i32, ptr %3, align 4, !tbaa !9 %45 = tail call i32 @resource_size(ptr noundef nonnull %3) #2 %46 = tail call i32 @release_mem_region(i32 noundef %44, i32 noundef %45) #2 br label %47 47: ; preds = %42, %38, %13, %5 %48 = phi i32 [ %43, %42 ], [ 0, %38 ], [ %15, %13 ], [ %7, %5 ] ret i32 %48 } declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @request_mem_region(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @resource_size(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i2c_add_numbered_adapter(ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @release_mem_region(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"resource", !6, i64 0} !11 = !{!12, !6, i64 32} !12 = !{!"i2c_adapter", !6, i64 0, !13, i64 8, !6, i64 16, !14, i64 24, !6, i64 32} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!12, !14, i64 24} !16 = !{!12, !6, i64 16} !17 = !{!12, !14, i64 8} !18 = !{!19, !6, i64 4} !19 = !{!"platform_device", !6, i64 0, !6, i64 4} !20 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/i2c/busses/extr_i2c-puv3.c_puv3_i2c_probe.c' source_filename = "AnghaBench/linux/drivers/i2c/busses/extr_i2c-puv3.c_puv3_i2c_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IORESOURCE_MEM = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"puv3_i2c\00", align 1 @EBUSY = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [27 x i8] c"can't allocate interface!\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"PUV3-I2C at 0x%08x\00", align 1 @puv3_i2c_algorithm = common global i32 0, align 4 @I2C_CLASS_HWMON = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [29 x i8] c"PKUnity v3 i2c bus adapter.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @puv3_i2c_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @puv3_i2c_probe(ptr noundef %0) #0 { %2 = load i32, ptr @IORESOURCE_MEM, align 4, !tbaa !6 %3 = tail call ptr @platform_get_resource(ptr noundef %0, i32 noundef %2, i32 noundef 0) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENODEV, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %47 8: ; preds = %1 %9 = load i32, ptr %3, align 4, !tbaa !10 %10 = tail call i32 @resource_size(ptr noundef nonnull %3) #2 %11 = tail call i32 @request_mem_region(i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %8 %14 = load i32, ptr @EBUSY, align 4, !tbaa !6 %15 = sub nsw i32 0, %14 br label %47 16: ; preds = %8 %17 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %18 = tail call ptr @kzalloc(i32 noundef 40, i32 noundef %17) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %24 20: ; preds = %16 %21 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %22 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %23 = sub nsw i32 0, %22 br label %42 24: ; preds = %16 %25 = getelementptr inbounds i8, ptr %18, i64 32 %26 = load i32, ptr %25, align 8, !tbaa !12 %27 = load i32, ptr %3, align 4, !tbaa !10 %28 = tail call i32 @snprintf(i32 noundef %26, i32 noundef 4, ptr noundef nonnull @.str.2, i32 noundef %27) #2 %29 = getelementptr inbounds i8, ptr %18, i64 24 store ptr @puv3_i2c_algorithm, ptr %29, align 8, !tbaa !16 %30 = load i32, ptr @I2C_CLASS_HWMON, align 4, !tbaa !6 %31 = getelementptr inbounds i8, ptr %18, i64 16 store i32 %30, ptr %31, align 8, !tbaa !17 %32 = getelementptr inbounds i8, ptr %18, i64 8 store ptr %0, ptr %32, align 8, !tbaa !18 %33 = tail call i32 @platform_set_drvdata(ptr noundef %0, ptr noundef nonnull %18) #2 %34 = getelementptr inbounds i8, ptr %0, i64 4 %35 = load i32, ptr %34, align 4, !tbaa !19 store i32 %35, ptr %18, align 8, !tbaa !21 %36 = tail call i32 @i2c_add_numbered_adapter(ptr noundef nonnull %18) #2 %37 = icmp eq i32 %36, 0 br i1 %37, label %38, label %40 38: ; preds = %24 %39 = tail call i32 @dev_info(ptr noundef nonnull %0, ptr noundef nonnull @.str.3) #2 br label %47 40: ; preds = %24 %41 = tail call i32 @kfree(ptr noundef nonnull %18) #2 br label %42 42: ; preds = %40, %20 %43 = phi i32 [ %23, %20 ], [ %36, %40 ] %44 = load i32, ptr %3, align 4, !tbaa !10 %45 = tail call i32 @resource_size(ptr noundef nonnull %3) #2 %46 = tail call i32 @release_mem_region(i32 noundef %44, i32 noundef %45) #2 br label %47 47: ; preds = %42, %38, %13, %5 %48 = phi i32 [ %43, %42 ], [ 0, %38 ], [ %15, %13 ], [ %7, %5 ] ret i32 %48 } declare ptr @platform_get_resource(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @request_mem_region(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @resource_size(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @platform_set_drvdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i2c_add_numbered_adapter(ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @release_mem_region(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"resource", !7, i64 0} !12 = !{!13, !7, i64 32} !13 = !{!"i2c_adapter", !7, i64 0, !14, i64 8, !7, i64 16, !15, i64 24, !7, i64 32} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!13, !15, i64 24} !17 = !{!13, !7, i64 16} !18 = !{!13, !15, i64 8} !19 = !{!20, !7, i64 4} !20 = !{!"platform_device", !7, i64 0, !7, i64 4} !21 = !{!13, !7, i64 0}
linux_drivers_i2c_busses_extr_i2c-puv3.c_puv3_i2c_probe
; ModuleID = 'AnghaBench/RetroArch/deps/miniupnpc/extr_upnpdev.c_freeUPNPDevlist.c' source_filename = "AnghaBench/RetroArch/deps/miniupnpc/extr_upnpdev.c_freeUPNPDevlist.c" target datalayout = "e-m:e-p270:32:32-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 @freeUPNPDevlist(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = tail call i32 @free(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !10 8: ; preds = %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"UPNPDev", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/deps/miniupnpc/extr_upnpdev.c_freeUPNPDevlist.c' source_filename = "AnghaBench/RetroArch/deps/miniupnpc/extr_upnpdev.c_freeUPNPDevlist.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 @freeUPNPDevlist(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %8, label %3 3: ; preds = %1, %3 %4 = phi ptr [ %5, %3 ], [ %0, %1 ] %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = tail call i32 @free(ptr noundef nonnull %4) #2 %7 = icmp eq ptr %5, null br i1 %7, label %8, label %3, !llvm.loop !11 8: ; preds = %3, %1 ret void } declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"UPNPDev", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
RetroArch_deps_miniupnpc_extr_upnpdev.c_freeUPNPDevlist
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_ResetSegmentReg.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_ResetSegmentReg.c" target datalayout = "e-m:e-p270:32:32-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 @SiS_ResetSegmentReg], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SiS_ResetSegmentReg(ptr noundef %0) #0 { %2 = tail call i32 @SiS_SetSegmentReg(ptr noundef %0, i32 noundef 0) #2 ret void } declare i32 @SiS_SetSegmentReg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_ResetSegmentReg.c' source_filename = "AnghaBench/linux/drivers/video/fbdev/sis/extr_init.c_SiS_ResetSegmentReg.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 @SiS_ResetSegmentReg], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SiS_ResetSegmentReg(ptr noundef %0) #0 { %2 = tail call i32 @SiS_SetSegmentReg(ptr noundef %0, i32 noundef 0) #2 ret void } declare i32 @SiS_SetSegmentReg(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_video_fbdev_sis_extr_init.c_SiS_ResetSegmentReg
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_gntdev-dmabuf.c_dmabuf_exp_wait_obj_new.c' source_filename = "AnghaBench/linux/drivers/xen/extr_gntdev-dmabuf.c_dmabuf_exp_wait_obj_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.gntdev_dmabuf_wait_obj = type { i32, ptr, i32 } %struct.gntdev_dmabuf_priv = type { i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @dmabuf_exp_release = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dmabuf_exp_wait_obj_new], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @dmabuf_exp_wait_obj_new(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %4 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 %9 = tail call ptr @ERR_PTR(i32 noundef %8) #2 br label %20 10: ; preds = %2 %11 = getelementptr inbounds %struct.gntdev_dmabuf_wait_obj, ptr %4, i64 0, i32 2 %12 = tail call i32 @init_completion(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds %struct.gntdev_dmabuf_wait_obj, ptr %4, i64 0, i32 1 store ptr %1, ptr %13, align 8, !tbaa !9 %14 = tail call i32 @mutex_lock(ptr noundef %0) #2 %15 = getelementptr inbounds %struct.gntdev_dmabuf_priv, ptr %0, i64 0, i32 1 %16 = tail call i32 @list_add(ptr noundef nonnull %4, ptr noundef nonnull %15) #2 %17 = load i32, ptr @dmabuf_exp_release, align 4, !tbaa !5 %18 = tail call i32 @kref_put(ptr noundef %1, i32 noundef %17) #2 %19 = tail call i32 @mutex_unlock(ptr noundef %0) #2 br label %20 20: ; preds = %10, %6 %21 = phi ptr [ %4, %10 ], [ %9, %6 ] ret ptr %21 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @init_completion(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"gntdev_dmabuf_wait_obj", !6, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/xen/extr_gntdev-dmabuf.c_dmabuf_exp_wait_obj_new.c' source_filename = "AnghaBench/linux/drivers/xen/extr_gntdev-dmabuf.c_dmabuf_exp_wait_obj_new.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 @dmabuf_exp_release = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dmabuf_exp_wait_obj_new], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @dmabuf_exp_wait_obj_new(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %4 = tail call ptr @kzalloc(i32 noundef 24, i32 noundef %3) #2 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %10 6: ; preds = %2 %7 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 %9 = tail call ptr @ERR_PTR(i32 noundef %8) #2 br label %20 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %4, i64 16 %12 = tail call i32 @init_completion(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds i8, ptr %4, i64 8 store ptr %1, ptr %13, align 8, !tbaa !10 %14 = tail call i32 @mutex_lock(ptr noundef %0) #2 %15 = getelementptr inbounds i8, ptr %0, i64 4 %16 = tail call i32 @list_add(ptr noundef nonnull %4, ptr noundef nonnull %15) #2 %17 = load i32, ptr @dmabuf_exp_release, align 4, !tbaa !6 %18 = tail call i32 @kref_put(ptr noundef %1, i32 noundef %17) #2 %19 = tail call i32 @mutex_unlock(ptr noundef %0) #2 br label %20 20: ; preds = %10, %6 %21 = phi ptr [ %4, %10 ], [ %9, %6 ] ret ptr %21 } declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ERR_PTR(i32 noundef) local_unnamed_addr #1 declare i32 @init_completion(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kref_put(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"gntdev_dmabuf_wait_obj", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0}
linux_drivers_xen_extr_gntdev-dmabuf.c_dmabuf_exp_wait_obj_new
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/openbsd-compat/extr_strnlen.c_strnlen.c' source_filename = "AnghaBench/freebsd/crypto/openssh/openbsd-compat/extr_strnlen.c_strnlen.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define dso_local noundef i64 @strnlen(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %15, label %4 4: ; preds = %2 %5 = getelementptr i8, ptr %0, i64 %1 br label %6 6: ; preds = %4, %11 %7 = phi ptr [ %12, %11 ], [ %0, %4 ] %8 = phi i64 [ %13, %11 ], [ %1, %4 ] %9 = load i8, ptr %7, align 1, !tbaa !5 %10 = icmp eq i8 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %7, i64 1 %13 = add i64 %8, -1 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %6, !llvm.loop !8 15: ; preds = %6, %11, %2 %16 = phi ptr [ %0, %2 ], [ %5, %11 ], [ %7, %6 ] %17 = ptrtoint ptr %16 to i64 %18 = ptrtoint ptr %0 to i64 %19 = sub i64 %17, %18 ret i64 %19 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/openbsd-compat/extr_strnlen.c_strnlen.c' source_filename = "AnghaBench/freebsd/crypto/openssh/openbsd-compat/extr_strnlen.c_strnlen.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define noundef i64 @strnlen(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq i64 %1, 0 br i1 %3, label %15, label %4 4: ; preds = %2 %5 = getelementptr i8, ptr %0, i64 %1 br label %6 6: ; preds = %4, %11 %7 = phi ptr [ %12, %11 ], [ %0, %4 ] %8 = phi i64 [ %13, %11 ], [ %1, %4 ] %9 = load i8, ptr %7, align 1, !tbaa !6 %10 = icmp eq i8 %9, 0 br i1 %10, label %15, label %11 11: ; preds = %6 %12 = getelementptr inbounds i8, ptr %7, i64 1 %13 = add i64 %8, -1 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %6, !llvm.loop !9 15: ; preds = %6, %11, %2 %16 = phi ptr [ %0, %2 ], [ %5, %11 ], [ %7, %6 ] %17 = ptrtoint ptr %16 to i64 %18 = ptrtoint ptr %0 to i64 %19 = sub i64 %17, %18 ret i64 %19 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
freebsd_crypto_openssh_openbsd-compat_extr_strnlen.c_strnlen
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_nat_core.c_nf_nat_unregister_fn.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_nat_core.c_nf_nat_unregister_fn.c" target datalayout = "e-m:e-p270:32:32-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.nf_nat_hooks_net = type { i64, ptr } %struct.nf_hook_ops = type { i32, ptr } @nat_net_id = dso_local local_unnamed_addr global i32 0, align 4 @nf_nat_proto_mutex = dso_local global i32 0, align 4 @rcu_head = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @nf_nat_unregister_fn(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @nat_net_id, align 4, !tbaa !5 %6 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %5) #2 %7 = load i32, ptr %2, align 8, !tbaa !9 %8 = load ptr, ptr %6, align 8, !tbaa !12 %9 = tail call i64 @ARRAY_SIZE(ptr noundef %8) #2 %10 = icmp ugt i64 %9, %1 br i1 %10, label %11, label %68 11: ; preds = %4 %12 = load ptr, ptr %6, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.nf_nat_hooks_net, ptr %12, i64 %1 %14 = tail call i32 @mutex_lock(ptr noundef nonnull @nf_nat_proto_mutex) #2 %15 = load i64, ptr %13, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @WARN_ON(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %66 20: ; preds = %11 %21 = load i64, ptr %13, align 8, !tbaa !14 %22 = add nsw i64 %21, -1 store i64 %22, ptr %13, align 8, !tbaa !14 %23 = getelementptr inbounds %struct.nf_nat_hooks_net, ptr %12, i64 %1, i32 1 %24 = load ptr, ptr %23, align 8, !tbaa !17 %25 = icmp eq i32 %3, 0 br i1 %25, label %38, label %26 26: ; preds = %20 %27 = zext i32 %3 to i64 br label %28 28: ; preds = %26, %33 %29 = phi i64 [ 0, %26 ], [ %34, %33 ] %30 = getelementptr inbounds %struct.nf_hook_ops, ptr %24, i64 %29 %31 = load i32, ptr %30, align 8, !tbaa !9 %32 = icmp eq i32 %31, %7 br i1 %32, label %36, label %33 33: ; preds = %28 %34 = add nuw nsw i64 %29, 1 %35 = icmp eq i64 %34, %27 br i1 %35, label %38, label %28, !llvm.loop !18 36: ; preds = %28 %37 = trunc i64 %29 to i32 br label %38 38: ; preds = %33, %36, %20 %39 = phi i32 [ 0, %20 ], [ %37, %36 ], [ %3, %33 ] %40 = phi i32 [ %7, %20 ], [ %37, %36 ], [ %7, %33 ] %41 = icmp eq i32 %39, %3 %42 = zext i1 %41 to i32 %43 = tail call i64 @WARN_ON_ONCE(i32 noundef %42) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %66 45: ; preds = %38 %46 = sext i32 %40 to i64 %47 = getelementptr inbounds %struct.nf_hook_ops, ptr %24, i64 %46, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !20 %49 = tail call i32 @nf_hook_entries_delete_raw(ptr noundef %48, ptr noundef nonnull %2) #2 %50 = load i64, ptr %13, align 8, !tbaa !14 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %66 52: ; preds = %45 %53 = tail call i32 @nf_unregister_net_hooks(ptr noundef %0, ptr noundef nonnull %24, i32 noundef %3) #2 br i1 %25, label %64, label %54 54: ; preds = %52 %55 = zext i32 %3 to i64 br label %56 56: ; preds = %54, %56 %57 = phi i64 [ 0, %54 ], [ %62, %56 ] %58 = getelementptr inbounds %struct.nf_hook_ops, ptr %24, i64 %57, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !20 %60 = load i32, ptr @rcu_head, align 4, !tbaa !5 %61 = tail call i32 @kfree_rcu(ptr noundef %59, i32 noundef %60) #2 %62 = add nuw nsw i64 %57, 1 %63 = icmp eq i64 %62, %55 br i1 %63, label %64, label %56, !llvm.loop !21 64: ; preds = %56, %52 store ptr null, ptr %23, align 8, !tbaa !17 %65 = tail call i32 @kfree(ptr noundef nonnull %24) #2 br label %66 66: ; preds = %45, %64, %38, %11 %67 = tail call i32 @mutex_unlock(ptr noundef nonnull @nf_nat_proto_mutex) #2 br label %68 68: ; preds = %4, %66 ret void } declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @nf_hook_entries_delete_raw(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nf_unregister_net_hooks(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree_rcu(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"nf_hook_ops", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"nat_net", !11, i64 0} !14 = !{!15, !16, i64 0} !15 = !{!"nf_nat_hooks_net", !16, i64 0, !11, i64 8} !16 = !{!"long", !7, i64 0} !17 = !{!15, !11, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!10, !11, i64 8} !21 = distinct !{!21, !19}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_nat_core.c_nf_nat_unregister_fn.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_nat_core.c_nf_nat_unregister_fn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nf_nat_hooks_net = type { i64, ptr } %struct.nf_hook_ops = type { i32, ptr } @nat_net_id = common local_unnamed_addr global i32 0, align 4 @nf_nat_proto_mutex = common global i32 0, align 4 @rcu_head = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @nf_nat_unregister_fn(ptr noundef %0, i64 noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @nat_net_id, align 4, !tbaa !6 %6 = tail call ptr @net_generic(ptr noundef %0, i32 noundef %5) #2 %7 = load i32, ptr %2, align 8, !tbaa !10 %8 = load ptr, ptr %6, align 8, !tbaa !13 %9 = tail call i64 @ARRAY_SIZE(ptr noundef %8) #2 %10 = icmp ugt i64 %9, %1 br i1 %10, label %11, label %68 11: ; preds = %4 %12 = load ptr, ptr %6, align 8, !tbaa !13 %13 = getelementptr inbounds %struct.nf_nat_hooks_net, ptr %12, i64 %1 %14 = tail call i32 @mutex_lock(ptr noundef nonnull @nf_nat_proto_mutex) #2 %15 = load i64, ptr %13, align 8, !tbaa !15 %16 = icmp eq i64 %15, 0 %17 = zext i1 %16 to i32 %18 = tail call i64 @WARN_ON(i32 noundef %17) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %66 20: ; preds = %11 %21 = load i64, ptr %13, align 8, !tbaa !15 %22 = add nsw i64 %21, -1 store i64 %22, ptr %13, align 8, !tbaa !15 %23 = getelementptr inbounds i8, ptr %13, i64 8 %24 = load ptr, ptr %23, align 8, !tbaa !18 %25 = icmp eq i32 %3, 0 br i1 %25, label %38, label %26 26: ; preds = %20 %27 = zext i32 %3 to i64 br label %28 28: ; preds = %26, %33 %29 = phi i64 [ 0, %26 ], [ %34, %33 ] %30 = getelementptr inbounds %struct.nf_hook_ops, ptr %24, i64 %29 %31 = load i32, ptr %30, align 8, !tbaa !10 %32 = icmp eq i32 %31, %7 br i1 %32, label %36, label %33 33: ; preds = %28 %34 = add nuw nsw i64 %29, 1 %35 = icmp eq i64 %34, %27 br i1 %35, label %38, label %28, !llvm.loop !19 36: ; preds = %28 %37 = trunc nuw nsw i64 %29 to i32 br label %38 38: ; preds = %33, %36, %20 %39 = phi i32 [ 0, %20 ], [ %37, %36 ], [ %3, %33 ] %40 = phi i32 [ %7, %20 ], [ %37, %36 ], [ %7, %33 ] %41 = icmp eq i32 %39, %3 %42 = zext i1 %41 to i32 %43 = tail call i64 @WARN_ON_ONCE(i32 noundef %42) #2 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %66 45: ; preds = %38 %46 = sext i32 %40 to i64 %47 = getelementptr inbounds %struct.nf_hook_ops, ptr %24, i64 %46, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !21 %49 = tail call i32 @nf_hook_entries_delete_raw(ptr noundef %48, ptr noundef nonnull %2) #2 %50 = load i64, ptr %13, align 8, !tbaa !15 %51 = icmp eq i64 %50, 0 br i1 %51, label %52, label %66 52: ; preds = %45 %53 = tail call i32 @nf_unregister_net_hooks(ptr noundef %0, ptr noundef nonnull %24, i32 noundef %3) #2 br i1 %25, label %64, label %54 54: ; preds = %52 %55 = zext i32 %3 to i64 br label %56 56: ; preds = %54, %56 %57 = phi i64 [ 0, %54 ], [ %62, %56 ] %58 = getelementptr inbounds %struct.nf_hook_ops, ptr %24, i64 %57, i32 1 %59 = load ptr, ptr %58, align 8, !tbaa !21 %60 = load i32, ptr @rcu_head, align 4, !tbaa !6 %61 = tail call i32 @kfree_rcu(ptr noundef %59, i32 noundef %60) #2 %62 = add nuw nsw i64 %57, 1 %63 = icmp eq i64 %62, %55 br i1 %63, label %64, label %56, !llvm.loop !22 64: ; preds = %56, %52 store ptr null, ptr %23, align 8, !tbaa !18 %65 = tail call i32 @kfree(ptr noundef nonnull %24) #2 br label %66 66: ; preds = %45, %64, %38, %11 %67 = tail call i32 @mutex_unlock(ptr noundef nonnull @nf_nat_proto_mutex) #2 br label %68 68: ; preds = %4, %66 ret void } declare ptr @net_generic(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @WARN_ON_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @nf_hook_entries_delete_raw(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nf_unregister_net_hooks(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree_rcu(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"nf_hook_ops", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"nat_net", !12, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"nf_nat_hooks_net", !17, i64 0, !12, i64 8} !17 = !{!"long", !8, i64 0} !18 = !{!16, !12, i64 8} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!11, !12, i64 8} !22 = distinct !{!22, !20}
linux_net_netfilter_extr_nf_nat_core.c_nf_nat_unregister_fn
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_inject.c_mce_raise_notify.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_inject.c_mce_raise_notify.c" target datalayout = "e-m:e-p270:32:32-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.mce = type { i32, i64 } @injectm = dso_local global i32 0, align 4 @mce_inject_cpumask = dso_local local_unnamed_addr global i32 0, align 4 @NMI_DONE = dso_local local_unnamed_addr global i32 0, align 4 @MCJ_EXCEPTION = dso_local local_unnamed_addr global i32 0, align 4 @NMI_HANDLED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mce_raise_notify], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mce_raise_notify(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 (...) @smp_processor_id() #2 %4 = tail call ptr @this_cpu_ptr(ptr noundef nonnull @injectm) #2 %5 = load i32, ptr @mce_inject_cpumask, align 4, !tbaa !5 %6 = tail call i32 @cpumask_test_cpu(i32 noundef %3, i32 noundef %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %23, label %8 8: ; preds = %2 %9 = load i32, ptr @mce_inject_cpumask, align 4, !tbaa !5 %10 = tail call i32 @cpumask_clear_cpu(i32 noundef %3, i32 noundef %9) #2 %11 = load i32, ptr %4, align 8, !tbaa !9 %12 = load i32, ptr @MCJ_EXCEPTION, align 4, !tbaa !5 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %8 %16 = tail call i32 @raise_exception(ptr noundef nonnull %4, ptr noundef %1) #2 br label %23 17: ; preds = %8 %18 = getelementptr inbounds %struct.mce, ptr %4, i64 0, i32 1 %19 = load i64, ptr %18, align 8, !tbaa !12 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @raise_poll(ptr noundef nonnull %4) #2 br label %23 23: ; preds = %15, %21, %17, %2 %24 = phi ptr [ @NMI_DONE, %2 ], [ @NMI_HANDLED, %17 ], [ @NMI_HANDLED, %21 ], [ @NMI_HANDLED, %15 ] %25 = load i32, ptr %24, align 4, !tbaa !5 ret i32 %25 } declare i32 @smp_processor_id(...) local_unnamed_addr #1 declare ptr @this_cpu_ptr(ptr noundef) local_unnamed_addr #1 declare i32 @cpumask_test_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpumask_clear_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @raise_exception(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @raise_poll(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"mce", !6, i64 0, !11, i64 8} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_inject.c_mce_raise_notify.c' source_filename = "AnghaBench/linux/arch/x86/kernel/cpu/mce/extr_inject.c_mce_raise_notify.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @injectm = common global i32 0, align 4 @mce_inject_cpumask = common local_unnamed_addr global i32 0, align 4 @NMI_DONE = common local_unnamed_addr global i32 0, align 4 @MCJ_EXCEPTION = common local_unnamed_addr global i32 0, align 4 @NMI_HANDLED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mce_raise_notify], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mce_raise_notify(i32 %0, ptr noundef %1) #0 { %3 = tail call i32 @smp_processor_id() #2 %4 = tail call ptr @this_cpu_ptr(ptr noundef nonnull @injectm) #2 %5 = load i32, ptr @mce_inject_cpumask, align 4, !tbaa !6 %6 = tail call i32 @cpumask_test_cpu(i32 noundef %3, i32 noundef %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %23, label %8 8: ; preds = %2 %9 = load i32, ptr @mce_inject_cpumask, align 4, !tbaa !6 %10 = tail call i32 @cpumask_clear_cpu(i32 noundef %3, i32 noundef %9) #2 %11 = load i32, ptr %4, align 8, !tbaa !10 %12 = load i32, ptr @MCJ_EXCEPTION, align 4, !tbaa !6 %13 = and i32 %12, %11 %14 = icmp eq i32 %13, 0 br i1 %14, label %17, label %15 15: ; preds = %8 %16 = tail call i32 @raise_exception(ptr noundef nonnull %4, ptr noundef %1) #2 br label %23 17: ; preds = %8 %18 = getelementptr inbounds i8, ptr %4, i64 8 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call i32 @raise_poll(ptr noundef nonnull %4) #2 br label %23 23: ; preds = %15, %21, %17, %2 %24 = phi ptr [ @NMI_DONE, %2 ], [ @NMI_HANDLED, %17 ], [ @NMI_HANDLED, %21 ], [ @NMI_HANDLED, %15 ] %25 = load i32, ptr %24, align 4, !tbaa !6 ret i32 %25 } declare i32 @smp_processor_id(...) local_unnamed_addr #1 declare ptr @this_cpu_ptr(ptr noundef) local_unnamed_addr #1 declare i32 @cpumask_test_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cpumask_clear_cpu(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @raise_exception(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @raise_poll(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"mce", !7, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8}
linux_arch_x86_kernel_cpu_mce_extr_inject.c_mce_raise_notify
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_smb2ops.c_smb3_init_transform_rq.c' source_filename = "AnghaBench/linux/fs/cifs/extr_smb2ops.c_smb3_init_transform_rq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.smb_rqst = type { i32, ptr, i32, ptr, 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 @__GFP_HIGHMEM = dso_local local_unnamed_addr global i32 0, align 4 @FYI = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Encrypt message returned %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @smb3_init_transform_rq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @smb3_init_transform_rq(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 0, i32 3 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 %12 = icmp sgt i32 %1, 1 br i1 %12, label %13, label %95 13: ; preds = %4 %14 = zext nneg i32 %1 to i64 br label %15 15: ; preds = %13, %92 %16 = phi i64 [ 1, %13 ], [ %93, %92 ] %17 = phi i32 [ 0, %13 ], [ %41, %92 ] %18 = getelementptr %struct.smb_rqst, ptr %3, i64 %16 %19 = getelementptr %struct.smb_rqst, ptr %18, i64 -1 %20 = load i32, ptr %19, align 8, !tbaa !14 %21 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %22 = call ptr @kmalloc_array(i32 noundef %20, i32 noundef 8, i32 noundef %21) #3 %23 = icmp eq ptr %22, null br i1 %23, label %103, label %24 24: ; preds = %15 %25 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16 %26 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16, i32 1 store ptr %22, ptr %26, align 8, !tbaa !15 store i32 %20, ptr %25, align 8, !tbaa !14 %27 = getelementptr %struct.smb_rqst, ptr %18, i64 -1, i32 6 %28 = load i32, ptr %27, align 8, !tbaa !16 %29 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16, i32 6 store i32 %28, ptr %29, align 8, !tbaa !16 %30 = getelementptr %struct.smb_rqst, ptr %18, i64 -1, i32 4 %31 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16, i32 4 %32 = load <2 x i32>, ptr %30, align 8, !tbaa !13 store <2 x i32> %32, ptr %31, align 8, !tbaa !13 %33 = getelementptr %struct.smb_rqst, ptr %18, i64 -1, i32 3 %34 = load ptr, ptr %33, align 8, !tbaa !5 %35 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16, i32 3 store ptr %34, ptr %35, align 8, !tbaa !5 %36 = getelementptr %struct.smb_rqst, ptr %18, i64 -1, i32 2 %37 = load i32, ptr %36, align 8, !tbaa !17 %38 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16, i32 2 store i32 %37, ptr %38, align 8, !tbaa !17 %39 = call i64 @smb_rqst_len(ptr noundef %0, ptr noundef nonnull %19) #3 %40 = trunc i64 %39 to i32 %41 = add i32 %17, %40 %42 = icmp eq i32 %20, 0 br i1 %42, label %92, label %43 43: ; preds = %24 %44 = zext i32 %20 to i64 br label %52 45: ; preds = %52 %46 = add nuw nsw i64 %53, 1 %47 = icmp eq i64 %46, %44 br i1 %47, label %48, label %52, !llvm.loop !18 48: ; preds = %45 br i1 %42, label %92, label %49 49: ; preds = %48 %50 = getelementptr %struct.smb_rqst, ptr %18, i64 -1, i32 1 %51 = zext i32 %20 to i64 br label %60 52: ; preds = %43, %45 %53 = phi i64 [ 0, %43 ], [ %46, %45 ] %54 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %55 = load i32, ptr @__GFP_HIGHMEM, align 4, !tbaa !13 %56 = or i32 %55, %54 %57 = call ptr @alloc_page(i32 noundef %56) #3 %58 = getelementptr inbounds ptr, ptr %22, i64 %53 store ptr %57, ptr %58, align 8, !tbaa !20 %59 = icmp eq ptr %57, null br i1 %59, label %103, label %45 60: ; preds = %49, %60 %61 = phi i64 [ 0, %49 ], [ %90, %60 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %62 = trunc i64 %61 to i32 %63 = call i32 @rqst_page_get_length(ptr noundef nonnull %25, i32 noundef %62, ptr noundef nonnull %6, ptr noundef nonnull %5) #3 %64 = load ptr, ptr %26, align 8, !tbaa !15 %65 = getelementptr inbounds ptr, ptr %64, i64 %61 %66 = load ptr, ptr %65, align 8, !tbaa !20 %67 = call i64 @kmap(ptr noundef %66) #3 %68 = inttoptr i64 %67 to ptr %69 = load i32, ptr %5, align 4, !tbaa !13 %70 = zext i32 %69 to i64 %71 = getelementptr inbounds i8, ptr %68, i64 %70 %72 = load ptr, ptr %50, align 8, !tbaa !15 %73 = getelementptr inbounds ptr, ptr %72, i64 %61 %74 = load ptr, ptr %73, align 8, !tbaa !20 %75 = call i64 @kmap(ptr noundef %74) #3 %76 = inttoptr i64 %75 to ptr %77 = load i32, ptr %5, align 4, !tbaa !13 %78 = zext i32 %77 to i64 %79 = getelementptr inbounds i8, ptr %76, i64 %78 %80 = load i32, ptr %6, align 4, !tbaa !13 %81 = call i32 @memcpy(ptr noundef %71, ptr noundef %79, i32 noundef %80) #3 %82 = load ptr, ptr %26, align 8, !tbaa !15 %83 = getelementptr inbounds ptr, ptr %82, i64 %61 %84 = load ptr, ptr %83, align 8, !tbaa !20 %85 = call i32 @kunmap(ptr noundef %84) #3 %86 = load ptr, ptr %50, align 8, !tbaa !15 %87 = getelementptr inbounds ptr, ptr %86, i64 %61 %88 = load ptr, ptr %87, align 8, !tbaa !20 %89 = call i32 @kunmap(ptr noundef %88) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 %90 = add nuw nsw i64 %61, 1 %91 = icmp eq i64 %90, %51 br i1 %91, label %92, label %60, !llvm.loop !21 92: ; preds = %60, %24, %48 %93 = add nuw nsw i64 %16, 1 %94 = icmp eq i64 %93, %14 br i1 %94, label %95, label %15, !llvm.loop !22 95: ; preds = %92, %4 %96 = phi i32 [ 0, %4 ], [ %41, %92 ] %97 = load i32, ptr %0, align 4, !tbaa !23 %98 = call i32 @fill_transform_hdr(ptr noundef %9, i32 noundef %96, ptr noundef %3, i32 noundef %97) #3 %99 = call i32 @crypt_message(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, i32 noundef 1) #3 %100 = load i32, ptr @FYI, align 4, !tbaa !13 %101 = call i32 @cifs_dbg(i32 noundef %100, ptr noundef nonnull @.str, i32 noundef %99) #3 %102 = icmp eq i32 %99, 0 br i1 %102, label %108, label %103 103: ; preds = %15, %52, %95 %104 = phi i32 [ %99, %95 ], [ %11, %52 ], [ %11, %15 ] %105 = add nsw i32 %1, -1 %106 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 1 %107 = call i32 @smb3_free_compound_rqst(i32 noundef %105, ptr noundef nonnull %106) #3 br label %108 108: ; preds = %95, %103 %109 = phi i32 [ %104, %103 ], [ 0, %95 ] ret i32 %109 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @kmalloc_array(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @smb_rqst_len(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @alloc_page(i32 noundef) local_unnamed_addr #2 declare i32 @rqst_page_get_length(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @kmap(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kunmap(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 @fill_transform_hdr(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @crypt_message(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cifs_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @smb3_free_compound_rqst(i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 24} !6 = !{!"smb_rqst", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !7, i64 40} !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_2__", !10, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!6, !10, i64 8} !16 = !{!6, !7, i64 40} !17 = !{!6, !7, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!10, !10, i64 0} !21 = distinct !{!21, !19} !22 = distinct !{!22, !19} !23 = !{!24, !7, i64 0} !24 = !{!"TCP_Server_Info", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_smb2ops.c_smb3_init_transform_rq.c' source_filename = "AnghaBench/linux/fs/cifs/extr_smb2ops.c_smb3_init_transform_rq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.smb_rqst = type { i32, ptr, i32, ptr, i32, i32, i32 } @ENOMEM = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @__GFP_HIGHMEM = common local_unnamed_addr global i32 0, align 4 @FYI = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Encrypt message returned %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @smb3_init_transform_rq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @smb3_init_transform_rq(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = getelementptr inbounds i8, ptr %2, i64 24 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !14 %11 = sub nsw i32 0, %10 %12 = icmp sgt i32 %1, 1 br i1 %12, label %13, label %93 13: ; preds = %4 %14 = zext nneg i32 %1 to i64 br label %15 15: ; preds = %13, %90 %16 = phi i64 [ 1, %13 ], [ %91, %90 ] %17 = phi i32 [ 0, %13 ], [ %41, %90 ] %18 = getelementptr %struct.smb_rqst, ptr %3, i64 %16 %19 = getelementptr i8, ptr %18, i64 -48 %20 = load i32, ptr %19, align 8, !tbaa !15 %21 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %22 = call ptr @kmalloc_array(i32 noundef %20, i32 noundef 8, i32 noundef %21) #3 %23 = icmp eq ptr %22, null br i1 %23, label %101, label %24 24: ; preds = %15 %25 = getelementptr inbounds %struct.smb_rqst, ptr %2, i64 %16 %26 = getelementptr inbounds i8, ptr %25, i64 8 store ptr %22, ptr %26, align 8, !tbaa !16 store i32 %20, ptr %25, align 8, !tbaa !15 %27 = getelementptr i8, ptr %18, i64 -8 %28 = load i32, ptr %27, align 8, !tbaa !17 %29 = getelementptr inbounds i8, ptr %25, i64 40 store i32 %28, ptr %29, align 8, !tbaa !17 %30 = getelementptr i8, ptr %18, i64 -16 %31 = getelementptr inbounds i8, ptr %25, i64 32 %32 = load <2 x i32>, ptr %30, align 8, !tbaa !14 store <2 x i32> %32, ptr %31, align 8, !tbaa !14 %33 = getelementptr i8, ptr %18, i64 -24 %34 = load ptr, ptr %33, align 8, !tbaa !6 %35 = getelementptr inbounds i8, ptr %25, i64 24 store ptr %34, ptr %35, align 8, !tbaa !6 %36 = getelementptr i8, ptr %18, i64 -32 %37 = load i32, ptr %36, align 8, !tbaa !18 %38 = getelementptr inbounds i8, ptr %25, i64 16 store i32 %37, ptr %38, align 8, !tbaa !18 %39 = call i64 @smb_rqst_len(ptr noundef %0, ptr noundef nonnull %19) #3 %40 = trunc i64 %39 to i32 %41 = add i32 %17, %40 %42 = icmp eq i32 %20, 0 br i1 %42, label %90, label %43 43: ; preds = %24 %44 = zext i32 %20 to i64 br label %50 45: ; preds = %50 %46 = add nuw nsw i64 %51, 1 %47 = icmp eq i64 %46, %44 br i1 %47, label %48, label %50, !llvm.loop !19 48: ; preds = %45 %49 = getelementptr i8, ptr %18, i64 -40 br label %58 50: ; preds = %43, %45 %51 = phi i64 [ 0, %43 ], [ %46, %45 ] %52 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %53 = load i32, ptr @__GFP_HIGHMEM, align 4, !tbaa !14 %54 = or i32 %53, %52 %55 = call ptr @alloc_page(i32 noundef %54) #3 %56 = getelementptr inbounds ptr, ptr %22, i64 %51 store ptr %55, ptr %56, align 8, !tbaa !21 %57 = icmp eq ptr %55, null br i1 %57, label %101, label %45 58: ; preds = %48, %58 %59 = phi i64 [ 0, %48 ], [ %88, %58 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %60 = trunc nuw nsw i64 %59 to i32 %61 = call i32 @rqst_page_get_length(ptr noundef nonnull %25, i32 noundef %60, ptr noundef nonnull %6, ptr noundef nonnull %5) #3 %62 = load ptr, ptr %26, align 8, !tbaa !16 %63 = getelementptr inbounds ptr, ptr %62, i64 %59 %64 = load ptr, ptr %63, align 8, !tbaa !21 %65 = call i64 @kmap(ptr noundef %64) #3 %66 = inttoptr i64 %65 to ptr %67 = load i32, ptr %5, align 4, !tbaa !14 %68 = zext i32 %67 to i64 %69 = getelementptr inbounds i8, ptr %66, i64 %68 %70 = load ptr, ptr %49, align 8, !tbaa !16 %71 = getelementptr inbounds ptr, ptr %70, i64 %59 %72 = load ptr, ptr %71, align 8, !tbaa !21 %73 = call i64 @kmap(ptr noundef %72) #3 %74 = inttoptr i64 %73 to ptr %75 = load i32, ptr %5, align 4, !tbaa !14 %76 = zext i32 %75 to i64 %77 = getelementptr inbounds i8, ptr %74, i64 %76 %78 = load i32, ptr %6, align 4, !tbaa !14 %79 = call i32 @memcpy(ptr noundef %69, ptr noundef %77, i32 noundef %78) #3 %80 = load ptr, ptr %26, align 8, !tbaa !16 %81 = getelementptr inbounds ptr, ptr %80, i64 %59 %82 = load ptr, ptr %81, align 8, !tbaa !21 %83 = call i32 @kunmap(ptr noundef %82) #3 %84 = load ptr, ptr %49, align 8, !tbaa !16 %85 = getelementptr inbounds ptr, ptr %84, i64 %59 %86 = load ptr, ptr %85, align 8, !tbaa !21 %87 = call i32 @kunmap(ptr noundef %86) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 %88 = add nuw nsw i64 %59, 1 %89 = icmp eq i64 %88, %44 br i1 %89, label %90, label %58, !llvm.loop !22 90: ; preds = %58, %24 %91 = add nuw nsw i64 %16, 1 %92 = icmp eq i64 %91, %14 br i1 %92, label %93, label %15, !llvm.loop !23 93: ; preds = %90, %4 %94 = phi i32 [ 0, %4 ], [ %41, %90 ] %95 = load i32, ptr %0, align 4, !tbaa !24 %96 = call i32 @fill_transform_hdr(ptr noundef %9, i32 noundef %94, ptr noundef %3, i32 noundef %95) #3 %97 = call i32 @crypt_message(ptr noundef nonnull %0, i32 noundef %1, ptr noundef %2, i32 noundef 1) #3 %98 = load i32, ptr @FYI, align 4, !tbaa !14 %99 = call i32 @cifs_dbg(i32 noundef %98, ptr noundef nonnull @.str, i32 noundef %97) #3 %100 = icmp eq i32 %97, 0 br i1 %100, label %106, label %101 101: ; preds = %15, %50, %93 %102 = phi i32 [ %97, %93 ], [ %11, %50 ], [ %11, %15 ] %103 = add nsw i32 %1, -1 %104 = getelementptr inbounds i8, ptr %2, i64 48 %105 = call i32 @smb3_free_compound_rqst(i32 noundef %103, ptr noundef nonnull %104) #3 br label %106 106: ; preds = %93, %101 %107 = phi i32 [ %102, %101 ], [ 0, %93 ] 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 ptr @kmalloc_array(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @smb_rqst_len(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @alloc_page(i32 noundef) local_unnamed_addr #2 declare i32 @rqst_page_get_length(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @kmap(ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kunmap(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 @fill_transform_hdr(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @crypt_message(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cifs_dbg(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @smb3_free_compound_rqst(i32 noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 24} !7 = !{!"smb_rqst", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !8, i64 32, !8, i64 36, !8, i64 40} !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_2__", !11, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!7, !11, i64 8} !17 = !{!7, !8, i64 40} !18 = !{!7, !8, i64 16} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!11, !11, i64 0} !22 = distinct !{!22, !20} !23 = distinct !{!23, !20} !24 = !{!25, !8, i64 0} !25 = !{!"TCP_Server_Info", !8, i64 0}
linux_fs_cifs_extr_smb2ops.c_smb3_init_transform_rq
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_tx_skb_cb_info.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_tx_skb_cb_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @rtl_tx_skb_cb_info], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @rtl_tx_skb_cb_info(ptr noundef %0) #0 { %2 = tail call ptr @IEEE80211_SKB_CB(ptr noundef %0) #2 %3 = tail call i32 @BUILD_BUG_ON(i32 noundef 0) #2 %4 = load i64, ptr %2, align 8, !tbaa !5 %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare ptr @IEEE80211_SKB_CB(ptr noundef) local_unnamed_addr #1 declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"ieee80211_tx_info", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_tx_skb_cb_info.c' source_filename = "AnghaBench/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/extr_..btcoexist..wifi.h_rtl_tx_skb_cb_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 @rtl_tx_skb_cb_info], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @rtl_tx_skb_cb_info(ptr noundef %0) #0 { %2 = tail call ptr @IEEE80211_SKB_CB(ptr noundef %0) #2 %3 = tail call i32 @BUILD_BUG_ON(i32 noundef 0) #2 %4 = load i64, ptr %2, align 8, !tbaa !6 %5 = inttoptr i64 %4 to ptr ret ptr %5 } declare ptr @IEEE80211_SKB_CB(ptr noundef) local_unnamed_addr #1 declare i32 @BUILD_BUG_ON(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"ieee80211_tx_info", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_realtek_rtlwifi_rtl8723ae_extr_..btcoexist..wifi.h_rtl_tx_skb_cb_info
; ModuleID = 'AnghaBench/linux/drivers/s390/cio/extr_qdio_thinint.c_clear_nonshared_ind.c' source_filename = "AnghaBench/linux/drivers/s390/cio/extr_qdio_thinint.c_clear_nonshared_ind.c" target datalayout = "e-m:e-p270:32:32-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 @clear_nonshared_ind(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @is_thinint_irq(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = tail call i64 @shared_ind(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i32 @xchg(i32 noundef %8, i32 noundef 0) #2 br label %10 10: ; preds = %4, %1, %7 ret void } declare i32 @is_thinint_irq(ptr noundef) local_unnamed_addr #1 declare i64 @shared_ind(ptr noundef) local_unnamed_addr #1 declare i32 @xchg(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 = !{!"qdio_irq", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/s390/cio/extr_qdio_thinint.c_clear_nonshared_ind.c' source_filename = "AnghaBench/linux/drivers/s390/cio/extr_qdio_thinint.c_clear_nonshared_ind.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 @clear_nonshared_ind(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @is_thinint_irq(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %10, label %4 4: ; preds = %1 %5 = tail call i64 @shared_ind(ptr noundef %0) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i32 @xchg(i32 noundef %8, i32 noundef 0) #2 br label %10 10: ; preds = %4, %1, %7 ret void } declare i32 @is_thinint_irq(ptr noundef) local_unnamed_addr #1 declare i64 @shared_ind(ptr noundef) local_unnamed_addr #1 declare i32 @xchg(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 = !{!"qdio_irq", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_s390_cio_extr_qdio_thinint.c_clear_nonshared_ind
; ModuleID = 'AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_log_callback_null.c' source_filename = "AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_log_callback_null.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @log_callback_null], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @log_callback_null(ptr nocapture readnone %0, i32 %1, ptr nocapture readnone %2, i32 %3) #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/FFmpeg/fftools/extr_ffmpeg.c_log_callback_null.c' source_filename = "AnghaBench/FFmpeg/fftools/extr_ffmpeg.c_log_callback_null.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @log_callback_null], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @log_callback_null(ptr nocapture readnone %0, i32 %1, ptr nocapture readnone %2, i32 %3) #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)"}
FFmpeg_fftools_extr_ffmpeg.c_log_callback_null
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_is_al_reg.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_is_al_reg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i64 } @OT_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @X86R_AL = dso_local local_unnamed_addr global i64 0, align 8 @OT_BYTE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @is_al_reg], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @is_al_reg(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = load i32, ptr @OT_MEMORY, align 4, !tbaa !11 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %16 6: ; preds = %1 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !12 %9 = load i64, ptr @X86R_AL, align 8, !tbaa !13 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %15 11: ; preds = %6 %12 = load i32, ptr @OT_BYTE, align 4, !tbaa !11 %13 = and i32 %12, %2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %6 br label %16 16: ; preds = %11, %1, %15 %17 = phi i32 [ 0, %15 ], [ 0, %1 ], [ 1, %11 ] ret i32 %17 } 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_3__", !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 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_is_al_reg.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_is_al_reg.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OT_MEMORY = common local_unnamed_addr global i32 0, align 4 @X86R_AL = common local_unnamed_addr global i64 0, align 8 @OT_BYTE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @is_al_reg], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @is_al_reg(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = load i32, ptr @OT_MEMORY, align 4, !tbaa !12 %4 = and i32 %3, %2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %16 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !13 %9 = load i64, ptr @X86R_AL, align 8, !tbaa !14 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %15 11: ; preds = %6 %12 = load i32, ptr @OT_BYTE, align 4, !tbaa !12 %13 = and i32 %12, %2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %16 15: ; preds = %11, %6 br label %16 16: ; preds = %11, %1, %15 %17 = phi i32 [ 0, %15 ], [ 0, %1 ], [ 1, %11 ] ret i32 %17 } 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_3__", !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 = !{!11, !11, i64 0}
radare2_libr_asm_p_extr_asm_x86_nz.c_is_al_reg
; ModuleID = 'AnghaBench/timescaledb/tsl/src/extr_license.c_license_switch_to.c' source_filename = "AnghaBench/timescaledb/tsl/src/extr_license.c_license_switch_to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @current_license = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @license_switch_to(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @Assert(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !5 store i32 %5, ptr @current_license, align 4, !tbaa !5 ret void } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/timescaledb/tsl/src/extr_license.c_license_switch_to.c' source_filename = "AnghaBench/timescaledb/tsl/src/extr_license.c_license_switch_to.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @current_license = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @license_switch_to(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp ne ptr %0, null %3 = zext i1 %2 to i32 %4 = tail call i32 @Assert(i32 noundef %3) #2 %5 = load i32, ptr %0, align 4, !tbaa !6 store i32 %5, ptr @current_license, align 4, !tbaa !6 ret void } declare i32 @Assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
timescaledb_tsl_src_extr_license.c_license_switch_to
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_csa.c_csa_clearserialfifos.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_csa.c_csa_clearserialfifos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BA0_CLKCR1 = dso_local local_unnamed_addr global i32 0, align 4 @CLKCR1_SWCE = dso_local local_unnamed_addr global i32 0, align 4 @BA0_SERBWP = dso_local local_unnamed_addr global i32 0, align 4 @BA0_SERBST = dso_local local_unnamed_addr global i32 0, align 4 @SERBST_WBSY = dso_local local_unnamed_addr global i32 0, align 4 @BA0_SERBAD = dso_local local_unnamed_addr global i32 0, align 4 @BA0_SERBCM = dso_local local_unnamed_addr global i32 0, align 4 @SERBCM_WRC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @csa_clearserialfifos(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !5 %3 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @CLKCR1_SWCE, align 4, !tbaa !5 %5 = and i32 %4, %3 %6 = icmp ne i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !5 %9 = or i32 %4, %3 %10 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %7, %1 %12 = load i32, ptr @BA0_SERBWP, align 4, !tbaa !5 %13 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %12, i32 noundef 0) #2 br label %14 14: ; preds = %11, %33 %15 = phi i32 [ 0, %11 ], [ %39, %33 ] br label %16 16: ; preds = %16, %14 %17 = phi i32 [ 0, %14 ], [ %24, %16 ] %18 = tail call i32 @DELAY(i32 noundef 100) #2 %19 = load i32, ptr @BA0_SERBST, align 4, !tbaa !5 %20 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %19) #2 %21 = load i32, ptr @SERBST_WBSY, align 4, !tbaa !5 %22 = and i32 %21, %20 %23 = icmp ne i32 %22, 0 %24 = add nuw nsw i32 %17, 1 %25 = icmp ult i32 %17, 4 %26 = select i1 %23, i1 %25, i1 false br i1 %26, label %16, label %27, !llvm.loop !9 27: ; preds = %16 %28 = icmp eq i32 %22, 0 %29 = or i1 %6, %28 br i1 %29, label %33, label %30 30: ; preds = %27 %31 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !5 %32 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %31, i32 noundef %3) #2 br label %33 33: ; preds = %30, %27 %34 = load i32, ptr @BA0_SERBAD, align 4, !tbaa !5 %35 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %34, i32 noundef %15) #2 %36 = load i32, ptr @BA0_SERBCM, align 4, !tbaa !5 %37 = load i32, ptr @SERBCM_WRC, align 4, !tbaa !5 %38 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %36, i32 noundef %37) #2 %39 = add nuw nsw i32 %15, 1 %40 = icmp eq i32 %39, 256 br i1 %40, label %41, label %14, !llvm.loop !11 41: ; preds = %33 br i1 %6, label %45, label %42 42: ; preds = %41 %43 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !5 %44 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %43, i32 noundef %3) #2 br label %45 45: ; preds = %42, %41 ret void } declare i32 @csa_readio(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csa_writeio(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DELAY(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = distinct !{!11, !10}
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/pci/extr_csa.c_csa_clearserialfifos.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/pci/extr_csa.c_csa_clearserialfifos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BA0_CLKCR1 = common local_unnamed_addr global i32 0, align 4 @CLKCR1_SWCE = common local_unnamed_addr global i32 0, align 4 @BA0_SERBWP = common local_unnamed_addr global i32 0, align 4 @BA0_SERBST = common local_unnamed_addr global i32 0, align 4 @SERBST_WBSY = common local_unnamed_addr global i32 0, align 4 @BA0_SERBAD = common local_unnamed_addr global i32 0, align 4 @BA0_SERBCM = common local_unnamed_addr global i32 0, align 4 @SERBCM_WRC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @csa_clearserialfifos(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !6 %3 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %2) #2 %4 = load i32, ptr @CLKCR1_SWCE, align 4, !tbaa !6 %5 = and i32 %4, %3 %6 = icmp ne i32 %5, 0 br i1 %6, label %11, label %7 7: ; preds = %1 %8 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !6 %9 = or i32 %4, %3 %10 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %8, i32 noundef %9) #2 br label %11 11: ; preds = %7, %1 %12 = load i32, ptr @BA0_SERBWP, align 4, !tbaa !6 %13 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %12, i32 noundef 0) #2 br label %14 14: ; preds = %11, %56 %15 = phi i32 [ 0, %11 ], [ %62, %56 ] %16 = tail call i32 @DELAY(i32 noundef 100) #2 %17 = load i32, ptr @BA0_SERBST, align 4, !tbaa !6 %18 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %17) #2 %19 = load i32, ptr @SERBST_WBSY, align 4, !tbaa !6 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 br i1 %21, label %49, label %22, !llvm.loop !10 22: ; preds = %14 %23 = tail call i32 @DELAY(i32 noundef 100) #2 %24 = load i32, ptr @BA0_SERBST, align 4, !tbaa !6 %25 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %24) #2 %26 = load i32, ptr @SERBST_WBSY, align 4, !tbaa !6 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 br i1 %28, label %49, label %29, !llvm.loop !10 29: ; preds = %22 %30 = tail call i32 @DELAY(i32 noundef 100) #2 %31 = load i32, ptr @BA0_SERBST, align 4, !tbaa !6 %32 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %31) #2 %33 = load i32, ptr @SERBST_WBSY, align 4, !tbaa !6 %34 = and i32 %33, %32 %35 = icmp eq i32 %34, 0 br i1 %35, label %49, label %36, !llvm.loop !10 36: ; preds = %29 %37 = tail call i32 @DELAY(i32 noundef 100) #2 %38 = load i32, ptr @BA0_SERBST, align 4, !tbaa !6 %39 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %38) #2 %40 = load i32, ptr @SERBST_WBSY, align 4, !tbaa !6 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %49, label %43, !llvm.loop !10 43: ; preds = %36 %44 = tail call i32 @DELAY(i32 noundef 100) #2 %45 = load i32, ptr @BA0_SERBST, align 4, !tbaa !6 %46 = tail call i32 @csa_readio(ptr noundef %0, i32 noundef %45) #2 %47 = load i32, ptr @SERBST_WBSY, align 4, !tbaa !6 %48 = and i32 %47, %46 br label %49 49: ; preds = %43, %36, %29, %22, %14 %50 = phi i32 [ %20, %14 ], [ %27, %22 ], [ %34, %29 ], [ %41, %36 ], [ %48, %43 ] %51 = icmp eq i32 %50, 0 %52 = or i1 %6, %51 br i1 %52, label %56, label %53 53: ; preds = %49 %54 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !6 %55 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %54, i32 noundef %3) #2 br label %56 56: ; preds = %53, %49 %57 = load i32, ptr @BA0_SERBAD, align 4, !tbaa !6 %58 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %57, i32 noundef %15) #2 %59 = load i32, ptr @BA0_SERBCM, align 4, !tbaa !6 %60 = load i32, ptr @SERBCM_WRC, align 4, !tbaa !6 %61 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %59, i32 noundef %60) #2 %62 = add nuw nsw i32 %15, 1 %63 = icmp eq i32 %62, 256 br i1 %63, label %64, label %14, !llvm.loop !12 64: ; preds = %56 br i1 %6, label %68, label %65 65: ; preds = %64 %66 = load i32, ptr @BA0_CLKCR1, align 4, !tbaa !6 %67 = tail call i32 @csa_writeio(ptr noundef %0, i32 noundef %66, i32 noundef %3) #2 br label %68 68: ; preds = %65, %64 ret void } declare i32 @csa_readio(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @csa_writeio(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DELAY(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
freebsd_sys_dev_sound_pci_extr_csa.c_csa_clearserialfifos
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_change_page_attr_clear.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_change_page_attr_clear.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CPA_ARRAY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @change_page_attr_clear], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @change_page_attr_clear(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @__pgprot(i32 noundef 0) #2 %6 = icmp eq i32 %3, 0 %7 = load i32, ptr @CPA_ARRAY, align 4 %8 = select i1 %6, i32 0, i32 %7 %9 = tail call i32 @change_page_attr_set_clr(ptr noundef %0, i32 noundef %1, i32 noundef %5, i32 noundef %2, i32 noundef 0, i32 noundef %8, ptr noundef null) #2 ret i32 %9 } declare i32 @change_page_attr_set_clr(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__pgprot(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_change_page_attr_clear.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/mm/extr_pageattr.c_change_page_attr_clear.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CPA_ARRAY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @change_page_attr_clear], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @change_page_attr_clear(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @__pgprot(i32 noundef 0) #2 %6 = icmp eq i32 %3, 0 %7 = load i32, ptr @CPA_ARRAY, align 4 %8 = select i1 %6, i32 0, i32 %7 %9 = tail call i32 @change_page_attr_set_clr(ptr noundef %0, i32 noundef %1, i32 noundef %5, i32 noundef %2, i32 noundef 0, i32 noundef %8, ptr noundef null) #2 ret i32 %9 } declare i32 @change_page_attr_set_clr(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @__pgprot(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)"}
fastsocket_kernel_arch_x86_mm_extr_pageattr.c_change_page_attr_clear
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/acpi/extr_hed.c_unregister_acpi_hed_notifier.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_hed.c_unregister_acpi_hed_notifier.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @acpi_hed_notify_list = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @unregister_acpi_hed_notifier(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @blocking_notifier_chain_unregister(ptr noundef nonnull @acpi_hed_notify_list, ptr noundef %0) #2 ret void } declare i32 @blocking_notifier_chain_unregister(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/acpi/extr_hed.c_unregister_acpi_hed_notifier.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/acpi/extr_hed.c_unregister_acpi_hed_notifier.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @acpi_hed_notify_list = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @unregister_acpi_hed_notifier(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @blocking_notifier_chain_unregister(ptr noundef nonnull @acpi_hed_notify_list, ptr noundef %0) #2 ret void } declare i32 @blocking_notifier_chain_unregister(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_acpi_extr_hed.c_unregister_acpi_hed_notifier
; ModuleID = 'AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_vidioc_s_input.c' source_filename = "AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_vidioc_s_input.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @STK1160_MAX_INPUT = 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 @vidioc_s_input], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vidioc_s_input(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = tail call ptr @video_drvdata(ptr noundef %0) #2 %5 = load i32, ptr @STK1160_MAX_INPUT, align 4, !tbaa !5 %6 = icmp ult i32 %5, %2 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %12 10: ; preds = %3 store i32 %2, ptr %4, align 4, !tbaa !9 %11 = tail call i32 @stk1160_select_input(ptr noundef nonnull %4) #2 br label %12 12: ; preds = %10, %7 %13 = phi i32 [ %9, %7 ], [ 0, %10 ] ret i32 %13 } declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @stk1160_select_input(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"stk1160", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_vidioc_s_input.c' source_filename = "AnghaBench/linux/drivers/media/usb/stk1160/extr_stk1160-v4l.c_vidioc_s_input.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STK1160_MAX_INPUT = 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 @vidioc_s_input], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @vidioc_s_input(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2) #0 { %4 = tail call ptr @video_drvdata(ptr noundef %0) #2 %5 = load i32, ptr @STK1160_MAX_INPUT, align 4, !tbaa !6 %6 = icmp ult i32 %5, %2 br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %12 10: ; preds = %3 store i32 %2, ptr %4, align 4, !tbaa !10 %11 = tail call i32 @stk1160_select_input(ptr noundef nonnull %4) #2 br label %12 12: ; preds = %10, %7 %13 = phi i32 [ %9, %7 ], [ 0, %10 ] ret i32 %13 } declare ptr @video_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @stk1160_select_input(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"stk1160", !7, i64 0}
linux_drivers_media_usb_stk1160_extr_stk1160-v4l.c_vidioc_s_input
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_error.c_scsi_eh_wakeup.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_error.c_scsi_eh_wakeup.c" target datalayout = "e-m:e-p270:32:32-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.Scsi_Host = type { i64, i32, i32 } @KERN_INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Waking error handler thread\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @scsi_eh_wakeup(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.Scsi_Host, ptr %0, i64 0, i32 2 %3 = load i32, ptr %2, align 4, !tbaa !5 %4 = tail call i32 @lockdep_assert_held(i32 noundef %3) #2 %5 = tail call i64 @scsi_host_busy(ptr noundef %0) #2 %6 = load i64, ptr %0, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %16 8: ; preds = %1 %9 = tail call i32 @trace_scsi_eh_wakeup(ptr noundef nonnull %0) #2 %10 = getelementptr inbounds %struct.Scsi_Host, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = tail call i32 @wake_up_process(i32 noundef %11) #2 %13 = load i32, ptr @KERN_INFO, align 4, !tbaa !13 %14 = tail call i32 @shost_printk(i32 noundef %13, ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %15 = tail call i32 @SCSI_LOG_ERROR_RECOVERY(i32 noundef 5, i32 noundef %14) #2 br label %16 16: ; preds = %8, %1 ret void } declare i32 @lockdep_assert_held(i32 noundef) local_unnamed_addr #1 declare i64 @scsi_host_busy(ptr noundef) local_unnamed_addr #1 declare i32 @trace_scsi_eh_wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_process(i32 noundef) local_unnamed_addr #1 declare i32 @SCSI_LOG_ERROR_RECOVERY(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @shost_printk(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, !10, i64 12} !6 = !{!"Scsi_Host", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_scsi_error.c_scsi_eh_wakeup.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_scsi_error.c_scsi_eh_wakeup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @KERN_INFO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [29 x i8] c"Waking error handler thread\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @scsi_eh_wakeup(ptr noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 12 %3 = load i32, ptr %2, align 4, !tbaa !6 %4 = tail call i32 @lockdep_assert_held(i32 noundef %3) #2 %5 = tail call i64 @scsi_host_busy(ptr noundef %0) #2 %6 = load i64, ptr %0, align 8, !tbaa !12 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %16 8: ; preds = %1 %9 = tail call i32 @trace_scsi_eh_wakeup(ptr noundef nonnull %0) #2 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !13 %12 = tail call i32 @wake_up_process(i32 noundef %11) #2 %13 = load i32, ptr @KERN_INFO, align 4, !tbaa !14 %14 = tail call i32 @shost_printk(i32 noundef %13, ptr noundef nonnull %0, ptr noundef nonnull @.str) #2 %15 = tail call i32 @SCSI_LOG_ERROR_RECOVERY(i32 noundef 5, i32 noundef %14) #2 br label %16 16: ; preds = %8, %1 ret void } declare i32 @lockdep_assert_held(i32 noundef) local_unnamed_addr #1 declare i64 @scsi_host_busy(ptr noundef) local_unnamed_addr #1 declare i32 @trace_scsi_eh_wakeup(ptr noundef) local_unnamed_addr #1 declare i32 @wake_up_process(i32 noundef) local_unnamed_addr #1 declare i32 @SCSI_LOG_ERROR_RECOVERY(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @shost_printk(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, !11, i64 12} !7 = !{!"Scsi_Host", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!11, !11, i64 0}
linux_drivers_scsi_extr_scsi_error.c_scsi_eh_wakeup
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_dwarfopen.c_dwarfopen.c' source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_dwarfopen.c_dwarfopen.c" target datalayout = "e-m:e-p270:32:32-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_24__ = type { ptr, %struct.TYPE_25__, %struct.TYPE_25__, %struct.TYPE_25__, %struct.TYPE_25__, %struct.TYPE_25__, %struct.TYPE_25__, %struct.TYPE_25__, %struct.TYPE_25__, ptr } %struct.TYPE_25__ = type { ptr } @nil = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [27 x i8] c"nil pe passed to dwarfopen\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c".debug_abbrev\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c".debug_aranges\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c".debug_line\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c".debug_pubnames\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c".debug_info\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c".debug_frame\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c".debug_ranges\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c".debug_str\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"Failed to open dwarf\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @dwarfopen(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @nil, align 8, !tbaa !5 %3 = icmp eq ptr %2, %0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = tail call i32 @werrstr(ptr noundef nonnull @.str) #2 %6 = load ptr, ptr @nil, align 8, !tbaa !5 br label %74 7: ; preds = %1 %8 = tail call ptr @mallocz(i32 noundef 80, i32 noundef 1) #2 %9 = load ptr, ptr @nil, align 8, !tbaa !5 %10 = icmp eq ptr %8, %9 br i1 %10, label %74, label %11 11: ; preds = %7 %12 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 9 store ptr %0, ptr %12, align 8, !tbaa !9 %13 = load ptr, ptr %0, align 8, !tbaa !12 %14 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 8 %15 = tail call i64 %13(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %14) #2 %16 = icmp slt i64 %15, 0 br i1 %16, label %47, label %17 17: ; preds = %11 %18 = load ptr, ptr %0, align 8, !tbaa !12 %19 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 7 %20 = tail call i64 %18(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %19) #2 %21 = icmp slt i64 %20, 0 br i1 %21, label %47, label %22 22: ; preds = %17 %23 = load ptr, ptr %0, align 8, !tbaa !12 %24 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 5 %25 = tail call i64 %23(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %24) #2 %26 = icmp slt i64 %25, 0 br i1 %26, label %47, label %27 27: ; preds = %22 %28 = load ptr, ptr %0, align 8, !tbaa !12 %29 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 4 %30 = tail call i64 %28(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef nonnull %29) #2 %31 = icmp slt i64 %30, 0 br i1 %31, label %47, label %32 32: ; preds = %27 %33 = load ptr, ptr %0, align 8, !tbaa !12 %34 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 1 %35 = tail call i64 %33(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef nonnull %34) #2 %36 = icmp slt i64 %35, 0 br i1 %36, label %47, label %37 37: ; preds = %32 %38 = load ptr, ptr %0, align 8, !tbaa !12 %39 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 6 %40 = tail call i64 %38(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, ptr noundef nonnull %39) #2 %41 = load ptr, ptr %0, align 8, !tbaa !12 %42 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 3 %43 = tail call i64 %41(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef nonnull %42) #2 %44 = load ptr, ptr %0, align 8, !tbaa !12 %45 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 2 %46 = tail call i64 %44(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, ptr noundef nonnull %45) #2 br label %74 47: ; preds = %11, %17, %22, %27, %32 %48 = tail call i32 @DPRINT(ptr noundef nonnull @.str.9) #2 %49 = load ptr, ptr %14, align 8, !tbaa !13 %50 = tail call i32 @free(ptr noundef %49) #2 %51 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 7 %52 = load ptr, ptr %51, align 8, !tbaa !14 %53 = tail call i32 @free(ptr noundef %52) #2 %54 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 6 %55 = load ptr, ptr %54, align 8, !tbaa !15 %56 = tail call i32 @free(ptr noundef %55) #2 %57 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 5 %58 = load ptr, ptr %57, align 8, !tbaa !16 %59 = tail call i32 @free(ptr noundef %58) #2 %60 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 4 %61 = load ptr, ptr %60, align 8, !tbaa !17 %62 = tail call i32 @free(ptr noundef %61) #2 %63 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 3 %64 = load ptr, ptr %63, align 8, !tbaa !18 %65 = tail call i32 @free(ptr noundef %64) #2 %66 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 2 %67 = load ptr, ptr %66, align 8, !tbaa !19 %68 = tail call i32 @free(ptr noundef %67) #2 %69 = getelementptr inbounds %struct.TYPE_24__, ptr %8, i64 0, i32 1 %70 = load ptr, ptr %69, align 8, !tbaa !20 %71 = tail call i32 @free(ptr noundef %70) #2 %72 = tail call i32 @free(ptr noundef nonnull %8) #2 %73 = load ptr, ptr @nil, align 8, !tbaa !5 br label %74 74: ; preds = %7, %47, %37, %4 %75 = phi ptr [ %6, %4 ], [ %73, %47 ], [ %8, %37 ], [ %8, %7 ] ret ptr %75 } declare i32 @werrstr(ptr noundef) local_unnamed_addr #1 declare ptr @mallocz(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINT(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 72} !10 = !{!"TYPE_24__", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !6, i64 72} !11 = !{!"TYPE_25__", !6, i64 0} !12 = !{!10, !6, i64 0} !13 = !{!10, !6, i64 64} !14 = !{!10, !6, i64 56} !15 = !{!10, !6, i64 48} !16 = !{!10, !6, i64 40} !17 = !{!10, !6, i64 32} !18 = !{!10, !6, i64 24} !19 = !{!10, !6, i64 16} !20 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_dwarfopen.c_dwarfopen.c' source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_dwarfopen.c_dwarfopen.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @nil = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [27 x i8] c"nil pe passed to dwarfopen\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c".debug_abbrev\00", align 1 @.str.2 = private unnamed_addr constant [15 x i8] c".debug_aranges\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c".debug_line\00", align 1 @.str.4 = private unnamed_addr constant [16 x i8] c".debug_pubnames\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c".debug_info\00", align 1 @.str.6 = private unnamed_addr constant [13 x i8] c".debug_frame\00", align 1 @.str.7 = private unnamed_addr constant [14 x i8] c".debug_ranges\00", align 1 @.str.8 = private unnamed_addr constant [11 x i8] c".debug_str\00", align 1 @.str.9 = private unnamed_addr constant [22 x i8] c"Failed to open dwarf\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @dwarfopen(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @nil, align 8, !tbaa !6 %3 = icmp eq ptr %2, %0 br i1 %3, label %4, label %7 4: ; preds = %1 %5 = tail call i32 @werrstr(ptr noundef nonnull @.str) #2 %6 = load ptr, ptr @nil, align 8, !tbaa !6 br label %74 7: ; preds = %1 %8 = tail call ptr @mallocz(i32 noundef 80, i32 noundef 1) #2 %9 = load ptr, ptr @nil, align 8, !tbaa !6 %10 = icmp eq ptr %8, %9 br i1 %10, label %74, label %11 11: ; preds = %7 %12 = getelementptr inbounds i8, ptr %8, i64 72 store ptr %0, ptr %12, align 8, !tbaa !10 %13 = load ptr, ptr %0, align 8, !tbaa !13 %14 = getelementptr inbounds i8, ptr %8, i64 64 %15 = tail call i64 %13(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, ptr noundef nonnull %14) #2 %16 = icmp slt i64 %15, 0 br i1 %16, label %47, label %17 17: ; preds = %11 %18 = load ptr, ptr %0, align 8, !tbaa !13 %19 = getelementptr inbounds i8, ptr %8, i64 56 %20 = tail call i64 %18(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, ptr noundef nonnull %19) #2 %21 = icmp slt i64 %20, 0 br i1 %21, label %47, label %22 22: ; preds = %17 %23 = load ptr, ptr %0, align 8, !tbaa !13 %24 = getelementptr inbounds i8, ptr %8, i64 40 %25 = tail call i64 %23(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %24) #2 %26 = icmp slt i64 %25, 0 br i1 %26, label %47, label %27 27: ; preds = %22 %28 = load ptr, ptr %0, align 8, !tbaa !13 %29 = getelementptr inbounds i8, ptr %8, i64 32 %30 = tail call i64 %28(ptr noundef nonnull %0, ptr noundef nonnull @.str.4, ptr noundef nonnull %29) #2 %31 = icmp slt i64 %30, 0 br i1 %31, label %47, label %32 32: ; preds = %27 %33 = load ptr, ptr %0, align 8, !tbaa !13 %34 = getelementptr inbounds i8, ptr %8, i64 8 %35 = tail call i64 %33(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, ptr noundef nonnull %34) #2 %36 = icmp slt i64 %35, 0 br i1 %36, label %47, label %37 37: ; preds = %32 %38 = load ptr, ptr %0, align 8, !tbaa !13 %39 = getelementptr inbounds i8, ptr %8, i64 48 %40 = tail call i64 %38(ptr noundef nonnull %0, ptr noundef nonnull @.str.6, ptr noundef nonnull %39) #2 %41 = load ptr, ptr %0, align 8, !tbaa !13 %42 = getelementptr inbounds i8, ptr %8, i64 24 %43 = tail call i64 %41(ptr noundef nonnull %0, ptr noundef nonnull @.str.7, ptr noundef nonnull %42) #2 %44 = load ptr, ptr %0, align 8, !tbaa !13 %45 = getelementptr inbounds i8, ptr %8, i64 16 %46 = tail call i64 %44(ptr noundef nonnull %0, ptr noundef nonnull @.str.8, ptr noundef nonnull %45) #2 br label %74 47: ; preds = %11, %17, %22, %27, %32 %48 = tail call i32 @DPRINT(ptr noundef nonnull @.str.9) #2 %49 = load ptr, ptr %14, align 8, !tbaa !14 %50 = tail call i32 @free(ptr noundef %49) #2 %51 = getelementptr inbounds i8, ptr %8, i64 56 %52 = load ptr, ptr %51, align 8, !tbaa !15 %53 = tail call i32 @free(ptr noundef %52) #2 %54 = getelementptr inbounds i8, ptr %8, i64 48 %55 = load ptr, ptr %54, align 8, !tbaa !16 %56 = tail call i32 @free(ptr noundef %55) #2 %57 = getelementptr inbounds i8, ptr %8, i64 40 %58 = load ptr, ptr %57, align 8, !tbaa !17 %59 = tail call i32 @free(ptr noundef %58) #2 %60 = getelementptr inbounds i8, ptr %8, i64 32 %61 = load ptr, ptr %60, align 8, !tbaa !18 %62 = tail call i32 @free(ptr noundef %61) #2 %63 = getelementptr inbounds i8, ptr %8, i64 24 %64 = load ptr, ptr %63, align 8, !tbaa !19 %65 = tail call i32 @free(ptr noundef %64) #2 %66 = getelementptr inbounds i8, ptr %8, i64 16 %67 = load ptr, ptr %66, align 8, !tbaa !20 %68 = tail call i32 @free(ptr noundef %67) #2 %69 = getelementptr inbounds i8, ptr %8, i64 8 %70 = load ptr, ptr %69, align 8, !tbaa !21 %71 = tail call i32 @free(ptr noundef %70) #2 %72 = tail call i32 @free(ptr noundef nonnull %8) #2 %73 = load ptr, ptr @nil, align 8, !tbaa !6 br label %74 74: ; preds = %7, %47, %37, %4 %75 = phi ptr [ %6, %4 ], [ %73, %47 ], [ %8, %37 ], [ %9, %7 ] ret ptr %75 } declare i32 @werrstr(ptr noundef) local_unnamed_addr #1 declare ptr @mallocz(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINT(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 72} !11 = !{!"TYPE_24__", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !7, i64 72} !12 = !{!"TYPE_25__", !7, i64 0} !13 = !{!11, !7, i64 0} !14 = !{!11, !7, i64 64} !15 = !{!11, !7, i64 56} !16 = !{!11, !7, i64 48} !17 = !{!11, !7, i64 40} !18 = !{!11, !7, i64 32} !19 = !{!11, !7, i64 24} !20 = !{!11, !7, i64 16} !21 = !{!11, !7, i64 8}
reactos_sdk_lib_rossym_extr_dwarfopen.c_dwarfopen
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_dsiescclk_rate.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_dsiescclk_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @PRCM_DSITVCLK_DIV = dso_local local_unnamed_addr global i32 0, align 4 @dsiescclk = dso_local local_unnamed_addr global ptr null, align 8 @PRCMU_TVCLK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dsiescclk_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @dsiescclk_rate(i64 noundef %0) #0 { %2 = load i32, ptr @PRCM_DSITVCLK_DIV, align 4, !tbaa !5 %3 = tail call i32 @readl(i32 noundef %2) #2 %4 = load ptr, ptr @dsiescclk, align 8, !tbaa !9 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %0 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = and i32 %6, %3 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = ashr i32 %7, %9 %11 = load i32, ptr @PRCMU_TVCLK, align 4, !tbaa !5 %12 = tail call i64 @clock_rate(i32 noundef %11) #2 %13 = tail call i64 @max(i32 noundef 1, i32 noundef %10) #2 %14 = udiv i64 %12, %13 ret i64 %14 } declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i64 @clock_rate(i32 noundef) local_unnamed_addr #1 declare i64 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_2__", !6, i64 0, !6, i64 4} !13 = !{!12, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_dsiescclk_rate.c' source_filename = "AnghaBench/linux/drivers/mfd/extr_db8500-prcmu.c_dsiescclk_rate.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 } @PRCM_DSITVCLK_DIV = common local_unnamed_addr global i32 0, align 4 @dsiescclk = common local_unnamed_addr global ptr null, align 8 @PRCMU_TVCLK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dsiescclk_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @dsiescclk_rate(i64 noundef %0) #0 { %2 = load i32, ptr @PRCM_DSITVCLK_DIV, align 4, !tbaa !6 %3 = tail call i32 @readl(i32 noundef %2) #2 %4 = load ptr, ptr @dsiescclk, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %0 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = and i32 %6, %3 %8 = getelementptr inbounds i8, ptr %5, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = ashr i32 %7, %9 %11 = load i32, ptr @PRCMU_TVCLK, align 4, !tbaa !6 %12 = tail call i64 @clock_rate(i32 noundef %11) #2 %13 = tail call i64 @max(i32 noundef 1, i32 noundef %10) #2 %14 = udiv i64 %12, %13 ret i64 %14 } declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i64 @clock_rate(i32 noundef) local_unnamed_addr #1 declare i64 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !14 = !{!13, !7, i64 4}
linux_drivers_mfd_extr_db8500-prcmu.c_dsiescclk_rate
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_adapter_ex_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_adapter_ex_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.zfcp_adapter = type { i32, i32 } @FSF_FEATURE_MEASUREMENT_DATA = dso_local local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = 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 @llvm.compiler.used = appending global [1 x ptr] [ptr @zfcp_sysfs_adapter_ex_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @zfcp_sysfs_adapter_ex_config(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @dev_to_shost(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = load i32, ptr @FSF_FEATURE_MEASUREMENT_DATA, align 4, !tbaa !15 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !15 %13 = sub nsw i32 0, %12 br label %30 14: ; preds = %2 %15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15 %16 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %20 = sub nsw i32 0, %19 br label %30 21: ; preds = %14 %22 = getelementptr inbounds %struct.zfcp_adapter, ptr %6, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = tail call i32 @zfcp_fsf_exchange_config_data_sync(i32 noundef %23, ptr noundef nonnull %16) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr %16, align 4, !tbaa !15 store i32 %27, ptr %1, align 4, !tbaa !15 br label %28 28: ; preds = %26, %21 %29 = tail call i32 @kfree(ptr noundef nonnull %16) #2 br label %30 30: ; preds = %28, %18, %11 %31 = phi i32 [ %24, %28 ], [ %20, %18 ], [ %13, %11 ] ret i32 %31 } declare ptr @dev_to_shost(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfcp_fsf_exchange_config_data_sync(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"Scsi_Host", !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, !14, i64 0} !13 = !{!"zfcp_adapter", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_adapter_ex_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/scsi/extr_zfcp_sysfs.c_zfcp_sysfs_adapter_ex_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FSF_FEATURE_MEASUREMENT_DATA = common local_unnamed_addr global i32 0, align 4 @EOPNOTSUPP = 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 @llvm.used = appending global [1 x ptr] [ptr @zfcp_sysfs_adapter_ex_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @zfcp_sysfs_adapter_ex_config(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @dev_to_shost(ptr noundef %0) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = load i32, ptr @FSF_FEATURE_MEASUREMENT_DATA, align 4, !tbaa !16 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %2 %12 = load i32, ptr @EOPNOTSUPP, align 4, !tbaa !16 %13 = sub nsw i32 0, %12 br label %30 14: ; preds = %2 %15 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %16 = tail call ptr @kzalloc(i32 noundef 4, i32 noundef %15) #2 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %21 18: ; preds = %14 %19 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %20 = sub nsw i32 0, %19 br label %30 21: ; preds = %14 %22 = getelementptr inbounds i8, ptr %6, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !17 %24 = tail call i32 @zfcp_fsf_exchange_config_data_sync(i32 noundef %23, ptr noundef nonnull %16) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %21 %27 = load i32, ptr %16, align 4, !tbaa !16 store i32 %27, ptr %1, align 4, !tbaa !16 br label %28 28: ; preds = %26, %21 %29 = tail call i32 @kfree(ptr noundef nonnull %16) #2 br label %30 30: ; preds = %28, %18, %11 %31 = phi i32 [ %24, %28 ], [ %20, %18 ], [ %13, %11 ] ret i32 %31 } declare ptr @dev_to_shost(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfcp_fsf_exchange_config_data_sync(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"Scsi_Host", !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 = !{!"long", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"zfcp_adapter", !15, i64 0, !15, i64 4} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0} !17 = !{!14, !15, i64 4}
fastsocket_kernel_drivers_s390_scsi_extr_zfcp_sysfs.c_zfcp_sysfs_adapter_ex_config
; ModuleID = 'AnghaBench/seafile/daemon/extr_wt-monitor-structs.c_free_wt_status.c' source_filename = "AnghaBench/seafile/daemon/extr_wt-monitor-structs.c_free_wt_status.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i64 } @free_event_cb = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @free_wt_status], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @free_wt_status(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %1 %6 = load i32, ptr @free_event_cb, align 4, !tbaa !11 %7 = tail call i32 @g_queue_foreach(i64 noundef %3, i32 noundef %6, ptr noundef null) #2 %8 = load i64, ptr %2, align 8, !tbaa !5 %9 = tail call i32 @g_queue_free(i64 noundef %8) #2 br label %10 10: ; preds = %5, %1 %11 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull %0) #2 %12 = tail call i32 @g_free(ptr noundef nonnull %0) #2 ret void } declare i32 @g_queue_foreach(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_queue_free(i64 noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @g_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 = !{!"TYPE_4__", !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}
; ModuleID = 'AnghaBench/seafile/daemon/extr_wt-monitor-structs.c_free_wt_status.c' source_filename = "AnghaBench/seafile/daemon/extr_wt-monitor-structs.c_free_wt_status.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @free_event_cb = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @free_wt_status], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @free_wt_status(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %10, label %5 5: ; preds = %1 %6 = load i32, ptr @free_event_cb, align 4, !tbaa !12 %7 = tail call i32 @g_queue_foreach(i64 noundef %3, i32 noundef %6, ptr noundef null) #2 %8 = load i64, ptr %2, align 8, !tbaa !6 %9 = tail call i32 @g_queue_free(i64 noundef %8) #2 br label %10 10: ; preds = %5, %1 %11 = tail call i32 @pthread_mutex_destroy(ptr noundef nonnull %0) #2 %12 = tail call i32 @g_free(ptr noundef nonnull %0) #2 ret void } declare i32 @g_queue_foreach(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @g_queue_free(i64 noundef) local_unnamed_addr #1 declare i32 @pthread_mutex_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @g_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 = !{!"TYPE_4__", !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}
seafile_daemon_extr_wt-monitor-structs.c_free_wt_status
; ModuleID = 'AnghaBench/RetroArch/deps/pthreads/extr_pte.c_pte_threadExitAndDestroy.c' source_filename = "AnghaBench/RetroArch/deps/pthreads/extr_pte.c_pte_threadExitAndDestroy.c" target datalayout = "e-m:e-p270:32:32-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 @pte_threadExitAndDestroy(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @pte_threadDestroyCommon(i32 noundef %0, i32 noundef 1) #2 ret void } declare i32 @pte_threadDestroyCommon(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/RetroArch/deps/pthreads/extr_pte.c_pte_threadExitAndDestroy.c' source_filename = "AnghaBench/RetroArch/deps/pthreads/extr_pte.c_pte_threadExitAndDestroy.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 @pte_threadExitAndDestroy(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @pte_threadDestroyCommon(i32 noundef %0, i32 noundef 1) #2 ret void } declare i32 @pte_threadDestroyCommon(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)"}
RetroArch_deps_pthreads_extr_pte.c_pte_threadExitAndDestroy
; ModuleID = 'AnghaBench/linux/block/partitions/extr_ibm.c_ibm_partition.c' source_filename = "AnghaBench/linux/block/partitions/extr_ibm.c_ibm_partition.c" target datalayout = "e-m:e-p270:32:32-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.parsed_partitions = type { i32, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @HDIO_GETGEO = dso_local local_unnamed_addr global i32 0, align 4 @BIODASDINFO2 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"VOL1\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"LNX1\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"CMS1\00", align 1 @DASD_FORMAT_LDL = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"(nonl)\00", align 1 @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ibm_partition(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [5 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca i32, align 4 %5 = getelementptr inbounds %struct.parsed_partitions, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %2, i8 0, i64 5, i1 false) call void @llvm.lifetime.start.p0(i64 7, ptr nonnull %3) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(7) %3, i8 0, i64 7, i1 false) call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %7 = tail call i32 @bdev_logical_block_size(ptr noundef %6) #4 %8 = icmp slt i32 %7, 1 br i1 %8, label %90, label %9 9: ; preds = %1 %10 = load i32, ptr %6, align 4, !tbaa !11 %11 = tail call i32 @i_size_read(i32 noundef %10) #4 %12 = icmp eq i32 %11, 0 br i1 %12, label %90, label %13 13: ; preds = %9 %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %15 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %14) #4 %16 = icmp eq ptr %15, null br i1 %16, label %90, label %17 17: ; preds = %13 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %19 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %18) #4 %20 = icmp eq ptr %19, null br i1 %20, label %86, label %21 21: ; preds = %17 %22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !13 %23 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %22) #4 %24 = icmp eq ptr %23, null br i1 %24, label %82, label %25 25: ; preds = %21 %26 = load i32, ptr @HDIO_GETGEO, align 4, !tbaa !13 %27 = ptrtoint ptr %19 to i64 %28 = tail call i64 @ioctl_by_bdev(ptr noundef nonnull %6, i32 noundef %26, i64 noundef %27) #4 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %78 30: ; preds = %25 %31 = load i32, ptr @BIODASDINFO2, align 4, !tbaa !13 %32 = ptrtoint ptr %15 to i64 %33 = tail call i64 @ioctl_by_bdev(ptr noundef nonnull %6, i32 noundef %31, i64 noundef %32) #4 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = call i64 @find_label(ptr noundef nonnull %0, ptr noundef nonnull %15, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %2, ptr noundef nonnull %23) #4 %37 = icmp eq i64 %36, 0 br i1 %37, label %60, label %42 38: ; preds = %30 %39 = tail call i32 @kfree(ptr noundef nonnull %15) #4 %40 = call i64 @find_label(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %2, ptr noundef nonnull %23) #4 %41 = icmp eq i64 %40, 0 br i1 %41, label %78, label %42 42: ; preds = %38, %35 %43 = phi ptr [ null, %38 ], [ %15, %35 ] %44 = call i32 @strncmp(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef 4) #4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = call i32 @find_vol1_partitions(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %23) #4 br label %78 48: ; preds = %42 %49 = call i32 @strncmp(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef 4) #4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i32, ptr %4, align 4, !tbaa !13 %53 = call i32 @find_lnx1_partitions(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %23, i32 noundef %52, i32 noundef %11, ptr noundef %43) #4 br label %78 54: ; preds = %48 %55 = call i32 @strncmp(ptr noundef nonnull %2, ptr noundef nonnull @.str.2, i32 noundef 4) #4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %78 57: ; preds = %54 %58 = load i32, ptr %4, align 4, !tbaa !13 %59 = call i32 @find_cms1_partitions(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %23, i32 noundef %58) #4 br label %78 60: ; preds = %35 %61 = load i64, ptr %15, align 8, !tbaa !14 %62 = load i64, ptr @DASD_FORMAT_LDL, align 8, !tbaa !15 %63 = icmp eq i64 %61, %62 br i1 %63, label %64, label %78 64: ; preds = %60 %65 = load i32, ptr %0, align 8, !tbaa !17 %66 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13 %67 = call i32 @strlcat(i32 noundef %65, ptr noundef nonnull @.str.3, i32 noundef %66) #4 %68 = ashr i32 %11, 9 %69 = load i32, ptr %15, align 8, !tbaa !14 %70 = add nsw i32 %69, 1 %71 = lshr i32 %7, 9 %72 = mul nsw i32 %70, %71 %73 = sub nsw i32 %68, %72 %74 = call i32 @put_partition(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %72, i32 noundef %73) #4 %75 = load i32, ptr %0, align 8, !tbaa !17 %76 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !13 %77 = call i32 @strlcat(i32 noundef %75, ptr noundef nonnull @.str.4, i32 noundef %76) #4 br label %78 78: ; preds = %38, %51, %57, %54, %46, %60, %64, %25 %79 = phi ptr [ %15, %25 ], [ %43, %54 ], [ %43, %57 ], [ %43, %51 ], [ %43, %46 ], [ %15, %64 ], [ %15, %60 ], [ null, %38 ] %80 = phi i32 [ 0, %25 ], [ 0, %54 ], [ %59, %57 ], [ %53, %51 ], [ %47, %46 ], [ 1, %64 ], [ 1, %60 ], [ 0, %38 ] %81 = call i32 @kfree(ptr noundef nonnull %23) #4 br label %82 82: ; preds = %21, %78 %83 = phi ptr [ %15, %21 ], [ %79, %78 ] %84 = phi i32 [ 0, %21 ], [ %80, %78 ] %85 = call i32 @kfree(ptr noundef nonnull %19) #4 br label %86 86: ; preds = %17, %82 %87 = phi ptr [ %15, %17 ], [ %83, %82 ] %88 = phi i32 [ 0, %17 ], [ %84, %82 ] %89 = call i32 @kfree(ptr noundef %87) #4 br label %90 90: ; preds = %13, %9, %1, %86 %91 = phi i32 [ 0, %1 ], [ 0, %9 ], [ 0, %13 ], [ %88, %86 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 7, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %2) #4 ret i32 %91 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @bdev_logical_block_size(ptr noundef) local_unnamed_addr #3 declare i32 @i_size_read(i32 noundef) local_unnamed_addr #3 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i64 @ioctl_by_bdev(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3 declare i32 @kfree(ptr noundef) local_unnamed_addr #3 declare i64 @find_label(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @find_vol1_partitions(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @find_lnx1_partitions(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @find_cms1_partitions(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strlcat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @put_partition(ptr noundef, i32 noundef, i32 noundef, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } 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, !10, i64 8} !6 = !{!"parsed_partitions", !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 = !{!"block_device", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/block/partitions/extr_ibm.c_ibm_partition.c' source_filename = "AnghaBench/linux/block/partitions/extr_ibm.c_ibm_partition.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 @HDIO_GETGEO = common local_unnamed_addr global i32 0, align 4 @BIODASDINFO2 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"VOL1\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"LNX1\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c"CMS1\00", align 1 @DASD_FORMAT_LDL = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [7 x i8] c"(nonl)\00", align 1 @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ibm_partition(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [5 x i8], align 1 %3 = alloca [7 x i8], align 1 %4 = alloca i32, align 4 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 5, ptr nonnull %2) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(5) %2, i8 0, i64 5, i1 false) call void @llvm.lifetime.start.p0(i64 7, ptr nonnull %3) #4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(7) %3, i8 0, i64 7, i1 false) call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %7 = tail call i32 @bdev_logical_block_size(ptr noundef %6) #4 %8 = icmp slt i32 %7, 1 br i1 %8, label %90, label %9 9: ; preds = %1 %10 = load i32, ptr %6, align 4, !tbaa !12 %11 = tail call i32 @i_size_read(i32 noundef %10) #4 %12 = icmp eq i32 %11, 0 br i1 %12, label %90, label %13 13: ; preds = %9 %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %15 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %14) #4 %16 = icmp eq ptr %15, null br i1 %16, label %90, label %17 17: ; preds = %13 %18 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %19 = tail call ptr @kmalloc(i32 noundef 16, i32 noundef %18) #4 %20 = icmp eq ptr %19, null br i1 %20, label %86, label %21 21: ; preds = %17 %22 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !14 %23 = tail call ptr @kmalloc(i32 noundef 8, i32 noundef %22) #4 %24 = icmp eq ptr %23, null br i1 %24, label %82, label %25 25: ; preds = %21 %26 = load i32, ptr @HDIO_GETGEO, align 4, !tbaa !14 %27 = ptrtoint ptr %19 to i64 %28 = tail call i64 @ioctl_by_bdev(ptr noundef nonnull %6, i32 noundef %26, i64 noundef %27) #4 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %78 30: ; preds = %25 %31 = load i32, ptr @BIODASDINFO2, align 4, !tbaa !14 %32 = ptrtoint ptr %15 to i64 %33 = tail call i64 @ioctl_by_bdev(ptr noundef nonnull %6, i32 noundef %31, i64 noundef %32) #4 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %38 35: ; preds = %30 %36 = call i64 @find_label(ptr noundef nonnull %0, ptr noundef nonnull %15, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %2, ptr noundef nonnull %23) #4 %37 = icmp eq i64 %36, 0 br i1 %37, label %60, label %42 38: ; preds = %30 %39 = tail call i32 @kfree(ptr noundef nonnull %15) #4 %40 = call i64 @find_label(ptr noundef nonnull %0, ptr noundef null, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %4, ptr noundef nonnull %3, ptr noundef nonnull %2, ptr noundef nonnull %23) #4 %41 = icmp eq i64 %40, 0 br i1 %41, label %78, label %42 42: ; preds = %38, %35 %43 = phi ptr [ null, %38 ], [ %15, %35 ] %44 = call i32 @strncmp(ptr noundef nonnull %2, ptr noundef nonnull @.str, i32 noundef 4) #4 %45 = icmp eq i32 %44, 0 br i1 %45, label %46, label %48 46: ; preds = %42 %47 = call i32 @find_vol1_partitions(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %23) #4 br label %78 48: ; preds = %42 %49 = call i32 @strncmp(ptr noundef nonnull %2, ptr noundef nonnull @.str.1, i32 noundef 4) #4 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load i32, ptr %4, align 4, !tbaa !14 %53 = call i32 @find_lnx1_partitions(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %23, i32 noundef %52, i32 noundef %11, ptr noundef %43) #4 br label %78 54: ; preds = %48 %55 = call i32 @strncmp(ptr noundef nonnull %2, ptr noundef nonnull @.str.2, i32 noundef 4) #4 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %78 57: ; preds = %54 %58 = load i32, ptr %4, align 4, !tbaa !14 %59 = call i32 @find_cms1_partitions(ptr noundef nonnull %0, ptr noundef nonnull %19, i32 noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %23, i32 noundef %58) #4 br label %78 60: ; preds = %35 %61 = load i64, ptr %15, align 8, !tbaa !15 %62 = load i64, ptr @DASD_FORMAT_LDL, align 8, !tbaa !16 %63 = icmp eq i64 %61, %62 br i1 %63, label %64, label %78 64: ; preds = %60 %65 = load i32, ptr %0, align 8, !tbaa !18 %66 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !14 %67 = call i32 @strlcat(i32 noundef %65, ptr noundef nonnull @.str.3, i32 noundef %66) #4 %68 = ashr i32 %11, 9 %69 = load i32, ptr %15, align 8, !tbaa !15 %70 = add nsw i32 %69, 1 %71 = lshr i32 %7, 9 %72 = mul nsw i32 %70, %71 %73 = sub nsw i32 %68, %72 %74 = call i32 @put_partition(ptr noundef nonnull %0, i32 noundef 1, i32 noundef %72, i32 noundef %73) #4 %75 = load i32, ptr %0, align 8, !tbaa !18 %76 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !14 %77 = call i32 @strlcat(i32 noundef %75, ptr noundef nonnull @.str.4, i32 noundef %76) #4 br label %78 78: ; preds = %38, %51, %57, %54, %46, %60, %64, %25 %79 = phi ptr [ %15, %25 ], [ %43, %54 ], [ %43, %57 ], [ %43, %51 ], [ %43, %46 ], [ %15, %64 ], [ %15, %60 ], [ null, %38 ] %80 = phi i32 [ 0, %25 ], [ 0, %54 ], [ %59, %57 ], [ %53, %51 ], [ %47, %46 ], [ 1, %64 ], [ 1, %60 ], [ 0, %38 ] %81 = call i32 @kfree(ptr noundef nonnull %23) #4 br label %82 82: ; preds = %21, %78 %83 = phi ptr [ %15, %21 ], [ %79, %78 ] %84 = phi i32 [ 0, %21 ], [ %80, %78 ] %85 = call i32 @kfree(ptr noundef nonnull %19) #4 br label %86 86: ; preds = %17, %82 %87 = phi ptr [ %15, %17 ], [ %83, %82 ] %88 = phi i32 [ 0, %17 ], [ %84, %82 ] %89 = call i32 @kfree(ptr noundef %87) #4 br label %90 90: ; preds = %13, %9, %1, %86 %91 = phi i32 [ 0, %1 ], [ 0, %9 ], [ 0, %13 ], [ %88, %86 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 7, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 5, ptr nonnull %2) #4 ret i32 %91 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 declare i32 @bdev_logical_block_size(ptr noundef) local_unnamed_addr #3 declare i32 @i_size_read(i32 noundef) local_unnamed_addr #3 declare ptr @kmalloc(i32 noundef, i32 noundef) local_unnamed_addr #3 declare i64 @ioctl_by_bdev(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #3 declare i32 @kfree(ptr noundef) local_unnamed_addr #3 declare i64 @find_label(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @find_vol1_partitions(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @find_lnx1_partitions(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @find_cms1_partitions(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @strlcat(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @put_partition(ptr noundef, i32 noundef, i32 noundef, 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } 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, !11, i64 8} !7 = !{!"parsed_partitions", !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 = !{!"block_device", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!9, !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!7, !8, i64 0}
linux_block_partitions_extr_ibm.c_ibm_partition
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_prefix.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_prefix.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [7 x i8] c"prefix\00", align 1 @global_namespace = dso_local local_unnamed_addr constant ptr null, align 8 @FUNCTION_DECL = dso_local local_unnamed_addr global i64 0, align 8 @TEMPLATE_TYPE_PARM = dso_local local_unnamed_addr global i64 0, align 8 @G = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_prefix], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_prefix(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !5 %3 = tail call i32 @MANGLE_TRACE_TREE(ptr noundef nonnull @.str, ptr noundef %0) #3 %4 = icmp eq ptr %0, null br i1 %4, label %54, label %5 5: ; preds = %1 %6 = tail call i64 @find_substitution(ptr noundef nonnull %0) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %54 8: ; preds = %5 %9 = tail call i64 @DECL_P(ptr noundef nonnull %0) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %17, label %11 11: ; preds = %8 %12 = tail call i64 @TREE_CODE(ptr noundef nonnull %0) #3 %13 = load i64, ptr @FUNCTION_DECL, align 8, !tbaa !9 %14 = icmp eq i64 %12, %13 br i1 %14, label %54, label %15 15: ; preds = %11 %16 = call i32 @decl_is_template_id(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 br label %23 17: ; preds = %8 %18 = tail call ptr @TYPE_NAME(ptr noundef nonnull %0) #3 %19 = tail call i64 @CLASSTYPE_TEMPLATE_ID_P(ptr noundef nonnull %0) #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %23, label %21 21: ; preds = %17 %22 = tail call ptr @TYPE_TEMPLATE_INFO(ptr noundef nonnull %0) #3 store ptr %22, ptr %2, align 8, !tbaa !5 br label %23 23: ; preds = %17, %21, %15 %24 = phi ptr [ %0, %15 ], [ %18, %21 ], [ %18, %17 ] %25 = call i64 @TREE_CODE(ptr noundef nonnull %0) #3 %26 = load i64, ptr @TEMPLATE_TYPE_PARM, align 8, !tbaa !9 %27 = icmp eq i64 %25, %26 br i1 %27, label %28, label %32 28: ; preds = %23 %29 = call i64 @abi_version_at_least(i32 noundef 2) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %32 31: ; preds = %28 store i32 1, ptr @G, align 4, !tbaa !11 br label %32 32: ; preds = %31, %28, %23 %33 = call i64 @TREE_CODE(ptr noundef nonnull %0) #3 %34 = load i64, ptr @TEMPLATE_TYPE_PARM, align 8, !tbaa !9 %35 = icmp eq i64 %33, %34 br i1 %35, label %36, label %41 36: ; preds = %32 %37 = call i64 @abi_version_at_least(i32 noundef 2) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %36 %40 = call i32 @write_template_param(ptr noundef nonnull %0) #3 br label %52 41: ; preds = %36, %32 %42 = load ptr, ptr %2, align 8, !tbaa !5 %43 = icmp eq ptr %42, null br i1 %43, label %49, label %44 44: ; preds = %41 %45 = call i32 @write_template_prefix(ptr noundef %24) #3 %46 = load ptr, ptr %2, align 8, !tbaa !5 %47 = call i32 @TI_ARGS(ptr noundef %46) #3 %48 = call i32 @write_template_args(i32 noundef %47) #3 br label %52 49: ; preds = %41 %50 = call ptr @CP_DECL_CONTEXT(ptr noundef %24) #3 call void @write_prefix(ptr noundef %50) %51 = call i32 @write_unqualified_name(ptr noundef %24) #3 br label %52 52: ; preds = %44, %49, %39 %53 = call i32 @add_substitution(ptr noundef nonnull %0) #3 br label %54 54: ; preds = %11, %5, %1, %52 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 @MANGLE_TRACE_TREE(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @find_substitution(ptr noundef) local_unnamed_addr #2 declare i64 @DECL_P(ptr noundef) local_unnamed_addr #2 declare i64 @TREE_CODE(ptr noundef) local_unnamed_addr #2 declare i32 @decl_is_template_id(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @TYPE_NAME(ptr noundef) local_unnamed_addr #2 declare i64 @CLASSTYPE_TEMPLATE_ID_P(ptr noundef) local_unnamed_addr #2 declare ptr @TYPE_TEMPLATE_INFO(ptr noundef) local_unnamed_addr #2 declare i64 @abi_version_at_least(i32 noundef) local_unnamed_addr #2 declare i32 @write_template_param(ptr noundef) local_unnamed_addr #2 declare i32 @write_template_prefix(ptr noundef) local_unnamed_addr #2 declare i32 @write_template_args(i32 noundef) local_unnamed_addr #2 declare i32 @TI_ARGS(ptr noundef) local_unnamed_addr #2 declare ptr @CP_DECL_CONTEXT(ptr noundef) local_unnamed_addr #2 declare i32 @write_unqualified_name(ptr noundef) local_unnamed_addr #2 declare i32 @add_substitution(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 = !{!"long", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_prefix.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_mangle.c_write_prefix.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [7 x i8] c"prefix\00", align 1 @global_namespace = common local_unnamed_addr global ptr null, align 8 @FUNCTION_DECL = common local_unnamed_addr global i64 0, align 8 @TEMPLATE_TYPE_PARM = common local_unnamed_addr global i64 0, align 8 @G = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @llvm.used = appending global [1 x ptr] [ptr @write_prefix], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_prefix(ptr noundef %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !6 %3 = tail call i32 @MANGLE_TRACE_TREE(ptr noundef nonnull @.str, ptr noundef %0) #3 %4 = icmp eq ptr %0, null %5 = load ptr, ptr @global_namespace, align 8 %6 = icmp eq ptr %5, %0 %7 = select i1 %4, i1 true, i1 %6 br i1 %7, label %57, label %8 8: ; preds = %1 %9 = tail call i64 @find_substitution(ptr noundef nonnull %0) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %57 11: ; preds = %8 %12 = tail call i64 @DECL_P(ptr noundef nonnull %0) #3 %13 = icmp eq i64 %12, 0 br i1 %13, label %20, label %14 14: ; preds = %11 %15 = tail call i64 @TREE_CODE(ptr noundef nonnull %0) #3 %16 = load i64, ptr @FUNCTION_DECL, align 8, !tbaa !10 %17 = icmp eq i64 %15, %16 br i1 %17, label %57, label %18 18: ; preds = %14 %19 = call i32 @decl_is_template_id(ptr noundef nonnull %0, ptr noundef nonnull %2) #3 br label %26 20: ; preds = %11 %21 = tail call ptr @TYPE_NAME(ptr noundef nonnull %0) #3 %22 = tail call i64 @CLASSTYPE_TEMPLATE_ID_P(ptr noundef nonnull %0) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %20 %25 = tail call ptr @TYPE_TEMPLATE_INFO(ptr noundef nonnull %0) #3 store ptr %25, ptr %2, align 8, !tbaa !6 br label %26 26: ; preds = %20, %24, %18 %27 = phi ptr [ %0, %18 ], [ %21, %24 ], [ %21, %20 ] %28 = call i64 @TREE_CODE(ptr noundef nonnull %0) #3 %29 = load i64, ptr @TEMPLATE_TYPE_PARM, align 8, !tbaa !10 %30 = icmp eq i64 %28, %29 br i1 %30, label %31, label %35 31: ; preds = %26 %32 = call i64 @abi_version_at_least(i32 noundef 2) #3 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %35 34: ; preds = %31 store i32 1, ptr @G, align 4, !tbaa !12 br label %35 35: ; preds = %34, %31, %26 %36 = call i64 @TREE_CODE(ptr noundef nonnull %0) #3 %37 = load i64, ptr @TEMPLATE_TYPE_PARM, align 8, !tbaa !10 %38 = icmp eq i64 %36, %37 br i1 %38, label %39, label %44 39: ; preds = %35 %40 = call i64 @abi_version_at_least(i32 noundef 2) #3 %41 = icmp eq i64 %40, 0 br i1 %41, label %44, label %42 42: ; preds = %39 %43 = call i32 @write_template_param(ptr noundef nonnull %0) #3 br label %55 44: ; preds = %39, %35 %45 = load ptr, ptr %2, align 8, !tbaa !6 %46 = icmp eq ptr %45, null br i1 %46, label %52, label %47 47: ; preds = %44 %48 = call i32 @write_template_prefix(ptr noundef %27) #3 %49 = load ptr, ptr %2, align 8, !tbaa !6 %50 = call i32 @TI_ARGS(ptr noundef %49) #3 %51 = call i32 @write_template_args(i32 noundef %50) #3 br label %55 52: ; preds = %44 %53 = call ptr @CP_DECL_CONTEXT(ptr noundef %27) #3 call void @write_prefix(ptr noundef %53) %54 = call i32 @write_unqualified_name(ptr noundef %27) #3 br label %55 55: ; preds = %47, %52, %42 %56 = call i32 @add_substitution(ptr noundef nonnull %0) #3 br label %57 57: ; preds = %14, %8, %1, %55 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 @MANGLE_TRACE_TREE(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @find_substitution(ptr noundef) local_unnamed_addr #2 declare i64 @DECL_P(ptr noundef) local_unnamed_addr #2 declare i64 @TREE_CODE(ptr noundef) local_unnamed_addr #2 declare i32 @decl_is_template_id(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @TYPE_NAME(ptr noundef) local_unnamed_addr #2 declare i64 @CLASSTYPE_TEMPLATE_ID_P(ptr noundef) local_unnamed_addr #2 declare ptr @TYPE_TEMPLATE_INFO(ptr noundef) local_unnamed_addr #2 declare i64 @abi_version_at_least(i32 noundef) local_unnamed_addr #2 declare i32 @write_template_param(ptr noundef) local_unnamed_addr #2 declare i32 @write_template_prefix(ptr noundef) local_unnamed_addr #2 declare i32 @write_template_args(i32 noundef) local_unnamed_addr #2 declare i32 @TI_ARGS(ptr noundef) local_unnamed_addr #2 declare ptr @CP_DECL_CONTEXT(ptr noundef) local_unnamed_addr #2 declare i32 @write_unqualified_name(ptr noundef) local_unnamed_addr #2 declare i32 @add_substitution(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 = !{!"long", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"int", !8, i64 0}
freebsd_contrib_gcc_cp_extr_mangle.c_write_prefix
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_proxy.c_write_stubdescproto.c' source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_proxy.c_write_stubdescproto.c" target datalayout = "e-m:e-p270:32:32-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 [46 x i8] c"static const MIDL_STUB_DESC Object_StubDesc;\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @write_stubdescproto], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write_stubdescproto() #0 { %1 = tail call i32 @print_proxy(ptr noundef nonnull @.str) #2 %2 = tail call i32 @print_proxy(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @print_proxy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_proxy.c_write_stubdescproto.c' source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_proxy.c_write_stubdescproto.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 [46 x i8] c"static const MIDL_STUB_DESC Object_StubDesc;\0A\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @write_stubdescproto], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write_stubdescproto() #0 { %1 = tail call i32 @print_proxy(ptr noundef nonnull @.str) #2 %2 = tail call i32 @print_proxy(ptr noundef nonnull @.str.1) #2 ret void } declare i32 @print_proxy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
reactos_sdk_tools_widl_extr_proxy.c_write_stubdescproto
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_md5.c_F.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_md5.c_F.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SHA_DIGEST_LEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @F(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca [36 x i8], align 16 call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #5 %8 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !5 %9 = zext i32 %8 to i64 %10 = tail call ptr @llvm.stacksave.p0() %11 = alloca i8, i64 %9, align 16 %12 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %2) #5 %13 = lshr i32 %4, 24 %14 = trunc i32 %13 to i8 %15 = sext i32 %2 to i64 %16 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %15 store i8 %14, ptr %16, align 1, !tbaa !9 %17 = lshr i32 %4, 16 %18 = trunc i32 %17 to i8 %19 = add nsw i32 %2, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %20 store i8 %18, ptr %21, align 1, !tbaa !9 %22 = lshr i32 %4, 8 %23 = trunc i32 %22 to i8 %24 = add nsw i32 %2, 2 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %25 store i8 %23, ptr %26, align 1, !tbaa !9 %27 = trunc i32 %4 to i8 %28 = add nsw i32 %2, 3 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %29 store i8 %27, ptr %30, align 1, !tbaa !9 %31 = add nsw i32 %2, 4 %32 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %33 = trunc i64 %32 to i32 %34 = call i32 @HMAC_SHA1(ptr noundef nonnull %7, i32 noundef %31, ptr noundef %0, i32 noundef %33, ptr noundef nonnull %11) #5 %35 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !5 %36 = call i32 @memcpy(ptr noundef %5, ptr noundef nonnull %11, i32 noundef %35) #5 %37 = icmp sgt i32 %3, 1 br i1 %37, label %38, label %65 38: ; preds = %6 %39 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !5 br label %40 40: ; preds = %38, %61 %41 = phi i32 [ %62, %61 ], [ %39, %38 ] %42 = phi i32 [ %63, %61 ], [ 1, %38 ] %43 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %44 = trunc i64 %43 to i32 %45 = call i32 @HMAC_SHA1(ptr noundef nonnull %11, i32 noundef %41, ptr noundef %0, i32 noundef %44, ptr noundef nonnull %7) #5 %46 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !5 %47 = call i32 @memcpy(ptr noundef nonnull %11, ptr noundef nonnull %7, i32 noundef %46) #5 %48 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !5 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %61 50: ; preds = %40, %50 %51 = phi i64 [ %57, %50 ], [ 0, %40 ] %52 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %51 %53 = load i8, ptr %52, align 1, !tbaa !9 %54 = getelementptr inbounds i8, ptr %5, i64 %51 %55 = load i8, ptr %54, align 1, !tbaa !9 %56 = xor i8 %55, %53 store i8 %56, ptr %54, align 1, !tbaa !9 %57 = add nuw nsw i64 %51, 1 %58 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !5 %59 = sext i32 %58 to i64 %60 = icmp slt i64 %57, %59 br i1 %60, label %50, label %61, !llvm.loop !10 61: ; preds = %50, %40 %62 = phi i32 [ %48, %40 ], [ %58, %50 ] %63 = add nuw nsw i32 %42, 1 %64 = icmp eq i32 %63, %3 br i1 %64, label %65, label %40, !llvm.loop !12 65: ; preds = %61, %6 call void @llvm.stackrestore.p0(ptr %10) call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @HMAC_SHA1(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = distinct !{!12, !11}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_md5.c_F.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/rt2860/common/extr_md5.c_F.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SHA_DIGEST_LEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @F(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = alloca [36 x i8], align 1 call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %7) #5 %8 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !6 %9 = zext i32 %8 to i64 %10 = tail call ptr @llvm.stacksave.p0() %11 = alloca i8, i64 %9, align 1 %12 = call i32 @memcpy(ptr noundef nonnull %7, ptr noundef %1, i32 noundef %2) #5 %13 = lshr i32 %4, 24 %14 = trunc nuw i32 %13 to i8 %15 = sext i32 %2 to i64 %16 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %15 store i8 %14, ptr %16, align 1, !tbaa !10 %17 = lshr i32 %4, 16 %18 = trunc i32 %17 to i8 %19 = add nsw i32 %2, 1 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %20 store i8 %18, ptr %21, align 1, !tbaa !10 %22 = lshr i32 %4, 8 %23 = trunc i32 %22 to i8 %24 = add nsw i32 %2, 2 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %25 store i8 %23, ptr %26, align 1, !tbaa !10 %27 = trunc i32 %4 to i8 %28 = add nsw i32 %2, 3 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %29 store i8 %27, ptr %30, align 1, !tbaa !10 %31 = add nsw i32 %2, 4 %32 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %33 = trunc i64 %32 to i32 %34 = call i32 @HMAC_SHA1(ptr noundef nonnull %7, i32 noundef %31, ptr noundef %0, i32 noundef %33, ptr noundef nonnull %11) #5 %35 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !6 %36 = call i32 @memcpy(ptr noundef %5, ptr noundef nonnull %11, i32 noundef %35) #5 %37 = icmp sgt i32 %3, 1 br i1 %37, label %38, label %65 38: ; preds = %6 %39 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !6 br label %40 40: ; preds = %38, %61 %41 = phi i32 [ %62, %61 ], [ %39, %38 ] %42 = phi i32 [ %63, %61 ], [ 1, %38 ] %43 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) %44 = trunc i64 %43 to i32 %45 = call i32 @HMAC_SHA1(ptr noundef nonnull %11, i32 noundef %41, ptr noundef %0, i32 noundef %44, ptr noundef nonnull %7) #5 %46 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !6 %47 = call i32 @memcpy(ptr noundef nonnull %11, ptr noundef nonnull %7, i32 noundef %46) #5 %48 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !6 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %61 50: ; preds = %40, %50 %51 = phi i64 [ %57, %50 ], [ 0, %40 ] %52 = getelementptr inbounds [36 x i8], ptr %7, i64 0, i64 %51 %53 = load i8, ptr %52, align 1, !tbaa !10 %54 = getelementptr inbounds i8, ptr %5, i64 %51 %55 = load i8, ptr %54, align 1, !tbaa !10 %56 = xor i8 %55, %53 store i8 %56, ptr %54, align 1, !tbaa !10 %57 = add nuw nsw i64 %51, 1 %58 = load i32, ptr @SHA_DIGEST_LEN, align 4, !tbaa !6 %59 = sext i32 %58 to i64 %60 = icmp slt i64 %57, %59 br i1 %60, label %50, label %61, !llvm.loop !11 61: ; preds = %50, %40 %62 = phi i32 [ %48, %40 ], [ %58, %50 ] %63 = add nuw nsw i32 %42, 1 %64 = icmp eq i32 %63, %3 br i1 %64, label %65, label %40, !llvm.loop !13 65: ; preds = %61, %6 call void @llvm.stackrestore.p0(ptr %10) call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @HMAC_SHA1(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #4 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #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 = { mustprogress nocallback nofree nosync nounwind willreturn } 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 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
fastsocket_kernel_drivers_staging_rt2860_common_extr_md5.c_F
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_bulletin_set_forced_vlan.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_bulletin_set_forced_vlan.c" target datalayout = "e-m:e-p270:32:32-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.qed_vf_info = type { %struct.TYPE_4__, i64 } %struct.TYPE_4__ = type { ptr } %struct.TYPE_3__ = type { i32, i64 } @.str = private unnamed_addr constant [43 x i8] c"Can not set forced MAC, invalid vfid [%d]\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Can't set forced vlan to malicious VF [%d]\0A\00", align 1 @VLAN_ADDR_FORCED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qed_iov_bulletin_set_forced_vlan], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qed_iov_bulletin_set_forced_vlan(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = sext i32 %2 to i64 %5 = tail call ptr @qed_iov_get_vf_info(ptr noundef %0, i64 noundef %4, i32 noundef 1) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i32 @DP_NOTICE(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %2) #2 br label %33 10: ; preds = %3 %11 = getelementptr inbounds %struct.qed_vf_info, ptr %5, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !10 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr %0, align 4, !tbaa !5 %16 = tail call i32 @DP_NOTICE(i32 noundef %15, ptr noundef nonnull @.str.1, i32 noundef %2) #2 br label %33 17: ; preds = %10 %18 = load i32, ptr @VLAN_ADDR_FORCED, align 4, !tbaa !15 %19 = shl nuw i32 1, %18 %20 = load ptr, ptr %5, align 8, !tbaa !16 %21 = getelementptr inbounds %struct.TYPE_3__, ptr %20, i64 0, i32 1 store i64 %1, ptr %21, align 8, !tbaa !17 %22 = icmp eq i64 %1, 0 br i1 %22, label %26, label %23 23: ; preds = %17 %24 = load i32, ptr %20, align 8, !tbaa !19 %25 = or i32 %24, %19 br label %30 26: ; preds = %17 %27 = xor i32 %19, -1 %28 = load i32, ptr %20, align 8, !tbaa !19 %29 = and i32 %28, %27 br label %30 30: ; preds = %26, %23 %31 = phi i32 [ %25, %23 ], [ %29, %26 ] store i32 %31, ptr %20, align 8, !tbaa !19 %32 = tail call i32 @qed_iov_configure_vport_forced(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %19) #2 br label %33 33: ; preds = %30, %14, %7 ret void } declare ptr @qed_iov_get_vf_info(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DP_NOTICE(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qed_iov_configure_vport_forced(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"qed_hwfn", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 8} !11 = !{!"qed_vf_info", !12, i64 0, !14, i64 8} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!11, !13, i64 0} !17 = !{!18, !14, i64 8} !18 = !{!"TYPE_3__", !7, i64 0, !14, i64 8} !19 = !{!18, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_bulletin_set_forced_vlan.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_sriov.c_qed_iov_bulletin_set_forced_vlan.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 [43 x i8] c"Can not set forced MAC, invalid vfid [%d]\0A\00", align 1 @.str.1 = private unnamed_addr constant [44 x i8] c"Can't set forced vlan to malicious VF [%d]\0A\00", align 1 @VLAN_ADDR_FORCED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qed_iov_bulletin_set_forced_vlan], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qed_iov_bulletin_set_forced_vlan(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = sext i32 %2 to i64 %5 = tail call ptr @qed_iov_get_vf_info(ptr noundef %0, i64 noundef %4, i32 noundef 1) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %3 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i32 @DP_NOTICE(i32 noundef %8, ptr noundef nonnull @.str, i32 noundef %2) #2 br label %33 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %5, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !11 %13 = icmp eq i64 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr %0, align 4, !tbaa !6 %16 = tail call i32 @DP_NOTICE(i32 noundef %15, ptr noundef nonnull @.str.1, i32 noundef %2) #2 br label %33 17: ; preds = %10 %18 = load i32, ptr @VLAN_ADDR_FORCED, align 4, !tbaa !16 %19 = shl nuw i32 1, %18 %20 = load ptr, ptr %5, align 8, !tbaa !17 %21 = getelementptr inbounds i8, ptr %20, i64 8 store i64 %1, ptr %21, align 8, !tbaa !18 %22 = icmp eq i64 %1, 0 br i1 %22, label %26, label %23 23: ; preds = %17 %24 = load i32, ptr %20, align 8, !tbaa !20 %25 = or i32 %24, %19 br label %30 26: ; preds = %17 %27 = xor i32 %19, -1 %28 = load i32, ptr %20, align 8, !tbaa !20 %29 = and i32 %28, %27 br label %30 30: ; preds = %26, %23 %31 = phi i32 [ %25, %23 ], [ %29, %26 ] store i32 %31, ptr %20, align 8, !tbaa !20 %32 = tail call i32 @qed_iov_configure_vport_forced(ptr noundef %0, ptr noundef nonnull %5, i32 noundef %19) #2 br label %33 33: ; preds = %30, %14, %7 ret void } declare ptr @qed_iov_get_vf_info(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DP_NOTICE(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qed_iov_configure_vport_forced(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"qed_hwfn", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !15, i64 8} !12 = !{!"qed_vf_info", !13, i64 0, !15, i64 8} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!12, !14, i64 0} !18 = !{!19, !15, i64 8} !19 = !{!"TYPE_3__", !8, i64 0, !15, i64 8} !20 = !{!19, !8, i64 0}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_sriov.c_qed_iov_bulletin_set_forced_vlan
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/remote/extr_21037.c_eos.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_21037.c_eos.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @eos(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @strlen(ptr noundef %0) #2 %3 = sext i32 %2 to i64 %4 = getelementptr inbounds i8, ptr %0, i64 %3 ret ptr %4 } declare i32 @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/exploitdb/exploits/linux/remote/extr_21037.c_eos.c' source_filename = "AnghaBench/exploitdb/exploits/linux/remote/extr_21037.c_eos.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define ptr @eos(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @strlen(ptr noundef %0) #2 %3 = sext i32 %2 to i64 %4 = getelementptr inbounds i8, ptr %0, i64 %3 ret ptr %4 } declare i32 @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)"}
exploitdb_exploits_linux_remote_extr_21037.c_eos
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pcacheSortDirtyList.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pcacheSortDirtyList.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @N_SORT_BUCKET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcacheSortDirtyList], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @pcacheSortDirtyList(ptr noundef %0) #0 { %2 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !5 %3 = zext i32 %2 to i64 %4 = alloca ptr, i64 %3, align 16 %5 = shl i32 %2, 3 %6 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef %5) #2 %7 = icmp eq ptr %0, null br i1 %7, label %50, label %8 8: ; preds = %1, %48 %9 = phi ptr [ %10, %48 ], [ %0, %1 ] %10 = load ptr, ptr %9, align 8, !tbaa !9 store ptr null, ptr %9, align 8, !tbaa !9 %11 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !5 %12 = icmp sgt i32 %11, 1 %13 = zext i1 %12 to i32 %14 = call i64 @ALWAYS(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %34, label %16 16: ; preds = %8, %24 %17 = phi i64 [ %26, %24 ], [ 0, %8 ] %18 = phi ptr [ %25, %24 ], [ %9, %8 ] %19 = getelementptr inbounds ptr, ptr %4, i64 %17 %20 = load ptr, ptr %19, align 8, !tbaa !12 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %16 %23 = trunc i64 %17 to i32 store ptr %18, ptr %19, align 8, !tbaa !12 br label %34 24: ; preds = %16 %25 = call ptr @pcacheMergeDirtyList(ptr noundef nonnull %20, ptr noundef %18) #2 store ptr null, ptr %19, align 8, !tbaa !12 %26 = add nuw i64 %17, 1 %27 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !5 %28 = add nsw i32 %27, -1 %29 = trunc i64 %26 to i32 %30 = icmp sgt i32 %28, %29 %31 = zext i1 %30 to i32 %32 = call i64 @ALWAYS(i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %16, !llvm.loop !13 34: ; preds = %24, %8, %22 %35 = phi ptr [ %18, %22 ], [ %9, %8 ], [ %25, %24 ] %36 = phi i32 [ %23, %22 ], [ 0, %8 ], [ %29, %24 ] %37 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !5 %38 = add nsw i32 %37, -1 %39 = icmp eq i32 %36, %38 %40 = zext i1 %39 to i32 %41 = call i64 @NEVER(i32 noundef %40) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %48, label %43 43: ; preds = %34 %44 = zext nneg i32 %36 to i64 %45 = getelementptr inbounds ptr, ptr %4, i64 %44 %46 = load ptr, ptr %45, align 8, !tbaa !12 %47 = call ptr @pcacheMergeDirtyList(ptr noundef %46, ptr noundef %35) #2 store ptr %47, ptr %45, align 8, !tbaa !12 br label %48 48: ; preds = %43, %34 %49 = icmp eq ptr %10, null br i1 %49, label %50, label %8, !llvm.loop !15 50: ; preds = %48, %1 %51 = load ptr, ptr %4, align 16, !tbaa !12 %52 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !5 %53 = icmp sgt i32 %52, 1 br i1 %53, label %54, label %64 54: ; preds = %50, %54 %55 = phi i64 [ %60, %54 ], [ 1, %50 ] %56 = phi ptr [ %59, %54 ], [ %51, %50 ] %57 = getelementptr inbounds ptr, ptr %4, i64 %55 %58 = load ptr, ptr %57, align 8, !tbaa !12 %59 = call ptr @pcacheMergeDirtyList(ptr noundef %56, ptr noundef %58) #2 %60 = add nuw nsw i64 %55, 1 %61 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !5 %62 = sext i32 %61 to i64 %63 = icmp slt i64 %60, %62 br i1 %63, label %54, label %64, !llvm.loop !16 64: ; preds = %54, %50 %65 = phi ptr [ %51, %50 ], [ %59, %54 ] ret ptr %65 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ALWAYS(i32 noundef) local_unnamed_addr #1 declare ptr @pcacheMergeDirtyList(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @NEVER(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_8__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14} !16 = distinct !{!16, !14}
; ModuleID = 'AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pcacheSortDirtyList.c' source_filename = "AnghaBench/Craft/deps/sqlite/extr_sqlite3.c_pcacheSortDirtyList.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @N_SORT_BUCKET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pcacheSortDirtyList], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @pcacheSortDirtyList(ptr noundef %0) #0 { %2 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !6 %3 = zext i32 %2 to i64 %4 = alloca ptr, i64 %3, align 8 %5 = shl i32 %2, 3 %6 = call i32 @memset(ptr noundef nonnull %4, i32 noundef 0, i32 noundef %5) #2 %7 = icmp eq ptr %0, null br i1 %7, label %50, label %8 8: ; preds = %1, %48 %9 = phi ptr [ %10, %48 ], [ %0, %1 ] %10 = load ptr, ptr %9, align 8, !tbaa !10 store ptr null, ptr %9, align 8, !tbaa !10 %11 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !6 %12 = icmp sgt i32 %11, 1 %13 = zext i1 %12 to i32 %14 = call i64 @ALWAYS(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %34, label %16 16: ; preds = %8, %24 %17 = phi i64 [ %26, %24 ], [ 0, %8 ] %18 = phi ptr [ %25, %24 ], [ %9, %8 ] %19 = getelementptr inbounds ptr, ptr %4, i64 %17 %20 = load ptr, ptr %19, align 8, !tbaa !13 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %24 22: ; preds = %16 %23 = trunc nuw nsw i64 %17 to i32 store ptr %18, ptr %19, align 8, !tbaa !13 br label %34 24: ; preds = %16 %25 = call ptr @pcacheMergeDirtyList(ptr noundef nonnull %20, ptr noundef %18) #2 store ptr null, ptr %19, align 8, !tbaa !13 %26 = add nuw nsw i64 %17, 1 %27 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !6 %28 = add nsw i32 %27, -1 %29 = trunc nuw i64 %26 to i32 %30 = icmp sgt i32 %28, %29 %31 = zext i1 %30 to i32 %32 = call i64 @ALWAYS(i32 noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %34, label %16, !llvm.loop !14 34: ; preds = %24, %8, %22 %35 = phi ptr [ %18, %22 ], [ %9, %8 ], [ %25, %24 ] %36 = phi i32 [ %23, %22 ], [ 0, %8 ], [ %29, %24 ] %37 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !6 %38 = add nsw i32 %37, -1 %39 = icmp eq i32 %36, %38 %40 = zext i1 %39 to i32 %41 = call i64 @NEVER(i32 noundef %40) #2 %42 = icmp eq i64 %41, 0 br i1 %42, label %48, label %43 43: ; preds = %34 %44 = zext nneg i32 %36 to i64 %45 = getelementptr inbounds ptr, ptr %4, i64 %44 %46 = load ptr, ptr %45, align 8, !tbaa !13 %47 = call ptr @pcacheMergeDirtyList(ptr noundef %46, ptr noundef %35) #2 store ptr %47, ptr %45, align 8, !tbaa !13 br label %48 48: ; preds = %43, %34 %49 = icmp eq ptr %10, null br i1 %49, label %50, label %8, !llvm.loop !16 50: ; preds = %48, %1 %51 = load ptr, ptr %4, align 8, !tbaa !13 %52 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !6 %53 = icmp sgt i32 %52, 1 br i1 %53, label %54, label %64 54: ; preds = %50, %54 %55 = phi i64 [ %60, %54 ], [ 1, %50 ] %56 = phi ptr [ %59, %54 ], [ %51, %50 ] %57 = getelementptr inbounds ptr, ptr %4, i64 %55 %58 = load ptr, ptr %57, align 8, !tbaa !13 %59 = call ptr @pcacheMergeDirtyList(ptr noundef %56, ptr noundef %58) #2 %60 = add nuw nsw i64 %55, 1 %61 = load i32, ptr @N_SORT_BUCKET, align 4, !tbaa !6 %62 = sext i32 %61 to i64 %63 = icmp slt i64 %60, %62 br i1 %63, label %54, label %64, !llvm.loop !17 64: ; preds = %54, %50 %65 = phi ptr [ %51, %50 ], [ %59, %54 ] ret ptr %65 } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @ALWAYS(i32 noundef) local_unnamed_addr #1 declare ptr @pcacheMergeDirtyList(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @NEVER(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15} !17 = distinct !{!17, !15}
Craft_deps_sqlite_extr_sqlite3.c_pcacheSortDirtyList
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnserve/extr_serve.c_load_pwdb_config.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnserve/extr_serve.c_load_pwdb_config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, ptr, i32 } @SVN_CONFIG_SECTION_GENERAL = dso_local local_unnamed_addr global i32 0, align 4 @SVN_CONFIG_OPTION_PASSWORD_DB = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_BAD_FILENAME = dso_local local_unnamed_addr global i64 0, align 8 @SVN_ERR_AUTHN_FAILED = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_pwdb_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @load_pwdb_config(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = load i32, ptr @SVN_CONFIG_SECTION_GENERAL, align 4, !tbaa !5 %7 = load i32, ptr @SVN_CONFIG_OPTION_PASSWORD_DB, align 4, !tbaa !5 %8 = call i32 @svn_config_get(ptr noundef %1, ptr noundef nonnull %5, i32 noundef %6, i32 noundef %7, ptr noundef null) #3 %9 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 1 store ptr null, ptr %9, align 8, !tbaa !9 %10 = load ptr, ptr %5, align 8, !tbaa !12 %11 = icmp eq ptr %10, null br i1 %11, label %33, label %12 12: ; preds = %4 %13 = call ptr @svn_dirent_internal_style(ptr noundef nonnull %10, ptr noundef %3) #3 store ptr %13, ptr %5, align 8, !tbaa !12 %14 = getelementptr inbounds %struct.TYPE_11__, ptr %0, i64 0, i32 2 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = call ptr @svn_dirent_join(i32 noundef %15, ptr noundef %13, ptr noundef %3) #3 store ptr %16, ptr %5, align 8, !tbaa !12 %17 = load i32, ptr @TRUE, align 4, !tbaa !5 %18 = load i32, ptr %0, align 8, !tbaa !14 %19 = call ptr @svn_repos__config_pool_get(ptr noundef nonnull %9, ptr noundef %2, ptr noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %3) #3 %20 = icmp eq ptr %19, null br i1 %20, label %33, label %21 21: ; preds = %12 %22 = load i64, ptr %19, align 8, !tbaa !15 %23 = load i64, ptr @SVN_ERR_BAD_FILENAME, align 8, !tbaa !18 %24 = icmp eq i64 %22, %23 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = call i32 @APR_STATUS_IS_EACCES(i64 noundef %22) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr @SVN_ERR_AUTHN_FAILED, align 4, !tbaa !5 %30 = call ptr @svn_error_create(i32 noundef %29, ptr noundef nonnull %19, ptr noundef null) #3 br label %35 31: ; preds = %25, %21 %32 = call i32 @svn_error_clear(ptr noundef nonnull %19) #3 br label %33 33: ; preds = %12, %31, %4 %34 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !12 br label %35 35: ; preds = %33, %28 %36 = phi ptr [ %34, %33 ], [ %30, %28 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @svn_config_get(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_internal_style(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_join(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_repos__config_pool_get(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @APR_STATUS_IS_EACCES(i64 noundef) local_unnamed_addr #2 declare ptr @svn_error_create(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_11__", !6, i64 0, !11, i64 8, !6, i64 16} !11 = !{!"any pointer", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!10, !6, i64 16} !14 = !{!10, !6, i64 0} !15 = !{!16, !17, i64 0} !16 = !{!"TYPE_10__", !17, i64 0} !17 = !{!"long", !7, i64 0} !18 = !{!17, !17, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnserve/extr_serve.c_load_pwdb_config.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnserve/extr_serve.c_load_pwdb_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SVN_CONFIG_SECTION_GENERAL = common local_unnamed_addr global i32 0, align 4 @SVN_CONFIG_OPTION_PASSWORD_DB = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_BAD_FILENAME = common local_unnamed_addr global i64 0, align 8 @SVN_ERR_AUTHN_FAILED = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @load_pwdb_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @load_pwdb_config(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %6 = load i32, ptr @SVN_CONFIG_SECTION_GENERAL, align 4, !tbaa !6 %7 = load i32, ptr @SVN_CONFIG_OPTION_PASSWORD_DB, align 4, !tbaa !6 %8 = call i32 @svn_config_get(ptr noundef %1, ptr noundef nonnull %5, i32 noundef %6, i32 noundef %7, ptr noundef null) #3 %9 = getelementptr inbounds i8, ptr %0, i64 8 store ptr null, ptr %9, align 8, !tbaa !10 %10 = load ptr, ptr %5, align 8, !tbaa !13 %11 = icmp eq ptr %10, null br i1 %11, label %33, label %12 12: ; preds = %4 %13 = call ptr @svn_dirent_internal_style(ptr noundef nonnull %10, ptr noundef %3) #3 store ptr %13, ptr %5, align 8, !tbaa !13 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = call ptr @svn_dirent_join(i32 noundef %15, ptr noundef %13, ptr noundef %3) #3 store ptr %16, ptr %5, align 8, !tbaa !13 %17 = load i32, ptr @TRUE, align 4, !tbaa !6 %18 = load i32, ptr %0, align 8, !tbaa !15 %19 = call ptr @svn_repos__config_pool_get(ptr noundef nonnull %9, ptr noundef %2, ptr noundef %16, i32 noundef %17, i32 noundef %18, ptr noundef %3) #3 %20 = icmp eq ptr %19, null br i1 %20, label %33, label %21 21: ; preds = %12 %22 = load i64, ptr %19, align 8, !tbaa !16 %23 = load i64, ptr @SVN_ERR_BAD_FILENAME, align 8, !tbaa !19 %24 = icmp eq i64 %22, %23 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = call i32 @APR_STATUS_IS_EACCES(i64 noundef %22) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr @SVN_ERR_AUTHN_FAILED, align 4, !tbaa !6 %30 = call ptr @svn_error_create(i32 noundef %29, ptr noundef nonnull %19, ptr noundef null) #3 br label %35 31: ; preds = %25, %21 %32 = call i32 @svn_error_clear(ptr noundef nonnull %19) #3 br label %33 33: ; preds = %12, %31, %4 %34 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !13 br label %35 35: ; preds = %33, %28 %36 = phi ptr [ %34, %33 ], [ %30, %28 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret ptr %36 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @svn_config_get(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_internal_style(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_dirent_join(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_repos__config_pool_get(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @APR_STATUS_IS_EACCES(i64 noundef) local_unnamed_addr #2 declare ptr @svn_error_create(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_11__", !7, i64 0, !12, i64 8, !7, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 16} !15 = !{!11, !7, i64 0} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_10__", !18, i64 0} !18 = !{!"long", !8, i64 0} !19 = !{!18, !18, i64 0}
freebsd_contrib_subversion_subversion_svnserve_extr_serve.c_load_pwdb_config
; ModuleID = 'AnghaBench/linux/mm/extr_mmap.c_copy_vma.c' source_filename = "AnghaBench/linux/mm/extr_mmap.c_copy_vma.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vm_area_struct = type { i64, i64, i64, ptr, i64, i32, i32, i32, ptr } @PAGE_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @copy_vma(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = load ptr, ptr %0, align 8, !tbaa !5 %10 = load i64, ptr %9, align 8, !tbaa !9 %11 = getelementptr inbounds %struct.vm_area_struct, ptr %9, i64 0, i32 8 %12 = load ptr, ptr %11, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %13 = tail call i64 @vma_is_anonymous(ptr noundef nonnull %9) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %5 %16 = getelementptr inbounds %struct.vm_area_struct, ptr %9, i64 0, i32 6 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 br label %20 20: ; preds = %15, %5 %21 = phi i32 [ 0, %5 ], [ %19, %15 ] %22 = tail call i64 @unlikely(i32 noundef %21) #3 %23 = icmp eq i64 %22, 0 %24 = load i64, ptr @PAGE_SHIFT, align 8 %25 = lshr i64 %1, %24 %26 = select i1 %23, i64 %3, i64 %25 %27 = zext i1 %23 to i32 %28 = add i64 %2, %1 %29 = call i64 @find_vma_links(ptr noundef %12, i64 noundef %1, i64 noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %105 31: ; preds = %20 %32 = load ptr, ptr %6, align 8, !tbaa !5 %33 = getelementptr inbounds %struct.vm_area_struct, ptr %9, i64 0, i32 7 %34 = load i32, ptr %33, align 8, !tbaa !15 %35 = getelementptr inbounds %struct.vm_area_struct, ptr %9, i64 0, i32 6 %36 = load i32, ptr %35, align 4, !tbaa !14 %37 = getelementptr inbounds %struct.vm_area_struct, ptr %9, i64 0, i32 4 %38 = load i64, ptr %37, align 8, !tbaa !16 %39 = call i32 @vma_policy(ptr noundef nonnull %9) #3 %40 = getelementptr inbounds %struct.vm_area_struct, ptr %9, i64 0, i32 5 %41 = load i32, ptr %40, align 8, !tbaa !17 %42 = call ptr @vma_merge(ptr noundef %12, ptr noundef %32, i64 noundef %1, i64 noundef %28, i32 noundef %34, i32 noundef %36, i64 noundef %38, i64 noundef %26, i32 noundef %39, i32 noundef %41) #3 %43 = icmp eq ptr %42, null br i1 %43, label %66, label %44 44: ; preds = %31 %45 = load i64, ptr %42, align 8, !tbaa !9 %46 = icmp ult i64 %10, %45 br i1 %46, label %52, label %47 47: ; preds = %44 %48 = getelementptr inbounds %struct.vm_area_struct, ptr %42, i64 0, i32 1 %49 = load i64, ptr %48, align 8, !tbaa !18 %50 = icmp ult i64 %10, %49 %51 = zext i1 %50 to i32 br label %52 52: ; preds = %47, %44 %53 = phi i32 [ 0, %44 ], [ %51, %47 ] %54 = call i64 @unlikely(i32 noundef %53) #3 %55 = icmp eq i64 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %52 %57 = call i32 @VM_BUG_ON_VMA(i32 noundef %27, ptr noundef nonnull %42) #3 store ptr %42, ptr %0, align 8, !tbaa !5 br label %58 58: ; preds = %56, %52 %59 = phi ptr [ %42, %56 ], [ %9, %52 ] %60 = getelementptr inbounds %struct.vm_area_struct, ptr %42, i64 0, i32 2 %61 = load i64, ptr %60, align 8, !tbaa !19 %62 = getelementptr inbounds %struct.vm_area_struct, ptr %59, i64 0, i32 2 %63 = load i64, ptr %62, align 8, !tbaa !19 %64 = icmp ule i64 %61, %63 %65 = zext i1 %64 to i32 br label %97 66: ; preds = %31 %67 = call ptr @vm_area_dup(ptr noundef nonnull %9) #3 %68 = icmp eq ptr %67, null br i1 %68, label %105, label %69 69: ; preds = %66 store i64 %1, ptr %67, align 8, !tbaa !9 %70 = getelementptr inbounds %struct.vm_area_struct, ptr %67, i64 0, i32 1 store i64 %28, ptr %70, align 8, !tbaa !18 %71 = getelementptr inbounds %struct.vm_area_struct, ptr %67, i64 0, i32 2 store i64 %26, ptr %71, align 8, !tbaa !19 %72 = call i64 @vma_dup_policy(ptr noundef nonnull %9, ptr noundef nonnull %67) #3 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %103 74: ; preds = %69 %75 = call i64 @anon_vma_clone(ptr noundef nonnull %67, ptr noundef nonnull %9) #3 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %100 77: ; preds = %74 %78 = getelementptr inbounds %struct.vm_area_struct, ptr %67, i64 0, i32 4 %79 = load i64, ptr %78, align 8, !tbaa !16 %80 = icmp eq i64 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %77 %82 = call i32 @get_file(i64 noundef %79) #3 br label %83 83: ; preds = %81, %77 %84 = getelementptr inbounds %struct.vm_area_struct, ptr %67, i64 0, i32 3 %85 = load ptr, ptr %84, align 8, !tbaa !20 %86 = icmp eq ptr %85, null br i1 %86, label %92, label %87 87: ; preds = %83 %88 = load ptr, ptr %85, align 8, !tbaa !21 %89 = icmp eq ptr %88, null br i1 %89, label %92, label %90 90: ; preds = %87 %91 = call i32 %88(ptr noundef nonnull %67) #3 br label %92 92: ; preds = %90, %87, %83 %93 = load ptr, ptr %6, align 8, !tbaa !5 %94 = load ptr, ptr %7, align 8, !tbaa !5 %95 = load ptr, ptr %8, align 8, !tbaa !5 %96 = call i32 @vma_link(ptr noundef %12, ptr noundef nonnull %67, ptr noundef %93, ptr noundef %94, ptr noundef %95) #3 br label %97 97: ; preds = %92, %58 %98 = phi i32 [ 0, %92 ], [ %65, %58 ] %99 = phi ptr [ %67, %92 ], [ %42, %58 ] store i32 %98, ptr %4, align 4, !tbaa !23 br label %105 100: ; preds = %74 %101 = call i32 @vma_policy(ptr noundef nonnull %67) #3 %102 = call i32 @mpol_put(i32 noundef %101) #3 br label %103 103: ; preds = %69, %100 %104 = call i32 @vm_area_free(ptr noundef nonnull %67) #3 br label %105 105: ; preds = %103, %66, %20, %97 %106 = phi ptr [ %99, %97 ], [ null, %20 ], [ null, %66 ], [ null, %103 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %106 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i64 @vma_is_anonymous(ptr noundef) local_unnamed_addr #2 declare i64 @find_vma_links(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @vma_merge(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vma_policy(ptr noundef) local_unnamed_addr #2 declare i32 @VM_BUG_ON_VMA(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @vm_area_dup(ptr noundef) local_unnamed_addr #2 declare i64 @vma_dup_policy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @anon_vma_clone(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_file(i64 noundef) local_unnamed_addr #2 declare i32 @vma_link(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpol_put(i32 noundef) local_unnamed_addr #2 declare i32 @vm_area_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 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"vm_area_struct", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !11, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !6, i64 56} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!10, !6, i64 56} !14 = !{!10, !12, i64 44} !15 = !{!10, !12, i64 48} !16 = !{!10, !11, i64 32} !17 = !{!10, !12, i64 40} !18 = !{!10, !11, i64 8} !19 = !{!10, !11, i64 16} !20 = !{!10, !6, i64 24} !21 = !{!22, !6, i64 0} !22 = !{!"TYPE_2__", !6, i64 0} !23 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/mm/extr_mmap.c_copy_vma.c' source_filename = "AnghaBench/linux/mm/extr_mmap.c_copy_vma.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 i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @copy_vma(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #0 { %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = load ptr, ptr %0, align 8, !tbaa !6 %10 = load i64, ptr %9, align 8, !tbaa !10 %11 = getelementptr inbounds i8, ptr %9, i64 56 %12 = load ptr, ptr %11, align 8, !tbaa !14 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 %13 = tail call i64 @vma_is_anonymous(ptr noundef nonnull %9) #3 %14 = icmp eq i64 %13, 0 br i1 %14, label %20, label %15 15: ; preds = %5 %16 = getelementptr inbounds i8, ptr %9, i64 44 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 br label %20 20: ; preds = %15, %5 %21 = phi i32 [ 0, %5 ], [ %19, %15 ] %22 = tail call i64 @unlikely(i32 noundef %21) #3 %23 = icmp eq i64 %22, 0 %24 = load i64, ptr @PAGE_SHIFT, align 8 %25 = lshr i64 %1, %24 %26 = select i1 %23, i64 %3, i64 %25 %27 = zext i1 %23 to i32 %28 = add i64 %2, %1 %29 = call i64 @find_vma_links(ptr noundef %12, i64 noundef %1, i64 noundef %28, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8) #3 %30 = icmp eq i64 %29, 0 br i1 %30, label %31, label %105 31: ; preds = %20 %32 = load ptr, ptr %6, align 8, !tbaa !6 %33 = getelementptr inbounds i8, ptr %9, i64 48 %34 = load i32, ptr %33, align 8, !tbaa !16 %35 = getelementptr inbounds i8, ptr %9, i64 44 %36 = load i32, ptr %35, align 4, !tbaa !15 %37 = getelementptr inbounds i8, ptr %9, i64 32 %38 = load i64, ptr %37, align 8, !tbaa !17 %39 = call i32 @vma_policy(ptr noundef nonnull %9) #3 %40 = getelementptr inbounds i8, ptr %9, i64 40 %41 = load i32, ptr %40, align 8, !tbaa !18 %42 = call ptr @vma_merge(ptr noundef %12, ptr noundef %32, i64 noundef %1, i64 noundef %28, i32 noundef %34, i32 noundef %36, i64 noundef %38, i64 noundef %26, i32 noundef %39, i32 noundef %41) #3 %43 = icmp eq ptr %42, null br i1 %43, label %66, label %44 44: ; preds = %31 %45 = load i64, ptr %42, align 8, !tbaa !10 %46 = icmp ult i64 %10, %45 br i1 %46, label %52, label %47 47: ; preds = %44 %48 = getelementptr inbounds i8, ptr %42, i64 8 %49 = load i64, ptr %48, align 8, !tbaa !19 %50 = icmp ult i64 %10, %49 %51 = zext i1 %50 to i32 br label %52 52: ; preds = %47, %44 %53 = phi i32 [ 0, %44 ], [ %51, %47 ] %54 = call i64 @unlikely(i32 noundef %53) #3 %55 = icmp eq i64 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %52 %57 = call i32 @VM_BUG_ON_VMA(i32 noundef %27, ptr noundef nonnull %42) #3 store ptr %42, ptr %0, align 8, !tbaa !6 br label %58 58: ; preds = %56, %52 %59 = phi ptr [ %42, %56 ], [ %9, %52 ] %60 = getelementptr inbounds i8, ptr %42, i64 16 %61 = load i64, ptr %60, align 8, !tbaa !20 %62 = getelementptr inbounds i8, ptr %59, i64 16 %63 = load i64, ptr %62, align 8, !tbaa !20 %64 = icmp ule i64 %61, %63 %65 = zext i1 %64 to i32 br label %97 66: ; preds = %31 %67 = call ptr @vm_area_dup(ptr noundef nonnull %9) #3 %68 = icmp eq ptr %67, null br i1 %68, label %105, label %69 69: ; preds = %66 store i64 %1, ptr %67, align 8, !tbaa !10 %70 = getelementptr inbounds i8, ptr %67, i64 8 store i64 %28, ptr %70, align 8, !tbaa !19 %71 = getelementptr inbounds i8, ptr %67, i64 16 store i64 %26, ptr %71, align 8, !tbaa !20 %72 = call i64 @vma_dup_policy(ptr noundef nonnull %9, ptr noundef nonnull %67) #3 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %103 74: ; preds = %69 %75 = call i64 @anon_vma_clone(ptr noundef nonnull %67, ptr noundef nonnull %9) #3 %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %100 77: ; preds = %74 %78 = getelementptr inbounds i8, ptr %67, i64 32 %79 = load i64, ptr %78, align 8, !tbaa !17 %80 = icmp eq i64 %79, 0 br i1 %80, label %83, label %81 81: ; preds = %77 %82 = call i32 @get_file(i64 noundef %79) #3 br label %83 83: ; preds = %81, %77 %84 = getelementptr inbounds i8, ptr %67, i64 24 %85 = load ptr, ptr %84, align 8, !tbaa !21 %86 = icmp eq ptr %85, null br i1 %86, label %92, label %87 87: ; preds = %83 %88 = load ptr, ptr %85, align 8, !tbaa !22 %89 = icmp eq ptr %88, null br i1 %89, label %92, label %90 90: ; preds = %87 %91 = call i32 %88(ptr noundef nonnull %67) #3 br label %92 92: ; preds = %90, %87, %83 %93 = load ptr, ptr %6, align 8, !tbaa !6 %94 = load ptr, ptr %7, align 8, !tbaa !6 %95 = load ptr, ptr %8, align 8, !tbaa !6 %96 = call i32 @vma_link(ptr noundef %12, ptr noundef nonnull %67, ptr noundef %93, ptr noundef %94, ptr noundef %95) #3 br label %97 97: ; preds = %92, %58 %98 = phi i32 [ 0, %92 ], [ %65, %58 ] %99 = phi ptr [ %67, %92 ], [ %42, %58 ] store i32 %98, ptr %4, align 4, !tbaa !24 br label %105 100: ; preds = %74 %101 = call i32 @vma_policy(ptr noundef nonnull %67) #3 %102 = call i32 @mpol_put(i32 noundef %101) #3 br label %103 103: ; preds = %69, %100 %104 = call i32 @vm_area_free(ptr noundef nonnull %67) #3 br label %105 105: ; preds = %103, %66, %20, %97 %106 = phi ptr [ %99, %97 ], [ null, %20 ], [ null, %66 ], [ null, %103 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 ret ptr %106 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #2 declare i64 @vma_is_anonymous(ptr noundef) local_unnamed_addr #2 declare i64 @find_vma_links(ptr noundef, i64 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @vma_merge(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vma_policy(ptr noundef) local_unnamed_addr #2 declare i32 @VM_BUG_ON_VMA(i32 noundef, ptr noundef) local_unnamed_addr #2 declare ptr @vm_area_dup(ptr noundef) local_unnamed_addr #2 declare i64 @vma_dup_policy(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @anon_vma_clone(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_file(i64 noundef) local_unnamed_addr #2 declare i32 @vma_link(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpol_put(i32 noundef) local_unnamed_addr #2 declare i32 @vm_area_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 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"vm_area_struct", !12, i64 0, !12, i64 8, !12, i64 16, !7, i64 24, !12, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !7, i64 56} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!11, !7, i64 56} !15 = !{!11, !13, i64 44} !16 = !{!11, !13, i64 48} !17 = !{!11, !12, i64 32} !18 = !{!11, !13, i64 40} !19 = !{!11, !12, i64 8} !20 = !{!11, !12, i64 16} !21 = !{!11, !7, i64 24} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_2__", !7, i64 0} !24 = !{!13, !13, i64 0}
linux_mm_extr_mmap.c_copy_vma
; ModuleID = 'AnghaBench/freebsd/sys/dev/ral/extr_rt2560.c_rt2560_wakeup_expire.c' source_filename = "AnghaBench/freebsd/sys/dev/ral/extr_rt2560.c_rt2560_wakeup_expire.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"wakeup expired\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt2560_wakeup_expire], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rt2560_wakeup_expire(ptr noundef %0) #0 { %2 = tail call i32 @DPRINTFN(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @DPRINTFN(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ral/extr_rt2560.c_rt2560_wakeup_expire.c' source_filename = "AnghaBench/freebsd/sys/dev/ral/extr_rt2560.c_rt2560_wakeup_expire.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"wakeup expired\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rt2560_wakeup_expire], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rt2560_wakeup_expire(ptr noundef %0) #0 { %2 = tail call i32 @DPRINTFN(ptr noundef %0, i32 noundef 2, ptr noundef nonnull @.str, ptr noundef nonnull @.str.1) #2 ret void } declare i32 @DPRINTFN(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_ral_extr_rt2560.c_rt2560_wakeup_expire
; ModuleID = 'AnghaBench/freebsd/sys/arm64/arm64/extr_trap.c_unhandled_exception.c' source_filename = "AnghaBench/freebsd/sys/arm64/arm64/extr_trap.c_unhandled_exception.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @far_el1 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c" far: %16lx\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c" esr: %.8lx\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Unhandled exception\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @unhandled_exception(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @far_el1, align 4, !tbaa !5 %3 = tail call i32 @READ_SPECIALREG(i32 noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !9 %5 = tail call i32 @print_registers(ptr noundef nonnull %0) #2 %6 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %3) #2 %7 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %4) #2 %8 = tail call i32 @panic(ptr noundef nonnull @.str.2) #2 ret void } declare i32 @READ_SPECIALREG(i32 noundef) local_unnamed_addr #1 declare i32 @print_registers(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"trapframe", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/arm64/arm64/extr_trap.c_unhandled_exception.c' source_filename = "AnghaBench/freebsd/sys/arm64/arm64/extr_trap.c_unhandled_exception.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @far_el1 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c" far: %16lx\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c" esr: %.8lx\0A\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"Unhandled exception\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @unhandled_exception(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @far_el1, align 4, !tbaa !6 %3 = tail call i32 @READ_SPECIALREG(i32 noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !10 %5 = tail call i32 @print_registers(ptr noundef nonnull %0) #2 %6 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %3) #2 %7 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %4) #2 %8 = tail call i32 @panic(ptr noundef nonnull @.str.2) #2 ret void } declare i32 @READ_SPECIALREG(i32 noundef) local_unnamed_addr #1 declare i32 @print_registers(ptr noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @panic(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"trapframe", !7, i64 0}
freebsd_sys_arm64_arm64_extr_trap.c_unhandled_exception
; ModuleID = 'AnghaBench/lede/target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/extr_nuport_mac.c_nuport_mac_has_work.c' source_filename = "AnghaBench/lede/target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/extr_nuport_mac.c_nuport_mac_has_work.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @RX_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nuport_mac_has_work], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal noundef i32 @nuport_mac_has_work(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @RX_RING_SIZE, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %15, label %4 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !9 %6 = zext i32 %2 to i64 br label %10 7: ; preds = %10 %8 = add nuw nsw i64 %11, 1 %9 = icmp eq i64 %8, %6 br i1 %9, label %15, label %10, !llvm.loop !12 10: ; preds = %4, %7 %11 = phi i64 [ 0, %4 ], [ %8, %7 ] %12 = getelementptr inbounds i64, ptr %5, i64 %11 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %7, label %15 15: ; preds = %10, %7, %1 %16 = phi i32 [ 0, %1 ], [ 0, %7 ], [ 1, %10 ] ret i32 %16 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"nuport_mac_priv", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = !{!15, !15, i64 0} !15 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/lede/target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/extr_nuport_mac.c_nuport_mac_has_work.c' source_filename = "AnghaBench/lede/target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/extr_nuport_mac.c_nuport_mac_has_work.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RX_RING_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nuport_mac_has_work], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @nuport_mac_has_work(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @RX_RING_SIZE, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %15, label %4 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = zext i32 %2 to i64 br label %10 7: ; preds = %10 %8 = add nuw nsw i64 %11, 1 %9 = icmp eq i64 %8, %6 br i1 %9, label %15, label %10, !llvm.loop !13 10: ; preds = %4, %7 %11 = phi i64 [ 0, %4 ], [ %8, %7 ] %12 = getelementptr inbounds i64, ptr %5, i64 %11 %13 = load i64, ptr %12, align 8, !tbaa !15 %14 = icmp eq i64 %13, 0 br i1 %14, label %7, label %15 15: ; preds = %10, %7, %1 %16 = phi i32 [ 0, %1 ], [ 0, %7 ], [ 1, %10 ] ret i32 %16 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"nuport_mac_priv", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
lede_target_linux_mcs814x_files-3.18_drivers_net_ethernet_mcs8140_extr_nuport_mac.c_nuport_mac_has_work
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_read_write_list.c' source_filename = "AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_read_write_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qla4_83xx_reset_entry_hdr = type { i64, i64 } %struct.qla4_83xx_entry = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @qla4_83xx_read_write_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qla4_83xx_read_write_list(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = icmp sgt i64 %3, 0 br i1 %4, label %5, label %24 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = getelementptr inbounds %struct.qla4_83xx_reset_entry_hdr, ptr %1, i64 0, i32 1 br label %8 8: ; preds = %5, %19 %9 = phi i64 [ 0, %5 ], [ %20, %19 ] %10 = phi ptr [ %6, %5 ], [ %21, %19 ] %11 = getelementptr inbounds %struct.qla4_83xx_entry, ptr %10, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = load i32, ptr %10, align 4, !tbaa !13 %14 = tail call i32 @qla4_83xx_read_write_crb_reg(ptr noundef %0, i32 noundef %12, i32 noundef %13) #2 %15 = load i64, ptr %7, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %8 %18 = tail call i32 @udelay(i64 noundef %15) #2 br label %19 19: ; preds = %8, %17 %20 = add nuw nsw i64 %9, 1 %21 = getelementptr inbounds %struct.qla4_83xx_entry, ptr %10, i64 1 %22 = load i64, ptr %1, align 8, !tbaa !5 %23 = icmp slt i64 %20, %22 br i1 %23, label %8, label %24, !llvm.loop !15 24: ; preds = %19, %2 ret void } declare i32 @qla4_83xx_read_write_crb_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(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 = !{!"qla4_83xx_reset_entry_hdr", !7, i64 0, !7, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"qla4_83xx_entry", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!6, !7, i64 8} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_read_write_list.c' source_filename = "AnghaBench/linux/drivers/scsi/qla4xxx/extr_ql4_83xx.c_qla4_83xx_read_write_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 @qla4_83xx_read_write_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qla4_83xx_read_write_list(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = icmp sgt i64 %3, 0 br i1 %4, label %5, label %24 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 16 %7 = getelementptr inbounds i8, ptr %1, i64 8 br label %8 8: ; preds = %5, %19 %9 = phi i64 [ 0, %5 ], [ %20, %19 ] %10 = phi ptr [ %6, %5 ], [ %21, %19 ] %11 = getelementptr inbounds i8, ptr %10, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = load i32, ptr %10, align 4, !tbaa !14 %14 = tail call i32 @qla4_83xx_read_write_crb_reg(ptr noundef %0, i32 noundef %12, i32 noundef %13) #2 %15 = load i64, ptr %7, align 8, !tbaa !15 %16 = icmp eq i64 %15, 0 br i1 %16, label %19, label %17 17: ; preds = %8 %18 = tail call i32 @udelay(i64 noundef %15) #2 br label %19 19: ; preds = %8, %17 %20 = add nuw nsw i64 %9, 1 %21 = getelementptr inbounds i8, ptr %10, i64 8 %22 = load i64, ptr %1, align 8, !tbaa !6 %23 = icmp slt i64 %20, %22 br i1 %23, label %8, label %24, !llvm.loop !16 24: ; preds = %19, %2 ret void } declare i32 @qla4_83xx_read_write_crb_reg(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @udelay(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 = !{!"qla4_83xx_reset_entry_hdr", !8, i64 0, !8, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 4} !12 = !{!"qla4_83xx_entry", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!7, !8, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_scsi_qla4xxx_extr_ql4_83xx.c_qla4_83xx_read_write_list
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_eswitch_offloads.c_mlx5_eswitch_del_fwd_rule.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_eswitch_offloads.c_mlx5_eswitch_del_fwd_rule.c" target datalayout = "e-m:e-p270:32:32-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 @mlx5_eswitch_del_fwd_rule(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @__mlx5_eswitch_del_rule(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 1) #2 ret void } declare i32 @__mlx5_eswitch_del_rule(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/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_eswitch_offloads.c_mlx5_eswitch_del_fwd_rule.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_eswitch_offloads.c_mlx5_eswitch_del_fwd_rule.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 @mlx5_eswitch_del_fwd_rule(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @__mlx5_eswitch_del_rule(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 1) #2 ret void } declare i32 @__mlx5_eswitch_del_rule(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)"}
linux_drivers_net_ethernet_mellanox_mlx5_core_extr_eswitch_offloads.c_mlx5_eswitch_del_fwd_rule
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_static_module.c_ngx_http_static_init.c' source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_static_module.c_ngx_http_static_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32 } @ngx_http_core_module = dso_local local_unnamed_addr global i32 0, align 4 @NGX_HTTP_CONTENT_PHASE = dso_local local_unnamed_addr global i64 0, align 8 @NGX_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ngx_http_static_handler = dso_local local_unnamed_addr global i32 0, align 4 @NGX_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ngx_http_static_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ngx_http_static_init(ptr noundef %0) #0 { %2 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !5 %3 = tail call ptr @ngx_http_conf_get_module_main_conf(ptr noundef %0, i32 noundef %2) #2 %4 = load ptr, ptr %3, align 8, !tbaa !9 %5 = load i64, ptr @NGX_HTTP_CONTENT_PHASE, align 8, !tbaa !12 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %5 %7 = tail call ptr @ngx_array_push(ptr noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %1 %10 = load i32, ptr @ngx_http_static_handler, align 4, !tbaa !5 store i32 %10, ptr %7, align 4, !tbaa !5 br label %11 11: ; preds = %1, %9 %12 = phi ptr [ @NGX_OK, %9 ], [ @NGX_ERROR, %1 ] %13 = load i32, ptr %12, align 4, !tbaa !5 ret i32 %13 } declare ptr @ngx_http_conf_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_array_push(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 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/nginx/src/http/modules/extr_ngx_http_static_module.c_ngx_http_static_init.c' source_filename = "AnghaBench/nginx/src/http/modules/extr_ngx_http_static_module.c_ngx_http_static_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @ngx_http_core_module = common local_unnamed_addr global i32 0, align 4 @NGX_HTTP_CONTENT_PHASE = common local_unnamed_addr global i64 0, align 8 @NGX_ERROR = common local_unnamed_addr global i32 0, align 4 @ngx_http_static_handler = common local_unnamed_addr global i32 0, align 4 @NGX_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ngx_http_static_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ngx_http_static_init(ptr noundef %0) #0 { %2 = load i32, ptr @ngx_http_core_module, align 4, !tbaa !6 %3 = tail call ptr @ngx_http_conf_get_module_main_conf(ptr noundef %0, i32 noundef %2) #2 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load i64, ptr @NGX_HTTP_CONTENT_PHASE, align 8, !tbaa !13 %6 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 %5 %7 = tail call ptr @ngx_array_push(ptr noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %11, label %9 9: ; preds = %1 %10 = load i32, ptr @ngx_http_static_handler, align 4, !tbaa !6 store i32 %10, ptr %7, align 4, !tbaa !6 br label %11 11: ; preds = %1, %9 %12 = phi ptr [ @NGX_OK, %9 ], [ @NGX_ERROR, %1 ] %13 = load i32, ptr %12, align 4, !tbaa !6 ret i32 %13 } declare ptr @ngx_http_conf_get_module_main_conf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @ngx_array_push(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 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0}
nginx_src_http_modules_extr_ngx_http_static_module.c_ngx_http_static_init
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/kyro/extr_fbdev.c_get_line_length.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/kyro/extr_fbdev.c_get_line_length.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_line_length], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i64 @get_line_length(i32 noundef %0, i32 noundef %1) #0 { %3 = mul nsw i32 %1, %0 %4 = add nsw i32 %3, 31 %5 = ashr i32 %4, 3 %6 = and i32 %5, -4 %7 = sext i32 %6 to i64 ret i64 %7 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/kyro/extr_fbdev.c_get_line_length.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/kyro/extr_fbdev.c_get_line_length.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_line_length], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i64 -268435456, 268435456) i64 @get_line_length(i32 noundef %0, i32 noundef %1) #0 { %3 = mul nsw i32 %1, %0 %4 = add nsw i32 %3, 31 %5 = ashr i32 %4, 3 %6 = and i32 %5, -4 %7 = sext i32 %6 to i64 ret i64 %7 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_video_kyro_extr_fbdev.c_get_line_length
; ModuleID = 'AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_reach.c_AAS_BarrierJumpTravelTime.c' source_filename = "AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_reach.c_AAS_BarrierJumpTravelTime.c" target datalayout = "e-m:e-p270:32:32-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 { double, double } @aassettings = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local zeroext i16 @AAS_BarrierJumpTravelTime() local_unnamed_addr #0 { %1 = load double, ptr @aassettings, align 8, !tbaa !5 %2 = load double, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @aassettings, i64 0, i32 1), align 8, !tbaa !10 %3 = fmul double %2, 1.000000e-01 %4 = fdiv double %1, %3 %5 = fptoui double %4 to i16 ret i16 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !7 = !{!"double", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_reach.c_AAS_BarrierJumpTravelTime.c' source_filename = "AnghaBench/Quake-III-Arena/code/botlib/extr_be_aas_reach.c_AAS_BarrierJumpTravelTime.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 { double, double } @aassettings = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define zeroext i16 @AAS_BarrierJumpTravelTime() local_unnamed_addr #0 { %1 = load double, ptr @aassettings, align 8, !tbaa !6 %2 = load double, ptr getelementptr inbounds (i8, ptr @aassettings, i64 8), align 8, !tbaa !11 %3 = fmul double %2, 1.000000e-01 %4 = fdiv double %1, %3 %5 = fptoui double %4 to i16 ret i16 %5 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !8 = !{!"double", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8}
Quake-III-Arena_code_botlib_extr_be_aas_reach.c_AAS_BarrierJumpTravelTime
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cmmap.c_zfApProcessAsocReq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cmmap.c_zfApProcessAsocReq.c" target datalayout = "e-m:e-p270:32:32-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, ptr, ptr, ptr, i64, ptr, ptr, ptr } %struct.TYPE_4__ = type { %struct.TYPE_3__, ptr, ptr } @ZM_WLAN_EID_SSID = dso_local local_unnamed_addr global i32 0, align 4 @wd = dso_local local_unnamed_addr global ptr null, align 8 @ZM_WLAN_EID_EXTENDED_RATE = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_EID_HT_CAPABILITY = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_TYPE_PURE_G = dso_local local_unnamed_addr global i64 0, align 8 @ZM_WLAN_FRAME_TYPE_DEAUTH = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_TYPE_PURE_B = dso_local local_unnamed_addr global i64 0, align 8 @ZM_LV_0 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"WME STA\00", align 1 @ZM_WLAN_EID_WPA_IE = dso_local local_unnamed_addr global i32 0, align 4 @ZM_MAX_WPAIE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"WPA Mode zfwAsocNotify, apId=\00", align 1 @ZM_WLAN_EID_RSN_IE = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"RSN Mode zfwAsocNotify, apId=\00", align 1 @ZM_STATE_ASOC = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_FRAME_TYPE_ASOCREQ = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_FRAME_TYPE_ASOCRSP = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_FRAME_TYPE_REASOCRSP = dso_local local_unnamed_addr global i32 0, align 4 @ZM_WLAN_EID_CENC_IE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @zfApProcessAsocReq(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2 %6 = load i32, ptr @ZM_WLAN_EID_SSID, align 4, !tbaa !5 %7 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %6) #2 %8 = icmp eq i32 %7, 65535 br i1 %8, label %101, label %9 9: ; preds = %4 %10 = load ptr, ptr @wd, align 8, !tbaa !9 %11 = load i32, ptr %10, align 8, !tbaa !11 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %9 %14 = add nsw i32 %7, 1 br label %15 15: ; preds = %13, %15 %16 = phi i64 [ 0, %13 ], [ %27, %15 ] %17 = phi i32 [ 0, %13 ], [ %26, %15 ] %18 = tail call i32 @zmw_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %14) #2 %19 = load ptr, ptr @wd, align 8, !tbaa !9 %20 = getelementptr inbounds %struct.TYPE_3__, ptr %19, i64 0, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !15 %22 = getelementptr inbounds i32, ptr %21, i64 %16 %23 = load i32, ptr %22, align 4, !tbaa !5 %24 = icmp ne i32 %18, %23 %25 = zext i1 %24 to i32 %26 = add nuw nsw i32 %17, %25 %27 = add nuw nsw i64 %16, 1 %28 = load i32, ptr %19, align 8, !tbaa !11 %29 = sext i32 %28 to i64 %30 = icmp slt i64 %27, %29 br i1 %30, label %15, label %31, !llvm.loop !16 31: ; preds = %15, %9 %32 = phi ptr [ %10, %9 ], [ %19, %15 ] %33 = phi i32 [ 0, %9 ], [ %26, %15 ] %34 = phi i32 [ %11, %9 ], [ %28, %15 ] %35 = icmp eq i32 %33, %34 br i1 %35, label %246, label %36 36: ; preds = %31 %37 = icmp sgt i32 %34, 0 br i1 %37, label %38, label %96 38: ; preds = %36 %39 = add nsw i32 %7, 2 %40 = getelementptr inbounds %struct.TYPE_3__, ptr %32, i64 0, i32 1 %41 = load ptr, ptr %40, align 8, !tbaa !15 br label %42 42: ; preds = %38, %83 %43 = phi ptr [ %41, %38 ], [ %84, %83 ] %44 = phi i32 [ %34, %38 ], [ %85, %83 ] %45 = phi i64 [ 0, %38 ], [ %93, %83 ] %46 = phi i32 [ %3, %38 ], [ %92, %83 ] %47 = phi i32 [ 0, %38 ], [ %90, %83 ] %48 = getelementptr inbounds i32, ptr %43, i64 %45 %49 = load i32, ptr %48, align 4, !tbaa !5 %50 = icmp sgt i32 %49, 0 br i1 %50, label %51, label %83 51: ; preds = %42, %69 %52 = phi i64 [ %70, %69 ], [ 0, %42 ] %53 = trunc i64 %52 to i32 %54 = add i32 %39, %53 %55 = tail call i32 @zmw_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %54) #2 %56 = load ptr, ptr @wd, align 8, !tbaa !9 %57 = getelementptr inbounds %struct.TYPE_3__, ptr %56, i64 0, i32 2 %58 = load ptr, ptr %57, align 8, !tbaa !18 %59 = getelementptr inbounds ptr, ptr %58, i64 %45 %60 = load ptr, ptr %59, align 8, !tbaa !9 %61 = getelementptr inbounds i32, ptr %60, i64 %52 %62 = load i32, ptr %61, align 4, !tbaa !5 %63 = icmp eq i32 %55, %62 br i1 %63, label %69, label %64 64: ; preds = %51 %65 = getelementptr inbounds %struct.TYPE_3__, ptr %56, i64 0, i32 1 %66 = load ptr, ptr %65, align 8, !tbaa !15 %67 = getelementptr inbounds i32, ptr %66, i64 %45 %68 = load i32, ptr %67, align 4, !tbaa !5 br label %77 69: ; preds = %51 %70 = add nuw nsw i64 %52, 1 %71 = getelementptr inbounds %struct.TYPE_3__, ptr %56, i64 0, i32 1 %72 = load ptr, ptr %71, align 8, !tbaa !15 %73 = getelementptr inbounds i32, ptr %72, i64 %45 %74 = load i32, ptr %73, align 4, !tbaa !5 %75 = sext i32 %74 to i64 %76 = icmp slt i64 %70, %75 br i1 %76, label %51, label %77, !llvm.loop !19 77: ; preds = %69, %64 %78 = phi i32 [ %68, %64 ], [ %74, %69 ] %79 = phi ptr [ %66, %64 ], [ %72, %69 ] %80 = phi i64 [ %52, %64 ], [ %70, %69 ] %81 = trunc i64 %80 to i32 %82 = load i32, ptr %56, align 8, !tbaa !11 br label %83 83: ; preds = %77, %42 %84 = phi ptr [ %43, %42 ], [ %79, %77 ] %85 = phi i32 [ %44, %42 ], [ %82, %77 ] %86 = phi i32 [ %49, %42 ], [ %78, %77 ] %87 = phi i32 [ 0, %42 ], [ %81, %77 ] %88 = icmp ne i32 %87, %86 %89 = zext i1 %88 to i32 %90 = add nuw nsw i32 %47, %89 %91 = trunc i64 %45 to i32 %92 = select i1 %88, i32 %46, i32 %91 %93 = add nuw nsw i64 %45, 1 %94 = sext i32 %85 to i64 %95 = icmp slt i64 %93, %94 br i1 %95, label %42, label %96, !llvm.loop !20 96: ; preds = %83, %36 %97 = phi i32 [ 0, %36 ], [ %90, %83 ] %98 = phi i32 [ %3, %36 ], [ %92, %83 ] %99 = phi i32 [ %34, %36 ], [ %85, %83 ] %100 = icmp eq i32 %97, %99 br i1 %100, label %246, label %101 101: ; preds = %96, %4 %102 = phi i32 [ %98, %96 ], [ %3, %4 ] %103 = load i32, ptr @ZM_WLAN_EID_EXTENDED_RATE, align 4, !tbaa !5 %104 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %103) #2 %105 = icmp ne i32 %104, 65535 %106 = zext i1 %105 to i32 %107 = load i32, ptr @ZM_WLAN_EID_HT_CAPABILITY, align 4, !tbaa !5 %108 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %107) #2 %109 = icmp eq i32 %108, 65535 %110 = select i1 %109, i32 %106, i32 2 %111 = load ptr, ptr @wd, align 8, !tbaa !9 %112 = getelementptr inbounds %struct.TYPE_3__, ptr %111, i64 0, i32 3 %113 = load ptr, ptr %112, align 8, !tbaa !21 %114 = sext i32 %102 to i64 %115 = getelementptr inbounds i64, ptr %113, i64 %114 %116 = load i64, ptr %115, align 8, !tbaa !22 %117 = load i64, ptr @ZM_WLAN_TYPE_PURE_G, align 8, !tbaa !22 %118 = icmp eq i64 %116, %117 %119 = icmp eq i32 %110, 0 %120 = and i1 %119, %118 br i1 %120, label %121, label %124 121: ; preds = %101 %122 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !5 %123 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %122, ptr noundef %2, i32 noundef 3, i32 noundef 0, i32 noundef 0) #2 br label %249 124: ; preds = %101 %125 = load i64, ptr @ZM_WLAN_TYPE_PURE_B, align 8, !tbaa !22 %126 = icmp eq i64 %116, %125 %127 = select i1 %109, i1 %105, i1 false %128 = and i1 %127, %126 %129 = select i1 %128, i32 0, i32 %110 %130 = tail call i32 @zfFindWifiElement(ptr noundef %0, ptr noundef %1, i32 noundef 2, i32 noundef 0) #2 %131 = icmp eq i32 %130, 65535 br i1 %131, label %142, label %132 132: ; preds = %124 %133 = load i32, ptr @ZM_LV_0, align 4, !tbaa !5 %134 = tail call i32 @zm_msg0_mm(i32 noundef %133, ptr noundef nonnull @.str) #2 %135 = load ptr, ptr @wd, align 8, !tbaa !9 %136 = getelementptr inbounds %struct.TYPE_3__, ptr %135, i64 0, i32 4 %137 = load i64, ptr %136, align 8, !tbaa !23 %138 = icmp eq i64 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %132 %140 = add nsw i32 %130, 8 %141 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %140) #2 br label %142 142: ; preds = %132, %139, %124 %143 = phi i32 [ 1, %139 ], [ 1, %132 ], [ 0, %124 ] %144 = phi i32 [ %141, %139 ], [ 0, %132 ], [ 0, %124 ] %145 = load ptr, ptr @wd, align 8, !tbaa !9 %146 = getelementptr inbounds %struct.TYPE_3__, ptr %145, i64 0, i32 5 %147 = load ptr, ptr %146, align 8, !tbaa !24 %148 = getelementptr inbounds i32, ptr %147, i64 %114 %149 = load i32, ptr %148, align 4, !tbaa !5 %150 = icmp eq i32 %149, 1 br i1 %150, label %151, label %230 151: ; preds = %142 %152 = load i32, ptr @ZM_WLAN_EID_WPA_IE, align 4, !tbaa !5 %153 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %152) #2 %154 = icmp eq i32 %153, 65535 br i1 %154, label %178, label %155 155: ; preds = %151 %156 = add nsw i32 %153, 1 %157 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %156) #2 %158 = add nsw i32 %157, 2 %159 = load i32, ptr @ZM_MAX_WPAIE_SIZE, align 4, !tbaa !5 %160 = icmp slt i32 %158, %159 br i1 %160, label %161, label %246 161: ; preds = %155 %162 = load ptr, ptr @wd, align 8, !tbaa !9 %163 = getelementptr inbounds %struct.TYPE_3__, ptr %162, i64 0, i32 7 %164 = load ptr, ptr %163, align 8, !tbaa !25 %165 = getelementptr inbounds i32, ptr %164, i64 %114 %166 = load i32, ptr %165, align 4, !tbaa !5 %167 = tail call i32 @zfCopyFromRxBuffer(ptr noundef %0, ptr noundef %1, i32 noundef %166, i32 noundef %153, i32 noundef %158) #2 %168 = load ptr, ptr @wd, align 8, !tbaa !9 %169 = getelementptr inbounds %struct.TYPE_3__, ptr %168, i64 0, i32 6 %170 = load ptr, ptr %169, align 8, !tbaa !26 %171 = getelementptr inbounds i32, ptr %170, i64 %114 store i32 %158, ptr %171, align 4, !tbaa !5 %172 = load i32, ptr @ZM_LV_0, align 4, !tbaa !5 %173 = tail call i32 @zm_msg1_mm(i32 noundef %172, ptr noundef nonnull @.str.1, i32 noundef %102) #2 %174 = load ptr, ptr @wd, align 8, !tbaa !9 %175 = getelementptr inbounds %struct.TYPE_4__, ptr %174, i64 0, i32 2 %176 = load ptr, ptr %175, align 8, !tbaa !27 %177 = icmp eq ptr %176, null br i1 %177, label %220, label %208 178: ; preds = %151 %179 = load i32, ptr @ZM_WLAN_EID_RSN_IE, align 4, !tbaa !5 %180 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %179) #2 %181 = icmp eq i32 %180, 65535 br i1 %181, label %205, label %182 182: ; preds = %178 %183 = add nsw i32 %180, 1 %184 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %183) #2 %185 = add nsw i32 %184, 2 %186 = load i32, ptr @ZM_MAX_WPAIE_SIZE, align 4, !tbaa !5 %187 = icmp slt i32 %185, %186 br i1 %187, label %188, label %246 188: ; preds = %182 %189 = load ptr, ptr @wd, align 8, !tbaa !9 %190 = getelementptr inbounds %struct.TYPE_3__, ptr %189, i64 0, i32 7 %191 = load ptr, ptr %190, align 8, !tbaa !25 %192 = getelementptr inbounds i32, ptr %191, i64 %114 %193 = load i32, ptr %192, align 4, !tbaa !5 %194 = tail call i32 @zfCopyFromRxBuffer(ptr noundef %0, ptr noundef %1, i32 noundef %193, i32 noundef %180, i32 noundef %185) #2 %195 = load ptr, ptr @wd, align 8, !tbaa !9 %196 = getelementptr inbounds %struct.TYPE_3__, ptr %195, i64 0, i32 6 %197 = load ptr, ptr %196, align 8, !tbaa !26 %198 = getelementptr inbounds i32, ptr %197, i64 %114 store i32 %185, ptr %198, align 4, !tbaa !5 %199 = load i32, ptr @ZM_LV_0, align 4, !tbaa !5 %200 = tail call i32 @zm_msg1_mm(i32 noundef %199, ptr noundef nonnull @.str.2, i32 noundef %102) #2 %201 = load ptr, ptr @wd, align 8, !tbaa !9 %202 = getelementptr inbounds %struct.TYPE_4__, ptr %201, i64 0, i32 2 %203 = load ptr, ptr %202, align 8, !tbaa !27 %204 = icmp eq ptr %203, null br i1 %204, label %220, label %208 205: ; preds = %178 %206 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !5 %207 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %206, ptr noundef %2, i32 noundef 6, i32 noundef 0, i32 noundef 0) #2 br label %249 208: ; preds = %188, %161 %209 = phi ptr [ %174, %161 ], [ %201, %188 ] %210 = phi ptr [ %176, %161 ], [ %203, %188 ] %211 = getelementptr inbounds %struct.TYPE_3__, ptr %209, i64 0, i32 7 %212 = load ptr, ptr %211, align 8, !tbaa !25 %213 = getelementptr inbounds i32, ptr %212, i64 %114 %214 = load i32, ptr %213, align 4, !tbaa !5 %215 = getelementptr inbounds %struct.TYPE_3__, ptr %209, i64 0, i32 6 %216 = load ptr, ptr %215, align 8, !tbaa !26 %217 = getelementptr inbounds i32, ptr %216, i64 %114 %218 = load i32, ptr %217, align 4, !tbaa !5 %219 = tail call i32 %210(ptr noundef %0, ptr noundef %2, i32 noundef %214, i32 noundef %218, i32 noundef %102) #2 br label %220 220: ; preds = %208, %188, %161 %221 = load ptr, ptr @wd, align 8, !tbaa !9 %222 = getelementptr inbounds %struct.TYPE_3__, ptr %221, i64 0, i32 5 %223 = load ptr, ptr %222, align 8, !tbaa !24 %224 = getelementptr inbounds i32, ptr %223, i64 %114 %225 = load i32, ptr %224, align 4, !tbaa !5 %226 = icmp eq i32 %225, 0 br i1 %226, label %227, label %230 227: ; preds = %220 %228 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !5 %229 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %228, ptr noundef %2, i32 noundef 6, i32 noundef 0, i32 noundef 0) #2 br label %249 230: ; preds = %142, %220 %231 = load i32, ptr @ZM_STATE_ASOC, align 4, !tbaa !5 %232 = tail call i32 @zfApAddSta(ptr noundef %0, ptr noundef %2, i32 noundef %231, i32 noundef %102, i32 noundef %129, i32 noundef %143, i32 noundef %144) #2 %233 = tail call i32 @zfApStoreAsocReqIe(ptr noundef %0, ptr noundef %1, i32 noundef %232) #2 %234 = icmp eq i32 %232, 65535 br i1 %234, label %246, label %235 235: ; preds = %230 %236 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 %237 = load i32, ptr @ZM_WLAN_FRAME_TYPE_ASOCREQ, align 4, !tbaa !5 %238 = icmp eq i32 %236, %237 %239 = add nsw i32 %232, 1 br i1 %238, label %240, label %243 240: ; preds = %235 %241 = load i32, ptr @ZM_WLAN_FRAME_TYPE_ASOCRSP, align 4, !tbaa !5 %242 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %241, ptr noundef %2, i32 noundef 0, i32 noundef %239, i32 noundef %102) #2 br label %249 243: ; preds = %235 %244 = load i32, ptr @ZM_WLAN_FRAME_TYPE_REASOCRSP, align 4, !tbaa !5 %245 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %244, ptr noundef %2, i32 noundef 0, i32 noundef %239, i32 noundef %102) #2 br label %249 246: ; preds = %182, %155, %96, %31, %230 %247 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !5 %248 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %247, ptr noundef %2, i32 noundef 6, i32 noundef 0, i32 noundef 0) #2 br label %249 249: ; preds = %246, %243, %240, %227, %205, %121 ret void } declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zfFindElement(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zmw_buf_readb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfSendMmFrame(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfFindWifiElement(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zm_msg0_mm(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zmw_rx_buf_readb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfCopyFromRxBuffer(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zm_msg1_mm(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfApAddSta(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfApStoreAsocReqIe(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !10, i64 64, !10, i64 72} !13 = !{!"TYPE_3__", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !14, i64 32, !10, i64 40, !10, i64 48, !10, i64 56} !14 = !{!"long", !7, i64 0} !15 = !{!12, !10, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!12, !10, i64 16} !19 = distinct !{!19, !17} !20 = distinct !{!20, !17} !21 = !{!12, !10, i64 24} !22 = !{!14, !14, i64 0} !23 = !{!12, !14, i64 32} !24 = !{!12, !10, i64 40} !25 = !{!12, !10, i64 56} !26 = !{!12, !10, i64 48} !27 = !{!12, !10, i64 72}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cmmap.c_zfApProcessAsocReq.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/otus/80211core/extr_cmmap.c_zfApProcessAsocReq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZM_WLAN_EID_SSID = common local_unnamed_addr global i32 0, align 4 @wd = common local_unnamed_addr global ptr null, align 8 @ZM_WLAN_EID_EXTENDED_RATE = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_EID_HT_CAPABILITY = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_TYPE_PURE_G = common local_unnamed_addr global i64 0, align 8 @ZM_WLAN_FRAME_TYPE_DEAUTH = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_TYPE_PURE_B = common local_unnamed_addr global i64 0, align 8 @ZM_LV_0 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [8 x i8] c"WME STA\00", align 1 @ZM_WLAN_EID_WPA_IE = common local_unnamed_addr global i32 0, align 4 @ZM_MAX_WPAIE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"WPA Mode zfwAsocNotify, apId=\00", align 1 @ZM_WLAN_EID_RSN_IE = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [30 x i8] c"RSN Mode zfwAsocNotify, apId=\00", align 1 @ZM_STATE_ASOC = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_FRAME_TYPE_ASOCREQ = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_FRAME_TYPE_ASOCRSP = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_FRAME_TYPE_REASOCRSP = common local_unnamed_addr global i32 0, align 4 @ZM_WLAN_EID_CENC_IE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @zfApProcessAsocReq(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @zmw_get_wlan_dev(ptr noundef %0) #2 %6 = load i32, ptr @ZM_WLAN_EID_SSID, align 4, !tbaa !6 %7 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %6) #2 %8 = icmp eq i32 %7, 65535 br i1 %8, label %101, label %9 9: ; preds = %4 %10 = load ptr, ptr @wd, align 8, !tbaa !10 %11 = load i32, ptr %10, align 8, !tbaa !12 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %31 13: ; preds = %9 %14 = add nsw i32 %7, 1 br label %15 15: ; preds = %13, %15 %16 = phi i64 [ 0, %13 ], [ %27, %15 ] %17 = phi i32 [ 0, %13 ], [ %26, %15 ] %18 = tail call i32 @zmw_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %14) #2 %19 = load ptr, ptr @wd, align 8, !tbaa !10 %20 = getelementptr inbounds i8, ptr %19, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !16 %22 = getelementptr inbounds i32, ptr %21, i64 %16 %23 = load i32, ptr %22, align 4, !tbaa !6 %24 = icmp ne i32 %18, %23 %25 = zext i1 %24 to i32 %26 = add nuw nsw i32 %17, %25 %27 = add nuw nsw i64 %16, 1 %28 = load i32, ptr %19, align 8, !tbaa !12 %29 = sext i32 %28 to i64 %30 = icmp slt i64 %27, %29 br i1 %30, label %15, label %31, !llvm.loop !17 31: ; preds = %15, %9 %32 = phi ptr [ %10, %9 ], [ %19, %15 ] %33 = phi i32 [ 0, %9 ], [ %26, %15 ] %34 = phi i32 [ %11, %9 ], [ %28, %15 ] %35 = icmp eq i32 %33, %34 br i1 %35, label %246, label %36 36: ; preds = %31 %37 = icmp sgt i32 %34, 0 br i1 %37, label %38, label %96 38: ; preds = %36 %39 = add nsw i32 %7, 2 %40 = getelementptr inbounds i8, ptr %32, i64 8 %41 = load ptr, ptr %40, align 8, !tbaa !16 br label %42 42: ; preds = %38, %83 %43 = phi ptr [ %41, %38 ], [ %84, %83 ] %44 = phi i32 [ %34, %38 ], [ %85, %83 ] %45 = phi i64 [ 0, %38 ], [ %93, %83 ] %46 = phi i32 [ %3, %38 ], [ %92, %83 ] %47 = phi i32 [ 0, %38 ], [ %90, %83 ] %48 = getelementptr inbounds i32, ptr %43, i64 %45 %49 = load i32, ptr %48, align 4, !tbaa !6 %50 = icmp sgt i32 %49, 0 br i1 %50, label %51, label %83 51: ; preds = %42, %69 %52 = phi i64 [ %70, %69 ], [ 0, %42 ] %53 = trunc i64 %52 to i32 %54 = add i32 %39, %53 %55 = tail call i32 @zmw_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %54) #2 %56 = load ptr, ptr @wd, align 8, !tbaa !10 %57 = getelementptr inbounds i8, ptr %56, i64 16 %58 = load ptr, ptr %57, align 8, !tbaa !19 %59 = getelementptr inbounds ptr, ptr %58, i64 %45 %60 = load ptr, ptr %59, align 8, !tbaa !10 %61 = getelementptr inbounds i32, ptr %60, i64 %52 %62 = load i32, ptr %61, align 4, !tbaa !6 %63 = icmp eq i32 %55, %62 br i1 %63, label %69, label %64 64: ; preds = %51 %65 = getelementptr inbounds i8, ptr %56, i64 8 %66 = load ptr, ptr %65, align 8, !tbaa !16 %67 = getelementptr inbounds i32, ptr %66, i64 %45 %68 = load i32, ptr %67, align 4, !tbaa !6 br label %77 69: ; preds = %51 %70 = add nuw nsw i64 %52, 1 %71 = getelementptr inbounds i8, ptr %56, i64 8 %72 = load ptr, ptr %71, align 8, !tbaa !16 %73 = getelementptr inbounds i32, ptr %72, i64 %45 %74 = load i32, ptr %73, align 4, !tbaa !6 %75 = sext i32 %74 to i64 %76 = icmp slt i64 %70, %75 br i1 %76, label %51, label %77, !llvm.loop !20 77: ; preds = %69, %64 %78 = phi i32 [ %68, %64 ], [ %74, %69 ] %79 = phi ptr [ %66, %64 ], [ %72, %69 ] %80 = phi i64 [ %52, %64 ], [ %70, %69 ] %81 = trunc i64 %80 to i32 %82 = load i32, ptr %56, align 8, !tbaa !12 br label %83 83: ; preds = %77, %42 %84 = phi ptr [ %43, %42 ], [ %79, %77 ] %85 = phi i32 [ %44, %42 ], [ %82, %77 ] %86 = phi i32 [ %49, %42 ], [ %78, %77 ] %87 = phi i32 [ 0, %42 ], [ %81, %77 ] %88 = icmp ne i32 %87, %86 %89 = zext i1 %88 to i32 %90 = add nuw nsw i32 %47, %89 %91 = trunc nuw nsw i64 %45 to i32 %92 = select i1 %88, i32 %46, i32 %91 %93 = add nuw nsw i64 %45, 1 %94 = sext i32 %85 to i64 %95 = icmp slt i64 %93, %94 br i1 %95, label %42, label %96, !llvm.loop !21 96: ; preds = %83, %36 %97 = phi i32 [ 0, %36 ], [ %90, %83 ] %98 = phi i32 [ %3, %36 ], [ %92, %83 ] %99 = phi i32 [ %34, %36 ], [ %85, %83 ] %100 = icmp eq i32 %97, %99 br i1 %100, label %246, label %101 101: ; preds = %96, %4 %102 = phi i32 [ %98, %96 ], [ %3, %4 ] %103 = load i32, ptr @ZM_WLAN_EID_EXTENDED_RATE, align 4, !tbaa !6 %104 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %103) #2 %105 = icmp ne i32 %104, 65535 %106 = zext i1 %105 to i32 %107 = load i32, ptr @ZM_WLAN_EID_HT_CAPABILITY, align 4, !tbaa !6 %108 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %107) #2 %109 = icmp eq i32 %108, 65535 %110 = select i1 %109, i32 %106, i32 2 %111 = load ptr, ptr @wd, align 8, !tbaa !10 %112 = getelementptr inbounds i8, ptr %111, i64 24 %113 = load ptr, ptr %112, align 8, !tbaa !22 %114 = sext i32 %102 to i64 %115 = getelementptr inbounds i64, ptr %113, i64 %114 %116 = load i64, ptr %115, align 8, !tbaa !23 %117 = load i64, ptr @ZM_WLAN_TYPE_PURE_G, align 8, !tbaa !23 %118 = icmp eq i64 %116, %117 %119 = icmp eq i32 %110, 0 %120 = and i1 %119, %118 br i1 %120, label %121, label %124 121: ; preds = %101 %122 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !6 %123 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %122, ptr noundef %2, i32 noundef 3, i32 noundef 0, i32 noundef 0) #2 br label %249 124: ; preds = %101 %125 = load i64, ptr @ZM_WLAN_TYPE_PURE_B, align 8, !tbaa !23 %126 = icmp eq i64 %116, %125 %127 = select i1 %109, i1 %105, i1 false %128 = and i1 %127, %126 %129 = select i1 %128, i32 0, i32 %110 %130 = tail call i32 @zfFindWifiElement(ptr noundef %0, ptr noundef %1, i32 noundef 2, i32 noundef 0) #2 %131 = icmp eq i32 %130, 65535 br i1 %131, label %142, label %132 132: ; preds = %124 %133 = load i32, ptr @ZM_LV_0, align 4, !tbaa !6 %134 = tail call i32 @zm_msg0_mm(i32 noundef %133, ptr noundef nonnull @.str) #2 %135 = load ptr, ptr @wd, align 8, !tbaa !10 %136 = getelementptr inbounds i8, ptr %135, i64 32 %137 = load i64, ptr %136, align 8, !tbaa !24 %138 = icmp eq i64 %137, 0 br i1 %138, label %142, label %139 139: ; preds = %132 %140 = add nsw i32 %130, 8 %141 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %140) #2 br label %142 142: ; preds = %132, %139, %124 %143 = phi i32 [ 1, %139 ], [ 1, %132 ], [ 0, %124 ] %144 = phi i32 [ %141, %139 ], [ 0, %132 ], [ 0, %124 ] %145 = load ptr, ptr @wd, align 8, !tbaa !10 %146 = getelementptr inbounds i8, ptr %145, i64 40 %147 = load ptr, ptr %146, align 8, !tbaa !25 %148 = getelementptr inbounds i32, ptr %147, i64 %114 %149 = load i32, ptr %148, align 4, !tbaa !6 %150 = icmp eq i32 %149, 1 br i1 %150, label %151, label %230 151: ; preds = %142 %152 = load i32, ptr @ZM_WLAN_EID_WPA_IE, align 4, !tbaa !6 %153 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %152) #2 %154 = icmp eq i32 %153, 65535 br i1 %154, label %178, label %155 155: ; preds = %151 %156 = add nsw i32 %153, 1 %157 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %156) #2 %158 = add nsw i32 %157, 2 %159 = load i32, ptr @ZM_MAX_WPAIE_SIZE, align 4, !tbaa !6 %160 = icmp slt i32 %158, %159 br i1 %160, label %161, label %246 161: ; preds = %155 %162 = load ptr, ptr @wd, align 8, !tbaa !10 %163 = getelementptr inbounds i8, ptr %162, i64 56 %164 = load ptr, ptr %163, align 8, !tbaa !26 %165 = getelementptr inbounds i32, ptr %164, i64 %114 %166 = load i32, ptr %165, align 4, !tbaa !6 %167 = tail call i32 @zfCopyFromRxBuffer(ptr noundef %0, ptr noundef %1, i32 noundef %166, i32 noundef %153, i32 noundef %158) #2 %168 = load ptr, ptr @wd, align 8, !tbaa !10 %169 = getelementptr inbounds i8, ptr %168, i64 48 %170 = load ptr, ptr %169, align 8, !tbaa !27 %171 = getelementptr inbounds i32, ptr %170, i64 %114 store i32 %158, ptr %171, align 4, !tbaa !6 %172 = load i32, ptr @ZM_LV_0, align 4, !tbaa !6 %173 = tail call i32 @zm_msg1_mm(i32 noundef %172, ptr noundef nonnull @.str.1, i32 noundef %102) #2 %174 = load ptr, ptr @wd, align 8, !tbaa !10 %175 = getelementptr inbounds i8, ptr %174, i64 72 %176 = load ptr, ptr %175, align 8, !tbaa !28 %177 = icmp eq ptr %176, null br i1 %177, label %220, label %208 178: ; preds = %151 %179 = load i32, ptr @ZM_WLAN_EID_RSN_IE, align 4, !tbaa !6 %180 = tail call i32 @zfFindElement(ptr noundef %0, ptr noundef %1, i32 noundef %179) #2 %181 = icmp eq i32 %180, 65535 br i1 %181, label %205, label %182 182: ; preds = %178 %183 = add nsw i32 %180, 1 %184 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef %183) #2 %185 = add nsw i32 %184, 2 %186 = load i32, ptr @ZM_MAX_WPAIE_SIZE, align 4, !tbaa !6 %187 = icmp slt i32 %185, %186 br i1 %187, label %188, label %246 188: ; preds = %182 %189 = load ptr, ptr @wd, align 8, !tbaa !10 %190 = getelementptr inbounds i8, ptr %189, i64 56 %191 = load ptr, ptr %190, align 8, !tbaa !26 %192 = getelementptr inbounds i32, ptr %191, i64 %114 %193 = load i32, ptr %192, align 4, !tbaa !6 %194 = tail call i32 @zfCopyFromRxBuffer(ptr noundef %0, ptr noundef %1, i32 noundef %193, i32 noundef %180, i32 noundef %185) #2 %195 = load ptr, ptr @wd, align 8, !tbaa !10 %196 = getelementptr inbounds i8, ptr %195, i64 48 %197 = load ptr, ptr %196, align 8, !tbaa !27 %198 = getelementptr inbounds i32, ptr %197, i64 %114 store i32 %185, ptr %198, align 4, !tbaa !6 %199 = load i32, ptr @ZM_LV_0, align 4, !tbaa !6 %200 = tail call i32 @zm_msg1_mm(i32 noundef %199, ptr noundef nonnull @.str.2, i32 noundef %102) #2 %201 = load ptr, ptr @wd, align 8, !tbaa !10 %202 = getelementptr inbounds i8, ptr %201, i64 72 %203 = load ptr, ptr %202, align 8, !tbaa !28 %204 = icmp eq ptr %203, null br i1 %204, label %220, label %208 205: ; preds = %178 %206 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !6 %207 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %206, ptr noundef %2, i32 noundef 6, i32 noundef 0, i32 noundef 0) #2 br label %249 208: ; preds = %188, %161 %209 = phi ptr [ %174, %161 ], [ %201, %188 ] %210 = phi ptr [ %176, %161 ], [ %203, %188 ] %211 = getelementptr inbounds i8, ptr %209, i64 56 %212 = load ptr, ptr %211, align 8, !tbaa !26 %213 = getelementptr inbounds i32, ptr %212, i64 %114 %214 = load i32, ptr %213, align 4, !tbaa !6 %215 = getelementptr inbounds i8, ptr %209, i64 48 %216 = load ptr, ptr %215, align 8, !tbaa !27 %217 = getelementptr inbounds i32, ptr %216, i64 %114 %218 = load i32, ptr %217, align 4, !tbaa !6 %219 = tail call i32 %210(ptr noundef %0, ptr noundef %2, i32 noundef %214, i32 noundef %218, i32 noundef %102) #2 br label %220 220: ; preds = %208, %188, %161 %221 = load ptr, ptr @wd, align 8, !tbaa !10 %222 = getelementptr inbounds i8, ptr %221, i64 40 %223 = load ptr, ptr %222, align 8, !tbaa !25 %224 = getelementptr inbounds i32, ptr %223, i64 %114 %225 = load i32, ptr %224, align 4, !tbaa !6 %226 = icmp eq i32 %225, 0 br i1 %226, label %227, label %230 227: ; preds = %220 %228 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !6 %229 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %228, ptr noundef %2, i32 noundef 6, i32 noundef 0, i32 noundef 0) #2 br label %249 230: ; preds = %142, %220 %231 = load i32, ptr @ZM_STATE_ASOC, align 4, !tbaa !6 %232 = tail call i32 @zfApAddSta(ptr noundef %0, ptr noundef %2, i32 noundef %231, i32 noundef %102, i32 noundef %129, i32 noundef %143, i32 noundef %144) #2 %233 = tail call i32 @zfApStoreAsocReqIe(ptr noundef %0, ptr noundef %1, i32 noundef %232) #2 %234 = icmp eq i32 %232, 65535 br i1 %234, label %246, label %235 235: ; preds = %230 %236 = tail call i32 @zmw_rx_buf_readb(ptr noundef %0, ptr noundef %1, i32 noundef 0) #2 %237 = load i32, ptr @ZM_WLAN_FRAME_TYPE_ASOCREQ, align 4, !tbaa !6 %238 = icmp eq i32 %236, %237 %239 = add nsw i32 %232, 1 br i1 %238, label %240, label %243 240: ; preds = %235 %241 = load i32, ptr @ZM_WLAN_FRAME_TYPE_ASOCRSP, align 4, !tbaa !6 %242 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %241, ptr noundef %2, i32 noundef 0, i32 noundef %239, i32 noundef %102) #2 br label %249 243: ; preds = %235 %244 = load i32, ptr @ZM_WLAN_FRAME_TYPE_REASOCRSP, align 4, !tbaa !6 %245 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %244, ptr noundef %2, i32 noundef 0, i32 noundef %239, i32 noundef %102) #2 br label %249 246: ; preds = %182, %155, %96, %31, %230 %247 = load i32, ptr @ZM_WLAN_FRAME_TYPE_DEAUTH, align 4, !tbaa !6 %248 = tail call i32 @zfSendMmFrame(ptr noundef %0, i32 noundef %247, ptr noundef %2, i32 noundef 6, i32 noundef 0, i32 noundef 0) #2 br label %249 249: ; preds = %246, %243, %240, %227, %205, %121 ret void } declare i32 @zmw_get_wlan_dev(ptr noundef) local_unnamed_addr #1 declare i32 @zfFindElement(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zmw_buf_readb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfSendMmFrame(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfFindWifiElement(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zm_msg0_mm(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zmw_rx_buf_readb(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfCopyFromRxBuffer(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zm_msg1_mm(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfApAddSta(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @zfApStoreAsocReqIe(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !14, i64 0, !11, i64 64, !11, i64 72} !14 = !{!"TYPE_3__", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !15, i64 32, !11, i64 40, !11, i64 48, !11, i64 56} !15 = !{!"long", !8, i64 0} !16 = !{!13, !11, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!13, !11, i64 16} !20 = distinct !{!20, !18} !21 = distinct !{!21, !18} !22 = !{!13, !11, i64 24} !23 = !{!15, !15, i64 0} !24 = !{!13, !15, i64 32} !25 = !{!13, !11, i64 40} !26 = !{!13, !11, i64 56} !27 = !{!13, !11, i64 48} !28 = !{!13, !11, i64 72}
fastsocket_kernel_drivers_staging_otus_80211core_extr_cmmap.c_zfApProcessAsocReq