IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/winmm/extr_mixer.c_mixer_testsW.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/winmm/extr_mixer.c_mixer_testsW.c" target datalayout = "e-m:e-p270:32:32-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 [33 x i8] c"--- Testing WCHAR functions ---\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"found %d Mixer devices\0A\00", align 1 @MMSYSERR_BADDEVICEID = dso_local local_unnamed_addr global i64 0, align 8 @MMSYSERR_NOTSUPPORTED = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [82 x i8] c"mixerGetDevCapsW: MMSYSERR_BADDEVICEID or MMSYSERR_NOTSUPPORTED expected, got %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mixer_testsW], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @mixer_testsW() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str) #3 %3 = tail call i64 (...) @mixerGetNumDevs() #3 %4 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.1, i64 noundef %3) #3 %5 = add nsw i64 %3, 1 %6 = call i64 @mixerGetDevCapsW(i64 noundef %5, ptr noundef nonnull %1, i32 noundef 4) #3 %7 = load i64, ptr @MMSYSERR_BADDEVICEID, align 8, !tbaa !5 %8 = icmp eq i64 %6, %7 %9 = load i64, ptr @MMSYSERR_NOTSUPPORTED, align 8 %10 = icmp eq i64 %6, %9 %11 = select i1 %8, i1 true, i1 %10 %12 = zext i1 %11 to i32 %13 = call i32 @mmsys_error(i64 noundef %6) #3 %14 = call i32 @ok(i32 noundef %12, ptr noundef nonnull @.str.2, i32 noundef %13) #3 %15 = load i64, ptr @MMSYSERR_NOTSUPPORTED, align 8, !tbaa !5 %16 = icmp ne i64 %6, %15 %17 = icmp sgt i64 %3, 0 %18 = and i1 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %0, %19 %20 = phi i64 [ %22, %19 ], [ 0, %0 ] %21 = call i32 @mixer_test_deviceW(i64 noundef %20) #3 %22 = add nuw nsw i64 %20, 1 %23 = icmp eq i64 %22, %3 br i1 %23, label %24, label %19, !llvm.loop !9 24: ; preds = %19, %0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace(ptr noundef, ...) local_unnamed_addr #2 declare i64 @mixerGetNumDevs(...) local_unnamed_addr #2 declare i64 @mixerGetDevCapsW(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mmsys_error(i64 noundef) local_unnamed_addr #2 declare i32 @mixer_test_deviceW(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/winmm/extr_mixer.c_mixer_testsW.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/winmm/extr_mixer.c_mixer_testsW.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 [33 x i8] c"--- Testing WCHAR functions ---\0A\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"found %d Mixer devices\0A\00", align 1 @MMSYSERR_BADDEVICEID = common local_unnamed_addr global i64 0, align 8 @MMSYSERR_NOTSUPPORTED = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [82 x i8] c"mixerGetDevCapsW: MMSYSERR_BADDEVICEID or MMSYSERR_NOTSUPPORTED expected, got %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mixer_testsW], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @mixer_testsW() #0 { %1 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #3 %2 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str) #3 %3 = tail call i64 @mixerGetNumDevs() #3 %4 = tail call i32 (ptr, ...) @trace(ptr noundef nonnull @.str.1, i64 noundef %3) #3 %5 = add nsw i64 %3, 1 %6 = call i64 @mixerGetDevCapsW(i64 noundef %5, ptr noundef nonnull %1, i32 noundef 4) #3 %7 = load i64, ptr @MMSYSERR_BADDEVICEID, align 8, !tbaa !6 %8 = icmp eq i64 %6, %7 %9 = load i64, ptr @MMSYSERR_NOTSUPPORTED, align 8 %10 = icmp eq i64 %6, %9 %11 = select i1 %8, i1 true, i1 %10 %12 = zext i1 %11 to i32 %13 = call i32 @mmsys_error(i64 noundef %6) #3 %14 = call i32 @ok(i32 noundef %12, ptr noundef nonnull @.str.2, i32 noundef %13) #3 %15 = load i64, ptr @MMSYSERR_NOTSUPPORTED, align 8, !tbaa !6 %16 = icmp ne i64 %6, %15 %17 = icmp sgt i64 %3, 0 %18 = and i1 %16, %17 br i1 %18, label %19, label %24 19: ; preds = %0, %19 %20 = phi i64 [ %22, %19 ], [ 0, %0 ] %21 = call i32 @mixer_test_deviceW(i64 noundef %20) #3 %22 = add nuw nsw i64 %20, 1 %23 = icmp eq i64 %22, %3 br i1 %23, label %24, label %19, !llvm.loop !10 24: ; preds = %19, %0 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @trace(ptr noundef, ...) local_unnamed_addr #2 declare i64 @mixerGetNumDevs(...) local_unnamed_addr #2 declare i64 @mixerGetDevCapsW(i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mmsys_error(i64 noundef) local_unnamed_addr #2 declare i32 @mixer_test_deviceW(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
reactos_modules_rostests_winetests_winmm_extr_mixer.c_mixer_testsW
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ohci-ppc-of.c_ohci_ppc_of_start.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_ohci-ppc-of.c_ohci_ppc_of_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @.str = private unnamed_addr constant [16 x i8] c"can't start %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ohci_ppc_of_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ohci_ppc_of_start(ptr noundef %0) #0 { %2 = tail call ptr @hcd_to_ohci(ptr noundef %0) #2 %3 = tail call i32 @ohci_init(ptr noundef %2) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %14, label %5 5: ; preds = %1 %6 = tail call i32 @ohci_run(ptr noundef %2) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %5 %9 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = load i32, ptr %0, align 4, !tbaa !11 %12 = tail call i32 @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = tail call i32 @ohci_stop(ptr noundef nonnull %0) #2 br label %14 14: ; preds = %5, %1, %8 %15 = phi i32 [ %6, %8 ], [ %3, %1 ], [ 0, %5 ] ret i32 %15 } declare ptr @hcd_to_ohci(ptr noundef) local_unnamed_addr #1 declare i32 @ohci_init(ptr noundef) local_unnamed_addr #1 declare i32 @ohci_run(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ohci_stop(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 4} !6 = !{!"usb_hcd", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_ohci-ppc-of.c_ohci_ppc_of_start.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_ohci-ppc-of.c_ohci_ppc_of_start.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 [16 x i8] c"can't start %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ohci_ppc_of_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483648, 1) i32 @ohci_ppc_of_start(ptr noundef %0) #0 { %2 = tail call ptr @hcd_to_ohci(ptr noundef %0) #2 %3 = tail call i32 @ohci_init(ptr noundef %2) #2 %4 = icmp slt i32 %3, 0 br i1 %4, label %14, label %5 5: ; preds = %1 %6 = tail call i32 @ohci_run(ptr noundef %2) #2 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %5 %9 = getelementptr inbounds i8, ptr %0, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = load i32, ptr %0, align 4, !tbaa !12 %12 = tail call i32 @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %11) #2 %13 = tail call i32 @ohci_stop(ptr noundef nonnull %0) #2 br label %14 14: ; preds = %5, %1, %8 %15 = phi i32 [ %6, %8 ], [ %3, %1 ], [ 0, %5 ] ret i32 %15 } declare ptr @hcd_to_ohci(ptr noundef) local_unnamed_addr #1 declare i32 @ohci_init(ptr noundef) local_unnamed_addr #1 declare i32 @ohci_run(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ohci_stop(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 4} !7 = !{!"usb_hcd", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 0}
linux_drivers_usb_host_extr_ohci-ppc-of.c_ohci_ppc_of_start
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_rme32.c_snd_rme32_capture_pointer.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_rme32.c_snd_rme32_capture_pointer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_rme32_capture_pointer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_rme32_capture_pointer(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = tail call i32 @snd_rme32_pcm_byteptr(ptr noundef %2) #2 %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = ashr i32 %3, %4 ret i32 %5 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_rme32_pcm_byteptr(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 = !{!"rme32", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/pci/extr_rme32.c_snd_rme32_capture_pointer.c' source_filename = "AnghaBench/fastsocket/kernel/sound/pci/extr_rme32.c_snd_rme32_capture_pointer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @snd_rme32_capture_pointer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_rme32_capture_pointer(ptr noundef %0) #0 { %2 = tail call ptr @snd_pcm_substream_chip(ptr noundef %0) #2 %3 = tail call i32 @snd_rme32_pcm_byteptr(ptr noundef %2) #2 %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = ashr i32 %3, %4 ret i32 %5 } declare ptr @snd_pcm_substream_chip(ptr noundef) local_unnamed_addr #1 declare i32 @snd_rme32_pcm_byteptr(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 = !{!"rme32", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_sound_pci_extr_rme32.c_snd_rme32_capture_pointer
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bev_group_refill_callback_.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bev_group_refill_callback_.c" target datalayout = "e-m:e-p270:32:32-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.timeval = type { i32 } %struct.bufferevent_rate_limit_group = type { i64, %struct.TYPE_2__, i64, i64, i64, i64, i32, i32 } %struct.TYPE_2__ = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @bev_group_refill_callback_], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @bev_group_refill_callback_(i32 %0, i16 signext %1, ptr noundef %2) #0 { %4 = alloca %struct.timeval, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 7 %6 = tail call i32 @event_get_base(ptr noundef nonnull %5) #3 %7 = call i32 @event_base_gettimeofday_cached(i32 noundef %6, ptr noundef nonnull %4) #3 %8 = call i32 @LOCK_GROUP(ptr noundef %2) #3 %9 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 6 %10 = call i32 @ev_token_bucket_get_tick_(ptr noundef nonnull %4, ptr noundef nonnull %9) #3 %11 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 1 %12 = call i32 @ev_token_bucket_update_(ptr noundef nonnull %11, ptr noundef nonnull %9, i32 noundef %10) #3 %13 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 5 %14 = load i64, ptr %13, align 8, !tbaa !5 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %3 %17 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 4 %18 = load i64, ptr %17, align 8, !tbaa !12 %19 = icmp eq i64 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %16 %21 = load i64, ptr %11, align 8, !tbaa !13 %22 = load i64, ptr %2, align 8, !tbaa !14 %23 = icmp slt i64 %21, %22 br i1 %23, label %26, label %24 24: ; preds = %20, %3 %25 = call i32 @bev_group_unsuspend_reading_(ptr noundef nonnull %2) #3 br label %26 26: ; preds = %24, %20, %16 %27 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 3 %28 = load i64, ptr %27, align 8, !tbaa !15 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %26 %31 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 2 %32 = load i64, ptr %31, align 8, !tbaa !16 %33 = icmp eq i64 %32, 0 br i1 %33, label %41, label %34 34: ; preds = %30 %35 = getelementptr inbounds %struct.bufferevent_rate_limit_group, ptr %2, i64 0, i32 1, i32 1 %36 = load i64, ptr %35, align 8, !tbaa !17 %37 = load i64, ptr %2, align 8, !tbaa !14 %38 = icmp slt i64 %36, %37 br i1 %38, label %41, label %39 39: ; preds = %34, %26 %40 = call i32 @bev_group_unsuspend_writing_(ptr noundef nonnull %2) #3 br label %41 41: ; preds = %39, %34, %30 %42 = call i32 @UNLOCK_GROUP(ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @event_base_gettimeofday_cached(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @event_get_base(ptr noundef) local_unnamed_addr #2 declare i32 @LOCK_GROUP(ptr noundef) local_unnamed_addr #2 declare i32 @ev_token_bucket_get_tick_(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ev_token_bucket_update_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bev_group_unsuspend_reading_(ptr noundef) local_unnamed_addr #2 declare i32 @bev_group_unsuspend_writing_(ptr noundef) local_unnamed_addr #2 declare i32 @UNLOCK_GROUP(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 48} !6 = !{!"bufferevent_rate_limit_group", !7, i64 0, !10, i64 8, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !11, i64 56, !11, i64 60} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_2__", !7, i64 0, !7, i64 8} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 40} !13 = !{!6, !7, i64 8} !14 = !{!6, !7, i64 0} !15 = !{!6, !7, i64 32} !16 = !{!6, !7, i64 24} !17 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bev_group_refill_callback_.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/extr_bufferevent_ratelim.c_bev_group_refill_callback_.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.timeval = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @bev_group_refill_callback_], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @bev_group_refill_callback_(i32 %0, i16 signext %1, ptr noundef %2) #0 { %4 = alloca %struct.timeval, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = getelementptr inbounds i8, ptr %2, i64 60 %6 = tail call i32 @event_get_base(ptr noundef nonnull %5) #3 %7 = call i32 @event_base_gettimeofday_cached(i32 noundef %6, ptr noundef nonnull %4) #3 %8 = call i32 @LOCK_GROUP(ptr noundef %2) #3 %9 = getelementptr inbounds i8, ptr %2, i64 56 %10 = call i32 @ev_token_bucket_get_tick_(ptr noundef nonnull %4, ptr noundef nonnull %9) #3 %11 = getelementptr inbounds i8, ptr %2, i64 8 %12 = call i32 @ev_token_bucket_update_(ptr noundef nonnull %11, ptr noundef nonnull %9, i32 noundef %10) #3 %13 = getelementptr inbounds i8, ptr %2, i64 48 %14 = load i64, ptr %13, align 8, !tbaa !6 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %3 %17 = getelementptr inbounds i8, ptr %2, i64 40 %18 = load i64, ptr %17, align 8, !tbaa !13 %19 = icmp eq i64 %18, 0 br i1 %19, label %26, label %20 20: ; preds = %16 %21 = load i64, ptr %11, align 8, !tbaa !14 %22 = load i64, ptr %2, align 8, !tbaa !15 %23 = icmp slt i64 %21, %22 br i1 %23, label %26, label %24 24: ; preds = %20, %3 %25 = call i32 @bev_group_unsuspend_reading_(ptr noundef nonnull %2) #3 br label %26 26: ; preds = %24, %20, %16 %27 = getelementptr inbounds i8, ptr %2, i64 32 %28 = load i64, ptr %27, align 8, !tbaa !16 %29 = icmp eq i64 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %26 %31 = getelementptr inbounds i8, ptr %2, i64 24 %32 = load i64, ptr %31, align 8, !tbaa !17 %33 = icmp eq i64 %32, 0 br i1 %33, label %41, label %34 34: ; preds = %30 %35 = getelementptr inbounds i8, ptr %2, i64 16 %36 = load i64, ptr %35, align 8, !tbaa !18 %37 = load i64, ptr %2, align 8, !tbaa !15 %38 = icmp slt i64 %36, %37 br i1 %38, label %41, label %39 39: ; preds = %34, %26 %40 = call i32 @bev_group_unsuspend_writing_(ptr noundef nonnull %2) #3 br label %41 41: ; preds = %39, %34, %30 %42 = call i32 @UNLOCK_GROUP(ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @event_base_gettimeofday_cached(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @event_get_base(ptr noundef) local_unnamed_addr #2 declare i32 @LOCK_GROUP(ptr noundef) local_unnamed_addr #2 declare i32 @ev_token_bucket_get_tick_(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ev_token_bucket_update_(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @bev_group_unsuspend_reading_(ptr noundef) local_unnamed_addr #2 declare i32 @bev_group_unsuspend_writing_(ptr noundef) local_unnamed_addr #2 declare i32 @UNLOCK_GROUP(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 48} !7 = !{!"bufferevent_rate_limit_group", !8, i64 0, !11, i64 8, !8, i64 24, !8, i64 32, !8, i64 40, !8, i64 48, !12, i64 56, !12, i64 60} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_2__", !8, i64 0, !8, i64 8} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 40} !14 = !{!7, !8, i64 8} !15 = !{!7, !8, i64 0} !16 = !{!7, !8, i64 32} !17 = !{!7, !8, i64 24} !18 = !{!7, !8, i64 16}
freebsd_contrib_ntp_sntp_libevent_extr_bufferevent_ratelim.c_bev_group_refill_callback_
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb_noinline.c_jhash.c' source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb_noinline.c_jhash.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @JHASH_INITVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @jhash], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @jhash(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @JHASH_INITVAL, align 4, !tbaa !5 %5 = add i32 %2, %1 %6 = add i32 %5, %4 %7 = icmp sgt i32 %1, 12 br i1 %7, label %8, label %26 8: ; preds = %3, %8 %9 = phi ptr [ %24, %8 ], [ %0, %3 ] %10 = phi i32 [ %21, %8 ], [ %6, %3 ] %11 = phi i32 [ %18, %8 ], [ %6, %3 ] %12 = phi i32 [ %15, %8 ], [ %6, %3 ] %13 = phi i32 [ %23, %8 ], [ %1, %3 ] %14 = load i32, ptr %9, align 4, !tbaa !5 %15 = add nsw i32 %14, %12 %16 = getelementptr inbounds i8, ptr %9, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !5 %18 = add nsw i32 %17, %11 %19 = getelementptr inbounds i8, ptr %9, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !5 %21 = add nsw i32 %20, %10 %22 = tail call i32 @__jhash_mix(i32 noundef %15, i32 noundef %18, i32 noundef %21) #2 %23 = add nsw i32 %13, -12 %24 = getelementptr inbounds i8, ptr %9, i64 12 %25 = icmp ugt i32 %13, 24 br i1 %25, label %8, label %26, !llvm.loop !9 26: ; preds = %8, %3 %27 = phi i32 [ %1, %3 ], [ %23, %8 ] %28 = phi i32 [ %6, %3 ], [ %15, %8 ] %29 = phi i32 [ %6, %3 ], [ %18, %8 ] %30 = phi i32 [ %6, %3 ], [ %21, %8 ] %31 = phi ptr [ %0, %3 ], [ %24, %8 ] switch i32 %27, label %122 [ i32 12, label %32 i32 11, label %38 i32 10, label %45 i32 9, label %52 i32 8, label %58 i32 7, label %65 i32 6, label %73 i32 5, label %81 i32 4, label %88 i32 3, label %96 i32 2, label %105 i32 1, label %114 ] 32: ; preds = %26 %33 = getelementptr inbounds i8, ptr %31, i64 11 %34 = load i8, ptr %33, align 1, !tbaa !11 %35 = zext i8 %34 to i32 %36 = shl nuw i32 %35, 24 %37 = add nsw i32 %36, %30 br label %38 38: ; preds = %26, %32 %39 = phi i32 [ %30, %26 ], [ %37, %32 ] %40 = getelementptr inbounds i8, ptr %31, i64 10 %41 = load i8, ptr %40, align 1, !tbaa !11 %42 = zext i8 %41 to i32 %43 = shl nuw nsw i32 %42, 16 %44 = add nsw i32 %43, %39 br label %45 45: ; preds = %26, %38 %46 = phi i32 [ %30, %26 ], [ %44, %38 ] %47 = getelementptr inbounds i8, ptr %31, i64 9 %48 = load i8, ptr %47, align 1, !tbaa !11 %49 = zext i8 %48 to i32 %50 = shl nuw nsw i32 %49, 8 %51 = add nsw i32 %50, %46 br label %52 52: ; preds = %26, %45 %53 = phi i32 [ %30, %26 ], [ %51, %45 ] %54 = getelementptr inbounds i8, ptr %31, i64 8 %55 = load i8, ptr %54, align 1, !tbaa !11 %56 = zext i8 %55 to i32 %57 = add nsw i32 %53, %56 br label %58 58: ; preds = %26, %52 %59 = phi i32 [ %30, %26 ], [ %57, %52 ] %60 = getelementptr inbounds i8, ptr %31, i64 7 %61 = load i8, ptr %60, align 1, !tbaa !11 %62 = zext i8 %61 to i32 %63 = shl nuw i32 %62, 24 %64 = add nsw i32 %63, %29 br label %65 65: ; preds = %26, %58 %66 = phi i32 [ %29, %26 ], [ %64, %58 ] %67 = phi i32 [ %30, %26 ], [ %59, %58 ] %68 = getelementptr inbounds i8, ptr %31, i64 6 %69 = load i8, ptr %68, align 1, !tbaa !11 %70 = zext i8 %69 to i32 %71 = shl nuw nsw i32 %70, 16 %72 = add nsw i32 %71, %66 br label %73 73: ; preds = %26, %65 %74 = phi i32 [ %29, %26 ], [ %72, %65 ] %75 = phi i32 [ %30, %26 ], [ %67, %65 ] %76 = getelementptr inbounds i8, ptr %31, i64 5 %77 = load i8, ptr %76, align 1, !tbaa !11 %78 = zext i8 %77 to i32 %79 = shl nuw nsw i32 %78, 8 %80 = add nsw i32 %79, %74 br label %81 81: ; preds = %26, %73 %82 = phi i32 [ %29, %26 ], [ %80, %73 ] %83 = phi i32 [ %30, %26 ], [ %75, %73 ] %84 = getelementptr inbounds i8, ptr %31, i64 4 %85 = load i8, ptr %84, align 1, !tbaa !11 %86 = zext i8 %85 to i32 %87 = add nsw i32 %82, %86 br label %88 88: ; preds = %26, %81 %89 = phi i32 [ %29, %26 ], [ %87, %81 ] %90 = phi i32 [ %30, %26 ], [ %83, %81 ] %91 = getelementptr inbounds i8, ptr %31, i64 3 %92 = load i8, ptr %91, align 1, !tbaa !11 %93 = zext i8 %92 to i32 %94 = shl nuw i32 %93, 24 %95 = add nsw i32 %94, %28 br label %96 96: ; preds = %26, %88 %97 = phi i32 [ %28, %26 ], [ %95, %88 ] %98 = phi i32 [ %29, %26 ], [ %89, %88 ] %99 = phi i32 [ %30, %26 ], [ %90, %88 ] %100 = getelementptr inbounds i8, ptr %31, i64 2 %101 = load i8, ptr %100, align 1, !tbaa !11 %102 = zext i8 %101 to i32 %103 = shl nuw nsw i32 %102, 16 %104 = add nsw i32 %103, %97 br label %105 105: ; preds = %26, %96 %106 = phi i32 [ %28, %26 ], [ %104, %96 ] %107 = phi i32 [ %29, %26 ], [ %98, %96 ] %108 = phi i32 [ %30, %26 ], [ %99, %96 ] %109 = getelementptr inbounds i8, ptr %31, i64 1 %110 = load i8, ptr %109, align 1, !tbaa !11 %111 = zext i8 %110 to i32 %112 = shl nuw nsw i32 %111, 8 %113 = add nsw i32 %112, %106 br label %114 114: ; preds = %26, %105 %115 = phi i32 [ %28, %26 ], [ %113, %105 ] %116 = phi i32 [ %29, %26 ], [ %107, %105 ] %117 = phi i32 [ %30, %26 ], [ %108, %105 ] %118 = load i8, ptr %31, align 1, !tbaa !11 %119 = zext i8 %118 to i32 %120 = add nsw i32 %115, %119 %121 = tail call i32 @__jhash_final(i32 noundef %120, i32 noundef %116, i32 noundef %117) #2 br label %122 122: ; preds = %26, %114 %123 = phi i32 [ %30, %26 ], [ %117, %114 ] ret i32 %123 } declare i32 @__jhash_mix(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__jhash_final(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb_noinline.c_jhash.c' source_filename = "AnghaBench/linux/tools/testing/selftests/bpf/progs/extr_test_l4lb_noinline.c_jhash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JHASH_INITVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @jhash], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @jhash(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @JHASH_INITVAL, align 4, !tbaa !6 %5 = add i32 %2, %1 %6 = add i32 %5, %4 %7 = icmp sgt i32 %1, 12 br i1 %7, label %8, label %26 8: ; preds = %3, %8 %9 = phi ptr [ %24, %8 ], [ %0, %3 ] %10 = phi i32 [ %21, %8 ], [ %6, %3 ] %11 = phi i32 [ %18, %8 ], [ %6, %3 ] %12 = phi i32 [ %15, %8 ], [ %6, %3 ] %13 = phi i32 [ %23, %8 ], [ %1, %3 ] %14 = load i32, ptr %9, align 4, !tbaa !6 %15 = add nsw i32 %14, %12 %16 = getelementptr inbounds i8, ptr %9, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !6 %18 = add nsw i32 %17, %11 %19 = getelementptr inbounds i8, ptr %9, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !6 %21 = add nsw i32 %20, %10 %22 = tail call i32 @__jhash_mix(i32 noundef %15, i32 noundef %18, i32 noundef %21) #2 %23 = add nsw i32 %13, -12 %24 = getelementptr inbounds i8, ptr %9, i64 12 %25 = icmp ugt i32 %13, 24 br i1 %25, label %8, label %26, !llvm.loop !10 26: ; preds = %8, %3 %27 = phi i32 [ %1, %3 ], [ %23, %8 ] %28 = phi i32 [ %6, %3 ], [ %15, %8 ] %29 = phi i32 [ %6, %3 ], [ %18, %8 ] %30 = phi i32 [ %6, %3 ], [ %21, %8 ] %31 = phi ptr [ %0, %3 ], [ %24, %8 ] switch i32 %27, label %122 [ i32 12, label %32 i32 11, label %38 i32 10, label %45 i32 9, label %52 i32 8, label %58 i32 7, label %65 i32 6, label %73 i32 5, label %81 i32 4, label %88 i32 3, label %96 i32 2, label %105 i32 1, label %114 ] 32: ; preds = %26 %33 = getelementptr inbounds i8, ptr %31, i64 11 %34 = load i8, ptr %33, align 1, !tbaa !12 %35 = zext i8 %34 to i32 %36 = shl nuw i32 %35, 24 %37 = add nsw i32 %36, %30 br label %38 38: ; preds = %26, %32 %39 = phi i32 [ %30, %26 ], [ %37, %32 ] %40 = getelementptr inbounds i8, ptr %31, i64 10 %41 = load i8, ptr %40, align 1, !tbaa !12 %42 = zext i8 %41 to i32 %43 = shl nuw nsw i32 %42, 16 %44 = add nsw i32 %43, %39 br label %45 45: ; preds = %26, %38 %46 = phi i32 [ %30, %26 ], [ %44, %38 ] %47 = getelementptr inbounds i8, ptr %31, i64 9 %48 = load i8, ptr %47, align 1, !tbaa !12 %49 = zext i8 %48 to i32 %50 = shl nuw nsw i32 %49, 8 %51 = add nsw i32 %50, %46 br label %52 52: ; preds = %26, %45 %53 = phi i32 [ %30, %26 ], [ %51, %45 ] %54 = getelementptr inbounds i8, ptr %31, i64 8 %55 = load i8, ptr %54, align 1, !tbaa !12 %56 = zext i8 %55 to i32 %57 = add nsw i32 %53, %56 br label %58 58: ; preds = %26, %52 %59 = phi i32 [ %30, %26 ], [ %57, %52 ] %60 = getelementptr inbounds i8, ptr %31, i64 7 %61 = load i8, ptr %60, align 1, !tbaa !12 %62 = zext i8 %61 to i32 %63 = shl nuw i32 %62, 24 %64 = add nsw i32 %63, %29 br label %65 65: ; preds = %26, %58 %66 = phi i32 [ %29, %26 ], [ %64, %58 ] %67 = phi i32 [ %30, %26 ], [ %59, %58 ] %68 = getelementptr inbounds i8, ptr %31, i64 6 %69 = load i8, ptr %68, align 1, !tbaa !12 %70 = zext i8 %69 to i32 %71 = shl nuw nsw i32 %70, 16 %72 = add nsw i32 %71, %66 br label %73 73: ; preds = %26, %65 %74 = phi i32 [ %29, %26 ], [ %72, %65 ] %75 = phi i32 [ %30, %26 ], [ %67, %65 ] %76 = getelementptr inbounds i8, ptr %31, i64 5 %77 = load i8, ptr %76, align 1, !tbaa !12 %78 = zext i8 %77 to i32 %79 = shl nuw nsw i32 %78, 8 %80 = add nsw i32 %79, %74 br label %81 81: ; preds = %26, %73 %82 = phi i32 [ %29, %26 ], [ %80, %73 ] %83 = phi i32 [ %30, %26 ], [ %75, %73 ] %84 = getelementptr inbounds i8, ptr %31, i64 4 %85 = load i8, ptr %84, align 1, !tbaa !12 %86 = zext i8 %85 to i32 %87 = add nsw i32 %82, %86 br label %88 88: ; preds = %26, %81 %89 = phi i32 [ %29, %26 ], [ %87, %81 ] %90 = phi i32 [ %30, %26 ], [ %83, %81 ] %91 = getelementptr inbounds i8, ptr %31, i64 3 %92 = load i8, ptr %91, align 1, !tbaa !12 %93 = zext i8 %92 to i32 %94 = shl nuw i32 %93, 24 %95 = add nsw i32 %94, %28 br label %96 96: ; preds = %26, %88 %97 = phi i32 [ %28, %26 ], [ %95, %88 ] %98 = phi i32 [ %29, %26 ], [ %89, %88 ] %99 = phi i32 [ %30, %26 ], [ %90, %88 ] %100 = getelementptr inbounds i8, ptr %31, i64 2 %101 = load i8, ptr %100, align 1, !tbaa !12 %102 = zext i8 %101 to i32 %103 = shl nuw nsw i32 %102, 16 %104 = add nsw i32 %103, %97 br label %105 105: ; preds = %26, %96 %106 = phi i32 [ %28, %26 ], [ %104, %96 ] %107 = phi i32 [ %29, %26 ], [ %98, %96 ] %108 = phi i32 [ %30, %26 ], [ %99, %96 ] %109 = getelementptr inbounds i8, ptr %31, i64 1 %110 = load i8, ptr %109, align 1, !tbaa !12 %111 = zext i8 %110 to i32 %112 = shl nuw nsw i32 %111, 8 %113 = add nsw i32 %112, %106 br label %114 114: ; preds = %26, %105 %115 = phi i32 [ %28, %26 ], [ %113, %105 ] %116 = phi i32 [ %29, %26 ], [ %107, %105 ] %117 = phi i32 [ %30, %26 ], [ %108, %105 ] %118 = load i8, ptr %31, align 1, !tbaa !12 %119 = zext i8 %118 to i32 %120 = add nsw i32 %115, %119 %121 = tail call i32 @__jhash_final(i32 noundef %120, i32 noundef %116, i32 noundef %117) #2 br label %122 122: ; preds = %26, %114 %123 = phi i32 [ %30, %26 ], [ %117, %114 ] ret i32 %123 } declare i32 @__jhash_mix(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @__jhash_final(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!8, !8, i64 0}
linux_tools_testing_selftests_bpf_progs_extr_test_l4lb_noinline.c_jhash
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_d3d12.c_d3d12_gfx_free.c' source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_d3d12.c_d3d12_gfx_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_19__ = type { ptr, ptr, ptr, ptr, %struct.TYPE_18__, %struct.TYPE_17__, %struct.TYPE_28__, ptr, ptr, ptr, %struct.TYPE_27__, %struct.TYPE_23__, %struct.TYPE_21__, ptr } %struct.TYPE_18__ = type { ptr, ptr, ptr, ptr } %struct.TYPE_17__ = type { ptr, ptr } %struct.TYPE_28__ = type { ptr, ptr, ptr, ptr } %struct.TYPE_27__ = type { ptr, ptr, ptr, %struct.TYPE_26__, %struct.TYPE_25__, %struct.TYPE_24__ } %struct.TYPE_26__ = type { ptr, ptr } %struct.TYPE_25__ = type { ptr, ptr } %struct.TYPE_24__ = type { ptr, ptr } %struct.TYPE_23__ = type { %struct.TYPE_22__, ptr } %struct.TYPE_22__ = type { ptr, ptr } %struct.TYPE_21__ = type { ptr, ptr, ptr } %struct.TYPE_20__ = type { ptr, ptr } @GFX_MAX_SHADERS = dso_local local_unnamed_addr global i32 0, align 4 @D3D12_MAX_GPU_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @d3d12_gfx_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @d3d12_gfx_free(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %146, label %3 3: ; preds = %1 %4 = tail call i32 @d3d12_gfx_sync(ptr noundef nonnull %0) #2 %5 = tail call i32 @d3d12_free_shader_preset(ptr noundef nonnull %0) #2 %6 = tail call i32 (...) @font_driver_free_osd() #2 %7 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 6 %8 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 6, i32 3 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = tail call i32 @Release(ptr noundef %9) #2 %11 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 13 %12 = load ptr, ptr %11, align 8, !tbaa !20 %13 = tail call i32 @Release(ptr noundef %12) #2 %14 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 12 %15 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 12, i32 2 %16 = load ptr, ptr %15, align 8, !tbaa !21 %17 = tail call i32 @Release(ptr noundef %16) #2 %18 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 12, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !22 %20 = tail call i32 @Release(ptr noundef %19) #2 %21 = load ptr, ptr %14, align 8, !tbaa !23 %22 = getelementptr inbounds %struct.TYPE_20__, ptr %21, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !24 %24 = tail call i32 @Release(ptr noundef %23) #2 %25 = load ptr, ptr %14, align 8, !tbaa !23 %26 = load ptr, ptr %25, align 8, !tbaa !26 %27 = tail call i32 @Release(ptr noundef %26) #2 %28 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 11 %29 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 11, i32 1 %30 = load ptr, ptr %29, align 8, !tbaa !27 %31 = tail call i32 @Release(ptr noundef %30) #2 %32 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 11, i32 0, i32 1 %33 = load ptr, ptr %32, align 8, !tbaa !28 %34 = tail call i32 @Release(ptr noundef %33) #2 %35 = load ptr, ptr %28, align 8, !tbaa !29 %36 = tail call i32 @Release(ptr noundef %35) #2 %37 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10 %38 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 5 %39 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 5, i32 1 %40 = load ptr, ptr %39, align 8, !tbaa !30 %41 = tail call i32 @free(ptr noundef %40) #2 %42 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 4 %43 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 4, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !31 %45 = tail call i32 @free(ptr noundef %44) #2 %46 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 3 %47 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 3, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !32 %49 = tail call i32 @free(ptr noundef %48) #2 %50 = load ptr, ptr %38, align 8, !tbaa !33 %51 = tail call i32 @Release(ptr noundef %50) #2 %52 = load ptr, ptr %42, align 8, !tbaa !34 %53 = tail call i32 @Release(ptr noundef %52) #2 %54 = load ptr, ptr %46, align 8, !tbaa !35 %55 = tail call i32 @Release(ptr noundef %54) #2 %56 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 2 %57 = load ptr, ptr %56, align 8, !tbaa !36 %58 = tail call i32 @Release(ptr noundef %57) #2 %59 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 10, i32 1 %60 = load ptr, ptr %59, align 8, !tbaa !37 %61 = tail call i32 @Release(ptr noundef %60) #2 %62 = load ptr, ptr %37, align 8, !tbaa !38 %63 = tail call i32 @Release(ptr noundef %62) #2 %64 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 9 %65 = load ptr, ptr %64, align 8, !tbaa !39 %66 = tail call i32 @Release(ptr noundef %65) #2 %67 = load i32, ptr @GFX_MAX_SHADERS, align 4, !tbaa !40 %68 = icmp eq i32 %67, 0 br i1 %68, label %81, label %69 69: ; preds = %3 %70 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 8 br label %71 71: ; preds = %69, %71 %72 = phi i64 [ 0, %69 ], [ %77, %71 ] %73 = load ptr, ptr %70, align 8, !tbaa !42 %74 = getelementptr inbounds ptr, ptr %73, i64 %72 %75 = load ptr, ptr %74, align 8, !tbaa !43 %76 = tail call i32 @Release(ptr noundef %75) #2 %77 = add nuw nsw i64 %72, 1 %78 = load i32, ptr @GFX_MAX_SHADERS, align 4, !tbaa !40 %79 = zext i32 %78 to i64 %80 = icmp ult i64 %77, %79 br i1 %80, label %71, label %81, !llvm.loop !44 81: ; preds = %71, %3 %82 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 7 %83 = load ptr, ptr %82, align 8, !tbaa !46 %84 = tail call i32 @Release(ptr noundef %83) #2 %85 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 6, i32 2 %86 = load ptr, ptr %85, align 8, !tbaa !47 %87 = tail call i32 @Release(ptr noundef %86) #2 %88 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 6, i32 1 %89 = load ptr, ptr %88, align 8, !tbaa !48 %90 = tail call i32 @Release(ptr noundef %89) #2 %91 = load ptr, ptr %7, align 8, !tbaa !49 %92 = tail call i32 @Release(ptr noundef %91) #2 %93 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 4 %94 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 4, i32 3 %95 = load ptr, ptr %94, align 8, !tbaa !50 %96 = tail call i32 @Release(ptr noundef %95) #2 %97 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 5 %98 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 5, i32 1 %99 = load ptr, ptr %98, align 8, !tbaa !51 %100 = load ptr, ptr %99, align 8, !tbaa !43 %101 = tail call i32 @Release(ptr noundef %100) #2 %102 = load ptr, ptr %98, align 8, !tbaa !51 %103 = getelementptr inbounds ptr, ptr %102, i64 1 %104 = load ptr, ptr %103, align 8, !tbaa !43 %105 = tail call i32 @Release(ptr noundef %104) #2 %106 = load ptr, ptr %97, align 8, !tbaa !52 %107 = tail call i32 @Release(ptr noundef %106) #2 %108 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 4, i32 2 %109 = load ptr, ptr %108, align 8, !tbaa !53 %110 = tail call i32 @Release(ptr noundef %109) #2 %111 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 4, i32 1 %112 = load ptr, ptr %111, align 8, !tbaa !54 %113 = tail call i32 @Release(ptr noundef %112) #2 %114 = load ptr, ptr %93, align 8, !tbaa !55 %115 = tail call i32 @Release(ptr noundef %114) #2 %116 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 3 %117 = load ptr, ptr %116, align 8, !tbaa !56 %118 = tail call i32 @Release(ptr noundef %117) #2 %119 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 2 %120 = load ptr, ptr %119, align 8, !tbaa !57 %121 = tail call i32 @Release(ptr noundef %120) #2 %122 = getelementptr inbounds %struct.TYPE_19__, ptr %0, i64 0, i32 1 %123 = load ptr, ptr %122, align 8, !tbaa !58 %124 = tail call i32 @Release(ptr noundef %123) #2 %125 = load i32, ptr @D3D12_MAX_GPU_COUNT, align 4, !tbaa !40 %126 = icmp eq i32 %125, 0 br i1 %126, label %144, label %127 127: ; preds = %81, %139 %128 = phi i32 [ %140, %139 ], [ %125, %81 ] %129 = phi i64 [ %141, %139 ], [ 0, %81 ] %130 = load ptr, ptr %0, align 8, !tbaa !59 %131 = getelementptr inbounds ptr, ptr %130, i64 %129 %132 = load ptr, ptr %131, align 8, !tbaa !43 %133 = icmp eq ptr %132, null br i1 %133, label %139, label %134 134: ; preds = %127 %135 = tail call i32 @Release(ptr noundef nonnull %132) #2 %136 = load ptr, ptr %0, align 8, !tbaa !59 %137 = getelementptr inbounds ptr, ptr %136, i64 %129 store ptr null, ptr %137, align 8, !tbaa !43 %138 = load i32, ptr @D3D12_MAX_GPU_COUNT, align 4, !tbaa !40 br label %139 139: ; preds = %127, %134 %140 = phi i32 [ %128, %127 ], [ %138, %134 ] %141 = add nuw nsw i64 %129, 1 %142 = zext i32 %140 to i64 %143 = icmp ult i64 %141, %142 br i1 %143, label %127, label %144, !llvm.loop !60 144: ; preds = %139, %81 %145 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %146 146: ; preds = %1, %144 ret void } declare i32 @d3d12_gfx_sync(ptr noundef) local_unnamed_addr #1 declare i32 @d3d12_free_shader_preset(ptr noundef) local_unnamed_addr #1 declare i32 @font_driver_free_osd(...) local_unnamed_addr #1 declare i32 @Release(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, !7, i64 104} !6 = !{!"TYPE_19__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !11, i64 64, !12, i64 80, !7, i64 112, !7, i64 120, !7, i64 128, !13, i64 136, !17, i64 208, !19, i64 232, !7, i64 256} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_18__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !11 = !{!"TYPE_17__", !7, i64 0, !7, i64 8} !12 = !{!"TYPE_28__", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24} !13 = !{!"TYPE_27__", !7, i64 0, !7, i64 8, !7, i64 16, !14, i64 24, !15, i64 40, !16, i64 56} !14 = !{!"TYPE_26__", !7, i64 0, !7, i64 8} !15 = !{!"TYPE_25__", !7, i64 0, !7, i64 8} !16 = !{!"TYPE_24__", !7, i64 0, !7, i64 8} !17 = !{!"TYPE_23__", !18, i64 0, !7, i64 16} !18 = !{!"TYPE_22__", !7, i64 0, !7, i64 8} !19 = !{!"TYPE_21__", !7, i64 0, !7, i64 8, !7, i64 16} !20 = !{!6, !7, i64 256} !21 = !{!6, !7, i64 248} !22 = !{!6, !7, i64 240} !23 = !{!6, !7, i64 232} !24 = !{!25, !7, i64 8} !25 = !{!"TYPE_20__", !7, i64 0, !7, i64 8} !26 = !{!25, !7, i64 0} !27 = !{!6, !7, i64 224} !28 = !{!6, !7, i64 216} !29 = !{!6, !7, i64 208} !30 = !{!6, !7, i64 200} !31 = !{!6, !7, i64 184} !32 = !{!6, !7, i64 168} !33 = !{!6, !7, i64 192} !34 = !{!6, !7, i64 176} !35 = !{!6, !7, i64 160} !36 = !{!6, !7, i64 152} !37 = !{!6, !7, i64 144} !38 = !{!6, !7, i64 136} !39 = !{!6, !7, i64 128} !40 = !{!41, !41, i64 0} !41 = !{!"int", !8, i64 0} !42 = !{!6, !7, i64 120} !43 = !{!7, !7, i64 0} !44 = distinct !{!44, !45} !45 = !{!"llvm.loop.mustprogress"} !46 = !{!6, !7, i64 112} !47 = !{!6, !7, i64 96} !48 = !{!6, !7, i64 88} !49 = !{!6, !7, i64 80} !50 = !{!6, !7, i64 56} !51 = !{!6, !7, i64 72} !52 = !{!6, !7, i64 64} !53 = !{!6, !7, i64 48} !54 = !{!6, !7, i64 40} !55 = !{!6, !7, i64 32} !56 = !{!6, !7, i64 24} !57 = !{!6, !7, i64 16} !58 = !{!6, !7, i64 8} !59 = !{!6, !7, i64 0} !60 = distinct !{!60, !45}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers/extr_d3d12.c_d3d12_gfx_free.c' source_filename = "AnghaBench/RetroArch/gfx/drivers/extr_d3d12.c_d3d12_gfx_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFX_MAX_SHADERS = common local_unnamed_addr global i32 0, align 4 @D3D12_MAX_GPU_COUNT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @d3d12_gfx_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @d3d12_gfx_free(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %146, label %3 3: ; preds = %1 %4 = tail call i32 @d3d12_gfx_sync(ptr noundef nonnull %0) #2 %5 = tail call i32 @d3d12_free_shader_preset(ptr noundef nonnull %0) #2 %6 = tail call i32 @font_driver_free_osd() #2 %7 = getelementptr inbounds i8, ptr %0, i64 80 %8 = getelementptr inbounds i8, ptr %0, i64 104 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = tail call i32 @Release(ptr noundef %9) #2 %11 = getelementptr inbounds i8, ptr %0, i64 256 %12 = load ptr, ptr %11, align 8, !tbaa !21 %13 = tail call i32 @Release(ptr noundef %12) #2 %14 = getelementptr inbounds i8, ptr %0, i64 232 %15 = getelementptr inbounds i8, ptr %0, i64 248 %16 = load ptr, ptr %15, align 8, !tbaa !22 %17 = tail call i32 @Release(ptr noundef %16) #2 %18 = getelementptr inbounds i8, ptr %0, i64 240 %19 = load ptr, ptr %18, align 8, !tbaa !23 %20 = tail call i32 @Release(ptr noundef %19) #2 %21 = load ptr, ptr %14, align 8, !tbaa !24 %22 = getelementptr inbounds i8, ptr %21, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !25 %24 = tail call i32 @Release(ptr noundef %23) #2 %25 = load ptr, ptr %14, align 8, !tbaa !24 %26 = load ptr, ptr %25, align 8, !tbaa !27 %27 = tail call i32 @Release(ptr noundef %26) #2 %28 = getelementptr inbounds i8, ptr %0, i64 208 %29 = getelementptr inbounds i8, ptr %0, i64 224 %30 = load ptr, ptr %29, align 8, !tbaa !28 %31 = tail call i32 @Release(ptr noundef %30) #2 %32 = getelementptr inbounds i8, ptr %0, i64 216 %33 = load ptr, ptr %32, align 8, !tbaa !29 %34 = tail call i32 @Release(ptr noundef %33) #2 %35 = load ptr, ptr %28, align 8, !tbaa !30 %36 = tail call i32 @Release(ptr noundef %35) #2 %37 = getelementptr inbounds i8, ptr %0, i64 136 %38 = getelementptr inbounds i8, ptr %0, i64 192 %39 = getelementptr inbounds i8, ptr %0, i64 200 %40 = load ptr, ptr %39, align 8, !tbaa !31 %41 = tail call i32 @free(ptr noundef %40) #2 %42 = getelementptr inbounds i8, ptr %0, i64 176 %43 = getelementptr inbounds i8, ptr %0, i64 184 %44 = load ptr, ptr %43, align 8, !tbaa !32 %45 = tail call i32 @free(ptr noundef %44) #2 %46 = getelementptr inbounds i8, ptr %0, i64 160 %47 = getelementptr inbounds i8, ptr %0, i64 168 %48 = load ptr, ptr %47, align 8, !tbaa !33 %49 = tail call i32 @free(ptr noundef %48) #2 %50 = load ptr, ptr %38, align 8, !tbaa !34 %51 = tail call i32 @Release(ptr noundef %50) #2 %52 = load ptr, ptr %42, align 8, !tbaa !35 %53 = tail call i32 @Release(ptr noundef %52) #2 %54 = load ptr, ptr %46, align 8, !tbaa !36 %55 = tail call i32 @Release(ptr noundef %54) #2 %56 = getelementptr inbounds i8, ptr %0, i64 152 %57 = load ptr, ptr %56, align 8, !tbaa !37 %58 = tail call i32 @Release(ptr noundef %57) #2 %59 = getelementptr inbounds i8, ptr %0, i64 144 %60 = load ptr, ptr %59, align 8, !tbaa !38 %61 = tail call i32 @Release(ptr noundef %60) #2 %62 = load ptr, ptr %37, align 8, !tbaa !39 %63 = tail call i32 @Release(ptr noundef %62) #2 %64 = getelementptr inbounds i8, ptr %0, i64 128 %65 = load ptr, ptr %64, align 8, !tbaa !40 %66 = tail call i32 @Release(ptr noundef %65) #2 %67 = load i32, ptr @GFX_MAX_SHADERS, align 4, !tbaa !41 %68 = icmp eq i32 %67, 0 br i1 %68, label %81, label %69 69: ; preds = %3 %70 = getelementptr inbounds i8, ptr %0, i64 120 br label %71 71: ; preds = %69, %71 %72 = phi i64 [ 0, %69 ], [ %77, %71 ] %73 = load ptr, ptr %70, align 8, !tbaa !43 %74 = getelementptr inbounds ptr, ptr %73, i64 %72 %75 = load ptr, ptr %74, align 8, !tbaa !44 %76 = tail call i32 @Release(ptr noundef %75) #2 %77 = add nuw nsw i64 %72, 1 %78 = load i32, ptr @GFX_MAX_SHADERS, align 4, !tbaa !41 %79 = zext i32 %78 to i64 %80 = icmp ult i64 %77, %79 br i1 %80, label %71, label %81, !llvm.loop !45 81: ; preds = %71, %3 %82 = getelementptr inbounds i8, ptr %0, i64 112 %83 = load ptr, ptr %82, align 8, !tbaa !47 %84 = tail call i32 @Release(ptr noundef %83) #2 %85 = getelementptr inbounds i8, ptr %0, i64 96 %86 = load ptr, ptr %85, align 8, !tbaa !48 %87 = tail call i32 @Release(ptr noundef %86) #2 %88 = getelementptr inbounds i8, ptr %0, i64 88 %89 = load ptr, ptr %88, align 8, !tbaa !49 %90 = tail call i32 @Release(ptr noundef %89) #2 %91 = load ptr, ptr %7, align 8, !tbaa !50 %92 = tail call i32 @Release(ptr noundef %91) #2 %93 = getelementptr inbounds i8, ptr %0, i64 32 %94 = getelementptr inbounds i8, ptr %0, i64 56 %95 = load ptr, ptr %94, align 8, !tbaa !51 %96 = tail call i32 @Release(ptr noundef %95) #2 %97 = getelementptr inbounds i8, ptr %0, i64 64 %98 = getelementptr inbounds i8, ptr %0, i64 72 %99 = load ptr, ptr %98, align 8, !tbaa !52 %100 = load ptr, ptr %99, align 8, !tbaa !44 %101 = tail call i32 @Release(ptr noundef %100) #2 %102 = load ptr, ptr %98, align 8, !tbaa !52 %103 = getelementptr inbounds i8, ptr %102, i64 8 %104 = load ptr, ptr %103, align 8, !tbaa !44 %105 = tail call i32 @Release(ptr noundef %104) #2 %106 = load ptr, ptr %97, align 8, !tbaa !53 %107 = tail call i32 @Release(ptr noundef %106) #2 %108 = getelementptr inbounds i8, ptr %0, i64 48 %109 = load ptr, ptr %108, align 8, !tbaa !54 %110 = tail call i32 @Release(ptr noundef %109) #2 %111 = getelementptr inbounds i8, ptr %0, i64 40 %112 = load ptr, ptr %111, align 8, !tbaa !55 %113 = tail call i32 @Release(ptr noundef %112) #2 %114 = load ptr, ptr %93, align 8, !tbaa !56 %115 = tail call i32 @Release(ptr noundef %114) #2 %116 = getelementptr inbounds i8, ptr %0, i64 24 %117 = load ptr, ptr %116, align 8, !tbaa !57 %118 = tail call i32 @Release(ptr noundef %117) #2 %119 = getelementptr inbounds i8, ptr %0, i64 16 %120 = load ptr, ptr %119, align 8, !tbaa !58 %121 = tail call i32 @Release(ptr noundef %120) #2 %122 = getelementptr inbounds i8, ptr %0, i64 8 %123 = load ptr, ptr %122, align 8, !tbaa !59 %124 = tail call i32 @Release(ptr noundef %123) #2 %125 = load i32, ptr @D3D12_MAX_GPU_COUNT, align 4, !tbaa !41 %126 = icmp eq i32 %125, 0 br i1 %126, label %144, label %127 127: ; preds = %81, %139 %128 = phi i32 [ %140, %139 ], [ %125, %81 ] %129 = phi i64 [ %141, %139 ], [ 0, %81 ] %130 = load ptr, ptr %0, align 8, !tbaa !60 %131 = getelementptr inbounds ptr, ptr %130, i64 %129 %132 = load ptr, ptr %131, align 8, !tbaa !44 %133 = icmp eq ptr %132, null br i1 %133, label %139, label %134 134: ; preds = %127 %135 = tail call i32 @Release(ptr noundef nonnull %132) #2 %136 = load ptr, ptr %0, align 8, !tbaa !60 %137 = getelementptr inbounds ptr, ptr %136, i64 %129 store ptr null, ptr %137, align 8, !tbaa !44 %138 = load i32, ptr @D3D12_MAX_GPU_COUNT, align 4, !tbaa !41 br label %139 139: ; preds = %127, %134 %140 = phi i32 [ %128, %127 ], [ %138, %134 ] %141 = add nuw nsw i64 %129, 1 %142 = zext i32 %140 to i64 %143 = icmp ult i64 %141, %142 br i1 %143, label %127, label %144, !llvm.loop !61 144: ; preds = %139, %81 %145 = tail call i32 @free(ptr noundef nonnull %0) #2 br label %146 146: ; preds = %1, %144 ret void } declare i32 @d3d12_gfx_sync(ptr noundef) local_unnamed_addr #1 declare i32 @d3d12_free_shader_preset(ptr noundef) local_unnamed_addr #1 declare i32 @font_driver_free_osd(...) local_unnamed_addr #1 declare i32 @Release(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, !8, i64 104} !7 = !{!"TYPE_19__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24, !11, i64 32, !12, i64 64, !13, i64 80, !8, i64 112, !8, i64 120, !8, i64 128, !14, i64 136, !18, i64 208, !20, i64 232, !8, i64 256} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_18__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !12 = !{!"TYPE_17__", !8, i64 0, !8, i64 8} !13 = !{!"TYPE_28__", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24} !14 = !{!"TYPE_27__", !8, i64 0, !8, i64 8, !8, i64 16, !15, i64 24, !16, i64 40, !17, i64 56} !15 = !{!"TYPE_26__", !8, i64 0, !8, i64 8} !16 = !{!"TYPE_25__", !8, i64 0, !8, i64 8} !17 = !{!"TYPE_24__", !8, i64 0, !8, i64 8} !18 = !{!"TYPE_23__", !19, i64 0, !8, i64 16} !19 = !{!"TYPE_22__", !8, i64 0, !8, i64 8} !20 = !{!"TYPE_21__", !8, i64 0, !8, i64 8, !8, i64 16} !21 = !{!7, !8, i64 256} !22 = !{!7, !8, i64 248} !23 = !{!7, !8, i64 240} !24 = !{!7, !8, i64 232} !25 = !{!26, !8, i64 8} !26 = !{!"TYPE_20__", !8, i64 0, !8, i64 8} !27 = !{!26, !8, i64 0} !28 = !{!7, !8, i64 224} !29 = !{!7, !8, i64 216} !30 = !{!7, !8, i64 208} !31 = !{!7, !8, i64 200} !32 = !{!7, !8, i64 184} !33 = !{!7, !8, i64 168} !34 = !{!7, !8, i64 192} !35 = !{!7, !8, i64 176} !36 = !{!7, !8, i64 160} !37 = !{!7, !8, i64 152} !38 = !{!7, !8, i64 144} !39 = !{!7, !8, i64 136} !40 = !{!7, !8, i64 128} !41 = !{!42, !42, i64 0} !42 = !{!"int", !9, i64 0} !43 = !{!7, !8, i64 120} !44 = !{!8, !8, i64 0} !45 = distinct !{!45, !46} !46 = !{!"llvm.loop.mustprogress"} !47 = !{!7, !8, i64 112} !48 = !{!7, !8, i64 96} !49 = !{!7, !8, i64 88} !50 = !{!7, !8, i64 80} !51 = !{!7, !8, i64 56} !52 = !{!7, !8, i64 72} !53 = !{!7, !8, i64 64} !54 = !{!7, !8, i64 48} !55 = !{!7, !8, i64 40} !56 = !{!7, !8, i64 32} !57 = !{!7, !8, i64 24} !58 = !{!7, !8, i64 16} !59 = !{!7, !8, i64 8} !60 = !{!7, !8, i64 0} !61 = distinct !{!61, !46}
RetroArch_gfx_drivers_extr_d3d12.c_d3d12_gfx_free
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_max8660.c_max8660_ldo67_get_voltage_sel.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_max8660.c_max8660_ldo67_get_voltage_sel.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAX8660_V6 = dso_local local_unnamed_addr global i64 0, align 8 @MAX8660_L12VCR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @max8660_ldo67_get_voltage_sel], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @max8660_ldo67_get_voltage_sel(ptr noundef %0) #0 { %2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %3 = tail call i64 @rdev_get_id(ptr noundef %0) #2 %4 = load i64, ptr @MAX8660_V6, align 8, !tbaa !5 %5 = icmp eq i64 %3, %4 %6 = select i1 %5, i32 0, i32 4 %7 = load ptr, ptr %2, align 8, !tbaa !9 %8 = load i64, ptr @MAX8660_L12VCR, align 8, !tbaa !5 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = ashr i32 %10, %6 %12 = and i32 %11, 15 ret i32 %12 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i64 @rdev_get_id(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"max8660", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_max8660.c_max8660_ldo67_get_voltage_sel.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_max8660.c_max8660_ldo67_get_voltage_sel.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX8660_V6 = common local_unnamed_addr global i64 0, align 8 @MAX8660_L12VCR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @max8660_ldo67_get_voltage_sel], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 16) i32 @max8660_ldo67_get_voltage_sel(ptr noundef %0) #0 { %2 = tail call ptr @rdev_get_drvdata(ptr noundef %0) #2 %3 = tail call i64 @rdev_get_id(ptr noundef %0) #2 %4 = load i64, ptr @MAX8660_V6, align 8, !tbaa !6 %5 = icmp eq i64 %3, %4 %6 = select i1 %5, i32 0, i32 4 %7 = load ptr, ptr %2, align 8, !tbaa !10 %8 = load i64, ptr @MAX8660_L12VCR, align 8, !tbaa !6 %9 = getelementptr inbounds i32, ptr %7, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = ashr i32 %10, %6 %12 = and i32 %11, 15 ret i32 %12 } declare ptr @rdev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i64 @rdev_get_id(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"max8660", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0}
linux_drivers_regulator_extr_max8660.c_max8660_ldo67_get_voltage_sel
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-sleep/src/extr_mrb_sleep.c_mrb_f_sleep.c' source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-sleep/src/extr_mrb_sleep.c_mrb_f_sleep.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 @E_ARGUMENT_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"time interval must not be negative\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @mrb_f_sleep], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mrb_f_sleep(ptr noundef %0, i32 %1) #0 { %3 = alloca i32, align 4 %4 = tail call i64 @time(i32 noundef 0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %6 = load i32, ptr %3, align 4, !tbaa !5 %7 = icmp sgt i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = mul nsw i32 %6, 1000000 %10 = call i32 @usleep(i32 noundef %9) #3 br label %14 11: ; preds = %2 %12 = load i32, ptr @E_ARGUMENT_ERROR, align 4, !tbaa !5 %13 = call i32 @mrb_raise(ptr noundef %0, i32 noundef %12, ptr noundef nonnull @.str.1) #3 br label %14 14: ; preds = %11, %8 %15 = call i64 @time(i32 noundef 0) #3 %16 = sub nsw i64 %15, %4 %17 = call i32 @mrb_fixnum_value(i64 noundef %16) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 i64 @time(i32 noundef) local_unnamed_addr #2 declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @usleep(i32 noundef) local_unnamed_addr #2 declare i32 @mrb_raise(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mrb_fixnum_value(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/h2o/deps/mruby/mrbgems/mruby-sleep/src/extr_mrb_sleep.c_mrb_f_sleep.c' source_filename = "AnghaBench/h2o/deps/mruby/mrbgems/mruby-sleep/src/extr_mrb_sleep.c_mrb_f_sleep.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"f\00", align 1 @E_ARGUMENT_ERROR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [35 x i8] c"time interval must not be negative\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @mrb_f_sleep], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mrb_f_sleep(ptr noundef %0, i32 %1) #0 { %3 = alloca i32, align 4 %4 = tail call i64 @time(i32 noundef 0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %5 = call i32 @mrb_get_args(ptr noundef %0, ptr noundef nonnull @.str, ptr noundef nonnull %3) #3 %6 = load i32, ptr %3, align 4, !tbaa !6 %7 = icmp sgt i32 %6, -1 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = mul nuw nsw i32 %6, 1000000 %10 = call i32 @usleep(i32 noundef %9) #3 br label %14 11: ; preds = %2 %12 = load i32, ptr @E_ARGUMENT_ERROR, align 4, !tbaa !6 %13 = call i32 @mrb_raise(ptr noundef %0, i32 noundef %12, ptr noundef nonnull @.str.1) #3 br label %14 14: ; preds = %11, %8 %15 = call i64 @time(i32 noundef 0) #3 %16 = sub nsw i64 %15, %4 %17 = call i32 @mrb_fixnum_value(i64 noundef %16) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #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 i64 @time(i32 noundef) local_unnamed_addr #2 declare i32 @mrb_get_args(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @usleep(i32 noundef) local_unnamed_addr #2 declare i32 @mrb_raise(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mrb_fixnum_value(i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
h2o_deps_mruby_mrbgems_mruby-sleep_src_extr_mrb_sleep.c_mrb_f_sleep
; ModuleID = 'AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_rxfilter.c' source_filename = "AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_rxfilter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @STE_RX_MODE = dso_local local_unnamed_addr global i32 0, align 4 @STE_RXMODE_UNICAST = dso_local local_unnamed_addr global i32 0, align 4 @STE_RXMODE_ALLMULTI = dso_local local_unnamed_addr global i32 0, align 4 @STE_RXMODE_MULTIHASH = dso_local local_unnamed_addr global i32 0, align 4 @STE_RXMODE_BROADCAST = dso_local local_unnamed_addr global i32 0, align 4 @STE_RXMODE_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @IFF_BROADCAST = dso_local local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = dso_local local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = dso_local local_unnamed_addr global i32 0, align 4 @ste_hash_maddr = dso_local local_unnamed_addr global i32 0, align 4 @STE_MAR0 = dso_local local_unnamed_addr global i32 0, align 4 @STE_MAR1 = dso_local local_unnamed_addr global i32 0, align 4 @STE_MAR2 = dso_local local_unnamed_addr global i32 0, align 4 @STE_MAR3 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ste_rxfilter], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ste_rxfilter(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8 %3 = tail call i32 @STE_LOCK_ASSERT(ptr noundef %0) #3 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr @STE_RX_MODE, align 4, !tbaa !10 %6 = tail call i32 @CSR_READ_1(ptr noundef nonnull %0, i32 noundef %5) #3 %7 = load i32, ptr @STE_RXMODE_UNICAST, align 4, !tbaa !10 %8 = or i32 %7, %6 %9 = load i32, ptr @STE_RXMODE_ALLMULTI, align 4 %10 = load i32, ptr @STE_RXMODE_MULTIHASH, align 4, !tbaa !10 %11 = or i32 %10, %9 %12 = load i32, ptr @STE_RXMODE_BROADCAST, align 4, !tbaa !10 %13 = load i32, ptr @STE_RXMODE_PROMISC, align 4, !tbaa !10 %14 = or i32 %11, %12 %15 = or i32 %14, %13 %16 = xor i32 %15, -1 %17 = and i32 %8, %16 %18 = load i32, ptr %4, align 4, !tbaa !12 %19 = load i32, ptr @IFF_BROADCAST, align 4, !tbaa !10 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 %22 = select i1 %21, i32 0, i32 %12 %23 = or i32 %22, %17 %24 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !10 %25 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !10 %26 = or i32 %25, %24 %27 = and i32 %26, %18 %28 = icmp eq i32 %27, 0 br i1 %28, label %38, label %29 29: ; preds = %1 %30 = and i32 %24, %18 %31 = icmp eq i32 %30, 0 %32 = select i1 %31, i32 0, i32 %9 %33 = and i32 %25, %18 %34 = icmp eq i32 %33, 0 %35 = select i1 %34, i32 0, i32 %13 %36 = or i32 %32, %35 %37 = or i32 %36, %23 br label %44 38: ; preds = %1 %39 = or i32 %23, %10 %40 = load i32, ptr @ste_hash_maddr, align 4, !tbaa !10 %41 = call i32 @if_foreach_llmaddr(ptr noundef nonnull %4, i32 noundef %40, ptr noundef nonnull %2) #3 %42 = load i32, ptr %2, align 8, !tbaa !10 %43 = and i32 %42, 65535 br label %44 44: ; preds = %29, %38 %45 = phi i32 [ %43, %38 ], [ 0, %29 ] %46 = phi i32 [ %39, %38 ], [ %37, %29 ] %47 = load i32, ptr @STE_MAR0, align 4, !tbaa !10 %48 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %45) #3 %49 = load i32, ptr @STE_MAR1, align 4, !tbaa !10 %50 = load i32, ptr %2, align 8, !tbaa !10 %51 = lshr i32 %50, 16 %52 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %51) #3 %53 = load i32, ptr @STE_MAR2, align 4, !tbaa !10 %54 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 %55 = load i32, ptr %54, align 4, !tbaa !10 %56 = and i32 %55, 65535 %57 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %53, i32 noundef %56) #3 %58 = load i32, ptr @STE_MAR3, align 4, !tbaa !10 %59 = load i32, ptr %54, align 4, !tbaa !10 %60 = lshr i32 %59, 16 %61 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %60) #3 %62 = load i32, ptr @STE_RX_MODE, align 4, !tbaa !10 %63 = call i32 @CSR_WRITE_1(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %46) #3 %64 = load i32, ptr @STE_RX_MODE, align 4, !tbaa !10 %65 = call i32 @CSR_READ_1(ptr noundef nonnull %0, i32 noundef %64) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @STE_LOCK_ASSERT(ptr noundef) local_unnamed_addr #2 declare i32 @CSR_READ_1(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @if_foreach_llmaddr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CSR_WRITE_2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CSR_WRITE_1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ste_softc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"ifnet", !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_rxfilter.c' source_filename = "AnghaBench/freebsd/sys/dev/ste/extr_if_ste.c_ste_rxfilter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @STE_RX_MODE = common local_unnamed_addr global i32 0, align 4 @STE_RXMODE_UNICAST = common local_unnamed_addr global i32 0, align 4 @STE_RXMODE_ALLMULTI = common local_unnamed_addr global i32 0, align 4 @STE_RXMODE_MULTIHASH = common local_unnamed_addr global i32 0, align 4 @STE_RXMODE_BROADCAST = common local_unnamed_addr global i32 0, align 4 @STE_RXMODE_PROMISC = common local_unnamed_addr global i32 0, align 4 @IFF_BROADCAST = common local_unnamed_addr global i32 0, align 4 @IFF_ALLMULTI = common local_unnamed_addr global i32 0, align 4 @IFF_PROMISC = common local_unnamed_addr global i32 0, align 4 @ste_hash_maddr = common local_unnamed_addr global i32 0, align 4 @STE_MAR0 = common local_unnamed_addr global i32 0, align 4 @STE_MAR1 = common local_unnamed_addr global i32 0, align 4 @STE_MAR2 = common local_unnamed_addr global i32 0, align 4 @STE_MAR3 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ste_rxfilter], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ste_rxfilter(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store i64 0, ptr %2, align 8 %3 = tail call i32 @STE_LOCK_ASSERT(ptr noundef %0) #3 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr @STE_RX_MODE, align 4, !tbaa !11 %6 = tail call i32 @CSR_READ_1(ptr noundef nonnull %0, i32 noundef %5) #3 %7 = load i32, ptr @STE_RXMODE_UNICAST, align 4, !tbaa !11 %8 = or i32 %7, %6 %9 = load i32, ptr @STE_RXMODE_ALLMULTI, align 4 %10 = load i32, ptr @STE_RXMODE_MULTIHASH, align 4, !tbaa !11 %11 = or i32 %10, %9 %12 = load i32, ptr @STE_RXMODE_BROADCAST, align 4, !tbaa !11 %13 = load i32, ptr @STE_RXMODE_PROMISC, align 4, !tbaa !11 %14 = or i32 %11, %12 %15 = or i32 %14, %13 %16 = xor i32 %15, -1 %17 = and i32 %8, %16 %18 = load i32, ptr %4, align 4, !tbaa !13 %19 = load i32, ptr @IFF_BROADCAST, align 4, !tbaa !11 %20 = and i32 %19, %18 %21 = icmp eq i32 %20, 0 %22 = select i1 %21, i32 0, i32 %12 %23 = or i32 %22, %17 %24 = load i32, ptr @IFF_ALLMULTI, align 4, !tbaa !11 %25 = load i32, ptr @IFF_PROMISC, align 4, !tbaa !11 %26 = or i32 %25, %24 %27 = and i32 %26, %18 %28 = icmp eq i32 %27, 0 br i1 %28, label %38, label %29 29: ; preds = %1 %30 = and i32 %24, %18 %31 = icmp eq i32 %30, 0 %32 = select i1 %31, i32 0, i32 %9 %33 = and i32 %25, %18 %34 = icmp eq i32 %33, 0 %35 = select i1 %34, i32 0, i32 %13 %36 = or i32 %32, %35 %37 = or i32 %36, %23 br label %44 38: ; preds = %1 %39 = or i32 %23, %10 %40 = load i32, ptr @ste_hash_maddr, align 4, !tbaa !11 %41 = call i32 @if_foreach_llmaddr(ptr noundef nonnull %4, i32 noundef %40, ptr noundef nonnull %2) #3 %42 = load i32, ptr %2, align 8, !tbaa !11 %43 = and i32 %42, 65535 br label %44 44: ; preds = %29, %38 %45 = phi i32 [ %43, %38 ], [ 0, %29 ] %46 = phi i32 [ %39, %38 ], [ %37, %29 ] %47 = load i32, ptr @STE_MAR0, align 4, !tbaa !11 %48 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %47, i32 noundef %45) #3 %49 = load i32, ptr @STE_MAR1, align 4, !tbaa !11 %50 = load i32, ptr %2, align 8, !tbaa !11 %51 = lshr i32 %50, 16 %52 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %49, i32 noundef %51) #3 %53 = load i32, ptr @STE_MAR2, align 4, !tbaa !11 %54 = getelementptr inbounds i8, ptr %2, i64 4 %55 = load i32, ptr %54, align 4, !tbaa !11 %56 = and i32 %55, 65535 %57 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %53, i32 noundef %56) #3 %58 = load i32, ptr @STE_MAR3, align 4, !tbaa !11 %59 = load i32, ptr %54, align 4, !tbaa !11 %60 = lshr i32 %59, 16 %61 = call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %58, i32 noundef %60) #3 %62 = load i32, ptr @STE_RX_MODE, align 4, !tbaa !11 %63 = call i32 @CSR_WRITE_1(ptr noundef nonnull %0, i32 noundef %62, i32 noundef %46) #3 %64 = load i32, ptr @STE_RX_MODE, align 4, !tbaa !11 %65 = call i32 @CSR_READ_1(ptr noundef nonnull %0, i32 noundef %64) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @STE_LOCK_ASSERT(ptr noundef) local_unnamed_addr #2 declare i32 @CSR_READ_1(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @if_foreach_llmaddr(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CSR_WRITE_2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @CSR_WRITE_1(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ste_softc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"ifnet", !12, i64 0}
freebsd_sys_dev_ste_extr_if_ste.c_ste_rxfilter
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_brushbsp.c_AllocBrush.c' source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_brushbsp.c_AllocBrush.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @numthreads = dso_local local_unnamed_addr global i32 0, align 4 @c_active_brushes = dso_local local_unnamed_addr global i32 0, align 4 @c_brushmemory = dso_local local_unnamed_addr global i64 0, align 8 @c_peak_brushmemory = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @AllocBrush(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @GetMemory(i32 noundef undef) #2 %3 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef undef) #2 %4 = load i32, ptr @numthreads, align 4, !tbaa !5 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = load i32, ptr @c_active_brushes, align 4, !tbaa !5 %8 = add nsw i32 %7, 1 store i32 %8, ptr @c_active_brushes, align 4, !tbaa !5 %9 = tail call i64 @MemorySize(ptr noundef %2) #2 %10 = load i64, ptr @c_brushmemory, align 8, !tbaa !9 %11 = add nsw i64 %10, %9 store i64 %11, ptr @c_brushmemory, align 8, !tbaa !9 %12 = load i64, ptr @c_peak_brushmemory, align 8, !tbaa !9 %13 = icmp sgt i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %6 store i64 %11, ptr @c_peak_brushmemory, align 8, !tbaa !9 br label %15 15: ; preds = %6, %14, %1 ret ptr %2 } declare ptr @GetMemory(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @MemorySize(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/Quake-III-Arena/code/bspc/extr_brushbsp.c_AllocBrush.c' source_filename = "AnghaBench/Quake-III-Arena/code/bspc/extr_brushbsp.c_AllocBrush.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @numthreads = common local_unnamed_addr global i32 0, align 4 @c_active_brushes = common local_unnamed_addr global i32 0, align 4 @c_brushmemory = common local_unnamed_addr global i64 0, align 8 @c_peak_brushmemory = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @AllocBrush(i32 noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @GetMemory(i32 noundef undef) #2 %3 = tail call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef undef) #2 %4 = load i32, ptr @numthreads, align 4, !tbaa !6 %5 = icmp eq i32 %4, 1 br i1 %5, label %6, label %15 6: ; preds = %1 %7 = load i32, ptr @c_active_brushes, align 4, !tbaa !6 %8 = add nsw i32 %7, 1 store i32 %8, ptr @c_active_brushes, align 4, !tbaa !6 %9 = tail call i64 @MemorySize(ptr noundef %2) #2 %10 = load i64, ptr @c_brushmemory, align 8, !tbaa !10 %11 = add nsw i64 %10, %9 store i64 %11, ptr @c_brushmemory, align 8, !tbaa !10 %12 = load i64, ptr @c_peak_brushmemory, align 8, !tbaa !10 %13 = icmp sgt i64 %11, %12 br i1 %13, label %14, label %15 14: ; preds = %6 store i64 %11, ptr @c_peak_brushmemory, align 8, !tbaa !10 br label %15 15: ; preds = %6, %14, %1 ret ptr %2 } declare ptr @GetMemory(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @MemorySize(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
Quake-III-Arena_code_bspc_extr_brushbsp.c_AllocBrush
; ModuleID = 'AnghaBench/linux/drivers/dma/ti/extr_cppi41.c_cppi41_dma_xlate.c' source_filename = "AnghaBench/linux/drivers/dma/ti/extr_cppi41.c_cppi41_dma_xlate.c" target datalayout = "e-m:e-p270:32:32-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.of_dma_filter_info = type { i32, i32 } %struct.of_phandle_args = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @cppi41_dma_xlate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @cppi41_dma_xlate(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %17, label %5 5: ; preds = %2 %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = load i32, ptr %3, align 4, !tbaa !13 %8 = icmp ne i32 %7, 0 %9 = icmp eq i32 %6, 2 %10 = select i1 %8, i1 %9, i1 false br i1 %10, label %11, label %17 11: ; preds = %5 %12 = getelementptr inbounds %struct.of_dma_filter_info, ptr %3, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !15 %14 = getelementptr inbounds %struct.of_phandle_args, ptr %0, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !16 %16 = tail call ptr @dma_request_channel(i32 noundef %13, i32 noundef %7, ptr noundef %15) #2 br label %17 17: ; preds = %2, %5, %11 %18 = phi ptr [ %16, %11 ], [ null, %5 ], [ null, %2 ] ret ptr %18 } declare ptr @dma_request_channel(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"of_dma", !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 = !{!"of_phandle_args", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"of_dma_filter_info", !12, i64 0, !12, i64 4} !15 = !{!14, !12, i64 4} !16 = !{!11, !7, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/dma/ti/extr_cppi41.c_cppi41_dma_xlate.c' source_filename = "AnghaBench/linux/drivers/dma/ti/extr_cppi41.c_cppi41_dma_xlate.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 @cppi41_dma_xlate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @cppi41_dma_xlate(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %17, label %5 5: ; preds = %2 %6 = load i32, ptr %0, align 8, !tbaa !11 %7 = load i32, ptr %3, align 4, !tbaa !14 %8 = icmp ne i32 %7, 0 %9 = icmp eq i32 %6, 2 %10 = select i1 %8, i1 %9, i1 false br i1 %10, label %11, label %17 11: ; preds = %5 %12 = getelementptr inbounds i8, ptr %3, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !16 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !17 %16 = tail call ptr @dma_request_channel(i32 noundef %13, i32 noundef %7, ptr noundef %15) #2 br label %17 17: ; preds = %2, %5, %11 %18 = phi ptr [ %16, %11 ], [ null, %5 ], [ null, %2 ] ret ptr %18 } declare ptr @dma_request_channel(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"of_dma", !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 = !{!"of_phandle_args", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"of_dma_filter_info", !13, i64 0, !13, i64 4} !16 = !{!15, !13, i64 4} !17 = !{!12, !8, i64 8}
linux_drivers_dma_ti_extr_cppi41.c_cppi41_dma_xlate
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_do_program_memory_timing_parameters.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_do_program_memory_timing_parameters.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_13__ = type { ptr } %struct.ci_power_info = type { i32, i32, %struct.TYPE_12__ } %struct.TYPE_12__ = type { %struct.TYPE_11__, %struct.TYPE_9__ } %struct.TYPE_11__ = type { i64, ptr } %struct.TYPE_9__ = type { i64, ptr } %struct.TYPE_8__ = type { i32 } %struct.TYPE_10__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ci_do_program_memory_timing_parameters], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ci_do_program_memory_timing_parameters(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_13__, align 8 %3 = tail call ptr @ci_get_pi(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #3 %5 = getelementptr inbounds %struct.ci_power_info, ptr %3, i64 0, i32 2 %6 = getelementptr inbounds %struct.ci_power_info, ptr %3, i64 0, i32 2, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !5 %8 = icmp eq i64 %7, 0 br i1 %8, label %45, label %9 9: ; preds = %1 %10 = getelementptr inbounds %struct.ci_power_info, ptr %3, i64 0, i32 2, i32 1, i32 1 %11 = getelementptr inbounds %struct.ci_power_info, ptr %3, i64 0, i32 2, i32 0, i32 1 br label %12 12: ; preds = %9, %38 %13 = phi i64 [ %7, %9 ], [ %39, %38 ] %14 = phi i32 [ 0, %9 ], [ %40, %38 ] %15 = phi i64 [ 0, %9 ], [ %41, %38 ] %16 = load i64, ptr %5, align 8, !tbaa !15 %17 = icmp eq i64 %16, 0 br i1 %17, label %38, label %22 18: ; preds = %22 %19 = add nuw i64 %23, 1 %20 = load i64, ptr %5, align 8, !tbaa !15 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %36, !llvm.loop !16 22: ; preds = %12, %18 %23 = phi i64 [ %19, %18 ], [ 0, %12 ] %24 = load ptr, ptr %10, align 8, !tbaa !18 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %24, i64 %15 %26 = load i32, ptr %25, align 4, !tbaa !19 %27 = load ptr, ptr %11, align 8, !tbaa !21 %28 = getelementptr inbounds %struct.TYPE_10__, ptr %27, i64 %23 %29 = load i32, ptr %28, align 4, !tbaa !22 %30 = load ptr, ptr %2, align 8, !tbaa !24 %31 = getelementptr inbounds ptr, ptr %30, i64 %15 %32 = load ptr, ptr %31, align 8, !tbaa !26 %33 = getelementptr inbounds i32, ptr %32, i64 %23 %34 = call i32 @ci_populate_memory_timing_parameters(ptr noundef %0, i32 noundef %26, i32 noundef %29, ptr noundef %33) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %18, label %36 36: ; preds = %18, %22 %37 = load i64, ptr %6, align 8, !tbaa !5 br label %38 38: ; preds = %36, %12 %39 = phi i64 [ %13, %12 ], [ %37, %36 ] %40 = phi i32 [ %14, %12 ], [ %34, %36 ] %41 = add nuw i64 %15, 1 %42 = icmp ult i64 %41, %39 br i1 %42, label %12, label %43, !llvm.loop !27 43: ; preds = %38 %44 = icmp eq i32 %40, 0 br i1 %44, label %45, label %50 45: ; preds = %1, %43 %46 = getelementptr inbounds %struct.ci_power_info, ptr %3, i64 0, i32 1 %47 = load i32, ptr %46, align 4, !tbaa !28 %48 = load i32, ptr %3, align 8, !tbaa !29 %49 = call i32 @ci_copy_bytes_to_smc(ptr noundef %0, i32 noundef %47, ptr noundef nonnull %2, i32 noundef 8, i32 noundef %48) #3 br label %50 50: ; preds = %45, %43 %51 = phi i32 [ %49, %45 ], [ %40, %43 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ci_get_pi(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ci_populate_memory_timing_parameters(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ci_copy_bytes_to_smc(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !12, i64 24} !6 = !{!"ci_power_info", !7, i64 0, !7, i64 4, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_12__", !11, i64 0, !14, i64 16} !11 = !{!"TYPE_11__", !12, i64 0, !13, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!"TYPE_9__", !12, i64 0, !13, i64 8} !15 = !{!6, !12, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!6, !13, i64 32} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_8__", !7, i64 0} !21 = !{!6, !13, i64 16} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_10__", !7, i64 0} !24 = !{!25, !13, i64 0} !25 = !{!"TYPE_13__", !13, i64 0} !26 = !{!13, !13, i64 0} !27 = distinct !{!27, !17} !28 = !{!6, !7, i64 4} !29 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_do_program_memory_timing_parameters.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/radeon/extr_ci_dpm.c_ci_do_program_memory_timing_parameters.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { ptr } %struct.TYPE_8__ = type { i32 } %struct.TYPE_10__ = type { i32 } @llvm.used = appending global [1 x ptr] [ptr @ci_do_program_memory_timing_parameters], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ci_do_program_memory_timing_parameters(ptr noundef %0) #0 { %2 = alloca %struct.TYPE_13__, align 8 %3 = tail call ptr @ci_get_pi(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 %4 = call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 8) #3 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = getelementptr inbounds i8, ptr %3, i64 24 %7 = load i64, ptr %6, align 8, !tbaa !6 %8 = icmp eq i64 %7, 0 br i1 %8, label %45, label %9 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %3, i64 32 %11 = getelementptr inbounds i8, ptr %3, i64 16 br label %12 12: ; preds = %9, %38 %13 = phi i64 [ %7, %9 ], [ %39, %38 ] %14 = phi i32 [ 0, %9 ], [ %40, %38 ] %15 = phi i64 [ 0, %9 ], [ %41, %38 ] %16 = load i64, ptr %5, align 8, !tbaa !16 %17 = icmp eq i64 %16, 0 br i1 %17, label %38, label %22 18: ; preds = %22 %19 = add nuw i64 %23, 1 %20 = load i64, ptr %5, align 8, !tbaa !16 %21 = icmp ult i64 %19, %20 br i1 %21, label %22, label %36, !llvm.loop !17 22: ; preds = %12, %18 %23 = phi i64 [ %19, %18 ], [ 0, %12 ] %24 = load ptr, ptr %10, align 8, !tbaa !19 %25 = getelementptr inbounds %struct.TYPE_8__, ptr %24, i64 %15 %26 = load i32, ptr %25, align 4, !tbaa !20 %27 = load ptr, ptr %11, align 8, !tbaa !22 %28 = getelementptr inbounds %struct.TYPE_10__, ptr %27, i64 %23 %29 = load i32, ptr %28, align 4, !tbaa !23 %30 = load ptr, ptr %2, align 8, !tbaa !25 %31 = getelementptr inbounds ptr, ptr %30, i64 %15 %32 = load ptr, ptr %31, align 8, !tbaa !27 %33 = getelementptr inbounds i32, ptr %32, i64 %23 %34 = call i32 @ci_populate_memory_timing_parameters(ptr noundef %0, i32 noundef %26, i32 noundef %29, ptr noundef %33) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %18, label %36 36: ; preds = %18, %22 %37 = load i64, ptr %6, align 8, !tbaa !6 br label %38 38: ; preds = %36, %12 %39 = phi i64 [ %13, %12 ], [ %37, %36 ] %40 = phi i32 [ %14, %12 ], [ %34, %36 ] %41 = add nuw i64 %15, 1 %42 = icmp ult i64 %41, %39 br i1 %42, label %12, label %43, !llvm.loop !28 43: ; preds = %38 %44 = icmp eq i32 %40, 0 br i1 %44, label %45, label %50 45: ; preds = %1, %43 %46 = getelementptr inbounds i8, ptr %3, i64 4 %47 = load i32, ptr %46, align 4, !tbaa !29 %48 = load i32, ptr %3, align 8, !tbaa !30 %49 = call i32 @ci_copy_bytes_to_smc(ptr noundef %0, i32 noundef %47, ptr noundef nonnull %2, i32 noundef 8, i32 noundef %48) #3 br label %50 50: ; preds = %45, %43 %51 = phi i32 [ %49, %45 ], [ %40, %43 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i32 %51 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @ci_get_pi(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ci_populate_memory_timing_parameters(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ci_copy_bytes_to_smc(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 24} !7 = !{!"ci_power_info", !8, i64 0, !8, i64 4, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_12__", !12, i64 0, !15, i64 16} !12 = !{!"TYPE_11__", !13, i64 0, !14, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!"any pointer", !9, i64 0} !15 = !{!"TYPE_9__", !13, i64 0, !14, i64 8} !16 = !{!7, !13, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!7, !14, i64 32} !20 = !{!21, !8, i64 0} !21 = !{!"TYPE_8__", !8, i64 0} !22 = !{!7, !14, i64 16} !23 = !{!24, !8, i64 0} !24 = !{!"TYPE_10__", !8, i64 0} !25 = !{!26, !14, i64 0} !26 = !{!"TYPE_13__", !14, i64 0} !27 = !{!14, !14, i64 0} !28 = distinct !{!28, !18} !29 = !{!7, !8, i64 4} !30 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_radeon_extr_ci_dpm.c_ci_do_program_memory_timing_parameters
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-device.c_fz_new_draw_device_type3.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-device.c_fz_new_draw_device_type3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @FZ_DRAWDEV_FLAGS_TYPE3 = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef ptr @fz_new_draw_device_type3(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i64 @fz_new_draw_device(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr @FZ_DRAWDEV_FLAGS_TYPE3, align 4, !tbaa !5 %7 = load i32, ptr %5, align 4, !tbaa !9 %8 = or i32 %7, %6 store i32 %8, ptr %5, align 4, !tbaa !9 ret ptr %5 } declare i64 @fz_new_draw_device(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_2__", !6, i64 0}
; ModuleID = 'AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-device.c_fz_new_draw_device_type3.c' source_filename = "AnghaBench/sumatrapdf/mupdf/source/fitz/extr_draw-device.c_fz_new_draw_device_type3.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FZ_DRAWDEV_FLAGS_TYPE3 = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef ptr @fz_new_draw_device_type3(ptr noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call i64 @fz_new_draw_device(ptr noundef %0, i32 noundef %1, ptr noundef %2) #2 %5 = inttoptr i64 %4 to ptr %6 = load i32, ptr @FZ_DRAWDEV_FLAGS_TYPE3, align 4, !tbaa !6 %7 = load i32, ptr %5, align 4, !tbaa !10 %8 = or i32 %7, %6 store i32 %8, ptr %5, align 4, !tbaa !10 ret ptr %5 } declare i64 @fz_new_draw_device(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
sumatrapdf_mupdf_source_fitz_extr_draw-device.c_fz_new_draw_device_type3
; ModuleID = 'AnghaBench/lede/package/lean/shortcut-fe/src/extr_sfe_ipv6.c_sfe_ipv6_update_protocol_state.c' source_filename = "AnghaBench/lede/package/lean/shortcut-fe/src/extr_sfe_ipv6.c_sfe_ipv6_update_protocol_state.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @sfe_ipv6_update_protocol_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sfe_ipv6_update_protocol_state(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = icmp eq i32 %3, 128 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @sfe_ipv6_update_tcp_state(ptr noundef %0, ptr noundef nonnull %1) #2 br label %7 7: ; preds = %2, %5 ret void } declare i32 @sfe_ipv6_update_tcp_state(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sfe_connection_create", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/lede/package/lean/shortcut-fe/src/extr_sfe_ipv6.c_sfe_ipv6_update_protocol_state.c' source_filename = "AnghaBench/lede/package/lean/shortcut-fe/src/extr_sfe_ipv6.c_sfe_ipv6_update_protocol_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @sfe_ipv6_update_protocol_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sfe_ipv6_update_protocol_state(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = icmp eq i32 %3, 128 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = tail call i32 @sfe_ipv6_update_tcp_state(ptr noundef %0, ptr noundef nonnull %1) #2 br label %7 7: ; preds = %2, %5 ret void } declare i32 @sfe_ipv6_update_tcp_state(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sfe_connection_create", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
lede_package_lean_shortcut-fe_src_extr_sfe_ipv6.c_sfe_ipv6_update_protocol_state
; ModuleID = 'AnghaBench/linux/arch/mips/alchemy/common/extr_dbdma.c_au1xxx_dbdma_put_dscr.c' source_filename = "AnghaBench/linux/arch/mips/alchemy/common/extr_dbdma.c_au1xxx_dbdma_put_dscr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32, i32, i64, i32, i32, i32, i32 } %struct.TYPE_7__ = type { ptr, ptr } @DSCR_CMD0_V = dso_local local_unnamed_addr global i32 0, align 4 @DSCR_CMD0_IE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @au1xxx_dbdma_put_dscr(i64 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load ptr, ptr %4, align 8, !tbaa !9 %6 = load i32, ptr %5, align 8, !tbaa !11 %7 = load i32, ptr @DSCR_CMD0_V, align 4, !tbaa !15 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %30 10: ; preds = %2 %11 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 3 %12 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 3 %13 = load <4 x i32>, ptr %11, align 8, !tbaa !15 store <4 x i32> %13, ptr %12, align 8, !tbaa !15 %14 = getelementptr inbounds %struct.TYPE_8__, ptr %1, i64 0, i32 2 %15 = load i64, ptr %14, align 8, !tbaa !16 %16 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 2 store i64 %15, ptr %16, align 8, !tbaa !16 %17 = load i32, ptr @DSCR_CMD0_IE, align 4, !tbaa !15 %18 = xor i32 %17, -1 %19 = and i32 %6, %18 store i32 %19, ptr %5, align 8, !tbaa !11 %20 = load i32, ptr %1, align 8, !tbaa !11 %21 = load i32, ptr @DSCR_CMD0_V, align 4, !tbaa !15 %22 = or i32 %20, %21 %23 = or i32 %22, %19 store i32 %23, ptr %5, align 8, !tbaa !11 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %4, i64 0, i32 1 %25 = load ptr, ptr %24, align 8, !tbaa !17 store i64 0, ptr %25, align 8, !tbaa !18 %26 = getelementptr inbounds %struct.TYPE_8__, ptr %5, i64 0, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !20 %28 = tail call i32 @DSCR_GET_NXTPTR(i32 noundef %27) #2 %29 = tail call ptr @phys_to_virt(i32 noundef %28) #2 store ptr %29, ptr %4, align 8, !tbaa !9 br label %30 30: ; preds = %2, %10 %31 = phi i64 [ %15, %10 ], [ 0, %2 ] ret i64 %31 } declare ptr @phys_to_virt(i32 noundef) local_unnamed_addr #1 declare i32 @DSCR_GET_NXTPTR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_7__", !6, i64 0, !6, i64 8} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_8__", !13, i64 0, !13, i64 4, !14, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28} !13 = !{!"int", !7, i64 0} !14 = !{!"long", !7, i64 0} !15 = !{!13, !13, i64 0} !16 = !{!12, !14, i64 8} !17 = !{!10, !6, i64 8} !18 = !{!19, !14, i64 0} !19 = !{!"TYPE_6__", !14, i64 0} !20 = !{!12, !13, i64 4}
; ModuleID = 'AnghaBench/linux/arch/mips/alchemy/common/extr_dbdma.c_au1xxx_dbdma_put_dscr.c' source_filename = "AnghaBench/linux/arch/mips/alchemy/common/extr_dbdma.c_au1xxx_dbdma_put_dscr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DSCR_CMD0_V = common local_unnamed_addr global i32 0, align 4 @DSCR_CMD0_IE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @au1xxx_dbdma_put_dscr(i64 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = inttoptr i64 %0 to ptr %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load i32, ptr %5, align 8, !tbaa !12 %7 = load i32, ptr @DSCR_CMD0_V, align 4, !tbaa !16 %8 = and i32 %7, %6 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %30 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %1, i64 16 %12 = getelementptr inbounds i8, ptr %5, i64 16 %13 = load <4 x i32>, ptr %11, align 8, !tbaa !16 store <4 x i32> %13, ptr %12, align 8, !tbaa !16 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load i64, ptr %14, align 8, !tbaa !17 %16 = getelementptr inbounds i8, ptr %5, i64 8 store i64 %15, ptr %16, align 8, !tbaa !17 %17 = load i32, ptr @DSCR_CMD0_IE, align 4, !tbaa !16 %18 = xor i32 %17, -1 %19 = and i32 %6, %18 store i32 %19, ptr %5, align 8, !tbaa !12 %20 = load i32, ptr %1, align 8, !tbaa !12 %21 = load i32, ptr @DSCR_CMD0_V, align 4, !tbaa !16 %22 = or i32 %20, %21 %23 = or i32 %22, %19 store i32 %23, ptr %5, align 8, !tbaa !12 %24 = getelementptr inbounds i8, ptr %4, i64 8 %25 = load ptr, ptr %24, align 8, !tbaa !18 store i64 0, ptr %25, align 8, !tbaa !19 %26 = getelementptr inbounds i8, ptr %5, i64 4 %27 = load i32, ptr %26, align 4, !tbaa !21 %28 = tail call i32 @DSCR_GET_NXTPTR(i32 noundef %27) #2 %29 = tail call ptr @phys_to_virt(i32 noundef %28) #2 store ptr %29, ptr %4, align 8, !tbaa !10 br label %30 30: ; preds = %2, %10 %31 = phi i64 [ %15, %10 ], [ 0, %2 ] ret i64 %31 } declare ptr @phys_to_virt(i32 noundef) local_unnamed_addr #1 declare i32 @DSCR_GET_NXTPTR(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_7__", !7, i64 0, !7, i64 8} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_8__", !14, i64 0, !14, i64 4, !15, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28} !14 = !{!"int", !8, i64 0} !15 = !{!"long", !8, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!13, !15, i64 8} !18 = !{!11, !7, i64 8} !19 = !{!20, !15, i64 0} !20 = !{!"TYPE_6__", !15, i64 0} !21 = !{!13, !14, i64 4}
linux_arch_mips_alchemy_common_extr_dbdma.c_au1xxx_dbdma_put_dscr
; ModuleID = 'AnghaBench/Atlas/lib/extr_lpeg.c_newpatt.c' source_filename = "AnghaBench/Atlas/lib/extr_lpeg.c_newpatt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAXPATTSIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"pattern too big\00", align 1 @PATTERN_T = dso_local local_unnamed_addr global i32 0, align 4 @IEnd = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @newpatt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @newpatt(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @MAXPATTSIZE, align 4, !tbaa !5 %4 = add nsw i32 %3, -1 %5 = sext i32 %4 to i64 %6 = icmp ugt i64 %5, %1 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %7, %2 %10 = shl i64 %1, 2 %11 = add i64 %10, 4 %12 = tail call i64 @lua_newuserdata(ptr noundef %0, i64 noundef %11) #2 %13 = inttoptr i64 %12 to ptr %14 = load i32, ptr @PATTERN_T, align 4, !tbaa !5 %15 = tail call i32 @luaL_getmetatable(ptr noundef %0, i32 noundef %14) #2 %16 = tail call i32 @lua_setmetatable(ptr noundef %0, i32 noundef -2) #2 %17 = getelementptr inbounds i32, ptr %13, i64 %1 %18 = load i32, ptr @IEnd, align 4, !tbaa !5 %19 = tail call i32 @setinst(ptr noundef %17, i32 noundef %18, i32 noundef 0) #2 ret ptr %13 } declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @lua_newuserdata(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @luaL_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setinst(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Atlas/lib/extr_lpeg.c_newpatt.c' source_filename = "AnghaBench/Atlas/lib/extr_lpeg.c_newpatt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAXPATTSIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"pattern too big\00", align 1 @PATTERN_T = common local_unnamed_addr global i32 0, align 4 @IEnd = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @newpatt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @newpatt(ptr noundef %0, i64 noundef %1) #0 { %3 = load i32, ptr @MAXPATTSIZE, align 4, !tbaa !6 %4 = add nsw i32 %3, -1 %5 = sext i32 %4 to i64 %6 = icmp ugt i64 %5, %1 br i1 %6, label %9, label %7 7: ; preds = %2 %8 = tail call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str) #2 br label %9 9: ; preds = %7, %2 %10 = shl i64 %1, 2 %11 = add i64 %10, 4 %12 = tail call i64 @lua_newuserdata(ptr noundef %0, i64 noundef %11) #2 %13 = inttoptr i64 %12 to ptr %14 = load i32, ptr @PATTERN_T, align 4, !tbaa !6 %15 = tail call i32 @luaL_getmetatable(ptr noundef %0, i32 noundef %14) #2 %16 = tail call i32 @lua_setmetatable(ptr noundef %0, i32 noundef -2) #2 %17 = getelementptr inbounds i32, ptr %13, i64 %1 %18 = load i32, ptr @IEnd, align 4, !tbaa !6 %19 = tail call i32 @setinst(ptr noundef %17, i32 noundef %18, i32 noundef 0) #2 ret ptr %13 } declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @lua_newuserdata(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @luaL_getmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_setmetatable(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @setinst(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Atlas_lib_extr_lpeg.c_newpatt
; ModuleID = 'AnghaBench/linux/fs/orangefs/extr_inode.c_orangefs_test_inode.c' source_filename = "AnghaBench/linux/fs/orangefs/extr_inode.c_orangefs_test_inode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i64, i32 } %struct.orangefs_object_kref = type { i64, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @orangefs_test_inode], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @orangefs_test_inode(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @ORANGEFS_I(ptr noundef %0) #2 %4 = getelementptr inbounds %struct.TYPE_2__, ptr %3, i64 0, i32 1 %5 = getelementptr inbounds %struct.orangefs_object_kref, ptr %1, i64 0, i32 1 %6 = tail call i32 @ORANGEFS_khandle_cmp(ptr noundef nonnull %4, ptr noundef nonnull %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i64, ptr %3, align 8, !tbaa !5 %10 = load i64, ptr %1, align 8, !tbaa !12 %11 = icmp eq i64 %9, %10 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %8, %2 %14 = phi i32 [ 0, %2 ], [ %12, %8 ] ret i32 %14 } declare ptr @ORANGEFS_I(ptr noundef) local_unnamed_addr #1 declare i32 @ORANGEFS_khandle_cmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"orangefs_inode_s", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"orangefs_object_kref", !8, i64 0, !11, i64 8}
; ModuleID = 'AnghaBench/linux/fs/orangefs/extr_inode.c_orangefs_test_inode.c' source_filename = "AnghaBench/linux/fs/orangefs/extr_inode.c_orangefs_test_inode.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 @orangefs_test_inode], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @orangefs_test_inode(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call ptr @ORANGEFS_I(ptr noundef %0) #2 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = tail call i32 @ORANGEFS_khandle_cmp(ptr noundef nonnull %4, ptr noundef nonnull %5) #2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load i64, ptr %3, align 8, !tbaa !6 %10 = load i64, ptr %1, align 8, !tbaa !13 %11 = icmp eq i64 %9, %10 %12 = zext i1 %11 to i32 br label %13 13: ; preds = %8, %2 %14 = phi i32 [ 0, %2 ], [ %12, %8 ] ret i32 %14 } declare ptr @ORANGEFS_I(ptr noundef) local_unnamed_addr #1 declare i32 @ORANGEFS_khandle_cmp(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"orangefs_inode_s", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"int", !10, i64 0} !13 = !{!14, !9, i64 0} !14 = !{!"orangefs_object_kref", !9, i64 0, !12, i64 8}
linux_fs_orangefs_extr_inode.c_orangefs_test_inode
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/synth/emux/extr_emux_nrpn.c_send_converted_effect.c' source_filename = "AnghaBench/fastsocket/kernel/sound/synth/emux/extr_emux_nrpn.c_send_converted_effect.c" target datalayout = "e-m:e-p270:32:32-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.nrpn_conv_table = type { i32, ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @send_converted_effect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @send_converted_effect(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = icmp sgt i32 %1, 0 br i1 %8, label %9, label %26 9: ; preds = %7 %10 = zext nneg i32 %1 to i64 br label %14 11: ; preds = %14 %12 = add nuw nsw i64 %15, 1 %13 = icmp eq i64 %12, %10 br i1 %13, label %26, label %14, !llvm.loop !5 14: ; preds = %9, %11 %15 = phi i64 [ 0, %9 ], [ %12, %11 ] %16 = getelementptr inbounds %struct.nrpn_conv_table, ptr %0, i64 %15 %17 = load i32, ptr %16, align 8, !tbaa !7 %18 = icmp eq i32 %17, %4 br i1 %18, label %19, label %11 19: ; preds = %14 %20 = getelementptr inbounds %struct.nrpn_conv_table, ptr %0, i64 %15, i32 1 %21 = load ptr, ptr %20, align 8, !tbaa !13 %22 = tail call i32 %21(i32 noundef %5) #2 %23 = getelementptr inbounds %struct.nrpn_conv_table, ptr %0, i64 %15, i32 2 %24 = load i32, ptr %23, align 8, !tbaa !14 %25 = tail call i32 @snd_emux_send_effect(ptr noundef %2, ptr noundef %3, i32 noundef %24, i32 noundef %22, i32 noundef %6) #2 br label %26 26: ; preds = %11, %7, %19 %27 = phi i32 [ 1, %19 ], [ 0, %7 ], [ 0, %11 ] ret i32 %27 } declare i32 @snd_emux_send_effect(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !9, i64 0} !8 = !{!"nrpn_conv_table", !9, i64 0, !12, i64 8, !9, i64 16} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!8, !12, i64 8} !14 = !{!8, !9, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/synth/emux/extr_emux_nrpn.c_send_converted_effect.c' source_filename = "AnghaBench/fastsocket/kernel/sound/synth/emux/extr_emux_nrpn.c_send_converted_effect.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nrpn_conv_table = type { i32, ptr, i32 } @llvm.used = appending global [1 x ptr] [ptr @send_converted_effect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @send_converted_effect(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { %8 = icmp sgt i32 %1, 0 br i1 %8, label %9, label %26 9: ; preds = %7 %10 = zext nneg i32 %1 to i64 br label %14 11: ; preds = %14 %12 = add nuw nsw i64 %15, 1 %13 = icmp eq i64 %12, %10 br i1 %13, label %26, label %14, !llvm.loop !6 14: ; preds = %9, %11 %15 = phi i64 [ 0, %9 ], [ %12, %11 ] %16 = getelementptr inbounds %struct.nrpn_conv_table, ptr %0, i64 %15 %17 = load i32, ptr %16, align 8, !tbaa !8 %18 = icmp eq i32 %17, %4 br i1 %18, label %19, label %11 19: ; preds = %14 %20 = getelementptr inbounds i8, ptr %16, i64 8 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = tail call i32 %21(i32 noundef %5) #2 %23 = getelementptr inbounds i8, ptr %16, i64 16 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = tail call i32 @snd_emux_send_effect(ptr noundef %2, ptr noundef %3, i32 noundef %24, i32 noundef %22, i32 noundef %6) #2 br label %26 26: ; preds = %11, %7, %19 %27 = phi i32 [ 1, %19 ], [ 0, %7 ], [ 0, %11 ] ret i32 %27 } declare i32 @snd_emux_send_effect(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !10, i64 0} !9 = !{!"nrpn_conv_table", !10, i64 0, !13, i64 8, !10, i64 16} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!"any pointer", !11, i64 0} !14 = !{!9, !13, i64 8} !15 = !{!9, !10, i64 16}
fastsocket_kernel_sound_synth_emux_extr_emux_nrpn.c_send_converted_effect
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-ppl.c_ppl_new_iounit.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-ppl.c_ppl_new_iounit.c" target datalayout = "e-m:e-p270:32:32-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.ppl_conf = type { i32, i32, i32 } %struct.ppl_io_unit = type { i32, ptr, i32, i32, i32, i32, i32, i32, ptr } %struct.ppl_header = type { i32, i32, ptr } @GFP_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @PPL_IO_INLINE_BVECS = dso_local local_unnamed_addr global i32 0, align 4 @PPL_HDR_RESERVED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ppl_new_iounit], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ppl_new_iounit(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.ppl_conf, ptr %3, i64 0, i32 2 %5 = load i32, ptr @GFP_NOWAIT, align 4, !tbaa !10 %6 = tail call ptr @mempool_alloc(ptr noundef nonnull %4, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %39, label %8 8: ; preds = %2 %9 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = tail call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 48) #2 store ptr %10, ptr %9, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 8 store ptr %0, ptr %12, align 8, !tbaa !14 %13 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 7 %14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 6 %16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 5 %18 = tail call i32 @atomic_set(ptr noundef nonnull %17, i32 noundef 0) #2 %19 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 4 %20 = tail call i32 @atomic_set(ptr noundef nonnull %19, i32 noundef 0) #2 %21 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 3 %22 = getelementptr inbounds %struct.ppl_io_unit, ptr %6, i64 0, i32 2 %23 = load i32, ptr %22, align 8, !tbaa !15 %24 = load i32, ptr @PPL_IO_INLINE_BVECS, align 4, !tbaa !10 %25 = tail call i32 @bio_init(ptr noundef nonnull %21, i32 noundef %23, i32 noundef %24) #2 %26 = load ptr, ptr %9, align 8, !tbaa !12 %27 = tail call ptr @page_address(ptr noundef %26) #2 %28 = tail call i32 @clear_page(ptr noundef %27) #2 %29 = getelementptr inbounds %struct.ppl_header, ptr %27, i64 0, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !16 %31 = load i32, ptr @PPL_HDR_RESERVED, align 4, !tbaa !10 %32 = tail call i32 @memset(ptr noundef %30, i32 noundef 255, i32 noundef %31) #2 %33 = getelementptr inbounds %struct.ppl_conf, ptr %3, i64 0, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !18 %35 = tail call i32 @cpu_to_le32(i32 noundef %34) #2 %36 = getelementptr inbounds %struct.ppl_header, ptr %27, i64 0, i32 1 store i32 %35, ptr %36, align 4, !tbaa !20 %37 = tail call i32 @atomic64_add_return(i32 noundef 1, ptr noundef %3) #2 store i32 %37, ptr %6, align 8, !tbaa !21 %38 = tail call i32 @cpu_to_le64(i32 noundef %37) #2 store i32 %38, ptr %27, align 8, !tbaa !22 br label %39 39: ; preds = %2, %8 ret ptr %6 } declare ptr @mempool_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bio_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @clear_page(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @atomic64_add_return(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le64(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 = !{!"ppl_log", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"ppl_io_unit", !11, i64 0, !7, i64 8, !11, i64 16, !11, i64 20, !11, i64 24, !11, i64 28, !11, i64 32, !11, i64 36, !7, i64 40} !14 = !{!13, !7, i64 40} !15 = !{!13, !11, i64 16} !16 = !{!17, !7, i64 8} !17 = !{!"ppl_header", !11, i64 0, !11, i64 4, !7, i64 8} !18 = !{!19, !11, i64 4} !19 = !{!"ppl_conf", !11, i64 0, !11, i64 4, !11, i64 8} !20 = !{!17, !11, i64 4} !21 = !{!13, !11, i64 0} !22 = !{!17, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_raid5-ppl.c_ppl_new_iounit.c' source_filename = "AnghaBench/linux/drivers/md/extr_raid5-ppl.c_ppl_new_iounit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_NOWAIT = common local_unnamed_addr global i32 0, align 4 @PPL_IO_INLINE_BVECS = common local_unnamed_addr global i32 0, align 4 @PPL_HDR_RESERVED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ppl_new_iounit], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ppl_new_iounit(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load i32, ptr @GFP_NOWAIT, align 4, !tbaa !11 %6 = tail call ptr @mempool_alloc(ptr noundef nonnull %4, i32 noundef %5) #2 %7 = icmp eq ptr %6, null br i1 %7, label %39, label %8 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %6, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = tail call i32 @memset(ptr noundef nonnull %6, i32 noundef 0, i32 noundef 48) #2 store ptr %10, ptr %9, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %6, i64 40 store ptr %0, ptr %12, align 8, !tbaa !15 %13 = getelementptr inbounds i8, ptr %6, i64 36 %14 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds i8, ptr %6, i64 32 %16 = tail call i32 @INIT_LIST_HEAD(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds i8, ptr %6, i64 28 %18 = tail call i32 @atomic_set(ptr noundef nonnull %17, i32 noundef 0) #2 %19 = getelementptr inbounds i8, ptr %6, i64 24 %20 = tail call i32 @atomic_set(ptr noundef nonnull %19, i32 noundef 0) #2 %21 = getelementptr inbounds i8, ptr %6, i64 20 %22 = getelementptr inbounds i8, ptr %6, i64 16 %23 = load i32, ptr %22, align 8, !tbaa !16 %24 = load i32, ptr @PPL_IO_INLINE_BVECS, align 4, !tbaa !11 %25 = tail call i32 @bio_init(ptr noundef nonnull %21, i32 noundef %23, i32 noundef %24) #2 %26 = load ptr, ptr %9, align 8, !tbaa !13 %27 = tail call ptr @page_address(ptr noundef %26) #2 %28 = tail call i32 @clear_page(ptr noundef %27) #2 %29 = getelementptr inbounds i8, ptr %27, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !17 %31 = load i32, ptr @PPL_HDR_RESERVED, align 4, !tbaa !11 %32 = tail call i32 @memset(ptr noundef %30, i32 noundef 255, i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %3, i64 4 %34 = load i32, ptr %33, align 4, !tbaa !19 %35 = tail call i32 @cpu_to_le32(i32 noundef %34) #2 %36 = getelementptr inbounds i8, ptr %27, i64 4 store i32 %35, ptr %36, align 4, !tbaa !21 %37 = tail call i32 @atomic64_add_return(i32 noundef 1, ptr noundef %3) #2 store i32 %37, ptr %6, align 8, !tbaa !22 %38 = tail call i32 @cpu_to_le64(i32 noundef %37) #2 store i32 %38, ptr %27, align 8, !tbaa !23 br label %39 39: ; preds = %2, %8 ret ptr %6 } declare ptr @mempool_alloc(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_LIST_HEAD(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_set(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bio_init(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @clear_page(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @atomic64_add_return(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_le64(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 = !{!"ppl_log", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !8, i64 8} !14 = !{!"ppl_io_unit", !12, i64 0, !8, i64 8, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !8, i64 40} !15 = !{!14, !8, i64 40} !16 = !{!14, !12, i64 16} !17 = !{!18, !8, i64 8} !18 = !{!"ppl_header", !12, i64 0, !12, i64 4, !8, i64 8} !19 = !{!20, !12, i64 4} !20 = !{!"ppl_conf", !12, i64 0, !12, i64 4, !12, i64 8} !21 = !{!18, !12, i64 4} !22 = !{!14, !12, i64 0} !23 = !{!18, !12, i64 0}
linux_drivers_md_extr_raid5-ppl.c_ppl_new_iounit
; ModuleID = 'AnghaBench/lwan/src/samples/techempower/extr_techempower.c_json_response.c' source_filename = "AnghaBench/lwan/src/samples/techempower/extr_techempower.c_json_response.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.lwan_response = type { ptr, i32 } @HTTP_INTERNAL_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"application/json\00", align 1 @HTTP_OK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @json_response], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @json_response(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call ptr @json_stringify_length(ptr noundef %1, ptr noundef null, ptr noundef nonnull %3) #3 %5 = call i32 @json_delete(ptr noundef %1) #3 %6 = icmp eq ptr %4, null %7 = zext i1 %6 to i32 %8 = call i64 @UNLIKELY(i32 noundef %7) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = getelementptr inbounds %struct.lwan_response, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !5 %13 = load i64, ptr %3, align 8, !tbaa !11 %14 = call i32 @lwan_strbuf_set(i32 noundef %12, ptr noundef %4, i64 noundef %13) #3 %15 = call i32 @free(ptr noundef %4) #3 store ptr @.str, ptr %0, align 8, !tbaa !13 br label %16 16: ; preds = %2, %10 %17 = phi ptr [ @HTTP_OK, %10 ], [ @HTTP_INTERNAL_ERROR, %2 ] %18 = load i32, ptr %17, align 4, !tbaa !14 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @json_stringify_length(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @json_delete(ptr noundef) local_unnamed_addr #2 declare i64 @UNLIKELY(i32 noundef) local_unnamed_addr #2 declare i32 @lwan_strbuf_set(i32 noundef, ptr noundef, i64 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, !10, i64 8} !6 = !{!"lwan_response", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/lwan/src/samples/techempower/extr_techempower.c_json_response.c' source_filename = "AnghaBench/lwan/src/samples/techempower/extr_techempower.c_json_response.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HTTP_INTERNAL_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"application/json\00", align 1 @HTTP_OK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @json_response], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @json_response(ptr nocapture noundef %0, ptr noundef %1) #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call ptr @json_stringify_length(ptr noundef %1, ptr noundef null, ptr noundef nonnull %3) #3 %5 = call i32 @json_delete(ptr noundef %1) #3 %6 = icmp eq ptr %4, null %7 = zext i1 %6 to i32 %8 = call i64 @UNLIKELY(i32 noundef %7) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %16 10: ; preds = %2 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !6 %13 = load i64, ptr %3, align 8, !tbaa !12 %14 = call i32 @lwan_strbuf_set(i32 noundef %12, ptr noundef %4, i64 noundef %13) #3 %15 = call i32 @free(ptr noundef %4) #3 store ptr @.str, ptr %0, align 8, !tbaa !14 br label %16 16: ; preds = %2, %10 %17 = phi ptr [ @HTTP_OK, %10 ], [ @HTTP_INTERNAL_ERROR, %2 ] %18 = load i32, ptr %17, align 4, !tbaa !15 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %18 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @json_stringify_length(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @json_delete(ptr noundef) local_unnamed_addr #2 declare i64 @UNLIKELY(i32 noundef) local_unnamed_addr #2 declare i32 @lwan_strbuf_set(i32 noundef, ptr noundef, i64 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, !11, i64 8} !7 = !{!"lwan_response", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!11, !11, i64 0}
lwan_src_samples_techempower_extr_techempower.c_json_response
; ModuleID = 'AnghaBench/libgit2/tests/merge/extr_driver.c_test_driver_apply.c' source_filename = "AnghaBench/libgit2/tests/merge/extr_driver.c_test_driver_apply.c" target datalayout = "e-m:e-p270:32:32-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 [12 x i8] c"applied.txt\00", align 1 @GIT_FILEMODE_BLOB = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"This is the `%s` driver.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_driver_apply], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @test_driver_apply(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = tail call i32 @GIT_UNUSED(ptr noundef %0) #2 %8 = tail call i32 @GIT_UNUSED(ptr noundef %5) #2 store ptr @.str, ptr %1, align 8, !tbaa !5 %9 = load i32, ptr @GIT_FILEMODE_BLOB, align 4, !tbaa !9 store i32 %9, ptr %2, align 4, !tbaa !9 %10 = tail call i32 @git_buf_printf(ptr noundef %3, ptr noundef nonnull @.str.1, ptr noundef %4) #2 ret i32 %10 } declare i32 @GIT_UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @git_buf_printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/merge/extr_driver.c_test_driver_apply.c' source_filename = "AnghaBench/libgit2/tests/merge/extr_driver.c_test_driver_apply.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 [12 x i8] c"applied.txt\00", align 1 @GIT_FILEMODE_BLOB = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"This is the `%s` driver.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_driver_apply], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @test_driver_apply(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = tail call i32 @GIT_UNUSED(ptr noundef %0) #2 %8 = tail call i32 @GIT_UNUSED(ptr noundef %5) #2 store ptr @.str, ptr %1, align 8, !tbaa !6 %9 = load i32, ptr @GIT_FILEMODE_BLOB, align 4, !tbaa !10 store i32 %9, ptr %2, align 4, !tbaa !10 %10 = tail call i32 @git_buf_printf(ptr noundef %3, ptr noundef nonnull @.str.1, ptr noundef %4) #2 ret i32 %10 } declare i32 @GIT_UNUSED(ptr noundef) local_unnamed_addr #1 declare i32 @git_buf_printf(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
libgit2_tests_merge_extr_driver.c_test_driver_apply
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_parser.yy.c_parser_get_text.c' source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_parser.yy.c_parser_get_text.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @parser_text = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define dso_local ptr @parser_get_text() local_unnamed_addr #0 { %1 = load ptr, ptr @parser_text, align 8, !tbaa !5 ret ptr %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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/sdk/tools/widl/extr_parser.yy.c_parser_get_text.c' source_filename = "AnghaBench/reactos/sdk/tools/widl/extr_parser.yy.c_parser_get_text.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @parser_text = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define ptr @parser_get_text() local_unnamed_addr #0 { %1 = load ptr, ptr @parser_text, align 8, !tbaa !6 ret ptr %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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_sdk_tools_widl_extr_parser.yy.c_parser_get_text
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_raw3270.c_raw3270_pm_start.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_raw3270.c_raw3270_pm_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.raw3270 = type { i32, ptr, i32 } @RAW3270_FLAGS_FROZEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @raw3270_pm_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @raw3270_pm_start(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %22, label %4 4: ; preds = %1 %5 = load i32, ptr %2, align 8, !tbaa !5 %6 = tail call i32 @get_ccwdev_lock(i32 noundef %5) #2 %7 = tail call i32 @spin_lock_irqsave(i32 noundef %6, i64 noundef undef) #2 %8 = load i32, ptr @RAW3270_FLAGS_FROZEN, align 4, !tbaa !11 %9 = getelementptr inbounds %struct.raw3270, ptr %2, i64 0, i32 2 %10 = tail call i32 @clear_bit(i32 noundef %8, ptr noundef nonnull %9) #2 %11 = getelementptr inbounds %struct.raw3270, ptr %2, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = icmp eq ptr %12, null br i1 %13, label %18, label %14 14: ; preds = %4 %15 = load ptr, ptr %12, align 8, !tbaa !13 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = tail call i32 %16(ptr noundef nonnull %12) #2 br label %18 18: ; preds = %14, %4 %19 = load i32, ptr %2, align 8, !tbaa !5 %20 = tail call i32 @get_ccwdev_lock(i32 noundef %19) #2 %21 = tail call i32 @spin_unlock_irqrestore(i32 noundef %20, i64 noundef undef) #2 br label %22 22: ; preds = %1, %18 ret i32 0 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @get_ccwdev_lock(i32 noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"raw3270", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !10, i64 8} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_4__", !10, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"TYPE_3__", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/char/extr_raw3270.c_raw3270_pm_start.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/char/extr_raw3270.c_raw3270_pm_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RAW3270_FLAGS_FROZEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @raw3270_pm_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @raw3270_pm_start(ptr noundef %0) #0 { %2 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %22, label %4 4: ; preds = %1 %5 = load i32, ptr %2, align 8, !tbaa !6 %6 = tail call i32 @get_ccwdev_lock(i32 noundef %5) #2 %7 = tail call i32 @spin_lock_irqsave(i32 noundef %6, i64 noundef undef) #2 %8 = load i32, ptr @RAW3270_FLAGS_FROZEN, align 4, !tbaa !12 %9 = getelementptr inbounds i8, ptr %2, i64 16 %10 = tail call i32 @clear_bit(i32 noundef %8, ptr noundef nonnull %9) #2 %11 = getelementptr inbounds i8, ptr %2, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = icmp eq ptr %12, null br i1 %13, label %18, label %14 14: ; preds = %4 %15 = load ptr, ptr %12, align 8, !tbaa !14 %16 = load ptr, ptr %15, align 8, !tbaa !16 %17 = tail call i32 %16(ptr noundef nonnull %12) #2 br label %18 18: ; preds = %14, %4 %19 = load i32, ptr %2, align 8, !tbaa !6 %20 = tail call i32 @get_ccwdev_lock(i32 noundef %19) #2 %21 = tail call i32 @spin_unlock_irqrestore(i32 noundef %20, i64 noundef undef) #2 br label %22 22: ; preds = %1, %18 ret i32 0 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @get_ccwdev_lock(i32 noundef) local_unnamed_addr #1 declare i32 @clear_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"raw3270", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !11, i64 8} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_4__", !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"TYPE_3__", !11, i64 0}
fastsocket_kernel_drivers_s390_char_extr_raw3270.c_raw3270_pm_start
; ModuleID = 'AnghaBench/scrcpy/app/src/extr_input_manager.c_action_power.c' source_filename = "AnghaBench/scrcpy/app/src/extr_input_manager.c_action_power.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AKEYCODE_POWER = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"POWER\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @action_power], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @action_power(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @AKEYCODE_POWER, align 4, !tbaa !5 %4 = tail call i32 @send_keycode(ptr noundef %0, i32 noundef %3, i32 noundef %1, ptr noundef nonnull @.str) #2 ret void } declare i32 @send_keycode(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/scrcpy/app/src/extr_input_manager.c_action_power.c' source_filename = "AnghaBench/scrcpy/app/src/extr_input_manager.c_action_power.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AKEYCODE_POWER = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"POWER\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @action_power], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @action_power(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @AKEYCODE_POWER, align 4, !tbaa !6 %4 = tail call i32 @send_keycode(ptr noundef %0, i32 noundef %3, i32 noundef %1, ptr noundef nonnull @.str) #2 ret void } declare i32 @send_keycode(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
scrcpy_app_src_extr_input_manager.c_action_power
; ModuleID = 'AnghaBench/freebsd/sys/netgraph/netflow/extr_ng_netflow.c_ng_netflow_close.c' source_filename = "AnghaBench/freebsd/sys/netgraph/netflow/extr_ng_netflow.c_ng_netflow_close.c" target datalayout = "e-m:e-p270:32:32-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 @ng_netflow_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ng_netflow_close(i32 noundef %0) #0 { %2 = tail call ptr @NG_NODE_PRIVATE(i32 noundef %0) #2 %3 = tail call i32 @callout_drain(ptr noundef %2) #2 %4 = tail call i32 @ng_netflow_cache_flush(ptr noundef %2) #2 ret i32 0 } declare ptr @NG_NODE_PRIVATE(i32 noundef) local_unnamed_addr #1 declare i32 @callout_drain(ptr noundef) local_unnamed_addr #1 declare i32 @ng_netflow_cache_flush(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/netgraph/netflow/extr_ng_netflow.c_ng_netflow_close.c' source_filename = "AnghaBench/freebsd/sys/netgraph/netflow/extr_ng_netflow.c_ng_netflow_close.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 @ng_netflow_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ng_netflow_close(i32 noundef %0) #0 { %2 = tail call ptr @NG_NODE_PRIVATE(i32 noundef %0) #2 %3 = tail call i32 @callout_drain(ptr noundef %2) #2 %4 = tail call i32 @ng_netflow_cache_flush(ptr noundef %2) #2 ret i32 0 } declare ptr @NG_NODE_PRIVATE(i32 noundef) local_unnamed_addr #1 declare i32 @callout_drain(ptr noundef) local_unnamed_addr #1 declare i32 @ng_netflow_cache_flush(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_netgraph_netflow_extr_ng_netflow.c_ng_netflow_close
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/dh/extr_dh_meth.c_DH_meth_new.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/dh/extr_dh_meth.c_DH_meth_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, ptr } @DH_F_DH_METH_NEW = dso_local local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @DH_meth_new(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @OPENSSL_zalloc(i32 noundef 16) #2 %4 = icmp eq ptr %3, null br i1 %4, label %11, label %5 5: ; preds = %2 store i32 %1, ptr %3, align 8, !tbaa !5 %6 = tail call ptr @OPENSSL_strdup(ptr noundef %0) #2 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %3, i64 0, i32 1 store ptr %6, ptr %7, align 8, !tbaa !11 %8 = icmp eq ptr %6, null br i1 %8, label %9, label %15 9: ; preds = %5 %10 = tail call i32 @OPENSSL_free(ptr noundef nonnull %3) #2 br label %11 11: ; preds = %9, %2 %12 = load i32, ptr @DH_F_DH_METH_NEW, align 4, !tbaa !12 %13 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !12 %14 = tail call i32 @DHerr(i32 noundef %12, i32 noundef %13) #2 br label %15 15: ; preds = %5, %11 %16 = phi ptr [ null, %11 ], [ %3, %5 ] ret ptr %16 } declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare ptr @OPENSSL_strdup(ptr noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 declare i32 @DHerr(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/dh/extr_dh_meth.c_DH_meth_new.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/dh/extr_dh_meth.c_DH_meth_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DH_F_DH_METH_NEW = common local_unnamed_addr global i32 0, align 4 @ERR_R_MALLOC_FAILURE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @DH_meth_new(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @OPENSSL_zalloc(i32 noundef 16) #2 %4 = icmp eq ptr %3, null br i1 %4, label %11, label %5 5: ; preds = %2 store i32 %1, ptr %3, align 8, !tbaa !6 %6 = tail call ptr @OPENSSL_strdup(ptr noundef %0) #2 %7 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %6, ptr %7, align 8, !tbaa !12 %8 = icmp eq ptr %6, null br i1 %8, label %9, label %15 9: ; preds = %5 %10 = tail call i32 @OPENSSL_free(ptr noundef nonnull %3) #2 br label %11 11: ; preds = %9, %2 %12 = load i32, ptr @DH_F_DH_METH_NEW, align 4, !tbaa !13 %13 = load i32, ptr @ERR_R_MALLOC_FAILURE, align 4, !tbaa !13 %14 = tail call i32 @DHerr(i32 noundef %12, i32 noundef %13) #2 br label %15 15: ; preds = %5, %11 %16 = phi ptr [ null, %11 ], [ %3, %5 ] ret ptr %16 } declare ptr @OPENSSL_zalloc(i32 noundef) local_unnamed_addr #1 declare ptr @OPENSSL_strdup(ptr noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(ptr noundef) local_unnamed_addr #1 declare i32 @DHerr(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0}
freebsd_crypto_openssl_crypto_dh_extr_dh_meth.c_DH_meth_new
; ModuleID = 'AnghaBench/linux/lib/extr_crc-t10dif.c_crc_t10dif_transform_show.c' source_filename = "AnghaBench/linux/lib/extr_crc-t10dif.c_crc_t10dif_transform_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @crct10dif_fallback = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"fallback\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @crct10dif_tfm = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @crc_t10dif_transform_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @crc_t10dif_transform_show(ptr nocapture noundef writeonly %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @static_key_false(ptr noundef nonnull @crct10dif_fallback) #4 %4 = icmp eq i64 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %2 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %0, ptr noundef nonnull align 1 dereferenceable(10) @.str, i64 10, i1 false) br label %11 6: ; preds = %2 %7 = load i32, ptr @crct10dif_tfm, align 4, !tbaa !5 %8 = tail call i32 @crypto_shash_tfm(i32 noundef %7) #4 %9 = tail call ptr @crypto_tfm_alg_driver_name(i32 noundef %8) #4 %10 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %9) br label %11 11: ; preds = %6, %5 %12 = phi i32 [ 9, %5 ], [ %10, %6 ] ret i32 %12 } declare i64 @static_key_false(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare ptr @crypto_tfm_alg_driver_name(i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_tfm(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/lib/extr_crc-t10dif.c_crc_t10dif_transform_show.c' source_filename = "AnghaBench/linux/lib/extr_crc-t10dif.c_crc_t10dif_transform_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @crct10dif_fallback = common global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"fallback\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%s\0A\00", align 1 @crct10dif_tfm = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @crc_t10dif_transform_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @crc_t10dif_transform_show(ptr nocapture noundef writeonly %0, ptr nocapture readnone %1) #0 { %3 = tail call i64 @static_key_false(ptr noundef nonnull @crct10dif_fallback) #4 %4 = icmp eq i64 %3, 0 br i1 %4, label %6, label %5 5: ; preds = %2 tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %0, ptr noundef nonnull align 1 dereferenceable(10) @.str, i64 10, i1 false) br label %11 6: ; preds = %2 %7 = load i32, ptr @crct10dif_tfm, align 4, !tbaa !6 %8 = tail call i32 @crypto_shash_tfm(i32 noundef %7) #4 %9 = tail call ptr @crypto_tfm_alg_driver_name(i32 noundef %8) #4 %10 = tail call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %9) br label %11 11: ; preds = %6, %5 %12 = phi i32 [ 9, %5 ], [ %10, %6 ] ret i32 %12 } declare i64 @static_key_false(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare ptr @crypto_tfm_alg_driver_name(i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_tfm(i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #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 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_lib_extr_crc-t10dif.c_crc_t10dif_transform_show
; ModuleID = 'AnghaBench/lab/engine/code/server/extr_sv_game.c_SV_InitGameVM.c' source_filename = "AnghaBench/lab/engine/code/server/extr_sv_game.c_SV_InitGameVM.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_13__ = type { i32, i32 } %struct.TYPE_12__ = type { i32 } %struct.TYPE_11__ = type { %struct.TYPE_9__* } %struct.TYPE_9__ = type { i32* } %struct.TYPE_10__ = type { i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32 (i32)* } @sv = dso_local local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 4 @sv_maxclients = dso_local local_unnamed_addr global %struct.TYPE_12__* null, align 8 @svs = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8 @gvm = dso_local local_unnamed_addr global i32 0, align 4 @GAME_INIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void (i32)* @SV_InitGameVM to i8*)], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SV_InitGameVM(i32 noundef %0) #0 { %2 = tail call %struct.TYPE_10__* (...) @dmlab_context() #2 %3 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %2, i64 0, i32 1, i32 0 %4 = load i32 (i32)*, i32 (i32)** %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_10__, %struct.TYPE_10__* %2, i64 0, i32 0 %6 = load i32, i32* %5, align 8, !tbaa !12 %7 = tail call i32 %4(i32 noundef %6) #2 %8 = tail call i32 (...) @CM_EntityString() #2 store i32 %8, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @sv, i64 0, i32 1), align 4, !tbaa !13 %9 = load %struct.TYPE_12__*, %struct.TYPE_12__** @sv_maxclients, align 8, !tbaa !15 %10 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %9, i64 0, i32 0 %11 = load i32, i32* %10, align 4, !tbaa !16 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %24 13: ; preds = %1 %14 = load %struct.TYPE_9__*, %struct.TYPE_9__** getelementptr inbounds (%struct.TYPE_11__, %struct.TYPE_11__* @svs, i64 0, i32 0), align 8, !tbaa !18 br label %15 15: ; preds = %13, %15 %16 = phi i64 [ 0, %13 ], [ %18, %15 ] %17 = getelementptr inbounds %struct.TYPE_9__, %struct.TYPE_9__* %14, i64 %16, i32 0 store i32* null, i32** %17, align 8, !tbaa !20 %18 = add nuw nsw i64 %16, 1 %19 = load %struct.TYPE_12__*, %struct.TYPE_12__** @sv_maxclients, align 8, !tbaa !15 %20 = getelementptr inbounds %struct.TYPE_12__, %struct.TYPE_12__* %19, i64 0, i32 0 %21 = load i32, i32* %20, align 4, !tbaa !16 %22 = sext i32 %21 to i64 %23 = icmp slt i64 %18, %22 br i1 %23, label %15, label %24, !llvm.loop !22 24: ; preds = %15, %1 %25 = load i32, i32* @gvm, align 4, !tbaa !24 %26 = load i32, i32* @GAME_INIT, align 4, !tbaa !24 %27 = load i32, i32* getelementptr inbounds (%struct.TYPE_13__, %struct.TYPE_13__* @sv, i64 0, i32 0), align 4, !tbaa !25 %28 = tail call i32 @VM_Call(i32 noundef %25, i32 noundef %26, i32 noundef %27, i32 noundef %7, i32 noundef %0) #2 ret void } declare %struct.TYPE_10__* @dmlab_context(...) local_unnamed_addr #1 declare i32 @CM_EntityString(...) local_unnamed_addr #1 declare i32 @VM_Call(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !11, i64 8} !6 = !{!"TYPE_10__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_8__", !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 4} !14 = !{!"TYPE_13__", !7, i64 0, !7, i64 4} !15 = !{!11, !11, i64 0} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_12__", !7, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"TYPE_11__", !11, i64 0} !20 = !{!21, !11, i64 0} !21 = !{!"TYPE_9__", !11, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!7, !7, i64 0} !25 = !{!14, !7, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/server/extr_sv_game.c_SV_InitGameVM.c' source_filename = "AnghaBench/lab/engine/code/server/extr_sv_game.c_SV_InitGameVM.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_13__ = type { i32, i32 } %struct.TYPE_11__ = type { ptr } %struct.TYPE_9__ = type { ptr } @sv = common local_unnamed_addr global %struct.TYPE_13__ zeroinitializer, align 4 @sv_maxclients = common local_unnamed_addr global ptr null, align 8 @svs = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8 @gvm = common local_unnamed_addr global i32 0, align 4 @GAME_INIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @SV_InitGameVM], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SV_InitGameVM(i32 noundef %0) #0 { %2 = tail call ptr @dmlab_context() #2 %3 = getelementptr inbounds i8, ptr %2, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %2, align 8, !tbaa !13 %6 = tail call i32 %4(i32 noundef %5) #2 %7 = tail call i32 @CM_EntityString() #2 store i32 %7, ptr getelementptr inbounds (i8, ptr @sv, i64 4), align 4, !tbaa !14 %8 = load ptr, ptr @sv_maxclients, align 8, !tbaa !16 %9 = load i32, ptr %8, align 4, !tbaa !17 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %21 11: ; preds = %1 %12 = load ptr, ptr @svs, align 8, !tbaa !19 br label %13 13: ; preds = %11, %13 %14 = phi i64 [ 0, %11 ], [ %16, %13 ] %15 = getelementptr inbounds %struct.TYPE_9__, ptr %12, i64 %14 store ptr null, ptr %15, align 8, !tbaa !21 %16 = add nuw nsw i64 %14, 1 %17 = load ptr, ptr @sv_maxclients, align 8, !tbaa !16 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = sext i32 %18 to i64 %20 = icmp slt i64 %16, %19 br i1 %20, label %13, label %21, !llvm.loop !23 21: ; preds = %13, %1 %22 = load i32, ptr @gvm, align 4, !tbaa !25 %23 = load i32, ptr @GAME_INIT, align 4, !tbaa !25 %24 = load i32, ptr @sv, align 4, !tbaa !26 %25 = tail call i32 @VM_Call(i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %6, i32 noundef %0) #2 ret void } declare ptr @dmlab_context(...) local_unnamed_addr #1 declare i32 @CM_EntityString(...) local_unnamed_addr #1 declare i32 @VM_Call(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 8} !7 = !{!"TYPE_10__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 4} !15 = !{!"TYPE_13__", !8, i64 0, !8, i64 4} !16 = !{!12, !12, i64 0} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_12__", !8, i64 0} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_11__", !12, i64 0} !21 = !{!22, !12, i64 0} !22 = !{!"TYPE_9__", !12, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!8, !8, i64 0} !26 = !{!15, !8, i64 0}
lab_engine_code_server_extr_sv_game.c_SV_InitGameVM
; ModuleID = 'AnghaBench/linux/scripts/mod/extr_file2alias.c_do_css_entry.c' source_filename = "AnghaBench/linux/scripts/mod/extr_file2alias.c_do_css_entry.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @css_device_id = dso_local local_unnamed_addr global i32 0, align 4 @type = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"css:t%01X\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_css_entry], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @do_css_entry(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @css_device_id, align 4, !tbaa !5 %5 = load i32, ptr @type, align 4, !tbaa !5 %6 = tail call i32 @DEF_FIELD(ptr noundef %1, i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr @type, align 4, !tbaa !5 %8 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %7) #2 ret i32 1 } declare i32 @DEF_FIELD(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/scripts/mod/extr_file2alias.c_do_css_entry.c' source_filename = "AnghaBench/linux/scripts/mod/extr_file2alias.c_do_css_entry.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @css_device_id = common local_unnamed_addr global i32 0, align 4 @type = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"css:t%01X\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @do_css_entry], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @do_css_entry(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @css_device_id, align 4, !tbaa !6 %5 = load i32, ptr @type, align 4, !tbaa !6 %6 = tail call i32 @DEF_FIELD(ptr noundef %1, i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr @type, align 4, !tbaa !6 %8 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %7) #2 ret i32 1 } declare i32 @DEF_FIELD(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sprintf(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"}
linux_scripts_mod_extr_file2alias.c_do_css_entry
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_save_hotkey.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_save_hotkey.c" target datalayout = "e-m:e-p270:32:32-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.save_bindings_helper_t = type { ptr, ptr } @save_bindings_helper = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @save_hotkey], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @save_hotkey(ptr noundef %0) #0 { %2 = alloca %struct.save_bindings_helper_t, align 8 %3 = tail call ptr (...) @obs_data_array_create() #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 store ptr %3, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.save_bindings_helper_t, ptr %2, i64 0, i32 1 store ptr %0, ptr %4, align 8, !tbaa !10 %5 = load i32, ptr @save_bindings_helper, align 4, !tbaa !11 %6 = call i32 @enum_bindings(i32 noundef %5, ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret ptr %3 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @obs_data_array_create(...) local_unnamed_addr #2 declare i32 @enum_bindings(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"save_bindings_helper_t", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_save_hotkey.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-hotkey.c_save_hotkey.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.save_bindings_helper_t = type { ptr, ptr } @save_bindings_helper = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @save_hotkey], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @save_hotkey(ptr noundef %0) #0 { %2 = alloca %struct.save_bindings_helper_t, align 8 %3 = tail call ptr @obs_data_array_create() #3 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #3 store ptr %3, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %2, i64 8 store ptr %0, ptr %4, align 8, !tbaa !11 %5 = load i32, ptr @save_bindings_helper, align 4, !tbaa !12 %6 = call i32 @enum_bindings(i32 noundef %5, ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #3 ret ptr %3 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @obs_data_array_create(...) local_unnamed_addr #2 declare i32 @enum_bindings(i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"save_bindings_helper_t", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
obs-studio_libobs_extr_obs-hotkey.c_save_hotkey
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_get_credit_vlan_mac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_get_credit_vlan_mac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.bnx2x_vlan_mac_obj = type { ptr, ptr } %struct.bnx2x_credit_pool_obj = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_get_credit_vlan_mac], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bnx2x_get_credit_vlan_mac(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.bnx2x_vlan_mac_obj, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = getelementptr inbounds %struct.bnx2x_credit_pool_obj, ptr %3, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call i32 %6(ptr noundef %3, i32 noundef 1) #1 %8 = icmp eq i32 %7, 0 br i1 %8, label %17, label %9 9: ; preds = %1 %10 = getelementptr inbounds %struct.bnx2x_credit_pool_obj, ptr %4, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !11 %12 = tail call i32 %11(ptr noundef %4, i32 noundef 1) #1 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load ptr, ptr %3, align 8, !tbaa !13 %16 = tail call i32 %15(ptr noundef nonnull %3, i32 noundef 1) #1 br label %17 17: ; preds = %9, %1, %14 %18 = phi i32 [ 0, %14 ], [ 0, %1 ], [ 1, %9 ] ret i32 %18 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"bnx2x_vlan_mac_obj", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !7, i64 8} !12 = !{!"bnx2x_credit_pool_obj", !7, i64 0, !7, i64 8} !13 = !{!12, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_get_credit_vlan_mac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnx2x/extr_bnx2x_sp.c_bnx2x_get_credit_vlan_mac.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 @bnx2x_get_credit_vlan_mac], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @bnx2x_get_credit_vlan_mac(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !11 %5 = getelementptr inbounds i8, ptr %3, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call i32 %6(ptr noundef %3, i32 noundef 1) #1 %8 = icmp eq i32 %7, 0 br i1 %8, label %17, label %9 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %4, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = tail call i32 %11(ptr noundef %4, i32 noundef 1) #1 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %9 %15 = load ptr, ptr %3, align 8, !tbaa !14 %16 = tail call i32 %15(ptr noundef nonnull %3, i32 noundef 1) #1 br label %17 17: ; preds = %9, %1, %14 %18 = phi i32 [ 0, %14 ], [ 0, %1 ], [ 1, %9 ] ret i32 %18 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"bnx2x_vlan_mac_obj", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !8, i64 8} !13 = !{!"bnx2x_credit_pool_obj", !8, i64 0, !8, i64 8} !14 = !{!13, !8, i64 0}
linux_drivers_net_ethernet_broadcom_bnx2x_extr_bnx2x_sp.c_bnx2x_get_credit_vlan_mac
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_verbs.c_ipoib_init_qp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_verbs.c_ipoib_init_qp.c" target datalayout = "e-m:e-p270:32:32-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.ib_qp_attr = type { i32, i64, i32, i32, i64 } %struct.ipoib_dev_priv = type { i32, i32, i32, i32 } @IPOIB_PKEY_ASSIGNED = dso_local local_unnamed_addr global i32 0, align 4 @IB_QPS_INIT = dso_local local_unnamed_addr global i32 0, align 4 @IB_QP_QKEY = dso_local local_unnamed_addr global i32 0, align 4 @IB_QP_PORT = dso_local local_unnamed_addr global i32 0, align 4 @IB_QP_PKEY_INDEX = dso_local local_unnamed_addr global i32 0, align 4 @IB_QP_STATE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"failed to modify QP to init, ret = %d\0A\00", align 1 @IB_QPS_RTR = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"failed to modify QP to RTR, ret = %d\0A\00", align 1 @IB_QPS_RTS = dso_local local_unnamed_addr global i32 0, align 4 @IB_QP_SQ_PSN = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"failed to modify QP to RTS, ret = %d\0A\00", align 1 @IB_QPS_RESET = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"Failed to modify QP to RESET state\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ipoib_init_qp(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.ib_qp_attr, align 8 %3 = tail call ptr @netdev_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 %4 = load i32, ptr @IPOIB_PKEY_ASSIGNED, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.ipoib_dev_priv, ptr %3, i64 0, i32 3 %6 = tail call i32 @test_bit(i32 noundef %4, ptr noundef nonnull %5) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %58, label %8 8: ; preds = %1 %9 = load i32, ptr @IB_QPS_INIT, align 4, !tbaa !5 store i32 %9, ptr %2, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.ib_qp_attr, ptr %2, i64 0, i32 4 store i64 0, ptr %10, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.ipoib_dev_priv, ptr %3, i64 0, i32 1 %12 = getelementptr inbounds %struct.ib_qp_attr, ptr %2, i64 0, i32 2 %13 = load <2 x i32>, ptr %11, align 4, !tbaa !5 store <2 x i32> %13, ptr %12, align 8, !tbaa !5 %14 = load i32, ptr @IB_QP_QKEY, align 4, !tbaa !5 %15 = load i32, ptr @IB_QP_PORT, align 4, !tbaa !5 %16 = or i32 %15, %14 %17 = load i32, ptr @IB_QP_PKEY_INDEX, align 4, !tbaa !5 %18 = or i32 %16, %17 %19 = load i32, ptr @IB_QP_STATE, align 4, !tbaa !5 %20 = or i32 %18, %19 %21 = load i32, ptr %3, align 4, !tbaa !13 %22 = call i32 @ib_modify_qp(i32 noundef %21, ptr noundef nonnull %2, i32 noundef %20) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %8 %25 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %22) #3 br label %49 26: ; preds = %8 %27 = load i32, ptr @IB_QPS_RTR, align 4, !tbaa !5 store i32 %27, ptr %2, align 8, !tbaa !9 %28 = load i32, ptr @IB_QP_PORT, align 4, !tbaa !5 %29 = xor i32 %28, -1 %30 = and i32 %20, %29 %31 = load i32, ptr %3, align 4, !tbaa !13 %32 = call i32 @ib_modify_qp(i32 noundef %31, ptr noundef nonnull %2, i32 noundef %30) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %26 %35 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %32) #3 br label %49 36: ; preds = %26 %37 = load i32, ptr @IB_QPS_RTS, align 4, !tbaa !5 store i32 %37, ptr %2, align 8, !tbaa !9 %38 = getelementptr inbounds %struct.ib_qp_attr, ptr %2, i64 0, i32 1 store i64 0, ptr %38, align 8, !tbaa !15 %39 = load i32, ptr @IB_QP_SQ_PSN, align 4, !tbaa !5 %40 = or i32 %39, %30 %41 = load i32, ptr @IB_QP_PKEY_INDEX, align 4, !tbaa !5 %42 = xor i32 %41, -1 %43 = and i32 %40, %42 %44 = load i32, ptr %3, align 4, !tbaa !13 %45 = call i32 @ib_modify_qp(i32 noundef %44, ptr noundef nonnull %2, i32 noundef %43) #3 %46 = icmp eq i32 %45, 0 br i1 %46, label %58, label %47 47: ; preds = %36 %48 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef %45) #3 br label %49 49: ; preds = %47, %34, %24 %50 = phi i32 [ %22, %24 ], [ %32, %34 ], [ %45, %47 ] %51 = load i32, ptr @IB_QPS_RESET, align 4, !tbaa !5 store i32 %51, ptr %2, align 8, !tbaa !9 %52 = load i32, ptr %3, align 4, !tbaa !13 %53 = load i32, ptr @IB_QP_STATE, align 4, !tbaa !5 %54 = call i32 @ib_modify_qp(i32 noundef %52, ptr noundef nonnull %2, i32 noundef %53) #3 %55 = icmp eq i32 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %49 %57 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #3 br label %58 58: ; preds = %49, %56, %36, %1 %59 = phi i32 [ -1, %1 ], [ 0, %36 ], [ %50, %56 ], [ %50, %49 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 ret i32 %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ib_modify_qp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ipoib_warn(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ib_qp_attr", !6, i64 0, !11, i64 8, !6, i64 16, !6, i64 20, !11, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!10, !11, i64 24} !13 = !{!14, !6, i64 0} !14 = !{!"ipoib_dev_priv", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12} !15 = !{!10, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_verbs.c_ipoib_init_qp.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/ipoib/extr_ipoib_verbs.c_ipoib_init_qp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ib_qp_attr = type { i32, i64, i32, i32, i64 } @IPOIB_PKEY_ASSIGNED = common local_unnamed_addr global i32 0, align 4 @IB_QPS_INIT = common local_unnamed_addr global i32 0, align 4 @IB_QP_QKEY = common local_unnamed_addr global i32 0, align 4 @IB_QP_PORT = common local_unnamed_addr global i32 0, align 4 @IB_QP_PKEY_INDEX = common local_unnamed_addr global i32 0, align 4 @IB_QP_STATE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"failed to modify QP to init, ret = %d\0A\00", align 1 @IB_QPS_RTR = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"failed to modify QP to RTR, ret = %d\0A\00", align 1 @IB_QPS_RTS = common local_unnamed_addr global i32 0, align 4 @IB_QP_SQ_PSN = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [38 x i8] c"failed to modify QP to RTS, ret = %d\0A\00", align 1 @IB_QPS_RESET = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [36 x i8] c"Failed to modify QP to RESET state\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ipoib_init_qp(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.ib_qp_attr, align 8 %3 = tail call ptr @netdev_priv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 %4 = load i32, ptr @IPOIB_PKEY_ASSIGNED, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %3, i64 12 %6 = tail call i32 @test_bit(i32 noundef %4, ptr noundef nonnull %5) #3 %7 = icmp eq i32 %6, 0 br i1 %7, label %58, label %8 8: ; preds = %1 %9 = load i32, ptr @IB_QPS_INIT, align 4, !tbaa !6 store i32 %9, ptr %2, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %2, i64 24 store i64 0, ptr %10, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %3, i64 4 %12 = getelementptr inbounds i8, ptr %2, i64 16 %13 = load <2 x i32>, ptr %11, align 4, !tbaa !6 store <2 x i32> %13, ptr %12, align 8, !tbaa !6 %14 = load i32, ptr @IB_QP_QKEY, align 4, !tbaa !6 %15 = load i32, ptr @IB_QP_PORT, align 4, !tbaa !6 %16 = or i32 %15, %14 %17 = load i32, ptr @IB_QP_PKEY_INDEX, align 4, !tbaa !6 %18 = or i32 %16, %17 %19 = load i32, ptr @IB_QP_STATE, align 4, !tbaa !6 %20 = or i32 %18, %19 %21 = load i32, ptr %3, align 4, !tbaa !14 %22 = call i32 @ib_modify_qp(i32 noundef %21, ptr noundef nonnull %2, i32 noundef %20) #3 %23 = icmp eq i32 %22, 0 br i1 %23, label %26, label %24 24: ; preds = %8 %25 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %22) #3 br label %49 26: ; preds = %8 %27 = load i32, ptr @IB_QPS_RTR, align 4, !tbaa !6 store i32 %27, ptr %2, align 8, !tbaa !10 %28 = load i32, ptr @IB_QP_PORT, align 4, !tbaa !6 %29 = xor i32 %28, -1 %30 = and i32 %20, %29 %31 = load i32, ptr %3, align 4, !tbaa !14 %32 = call i32 @ib_modify_qp(i32 noundef %31, ptr noundef nonnull %2, i32 noundef %30) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %36, label %34 34: ; preds = %26 %35 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %32) #3 br label %49 36: ; preds = %26 %37 = load i32, ptr @IB_QPS_RTS, align 4, !tbaa !6 store i32 %37, ptr %2, align 8, !tbaa !10 %38 = getelementptr inbounds i8, ptr %2, i64 8 store i64 0, ptr %38, align 8, !tbaa !16 %39 = load i32, ptr @IB_QP_SQ_PSN, align 4, !tbaa !6 %40 = or i32 %39, %30 %41 = load i32, ptr @IB_QP_PKEY_INDEX, align 4, !tbaa !6 %42 = xor i32 %41, -1 %43 = and i32 %40, %42 %44 = load i32, ptr %3, align 4, !tbaa !14 %45 = call i32 @ib_modify_qp(i32 noundef %44, ptr noundef nonnull %2, i32 noundef %43) #3 %46 = icmp eq i32 %45, 0 br i1 %46, label %58, label %47 47: ; preds = %36 %48 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef %45) #3 br label %49 49: ; preds = %47, %34, %24 %50 = phi i32 [ %22, %24 ], [ %32, %34 ], [ %45, %47 ] %51 = load i32, ptr @IB_QPS_RESET, align 4, !tbaa !6 store i32 %51, ptr %2, align 8, !tbaa !10 %52 = load i32, ptr %3, align 4, !tbaa !14 %53 = load i32, ptr @IB_QP_STATE, align 4, !tbaa !6 %54 = call i32 @ib_modify_qp(i32 noundef %52, ptr noundef nonnull %2, i32 noundef %53) #3 %55 = icmp eq i32 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %49 %57 = call i32 (ptr, ptr, ...) @ipoib_warn(ptr noundef nonnull %3, ptr noundef nonnull @.str.3) #3 br label %58 58: ; preds = %49, %56, %36, %1 %59 = phi i32 [ -1, %1 ], [ 0, %36 ], [ %50, %56 ], [ %50, %49 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 ret i32 %59 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #2 declare i32 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ib_modify_qp(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ipoib_warn(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ib_qp_attr", !7, i64 0, !12, i64 8, !7, i64 16, !7, i64 20, !12, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 24} !14 = !{!15, !7, i64 0} !15 = !{!"ipoib_dev_priv", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !16 = !{!11, !12, i64 8}
fastsocket_kernel_drivers_infiniband_ulp_ipoib_extr_ipoib_verbs.c_ipoib_init_qp
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress_finalize.c_timer_callback_2.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress_finalize.c_timer_callback_2.c" target datalayout = "e-m:e-p270:32:32-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.event_and_count = type { i32, i32, i32 } @event_finalize_callback_2 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @timer_callback_2], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @timer_callback_2(i32 %0, i16 signext %1, ptr nocapture noundef %2) #0 { %4 = getelementptr inbounds %struct.event_and_count, ptr %2, i64 0, i32 2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = load i32, ptr @event_finalize_callback_2, align 4, !tbaa !10 %7 = tail call i32 @event_finalize(i32 noundef 0, i32 noundef %5, i32 noundef %6) #2 %8 = getelementptr inbounds %struct.event_and_count, ptr %2, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = load i32, ptr @event_finalize_callback_2, align 4, !tbaa !10 %11 = tail call i32 @event_finalize(i32 noundef 0, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr %2, align 4, !tbaa !12 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4, !tbaa !12 ret void } declare i32 @event_finalize(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"event_and_count", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/libevent/test/extr_regress_finalize.c_timer_callback_2.c' source_filename = "AnghaBench/freebsd/contrib/libevent/test/extr_regress_finalize.c_timer_callback_2.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @event_finalize_callback_2 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @timer_callback_2], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @timer_callback_2(i32 %0, i16 signext %1, ptr nocapture noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %2, i64 8 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = load i32, ptr @event_finalize_callback_2, align 4, !tbaa !11 %7 = tail call i32 @event_finalize(i32 noundef 0, i32 noundef %5, i32 noundef %6) #2 %8 = getelementptr inbounds i8, ptr %2, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = load i32, ptr @event_finalize_callback_2, align 4, !tbaa !11 %11 = tail call i32 @event_finalize(i32 noundef 0, i32 noundef %9, i32 noundef %10) #2 %12 = load i32, ptr %2, align 4, !tbaa !13 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4, !tbaa !13 ret void } declare i32 @event_finalize(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"event_and_count", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4} !13 = !{!7, !8, i64 0}
freebsd_contrib_libevent_test_extr_regress_finalize.c_timer_callback_2
; ModuleID = 'AnghaBench/freebsd/usr.bin/tset/extr_term.c_askuser.c' source_filename = "AnghaBench/freebsd/usr.bin/tset/extr_term.c_askuser.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @askuser.answer = internal global [256 x i8] zeroinitializer, align 16 @stdin = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Terminal type? [%s] \00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Terminal type? \00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @askuser(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @stdin, align 4, !tbaa !5 %3 = tail call i64 @feof(i32 noundef %2) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %1 %6 = load i32, ptr @stdin, align 4, !tbaa !5 %7 = tail call i64 @ferror(i32 noundef %6) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = icmp ne ptr %0, null br label %15 11: ; preds = %5, %1 %12 = load i32, ptr @stderr, align 4, !tbaa !5 %13 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str) #3 %14 = tail call i32 @exit(i32 noundef 1) #4 unreachable 15: ; preds = %9, %36 %16 = load i32, ptr @stderr, align 4, !tbaa !5 br i1 %10, label %17, label %19 17: ; preds = %15 %18 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #3 br label %21 19: ; preds = %15 %20 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef nonnull @.str.2) #3 br label %21 21: ; preds = %19, %17 %22 = load i32, ptr @stderr, align 4, !tbaa !5 %23 = tail call i32 @fflush(i32 noundef %22) #3 %24 = load i32, ptr @stdin, align 4, !tbaa !5 %25 = tail call ptr @fgets(ptr noundef nonnull @askuser.answer, i32 noundef 256, i32 noundef %24) #3 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %21 br i1 %10, label %42, label %28 28: ; preds = %27 %29 = load i32, ptr @stderr, align 4, !tbaa !5 %30 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef nonnull @.str) #3 %31 = tail call i32 @exit(i32 noundef 1) #4 unreachable 32: ; preds = %21 %33 = tail call ptr @strchr(ptr noundef nonnull @askuser.answer, i8 noundef signext 10) #3 %34 = icmp eq ptr %33, null br i1 %34, label %36, label %35 35: ; preds = %32 store i8 0, ptr %33, align 1, !tbaa !9 br label %36 36: ; preds = %35, %32 %37 = load i8, ptr @askuser.answer, align 16, !tbaa !9 %38 = icmp ne i8 %37, 0 %39 = or i1 %10, %38 br i1 %39, label %40, label %15 40: ; preds = %36 %41 = select i1 %38, ptr @askuser.answer, ptr %0 br label %42 42: ; preds = %40, %27 %43 = phi ptr [ %0, %27 ], [ %41, %40 ] ret ptr %43 } declare i64 @feof(i32 noundef) local_unnamed_addr #1 declare i64 @ferror(i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/usr.bin/tset/extr_term.c_askuser.c' source_filename = "AnghaBench/freebsd/usr.bin/tset/extr_term.c_askuser.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @askuser.answer = internal global [256 x i8] zeroinitializer, align 1 @stdin = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Terminal type? [%s] \00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"Terminal type? \00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @askuser(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @stdin, align 4, !tbaa !6 %3 = tail call i64 @feof(i32 noundef %2) #3 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %11 5: ; preds = %1 %6 = load i32, ptr @stdin, align 4, !tbaa !6 %7 = tail call i64 @ferror(i32 noundef %6) #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = icmp ne ptr %0, null br label %15 11: ; preds = %5, %1 %12 = load i32, ptr @stderr, align 4, !tbaa !6 %13 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %12, ptr noundef nonnull @.str) #3 %14 = tail call i32 @exit(i32 noundef 1) #4 unreachable 15: ; preds = %9, %36 %16 = load i32, ptr @stderr, align 4, !tbaa !6 br i1 %10, label %17, label %19 17: ; preds = %15 %18 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #3 br label %21 19: ; preds = %15 %20 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %16, ptr noundef nonnull @.str.2) #3 br label %21 21: ; preds = %19, %17 %22 = load i32, ptr @stderr, align 4, !tbaa !6 %23 = tail call i32 @fflush(i32 noundef %22) #3 %24 = load i32, ptr @stdin, align 4, !tbaa !6 %25 = tail call ptr @fgets(ptr noundef nonnull @askuser.answer, i32 noundef 256, i32 noundef %24) #3 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %32 27: ; preds = %21 br i1 %10, label %42, label %28 28: ; preds = %27 %29 = load i32, ptr @stderr, align 4, !tbaa !6 %30 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %29, ptr noundef nonnull @.str) #3 %31 = tail call i32 @exit(i32 noundef 1) #4 unreachable 32: ; preds = %21 %33 = tail call ptr @strchr(ptr noundef nonnull @askuser.answer, i8 noundef signext 10) #3 %34 = icmp eq ptr %33, null br i1 %34, label %36, label %35 35: ; preds = %32 store i8 0, ptr %33, align 1, !tbaa !10 br label %36 36: ; preds = %35, %32 %37 = load i8, ptr @askuser.answer, align 1, !tbaa !10 %38 = icmp ne i8 %37, 0 %39 = or i1 %10, %38 br i1 %39, label %40, label %15 40: ; preds = %36 %41 = select i1 %38, ptr @askuser.answer, ptr %0 br label %42 42: ; preds = %40, %27 %43 = phi ptr [ %0, %27 ], [ %41, %40 ] ret ptr %43 } declare i64 @feof(i32 noundef) local_unnamed_addr #1 declare i64 @ferror(i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare ptr @fgets(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @strchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0}
freebsd_usr.bin_tset_extr_term.c_askuser
; ModuleID = 'AnghaBench/macvim/src/extr_dosinst.c_change_run_choice.c' source_filename = "AnghaBench/macvim/src/extr_dosinst.c_change_run_choice.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @compat_choices = dso_local local_unnamed_addr global ptr null, align 8 @compat_choice = dso_local local_unnamed_addr global i64 0, align 8 @compat_text = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @change_run_choice], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @change_run_choice(i32 noundef %0) #0 { %2 = load ptr, ptr @compat_choices, align 8, !tbaa !5 %3 = tail call i32 @TABLE_SIZE(ptr noundef %2) #2 %4 = tail call i64 @get_choice(ptr noundef %2, i32 noundef %3) #2 store i64 %4, ptr @compat_choice, align 8, !tbaa !9 %5 = load i32, ptr @compat_text, align 4, !tbaa !11 %6 = load ptr, ptr @compat_choices, align 8, !tbaa !5 %7 = getelementptr inbounds i32, ptr %6, i64 %4 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = tail call i32 @alloc_text(i32 noundef %0, i32 noundef %5, i32 noundef %8) #2 ret void } declare i64 @get_choice(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TABLE_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @alloc_text(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/macvim/src/extr_dosinst.c_change_run_choice.c' source_filename = "AnghaBench/macvim/src/extr_dosinst.c_change_run_choice.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @compat_choices = common local_unnamed_addr global ptr null, align 8 @compat_choice = common local_unnamed_addr global i64 0, align 8 @compat_text = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @change_run_choice], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @change_run_choice(i32 noundef %0) #0 { %2 = load ptr, ptr @compat_choices, align 8, !tbaa !6 %3 = tail call i32 @TABLE_SIZE(ptr noundef %2) #2 %4 = tail call i64 @get_choice(ptr noundef %2, i32 noundef %3) #2 store i64 %4, ptr @compat_choice, align 8, !tbaa !10 %5 = load i32, ptr @compat_text, align 4, !tbaa !12 %6 = load ptr, ptr @compat_choices, align 8, !tbaa !6 %7 = getelementptr inbounds i32, ptr %6, i64 %4 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = tail call i32 @alloc_text(i32 noundef %0, i32 noundef %5, i32 noundef %8) #2 ret void } declare i64 @get_choice(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @TABLE_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @alloc_text(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
macvim_src_extr_dosinst.c_change_run_choice
; ModuleID = 'AnghaBench/systemd/src/test/extr_test-hexdecoct.c_test_hexdump.c' source_filename = "AnghaBench/systemd/src/test/extr_test-hexdecoct.c_test_hexdump.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stdout = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"f\0Aobar\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"xxxxxxxxxxxxxxxxxxxxyz\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_hexdump], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_hexdump() #0 { %1 = alloca [146 x i8], align 16 call void @llvm.lifetime.start.p0(i64 146, ptr nonnull %1) #3 %2 = load i32, ptr @stdout, align 4, !tbaa !5 %3 = tail call i32 @hexdump(i32 noundef %2, ptr noundef null, i32 noundef 0) #3 %4 = load i32, ptr @stdout, align 4, !tbaa !5 %5 = tail call i32 @hexdump(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef 0) #3 %6 = load i32, ptr @stdout, align 4, !tbaa !5 %7 = tail call i32 @hexdump(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef 1) #3 %8 = load i32, ptr @stdout, align 4, !tbaa !5 %9 = tail call i32 @hexdump(i32 noundef %8, ptr noundef nonnull @.str.1, i32 noundef 1) #3 %10 = load i32, ptr @stdout, align 4, !tbaa !5 %11 = tail call i32 @hexdump(i32 noundef %10, ptr noundef nonnull @.str.1, i32 noundef 2) #3 %12 = load i32, ptr @stdout, align 4, !tbaa !5 %13 = tail call i32 @hexdump(i32 noundef %12, ptr noundef nonnull @.str.2, i32 noundef 7) #3 %14 = load i32, ptr @stdout, align 4, !tbaa !5 %15 = tail call i32 @hexdump(i32 noundef %14, ptr noundef nonnull @.str.3, i32 noundef 7) #3 %16 = load i32, ptr @stdout, align 4, !tbaa !5 %17 = tail call i32 @hexdump(i32 noundef %16, ptr noundef nonnull @.str.4, i32 noundef 23) #3 %18 = call i32 @ELEMENTSOF(ptr noundef nonnull %1) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %0, %20 %21 = phi i64 [ %25, %20 ], [ 0, %0 ] %22 = trunc i64 %21 to i8 %23 = shl i8 %22, 1 %24 = getelementptr inbounds [146 x i8], ptr %1, i64 0, i64 %21 store i8 %23, ptr %24, align 1, !tbaa !9 %25 = add nuw nsw i64 %21, 1 %26 = call i32 @ELEMENTSOF(ptr noundef nonnull %1) #3 %27 = zext i32 %26 to i64 %28 = icmp ult i64 %25, %27 br i1 %28, label %20, label %29, !llvm.loop !10 29: ; preds = %20, %0 %30 = load i32, ptr @stdout, align 4, !tbaa !5 %31 = call i32 @hexdump(i32 noundef %30, ptr noundef nonnull %1, i32 noundef 146) #3 call void @llvm.lifetime.end.p0(i64 146, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hexdump(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ELEMENTSOF(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 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/systemd/src/test/extr_test-hexdecoct.c_test_hexdump.c' source_filename = "AnghaBench/systemd/src/test/extr_test-hexdecoct.c_test_hexdump.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stdout = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"x\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"foobar\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"f\0Aobar\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"xxxxxxxxxxxxxxxxxxxxyz\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_hexdump], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_hexdump() #0 { %1 = alloca [146 x i8], align 1 call void @llvm.lifetime.start.p0(i64 146, ptr nonnull %1) #3 %2 = load i32, ptr @stdout, align 4, !tbaa !6 %3 = tail call i32 @hexdump(i32 noundef %2, ptr noundef null, i32 noundef 0) #3 %4 = load i32, ptr @stdout, align 4, !tbaa !6 %5 = tail call i32 @hexdump(i32 noundef %4, ptr noundef nonnull @.str, i32 noundef 0) #3 %6 = load i32, ptr @stdout, align 4, !tbaa !6 %7 = tail call i32 @hexdump(i32 noundef %6, ptr noundef nonnull @.str, i32 noundef 1) #3 %8 = load i32, ptr @stdout, align 4, !tbaa !6 %9 = tail call i32 @hexdump(i32 noundef %8, ptr noundef nonnull @.str.1, i32 noundef 1) #3 %10 = load i32, ptr @stdout, align 4, !tbaa !6 %11 = tail call i32 @hexdump(i32 noundef %10, ptr noundef nonnull @.str.1, i32 noundef 2) #3 %12 = load i32, ptr @stdout, align 4, !tbaa !6 %13 = tail call i32 @hexdump(i32 noundef %12, ptr noundef nonnull @.str.2, i32 noundef 7) #3 %14 = load i32, ptr @stdout, align 4, !tbaa !6 %15 = tail call i32 @hexdump(i32 noundef %14, ptr noundef nonnull @.str.3, i32 noundef 7) #3 %16 = load i32, ptr @stdout, align 4, !tbaa !6 %17 = tail call i32 @hexdump(i32 noundef %16, ptr noundef nonnull @.str.4, i32 noundef 23) #3 %18 = call i32 @ELEMENTSOF(ptr noundef nonnull %1) #3 %19 = icmp eq i32 %18, 0 br i1 %19, label %29, label %20 20: ; preds = %0, %20 %21 = phi i64 [ %25, %20 ], [ 0, %0 ] %22 = trunc i64 %21 to i8 %23 = shl i8 %22, 1 %24 = getelementptr inbounds [146 x i8], ptr %1, i64 0, i64 %21 store i8 %23, ptr %24, align 1, !tbaa !10 %25 = add nuw nsw i64 %21, 1 %26 = call i32 @ELEMENTSOF(ptr noundef nonnull %1) #3 %27 = zext i32 %26 to i64 %28 = icmp ult i64 %25, %27 br i1 %28, label %20, label %29, !llvm.loop !11 29: ; preds = %20, %0 %30 = load i32, ptr @stdout, align 4, !tbaa !6 %31 = call i32 @hexdump(i32 noundef %30, ptr noundef nonnull %1, i32 noundef 146) #3 call void @llvm.lifetime.end.p0(i64 146, ptr nonnull %1) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @hexdump(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ELEMENTSOF(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 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
systemd_src_test_extr_test-hexdecoct.c_test_hexdump
; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_parse_pins.c' source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_parse_pins.c" target datalayout = "e-m:e-p270:32:32-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.gpiobus_ivar = type { i32, ptr } @.str = private unnamed_addr constant [16 x i8] c"empty pin mask\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"cannot allocate device ivars\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @gpiobus_parse_pins], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gpiobus_parse_pins(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @GPIOBUS_IVAR(i32 noundef %1) #2 %5 = and i32 %2, 1 %6 = lshr i32 %2, 1 %7 = and i32 %6, 1 %8 = add nuw nsw i32 %7, %5 %9 = lshr i32 %2, 2 %10 = and i32 %9, 1 %11 = add nuw nsw i32 %10, %8 %12 = lshr i32 %2, 3 %13 = and i32 %12, 1 %14 = add nuw nsw i32 %13, %11 %15 = lshr i32 %2, 4 %16 = and i32 %15, 1 %17 = add nuw nsw i32 %16, %14 %18 = lshr i32 %2, 5 %19 = and i32 %18, 1 %20 = add nuw nsw i32 %19, %17 %21 = lshr i32 %2, 6 %22 = and i32 %21, 1 %23 = add nuw nsw i32 %22, %20 %24 = lshr i32 %2, 7 %25 = and i32 %24, 1 %26 = add nuw nsw i32 %25, %23 %27 = lshr i32 %2, 8 %28 = and i32 %27, 1 %29 = add nuw nsw i32 %28, %26 %30 = lshr i32 %2, 9 %31 = and i32 %30, 1 %32 = add nuw nsw i32 %31, %29 %33 = lshr i32 %2, 10 %34 = and i32 %33, 1 %35 = add nuw nsw i32 %34, %32 %36 = lshr i32 %2, 11 %37 = and i32 %36, 1 %38 = add nuw nsw i32 %37, %35 %39 = lshr i32 %2, 12 %40 = and i32 %39, 1 %41 = add nuw nsw i32 %40, %38 %42 = lshr i32 %2, 13 %43 = and i32 %42, 1 %44 = add nuw nsw i32 %43, %41 %45 = lshr i32 %2, 14 %46 = and i32 %45, 1 %47 = add nuw nsw i32 %46, %44 %48 = lshr i32 %2, 15 %49 = and i32 %48, 1 %50 = add nuw nsw i32 %49, %47 %51 = lshr i32 %2, 16 %52 = and i32 %51, 1 %53 = add nuw nsw i32 %52, %50 %54 = lshr i32 %2, 17 %55 = and i32 %54, 1 %56 = add nuw nsw i32 %55, %53 %57 = lshr i32 %2, 18 %58 = and i32 %57, 1 %59 = add nuw nsw i32 %58, %56 %60 = lshr i32 %2, 19 %61 = and i32 %60, 1 %62 = add nuw nsw i32 %61, %59 %63 = lshr i32 %2, 20 %64 = and i32 %63, 1 %65 = add nuw nsw i32 %64, %62 %66 = lshr i32 %2, 21 %67 = and i32 %66, 1 %68 = add nuw nsw i32 %67, %65 %69 = lshr i32 %2, 22 %70 = and i32 %69, 1 %71 = add nuw nsw i32 %70, %68 %72 = lshr i32 %2, 23 %73 = and i32 %72, 1 %74 = add nuw nsw i32 %73, %71 %75 = lshr i32 %2, 24 %76 = and i32 %75, 1 %77 = add nuw nsw i32 %76, %74 %78 = lshr i32 %2, 25 %79 = and i32 %78, 1 %80 = add nuw nsw i32 %79, %77 %81 = lshr i32 %2, 26 %82 = and i32 %81, 1 %83 = add nuw nsw i32 %82, %80 %84 = lshr i32 %2, 27 %85 = and i32 %84, 1 %86 = add nuw nsw i32 %85, %83 %87 = lshr i32 %2, 28 %88 = and i32 %87, 1 %89 = add nuw nsw i32 %88, %86 %90 = lshr i32 %2, 29 %91 = and i32 %90, 1 %92 = add nuw nsw i32 %91, %89 %93 = lshr i32 %2, 30 %94 = and i32 %93, 1 %95 = add nuw nsw i32 %94, %92 %96 = lshr i32 %2, 31 %97 = add nuw nsw i32 %96, %95 %98 = icmp eq i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %3 %100 = tail call i32 @device_printf(i32 noundef %1, ptr noundef nonnull @.str) #2 %101 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %142 102: ; preds = %3 store i32 %97, ptr %4, align 8, !tbaa !9 %103 = tail call i64 @gpiobus_alloc_ivars(ptr noundef nonnull %4) #2 %104 = icmp eq i64 %103, 0 br i1 %104, label %105, label %107 105: ; preds = %102 %106 = getelementptr inbounds %struct.gpiobus_ivar, ptr %4, i64 0, i32 1 br label %110 107: ; preds = %102 %108 = tail call i32 @device_printf(i32 noundef %1, ptr noundef nonnull @.str.1) #2 %109 = load i32, ptr @EINVAL, align 4, !tbaa !5 br label %142 110: ; preds = %132, %105 %111 = phi i32 [ 0, %105 ], [ %133, %132 ] %112 = phi i32 [ 0, %105 ], [ %134, %132 ] %113 = shl nuw i32 1, %112 %114 = and i32 %113, %2 %115 = icmp eq i32 %114, 0 br i1 %115, label %121, label %116 116: ; preds = %110 %117 = load ptr, ptr %106, align 8, !tbaa !12 %118 = add nsw i32 %111, 1 %119 = sext i32 %111 to i64 %120 = getelementptr inbounds i32, ptr %117, i64 %119 store i32 %112, ptr %120, align 4, !tbaa !5 br label %121 121: ; preds = %110, %116 %122 = phi i32 [ %111, %110 ], [ %118, %116 ] %123 = or disjoint i32 %112, 1 %124 = shl nuw i32 1, %123 %125 = and i32 %124, %2 %126 = icmp eq i32 %125, 0 br i1 %126, label %132, label %127 127: ; preds = %121 %128 = load ptr, ptr %106, align 8, !tbaa !12 %129 = add nsw i32 %122, 1 %130 = sext i32 %122 to i64 %131 = getelementptr inbounds i32, ptr %128, i64 %130 store i32 %123, ptr %131, align 4, !tbaa !5 br label %132 132: ; preds = %127, %121 %133 = phi i32 [ %122, %121 ], [ %129, %127 ] %134 = add nuw nsw i32 %112, 2 %135 = icmp eq i32 %134, 32 br i1 %135, label %136, label %110, !llvm.loop !13 136: ; preds = %132 %137 = load i32, ptr %0, align 4, !tbaa !15 %138 = tail call i64 @gpiobus_acquire_child_pins(i32 noundef %137, i32 noundef %1) #2 %139 = icmp eq i64 %138, 0 %140 = load i32, ptr @EINVAL, align 4 %141 = select i1 %139, i32 0, i32 %140 br label %142 142: ; preds = %136, %107, %99 %143 = phi i32 [ %101, %99 ], [ %109, %107 ], [ %141, %136 ] ret i32 %143 } declare ptr @GPIOBUS_IVAR(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @gpiobus_alloc_ivars(ptr noundef) local_unnamed_addr #1 declare i64 @gpiobus_acquire_child_pins(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 = !{!"gpiobus_ivar", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = !{!16, !6, i64 0} !16 = !{!"gpiobus_softc", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_parse_pins.c' source_filename = "AnghaBench/freebsd/sys/dev/gpio/extr_gpiobus.c_gpiobus_parse_pins.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 [16 x i8] c"empty pin mask\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"cannot allocate device ivars\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @gpiobus_parse_pins], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gpiobus_parse_pins(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call ptr @GPIOBUS_IVAR(i32 noundef %1) #3 %5 = and i32 %2, 1 %6 = lshr i32 %2, 1 %7 = and i32 %6, 1 %8 = insertelement <16 x i32> poison, i32 %2, i64 0 %9 = shufflevector <16 x i32> %8, <16 x i32> poison, <16 x i32> zeroinitializer %10 = lshr <16 x i32> %9, <i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15, i32 16, i32 17> %11 = and <16 x i32> %10, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1> %12 = insertelement <8 x i32> poison, i32 %2, i64 0 %13 = shufflevector <8 x i32> %12, <8 x i32> poison, <8 x i32> zeroinitializer %14 = lshr <8 x i32> %13, <i32 18, i32 19, i32 20, i32 21, i32 22, i32 23, i32 24, i32 25> %15 = and <8 x i32> %14, <i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1, i32 1> %16 = insertelement <4 x i32> poison, i32 %2, i64 0 %17 = shufflevector <4 x i32> %16, <4 x i32> poison, <4 x i32> zeroinitializer %18 = lshr <4 x i32> %17, <i32 26, i32 27, i32 28, i32 29> %19 = and <4 x i32> %18, <i32 1, i32 1, i32 1, i32 1> %20 = lshr i32 %2, 30 %21 = and i32 %20, 1 %22 = lshr i32 %2, 31 %23 = tail call i32 @llvm.vector.reduce.add.v16i32(<16 x i32> %11) %24 = tail call i32 @llvm.vector.reduce.add.v8i32(<8 x i32> %15) %25 = add i32 %23, %24 %26 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %19) %27 = add i32 %25, %26 %28 = add i32 %27, %7 %29 = add nuw nsw i32 %5, %21 %30 = add i32 %28, %29 %31 = add i32 %30, %22 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %36 33: ; preds = %3 %34 = tail call i32 @device_printf(i32 noundef %1, ptr noundef nonnull @.str) #3 %35 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %65 36: ; preds = %3 store i32 %31, ptr %4, align 8, !tbaa !10 %37 = tail call i64 @gpiobus_alloc_ivars(ptr noundef nonnull %4) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %39, label %41 39: ; preds = %36 %40 = getelementptr inbounds i8, ptr %4, i64 8 br label %44 41: ; preds = %36 %42 = tail call i32 @device_printf(i32 noundef %1, ptr noundef nonnull @.str.1) #3 %43 = load i32, ptr @EINVAL, align 4, !tbaa !6 br label %65 44: ; preds = %39, %55 %45 = phi i32 [ 0, %39 ], [ %56, %55 ] %46 = phi i32 [ 0, %39 ], [ %57, %55 ] %47 = shl nuw i32 1, %46 %48 = and i32 %47, %2 %49 = icmp eq i32 %48, 0 br i1 %49, label %55, label %50 50: ; preds = %44 %51 = load ptr, ptr %40, align 8, !tbaa !13 %52 = add nsw i32 %45, 1 %53 = sext i32 %45 to i64 %54 = getelementptr inbounds i32, ptr %51, i64 %53 store i32 %46, ptr %54, align 4, !tbaa !6 br label %55 55: ; preds = %44, %50 %56 = phi i32 [ %45, %44 ], [ %52, %50 ] %57 = add nuw nsw i32 %46, 1 %58 = icmp eq i32 %57, 32 br i1 %58, label %59, label %44, !llvm.loop !14 59: ; preds = %55 %60 = load i32, ptr %0, align 4, !tbaa !16 %61 = tail call i64 @gpiobus_acquire_child_pins(i32 noundef %60, i32 noundef %1) #3 %62 = icmp eq i64 %61, 0 %63 = load i32, ptr @EINVAL, align 4 %64 = select i1 %62, i32 0, i32 %63 br label %65 65: ; preds = %59, %41, %33 %66 = phi i32 [ %35, %33 ], [ %43, %41 ], [ %64, %59 ] ret i32 %66 } declare ptr @GPIOBUS_IVAR(i32 noundef) local_unnamed_addr #1 declare i32 @device_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @gpiobus_alloc_ivars(ptr noundef) local_unnamed_addr #1 declare i64 @gpiobus_acquire_child_pins(i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v16i32(<16 x i32>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v8i32(<8 x i32>) #2 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"gpiobus_ivar", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!17, !7, i64 0} !17 = !{!"gpiobus_softc", !7, i64 0}
freebsd_sys_dev_gpio_extr_gpiobus.c_gpiobus_parse_pins
; ModuleID = 'AnghaBench/freebsd/sys/cddl/boot/zfs/extr_sha256.c_SHA512.c' source_filename = "AnghaBench/freebsd/sys/cddl/boot/zfs/extr_sha256.c_SHA512.c" target datalayout = "e-m:e-p270:32:32-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 @SHA512], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SHA512(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca [2 x i32], align 4 %6 = alloca [256 x i32], align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #4 %7 = and i32 %2, 127 %8 = and i32 %2, -128 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %4 %11 = zext i32 %8 to i64 br label %37 12: ; preds = %37 %13 = and i64 %41, 4294967168 br label %14 14: ; preds = %12, %4 %15 = phi i64 [ 0, %4 ], [ %13, %12 ] %16 = icmp eq i32 %7, 0 %17 = zext nneg i32 %7 to i64 br i1 %16, label %35, label %18 18: ; preds = %14 %19 = icmp ult i32 %7, 4 br i1 %19, label %33, label %20 20: ; preds = %18 %21 = and i64 %17, 124 br label %22 22: ; preds = %22, %20 %23 = phi i64 [ 0, %20 ], [ %29, %22 ] %24 = add nuw i64 %23, %15 %25 = and i64 %24, 4294967292 %26 = getelementptr inbounds i32, ptr %1, i64 %25 %27 = load <4 x i32>, ptr %26, align 4, !tbaa !5 %28 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %23 store <4 x i32> %27, ptr %28, align 16, !tbaa !5 %29 = add nuw i64 %23, 4 %30 = icmp eq i64 %29, %21 br i1 %30, label %31, label %22, !llvm.loop !9 31: ; preds = %22 %32 = icmp eq i64 %21, %17 br i1 %32, label %52, label %33 33: ; preds = %18, %31 %34 = phi i64 [ 0, %18 ], [ %21, %31 ] br label %43 35: ; preds = %14 %36 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %17 store i32 128, ptr %36, align 4, !tbaa !5 br label %58 37: ; preds = %10, %37 %38 = phi i64 [ 0, %10 ], [ %41, %37 ] %39 = getelementptr inbounds i32, ptr %1, i64 %38 %40 = tail call i32 @SHA512Transform(ptr noundef %0, ptr noundef %39) #4 %41 = add nuw nsw i64 %38, 128 %42 = icmp ult i64 %41, %11 br i1 %42, label %37, label %12, !llvm.loop !13 43: ; preds = %33, %43 %44 = phi i64 [ %50, %43 ], [ %34, %33 ] %45 = add nuw i64 %44, %15 %46 = and i64 %45, 4294967295 %47 = getelementptr inbounds i32, ptr %1, i64 %46 %48 = load i32, ptr %47, align 4, !tbaa !5 %49 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %44 store i32 %48, ptr %49, align 4, !tbaa !5 %50 = add nuw nsw i64 %44, 1 %51 = icmp eq i64 %50, %17 br i1 %51, label %52, label %43, !llvm.loop !14 52: ; preds = %43, %31 %53 = icmp ult i32 %7, 112 %54 = zext nneg i32 %7 to i64 %55 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %54 store i32 128, ptr %55, align 4, !tbaa !5 br i1 %53, label %56, label %70 56: ; preds = %52 %57 = icmp eq i32 %7, 111 br i1 %57, label %81, label %58 58: ; preds = %35, %56 %59 = and i32 %2, 127 %60 = shl nuw nsw i32 %59, 2 %61 = zext nneg i32 %60 to i64 %62 = getelementptr i8, ptr %6, i64 %61 %63 = getelementptr i8, ptr %62, i64 4 %64 = sub nuw nsw i32 110, %7 %65 = zext nneg i32 %64 to i64 %66 = shl nuw nsw i64 %65, 2 %67 = add nuw nsw i64 %66, 4 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %63, i8 0, i64 %67, i1 false), !tbaa !5 %68 = add nuw nsw i32 %64, %59 %69 = add nuw nsw i32 %68, 2 br label %81 70: ; preds = %52 %71 = and i32 %2, 127 %72 = shl nuw nsw i32 %71, 2 %73 = zext nneg i32 %72 to i64 %74 = getelementptr i8, ptr %6, i64 %73 %75 = getelementptr i8, ptr %74, i64 4 %76 = shl nuw nsw i32 %7, 2 %77 = sub nuw nsw i32 956, %76 %78 = zext nneg i32 %77 to i64 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %75, i8 0, i64 %78, i1 false), !tbaa !5 %79 = sub nsw i32 %71, %7 %80 = add nsw i32 %79, 240 br label %81 81: ; preds = %70, %58, %56 %82 = phi i32 [ 112, %56 ], [ %69, %58 ], [ %80, %70 ] store i32 0, ptr %5, align 4, !tbaa !5 %83 = shl i32 %2, 3 %84 = getelementptr inbounds [2 x i32], ptr %5, i64 0, i64 1 store i32 %83, ptr %84, align 4, !tbaa !5 %85 = zext i32 %82 to i64 %86 = getelementptr inbounds i32, ptr %6, i64 %85 %87 = call i32 @Encode64(ptr noundef nonnull %86, ptr noundef nonnull %5, i32 noundef 8) #4 %88 = add nsw i32 %82, 8 %89 = icmp eq i32 %88, 0 br i1 %89, label %98, label %90 90: ; preds = %81 %91 = zext i32 %88 to i64 br label %92 92: ; preds = %90, %92 %93 = phi i64 [ 0, %90 ], [ %96, %92 ] %94 = getelementptr inbounds i32, ptr %6, i64 %93 %95 = call i32 @SHA512Transform(ptr noundef %0, ptr noundef nonnull %94) #4 %96 = add nuw nsw i64 %93, 128 %97 = icmp ult i64 %96, %91 br i1 %97, label %92, label %98, !llvm.loop !15 98: ; preds = %92, %81 %99 = call i32 @Encode64(ptr noundef %3, ptr noundef %0, i32 noundef 16) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 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 @SHA512Transform(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Encode64(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10} !14 = distinct !{!14, !10, !12, !11} !15 = distinct !{!15, !10}
; ModuleID = 'AnghaBench/freebsd/sys/cddl/boot/zfs/extr_sha256.c_SHA512.c' source_filename = "AnghaBench/freebsd/sys/cddl/boot/zfs/extr_sha256.c_SHA512.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 @SHA512], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SHA512(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca [2 x i32], align 4 %6 = alloca [256 x i32], align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #4 %7 = and i32 %2, 127 %8 = and i32 %2, -128 %9 = icmp eq i32 %8, 0 br i1 %9, label %14, label %10 10: ; preds = %4 %11 = zext i32 %8 to i64 br label %129 12: ; preds = %129 %13 = and i64 %133, 4294967168 br label %14 14: ; preds = %12, %4 %15 = phi i64 [ 0, %4 ], [ %13, %12 ] %16 = icmp eq i32 %7, 0 %17 = zext nneg i32 %7 to i64 br i1 %16, label %127, label %18 18: ; preds = %14 %19 = icmp ult i32 %7, 16 br i1 %19, label %20, label %22 20: ; preds = %125, %18 %21 = phi i64 [ 0, %18 ], [ %23, %125 ] br label %135 22: ; preds = %18 %23 = and i64 %17, 112 %24 = getelementptr inbounds i32, ptr %1, i64 %15 %25 = getelementptr inbounds i8, ptr %24, i64 16 %26 = getelementptr inbounds i8, ptr %24, i64 32 %27 = getelementptr inbounds i8, ptr %24, i64 48 %28 = load <4 x i32>, ptr %24, align 4, !tbaa !6 %29 = load <4 x i32>, ptr %25, align 4, !tbaa !6 %30 = load <4 x i32>, ptr %26, align 4, !tbaa !6 %31 = load <4 x i32>, ptr %27, align 4, !tbaa !6 %32 = getelementptr inbounds i8, ptr %6, i64 16 %33 = getelementptr inbounds i8, ptr %6, i64 32 %34 = getelementptr inbounds i8, ptr %6, i64 48 store <4 x i32> %28, ptr %6, align 16, !tbaa !6 store <4 x i32> %29, ptr %32, align 16, !tbaa !6 store <4 x i32> %30, ptr %33, align 16, !tbaa !6 store <4 x i32> %31, ptr %34, align 16, !tbaa !6 %35 = icmp eq i64 %23, 16 br i1 %35, label %125, label %36, !llvm.loop !10 36: ; preds = %22 %37 = or disjoint i64 %15, 16 %38 = getelementptr inbounds i32, ptr %1, i64 %37 %39 = getelementptr inbounds i8, ptr %38, i64 16 %40 = getelementptr inbounds i8, ptr %38, i64 32 %41 = getelementptr inbounds i8, ptr %38, i64 48 %42 = load <4 x i32>, ptr %38, align 4, !tbaa !6 %43 = load <4 x i32>, ptr %39, align 4, !tbaa !6 %44 = load <4 x i32>, ptr %40, align 4, !tbaa !6 %45 = load <4 x i32>, ptr %41, align 4, !tbaa !6 %46 = getelementptr inbounds i8, ptr %6, i64 64 %47 = getelementptr inbounds i8, ptr %6, i64 80 %48 = getelementptr inbounds i8, ptr %6, i64 96 %49 = getelementptr inbounds i8, ptr %6, i64 112 store <4 x i32> %42, ptr %46, align 16, !tbaa !6 store <4 x i32> %43, ptr %47, align 16, !tbaa !6 store <4 x i32> %44, ptr %48, align 16, !tbaa !6 store <4 x i32> %45, ptr %49, align 16, !tbaa !6 %50 = icmp eq i64 %23, 32 br i1 %50, label %125, label %51, !llvm.loop !10 51: ; preds = %36 %52 = or disjoint i64 %15, 32 %53 = getelementptr inbounds i32, ptr %1, i64 %52 %54 = getelementptr inbounds i8, ptr %53, i64 16 %55 = getelementptr inbounds i8, ptr %53, i64 32 %56 = getelementptr inbounds i8, ptr %53, i64 48 %57 = load <4 x i32>, ptr %53, align 4, !tbaa !6 %58 = load <4 x i32>, ptr %54, align 4, !tbaa !6 %59 = load <4 x i32>, ptr %55, align 4, !tbaa !6 %60 = load <4 x i32>, ptr %56, align 4, !tbaa !6 %61 = getelementptr inbounds i8, ptr %6, i64 128 %62 = getelementptr inbounds i8, ptr %6, i64 144 %63 = getelementptr inbounds i8, ptr %6, i64 160 %64 = getelementptr inbounds i8, ptr %6, i64 176 store <4 x i32> %57, ptr %61, align 16, !tbaa !6 store <4 x i32> %58, ptr %62, align 16, !tbaa !6 store <4 x i32> %59, ptr %63, align 16, !tbaa !6 store <4 x i32> %60, ptr %64, align 16, !tbaa !6 %65 = icmp eq i64 %23, 48 br i1 %65, label %125, label %66, !llvm.loop !10 66: ; preds = %51 %67 = or disjoint i64 %15, 48 %68 = getelementptr inbounds i32, ptr %1, i64 %67 %69 = getelementptr inbounds i8, ptr %68, i64 16 %70 = getelementptr inbounds i8, ptr %68, i64 32 %71 = getelementptr inbounds i8, ptr %68, i64 48 %72 = load <4 x i32>, ptr %68, align 4, !tbaa !6 %73 = load <4 x i32>, ptr %69, align 4, !tbaa !6 %74 = load <4 x i32>, ptr %70, align 4, !tbaa !6 %75 = load <4 x i32>, ptr %71, align 4, !tbaa !6 %76 = getelementptr inbounds i8, ptr %6, i64 192 %77 = getelementptr inbounds i8, ptr %6, i64 208 %78 = getelementptr inbounds i8, ptr %6, i64 224 %79 = getelementptr inbounds i8, ptr %6, i64 240 store <4 x i32> %72, ptr %76, align 16, !tbaa !6 store <4 x i32> %73, ptr %77, align 16, !tbaa !6 store <4 x i32> %74, ptr %78, align 16, !tbaa !6 store <4 x i32> %75, ptr %79, align 16, !tbaa !6 %80 = icmp eq i64 %23, 64 br i1 %80, label %125, label %81, !llvm.loop !10 81: ; preds = %66 %82 = or disjoint i64 %15, 64 %83 = getelementptr inbounds i32, ptr %1, i64 %82 %84 = getelementptr inbounds i8, ptr %83, i64 16 %85 = getelementptr inbounds i8, ptr %83, i64 32 %86 = getelementptr inbounds i8, ptr %83, i64 48 %87 = load <4 x i32>, ptr %83, align 4, !tbaa !6 %88 = load <4 x i32>, ptr %84, align 4, !tbaa !6 %89 = load <4 x i32>, ptr %85, align 4, !tbaa !6 %90 = load <4 x i32>, ptr %86, align 4, !tbaa !6 %91 = getelementptr inbounds i8, ptr %6, i64 256 %92 = getelementptr inbounds i8, ptr %6, i64 272 %93 = getelementptr inbounds i8, ptr %6, i64 288 %94 = getelementptr inbounds i8, ptr %6, i64 304 store <4 x i32> %87, ptr %91, align 16, !tbaa !6 store <4 x i32> %88, ptr %92, align 16, !tbaa !6 store <4 x i32> %89, ptr %93, align 16, !tbaa !6 store <4 x i32> %90, ptr %94, align 16, !tbaa !6 %95 = icmp eq i64 %23, 80 br i1 %95, label %125, label %96, !llvm.loop !10 96: ; preds = %81 %97 = or disjoint i64 %15, 80 %98 = getelementptr inbounds i32, ptr %1, i64 %97 %99 = getelementptr inbounds i8, ptr %98, i64 16 %100 = getelementptr inbounds i8, ptr %98, i64 32 %101 = getelementptr inbounds i8, ptr %98, i64 48 %102 = load <4 x i32>, ptr %98, align 4, !tbaa !6 %103 = load <4 x i32>, ptr %99, align 4, !tbaa !6 %104 = load <4 x i32>, ptr %100, align 4, !tbaa !6 %105 = load <4 x i32>, ptr %101, align 4, !tbaa !6 %106 = getelementptr inbounds i8, ptr %6, i64 320 %107 = getelementptr inbounds i8, ptr %6, i64 336 %108 = getelementptr inbounds i8, ptr %6, i64 352 %109 = getelementptr inbounds i8, ptr %6, i64 368 store <4 x i32> %102, ptr %106, align 16, !tbaa !6 store <4 x i32> %103, ptr %107, align 16, !tbaa !6 store <4 x i32> %104, ptr %108, align 16, !tbaa !6 store <4 x i32> %105, ptr %109, align 16, !tbaa !6 %110 = icmp eq i64 %23, 96 br i1 %110, label %125, label %111, !llvm.loop !10 111: ; preds = %96 %112 = or disjoint i64 %15, 96 %113 = getelementptr inbounds i32, ptr %1, i64 %112 %114 = getelementptr inbounds i8, ptr %113, i64 16 %115 = getelementptr inbounds i8, ptr %113, i64 32 %116 = getelementptr inbounds i8, ptr %113, i64 48 %117 = load <4 x i32>, ptr %113, align 4, !tbaa !6 %118 = load <4 x i32>, ptr %114, align 4, !tbaa !6 %119 = load <4 x i32>, ptr %115, align 4, !tbaa !6 %120 = load <4 x i32>, ptr %116, align 4, !tbaa !6 %121 = getelementptr inbounds i8, ptr %6, i64 384 %122 = getelementptr inbounds i8, ptr %6, i64 400 %123 = getelementptr inbounds i8, ptr %6, i64 416 %124 = getelementptr inbounds i8, ptr %6, i64 432 store <4 x i32> %117, ptr %121, align 16, !tbaa !6 store <4 x i32> %118, ptr %122, align 16, !tbaa !6 store <4 x i32> %119, ptr %123, align 16, !tbaa !6 store <4 x i32> %120, ptr %124, align 16, !tbaa !6 br label %125 125: ; preds = %111, %96, %81, %66, %51, %36, %22 %126 = icmp eq i64 %23, %17 br i1 %126, label %144, label %20 127: ; preds = %14 %128 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %17 store i32 128, ptr %128, align 4, !tbaa !6 br label %149 129: ; preds = %10, %129 %130 = phi i64 [ 0, %10 ], [ %133, %129 ] %131 = getelementptr inbounds i32, ptr %1, i64 %130 %132 = tail call i32 @SHA512Transform(ptr noundef %0, ptr noundef %131) #4 %133 = add nuw nsw i64 %130, 128 %134 = icmp ult i64 %133, %11 br i1 %134, label %129, label %12, !llvm.loop !14 135: ; preds = %20, %135 %136 = phi i64 [ %142, %135 ], [ %21, %20 ] %137 = add nuw i64 %136, %15 %138 = and i64 %137, 4294967295 %139 = getelementptr inbounds i32, ptr %1, i64 %138 %140 = load i32, ptr %139, align 4, !tbaa !6 %141 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %136 store i32 %140, ptr %141, align 4, !tbaa !6 %142 = add nuw nsw i64 %136, 1 %143 = icmp eq i64 %142, %17 br i1 %143, label %144, label %135, !llvm.loop !15 144: ; preds = %135, %125 %145 = icmp ult i32 %7, 112 %146 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %17 store i32 128, ptr %146, align 4, !tbaa !6 br i1 %145, label %147, label %153 147: ; preds = %144 %148 = icmp eq i32 %7, 111 br i1 %148, label %164, label %149 149: ; preds = %127, %147 %150 = shl nuw nsw i32 %7, 2 %151 = shl nuw nsw i32 %7, 2 %152 = sub nsw i32 444, %151 br label %156 153: ; preds = %144 %154 = shl nuw nsw i32 %7, 2 %155 = sub nuw nsw i32 956, %154 br label %156 156: ; preds = %149, %153 %157 = phi i32 [ %155, %153 ], [ %152, %149 ] %158 = phi i32 [ %154, %153 ], [ %150, %149 ] %159 = phi i32 [ 240, %153 ], [ 112, %149 ] %160 = zext nneg i32 %158 to i64 %161 = getelementptr i8, ptr %6, i64 %160 %162 = getelementptr i8, ptr %161, i64 4 %163 = zext nneg i32 %157 to i64 call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %162, i8 0, i64 %163, i1 false), !tbaa !6 br label %164 164: ; preds = %156, %147 %165 = phi i32 [ 112, %147 ], [ %159, %156 ] store i32 0, ptr %5, align 4, !tbaa !6 %166 = shl i32 %2, 3 %167 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %166, ptr %167, align 4, !tbaa !6 %168 = zext nneg i32 %165 to i64 %169 = getelementptr inbounds i32, ptr %6, i64 %168 %170 = call i32 @Encode64(ptr noundef nonnull %169, ptr noundef nonnull %5, i32 noundef 8) #4 %171 = or disjoint i32 %165, 8 %172 = call i32 @SHA512Transform(ptr noundef %0, ptr noundef nonnull %6) #4 %173 = icmp ugt i32 %171, 128 br i1 %173, label %174, label %177, !llvm.loop !16 174: ; preds = %164 %175 = getelementptr inbounds i8, ptr %6, i64 512 %176 = call i32 @SHA512Transform(ptr noundef %0, ptr noundef nonnull %175) #4 br label %177 177: ; preds = %174, %164 %178 = call i32 @Encode64(ptr noundef %3, ptr noundef %0, i32 noundef 16) #4 call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 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 @SHA512Transform(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Encode64(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11, !12, !13} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!"llvm.loop.isvectorized", i32 1} !13 = !{!"llvm.loop.unroll.runtime.disable"} !14 = distinct !{!14, !11} !15 = distinct !{!15, !11, !13, !12} !16 = distinct !{!16, !11}
freebsd_sys_cddl_boot_zfs_extr_sha256.c_SHA512
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_set_queue_tx_itr.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_set_queue_tx_itr.c" target datalayout = "e-m:e-p270:32:32-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.ixl_tx_queue = type { %struct.tx_ring, ptr } %struct.tx_ring = type { i32, i32, i32, i64, i32 } %struct.ixl_vsi = type { i32, ptr, i64 } %struct.ixl_pf = type { i32, i64 } @IXL_ITR_20K = dso_local local_unnamed_addr global i32 0, align 4 @IXL_ITR_8K = dso_local local_unnamed_addr global i32 0, align 4 @IXL_ITR_100K = dso_local local_unnamed_addr global i32 0, align 4 @IXL_MAX_ITR = dso_local local_unnamed_addr global i32 0, align 4 @IXL_TX_ITR = dso_local local_unnamed_addr global i32 0, align 4 @IXL_ITR_DYNAMIC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ixl_set_queue_tx_itr(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.ixl_tx_queue, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.ixl_vsi, ptr %3, i64 0, i32 2 %5 = load i64, ptr %4, align 8, !tbaa !13 %6 = inttoptr i64 %5 to ptr %7 = getelementptr inbounds %struct.ixl_vsi, ptr %3, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !15 %9 = load i32, ptr %0, align 8, !tbaa !16 %10 = icmp eq i32 %9, 0 br i1 %10, label %80, label %11 11: ; preds = %1 %12 = getelementptr inbounds %struct.ixl_pf, ptr %6, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !17 %14 = icmp eq i64 %13, 0 br i1 %14, label %59, label %15 15: ; preds = %11 %16 = getelementptr inbounds %struct.tx_ring, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !19 %18 = sdiv i32 %9, %17 %19 = getelementptr inbounds %struct.tx_ring, ptr %0, i64 0, i32 2 %20 = load i32, ptr %19, align 8, !tbaa !20 switch i32 %20, label %21 [ i32 128, label %22 i32 130, label %27 i32 129, label %36 ] 21: ; preds = %15 store i32 0, ptr %19, align 8, !tbaa !20 br label %78 22: ; preds = %15 %23 = icmp sgt i32 %18, 10 %24 = load i32, ptr @IXL_ITR_20K, align 4 %25 = select i1 %23, i32 130, i32 0 %26 = select i1 %23, i32 %24, i32 %17 br label %41 27: ; preds = %15 %28 = icmp sgt i32 %18, 20 br i1 %28, label %29, label %31 29: ; preds = %27 %30 = load i32, ptr @IXL_ITR_8K, align 4, !tbaa !21 br label %41 31: ; preds = %27 %32 = icmp slt i32 %18, 11 %33 = load i32, ptr @IXL_ITR_100K, align 4 %34 = select i1 %32, i32 128, i32 0 %35 = select i1 %32, i32 %33, i32 %17 br label %41 36: ; preds = %15 %37 = icmp slt i32 %18, 21 %38 = load i32, ptr @IXL_ITR_20K, align 4 %39 = select i1 %37, i32 130, i32 0 %40 = select i1 %37, i32 %38, i32 %17 br label %41 41: ; preds = %36, %31, %22, %29 %42 = phi i32 [ 129, %29 ], [ %25, %22 ], [ %34, %31 ], [ %39, %36 ] %43 = phi i32 [ %30, %29 ], [ %26, %22 ], [ %35, %31 ], [ %40, %36 ] store i32 %42, ptr %19, align 8, !tbaa !20 %44 = icmp eq i32 %43, %17 br i1 %44, label %78, label %45 45: ; preds = %41 %46 = mul i32 %17, 10 %47 = mul i32 %46, %43 %48 = mul nsw i32 %43, 9 %49 = add nsw i32 %48, %17 %50 = sdiv i32 %47, %49 %51 = load i32, ptr @IXL_MAX_ITR, align 4, !tbaa !21 %52 = tail call i32 @min(i32 noundef %50, i32 noundef %51) #2 store i32 %52, ptr %16, align 4, !tbaa !19 %53 = load i32, ptr @IXL_TX_ITR, align 4, !tbaa !21 %54 = getelementptr inbounds %struct.tx_ring, ptr %0, i64 0, i32 4 %55 = load i32, ptr %54, align 8, !tbaa !22 %56 = tail call i32 @I40E_PFINT_ITRN(i32 noundef %53, i32 noundef %55) #2 %57 = load i32, ptr %16, align 4, !tbaa !19 %58 = tail call i32 @wr32(ptr noundef %8, i32 noundef %56, i32 noundef %57) #2 br label %78 59: ; preds = %11 %60 = load i32, ptr %3, align 8, !tbaa !23 %61 = load i32, ptr @IXL_ITR_DYNAMIC, align 4, !tbaa !21 %62 = and i32 %61, %60 %63 = icmp eq i32 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %59 %65 = load i32, ptr %6, align 8, !tbaa !24 store i32 %65, ptr %3, align 8, !tbaa !23 br label %66 66: ; preds = %64, %59 %67 = phi i32 [ %65, %64 ], [ %60, %59 ] %68 = getelementptr inbounds %struct.tx_ring, ptr %0, i64 0, i32 1 %69 = load i32, ptr %68, align 4, !tbaa !19 %70 = icmp eq i32 %69, %67 br i1 %70, label %78, label %71 71: ; preds = %66 store i32 %67, ptr %68, align 4, !tbaa !19 %72 = load i32, ptr @IXL_TX_ITR, align 4, !tbaa !21 %73 = getelementptr inbounds %struct.tx_ring, ptr %0, i64 0, i32 4 %74 = load i32, ptr %73, align 8, !tbaa !22 %75 = tail call i32 @I40E_PFINT_ITRN(i32 noundef %72, i32 noundef %74) #2 %76 = load i32, ptr %68, align 4, !tbaa !19 %77 = tail call i32 @wr32(ptr noundef %8, i32 noundef %75, i32 noundef %76) #2 br label %78 78: ; preds = %21, %66, %71, %41, %45 store i32 0, ptr %0, align 8, !tbaa !16 %79 = getelementptr inbounds %struct.tx_ring, ptr %0, i64 0, i32 3 store i64 0, ptr %79, align 8, !tbaa !25 br label %80 80: ; preds = %1, %78 ret void } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @I40E_PFINT_ITRN(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, !12, i64 32} !6 = !{!"ixl_tx_queue", !7, i64 0, !12, i64 32} !7 = !{!"tx_ring", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !11, i64 16} !14 = !{!"ixl_vsi", !8, i64 0, !12, i64 8, !11, i64 16} !15 = !{!14, !12, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!18, !11, i64 8} !18 = !{!"ixl_pf", !8, i64 0, !11, i64 8} !19 = !{!7, !8, i64 4} !20 = !{!7, !8, i64 8} !21 = !{!8, !8, i64 0} !22 = !{!7, !8, i64 24} !23 = !{!14, !8, i64 0} !24 = !{!18, !8, i64 0} !25 = !{!7, !11, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_set_queue_tx_itr.c' source_filename = "AnghaBench/freebsd/sys/dev/ixl/extr_ixl_pf_main.c_ixl_set_queue_tx_itr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IXL_ITR_20K = common local_unnamed_addr global i32 0, align 4 @IXL_ITR_8K = common local_unnamed_addr global i32 0, align 4 @IXL_ITR_100K = common local_unnamed_addr global i32 0, align 4 @IXL_MAX_ITR = common local_unnamed_addr global i32 0, align 4 @IXL_TX_ITR = common local_unnamed_addr global i32 0, align 4 @IXL_ITR_DYNAMIC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ixl_set_queue_tx_itr(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 16 %5 = load i64, ptr %4, align 8, !tbaa !14 %6 = inttoptr i64 %5 to ptr %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !16 %9 = load i32, ptr %0, align 8, !tbaa !17 %10 = icmp eq i32 %9, 0 br i1 %10, label %80, label %11 11: ; preds = %1 %12 = getelementptr inbounds i8, ptr %6, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !18 %14 = icmp eq i64 %13, 0 br i1 %14, label %59, label %15 15: ; preds = %11 %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !20 %18 = sdiv i32 %9, %17 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !21 switch i32 %20, label %21 [ i32 128, label %22 i32 130, label %27 i32 129, label %36 ] 21: ; preds = %15 store i32 0, ptr %19, align 8, !tbaa !21 br label %78 22: ; preds = %15 %23 = icmp sgt i32 %18, 10 %24 = load i32, ptr @IXL_ITR_20K, align 4 %25 = select i1 %23, i32 130, i32 0 %26 = select i1 %23, i32 %24, i32 %17 br label %41 27: ; preds = %15 %28 = icmp sgt i32 %18, 20 br i1 %28, label %29, label %31 29: ; preds = %27 %30 = load i32, ptr @IXL_ITR_8K, align 4, !tbaa !22 br label %41 31: ; preds = %27 %32 = icmp slt i32 %18, 11 %33 = load i32, ptr @IXL_ITR_100K, align 4 %34 = select i1 %32, i32 128, i32 0 %35 = select i1 %32, i32 %33, i32 %17 br label %41 36: ; preds = %15 %37 = icmp slt i32 %18, 21 %38 = load i32, ptr @IXL_ITR_20K, align 4 %39 = select i1 %37, i32 130, i32 0 %40 = select i1 %37, i32 %38, i32 %17 br label %41 41: ; preds = %36, %31, %22, %29 %42 = phi i32 [ 129, %29 ], [ %25, %22 ], [ %34, %31 ], [ %39, %36 ] %43 = phi i32 [ %30, %29 ], [ %26, %22 ], [ %35, %31 ], [ %40, %36 ] store i32 %42, ptr %19, align 8, !tbaa !21 %44 = icmp eq i32 %43, %17 br i1 %44, label %78, label %45 45: ; preds = %41 %46 = mul i32 %17, 10 %47 = mul i32 %46, %43 %48 = mul nsw i32 %43, 9 %49 = add nsw i32 %48, %17 %50 = sdiv i32 %47, %49 %51 = load i32, ptr @IXL_MAX_ITR, align 4, !tbaa !22 %52 = tail call i32 @min(i32 noundef %50, i32 noundef %51) #2 store i32 %52, ptr %16, align 4, !tbaa !20 %53 = load i32, ptr @IXL_TX_ITR, align 4, !tbaa !22 %54 = getelementptr inbounds i8, ptr %0, i64 24 %55 = load i32, ptr %54, align 8, !tbaa !23 %56 = tail call i32 @I40E_PFINT_ITRN(i32 noundef %53, i32 noundef %55) #2 %57 = load i32, ptr %16, align 4, !tbaa !20 %58 = tail call i32 @wr32(ptr noundef %8, i32 noundef %56, i32 noundef %57) #2 br label %78 59: ; preds = %11 %60 = load i32, ptr %3, align 8, !tbaa !24 %61 = load i32, ptr @IXL_ITR_DYNAMIC, align 4, !tbaa !22 %62 = and i32 %61, %60 %63 = icmp eq i32 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %59 %65 = load i32, ptr %6, align 8, !tbaa !25 store i32 %65, ptr %3, align 8, !tbaa !24 br label %66 66: ; preds = %64, %59 %67 = phi i32 [ %65, %64 ], [ %60, %59 ] %68 = getelementptr inbounds i8, ptr %0, i64 4 %69 = load i32, ptr %68, align 4, !tbaa !20 %70 = icmp eq i32 %69, %67 br i1 %70, label %78, label %71 71: ; preds = %66 store i32 %67, ptr %68, align 4, !tbaa !20 %72 = load i32, ptr @IXL_TX_ITR, align 4, !tbaa !22 %73 = getelementptr inbounds i8, ptr %0, i64 24 %74 = load i32, ptr %73, align 8, !tbaa !23 %75 = tail call i32 @I40E_PFINT_ITRN(i32 noundef %72, i32 noundef %74) #2 %76 = load i32, ptr %68, align 4, !tbaa !20 %77 = tail call i32 @wr32(ptr noundef %8, i32 noundef %75, i32 noundef %76) #2 br label %78 78: ; preds = %21, %66, %71, %41, %45 store i32 0, ptr %0, align 8, !tbaa !17 %79 = getelementptr inbounds i8, ptr %0, i64 16 store i64 0, ptr %79, align 8, !tbaa !26 br label %80 80: ; preds = %1, %78 ret void } declare i32 @min(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @I40E_PFINT_ITRN(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, !13, i64 32} !7 = !{!"ixl_tx_queue", !8, i64 0, !13, i64 32} !8 = !{!"tx_ring", !9, i64 0, !9, i64 4, !9, i64 8, !12, i64 16, !9, i64 24} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!15, !12, i64 16} !15 = !{!"ixl_vsi", !9, i64 0, !13, i64 8, !12, i64 16} !16 = !{!15, !13, i64 8} !17 = !{!8, !9, i64 0} !18 = !{!19, !12, i64 8} !19 = !{!"ixl_pf", !9, i64 0, !12, i64 8} !20 = !{!8, !9, i64 4} !21 = !{!8, !9, i64 8} !22 = !{!9, !9, i64 0} !23 = !{!8, !9, i64 24} !24 = !{!15, !9, i64 0} !25 = !{!19, !9, i64 0} !26 = !{!8, !12, i64 16}
freebsd_sys_dev_ixl_extr_ixl_pf_main.c_ixl_set_queue_tx_itr
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sysfs.c_validate_npar_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sysfs.c_validate_npar_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.qlcnic_npar_func_cfg = type { i32, i32, i32 } @QL_STATUS_INVALID_PARAM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @validate_npar_config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @validate_npar_config(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %30 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %10 7: ; preds = %23 %8 = add nuw nsw i64 %11, 1 %9 = icmp eq i64 %8, %6 br i1 %9, label %30, label %10, !llvm.loop !5 10: ; preds = %5, %7 %11 = phi i64 [ 0, %5 ], [ %8, %7 ] %12 = getelementptr inbounds %struct.qlcnic_npar_func_cfg, ptr %1, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !7 %14 = tail call i64 @qlcnic_is_valid_nic_func(ptr noundef %0, i32 noundef %13) #2 %15 = icmp slt i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = load i32, ptr @QL_STATUS_INVALID_PARAM, align 4, !tbaa !12 br label %30 18: ; preds = %10 %19 = getelementptr inbounds %struct.qlcnic_npar_func_cfg, ptr %1, i64 %11, i32 2 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = tail call i32 @IS_VALID_BW(i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %18 %24 = getelementptr inbounds %struct.qlcnic_npar_func_cfg, ptr %1, i64 %11, i32 1 %25 = load i32, ptr %24, align 4, !tbaa !14 %26 = tail call i32 @IS_VALID_BW(i32 noundef %25) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %7 28: ; preds = %23, %18 %29 = load i32, ptr @QL_STATUS_INVALID_PARAM, align 4, !tbaa !12 br label %30 30: ; preds = %7, %3, %28, %16 %31 = phi i32 [ %17, %16 ], [ %29, %28 ], [ 0, %3 ], [ 0, %7 ] ret i32 %31 } declare i64 @qlcnic_is_valid_nic_func(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_VALID_BW(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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !9, i64 0} !8 = !{!"qlcnic_npar_func_cfg", !9, i64 0, !9, i64 4, !9, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!8, !9, i64 8} !14 = !{!8, !9, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sysfs.c_validate_npar_config.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/qlcnic/extr_qlcnic_sysfs.c_validate_npar_config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.qlcnic_npar_func_cfg = type { i32, i32, i32 } @QL_STATUS_INVALID_PARAM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @validate_npar_config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @validate_npar_config(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %30 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %10 7: ; preds = %23 %8 = add nuw nsw i64 %11, 1 %9 = icmp eq i64 %8, %6 br i1 %9, label %30, label %10, !llvm.loop !6 10: ; preds = %5, %7 %11 = phi i64 [ 0, %5 ], [ %8, %7 ] %12 = getelementptr inbounds %struct.qlcnic_npar_func_cfg, ptr %1, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !8 %14 = tail call i64 @qlcnic_is_valid_nic_func(ptr noundef %0, i32 noundef %13) #2 %15 = icmp slt i64 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %10 %17 = load i32, ptr @QL_STATUS_INVALID_PARAM, align 4, !tbaa !13 br label %30 18: ; preds = %10 %19 = getelementptr inbounds i8, ptr %12, i64 8 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = tail call i32 @IS_VALID_BW(i32 noundef %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %28, label %23 23: ; preds = %18 %24 = getelementptr inbounds i8, ptr %12, i64 4 %25 = load i32, ptr %24, align 4, !tbaa !15 %26 = tail call i32 @IS_VALID_BW(i32 noundef %25) #2 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %7 28: ; preds = %23, %18 %29 = load i32, ptr @QL_STATUS_INVALID_PARAM, align 4, !tbaa !13 br label %30 30: ; preds = %7, %3, %28, %16 %31 = phi i32 [ %17, %16 ], [ %29, %28 ], [ 0, %3 ], [ 0, %7 ] ret i32 %31 } declare i64 @qlcnic_is_valid_nic_func(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @IS_VALID_BW(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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !10, i64 0} !9 = !{!"qlcnic_npar_func_cfg", !10, i64 0, !10, i64 4, !10, i64 8} !10 = !{!"int", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!10, !10, i64 0} !14 = !{!9, !10, i64 8} !15 = !{!9, !10, i64 4}
fastsocket_kernel_drivers_net_qlcnic_extr_qlcnic_sysfs.c_validate_npar_config
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_sel.c__hx509_expr_parse.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_sel.c__hx509_expr_parse.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { ptr, ptr, ptr, i64, i32 } @_hx509_expr_input = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @_hx509_expr_parse(ptr noundef %0) local_unnamed_addr #0 { store ptr %0, ptr @_hx509_expr_input, align 8, !tbaa !5 %2 = tail call i32 @strlen(ptr noundef %0) #2 store i32 %2, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @_hx509_expr_input, i64 0, i32 4), align 8, !tbaa !12 store i64 0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @_hx509_expr_input, i64 0, i32 3), align 8, !tbaa !13 store ptr null, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @_hx509_expr_input, i64 0, i32 1), align 8, !tbaa !14 %3 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @_hx509_expr_input, i64 0, i32 2), align 8, !tbaa !15 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @free(ptr noundef nonnull %3) #2 store ptr null, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @_hx509_expr_input, i64 0, i32 2), align 8, !tbaa !15 br label %7 7: ; preds = %5, %1 %8 = tail call i32 (...) @yyparse() #2 %9 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @_hx509_expr_input, i64 0, i32 1), align 8, !tbaa !14 ret ptr %9 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @yyparse(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, i64 16, !10, i64 24, !11, i64 32} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !11, i64 32} !13 = !{!6, !10, i64 24} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_sel.c__hx509_expr_parse.c' source_filename = "AnghaBench/freebsd/crypto/heimdal/lib/hx509/extr_sel.c__hx509_expr_parse.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { ptr, ptr, ptr, i64, i32 } @_hx509_expr_input = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @_hx509_expr_parse(ptr noundef %0) local_unnamed_addr #0 { store ptr %0, ptr @_hx509_expr_input, align 8, !tbaa !6 %2 = tail call i32 @strlen(ptr noundef %0) #2 store i32 %2, ptr getelementptr inbounds (i8, ptr @_hx509_expr_input, i64 32), align 8, !tbaa !13 store i64 0, ptr getelementptr inbounds (i8, ptr @_hx509_expr_input, i64 24), align 8, !tbaa !14 store ptr null, ptr getelementptr inbounds (i8, ptr @_hx509_expr_input, i64 8), align 8, !tbaa !15 %3 = load ptr, ptr getelementptr inbounds (i8, ptr @_hx509_expr_input, i64 16), align 8, !tbaa !16 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @free(ptr noundef nonnull %3) #2 store ptr null, ptr getelementptr inbounds (i8, ptr @_hx509_expr_input, i64 16), align 8, !tbaa !16 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @yyparse() #2 %9 = load ptr, ptr getelementptr inbounds (i8, ptr @_hx509_expr_input, i64 8), align 8, !tbaa !15 ret ptr %9 } declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare i32 @free(ptr noundef) local_unnamed_addr #1 declare i32 @yyparse(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, i64 16, !11, i64 24, !12, i64 32} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !12, i64 32} !14 = !{!7, !11, i64 24} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 16}
freebsd_crypto_heimdal_lib_hx509_extr_sel.c__hx509_expr_parse
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_magicyuv.c_magy_decode_slice10.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_magicyuv.c_magy_decode_slice10.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { i32, i64, ptr } %struct.TYPE_12__ = type { i32, i32, i32, i32, i32, i64, %struct.TYPE_10__, ptr, ptr, i64, ptr, ptr, ptr } %struct.TYPE_10__ = type { ptr } %struct.TYPE_13__ = type { ptr, ptr } %struct.TYPE_11__ = type { i32, i64 } %struct.TYPE_9__ = type { i32, i32 } @AVERROR_INVALIDDATA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Unknown prediction: %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @magy_decode_slice10], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @magy_decode_slice10(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2, i32 %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 2 %9 = load ptr, ptr %8, align 8, !tbaa !5 %10 = load i32, ptr %9, align 8, !tbaa !12 %11 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !15 %13 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !16 %15 = add nsw i32 %14, -1 %16 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 12 %17 = load ptr, ptr %16, align 8, !tbaa !17 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %18 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 3 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %270 21: ; preds = %4 %22 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 4 %23 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %24 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 10 %25 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 11 %26 = add nsw i32 %10, 1 %27 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 9 %28 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 8 %29 = sext i32 %2 to i64 %30 = getelementptr inbounds %struct.TYPE_13__, ptr %17, i64 0, i32 1 %31 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 7 %32 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 6 %33 = icmp eq i32 %10, 0 br label %34 34: ; preds = %21, %265 %35 = phi i64 [ 0, %21 ], [ %266, %265 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %36 = load i32, ptr %22, align 8, !tbaa !19 %37 = load i64, ptr %23, align 8, !tbaa !20 %38 = mul nsw i32 %36, %2 %39 = sext i32 %38 to i64 %40 = sub nsw i64 %37, %39 %41 = call i32 @FFMIN(i32 noundef %36, i64 noundef %40) #3 %42 = load ptr, ptr %24, align 8, !tbaa !21 %43 = getelementptr inbounds i32, ptr %42, i64 %35 %44 = load i32, ptr %43, align 4, !tbaa !22 %45 = call i32 @AV_CEIL_RSHIFT(i32 noundef %41, i32 noundef %44) #3 %46 = load i32, ptr %0, align 8, !tbaa !23 %47 = load ptr, ptr %25, align 8, !tbaa !24 %48 = getelementptr inbounds i32, ptr %47, i64 %35 %49 = load i32, ptr %48, align 4, !tbaa !22 %50 = call i32 @AV_CEIL_RSHIFT(i32 noundef %46, i32 noundef %49) #3 %51 = load i32, ptr %22, align 8, !tbaa !19 %52 = load ptr, ptr %24, align 8, !tbaa !21 %53 = getelementptr inbounds i32, ptr %52, i64 %35 %54 = load i32, ptr %53, align 4, !tbaa !22 %55 = call i32 @AV_CEIL_RSHIFT(i32 noundef %51, i32 noundef %54) #3 %56 = load ptr, ptr %17, align 8, !tbaa !25 %57 = getelementptr inbounds i32, ptr %56, i64 %35 %58 = load i32, ptr %57, align 4, !tbaa !22 %59 = sdiv i32 %58, 2 %60 = mul nsw i32 %59, %26 %61 = load i64, ptr %27, align 8, !tbaa !27 %62 = load ptr, ptr %28, align 8, !tbaa !28 %63 = getelementptr inbounds ptr, ptr %62, i64 %35 %64 = load ptr, ptr %63, align 8, !tbaa !29 %65 = getelementptr inbounds %struct.TYPE_11__, ptr %64, i64 %29 %66 = getelementptr inbounds %struct.TYPE_11__, ptr %64, i64 %29, i32 1 %67 = load i64, ptr %66, align 8, !tbaa !30 %68 = add nsw i64 %67, %61 %69 = load i32, ptr %65, align 8, !tbaa !32 %70 = call i32 @init_get_bits8(ptr noundef nonnull %5, i64 noundef %68, i32 noundef %69) #3 %71 = icmp slt i32 %70, 0 br i1 %71, label %263, label %72 72: ; preds = %34 %73 = call i32 @get_bits(ptr noundef nonnull %5, i32 noundef 8) #3 %74 = call i32 @get_bits(ptr noundef nonnull %5, i32 noundef 8) #3 %75 = load ptr, ptr %30, align 8, !tbaa !33 %76 = getelementptr inbounds i64, ptr %75, i64 %35 %77 = load i64, ptr %76, align 8, !tbaa !34 %78 = inttoptr i64 %77 to ptr %79 = mul nsw i32 %55, %2 %80 = mul nsw i32 %79, %59 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = and i32 %73, 1 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %91 85: ; preds = %72 %86 = icmp sgt i32 %45, 0 br i1 %86, label %87, label %145 87: ; preds = %85 %88 = icmp sgt i32 %50, 0 %89 = sext i32 %59 to i64 %90 = zext nneg i32 %50 to i64 br label %117 91: ; preds = %72 %92 = call i32 @get_bits_left(ptr noundef nonnull %5) #3 %93 = mul i32 %45, %12 %94 = mul i32 %93, %50 %95 = icmp slt i32 %92, %94 br i1 %95, label %102, label %96 96: ; preds = %91 %97 = icmp sgt i32 %45, 0 br i1 %97, label %98, label %145 98: ; preds = %96 %99 = icmp sgt i32 %50, 0 %100 = sext i32 %59 to i64 %101 = zext nneg i32 %50 to i64 br label %104 102: ; preds = %91 %103 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !22 br label %263 104: ; preds = %98, %113 %105 = phi i32 [ 0, %98 ], [ %115, %113 ] %106 = phi ptr [ %82, %98 ], [ %114, %113 ] br i1 %99, label %107, label %113 107: ; preds = %104, %107 %108 = phi i64 [ %111, %107 ], [ 0, %104 ] %109 = call i32 @get_bits(ptr noundef nonnull %5, i32 noundef %12) #3 %110 = getelementptr inbounds i32, ptr %106, i64 %108 store i32 %109, ptr %110, align 4, !tbaa !22 %111 = add nuw nsw i64 %108, 1 %112 = icmp eq i64 %111, %101 br i1 %112, label %113, label %107, !llvm.loop !35 113: ; preds = %107, %104 %114 = getelementptr inbounds i32, ptr %106, i64 %100 %115 = add nuw nsw i32 %105, 1 %116 = icmp eq i32 %115, %45 br i1 %116, label %145, label %104, !llvm.loop !37 117: ; preds = %87, %141 %118 = phi i32 [ 0, %87 ], [ %143, %141 ] %119 = phi ptr [ %82, %87 ], [ %142, %141 ] br i1 %88, label %120, label %141 120: ; preds = %117, %136 %121 = phi i64 [ %139, %136 ], [ 0, %117 ] %122 = call i32 @get_bits_left(ptr noundef nonnull %5) #3 %123 = icmp slt i32 %122, 1 br i1 %123, label %124, label %126 124: ; preds = %120 %125 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !22 br label %263 126: ; preds = %120 %127 = load ptr, ptr %31, align 8, !tbaa !38 %128 = getelementptr inbounds %struct.TYPE_9__, ptr %127, i64 %35 %129 = getelementptr inbounds %struct.TYPE_9__, ptr %127, i64 %35, i32 1 %130 = load i32, ptr %129, align 4, !tbaa !39 %131 = load i32, ptr %128, align 4, !tbaa !41 %132 = call i32 @get_vlc2(ptr noundef nonnull %5, i32 noundef %130, i32 noundef %131, i32 noundef 3) #3 %133 = icmp slt i32 %132, 0 br i1 %133, label %134, label %136 134: ; preds = %126 %135 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !22 br label %263 136: ; preds = %126 %137 = sub nsw i32 %15, %132 %138 = getelementptr inbounds i32, ptr %119, i64 %121 store i32 %137, ptr %138, align 4, !tbaa !22 %139 = add nuw nsw i64 %121, 1 %140 = icmp eq i64 %139, %90 br i1 %140, label %141, label %120, !llvm.loop !42 141: ; preds = %136, %117 %142 = getelementptr inbounds i32, ptr %119, i64 %89 %143 = add nuw nsw i32 %118, 1 %144 = icmp eq i32 %143, %45 br i1 %144, label %145, label %117, !llvm.loop !43 145: ; preds = %113, %141, %96, %85 switch i32 %74, label %261 [ i32 129, label %146 i32 130, label %176 i32 128, label %231 ] 146: ; preds = %145 %147 = load ptr, ptr %30, align 8, !tbaa !33 %148 = getelementptr inbounds i64, ptr %147, i64 %35 %149 = load i64, ptr %148, align 8, !tbaa !34 %150 = inttoptr i64 %149 to ptr %151 = getelementptr inbounds i32, ptr %150, i64 %81 %152 = load ptr, ptr %32, align 8, !tbaa !44 %153 = call i32 %152(ptr noundef %151, ptr noundef %151, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %154 = sext i32 %59 to i64 %155 = getelementptr inbounds i32, ptr %151, i64 %154 br i1 %33, label %160, label %156 156: ; preds = %146 %157 = load ptr, ptr %32, align 8, !tbaa !44 %158 = call i32 %157(ptr noundef %155, ptr noundef %155, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %159 = getelementptr inbounds i32, ptr %155, i64 %154 br label %160 160: ; preds = %156, %146 %161 = phi ptr [ %159, %156 ], [ %155, %146 ] %162 = icmp slt i32 %26, %45 br i1 %162, label %163, label %265 163: ; preds = %160 %164 = sub nsw i32 0, %60 %165 = sext i32 %164 to i64 br label %166 166: ; preds = %163, %166 %167 = phi i32 [ %26, %163 ], [ %174, %166 ] %168 = phi ptr [ %161, %163 ], [ %173, %166 ] %169 = load ptr, ptr %32, align 8, !tbaa !44 %170 = getelementptr inbounds i32, ptr %168, i64 %165 %171 = load i32, ptr %170, align 4, !tbaa !22 %172 = call i32 %169(ptr noundef %168, ptr noundef %168, i32 noundef %15, i32 noundef %50, i32 noundef %171) #3 %173 = getelementptr inbounds i32, ptr %168, i64 %154 %174 = add i32 %167, 1 %175 = icmp eq i32 %174, %45 br i1 %175, label %265, label %166, !llvm.loop !45 176: ; preds = %145 %177 = load ptr, ptr %30, align 8, !tbaa !33 %178 = getelementptr inbounds i64, ptr %177, i64 %35 %179 = load i64, ptr %178, align 8, !tbaa !34 %180 = inttoptr i64 %179 to ptr %181 = getelementptr inbounds i32, ptr %180, i64 %81 %182 = load ptr, ptr %32, align 8, !tbaa !44 %183 = call i32 %182(ptr noundef %181, ptr noundef %181, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %184 = sext i32 %59 to i64 %185 = getelementptr inbounds i32, ptr %181, i64 %184 br i1 %33, label %190, label %186 186: ; preds = %176 %187 = load ptr, ptr %32, align 8, !tbaa !44 %188 = call i32 %187(ptr noundef %185, ptr noundef %185, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %189 = getelementptr inbounds i32, ptr %185, i64 %184 br label %190 190: ; preds = %186, %176 %191 = phi ptr [ %189, %186 ], [ %185, %176 ] %192 = icmp slt i32 %26, %45 br i1 %192, label %193, label %265 193: ; preds = %190 %194 = sub nsw i32 0, %60 %195 = sext i32 %194 to i64 %196 = icmp sgt i32 %50, 1 %197 = xor i32 %60, -1 %198 = sext i32 %60 to i64 %199 = zext nneg i32 %50 to i64 br label %200 200: ; preds = %193, %227 %201 = phi i32 [ %26, %193 ], [ %229, %227 ] %202 = phi ptr [ %191, %193 ], [ %228, %227 ] %203 = getelementptr inbounds i32, ptr %202, i64 %195 %204 = load i32, ptr %203, align 4, !tbaa !22 %205 = load i32, ptr %202, align 4, !tbaa !22 %206 = add nsw i32 %205, %204 store i32 %206, ptr %6, align 4, !tbaa !22 %207 = and i32 %206, %15 store i32 %207, ptr %202, align 4, !tbaa !22 br i1 %196, label %208, label %227 208: ; preds = %200, %208 %209 = phi i64 [ %225, %208 ], [ 1, %200 ] %210 = sub nsw i64 %209, %198 %211 = getelementptr inbounds i32, ptr %202, i64 %210 %212 = load i32, ptr %211, align 4, !tbaa !22 %213 = trunc i64 %209 to i32 %214 = add i32 %213, %197 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i32, ptr %202, i64 %215 %217 = load i32, ptr %216, align 4, !tbaa !22 store i32 %217, ptr %7, align 4, !tbaa !22 %218 = sub i32 %212, %217 %219 = getelementptr inbounds i32, ptr %202, i64 %209 %220 = load i32, ptr %219, align 4, !tbaa !22 %221 = add nsw i32 %218, %220 %222 = load i32, ptr %6, align 4, !tbaa !22 %223 = add nsw i32 %221, %222 store i32 %223, ptr %6, align 4, !tbaa !22 %224 = and i32 %223, %15 store i32 %224, ptr %219, align 4, !tbaa !22 %225 = add nuw nsw i64 %209, 1 %226 = icmp eq i64 %225, %199 br i1 %226, label %227, label %208, !llvm.loop !46 227: ; preds = %208, %200 %228 = getelementptr inbounds i32, ptr %202, i64 %184 %229 = add nsw i32 %201, 1 %230 = icmp eq i32 %229, %45 br i1 %230, label %265, label %200, !llvm.loop !47 231: ; preds = %145 %232 = load ptr, ptr %30, align 8, !tbaa !33 %233 = getelementptr inbounds i64, ptr %232, i64 %35 %234 = load i64, ptr %233, align 8, !tbaa !34 %235 = inttoptr i64 %234 to ptr %236 = getelementptr inbounds i32, ptr %235, i64 %81 %237 = load ptr, ptr %32, align 8, !tbaa !44 %238 = call i32 %237(ptr noundef %236, ptr noundef %236, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %239 = sext i32 %59 to i64 %240 = getelementptr inbounds i32, ptr %236, i64 %239 br i1 %33, label %245, label %241 241: ; preds = %231 %242 = load ptr, ptr %32, align 8, !tbaa !44 %243 = call i32 %242(ptr noundef %240, ptr noundef %240, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %244 = getelementptr inbounds i32, ptr %240, i64 %239 br label %245 245: ; preds = %241, %231 %246 = phi ptr [ %244, %241 ], [ %240, %231 ] %247 = load i32, ptr %246, align 4, !tbaa !22 store i32 %247, ptr %6, align 4, !tbaa !22 store i32 %247, ptr %7, align 4, !tbaa !22 %248 = icmp slt i32 %26, %45 br i1 %248, label %249, label %265 249: ; preds = %245 %250 = sext i32 %60 to i64 %251 = sub nsw i64 0, %250 br label %252 252: ; preds = %249, %252 %253 = phi i32 [ %26, %249 ], [ %259, %252 ] %254 = phi ptr [ %246, %249 ], [ %258, %252 ] %255 = getelementptr inbounds i32, ptr %254, i64 %251 %256 = call i32 @magicyuv_median_pred16(ptr noundef nonnull %254, ptr noundef %255, ptr noundef nonnull %254, i32 noundef %50, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef %15) #3 %257 = load i32, ptr %254, align 4, !tbaa !22 store i32 %257, ptr %6, align 4, !tbaa !22 store i32 %257, ptr %7, align 4, !tbaa !22 %258 = getelementptr inbounds i32, ptr %254, i64 %239 %259 = add i32 %253, 1 %260 = icmp eq i32 %259, %45 br i1 %260, label %265, label %252, !llvm.loop !48 261: ; preds = %145 %262 = call i32 @avpriv_request_sample(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %74) #3 br label %265 263: ; preds = %34, %134, %124, %102 %264 = phi i32 [ %103, %102 ], [ %135, %134 ], [ %125, %124 ], [ %70, %34 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %430 265: ; preds = %252, %227, %166, %245, %190, %160, %261 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 %266 = add nuw nsw i64 %35, 1 %267 = load i32, ptr %18, align 4, !tbaa !18 %268 = sext i32 %267 to i64 %269 = icmp slt i64 %266, %268 br i1 %269, label %34, label %270, !llvm.loop !49 270: ; preds = %265, %4 %271 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 5 %272 = load i64, ptr %271, align 8, !tbaa !50 %273 = icmp eq i64 %272, 0 br i1 %273, label %430, label %274 274: ; preds = %270 %275 = getelementptr inbounds %struct.TYPE_12__, ptr %9, i64 0, i32 4 %276 = load i32, ptr %275, align 8, !tbaa !19 %277 = getelementptr inbounds %struct.TYPE_14__, ptr %0, i64 0, i32 1 %278 = load i64, ptr %277, align 8, !tbaa !20 %279 = mul nsw i32 %276, %2 %280 = sext i32 %279 to i64 %281 = sub nsw i64 %278, %280 %282 = call i32 @FFMIN(i32 noundef %276, i64 noundef %281) #3 %283 = load ptr, ptr %17, align 8, !tbaa !25 %284 = getelementptr inbounds i32, ptr %283, i64 1 %285 = getelementptr inbounds i32, ptr %283, i64 2 %286 = icmp sgt i32 %282, 0 br i1 %286, label %287, label %430 287: ; preds = %274 %288 = load i32, ptr %0, align 8, !tbaa !23 %289 = getelementptr inbounds %struct.TYPE_13__, ptr %17, i64 0, i32 1 %290 = load ptr, ptr %289, align 8, !tbaa !33 %291 = getelementptr inbounds i64, ptr %290, i64 2 %292 = load i64, ptr %291, align 8, !tbaa !34 %293 = inttoptr i64 %292 to ptr %294 = load i32, ptr %285, align 4, !tbaa !22 %295 = load i32, ptr %275, align 8, !tbaa !19 %296 = mul nsw i32 %295, %2 %297 = mul nsw i32 %294, %296 %298 = sdiv i32 %297, 2 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds i32, ptr %293, i64 %299 %301 = getelementptr inbounds i64, ptr %290, i64 1 %302 = load i64, ptr %301, align 8, !tbaa !34 %303 = inttoptr i64 %302 to ptr %304 = load i32, ptr %284, align 4, !tbaa !22 %305 = mul nsw i32 %304, %296 %306 = sdiv i32 %305, 2 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds i32, ptr %303, i64 %307 %309 = load i64, ptr %290, align 8, !tbaa !34 %310 = inttoptr i64 %309 to ptr %311 = load i32, ptr %283, align 4, !tbaa !22 %312 = mul nsw i32 %311, %296 %313 = sdiv i32 %312, 2 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds i32, ptr %310, i64 %314 %316 = icmp sgt i32 %288, 0 %317 = zext i32 %288 to i64 %318 = shl nuw nsw i64 %317, 2 %319 = icmp ult i32 %288, 8 %320 = and i64 %317, 2147483644 %321 = insertelement <4 x i32> poison, i32 %15, i64 0 %322 = shufflevector <4 x i32> %321, <4 x i32> poison, <4 x i32> zeroinitializer %323 = icmp eq i64 %320, %317 %324 = and i64 %317, 1 %325 = icmp eq i64 %324, 0 %326 = add nsw i64 %317, -1 br label %327 327: ; preds = %287, %415 %328 = phi i32 [ %294, %287 ], [ %416, %415 ] %329 = phi i32 [ %304, %287 ], [ %417, %415 ] %330 = phi i32 [ %311, %287 ], [ %418, %415 ] %331 = phi ptr [ %300, %287 ], [ %421, %415 ] %332 = phi ptr [ %308, %287 ], [ %424, %415 ] %333 = phi ptr [ %315, %287 ], [ %427, %415 ] %334 = phi i32 [ 0, %287 ], [ %428, %415 ] br i1 %316, label %335, label %415 335: ; preds = %327 br i1 %319, label %366, label %336 336: ; preds = %335 %337 = getelementptr i8, ptr %331, i64 %318 %338 = getelementptr i8, ptr %333, i64 %318 %339 = getelementptr i8, ptr %332, i64 %318 %340 = icmp ult ptr %331, %338 %341 = icmp ult ptr %333, %337 %342 = and i1 %340, %341 %343 = icmp ult ptr %331, %339 %344 = icmp ult ptr %332, %337 %345 = and i1 %343, %344 %346 = or i1 %342, %345 %347 = icmp ult ptr %333, %339 %348 = icmp ult ptr %332, %338 %349 = and i1 %347, %348 %350 = or i1 %346, %349 br i1 %350, label %366, label %351 351: ; preds = %336, %351 %352 = phi i64 [ %363, %351 ], [ 0, %336 ] %353 = getelementptr inbounds i32, ptr %331, i64 %352 %354 = load <4 x i32>, ptr %353, align 4, !tbaa !22, !alias.scope !51, !noalias !54 %355 = getelementptr inbounds i32, ptr %332, i64 %352 %356 = load <4 x i32>, ptr %355, align 4, !tbaa !22, !alias.scope !57 %357 = add nsw <4 x i32> %356, %354 %358 = and <4 x i32> %357, %322 store <4 x i32> %358, ptr %353, align 4, !tbaa !22, !alias.scope !51, !noalias !54 %359 = getelementptr inbounds i32, ptr %333, i64 %352 %360 = load <4 x i32>, ptr %359, align 4, !tbaa !22, !alias.scope !58, !noalias !57 %361 = add nsw <4 x i32> %356, %360 %362 = and <4 x i32> %361, %322 store <4 x i32> %362, ptr %359, align 4, !tbaa !22, !alias.scope !58, !noalias !57 %363 = add nuw i64 %352, 4 %364 = icmp eq i64 %363, %320 br i1 %364, label %365, label %351, !llvm.loop !59 365: ; preds = %351 br i1 %323, label %411, label %366 366: ; preds = %336, %335, %365 %367 = phi i64 [ 0, %336 ], [ 0, %335 ], [ %320, %365 ] br i1 %325, label %381, label %368 368: ; preds = %366 %369 = getelementptr inbounds i32, ptr %331, i64 %367 %370 = load i32, ptr %369, align 4, !tbaa !22 %371 = getelementptr inbounds i32, ptr %332, i64 %367 %372 = load i32, ptr %371, align 4, !tbaa !22 %373 = add nsw i32 %372, %370 %374 = and i32 %373, %15 store i32 %374, ptr %369, align 4, !tbaa !22 %375 = getelementptr inbounds i32, ptr %333, i64 %367 %376 = load i32, ptr %375, align 4, !tbaa !22 %377 = load i32, ptr %371, align 4, !tbaa !22 %378 = add nsw i32 %377, %376 %379 = and i32 %378, %15 store i32 %379, ptr %375, align 4, !tbaa !22 %380 = or disjoint i64 %367, 1 br label %381 381: ; preds = %368, %366 %382 = phi i64 [ %367, %366 ], [ %380, %368 ] %383 = icmp eq i64 %367, %326 br i1 %383, label %411, label %384 384: ; preds = %381, %384 %385 = phi i64 [ %409, %384 ], [ %382, %381 ] %386 = getelementptr inbounds i32, ptr %331, i64 %385 %387 = load i32, ptr %386, align 4, !tbaa !22 %388 = getelementptr inbounds i32, ptr %332, i64 %385 %389 = load i32, ptr %388, align 4, !tbaa !22 %390 = add nsw i32 %389, %387 %391 = and i32 %390, %15 store i32 %391, ptr %386, align 4, !tbaa !22 %392 = getelementptr inbounds i32, ptr %333, i64 %385 %393 = load i32, ptr %392, align 4, !tbaa !22 %394 = load i32, ptr %388, align 4, !tbaa !22 %395 = add nsw i32 %394, %393 %396 = and i32 %395, %15 store i32 %396, ptr %392, align 4, !tbaa !22 %397 = add nuw nsw i64 %385, 1 %398 = getelementptr inbounds i32, ptr %331, i64 %397 %399 = load i32, ptr %398, align 4, !tbaa !22 %400 = getelementptr inbounds i32, ptr %332, i64 %397 %401 = load i32, ptr %400, align 4, !tbaa !22 %402 = add nsw i32 %401, %399 %403 = and i32 %402, %15 store i32 %403, ptr %398, align 4, !tbaa !22 %404 = getelementptr inbounds i32, ptr %333, i64 %397 %405 = load i32, ptr %404, align 4, !tbaa !22 %406 = load i32, ptr %400, align 4, !tbaa !22 %407 = add nsw i32 %406, %405 %408 = and i32 %407, %15 store i32 %408, ptr %404, align 4, !tbaa !22 %409 = add nuw nsw i64 %385, 2 %410 = icmp eq i64 %409, %317 br i1 %410, label %411, label %384, !llvm.loop !62 411: ; preds = %381, %384, %365 %412 = load i32, ptr %283, align 4, !tbaa !22 %413 = load i32, ptr %284, align 4, !tbaa !22 %414 = load i32, ptr %285, align 4, !tbaa !22 br label %415 415: ; preds = %411, %327 %416 = phi i32 [ %414, %411 ], [ %328, %327 ] %417 = phi i32 [ %413, %411 ], [ %329, %327 ] %418 = phi i32 [ %412, %411 ], [ %330, %327 ] %419 = sdiv i32 %418, 2 %420 = sext i32 %419 to i64 %421 = getelementptr inbounds i32, ptr %331, i64 %420 %422 = sdiv i32 %417, 2 %423 = sext i32 %422 to i64 %424 = getelementptr inbounds i32, ptr %332, i64 %423 %425 = sdiv i32 %416, 2 %426 = sext i32 %425 to i64 %427 = getelementptr inbounds i32, ptr %333, i64 %426 %428 = add nuw nsw i32 %334, 1 %429 = icmp eq i32 %428, %282 br i1 %429, label %430, label %327, !llvm.loop !63 430: ; preds = %415, %274, %263, %270 %431 = phi i32 [ %264, %263 ], [ 0, %270 ], [ 0, %274 ], [ 0, %415 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %431 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @AV_CEIL_RSHIFT(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FFMIN(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @init_get_bits8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_bits_left(ptr noundef) local_unnamed_addr #2 declare i32 @get_vlc2(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @magicyuv_median_pred16(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avpriv_request_sample(ptr noundef, 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, !11, i64 16} !6 = !{!"TYPE_14__", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !14, i64 32, !11, i64 40, !11, i64 48, !10, i64 56, !11, i64 64, !11, i64 72, !11, i64 80} !14 = !{!"TYPE_10__", !11, i64 0} !15 = !{!13, !7, i64 4} !16 = !{!13, !7, i64 8} !17 = !{!13, !11, i64 80} !18 = !{!13, !7, i64 12} !19 = !{!13, !7, i64 16} !20 = !{!6, !10, i64 8} !21 = !{!13, !11, i64 64} !22 = !{!7, !7, i64 0} !23 = !{!6, !7, i64 0} !24 = !{!13, !11, i64 72} !25 = !{!26, !11, i64 0} !26 = !{!"TYPE_13__", !11, i64 0, !11, i64 8} !27 = !{!13, !10, i64 56} !28 = !{!13, !11, i64 48} !29 = !{!11, !11, i64 0} !30 = !{!31, !10, i64 8} !31 = !{!"TYPE_11__", !7, i64 0, !10, i64 8} !32 = !{!31, !7, i64 0} !33 = !{!26, !11, i64 8} !34 = !{!10, !10, i64 0} !35 = distinct !{!35, !36} !36 = !{!"llvm.loop.mustprogress"} !37 = distinct !{!37, !36} !38 = !{!13, !11, i64 40} !39 = !{!40, !7, i64 4} !40 = !{!"TYPE_9__", !7, i64 0, !7, i64 4} !41 = !{!40, !7, i64 0} !42 = distinct !{!42, !36} !43 = distinct !{!43, !36} !44 = !{!13, !11, i64 32} !45 = distinct !{!45, !36} !46 = distinct !{!46, !36} !47 = distinct !{!47, !36} !48 = distinct !{!48, !36} !49 = distinct !{!49, !36} !50 = !{!13, !10, i64 24} !51 = !{!52} !52 = distinct !{!52, !53} !53 = distinct !{!53, !"LVerDomain"} !54 = !{!55, !56} !55 = distinct !{!55, !53} !56 = distinct !{!56, !53} !57 = !{!56} !58 = !{!55} !59 = distinct !{!59, !36, !60, !61} !60 = !{!"llvm.loop.isvectorized", i32 1} !61 = !{!"llvm.loop.unroll.runtime.disable"} !62 = distinct !{!62, !36, !60} !63 = distinct !{!63, !36}
; ModuleID = 'AnghaBench/FFmpeg/libavcodec/extr_magicyuv.c_magy_decode_slice10.c' source_filename = "AnghaBench/FFmpeg/libavcodec/extr_magicyuv.c_magy_decode_slice10.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_11__ = type { i32, i64 } %struct.TYPE_9__ = type { i32, i32 } @AVERROR_INVALIDDATA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Unknown prediction: %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @magy_decode_slice10], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @magy_decode_slice10(ptr noundef %0, ptr nocapture readnone %1, i32 noundef %2, i32 %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = load ptr, ptr %8, align 8, !tbaa !6 %10 = load i32, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds i8, ptr %9, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !16 %13 = getelementptr inbounds i8, ptr %9, i64 8 %14 = load i32, ptr %13, align 8, !tbaa !17 %15 = add nsw i32 %14, -1 %16 = getelementptr inbounds i8, ptr %9, i64 80 %17 = load ptr, ptr %16, align 8, !tbaa !18 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 %18 = getelementptr inbounds i8, ptr %9, i64 12 %19 = load i32, ptr %18, align 4, !tbaa !19 %20 = icmp sgt i32 %19, 0 br i1 %20, label %21, label %270 21: ; preds = %4 %22 = getelementptr inbounds i8, ptr %9, i64 16 %23 = getelementptr inbounds i8, ptr %0, i64 8 %24 = getelementptr inbounds i8, ptr %9, i64 64 %25 = getelementptr inbounds i8, ptr %9, i64 72 %26 = add nsw i32 %10, 1 %27 = getelementptr inbounds i8, ptr %9, i64 56 %28 = getelementptr inbounds i8, ptr %9, i64 48 %29 = sext i32 %2 to i64 %30 = getelementptr inbounds i8, ptr %17, i64 8 %31 = getelementptr inbounds i8, ptr %9, i64 40 %32 = getelementptr inbounds i8, ptr %9, i64 32 %33 = icmp eq i32 %10, 0 br label %34 34: ; preds = %21, %265 %35 = phi i64 [ 0, %21 ], [ %266, %265 ] call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 %36 = load i32, ptr %22, align 8, !tbaa !20 %37 = load i64, ptr %23, align 8, !tbaa !21 %38 = mul nsw i32 %36, %2 %39 = sext i32 %38 to i64 %40 = sub nsw i64 %37, %39 %41 = call i32 @FFMIN(i32 noundef %36, i64 noundef %40) #3 %42 = load ptr, ptr %24, align 8, !tbaa !22 %43 = getelementptr inbounds i32, ptr %42, i64 %35 %44 = load i32, ptr %43, align 4, !tbaa !23 %45 = call i32 @AV_CEIL_RSHIFT(i32 noundef %41, i32 noundef %44) #3 %46 = load i32, ptr %0, align 8, !tbaa !24 %47 = load ptr, ptr %25, align 8, !tbaa !25 %48 = getelementptr inbounds i32, ptr %47, i64 %35 %49 = load i32, ptr %48, align 4, !tbaa !23 %50 = call i32 @AV_CEIL_RSHIFT(i32 noundef %46, i32 noundef %49) #3 %51 = load i32, ptr %22, align 8, !tbaa !20 %52 = load ptr, ptr %24, align 8, !tbaa !22 %53 = getelementptr inbounds i32, ptr %52, i64 %35 %54 = load i32, ptr %53, align 4, !tbaa !23 %55 = call i32 @AV_CEIL_RSHIFT(i32 noundef %51, i32 noundef %54) #3 %56 = load ptr, ptr %17, align 8, !tbaa !26 %57 = getelementptr inbounds i32, ptr %56, i64 %35 %58 = load i32, ptr %57, align 4, !tbaa !23 %59 = sdiv i32 %58, 2 %60 = mul nsw i32 %59, %26 %61 = load i64, ptr %27, align 8, !tbaa !28 %62 = load ptr, ptr %28, align 8, !tbaa !29 %63 = getelementptr inbounds ptr, ptr %62, i64 %35 %64 = load ptr, ptr %63, align 8, !tbaa !30 %65 = getelementptr inbounds %struct.TYPE_11__, ptr %64, i64 %29 %66 = getelementptr inbounds i8, ptr %65, i64 8 %67 = load i64, ptr %66, align 8, !tbaa !31 %68 = add nsw i64 %67, %61 %69 = load i32, ptr %65, align 8, !tbaa !33 %70 = call i32 @init_get_bits8(ptr noundef nonnull %5, i64 noundef %68, i32 noundef %69) #3 %71 = icmp slt i32 %70, 0 br i1 %71, label %263, label %72 72: ; preds = %34 %73 = call i32 @get_bits(ptr noundef nonnull %5, i32 noundef 8) #3 %74 = call i32 @get_bits(ptr noundef nonnull %5, i32 noundef 8) #3 %75 = load ptr, ptr %30, align 8, !tbaa !34 %76 = getelementptr inbounds i64, ptr %75, i64 %35 %77 = load i64, ptr %76, align 8, !tbaa !35 %78 = inttoptr i64 %77 to ptr %79 = mul nsw i32 %55, %2 %80 = mul nsw i32 %79, %59 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds i32, ptr %78, i64 %81 %83 = and i32 %73, 1 %84 = icmp eq i32 %83, 0 br i1 %84, label %85, label %91 85: ; preds = %72 %86 = icmp sgt i32 %45, 0 br i1 %86, label %87, label %145 87: ; preds = %85 %88 = icmp sgt i32 %50, 0 %89 = sext i32 %59 to i64 %90 = zext nneg i32 %50 to i64 br label %117 91: ; preds = %72 %92 = call i32 @get_bits_left(ptr noundef nonnull %5) #3 %93 = mul i32 %45, %12 %94 = mul i32 %93, %50 %95 = icmp slt i32 %92, %94 br i1 %95, label %102, label %96 96: ; preds = %91 %97 = icmp sgt i32 %45, 0 br i1 %97, label %98, label %145 98: ; preds = %96 %99 = icmp sgt i32 %50, 0 %100 = sext i32 %59 to i64 %101 = zext nneg i32 %50 to i64 br label %104 102: ; preds = %91 %103 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !23 br label %263 104: ; preds = %98, %113 %105 = phi i32 [ 0, %98 ], [ %115, %113 ] %106 = phi ptr [ %82, %98 ], [ %114, %113 ] br i1 %99, label %107, label %113 107: ; preds = %104, %107 %108 = phi i64 [ %111, %107 ], [ 0, %104 ] %109 = call i32 @get_bits(ptr noundef nonnull %5, i32 noundef %12) #3 %110 = getelementptr inbounds i32, ptr %106, i64 %108 store i32 %109, ptr %110, align 4, !tbaa !23 %111 = add nuw nsw i64 %108, 1 %112 = icmp eq i64 %111, %101 br i1 %112, label %113, label %107, !llvm.loop !36 113: ; preds = %107, %104 %114 = getelementptr inbounds i32, ptr %106, i64 %100 %115 = add nuw nsw i32 %105, 1 %116 = icmp eq i32 %115, %45 br i1 %116, label %145, label %104, !llvm.loop !38 117: ; preds = %87, %141 %118 = phi i32 [ 0, %87 ], [ %143, %141 ] %119 = phi ptr [ %82, %87 ], [ %142, %141 ] br i1 %88, label %120, label %141 120: ; preds = %117, %136 %121 = phi i64 [ %139, %136 ], [ 0, %117 ] %122 = call i32 @get_bits_left(ptr noundef nonnull %5) #3 %123 = icmp slt i32 %122, 1 br i1 %123, label %124, label %126 124: ; preds = %120 %125 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !23 br label %263 126: ; preds = %120 %127 = load ptr, ptr %31, align 8, !tbaa !39 %128 = getelementptr inbounds %struct.TYPE_9__, ptr %127, i64 %35 %129 = getelementptr inbounds i8, ptr %128, i64 4 %130 = load i32, ptr %129, align 4, !tbaa !40 %131 = load i32, ptr %128, align 4, !tbaa !42 %132 = call i32 @get_vlc2(ptr noundef nonnull %5, i32 noundef %130, i32 noundef %131, i32 noundef 3) #3 %133 = icmp slt i32 %132, 0 br i1 %133, label %134, label %136 134: ; preds = %126 %135 = load i32, ptr @AVERROR_INVALIDDATA, align 4, !tbaa !23 br label %263 136: ; preds = %126 %137 = sub nsw i32 %15, %132 %138 = getelementptr inbounds i32, ptr %119, i64 %121 store i32 %137, ptr %138, align 4, !tbaa !23 %139 = add nuw nsw i64 %121, 1 %140 = icmp eq i64 %139, %90 br i1 %140, label %141, label %120, !llvm.loop !43 141: ; preds = %136, %117 %142 = getelementptr inbounds i32, ptr %119, i64 %89 %143 = add nuw nsw i32 %118, 1 %144 = icmp eq i32 %143, %45 br i1 %144, label %145, label %117, !llvm.loop !44 145: ; preds = %113, %141, %96, %85 switch i32 %74, label %261 [ i32 129, label %146 i32 130, label %176 i32 128, label %231 ] 146: ; preds = %145 %147 = load ptr, ptr %30, align 8, !tbaa !34 %148 = getelementptr inbounds i64, ptr %147, i64 %35 %149 = load i64, ptr %148, align 8, !tbaa !35 %150 = inttoptr i64 %149 to ptr %151 = getelementptr inbounds i32, ptr %150, i64 %81 %152 = load ptr, ptr %32, align 8, !tbaa !45 %153 = call i32 %152(ptr noundef %151, ptr noundef %151, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %154 = sext i32 %59 to i64 %155 = getelementptr inbounds i32, ptr %151, i64 %154 br i1 %33, label %160, label %156 156: ; preds = %146 %157 = load ptr, ptr %32, align 8, !tbaa !45 %158 = call i32 %157(ptr noundef %155, ptr noundef %155, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %159 = getelementptr inbounds i32, ptr %155, i64 %154 br label %160 160: ; preds = %156, %146 %161 = phi ptr [ %159, %156 ], [ %155, %146 ] %162 = icmp slt i32 %26, %45 br i1 %162, label %163, label %265 163: ; preds = %160 %164 = sub nsw i32 0, %60 %165 = sext i32 %164 to i64 br label %166 166: ; preds = %163, %166 %167 = phi i32 [ %26, %163 ], [ %174, %166 ] %168 = phi ptr [ %161, %163 ], [ %173, %166 ] %169 = load ptr, ptr %32, align 8, !tbaa !45 %170 = getelementptr inbounds i32, ptr %168, i64 %165 %171 = load i32, ptr %170, align 4, !tbaa !23 %172 = call i32 %169(ptr noundef %168, ptr noundef %168, i32 noundef %15, i32 noundef %50, i32 noundef %171) #3 %173 = getelementptr inbounds i32, ptr %168, i64 %154 %174 = add i32 %167, 1 %175 = icmp eq i32 %174, %45 br i1 %175, label %265, label %166, !llvm.loop !46 176: ; preds = %145 %177 = load ptr, ptr %30, align 8, !tbaa !34 %178 = getelementptr inbounds i64, ptr %177, i64 %35 %179 = load i64, ptr %178, align 8, !tbaa !35 %180 = inttoptr i64 %179 to ptr %181 = getelementptr inbounds i32, ptr %180, i64 %81 %182 = load ptr, ptr %32, align 8, !tbaa !45 %183 = call i32 %182(ptr noundef %181, ptr noundef %181, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %184 = sext i32 %59 to i64 %185 = getelementptr inbounds i32, ptr %181, i64 %184 br i1 %33, label %190, label %186 186: ; preds = %176 %187 = load ptr, ptr %32, align 8, !tbaa !45 %188 = call i32 %187(ptr noundef %185, ptr noundef %185, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %189 = getelementptr inbounds i32, ptr %185, i64 %184 br label %190 190: ; preds = %186, %176 %191 = phi ptr [ %189, %186 ], [ %185, %176 ] %192 = icmp slt i32 %26, %45 br i1 %192, label %193, label %265 193: ; preds = %190 %194 = sub nsw i32 0, %60 %195 = sext i32 %194 to i64 %196 = icmp sgt i32 %50, 1 %197 = xor i32 %60, -1 %198 = sext i32 %60 to i64 %199 = zext nneg i32 %50 to i64 br label %200 200: ; preds = %193, %227 %201 = phi i32 [ %26, %193 ], [ %229, %227 ] %202 = phi ptr [ %191, %193 ], [ %228, %227 ] %203 = getelementptr inbounds i32, ptr %202, i64 %195 %204 = load i32, ptr %203, align 4, !tbaa !23 %205 = load i32, ptr %202, align 4, !tbaa !23 %206 = add nsw i32 %205, %204 store i32 %206, ptr %6, align 4, !tbaa !23 %207 = and i32 %206, %15 store i32 %207, ptr %202, align 4, !tbaa !23 br i1 %196, label %208, label %227 208: ; preds = %200, %208 %209 = phi i64 [ %225, %208 ], [ 1, %200 ] %210 = sub nsw i64 %209, %198 %211 = getelementptr inbounds i32, ptr %202, i64 %210 %212 = load i32, ptr %211, align 4, !tbaa !23 %213 = trunc nuw nsw i64 %209 to i32 %214 = add i32 %213, %197 %215 = sext i32 %214 to i64 %216 = getelementptr inbounds i32, ptr %202, i64 %215 %217 = load i32, ptr %216, align 4, !tbaa !23 store i32 %217, ptr %7, align 4, !tbaa !23 %218 = sub i32 %212, %217 %219 = getelementptr inbounds i32, ptr %202, i64 %209 %220 = load i32, ptr %219, align 4, !tbaa !23 %221 = add nsw i32 %218, %220 %222 = load i32, ptr %6, align 4, !tbaa !23 %223 = add nsw i32 %221, %222 store i32 %223, ptr %6, align 4, !tbaa !23 %224 = and i32 %223, %15 store i32 %224, ptr %219, align 4, !tbaa !23 %225 = add nuw nsw i64 %209, 1 %226 = icmp eq i64 %225, %199 br i1 %226, label %227, label %208, !llvm.loop !47 227: ; preds = %208, %200 %228 = getelementptr inbounds i32, ptr %202, i64 %184 %229 = add nsw i32 %201, 1 %230 = icmp eq i32 %229, %45 br i1 %230, label %265, label %200, !llvm.loop !48 231: ; preds = %145 %232 = load ptr, ptr %30, align 8, !tbaa !34 %233 = getelementptr inbounds i64, ptr %232, i64 %35 %234 = load i64, ptr %233, align 8, !tbaa !35 %235 = inttoptr i64 %234 to ptr %236 = getelementptr inbounds i32, ptr %235, i64 %81 %237 = load ptr, ptr %32, align 8, !tbaa !45 %238 = call i32 %237(ptr noundef %236, ptr noundef %236, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %239 = sext i32 %59 to i64 %240 = getelementptr inbounds i32, ptr %236, i64 %239 br i1 %33, label %245, label %241 241: ; preds = %231 %242 = load ptr, ptr %32, align 8, !tbaa !45 %243 = call i32 %242(ptr noundef %240, ptr noundef %240, i32 noundef %15, i32 noundef %50, i32 noundef 0) #3 %244 = getelementptr inbounds i32, ptr %240, i64 %239 br label %245 245: ; preds = %241, %231 %246 = phi ptr [ %244, %241 ], [ %240, %231 ] %247 = load i32, ptr %246, align 4, !tbaa !23 store i32 %247, ptr %6, align 4, !tbaa !23 store i32 %247, ptr %7, align 4, !tbaa !23 %248 = icmp slt i32 %26, %45 br i1 %248, label %249, label %265 249: ; preds = %245 %250 = sext i32 %60 to i64 %251 = sub nsw i64 0, %250 br label %252 252: ; preds = %249, %252 %253 = phi i32 [ %26, %249 ], [ %259, %252 ] %254 = phi ptr [ %246, %249 ], [ %258, %252 ] %255 = getelementptr inbounds i32, ptr %254, i64 %251 %256 = call i32 @magicyuv_median_pred16(ptr noundef nonnull %254, ptr noundef %255, ptr noundef nonnull %254, i32 noundef %50, ptr noundef nonnull %6, ptr noundef nonnull %7, i32 noundef %15) #3 %257 = load i32, ptr %254, align 4, !tbaa !23 store i32 %257, ptr %6, align 4, !tbaa !23 store i32 %257, ptr %7, align 4, !tbaa !23 %258 = getelementptr inbounds i32, ptr %254, i64 %239 %259 = add i32 %253, 1 %260 = icmp eq i32 %259, %45 br i1 %260, label %265, label %252, !llvm.loop !49 261: ; preds = %145 %262 = call i32 @avpriv_request_sample(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %74) #3 br label %265 263: ; preds = %34, %134, %124, %102 %264 = phi i32 [ %103, %102 ], [ %135, %134 ], [ %125, %124 ], [ %70, %34 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 br label %411 265: ; preds = %252, %227, %166, %245, %190, %160, %261 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 %266 = add nuw nsw i64 %35, 1 %267 = load i32, ptr %18, align 4, !tbaa !19 %268 = sext i32 %267 to i64 %269 = icmp slt i64 %266, %268 br i1 %269, label %34, label %270, !llvm.loop !50 270: ; preds = %265, %4 %271 = getelementptr inbounds i8, ptr %9, i64 24 %272 = load i64, ptr %271, align 8, !tbaa !51 %273 = icmp eq i64 %272, 0 br i1 %273, label %411, label %274 274: ; preds = %270 %275 = getelementptr inbounds i8, ptr %9, i64 16 %276 = load i32, ptr %275, align 8, !tbaa !20 %277 = getelementptr inbounds i8, ptr %0, i64 8 %278 = load i64, ptr %277, align 8, !tbaa !21 %279 = mul nsw i32 %276, %2 %280 = sext i32 %279 to i64 %281 = sub nsw i64 %278, %280 %282 = call i32 @FFMIN(i32 noundef %276, i64 noundef %281) #3 %283 = load ptr, ptr %17, align 8, !tbaa !26 %284 = getelementptr inbounds i8, ptr %283, i64 4 %285 = getelementptr inbounds i8, ptr %283, i64 8 %286 = icmp sgt i32 %282, 0 br i1 %286, label %287, label %411 287: ; preds = %274 %288 = load i32, ptr %0, align 8, !tbaa !24 %289 = getelementptr inbounds i8, ptr %17, i64 8 %290 = load ptr, ptr %289, align 8, !tbaa !34 %291 = getelementptr inbounds i8, ptr %290, i64 16 %292 = load i64, ptr %291, align 8, !tbaa !35 %293 = inttoptr i64 %292 to ptr %294 = load i32, ptr %285, align 4, !tbaa !23 %295 = load i32, ptr %275, align 8, !tbaa !20 %296 = mul nsw i32 %295, %2 %297 = mul nsw i32 %294, %296 %298 = sdiv i32 %297, 2 %299 = sext i32 %298 to i64 %300 = getelementptr inbounds i32, ptr %293, i64 %299 %301 = getelementptr inbounds i8, ptr %290, i64 8 %302 = load i64, ptr %301, align 8, !tbaa !35 %303 = inttoptr i64 %302 to ptr %304 = load i32, ptr %284, align 4, !tbaa !23 %305 = mul nsw i32 %304, %296 %306 = sdiv i32 %305, 2 %307 = sext i32 %306 to i64 %308 = getelementptr inbounds i32, ptr %303, i64 %307 %309 = load i64, ptr %290, align 8, !tbaa !35 %310 = inttoptr i64 %309 to ptr %311 = load i32, ptr %283, align 4, !tbaa !23 %312 = mul nsw i32 %311, %296 %313 = sdiv i32 %312, 2 %314 = sext i32 %313 to i64 %315 = getelementptr inbounds i32, ptr %310, i64 %314 %316 = icmp sgt i32 %288, 0 %317 = zext i32 %288 to i64 %318 = shl nuw nsw i64 %317, 2 %319 = icmp ult i32 %288, 8 %320 = and i64 %317, 2147483640 %321 = insertelement <4 x i32> poison, i32 %15, i64 0 %322 = shufflevector <4 x i32> %321, <4 x i32> poison, <4 x i32> zeroinitializer %323 = icmp eq i64 %320, %317 br label %324 324: ; preds = %287, %396 %325 = phi i32 [ %294, %287 ], [ %397, %396 ] %326 = phi i32 [ %304, %287 ], [ %398, %396 ] %327 = phi i32 [ %311, %287 ], [ %399, %396 ] %328 = phi ptr [ %300, %287 ], [ %402, %396 ] %329 = phi ptr [ %308, %287 ], [ %405, %396 ] %330 = phi ptr [ %315, %287 ], [ %408, %396 ] %331 = phi i32 [ 0, %287 ], [ %409, %396 ] br i1 %316, label %332, label %396 332: ; preds = %324 br i1 %319, label %375, label %333 333: ; preds = %332 %334 = getelementptr i8, ptr %328, i64 %318 %335 = getelementptr i8, ptr %330, i64 %318 %336 = getelementptr i8, ptr %329, i64 %318 %337 = icmp ult ptr %328, %335 %338 = icmp ult ptr %330, %334 %339 = and i1 %337, %338 %340 = icmp ult ptr %328, %336 %341 = icmp ult ptr %329, %334 %342 = and i1 %340, %341 %343 = or i1 %339, %342 %344 = icmp ult ptr %330, %336 %345 = icmp ult ptr %329, %335 %346 = and i1 %344, %345 %347 = or i1 %343, %346 br i1 %347, label %375, label %348 348: ; preds = %333, %348 %349 = phi i64 [ %372, %348 ], [ 0, %333 ] %350 = getelementptr inbounds i32, ptr %328, i64 %349 %351 = getelementptr inbounds i8, ptr %350, i64 16 %352 = load <4 x i32>, ptr %350, align 4, !tbaa !23, !alias.scope !52, !noalias !55 %353 = load <4 x i32>, ptr %351, align 4, !tbaa !23, !alias.scope !52, !noalias !55 %354 = getelementptr inbounds i32, ptr %329, i64 %349 %355 = getelementptr inbounds i8, ptr %354, i64 16 %356 = load <4 x i32>, ptr %354, align 4, !tbaa !23, !alias.scope !58 %357 = load <4 x i32>, ptr %355, align 4, !tbaa !23, !alias.scope !58 %358 = add nsw <4 x i32> %356, %352 %359 = add nsw <4 x i32> %357, %353 %360 = and <4 x i32> %358, %322 %361 = and <4 x i32> %359, %322 store <4 x i32> %360, ptr %350, align 4, !tbaa !23, !alias.scope !52, !noalias !55 store <4 x i32> %361, ptr %351, align 4, !tbaa !23, !alias.scope !52, !noalias !55 %362 = getelementptr inbounds i32, ptr %330, i64 %349 %363 = getelementptr inbounds i8, ptr %362, i64 16 %364 = load <4 x i32>, ptr %362, align 4, !tbaa !23, !alias.scope !59, !noalias !58 %365 = load <4 x i32>, ptr %363, align 4, !tbaa !23, !alias.scope !59, !noalias !58 %366 = load <4 x i32>, ptr %354, align 4, !tbaa !23, !alias.scope !58 %367 = load <4 x i32>, ptr %355, align 4, !tbaa !23, !alias.scope !58 %368 = add nsw <4 x i32> %366, %364 %369 = add nsw <4 x i32> %367, %365 %370 = and <4 x i32> %368, %322 %371 = and <4 x i32> %369, %322 store <4 x i32> %370, ptr %362, align 4, !tbaa !23, !alias.scope !59, !noalias !58 store <4 x i32> %371, ptr %363, align 4, !tbaa !23, !alias.scope !59, !noalias !58 %372 = add nuw i64 %349, 8 %373 = icmp eq i64 %372, %320 br i1 %373, label %374, label %348, !llvm.loop !60 374: ; preds = %348 br i1 %323, label %392, label %375 375: ; preds = %374, %333, %332 %376 = phi i64 [ 0, %333 ], [ 0, %332 ], [ %320, %374 ] br label %377 377: ; preds = %375, %377 %378 = phi i64 [ %390, %377 ], [ %376, %375 ] %379 = getelementptr inbounds i32, ptr %328, i64 %378 %380 = load i32, ptr %379, align 4, !tbaa !23 %381 = getelementptr inbounds i32, ptr %329, i64 %378 %382 = load i32, ptr %381, align 4, !tbaa !23 %383 = add nsw i32 %382, %380 %384 = and i32 %383, %15 store i32 %384, ptr %379, align 4, !tbaa !23 %385 = getelementptr inbounds i32, ptr %330, i64 %378 %386 = load i32, ptr %385, align 4, !tbaa !23 %387 = load i32, ptr %381, align 4, !tbaa !23 %388 = add nsw i32 %387, %386 %389 = and i32 %388, %15 store i32 %389, ptr %385, align 4, !tbaa !23 %390 = add nuw nsw i64 %378, 1 %391 = icmp eq i64 %390, %317 br i1 %391, label %392, label %377, !llvm.loop !63 392: ; preds = %377, %374 %393 = load i32, ptr %283, align 4, !tbaa !23 %394 = load i32, ptr %284, align 4, !tbaa !23 %395 = load i32, ptr %285, align 4, !tbaa !23 br label %396 396: ; preds = %392, %324 %397 = phi i32 [ %395, %392 ], [ %325, %324 ] %398 = phi i32 [ %394, %392 ], [ %326, %324 ] %399 = phi i32 [ %393, %392 ], [ %327, %324 ] %400 = sdiv i32 %399, 2 %401 = sext i32 %400 to i64 %402 = getelementptr inbounds i32, ptr %328, i64 %401 %403 = sdiv i32 %398, 2 %404 = sext i32 %403 to i64 %405 = getelementptr inbounds i32, ptr %329, i64 %404 %406 = sdiv i32 %397, 2 %407 = sext i32 %406 to i64 %408 = getelementptr inbounds i32, ptr %330, i64 %407 %409 = add nuw nsw i32 %331, 1 %410 = icmp eq i32 %409, %282 br i1 %410, label %411, label %324, !llvm.loop !64 411: ; preds = %396, %274, %263, %270 %412 = phi i32 [ %264, %263 ], [ 0, %270 ], [ 0, %274 ], [ 0, %396 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %412 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @AV_CEIL_RSHIFT(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FFMIN(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @init_get_bits8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_bits(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @get_bits_left(ptr noundef) local_unnamed_addr #2 declare i32 @get_vlc2(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @magicyuv_median_pred16(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avpriv_request_sample(ptr noundef, 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, !12, i64 16} !7 = !{!"TYPE_14__", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !11, i64 24, !15, i64 32, !12, i64 40, !12, i64 48, !11, i64 56, !12, i64 64, !12, i64 72, !12, i64 80} !15 = !{!"TYPE_10__", !12, i64 0} !16 = !{!14, !8, i64 4} !17 = !{!14, !8, i64 8} !18 = !{!14, !12, i64 80} !19 = !{!14, !8, i64 12} !20 = !{!14, !8, i64 16} !21 = !{!7, !11, i64 8} !22 = !{!14, !12, i64 64} !23 = !{!8, !8, i64 0} !24 = !{!7, !8, i64 0} !25 = !{!14, !12, i64 72} !26 = !{!27, !12, i64 0} !27 = !{!"TYPE_13__", !12, i64 0, !12, i64 8} !28 = !{!14, !11, i64 56} !29 = !{!14, !12, i64 48} !30 = !{!12, !12, i64 0} !31 = !{!32, !11, i64 8} !32 = !{!"TYPE_11__", !8, i64 0, !11, i64 8} !33 = !{!32, !8, i64 0} !34 = !{!27, !12, i64 8} !35 = !{!11, !11, i64 0} !36 = distinct !{!36, !37} !37 = !{!"llvm.loop.mustprogress"} !38 = distinct !{!38, !37} !39 = !{!14, !12, i64 40} !40 = !{!41, !8, i64 4} !41 = !{!"TYPE_9__", !8, i64 0, !8, i64 4} !42 = !{!41, !8, i64 0} !43 = distinct !{!43, !37} !44 = distinct !{!44, !37} !45 = !{!14, !12, i64 32} !46 = distinct !{!46, !37} !47 = distinct !{!47, !37} !48 = distinct !{!48, !37} !49 = distinct !{!49, !37} !50 = distinct !{!50, !37} !51 = !{!14, !11, i64 24} !52 = !{!53} !53 = distinct !{!53, !54} !54 = distinct !{!54, !"LVerDomain"} !55 = !{!56, !57} !56 = distinct !{!56, !54} !57 = distinct !{!57, !54} !58 = !{!57} !59 = !{!56} !60 = distinct !{!60, !37, !61, !62} !61 = !{!"llvm.loop.isvectorized", i32 1} !62 = !{!"llvm.loop.unroll.runtime.disable"} !63 = distinct !{!63, !37, !61} !64 = distinct !{!64, !37}
FFmpeg_libavcodec_extr_magicyuv.c_magy_decode_slice10
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rtpdec_asf.c_asfrtp_parse_sdp_line.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_rtpdec_asf.c_asfrtp_parse_sdp_line.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { ptr, ptr } %struct.TYPE_8__ = type { i32, ptr } %struct.TYPE_11__ = type { i64, i32, i32 } %struct.TYPE_7__ = type { i64, i32, i32 } @.str = private unnamed_addr constant [8 x i8] c"stream:\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @asfrtp_parse_sdp_line], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @asfrtp_parse_sdp_line(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture readnone %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 store ptr %3, ptr %5, align 8, !tbaa !5 %6 = icmp slt i32 %1, 0 br i1 %6, label %64, label %7 7: ; preds = %4 %8 = call i64 @av_strstart(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull %5) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %64, label %10 10: ; preds = %7 %11 = getelementptr inbounds %struct.TYPE_10__, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !9 %13 = load ptr, ptr %5, align 8, !tbaa !5 %14 = call i64 @strtol(ptr nocapture noundef %13, ptr noundef null, i32 noundef 10) %15 = load ptr, ptr %0, align 8, !tbaa !11 %16 = zext nneg i32 %1 to i64 %17 = getelementptr inbounds ptr, ptr %15, i64 %16 %18 = load ptr, ptr %17, align 8, !tbaa !5 store i64 %14, ptr %18, align 8, !tbaa !12 %19 = load ptr, ptr %12, align 8, !tbaa !16 %20 = icmp eq ptr %19, null br i1 %20, label %64, label %21 21: ; preds = %10 %22 = load i32, ptr %19, align 8, !tbaa !18 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %64 24: ; preds = %21, %58 %25 = phi i32 [ %59, %58 ], [ %22, %21 ] %26 = phi ptr [ %60, %58 ], [ %19, %21 ] %27 = phi i64 [ %61, %58 ], [ 0, %21 ] %28 = load ptr, ptr %0, align 8, !tbaa !11 %29 = getelementptr inbounds ptr, ptr %28, i64 %16 %30 = load ptr, ptr %29, align 8, !tbaa !5 %31 = load i64, ptr %30, align 8, !tbaa !12 %32 = getelementptr inbounds %struct.TYPE_8__, ptr %26, i64 0, i32 1 %33 = load ptr, ptr %32, align 8, !tbaa !20 %34 = getelementptr inbounds ptr, ptr %33, i64 %27 %35 = load ptr, ptr %34, align 8, !tbaa !5 %36 = load i64, ptr %35, align 8, !tbaa !21 %37 = icmp eq i64 %31, %36 br i1 %37, label %38, label %58 38: ; preds = %24 %39 = getelementptr inbounds %struct.TYPE_11__, ptr %30, i64 0, i32 2 %40 = load i32, ptr %39, align 4, !tbaa !23 %41 = getelementptr inbounds %struct.TYPE_7__, ptr %35, i64 0, i32 2 %42 = load i32, ptr %41, align 4, !tbaa !24 %43 = call i32 @avcodec_parameters_copy(i32 noundef %40, i32 noundef %42) #3 %44 = load ptr, ptr %12, align 8, !tbaa !16 %45 = getelementptr inbounds %struct.TYPE_8__, ptr %44, i64 0, i32 1 %46 = load ptr, ptr %45, align 8, !tbaa !20 %47 = getelementptr inbounds ptr, ptr %46, i64 %27 %48 = load ptr, ptr %47, align 8, !tbaa !5 %49 = getelementptr inbounds %struct.TYPE_7__, ptr %48, i64 0, i32 1 %50 = load i32, ptr %49, align 8, !tbaa !25 %51 = load ptr, ptr %0, align 8, !tbaa !11 %52 = getelementptr inbounds ptr, ptr %51, i64 %16 %53 = load ptr, ptr %52, align 8, !tbaa !5 %54 = getelementptr inbounds %struct.TYPE_11__, ptr %53, i64 0, i32 1 store i32 %50, ptr %54, align 8, !tbaa !26 %55 = call i32 @avpriv_set_pts_info(ptr noundef %53, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #3 %56 = load ptr, ptr %12, align 8, !tbaa !16 %57 = load i32, ptr %56, align 8, !tbaa !18 br label %58 58: ; preds = %24, %38 %59 = phi i32 [ %25, %24 ], [ %57, %38 ] %60 = phi ptr [ %26, %24 ], [ %56, %38 ] %61 = add nuw nsw i64 %27, 1 %62 = sext i32 %59 to i64 %63 = icmp slt i64 %61, %62 br i1 %63, label %24, label %64, !llvm.loop !27 64: ; preds = %58, %21, %7, %10, %4 ret i32 0 } declare i64 @av_strstart(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avcodec_parameters_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avpriv_set_pts_info(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"TYPE_10__", !6, i64 0, !6, i64 8} !11 = !{!10, !6, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_11__", !14, i64 0, !15, i64 8, !15, i64 12} !14 = !{!"long", !7, i64 0} !15 = !{!"int", !7, i64 0} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_9__", !6, i64 0} !18 = !{!19, !15, i64 0} !19 = !{!"TYPE_8__", !15, i64 0, !6, i64 8} !20 = !{!19, !6, i64 8} !21 = !{!22, !14, i64 0} !22 = !{!"TYPE_7__", !14, i64 0, !15, i64 8, !15, i64 12} !23 = !{!13, !15, i64 12} !24 = !{!22, !15, i64 12} !25 = !{!22, !15, i64 8} !26 = !{!13, !15, i64 8} !27 = distinct !{!27, !28} !28 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_rtpdec_asf.c_asfrtp_parse_sdp_line.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_rtpdec_asf.c_asfrtp_parse_sdp_line.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"stream:\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @asfrtp_parse_sdp_line], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @asfrtp_parse_sdp_line(ptr nocapture noundef readonly %0, i32 noundef %1, ptr nocapture readnone %2, ptr noundef %3) #0 { %5 = alloca ptr, align 8 store ptr %3, ptr %5, align 8, !tbaa !6 %6 = icmp slt i32 %1, 0 br i1 %6, label %64, label %7 7: ; preds = %4 %8 = call i64 @av_strstart(ptr noundef %3, ptr noundef nonnull @.str, ptr noundef nonnull %5) #3 %9 = icmp eq i64 %8, 0 br i1 %9, label %64, label %10 10: ; preds = %7 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = load ptr, ptr %5, align 8, !tbaa !6 %14 = call i64 @strtol(ptr nocapture noundef %13, ptr noundef null, i32 noundef 10) %15 = load ptr, ptr %0, align 8, !tbaa !12 %16 = zext nneg i32 %1 to i64 %17 = getelementptr inbounds ptr, ptr %15, i64 %16 %18 = load ptr, ptr %17, align 8, !tbaa !6 store i64 %14, ptr %18, align 8, !tbaa !13 %19 = load ptr, ptr %12, align 8, !tbaa !17 %20 = icmp eq ptr %19, null br i1 %20, label %64, label %21 21: ; preds = %10 %22 = load i32, ptr %19, align 8, !tbaa !19 %23 = icmp sgt i32 %22, 0 br i1 %23, label %24, label %64 24: ; preds = %21, %58 %25 = phi i32 [ %59, %58 ], [ %22, %21 ] %26 = phi ptr [ %60, %58 ], [ %19, %21 ] %27 = phi i64 [ %61, %58 ], [ 0, %21 ] %28 = load ptr, ptr %0, align 8, !tbaa !12 %29 = getelementptr inbounds ptr, ptr %28, i64 %16 %30 = load ptr, ptr %29, align 8, !tbaa !6 %31 = load i64, ptr %30, align 8, !tbaa !13 %32 = getelementptr inbounds i8, ptr %26, i64 8 %33 = load ptr, ptr %32, align 8, !tbaa !21 %34 = getelementptr inbounds ptr, ptr %33, i64 %27 %35 = load ptr, ptr %34, align 8, !tbaa !6 %36 = load i64, ptr %35, align 8, !tbaa !22 %37 = icmp eq i64 %31, %36 br i1 %37, label %38, label %58 38: ; preds = %24 %39 = getelementptr inbounds i8, ptr %30, i64 12 %40 = load i32, ptr %39, align 4, !tbaa !24 %41 = getelementptr inbounds i8, ptr %35, i64 12 %42 = load i32, ptr %41, align 4, !tbaa !25 %43 = call i32 @avcodec_parameters_copy(i32 noundef %40, i32 noundef %42) #3 %44 = load ptr, ptr %12, align 8, !tbaa !17 %45 = getelementptr inbounds i8, ptr %44, i64 8 %46 = load ptr, ptr %45, align 8, !tbaa !21 %47 = getelementptr inbounds ptr, ptr %46, i64 %27 %48 = load ptr, ptr %47, align 8, !tbaa !6 %49 = getelementptr inbounds i8, ptr %48, i64 8 %50 = load i32, ptr %49, align 8, !tbaa !26 %51 = load ptr, ptr %0, align 8, !tbaa !12 %52 = getelementptr inbounds ptr, ptr %51, i64 %16 %53 = load ptr, ptr %52, align 8, !tbaa !6 %54 = getelementptr inbounds i8, ptr %53, i64 8 store i32 %50, ptr %54, align 8, !tbaa !27 %55 = call i32 @avpriv_set_pts_info(ptr noundef %53, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #3 %56 = load ptr, ptr %12, align 8, !tbaa !17 %57 = load i32, ptr %56, align 8, !tbaa !19 br label %58 58: ; preds = %24, %38 %59 = phi i32 [ %25, %24 ], [ %57, %38 ] %60 = phi ptr [ %26, %24 ], [ %56, %38 ] %61 = add nuw nsw i64 %27, 1 %62 = sext i32 %59 to i64 %63 = icmp slt i64 %61, %62 br i1 %63, label %24, label %64, !llvm.loop !28 64: ; preds = %58, %21, %7, %10, %4 ret i32 0 } declare i64 @av_strstart(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #2 declare i32 @avcodec_parameters_copy(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avpriv_set_pts_info(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nofree nounwind willreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"TYPE_10__", !7, i64 0, !7, i64 8} !12 = !{!11, !7, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_11__", !15, i64 0, !16, i64 8, !16, i64 12} !15 = !{!"long", !8, i64 0} !16 = !{!"int", !8, i64 0} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_9__", !7, i64 0} !19 = !{!20, !16, i64 0} !20 = !{!"TYPE_8__", !16, i64 0, !7, i64 8} !21 = !{!20, !7, i64 8} !22 = !{!23, !15, i64 0} !23 = !{!"TYPE_7__", !15, i64 0, !16, i64 8, !16, i64 12} !24 = !{!14, !16, i64 12} !25 = !{!23, !16, i64 12} !26 = !{!23, !16, i64 8} !27 = !{!14, !16, i64 8} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
FFmpeg_libavformat_extr_rtpdec_asf.c_asfrtp_parse_sdp_line
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rarpd/extr_rarpd.c_init_one.c' source_filename = "AnghaBench/freebsd/usr.sbin/rarpd/extr_rarpd.c_init_one.c" target datalayout = "e-m:e-p270:32:32-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.ifaddrs = type { i32, ptr, ptr, i32 } %struct.if_info = type { ptr, i32, i64, i64, i32, ptr } @IFF_UP = dso_local local_unnamed_addr global i32 0, align 4 @IFF_LOOPBACK = dso_local local_unnamed_addr global i32 0, align 4 @IFF_POINTOPOINT = dso_local local_unnamed_addr global i32 0, align 4 @iflist = dso_local local_unnamed_addr global ptr null, align 8 @LOG_ERR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"malloc: %m\00", align 1 @pidfile_fh = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_one], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @init_one(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.ifaddrs, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr %5, align 4, !tbaa !11 switch i32 %6, label %115 [ i32 131, label %7 i32 130, label %9 ] 7: ; preds = %3 %8 = icmp eq i32 %2, 0 br i1 %8, label %9, label %115 9: ; preds = %7, %3 %10 = load i32, ptr %0, align 8, !tbaa !13 %11 = load i32, ptr @IFF_UP, align 4, !tbaa !14 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %115, label %14 14: ; preds = %9 %15 = load i32, ptr @IFF_LOOPBACK, align 4, !tbaa !14 %16 = load i32, ptr @IFF_POINTOPOINT, align 4, !tbaa !14 %17 = or i32 %16, %15 %18 = and i32 %17, %10 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %115 20: ; preds = %14 %21 = icmp eq ptr %1, null br i1 %21, label %27, label %22 22: ; preds = %20 %23 = getelementptr inbounds %struct.ifaddrs, ptr %0, i64 0, i32 3 %24 = load i32, ptr %23, align 8, !tbaa !15 %25 = tail call i64 @strcmp(i32 noundef %24, ptr noundef nonnull %1) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %115 27: ; preds = %22, %20 %28 = load ptr, ptr @iflist, align 8, !tbaa !16 %29 = icmp eq ptr %28, null br i1 %29, label %44, label %30 30: ; preds = %27 %31 = getelementptr inbounds %struct.ifaddrs, ptr %0, i64 0, i32 3 br label %32 32: ; preds = %30, %38 %33 = phi ptr [ %28, %30 ], [ %40, %38 ] %34 = load i32, ptr %31, align 8, !tbaa !15 %35 = load ptr, ptr %33, align 8, !tbaa !17 %36 = tail call i64 @strcmp(i32 noundef %34, ptr noundef %35) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %32 %39 = getelementptr inbounds %struct.if_info, ptr %33, i64 0, i32 5 %40 = load ptr, ptr %39, align 8, !tbaa !16 %41 = icmp eq ptr %40, null br i1 %41, label %44, label %32, !llvm.loop !20 42: ; preds = %32 %43 = icmp eq i32 %2, 0 br i1 %43, label %61, label %115 44: ; preds = %38, %27 %45 = tail call i64 @malloc(i32 noundef 48) #3 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr @LOG_ERR, align 4, !tbaa !14 %49 = tail call i32 @logmsg(i32 noundef %48, ptr noundef nonnull @.str) #3 %50 = load i32, ptr @pidfile_fh, align 4, !tbaa !14 %51 = tail call i32 @pidfile_remove(i32 noundef %50) #3 %52 = tail call i32 @exit(i32 noundef 1) #4 unreachable 53: ; preds = %44 %54 = inttoptr i64 %45 to ptr %55 = tail call i32 @bzero(ptr noundef nonnull %54, i32 noundef 48) #3 %56 = getelementptr inbounds %struct.if_info, ptr %54, i64 0, i32 1 store i32 -1, ptr %56, align 8, !tbaa !22 %57 = load ptr, ptr %54, align 8, !tbaa !17 %58 = getelementptr inbounds %struct.ifaddrs, ptr %0, i64 0, i32 3 %59 = load i32, ptr %58, align 8, !tbaa !15 %60 = tail call i32 @strlcpy(ptr noundef %57, i32 noundef %59, i32 noundef 8) #3 br label %78 61: ; preds = %42 %62 = getelementptr inbounds %struct.if_info, ptr %33, i64 0, i32 2 %63 = load i64, ptr %62, align 8, !tbaa !23 %64 = icmp eq i64 %63, 0 br i1 %64, label %82, label %65 65: ; preds = %61 %66 = tail call i64 @malloc(i32 noundef 48) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %65 %69 = load i32, ptr @LOG_ERR, align 4, !tbaa !14 %70 = tail call i32 @logmsg(i32 noundef %69, ptr noundef nonnull @.str) #3 %71 = load i32, ptr @pidfile_fh, align 4, !tbaa !14 %72 = tail call i32 @pidfile_remove(i32 noundef %71) #3 %73 = tail call i32 @exit(i32 noundef 1) #4 unreachable 74: ; preds = %65 %75 = inttoptr i64 %66 to ptr %76 = tail call i32 @memcpy(ptr noundef nonnull %75, ptr noundef nonnull %33, i32 noundef 48) #3 %77 = getelementptr inbounds %struct.if_info, ptr %75, i64 0, i32 1 store i32 -1, ptr %77, align 8, !tbaa !22 br label %78 78: ; preds = %53, %74 %79 = phi ptr [ %75, %74 ], [ %54, %53 ] %80 = load ptr, ptr @iflist, align 8, !tbaa !16 %81 = getelementptr inbounds %struct.if_info, ptr %79, i64 0, i32 5 store ptr %80, ptr %81, align 8, !tbaa !24 store ptr %79, ptr @iflist, align 8, !tbaa !16 br label %82 82: ; preds = %78, %61 %83 = phi ptr [ %33, %61 ], [ %79, %78 ] switch i32 %6, label %115 [ i32 131, label %84 i32 130, label %105 ] 84: ; preds = %82 %85 = load ptr, ptr %4, align 8, !tbaa !5 %86 = tail call ptr @SATOSIN(ptr noundef %85) #3 %87 = load i64, ptr %86, align 8, !tbaa !25 %88 = getelementptr inbounds %struct.if_info, ptr %83, i64 0, i32 2 store i64 %87, ptr %88, align 8, !tbaa !23 %89 = getelementptr inbounds %struct.ifaddrs, ptr %0, i64 0, i32 2 %90 = load ptr, ptr %89, align 8, !tbaa !28 %91 = tail call ptr @SATOSIN(ptr noundef %90) #3 %92 = load i64, ptr %91, align 8, !tbaa !25 %93 = getelementptr inbounds %struct.if_info, ptr %83, i64 0, i32 3 store i64 %92, ptr %93, align 8, !tbaa !29 %94 = icmp eq i64 %92, 0 br i1 %94, label %95, label %98 95: ; preds = %84 %96 = load i64, ptr %88, align 8, !tbaa !23 %97 = tail call i64 @ipaddrtonetmask(i64 noundef %96) #3 store i64 %97, ptr %93, align 8, !tbaa !29 br label %98 98: ; preds = %95, %84 %99 = getelementptr inbounds %struct.if_info, ptr %83, i64 0, i32 1 %100 = load i32, ptr %99, align 8, !tbaa !22 %101 = icmp slt i32 %100, 0 br i1 %101, label %102, label %115 102: ; preds = %98 %103 = load ptr, ptr %83, align 8, !tbaa !17 %104 = tail call i32 @rarp_open(ptr noundef %103) #3 store i32 %104, ptr %99, align 8, !tbaa !22 br label %115 105: ; preds = %82 %106 = load ptr, ptr %4, align 8, !tbaa !5 %107 = load i32, ptr %106, align 4, !tbaa !30 %108 = and i32 %107, -2 %109 = icmp eq i32 %108, 128 br i1 %109, label %110, label %115 110: ; preds = %105 %111 = tail call i32 @LLADDR(ptr noundef nonnull %106) #3 %112 = getelementptr inbounds %struct.if_info, ptr %83, i64 0, i32 4 %113 = load i32, ptr %112, align 8, !tbaa !32 %114 = tail call i32 @bcopy(i32 noundef %111, i32 noundef %113, i32 noundef 6) #3 br label %115 115: ; preds = %82, %102, %98, %110, %105, %42, %22, %3, %9, %14, %7 ret void } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @logmsg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pidfile_remove(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @SATOSIN(ptr noundef) local_unnamed_addr #1 declare i64 @ipaddrtonetmask(i64 noundef) local_unnamed_addr #1 declare i32 @rarp_open(ptr noundef) local_unnamed_addr #1 declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LLADDR(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 = { noreturn "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ifaddrs", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"TYPE_6__", !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!7, !7, i64 0} !15 = !{!6, !7, i64 24} !16 = !{!10, !10, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"if_info", !10, i64 0, !7, i64 8, !19, i64 16, !19, i64 24, !7, i64 32, !10, i64 40} !19 = !{!"long", !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!18, !7, i64 8} !23 = !{!18, !19, i64 16} !24 = !{!18, !10, i64 40} !25 = !{!26, !19, i64 0} !26 = !{!"TYPE_5__", !27, i64 0} !27 = !{!"TYPE_4__", !19, i64 0} !28 = !{!6, !10, i64 16} !29 = !{!18, !19, i64 24} !30 = !{!31, !7, i64 0} !31 = !{!"sockaddr_dl", !7, i64 0} !32 = !{!18, !7, i64 32}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/rarpd/extr_rarpd.c_init_one.c' source_filename = "AnghaBench/freebsd/usr.sbin/rarpd/extr_rarpd.c_init_one.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IFF_UP = common local_unnamed_addr global i32 0, align 4 @IFF_LOOPBACK = common local_unnamed_addr global i32 0, align 4 @IFF_POINTOPOINT = common local_unnamed_addr global i32 0, align 4 @iflist = common local_unnamed_addr global ptr null, align 8 @LOG_ERR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [11 x i8] c"malloc: %m\00", align 1 @pidfile_fh = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @init_one], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @init_one(ptr nocapture noundef readonly %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr %5, align 4, !tbaa !12 switch i32 %6, label %115 [ i32 131, label %7 i32 130, label %9 ] 7: ; preds = %3 %8 = icmp eq i32 %2, 0 br i1 %8, label %9, label %115 9: ; preds = %7, %3 %10 = load i32, ptr %0, align 8, !tbaa !14 %11 = load i32, ptr @IFF_UP, align 4, !tbaa !15 %12 = and i32 %11, %10 %13 = icmp eq i32 %12, 0 br i1 %13, label %115, label %14 14: ; preds = %9 %15 = load i32, ptr @IFF_LOOPBACK, align 4, !tbaa !15 %16 = load i32, ptr @IFF_POINTOPOINT, align 4, !tbaa !15 %17 = or i32 %16, %15 %18 = and i32 %17, %10 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %115 20: ; preds = %14 %21 = icmp eq ptr %1, null br i1 %21, label %27, label %22 22: ; preds = %20 %23 = getelementptr inbounds i8, ptr %0, i64 24 %24 = load i32, ptr %23, align 8, !tbaa !16 %25 = tail call i64 @strcmp(i32 noundef %24, ptr noundef nonnull %1) #3 %26 = icmp eq i64 %25, 0 br i1 %26, label %27, label %115 27: ; preds = %22, %20 %28 = load ptr, ptr @iflist, align 8, !tbaa !17 %29 = icmp eq ptr %28, null br i1 %29, label %44, label %30 30: ; preds = %27 %31 = getelementptr inbounds i8, ptr %0, i64 24 br label %32 32: ; preds = %30, %38 %33 = phi ptr [ %28, %30 ], [ %40, %38 ] %34 = load i32, ptr %31, align 8, !tbaa !16 %35 = load ptr, ptr %33, align 8, !tbaa !18 %36 = tail call i64 @strcmp(i32 noundef %34, ptr noundef %35) #3 %37 = icmp eq i64 %36, 0 br i1 %37, label %42, label %38 38: ; preds = %32 %39 = getelementptr inbounds i8, ptr %33, i64 40 %40 = load ptr, ptr %39, align 8, !tbaa !17 %41 = icmp eq ptr %40, null br i1 %41, label %44, label %32, !llvm.loop !21 42: ; preds = %32 %43 = icmp eq i32 %2, 0 br i1 %43, label %61, label %115 44: ; preds = %38, %27 %45 = tail call i64 @malloc(i32 noundef 48) #3 %46 = icmp eq i64 %45, 0 br i1 %46, label %47, label %53 47: ; preds = %44 %48 = load i32, ptr @LOG_ERR, align 4, !tbaa !15 %49 = tail call i32 @logmsg(i32 noundef %48, ptr noundef nonnull @.str) #3 %50 = load i32, ptr @pidfile_fh, align 4, !tbaa !15 %51 = tail call i32 @pidfile_remove(i32 noundef %50) #3 %52 = tail call i32 @exit(i32 noundef 1) #4 unreachable 53: ; preds = %44 %54 = inttoptr i64 %45 to ptr %55 = tail call i32 @bzero(ptr noundef nonnull %54, i32 noundef 48) #3 %56 = getelementptr inbounds i8, ptr %54, i64 8 store i32 -1, ptr %56, align 8, !tbaa !23 %57 = load ptr, ptr %54, align 8, !tbaa !18 %58 = getelementptr inbounds i8, ptr %0, i64 24 %59 = load i32, ptr %58, align 8, !tbaa !16 %60 = tail call i32 @strlcpy(ptr noundef %57, i32 noundef %59, i32 noundef 8) #3 br label %78 61: ; preds = %42 %62 = getelementptr inbounds i8, ptr %33, i64 16 %63 = load i64, ptr %62, align 8, !tbaa !24 %64 = icmp eq i64 %63, 0 br i1 %64, label %82, label %65 65: ; preds = %61 %66 = tail call i64 @malloc(i32 noundef 48) #3 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %74 68: ; preds = %65 %69 = load i32, ptr @LOG_ERR, align 4, !tbaa !15 %70 = tail call i32 @logmsg(i32 noundef %69, ptr noundef nonnull @.str) #3 %71 = load i32, ptr @pidfile_fh, align 4, !tbaa !15 %72 = tail call i32 @pidfile_remove(i32 noundef %71) #3 %73 = tail call i32 @exit(i32 noundef 1) #4 unreachable 74: ; preds = %65 %75 = inttoptr i64 %66 to ptr %76 = tail call i32 @memcpy(ptr noundef nonnull %75, ptr noundef nonnull %33, i32 noundef 48) #3 %77 = getelementptr inbounds i8, ptr %75, i64 8 store i32 -1, ptr %77, align 8, !tbaa !23 br label %78 78: ; preds = %53, %74 %79 = phi ptr [ %75, %74 ], [ %54, %53 ] %80 = load ptr, ptr @iflist, align 8, !tbaa !17 %81 = getelementptr inbounds i8, ptr %79, i64 40 store ptr %80, ptr %81, align 8, !tbaa !25 store ptr %79, ptr @iflist, align 8, !tbaa !17 br label %82 82: ; preds = %78, %61 %83 = phi ptr [ %33, %61 ], [ %79, %78 ] switch i32 %6, label %115 [ i32 131, label %84 i32 130, label %105 ] 84: ; preds = %82 %85 = load ptr, ptr %4, align 8, !tbaa !6 %86 = tail call ptr @SATOSIN(ptr noundef %85) #3 %87 = load i64, ptr %86, align 8, !tbaa !26 %88 = getelementptr inbounds i8, ptr %83, i64 16 store i64 %87, ptr %88, align 8, !tbaa !24 %89 = getelementptr inbounds i8, ptr %0, i64 16 %90 = load ptr, ptr %89, align 8, !tbaa !29 %91 = tail call ptr @SATOSIN(ptr noundef %90) #3 %92 = load i64, ptr %91, align 8, !tbaa !26 %93 = getelementptr inbounds i8, ptr %83, i64 24 store i64 %92, ptr %93, align 8, !tbaa !30 %94 = icmp eq i64 %92, 0 br i1 %94, label %95, label %98 95: ; preds = %84 %96 = load i64, ptr %88, align 8, !tbaa !24 %97 = tail call i64 @ipaddrtonetmask(i64 noundef %96) #3 store i64 %97, ptr %93, align 8, !tbaa !30 br label %98 98: ; preds = %95, %84 %99 = getelementptr inbounds i8, ptr %83, i64 8 %100 = load i32, ptr %99, align 8, !tbaa !23 %101 = icmp slt i32 %100, 0 br i1 %101, label %102, label %115 102: ; preds = %98 %103 = load ptr, ptr %83, align 8, !tbaa !18 %104 = tail call i32 @rarp_open(ptr noundef %103) #3 store i32 %104, ptr %99, align 8, !tbaa !23 br label %115 105: ; preds = %82 %106 = load ptr, ptr %4, align 8, !tbaa !6 %107 = load i32, ptr %106, align 4, !tbaa !31 %108 = and i32 %107, -2 %109 = icmp eq i32 %108, 128 br i1 %109, label %110, label %115 110: ; preds = %105 %111 = tail call i32 @LLADDR(ptr noundef nonnull %106) #3 %112 = getelementptr inbounds i8, ptr %83, i64 32 %113 = load i32, ptr %112, align 8, !tbaa !33 %114 = tail call i32 @bcopy(i32 noundef %111, i32 noundef %113, i32 noundef 6) #3 br label %115 115: ; preds = %82, %102, %98, %110, %105, %42, %22, %3, %9, %14, %7 ret void } declare i64 @strcmp(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @logmsg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pidfile_remove(i32 noundef) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 declare i32 @bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @SATOSIN(ptr noundef) local_unnamed_addr #1 declare i64 @ipaddrtonetmask(i64 noundef) local_unnamed_addr #1 declare i32 @rarp_open(ptr noundef) local_unnamed_addr #1 declare i32 @bcopy(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @LLADDR(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 = { noreturn "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ifaddrs", !8, i64 0, !11, i64 8, !11, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"TYPE_6__", !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !8, i64 24} !17 = !{!11, !11, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"if_info", !11, i64 0, !8, i64 8, !20, i64 16, !20, i64 24, !8, i64 32, !11, i64 40} !20 = !{!"long", !9, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!19, !8, i64 8} !24 = !{!19, !20, i64 16} !25 = !{!19, !11, i64 40} !26 = !{!27, !20, i64 0} !27 = !{!"TYPE_5__", !28, i64 0} !28 = !{!"TYPE_4__", !20, i64 0} !29 = !{!7, !11, i64 16} !30 = !{!19, !20, i64 24} !31 = !{!32, !8, i64 0} !32 = !{!"sockaddr_dl", !8, i64 0} !33 = !{!19, !8, i64 32}
freebsd_usr.sbin_rarpd_extr_rarpd.c_init_one
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi4.c_hdmi_disconnect.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi4.c_hdmi_disconnect.c" target datalayout = "e-m:e-p270:32:32-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 @hdmi_disconnect], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hdmi_disconnect(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 %4 = tail call i32 @omapdss_device_disconnect(ptr noundef nonnull %1, i32 noundef %3) #2 ret void } declare i32 @omapdss_device_disconnect(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 = !{!"omap_dss_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi4.c_hdmi_disconnect.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/omapdrm/dss/extr_hdmi4.c_hdmi_disconnect.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 @hdmi_disconnect], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hdmi_disconnect(ptr nocapture readnone %0, ptr noundef %1) #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 %4 = tail call i32 @omapdss_device_disconnect(ptr noundef nonnull %1, i32 noundef %3) #2 ret void } declare i32 @omapdss_device_disconnect(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 = !{!"omap_dss_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_omapdrm_dss_extr_hdmi4.c_hdmi_disconnect
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_apic_set_isr.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_apic_set_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.kvm_lapic = type { i64, i32, i64 } @APIC_ISR = dso_local local_unnamed_addr global i64 0, align 8 @MAX_APIC_VECTOR = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @apic_set_isr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @apic_set_isr(i32 noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds %struct.kvm_lapic, ptr %1, i64 0, i32 2 %4 = load i64, ptr %3, align 8, !tbaa !5 %5 = load i64, ptr @APIC_ISR, align 8, !tbaa !11 %6 = add nsw i64 %5, %4 %7 = tail call i32 @__apic_test_and_set_vector(i32 noundef %0, i64 noundef %6) #2 %8 = icmp eq i32 %7, 0 %9 = load i64, ptr %1, align 8, !tbaa !12 br i1 %8, label %10, label %12 10: ; preds = %2 %11 = add nsw i64 %9, 1 store i64 %11, ptr %1, align 8, !tbaa !12 br label %12 12: ; preds = %10, %2 %13 = phi i64 [ %11, %10 ], [ %9, %2 ] %14 = load i64, ptr @MAX_APIC_VECTOR, align 8, !tbaa !11 %15 = icmp sgt i64 %13, %14 %16 = zext i1 %15 to i32 %17 = tail call i32 @BUG_ON(i32 noundef %16) #2 %18 = getelementptr inbounds %struct.kvm_lapic, ptr %1, i64 0, i32 1 store i32 %0, ptr %18, align 8, !tbaa !13 ret void } declare i32 @__apic_test_and_set_vector(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @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, !7, i64 16} !6 = !{!"kvm_lapic", !7, i64 0, !10, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_apic_set_isr.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_lapic.c_apic_set_isr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @APIC_ISR = common local_unnamed_addr global i64 0, align 8 @MAX_APIC_VECTOR = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @apic_set_isr], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @apic_set_isr(i32 noundef %0, ptr nocapture noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load i64, ptr %3, align 8, !tbaa !6 %5 = load i64, ptr @APIC_ISR, align 8, !tbaa !12 %6 = add nsw i64 %5, %4 %7 = tail call i32 @__apic_test_and_set_vector(i32 noundef %0, i64 noundef %6) #2 %8 = icmp eq i32 %7, 0 %9 = load i64, ptr %1, align 8, !tbaa !13 br i1 %8, label %10, label %12 10: ; preds = %2 %11 = add nsw i64 %9, 1 store i64 %11, ptr %1, align 8, !tbaa !13 br label %12 12: ; preds = %10, %2 %13 = phi i64 [ %11, %10 ], [ %9, %2 ] %14 = load i64, ptr @MAX_APIC_VECTOR, align 8, !tbaa !12 %15 = icmp sgt i64 %13, %14 %16 = zext i1 %15 to i32 %17 = tail call i32 @BUG_ON(i32 noundef %16) #2 %18 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %0, ptr %18, align 8, !tbaa !14 ret void } declare i32 @__apic_test_and_set_vector(i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @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, !8, i64 16} !7 = !{!"kvm_lapic", !8, i64 0, !11, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !11, i64 8}
fastsocket_kernel_arch_x86_kvm_extr_lapic.c_apic_set_isr
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_hso.c_hso_net_tx_timeout.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_hso.c_hso_net_tx_timeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.net_device = type { %struct.TYPE_3__, i32 } %struct.TYPE_3__ = type { i32 } @.str = private unnamed_addr constant [15 x i8] c"Tx timed out.\0A\00", align 1 @EINPROGRESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hso_net_tx_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @hso_net_tx_timeout(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = getelementptr inbounds %struct.net_device, ptr %0, i64 0, i32 1 %6 = tail call i32 @dev_warn(ptr noundef nonnull %5, ptr noundef nonnull @.str) #2 %7 = load ptr, ptr %2, align 8, !tbaa !5 %8 = icmp eq ptr %7, null br i1 %8, label %16, label %9 9: ; preds = %4 %10 = load i32, ptr %7, align 4, !tbaa !10 %11 = load i32, ptr @EINPROGRESS, align 4, !tbaa !13 %12 = sub nsw i32 0, %11 %13 = icmp eq i32 %10, %12 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @usb_unlink_urb(ptr noundef nonnull %7) #2 br label %16 16: ; preds = %14, %9, %4 %17 = load i32, ptr %0, align 4, !tbaa !14 %18 = add nsw i32 %17, 1 store i32 %18, ptr %0, align 4, !tbaa !14 br label %19 19: ; preds = %1, %16 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_unlink_urb(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 = !{!"hso_net", !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 = !{!12, !12, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"net_device", !16, i64 0, !12, i64 4} !16 = !{!"TYPE_3__", !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/usb/extr_hso.c_hso_net_tx_timeout.c' source_filename = "AnghaBench/linux/drivers/net/usb/extr_hso.c_hso_net_tx_timeout.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"Tx timed out.\0A\00", align 1 @EINPROGRESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hso_net_tx_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @hso_net_tx_timeout(ptr noundef %0) #0 { %2 = tail call ptr @netdev_priv(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %19, label %4 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = tail call i32 @dev_warn(ptr noundef nonnull %5, ptr noundef nonnull @.str) #2 %7 = load ptr, ptr %2, align 8, !tbaa !6 %8 = icmp eq ptr %7, null br i1 %8, label %16, label %9 9: ; preds = %4 %10 = load i32, ptr %7, align 4, !tbaa !11 %11 = load i32, ptr @EINPROGRESS, align 4, !tbaa !14 %12 = sub nsw i32 0, %11 %13 = icmp eq i32 %10, %12 br i1 %13, label %14, label %16 14: ; preds = %9 %15 = tail call i32 @usb_unlink_urb(ptr noundef nonnull %7) #2 br label %16 16: ; preds = %14, %9, %4 %17 = load i32, ptr %0, align 4, !tbaa !15 %18 = add nsw i32 %17, 1 store i32 %18, ptr %0, align 4, !tbaa !15 br label %19 19: ; preds = %1, %16 ret void } declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @usb_unlink_urb(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 = !{!"hso_net", !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_4__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"net_device", !17, i64 0, !13, i64 4} !17 = !{!"TYPE_3__", !13, i64 0}
linux_drivers_net_usb_extr_hso.c_hso_net_tx_timeout
; ModuleID = 'AnghaBench/sqlcipher/ext/async/extr_sqlite3async.c_asyncFileSize.c' source_filename = "AnghaBench/sqlcipher/ext/async/extr_sqlite3async.c_asyncFileSize.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_14__ = type { ptr } %struct.TYPE_12__ = type { i64, ptr } %struct.TYPE_11__ = type { i32, i64, i32, ptr, i32, ptr } @SQLITE_OK = dso_local local_unnamed_addr global i32 0, align 4 @ASYNC_MUTEX_QUEUE = dso_local local_unnamed_addr global i32 0, align 4 @async = dso_local local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8 @ASYNC_DELETE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @asyncFileSize(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8, !tbaa !12 %6 = load i32, ptr @ASYNC_MUTEX_QUEUE, align 4, !tbaa !10 %7 = tail call i32 @async_mutex_enter(i32 noundef %6) #3 %8 = getelementptr inbounds %struct.TYPE_12__, ptr %4, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !14 %10 = load ptr, ptr %9, align 8, !tbaa !16 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %10, align 8, !tbaa !18 %14 = call i32 %13(ptr noundef nonnull %9, ptr noundef nonnull %3) #3 br label %15 15: ; preds = %12, %2 %16 = phi i32 [ %14, %12 ], [ %5, %2 ] %17 = load i32, ptr @SQLITE_OK, align 4, !tbaa !10 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %70 19: ; preds = %15 %20 = load ptr, ptr @async, align 8, !tbaa !20 %21 = icmp eq ptr %20, null br i1 %21, label %68, label %22 22: ; preds = %19, %64 %23 = phi ptr [ %66, %64 ], [ %20, %19 ] %24 = load i32, ptr %23, align 8, !tbaa !21 %25 = load i32, ptr @ASYNC_DELETE, align 4, !tbaa !10 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %36 27: ; preds = %22 %28 = load i64, ptr %4, align 8, !tbaa !23 %29 = icmp eq i64 %28, 0 br i1 %29, label %36, label %30 30: ; preds = %27 %31 = getelementptr inbounds %struct.TYPE_11__, ptr %23, i64 0, i32 4 %32 = load i32, ptr %31, align 8, !tbaa !24 %33 = call i64 @strcmp(i64 noundef %28, i32 noundef %32) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %30 store i64 0, ptr %3, align 8, !tbaa !12 br label %64 36: ; preds = %30, %27, %22 %37 = getelementptr inbounds %struct.TYPE_11__, ptr %23, i64 0, i32 3 %38 = load ptr, ptr %37, align 8, !tbaa !25 %39 = icmp eq ptr %38, null br i1 %39, label %64, label %40 40: ; preds = %36 %41 = icmp eq ptr %38, %4 br i1 %41, label %48, label %42 42: ; preds = %40 %43 = load i64, ptr %4, align 8, !tbaa !23 %44 = icmp eq i64 %43, 0 br i1 %44, label %64, label %45 45: ; preds = %42 %46 = load i64, ptr %38, align 8, !tbaa !23 %47 = icmp eq i64 %46, %43 br i1 %47, label %48, label %64 48: ; preds = %45, %40 %49 = load i32, ptr %23, align 8, !tbaa !21 switch i32 %49, label %64 [ i32 128, label %50 i32 129, label %59 ] 50: ; preds = %48 %51 = getelementptr inbounds %struct.TYPE_11__, ptr %23, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !26 %53 = getelementptr inbounds %struct.TYPE_11__, ptr %23, i64 0, i32 2 %54 = load i32, ptr %53, align 8, !tbaa !27 %55 = sext i32 %54 to i64 %56 = add nsw i64 %52, %55 %57 = load i64, ptr %3, align 8, !tbaa !12 %58 = call i64 @MAX(i64 noundef %56, i64 noundef %57) #3 store i64 %58, ptr %3, align 8, !tbaa !12 br label %64 59: ; preds = %48 %60 = load i64, ptr %3, align 8, !tbaa !12 %61 = getelementptr inbounds %struct.TYPE_11__, ptr %23, i64 0, i32 1 %62 = load i64, ptr %61, align 8, !tbaa !26 %63 = call i64 @MIN(i64 noundef %60, i64 noundef %62) #3 store i64 %63, ptr %3, align 8, !tbaa !12 br label %64 64: ; preds = %35, %50, %59, %48, %45, %42, %36 %65 = getelementptr inbounds %struct.TYPE_11__, ptr %23, i64 0, i32 5 %66 = load ptr, ptr %65, align 8, !tbaa !20 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %22, !llvm.loop !28 68: ; preds = %64, %19 %69 = load i64, ptr %3, align 8, !tbaa !12 store i64 %69, ptr %1, align 8, !tbaa !12 br label %70 70: ; preds = %68, %15 %71 = load i32, ptr @ASYNC_MUTEX_QUEUE, align 4, !tbaa !10 %72 = call i32 @async_mutex_leave(i32 noundef %71) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @async_mutex_enter(i32 noundef) local_unnamed_addr #2 declare i64 @strcmp(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @MAX(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @MIN(i64 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 declare i32 @async_mutex_leave(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, !7, i64 0} !6 = !{!"TYPE_13__", !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} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_12__", !13, i64 0, !7, i64 8} !16 = !{!17, !7, i64 0} !17 = !{!"TYPE_10__", !7, i64 0} !18 = !{!19, !7, i64 0} !19 = !{!"TYPE_9__", !7, i64 0} !20 = !{!7, !7, i64 0} !21 = !{!22, !11, i64 0} !22 = !{!"TYPE_11__", !11, i64 0, !13, i64 8, !11, i64 16, !7, i64 24, !11, i64 32, !7, i64 40} !23 = !{!15, !13, i64 0} !24 = !{!22, !11, i64 32} !25 = !{!22, !7, i64 24} !26 = !{!22, !13, i64 8} !27 = !{!22, !11, i64 16} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/sqlcipher/ext/async/extr_sqlite3async.c_asyncFileSize.c' source_filename = "AnghaBench/sqlcipher/ext/async/extr_sqlite3async.c_asyncFileSize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_14__ = type { ptr } @SQLITE_OK = common local_unnamed_addr global i32 0, align 4 @ASYNC_MUTEX_QUEUE = common local_unnamed_addr global i32 0, align 4 @async = common local_unnamed_addr global %struct.TYPE_14__ zeroinitializer, align 8 @ASYNC_DELETE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @asyncFileSize(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store i64 0, ptr %3, align 8, !tbaa !13 %6 = load i32, ptr @ASYNC_MUTEX_QUEUE, align 4, !tbaa !11 %7 = tail call i32 @async_mutex_enter(i32 noundef %6) #3 %8 = getelementptr inbounds i8, ptr %4, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = load ptr, ptr %9, align 8, !tbaa !17 %11 = icmp eq ptr %10, null br i1 %11, label %15, label %12 12: ; preds = %2 %13 = load ptr, ptr %10, align 8, !tbaa !19 %14 = call i32 %13(ptr noundef nonnull %9, ptr noundef nonnull %3) #3 br label %15 15: ; preds = %12, %2 %16 = phi i32 [ %14, %12 ], [ %5, %2 ] %17 = load i32, ptr @SQLITE_OK, align 4, !tbaa !11 %18 = icmp eq i32 %16, %17 br i1 %18, label %19, label %70 19: ; preds = %15 %20 = load ptr, ptr @async, align 8, !tbaa !21 %21 = icmp eq ptr %20, null br i1 %21, label %68, label %22 22: ; preds = %19, %64 %23 = phi ptr [ %66, %64 ], [ %20, %19 ] %24 = load i32, ptr %23, align 8, !tbaa !22 %25 = load i32, ptr @ASYNC_DELETE, align 4, !tbaa !11 %26 = icmp eq i32 %24, %25 br i1 %26, label %27, label %36 27: ; preds = %22 %28 = load i64, ptr %4, align 8, !tbaa !24 %29 = icmp eq i64 %28, 0 br i1 %29, label %36, label %30 30: ; preds = %27 %31 = getelementptr inbounds i8, ptr %23, i64 32 %32 = load i32, ptr %31, align 8, !tbaa !25 %33 = call i64 @strcmp(i64 noundef %28, i32 noundef %32) #3 %34 = icmp eq i64 %33, 0 br i1 %34, label %35, label %36 35: ; preds = %30 store i64 0, ptr %3, align 8, !tbaa !13 br label %64 36: ; preds = %30, %27, %22 %37 = getelementptr inbounds i8, ptr %23, i64 24 %38 = load ptr, ptr %37, align 8, !tbaa !26 %39 = icmp eq ptr %38, null br i1 %39, label %64, label %40 40: ; preds = %36 %41 = icmp eq ptr %38, %4 br i1 %41, label %48, label %42 42: ; preds = %40 %43 = load i64, ptr %4, align 8, !tbaa !24 %44 = icmp eq i64 %43, 0 br i1 %44, label %64, label %45 45: ; preds = %42 %46 = load i64, ptr %38, align 8, !tbaa !24 %47 = icmp eq i64 %46, %43 br i1 %47, label %48, label %64 48: ; preds = %45, %40 %49 = load i32, ptr %23, align 8, !tbaa !22 switch i32 %49, label %64 [ i32 128, label %50 i32 129, label %59 ] 50: ; preds = %48 %51 = getelementptr inbounds i8, ptr %23, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !27 %53 = getelementptr inbounds i8, ptr %23, i64 16 %54 = load i32, ptr %53, align 8, !tbaa !28 %55 = sext i32 %54 to i64 %56 = add nsw i64 %52, %55 %57 = load i64, ptr %3, align 8, !tbaa !13 %58 = call i64 @MAX(i64 noundef %56, i64 noundef %57) #3 store i64 %58, ptr %3, align 8, !tbaa !13 br label %64 59: ; preds = %48 %60 = load i64, ptr %3, align 8, !tbaa !13 %61 = getelementptr inbounds i8, ptr %23, i64 8 %62 = load i64, ptr %61, align 8, !tbaa !27 %63 = call i64 @MIN(i64 noundef %60, i64 noundef %62) #3 store i64 %63, ptr %3, align 8, !tbaa !13 br label %64 64: ; preds = %35, %50, %59, %48, %45, %42, %36 %65 = getelementptr inbounds i8, ptr %23, i64 40 %66 = load ptr, ptr %65, align 8, !tbaa !21 %67 = icmp eq ptr %66, null br i1 %67, label %68, label %22, !llvm.loop !29 68: ; preds = %64, %19 %69 = load i64, ptr %3, align 8, !tbaa !13 store i64 %69, ptr %1, align 8, !tbaa !13 br label %70 70: ; preds = %68, %15 %71 = load i32, ptr @ASYNC_MUTEX_QUEUE, align 4, !tbaa !11 %72 = call i32 @async_mutex_leave(i32 noundef %71) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @async_mutex_enter(i32 noundef) local_unnamed_addr #2 declare i64 @strcmp(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @MAX(i64 noundef, i64 noundef) local_unnamed_addr #2 declare i64 @MIN(i64 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 declare i32 @async_mutex_leave(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, !8, i64 0} !7 = !{!"TYPE_13__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !8, i64 8} !16 = !{!"TYPE_12__", !14, i64 0, !8, i64 8} !17 = !{!18, !8, i64 0} !18 = !{!"TYPE_10__", !8, i64 0} !19 = !{!20, !8, i64 0} !20 = !{!"TYPE_9__", !8, i64 0} !21 = !{!8, !8, i64 0} !22 = !{!23, !12, i64 0} !23 = !{!"TYPE_11__", !12, i64 0, !14, i64 8, !12, i64 16, !8, i64 24, !12, i64 32, !8, i64 40} !24 = !{!16, !14, i64 0} !25 = !{!23, !12, i64 32} !26 = !{!23, !8, i64 24} !27 = !{!23, !14, i64 8} !28 = !{!23, !12, i64 16} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"}
sqlcipher_ext_async_extr_sqlite3async.c_asyncFileSize
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetListToTree.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetListToTree.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.RowSetEntry = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @rowSetListToTree], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @rowSetListToTree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #3 %6 = load ptr, ptr %0, align 8, !tbaa !5 store ptr %6, ptr %2, align 8, !tbaa !10 %7 = icmp eq ptr %6, null tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br i1 %7, label %18, label %8 8: ; preds = %1, %8 %9 = phi ptr [ %16, %8 ], [ %6, %1 ] %10 = phi i32 [ %15, %8 ], [ 1, %1 ] %11 = phi ptr [ %9, %8 ], [ %0, %1 ] %12 = load ptr, ptr %9, align 8, !tbaa !5 store ptr %12, ptr %2, align 8, !tbaa !10 %13 = getelementptr inbounds %struct.RowSetEntry, ptr %9, i64 0, i32 1 store ptr %11, ptr %13, align 8, !tbaa !11 %14 = call ptr @rowSetNDeepTree(ptr noundef nonnull %2, i32 noundef %10) #3 store ptr %14, ptr %9, align 8, !tbaa !5 %15 = add nuw nsw i32 %10, 1 %16 = load ptr, ptr %2, align 8, !tbaa !10 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %8, !llvm.loop !12 18: ; preds = %8, %1 %19 = phi ptr [ %0, %1 ], [ %9, %8 ] ret ptr %19 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @rowSetNDeepTree(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, !7, i64 0} !6 = !{!"RowSetEntry", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetListToTree.c' source_filename = "AnghaBench/mimikatz/modules/extr_sqlite3_omit.c_rowSetListToTree.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 @rowSetListToTree], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @rowSetListToTree(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #3 %6 = load ptr, ptr %0, align 8, !tbaa !6 store ptr %6, ptr %2, align 8, !tbaa !11 %7 = icmp eq ptr %6, null tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %0, i8 0, i64 16, i1 false) br i1 %7, label %18, label %8 8: ; preds = %1, %8 %9 = phi ptr [ %16, %8 ], [ %6, %1 ] %10 = phi i32 [ %15, %8 ], [ 1, %1 ] %11 = phi ptr [ %9, %8 ], [ %0, %1 ] %12 = load ptr, ptr %9, align 8, !tbaa !6 store ptr %12, ptr %2, align 8, !tbaa !11 %13 = getelementptr inbounds i8, ptr %9, i64 8 store ptr %11, ptr %13, align 8, !tbaa !12 %14 = call ptr @rowSetNDeepTree(ptr noundef nonnull %2, i32 noundef %10) #3 store ptr %14, ptr %9, align 8, !tbaa !6 %15 = add nuw nsw i32 %10, 1 %16 = load ptr, ptr %2, align 8, !tbaa !11 %17 = icmp eq ptr %16, null br i1 %17, label %18, label %8, !llvm.loop !13 18: ; preds = %8, %1 %19 = phi ptr [ %0, %1 ], [ %9, %8 ] ret ptr %19 } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare ptr @rowSetNDeepTree(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, !8, i64 0} !7 = !{!"RowSetEntry", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
mimikatz_modules_extr_sqlite3_omit.c_rowSetListToTree
; ModuleID = 'AnghaBench/linux/kernel/time/extr_tick-internal.h_tick_broadcast_oneshot_available.c' source_filename = "AnghaBench/linux/kernel/time/extr_tick-internal.h_tick_broadcast_oneshot_available.c" target datalayout = "e-m:e-p270:32:32-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 @tick_broadcast_oneshot_available], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @tick_broadcast_oneshot_available() #0 { %1 = tail call i32 (...) @tick_oneshot_possible() #2 ret i32 %1 } declare i32 @tick_oneshot_possible(...) 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/kernel/time/extr_tick-internal.h_tick_broadcast_oneshot_available.c' source_filename = "AnghaBench/linux/kernel/time/extr_tick-internal.h_tick_broadcast_oneshot_available.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 @tick_broadcast_oneshot_available], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @tick_broadcast_oneshot_available() #0 { %1 = tail call i32 @tick_oneshot_possible() #2 ret i32 %1 } declare i32 @tick_oneshot_possible(...) 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_kernel_time_extr_tick-internal.h_tick_broadcast_oneshot_available
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/udf/extr_partition.c_udf_get_pblock.c' source_filename = "AnghaBench/fastsocket/kernel/fs/udf/extr_partition.c_udf_get_pblock.c" target datalayout = "e-m:e-p270:32:32-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.udf_sb_info = type { i64, ptr } %struct.udf_part_map = type { ptr, i32 } @.str = private unnamed_addr constant [54 x i8] c"block=%d, partition=%d, offset=%d: invalid partition\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @udf_get_pblock(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @UDF_SB(ptr noundef %0) #2 %6 = load i64, ptr %5, align 8, !tbaa !5 %7 = icmp ugt i64 %6, %2 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @udf_debug(ptr noundef nonnull @.str, i32 noundef %1, i64 noundef %2, i32 noundef %3) #2 br label %23 10: ; preds = %4 %11 = getelementptr inbounds %struct.udf_sb_info, ptr %5, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.udf_part_map, ptr %12, i64 %2 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %10 %17 = tail call i32 %14(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #2 br label %23 18: ; preds = %10 %19 = getelementptr inbounds %struct.udf_part_map, ptr %12, i64 %2, i32 1 %20 = load i32, ptr %19, align 8, !tbaa !15 %21 = add i32 %3, %1 %22 = add i32 %21, %20 br label %23 23: ; preds = %18, %16, %8 %24 = phi i32 [ -1, %8 ], [ %17, %16 ], [ %22, %18 ] ret i32 %24 } declare ptr @UDF_SB(ptr noundef) local_unnamed_addr #1 declare i32 @udf_debug(ptr noundef, i32 noundef, i64 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 = !{!"udf_sb_info", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !10, i64 0} !13 = !{!"udf_part_map", !10, i64 0, !14, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/udf/extr_partition.c_udf_get_pblock.c' source_filename = "AnghaBench/fastsocket/kernel/fs/udf/extr_partition.c_udf_get_pblock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.udf_part_map = type { ptr, i32 } @.str = private unnamed_addr constant [54 x i8] c"block=%d, partition=%d, offset=%d: invalid partition\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @udf_get_pblock(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = tail call ptr @UDF_SB(ptr noundef %0) #2 %6 = load i64, ptr %5, align 8, !tbaa !6 %7 = icmp ugt i64 %6, %2 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @udf_debug(ptr noundef nonnull @.str, i32 noundef %1, i64 noundef %2, i32 noundef %3) #2 br label %23 10: ; preds = %4 %11 = getelementptr inbounds i8, ptr %5, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.udf_part_map, ptr %12, i64 %2 %14 = load ptr, ptr %13, align 8, !tbaa !13 %15 = icmp eq ptr %14, null br i1 %15, label %18, label %16 16: ; preds = %10 %17 = tail call i32 %14(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) #2 br label %23 18: ; preds = %10 %19 = getelementptr inbounds i8, ptr %13, i64 8 %20 = load i32, ptr %19, align 8, !tbaa !16 %21 = add i32 %3, %1 %22 = add i32 %21, %20 br label %23 23: ; preds = %18, %16, %8 %24 = phi i32 [ -1, %8 ], [ %17, %16 ], [ %22, %18 ] ret i32 %24 } declare ptr @UDF_SB(ptr noundef) local_unnamed_addr #1 declare i32 @udf_debug(ptr noundef, i32 noundef, i64 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 = !{!"udf_sb_info", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !11, i64 0} !14 = !{!"udf_part_map", !11, i64 0, !15, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!14, !15, i64 8}
fastsocket_kernel_fs_udf_extr_partition.c_udf_get_pblock
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_fw-management.c_fw_mgmt_interface_fw_version_operation.c' source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_fw-management.c_fw_mgmt_interface_fw_version_operation.c" target datalayout = "e-m:e-p270:32:32-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.gb_fw_mgmt_interface_fw_version_response = type { i32, i32, i32 } %struct.fw_mgmt = type { i32, ptr } %struct.fw_mgmt_ioc_get_intf_version = type { ptr, ptr, ptr } @GB_FW_MGMT_TYPE_INTERFACE_FW_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"failed to get interface firmware version (%d)\0A\00", align 1 @GB_FIRMWARE_TAG_MAX_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"fw-version: firmware-tag is not NULL terminated\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fw_mgmt_interface_fw_version_operation], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fw_mgmt_interface_fw_version_operation(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = alloca %struct.gb_fw_mgmt_interface_fw_version_response, align 4 %4 = getelementptr inbounds %struct.fw_mgmt, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3 %6 = load i32, ptr @GB_FW_MGMT_TYPE_INTERFACE_FW_VERSION, align 4, !tbaa !11 %7 = call i32 @gb_operation_sync(ptr noundef %5, i32 noundef %6, ptr noundef null, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 12) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr %0, align 8, !tbaa !12 %11 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %7) #3 br label %40 12: ; preds = %2 %13 = getelementptr inbounds %struct.gb_fw_mgmt_interface_fw_version_response, ptr %3, i64 0, i32 2 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = call ptr @le16_to_cpu(i32 noundef %14) #3 %16 = getelementptr inbounds %struct.fw_mgmt_ioc_get_intf_version, ptr %1, i64 0, i32 2 store ptr %15, ptr %16, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.gb_fw_mgmt_interface_fw_version_response, ptr %3, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = call ptr @le16_to_cpu(i32 noundef %18) #3 %20 = getelementptr inbounds %struct.fw_mgmt_ioc_get_intf_version, ptr %1, i64 0, i32 1 store ptr %19, ptr %20, align 8, !tbaa !18 %21 = load ptr, ptr %1, align 8, !tbaa !19 %22 = load i32, ptr %3, align 4, !tbaa !20 %23 = load i32, ptr @GB_FIRMWARE_TAG_MAX_SIZE, align 4, !tbaa !11 %24 = call i32 @strncpy(ptr noundef %21, i32 noundef %22, i32 noundef %23) #3 %25 = load ptr, ptr %1, align 8, !tbaa !19 %26 = load i32, ptr @GB_FIRMWARE_TAG_MAX_SIZE, align 4, !tbaa !11 %27 = sext i32 %26 to i64 %28 = getelementptr i8, ptr %25, i64 %27 %29 = getelementptr i8, ptr %28, i64 -1 %30 = load i8, ptr %29, align 1, !tbaa !21 %31 = icmp eq i8 %30, 0 br i1 %31, label %40, label %32 32: ; preds = %12 %33 = load i32, ptr %0, align 8, !tbaa !12 %34 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %33, ptr noundef nonnull @.str.1) #3 %35 = load ptr, ptr %1, align 8, !tbaa !19 %36 = load i32, ptr @GB_FIRMWARE_TAG_MAX_SIZE, align 4, !tbaa !11 %37 = sext i32 %36 to i64 %38 = getelementptr i8, ptr %35, i64 %37 %39 = getelementptr i8, ptr %38, i64 -1 store i8 0, ptr %39, align 1, !tbaa !21 br label %40 40: ; preds = %12, %32, %9 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gb_operation_sync(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @le16_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"fw_mgmt", !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 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"gb_fw_mgmt_interface_fw_version_response", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!16, !10, i64 16} !16 = !{!"fw_mgmt_ioc_get_intf_version", !10, i64 0, !10, i64 8, !10, i64 16} !17 = !{!14, !7, i64 4} !18 = !{!16, !10, i64 8} !19 = !{!16, !10, i64 0} !20 = !{!14, !7, i64 0} !21 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/greybus/extr_fw-management.c_fw_mgmt_interface_fw_version_operation.c' source_filename = "AnghaBench/linux/drivers/staging/greybus/extr_fw-management.c_fw_mgmt_interface_fw_version_operation.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.gb_fw_mgmt_interface_fw_version_response = type { i32, i32, i32 } @GB_FW_MGMT_TYPE_INTERFACE_FW_VERSION = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"failed to get interface firmware version (%d)\0A\00", align 1 @GB_FIRMWARE_TAG_MAX_SIZE = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [49 x i8] c"fw-version: firmware-tag is not NULL terminated\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fw_mgmt_interface_fw_version_operation], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fw_mgmt_interface_fw_version_operation(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) #0 { %3 = alloca %struct.gb_fw_mgmt_interface_fw_version_response, align 4 %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #3 %6 = load i32, ptr @GB_FW_MGMT_TYPE_INTERFACE_FW_VERSION, align 4, !tbaa !12 %7 = call i32 @gb_operation_sync(ptr noundef %5, i32 noundef %6, ptr noundef null, i32 noundef 0, ptr noundef nonnull %3, i32 noundef 12) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %12, label %9 9: ; preds = %2 %10 = load i32, ptr %0, align 8, !tbaa !13 %11 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %10, ptr noundef nonnull @.str, i32 noundef %7) #3 br label %40 12: ; preds = %2 %13 = getelementptr inbounds i8, ptr %3, i64 8 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = call ptr @le16_to_cpu(i32 noundef %14) #3 %16 = getelementptr inbounds i8, ptr %1, i64 16 store ptr %15, ptr %16, align 8, !tbaa !16 %17 = getelementptr inbounds i8, ptr %3, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = call ptr @le16_to_cpu(i32 noundef %18) #3 %20 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %19, ptr %20, align 8, !tbaa !19 %21 = load ptr, ptr %1, align 8, !tbaa !20 %22 = load i32, ptr %3, align 4, !tbaa !21 %23 = load i32, ptr @GB_FIRMWARE_TAG_MAX_SIZE, align 4, !tbaa !12 %24 = call i32 @strncpy(ptr noundef %21, i32 noundef %22, i32 noundef %23) #3 %25 = load ptr, ptr %1, align 8, !tbaa !20 %26 = load i32, ptr @GB_FIRMWARE_TAG_MAX_SIZE, align 4, !tbaa !12 %27 = sext i32 %26 to i64 %28 = getelementptr i8, ptr %25, i64 %27 %29 = getelementptr i8, ptr %28, i64 -1 %30 = load i8, ptr %29, align 1, !tbaa !22 %31 = icmp eq i8 %30, 0 br i1 %31, label %40, label %32 32: ; preds = %12 %33 = load i32, ptr %0, align 8, !tbaa !13 %34 = call i32 (i32, ptr, ...) @dev_err(i32 noundef %33, ptr noundef nonnull @.str.1) #3 %35 = load ptr, ptr %1, align 8, !tbaa !20 %36 = load i32, ptr @GB_FIRMWARE_TAG_MAX_SIZE, align 4, !tbaa !12 %37 = sext i32 %36 to i64 %38 = getelementptr i8, ptr %35, i64 %37 %39 = getelementptr i8, ptr %38, i64 -1 store i8 0, ptr %39, align 1, !tbaa !22 br label %40 40: ; preds = %12, %32, %9 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #3 ret i32 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gb_operation_sync(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @dev_err(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @le16_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"fw_mgmt", !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 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"gb_fw_mgmt_interface_fw_version_response", !8, i64 0, !8, i64 4, !8, i64 8} !16 = !{!17, !11, i64 16} !17 = !{!"fw_mgmt_ioc_get_intf_version", !11, i64 0, !11, i64 8, !11, i64 16} !18 = !{!15, !8, i64 4} !19 = !{!17, !11, i64 8} !20 = !{!17, !11, i64 0} !21 = !{!15, !8, i64 0} !22 = !{!9, !9, i64 0}
linux_drivers_staging_greybus_extr_fw-management.c_fw_mgmt_interface_fw_version_operation
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_client_timeout_expire.c' source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_client_timeout_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 [8 x i8] c"EXPIRED\00", align 1 @SD_DHCP_CLIENT_EVENT_EXPIRED = dso_local local_unnamed_addr global i32 0, align 4 @DHCP_STATE_STOPPED = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @client_timeout_expire], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @client_timeout_expire(ptr nocapture readnone %0, i32 %1, ptr noundef %2) #0 { %4 = tail call i32 @DHCP_CLIENT_DONT_DESTROY(ptr noundef %2) #2 %5 = tail call i32 @log_dhcp_client(ptr noundef %2, ptr noundef nonnull @.str) #2 %6 = load i32, ptr @SD_DHCP_CLIENT_EVENT_EXPIRED, align 4, !tbaa !5 %7 = tail call i32 @client_notify(ptr noundef %2, i32 noundef %6) #2 %8 = load i64, ptr %2, align 8, !tbaa !9 %9 = load i64, ptr @DHCP_STATE_STOPPED, align 8, !tbaa !12 %10 = icmp eq i64 %8, %9 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = tail call i32 @client_initialize(ptr noundef nonnull %2) #2 %13 = tail call i32 @client_start(ptr noundef nonnull %2) #2 br label %14 14: ; preds = %11, %3 ret i32 0 } declare i32 @DHCP_CLIENT_DONT_DESTROY(ptr noundef) local_unnamed_addr #1 declare i32 @log_dhcp_client(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @client_notify(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @client_initialize(ptr noundef) local_unnamed_addr #1 declare i32 @client_start(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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_7__", !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_client_timeout_expire.c' source_filename = "AnghaBench/systemd/src/libsystemd-network/extr_sd-dhcp-client.c_client_timeout_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 [8 x i8] c"EXPIRED\00", align 1 @SD_DHCP_CLIENT_EVENT_EXPIRED = common local_unnamed_addr global i32 0, align 4 @DHCP_STATE_STOPPED = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @client_timeout_expire], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @client_timeout_expire(ptr nocapture readnone %0, i32 %1, ptr noundef %2) #0 { %4 = tail call i32 @DHCP_CLIENT_DONT_DESTROY(ptr noundef %2) #2 %5 = tail call i32 @log_dhcp_client(ptr noundef %2, ptr noundef nonnull @.str) #2 %6 = load i32, ptr @SD_DHCP_CLIENT_EVENT_EXPIRED, align 4, !tbaa !6 %7 = tail call i32 @client_notify(ptr noundef %2, i32 noundef %6) #2 %8 = load i64, ptr %2, align 8, !tbaa !10 %9 = load i64, ptr @DHCP_STATE_STOPPED, align 8, !tbaa !13 %10 = icmp eq i64 %8, %9 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = tail call i32 @client_initialize(ptr noundef nonnull %2) #2 %13 = tail call i32 @client_start(ptr noundef nonnull %2) #2 br label %14 14: ; preds = %11, %3 ret i32 0 } declare i32 @DHCP_CLIENT_DONT_DESTROY(ptr noundef) local_unnamed_addr #1 declare i32 @log_dhcp_client(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @client_notify(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @client_initialize(ptr noundef) local_unnamed_addr #1 declare i32 @client_start(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_7__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0}
systemd_src_libsystemd-network_extr_sd-dhcp-client.c_client_timeout_expire
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_flower.c_fl_mask_range.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_flower.c_fl_mask_range.c" target datalayout = "e-m:e-p270:32:32-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 { i16, i16 } @llvm.compiler.used = appending global [1 x ptr] [ptr @fl_mask_range], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal zeroext i16 @fl_mask_range(ptr nocapture noundef readonly %0) #0 { %2 = load i16, ptr %0, align 2, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %4 = load i16, ptr %3, align 2, !tbaa !11 %5 = sub i16 %2, %4 ret i16 %5 } 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 = !{!"fl_flow_mask", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 2} !8 = !{!"short", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!6, !8, i64 2}
; ModuleID = 'AnghaBench/linux/net/sched/extr_cls_flower.c_fl_mask_range.c' source_filename = "AnghaBench/linux/net/sched/extr_cls_flower.c_fl_mask_range.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 @fl_mask_range], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal zeroext i16 @fl_mask_range(ptr nocapture noundef readonly %0) #0 { %2 = load i16, ptr %0, align 2, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 2 %4 = load i16, ptr %3, align 2, !tbaa !12 %5 = sub i16 %2, %4 ret i16 %5 } 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 = !{!"fl_flow_mask", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !9, i64 2} !9 = !{!"short", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!7, !9, i64 2}
linux_net_sched_extr_cls_flower.c_fl_mask_range
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pw/extr_pw_user.c_pw_user_show.c' source_filename = "AnghaBench/freebsd/usr.sbin/pw/extr_pw_user.c_pw_user_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.passwd = type { i32 } @.str = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 @UID_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"C:qn:u:FPa7\00", align 1 @optarg = dso_local local_unnamed_addr global ptr null, align 8 @_PATH_DEVNULL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @EX_DATAERR = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"username or id required\00", align 1 @fakeuser = dso_local global %struct.passwd zeroinitializer, align 4 @EX_NOUSER = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"no such uid `%ju'\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"no such user `%s'\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @pw_user_show(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %2, null br i1 %4, label %13, label %5 5: ; preds = %3 %6 = tail call i64 @strspn(ptr noundef nonnull %2, ptr noundef nonnull @.str) %7 = getelementptr inbounds i8, ptr %2, i64 %6 %8 = load i8, ptr %7, align 1, !tbaa !5 %9 = icmp eq i8 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr @UID_MAX, align 4, !tbaa !8 %12 = tail call i64 @pw_checkid(ptr noundef nonnull %2, i32 noundef %11) #3 br label %13 13: ; preds = %5, %10, %3 %14 = phi ptr [ %2, %5 ], [ null, %3 ], [ null, %10 ] %15 = phi i64 [ -1, %5 ], [ -1, %3 ], [ %12, %10 ] br label %16 16: ; preds = %25, %13 %17 = phi ptr [ %14, %13 ], [ %26, %25 ] %18 = phi i64 [ %15, %13 ], [ %27, %25 ] %19 = phi i32 [ 0, %13 ], [ %28, %25 ] %20 = phi i32 [ 0, %13 ], [ %29, %25 ] %21 = phi i32 [ 0, %13 ], [ %30, %25 ] %22 = phi i32 [ 0, %13 ], [ %31, %25 ] %23 = phi i32 [ 0, %13 ], [ %32, %25 ] %24 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #3 switch i32 %24, label %25 [ i32 -1, label %44 i32 55, label %43 i32 113, label %33 i32 110, label %34 i32 117, label %36 i32 70, label %40 i32 80, label %41 i32 97, label %42 ] 25: ; preds = %16, %43, %42, %41, %40, %36, %34, %33 %26 = phi ptr [ %17, %42 ], [ %17, %41 ], [ %17, %40 ], [ %17, %36 ], [ %35, %34 ], [ %17, %33 ], [ %17, %43 ], [ %17, %16 ] %27 = phi i64 [ %18, %42 ], [ %18, %41 ], [ %18, %40 ], [ %39, %36 ], [ %18, %34 ], [ %18, %33 ], [ %18, %43 ], [ %18, %16 ] %28 = phi i32 [ 1, %42 ], [ %19, %41 ], [ %19, %40 ], [ %19, %36 ], [ %19, %34 ], [ %19, %33 ], [ %19, %43 ], [ %19, %16 ] %29 = phi i32 [ %20, %42 ], [ 1, %41 ], [ %20, %40 ], [ %20, %36 ], [ %20, %34 ], [ %20, %33 ], [ %20, %43 ], [ %20, %16 ] %30 = phi i32 [ %21, %42 ], [ %21, %41 ], [ 1, %40 ], [ %21, %36 ], [ %21, %34 ], [ %21, %33 ], [ %21, %43 ], [ %21, %16 ] %31 = phi i32 [ %22, %42 ], [ %22, %41 ], [ %22, %40 ], [ %22, %36 ], [ %22, %34 ], [ %22, %33 ], [ 1, %43 ], [ %22, %16 ] %32 = phi i32 [ %23, %42 ], [ %23, %41 ], [ %23, %40 ], [ %23, %36 ], [ %23, %34 ], [ 1, %33 ], [ %23, %43 ], [ %23, %16 ] br label %16, !llvm.loop !10 33: ; preds = %16 br label %25 34: ; preds = %16 %35 = load ptr, ptr @optarg, align 8, !tbaa !12 br label %25 36: ; preds = %16 %37 = load ptr, ptr @optarg, align 8, !tbaa !12 %38 = load i32, ptr @UID_MAX, align 4, !tbaa !8 %39 = tail call i64 @pw_checkid(ptr noundef %37, i32 noundef %38) #3 br label %25 40: ; preds = %16 br label %25 41: ; preds = %16 br label %25 42: ; preds = %16 br label %25 43: ; preds = %16 br label %25 44: ; preds = %16 %45 = icmp eq i32 %23, 0 br i1 %45, label %50, label %46 46: ; preds = %44 %47 = load i32, ptr @_PATH_DEVNULL, align 4, !tbaa !8 %48 = load i32, ptr @stderr, align 4, !tbaa !8 %49 = tail call i32 @freopen(i32 noundef %47, ptr noundef nonnull @.str.2, i32 noundef %48) #3 br label %50 50: ; preds = %46, %44 %51 = icmp eq i32 %19, 0 br i1 %51, label %64, label %52 52: ; preds = %50 %53 = tail call i32 (...) @SETPWENT() #3 %54 = tail call ptr (...) @GETPWENT() #3 %55 = icmp eq ptr %54, null br i1 %55, label %61, label %56 56: ; preds = %52, %56 %57 = phi ptr [ %59, %56 ], [ %54, %52 ] %58 = tail call i32 @print_user(ptr noundef nonnull %57, i32 noundef %20, i32 noundef %22) #3 %59 = tail call ptr (...) @GETPWENT() #3 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %56, !llvm.loop !14 61: ; preds = %56, %52 %62 = tail call i32 (...) @ENDPWENT() #3 %63 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !8 br label %93 64: ; preds = %50 %65 = icmp slt i64 %18, 0 %66 = icmp eq ptr %17, null %67 = select i1 %65, i1 %66, i1 false br i1 %67, label %68, label %71 68: ; preds = %64 %69 = load i32, ptr @EX_DATAERR, align 4, !tbaa !8 %70 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %69, ptr noundef nonnull @.str.3) #3 br label %75 71: ; preds = %64 br i1 %66, label %75, label %72 72: ; preds = %71 %73 = tail call i32 @pw_checkname(ptr noundef nonnull %17, i32 noundef 0) #3 %74 = tail call ptr @GETPWNAM(i32 noundef %73) #3 br label %77 75: ; preds = %68, %71 %76 = tail call ptr @GETPWUID(i64 noundef %18) #3 br label %77 77: ; preds = %75, %72 %78 = phi ptr [ %74, %72 ], [ %76, %75 ] %79 = icmp eq ptr %78, null br i1 %79, label %80, label %90 80: ; preds = %77 %81 = icmp eq i32 %21, 0 br i1 %81, label %82, label %90 82: ; preds = %80 br i1 %66, label %83, label %87 83: ; preds = %82 %84 = load i32, ptr @EX_NOUSER, align 4, !tbaa !8 %85 = inttoptr i64 %18 to ptr %86 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %84, ptr noundef nonnull @.str.4, ptr noundef %85) #3 br label %87 87: ; preds = %83, %82 %88 = load i32, ptr @EX_NOUSER, align 4, !tbaa !8 %89 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %88, ptr noundef nonnull @.str.5, ptr noundef %17) #3 br label %90 90: ; preds = %80, %87, %77 %91 = phi ptr [ null, %87 ], [ %78, %77 ], [ @fakeuser, %80 ] %92 = tail call i32 @print_user(ptr noundef %91, i32 noundef %20, i32 noundef %22) #3 br label %93 93: ; preds = %90, %61 %94 = phi i32 [ %63, %61 ], [ %92, %90 ] ret i32 %94 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare i64 @pw_checkid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @freopen(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SETPWENT(...) local_unnamed_addr #2 declare ptr @GETPWENT(...) local_unnamed_addr #2 declare i32 @print_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ENDPWENT(...) local_unnamed_addr #2 declare i32 @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @GETPWNAM(i32 noundef) local_unnamed_addr #2 declare i32 @pw_checkname(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GETPWUID(i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !6, i64 0} !14 = distinct !{!14, !11}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/pw/extr_pw_user.c_pw_user_show.c' source_filename = "AnghaBench/freebsd/usr.sbin/pw/extr_pw_user.c_pw_user_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.passwd = type { i32 } @.str = private unnamed_addr constant [11 x i8] c"0123456789\00", align 1 @UID_MAX = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [12 x i8] c"C:qn:u:FPa7\00", align 1 @optarg = common local_unnamed_addr global ptr null, align 8 @_PATH_DEVNULL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 @EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4 @EX_DATAERR = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [24 x i8] c"username or id required\00", align 1 @fakeuser = common global %struct.passwd zeroinitializer, align 4 @EX_NOUSER = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"no such uid `%ju'\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"no such user `%s'\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @pw_user_show(i32 noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %2, null br i1 %4, label %13, label %5 5: ; preds = %3 %6 = tail call i64 @strspn(ptr noundef nonnull %2, ptr noundef nonnull @.str) %7 = getelementptr inbounds i8, ptr %2, i64 %6 %8 = load i8, ptr %7, align 1, !tbaa !6 %9 = icmp eq i8 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %5 %11 = load i32, ptr @UID_MAX, align 4, !tbaa !9 %12 = tail call i64 @pw_checkid(ptr noundef nonnull %2, i32 noundef %11) #3 br label %13 13: ; preds = %5, %10, %3 %14 = phi ptr [ %2, %5 ], [ null, %3 ], [ null, %10 ] %15 = phi i64 [ -1, %5 ], [ -1, %3 ], [ %12, %10 ] br label %16 16: ; preds = %25, %13 %17 = phi ptr [ %14, %13 ], [ %26, %25 ] %18 = phi i64 [ %15, %13 ], [ %27, %25 ] %19 = phi i32 [ 0, %13 ], [ %28, %25 ] %20 = phi i32 [ 0, %13 ], [ %29, %25 ] %21 = phi i32 [ 0, %13 ], [ %30, %25 ] %22 = phi i32 [ 0, %13 ], [ %31, %25 ] %23 = phi i32 [ 0, %13 ], [ %32, %25 ] %24 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1) #3 switch i32 %24, label %25 [ i32 -1, label %44 i32 55, label %43 i32 113, label %33 i32 110, label %34 i32 117, label %36 i32 70, label %40 i32 80, label %41 i32 97, label %42 ] 25: ; preds = %16, %43, %42, %41, %40, %36, %34, %33 %26 = phi ptr [ %17, %42 ], [ %17, %41 ], [ %17, %40 ], [ %17, %36 ], [ %35, %34 ], [ %17, %33 ], [ %17, %43 ], [ %17, %16 ] %27 = phi i64 [ %18, %42 ], [ %18, %41 ], [ %18, %40 ], [ %39, %36 ], [ %18, %34 ], [ %18, %33 ], [ %18, %43 ], [ %18, %16 ] %28 = phi i32 [ 1, %42 ], [ %19, %41 ], [ %19, %40 ], [ %19, %36 ], [ %19, %34 ], [ %19, %33 ], [ %19, %43 ], [ %19, %16 ] %29 = phi i32 [ %20, %42 ], [ 1, %41 ], [ %20, %40 ], [ %20, %36 ], [ %20, %34 ], [ %20, %33 ], [ %20, %43 ], [ %20, %16 ] %30 = phi i32 [ %21, %42 ], [ %21, %41 ], [ 1, %40 ], [ %21, %36 ], [ %21, %34 ], [ %21, %33 ], [ %21, %43 ], [ %21, %16 ] %31 = phi i32 [ %22, %42 ], [ %22, %41 ], [ %22, %40 ], [ %22, %36 ], [ %22, %34 ], [ %22, %33 ], [ 1, %43 ], [ %22, %16 ] %32 = phi i32 [ %23, %42 ], [ %23, %41 ], [ %23, %40 ], [ %23, %36 ], [ %23, %34 ], [ 1, %33 ], [ %23, %43 ], [ %23, %16 ] br label %16, !llvm.loop !11 33: ; preds = %16 br label %25 34: ; preds = %16 %35 = load ptr, ptr @optarg, align 8, !tbaa !13 br label %25 36: ; preds = %16 %37 = load ptr, ptr @optarg, align 8, !tbaa !13 %38 = load i32, ptr @UID_MAX, align 4, !tbaa !9 %39 = tail call i64 @pw_checkid(ptr noundef %37, i32 noundef %38) #3 br label %25 40: ; preds = %16 br label %25 41: ; preds = %16 br label %25 42: ; preds = %16 br label %25 43: ; preds = %16 br label %25 44: ; preds = %16 %45 = icmp eq i32 %23, 0 br i1 %45, label %50, label %46 46: ; preds = %44 %47 = load i32, ptr @_PATH_DEVNULL, align 4, !tbaa !9 %48 = load i32, ptr @stderr, align 4, !tbaa !9 %49 = tail call i32 @freopen(i32 noundef %47, ptr noundef nonnull @.str.2, i32 noundef %48) #3 br label %50 50: ; preds = %46, %44 %51 = icmp eq i32 %19, 0 br i1 %51, label %64, label %52 52: ; preds = %50 %53 = tail call i32 @SETPWENT() #3 %54 = tail call ptr @GETPWENT() #3 %55 = icmp eq ptr %54, null br i1 %55, label %61, label %56 56: ; preds = %52, %56 %57 = phi ptr [ %59, %56 ], [ %54, %52 ] %58 = tail call i32 @print_user(ptr noundef nonnull %57, i32 noundef %20, i32 noundef %22) #3 %59 = tail call ptr @GETPWENT() #3 %60 = icmp eq ptr %59, null br i1 %60, label %61, label %56, !llvm.loop !15 61: ; preds = %56, %52 %62 = tail call i32 @ENDPWENT() #3 %63 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !9 br label %93 64: ; preds = %50 %65 = icmp slt i64 %18, 0 %66 = icmp eq ptr %17, null %67 = select i1 %65, i1 %66, i1 false br i1 %67, label %68, label %71 68: ; preds = %64 %69 = load i32, ptr @EX_DATAERR, align 4, !tbaa !9 %70 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %69, ptr noundef nonnull @.str.3) #3 br label %75 71: ; preds = %64 br i1 %66, label %75, label %72 72: ; preds = %71 %73 = tail call i32 @pw_checkname(ptr noundef nonnull %17, i32 noundef 0) #3 %74 = tail call ptr @GETPWNAM(i32 noundef %73) #3 br label %77 75: ; preds = %68, %71 %76 = tail call ptr @GETPWUID(i64 noundef %18) #3 br label %77 77: ; preds = %75, %72 %78 = phi ptr [ %74, %72 ], [ %76, %75 ] %79 = icmp eq ptr %78, null br i1 %79, label %80, label %90 80: ; preds = %77 %81 = icmp eq i32 %21, 0 br i1 %81, label %82, label %90 82: ; preds = %80 br i1 %66, label %83, label %87 83: ; preds = %82 %84 = load i32, ptr @EX_NOUSER, align 4, !tbaa !9 %85 = inttoptr i64 %18 to ptr %86 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %84, ptr noundef nonnull @.str.4, ptr noundef %85) #3 br label %87 87: ; preds = %83, %82 %88 = load i32, ptr @EX_NOUSER, align 4, !tbaa !9 %89 = tail call i32 (i32, ptr, ...) @errx(i32 noundef %88, ptr noundef nonnull @.str.5, ptr noundef %17) #3 br label %90 90: ; preds = %80, %87, %77 %91 = phi ptr [ null, %87 ], [ %78, %77 ], [ @fakeuser, %80 ] %92 = tail call i32 @print_user(ptr noundef %91, i32 noundef %20, i32 noundef %22) #3 br label %93 93: ; preds = %90, %61 %94 = phi i32 [ %63, %61 ], [ %92, %90 ] ret i32 %94 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strspn(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare i64 @pw_checkid(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @freopen(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @SETPWENT(...) local_unnamed_addr #2 declare ptr @GETPWENT(...) local_unnamed_addr #2 declare i32 @print_user(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ENDPWENT(...) local_unnamed_addr #2 declare i32 @errx(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare ptr @GETPWNAM(i32 noundef) local_unnamed_addr #2 declare i32 @pw_checkname(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @GETPWUID(i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = distinct !{!15, !12}
freebsd_usr.sbin_pw_extr_pw_user.c_pw_user_show
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/vmxnet3/extr_vmxnet3_drv.c_vmxnet3_rq_cleanup_all.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/vmxnet3/extr_vmxnet3_drv.c_vmxnet3_rq_cleanup_all.c" target datalayout = "e-m:e-p270:32:32-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.vmxnet3_adapter = type { i32, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @vmxnet3_rq_cleanup_all], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vmxnet3_rq_cleanup_all(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %15 4: ; preds = %1 %5 = getelementptr inbounds %struct.vmxnet3_adapter, ptr %0, i64 0, i32 1 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %11, %6 ] %8 = load ptr, ptr %5, align 8, !tbaa !11 %9 = getelementptr inbounds i32, ptr %8, i64 %7 %10 = tail call i32 @vmxnet3_rq_cleanup(ptr noundef %9, ptr noundef nonnull %0) #2 %11 = add nuw nsw i64 %7, 1 %12 = load i32, ptr %0, align 8, !tbaa !5 %13 = sext i32 %12 to i64 %14 = icmp slt i64 %11, %13 br i1 %14, label %6, label %15, !llvm.loop !12 15: ; preds = %6, %1 ret void } declare i32 @vmxnet3_rq_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"vmxnet3_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 = !{!6, !10, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/vmxnet3/extr_vmxnet3_drv.c_vmxnet3_rq_cleanup_all.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/vmxnet3/extr_vmxnet3_drv.c_vmxnet3_rq_cleanup_all.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 @vmxnet3_rq_cleanup_all], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vmxnet3_rq_cleanup_all(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp sgt i32 %2, 0 br i1 %3, label %4, label %15 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 8 br label %6 6: ; preds = %4, %6 %7 = phi i64 [ 0, %4 ], [ %11, %6 ] %8 = load ptr, ptr %5, align 8, !tbaa !12 %9 = getelementptr inbounds i32, ptr %8, i64 %7 %10 = tail call i32 @vmxnet3_rq_cleanup(ptr noundef %9, ptr noundef nonnull %0) #2 %11 = add nuw nsw i64 %7, 1 %12 = load i32, ptr %0, align 8, !tbaa !6 %13 = sext i32 %12 to i64 %14 = icmp slt i64 %11, %13 br i1 %14, label %6, label %15, !llvm.loop !13 15: ; preds = %6, %1 ret void } declare i32 @vmxnet3_rq_cleanup(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"vmxnet3_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 = !{!7, !11, i64 8} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_drivers_net_vmxnet3_extr_vmxnet3_drv.c_vmxnet3_rq_cleanup_all
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-lg.h_lg3ff_init.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-lg.h_lg3ff_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 @lg3ff_init], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @lg3ff_init(ptr nocapture readnone %0) #0 { ret i32 -1 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/hid/extr_hid-lg.h_lg3ff_init.c' source_filename = "AnghaBench/linux/drivers/hid/extr_hid-lg.h_lg3ff_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 @lg3ff_init], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @lg3ff_init(ptr nocapture readnone %0) #0 { ret i32 -1 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_hid_extr_hid-lg.h_lg3ff_init
; ModuleID = 'AnghaBench/linux/drivers/input/keyboard/extr_lm8323.c_lm8323_configure.c' source_filename = "AnghaBench/linux/drivers/input/keyboard/extr_lm8323.c_lm8323_configure.c" target datalayout = "e-m:e-p270:32:32-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.lm8323_chip = type { i32, i32, i32, i32 } @CLK_SLOWCLKEN = dso_local local_unnamed_addr global i32 0, align 4 @CLK_RCPWM_EXTERNAL = dso_local local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_CFG = dso_local local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @LM8323_CMD_SET_KEY_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @LM8323_CMD_SET_DEBOUNCE = dso_local local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_PORT_STATE = dso_local local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_PORT_SEL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @lm8323_configure], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @lm8323_configure(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = getelementptr inbounds %struct.lm8323_chip, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = load i32, ptr @CLK_SLOWCLKEN, align 4, !tbaa !11 %6 = load i32, ptr @CLK_RCPWM_EXTERNAL, align 4, !tbaa !11 %7 = getelementptr inbounds %struct.lm8323_chip, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !12 %9 = ashr i32 %8, 2 %10 = getelementptr inbounds %struct.lm8323_chip, ptr %0, i64 0, i32 3 %11 = or i32 %6, %5 %12 = shl i32 %2, 4 %13 = or i32 %12, %4 %14 = load i32, ptr @LM8323_CMD_WRITE_CFG, align 4, !tbaa !11 %15 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %14, i32 noundef 0) #2 %16 = load i32, ptr @LM8323_CMD_WRITE_CLOCK, align 4, !tbaa !11 %17 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %16, i32 noundef %11) #2 %18 = load i32, ptr @LM8323_CMD_SET_KEY_SIZE, align 4, !tbaa !11 %19 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %18, i32 noundef %13) #2 %20 = load i32, ptr %10, align 4, !tbaa !13 %21 = tail call i32 @lm8323_set_active_time(ptr noundef nonnull %0, i32 noundef %20) #2 %22 = load i32, ptr @LM8323_CMD_SET_DEBOUNCE, align 4, !tbaa !11 %23 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %22, i32 noundef %9) #2 %24 = load i32, ptr @LM8323_CMD_WRITE_PORT_STATE, align 4, !tbaa !11 %25 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 3, i32 noundef %24, i32 noundef 255, i32 noundef 255) #2 %26 = load i32, ptr @LM8323_CMD_WRITE_PORT_SEL, align 4, !tbaa !11 %27 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 3, i32 noundef %26, i32 noundef 0, i32 noundef 0) #2 ret i32 0 } declare i32 @lm8323_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @lm8323_set_active_time(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 = !{!"lm8323_chip", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !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 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/input/keyboard/extr_lm8323.c_lm8323_configure.c' source_filename = "AnghaBench/linux/drivers/input/keyboard/extr_lm8323.c_lm8323_configure.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CLK_SLOWCLKEN = common local_unnamed_addr global i32 0, align 4 @CLK_RCPWM_EXTERNAL = common local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_CFG = common local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_CLOCK = common local_unnamed_addr global i32 0, align 4 @LM8323_CMD_SET_KEY_SIZE = common local_unnamed_addr global i32 0, align 4 @LM8323_CMD_SET_DEBOUNCE = common local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_PORT_STATE = common local_unnamed_addr global i32 0, align 4 @LM8323_CMD_WRITE_PORT_SEL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @lm8323_configure], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @lm8323_configure(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load i32, ptr @CLK_SLOWCLKEN, align 4, !tbaa !12 %6 = load i32, ptr @CLK_RCPWM_EXTERNAL, align 4, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = ashr i32 %8, 2 %10 = getelementptr inbounds i8, ptr %0, i64 12 %11 = or i32 %6, %5 %12 = shl i32 %2, 4 %13 = or i32 %12, %4 %14 = load i32, ptr @LM8323_CMD_WRITE_CFG, align 4, !tbaa !12 %15 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %14, i32 noundef 0) #2 %16 = load i32, ptr @LM8323_CMD_WRITE_CLOCK, align 4, !tbaa !12 %17 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %16, i32 noundef %11) #2 %18 = load i32, ptr @LM8323_CMD_SET_KEY_SIZE, align 4, !tbaa !12 %19 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %18, i32 noundef %13) #2 %20 = load i32, ptr %10, align 4, !tbaa !14 %21 = tail call i32 @lm8323_set_active_time(ptr noundef nonnull %0, i32 noundef %20) #2 %22 = load i32, ptr @LM8323_CMD_SET_DEBOUNCE, align 4, !tbaa !12 %23 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 2, i32 noundef %22, i32 noundef %9) #2 %24 = load i32, ptr @LM8323_CMD_WRITE_PORT_STATE, align 4, !tbaa !12 %25 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 3, i32 noundef %24, i32 noundef 255, i32 noundef 255) #2 %26 = load i32, ptr @LM8323_CMD_WRITE_PORT_SEL, align 4, !tbaa !12 %27 = tail call i32 (ptr, i32, i32, i32, ...) @lm8323_write(ptr noundef nonnull %0, i32 noundef 3, i32 noundef %26, i32 noundef 0, i32 noundef 0) #2 ret i32 0 } declare i32 @lm8323_write(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #1 declare i32 @lm8323_set_active_time(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 = !{!"lm8323_chip", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !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 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 12}
linux_drivers_input_keyboard_extr_lm8323.c_lm8323_configure
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_chan_fini.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_chan_fini.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nv04_fifo_priv = type { %struct.TYPE_3__, ptr, ptr } %struct.TYPE_3__ = type { i32, i32 } %struct.nv04_fifo_chan = type { i32, %struct.TYPE_4__ } %struct.TYPE_4__ = type { i32 } %struct.ramfc_desc = type { i64, i64, i64, i32, i32 } @NV03_PFIFO_CACHES = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH1 = dso_local local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_CACHE1_DMA_PUSH = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH0 = dso_local local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_CACHE1_PULL0 = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_GET = dso_local local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUT = dso_local local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_MODE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @nv04_fifo_chan_fini(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds %struct.nv04_fifo_priv, ptr %4, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !5 %7 = trunc i64 %3 to i32 %8 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 %9 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %8, i64 noundef undef) #2 %10 = load i32, ptr @NV03_PFIFO_CACHES, align 4, !tbaa !12 %11 = tail call i32 @nv_wr32(ptr noundef %4, i32 noundef %10, i32 noundef 0) #2 %12 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH1, align 4, !tbaa !12 %13 = tail call i32 @nv_rd32(ptr noundef %4, i32 noundef %12) #2 %14 = load i32, ptr %4, align 8, !tbaa !13 %15 = and i32 %14, %13 %16 = getelementptr inbounds %struct.nv04_fifo_chan, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = icmp eq i32 %15, %17 br i1 %18, label %19, label %88 19: ; preds = %2 %20 = load i32, ptr @NV04_PFIFO_CACHE1_DMA_PUSH, align 4, !tbaa !12 %21 = tail call i32 @nv_mask(ptr noundef nonnull %4, i32 noundef %20, i32 noundef 1, i32 noundef 0) #2 %22 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH0, align 4, !tbaa !12 %23 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %22, i32 noundef 0) #2 %24 = load i32, ptr @NV04_PFIFO_CACHE1_PULL0, align 4, !tbaa !12 %25 = tail call i32 @nv_mask(ptr noundef nonnull %4, i32 noundef %24, i32 noundef 1, i32 noundef 0) #2 %26 = getelementptr inbounds %struct.nv04_fifo_priv, ptr %4, i64 0, i32 1 %27 = load ptr, ptr %26, align 8, !tbaa !17 %28 = load i64, ptr %27, align 8, !tbaa !18 br label %29 29: ; preds = %29, %19 %30 = phi i64 [ %28, %19 ], [ %63, %29 ] %31 = phi ptr [ %27, %19 ], [ %62, %29 ] %32 = shl nsw i64 -1, %30 %33 = xor i64 %32, -1 %34 = getelementptr inbounds %struct.ramfc_desc, ptr %31, i64 0, i32 1 %35 = load i64, ptr %34, align 8, !tbaa !21 %36 = shl i64 %33, %35 %37 = trunc i64 %36 to i32 %38 = getelementptr inbounds %struct.ramfc_desc, ptr %31, i64 0, i32 2 %39 = load i64, ptr %38, align 8, !tbaa !22 %40 = shl i64 %33, %39 %41 = trunc i64 %40 to i32 %42 = getelementptr inbounds %struct.ramfc_desc, ptr %31, i64 0, i32 4 %43 = load i32, ptr %42, align 4, !tbaa !23 %44 = tail call i32 @nv_rd32(ptr noundef nonnull %4, i32 noundef %43) #2 %45 = and i32 %44, %37 %46 = load i64, ptr %34, align 8, !tbaa !21 %47 = trunc i64 %46 to i32 %48 = ashr i32 %45, %47 %49 = getelementptr inbounds %struct.ramfc_desc, ptr %31, i64 0, i32 3 %50 = load i32, ptr %49, align 8, !tbaa !24 %51 = add nsw i32 %50, %7 %52 = tail call i32 @nv_ro32(ptr noundef %6, i32 noundef %51) #2 %53 = xor i32 %41, -1 %54 = and i32 %52, %53 %55 = load i32, ptr %49, align 8, !tbaa !24 %56 = add nsw i32 %55, %7 %57 = load i64, ptr %38, align 8, !tbaa !22 %58 = trunc i64 %57 to i32 %59 = shl i32 %48, %58 %60 = or i32 %59, %54 %61 = tail call i32 @nv_wo32(ptr noundef %6, i32 noundef %56, i32 noundef %60) #2 %62 = getelementptr inbounds %struct.ramfc_desc, ptr %31, i64 1 %63 = load i64, ptr %62, align 8, !tbaa !18 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %29, !llvm.loop !25 65: ; preds = %29 %66 = load ptr, ptr %26, align 8, !tbaa !17 br label %67 67: ; preds = %67, %65 %68 = phi ptr [ %66, %65 ], [ %72, %67 ] %69 = getelementptr inbounds %struct.ramfc_desc, ptr %68, i64 0, i32 4 %70 = load i32, ptr %69, align 4, !tbaa !23 %71 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %70, i32 noundef 0) #2 %72 = getelementptr inbounds %struct.ramfc_desc, ptr %68, i64 1 %73 = load i64, ptr %72, align 8, !tbaa !18 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %67, !llvm.loop !27 75: ; preds = %67 %76 = load i32, ptr @NV03_PFIFO_CACHE1_GET, align 4, !tbaa !12 %77 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %76, i32 noundef 0) #2 %78 = load i32, ptr @NV03_PFIFO_CACHE1_PUT, align 4, !tbaa !12 %79 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %78, i32 noundef 0) #2 %80 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH1, align 4, !tbaa !12 %81 = load i32, ptr %4, align 8, !tbaa !13 %82 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %80, i32 noundef %81) #2 %83 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH0, align 4, !tbaa !12 %84 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %83, i32 noundef 1) #2 %85 = load i32, ptr @NV04_PFIFO_CACHE1_PULL0, align 4, !tbaa !12 %86 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %85, i32 noundef 1) #2 %87 = load i32, ptr %16, align 4, !tbaa !14 br label %88 88: ; preds = %75, %2 %89 = phi i32 [ %87, %75 ], [ %17, %2 ] %90 = load i32, ptr @NV04_PFIFO_MODE, align 4, !tbaa !12 %91 = shl nuw i32 1, %89 %92 = tail call i32 @nv_mask(ptr noundef nonnull %4, i32 noundef %90, i32 noundef %91, i32 noundef 0) #2 %93 = load i32, ptr @NV03_PFIFO_CACHES, align 4, !tbaa !12 %94 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %93, i32 noundef 1) #2 %95 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %8, i64 noundef undef) #2 %96 = tail call i32 @nouveau_fifo_channel_fini(ptr noundef nonnull %16, i32 noundef %1) #2 ret i32 %96 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_ro32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_wo32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @nouveau_fifo_channel_fini(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"nv04_fifo_priv", !7, i64 0, !11, i64 8, !11, i64 16} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!6, !8, i64 0} !14 = !{!15, !8, i64 4} !15 = !{!"nv04_fifo_chan", !8, i64 0, !16, i64 4} !16 = !{!"TYPE_4__", !8, i64 0} !17 = !{!6, !11, i64 8} !18 = !{!19, !20, i64 0} !19 = !{!"ramfc_desc", !20, i64 0, !20, i64 8, !20, i64 16, !8, i64 24, !8, i64 28} !20 = !{!"long long", !9, i64 0} !21 = !{!19, !20, i64 8} !22 = !{!19, !20, i64 16} !23 = !{!19, !8, i64 28} !24 = !{!19, !8, i64 24} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = distinct !{!27, !26}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_chan_fini.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/gpu/drm/nouveau/core/engine/fifo/extr_nv04.c_nv04_fifo_chan_fini.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NV03_PFIFO_CACHES = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH1 = common local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_CACHE1_DMA_PUSH = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUSH0 = common local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_CACHE1_PULL0 = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_GET = common local_unnamed_addr global i32 0, align 4 @NV03_PFIFO_CACHE1_PUT = common local_unnamed_addr global i32 0, align 4 @NV04_PFIFO_MODE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @nv04_fifo_chan_fini(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr %0, align 8 %4 = inttoptr i64 %3 to ptr %5 = getelementptr inbounds i8, ptr %4, i64 16 %6 = load ptr, ptr %5, align 8, !tbaa !6 %7 = trunc i64 %3 to i32 %8 = getelementptr inbounds i8, ptr %4, i64 4 %9 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %8, i64 noundef undef) #2 %10 = load i32, ptr @NV03_PFIFO_CACHES, align 4, !tbaa !13 %11 = tail call i32 @nv_wr32(ptr noundef %4, i32 noundef %10, i32 noundef 0) #2 %12 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH1, align 4, !tbaa !13 %13 = tail call i32 @nv_rd32(ptr noundef %4, i32 noundef %12) #2 %14 = load i32, ptr %4, align 8, !tbaa !14 %15 = and i32 %14, %13 %16 = getelementptr inbounds i8, ptr %0, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = icmp eq i32 %15, %17 br i1 %18, label %19, label %88 19: ; preds = %2 %20 = load i32, ptr @NV04_PFIFO_CACHE1_DMA_PUSH, align 4, !tbaa !13 %21 = tail call i32 @nv_mask(ptr noundef nonnull %4, i32 noundef %20, i32 noundef 1, i32 noundef 0) #2 %22 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH0, align 4, !tbaa !13 %23 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %22, i32 noundef 0) #2 %24 = load i32, ptr @NV04_PFIFO_CACHE1_PULL0, align 4, !tbaa !13 %25 = tail call i32 @nv_mask(ptr noundef nonnull %4, i32 noundef %24, i32 noundef 1, i32 noundef 0) #2 %26 = getelementptr inbounds i8, ptr %4, i64 8 %27 = load ptr, ptr %26, align 8, !tbaa !18 %28 = load i64, ptr %27, align 8, !tbaa !19 br label %29 29: ; preds = %29, %19 %30 = phi i64 [ %28, %19 ], [ %63, %29 ] %31 = phi ptr [ %27, %19 ], [ %62, %29 ] %32 = shl nsw i64 -1, %30 %33 = xor i64 %32, -1 %34 = getelementptr inbounds i8, ptr %31, i64 8 %35 = load i64, ptr %34, align 8, !tbaa !22 %36 = shl i64 %33, %35 %37 = trunc i64 %36 to i32 %38 = getelementptr inbounds i8, ptr %31, i64 16 %39 = load i64, ptr %38, align 8, !tbaa !23 %40 = shl i64 %33, %39 %41 = trunc i64 %40 to i32 %42 = getelementptr inbounds i8, ptr %31, i64 28 %43 = load i32, ptr %42, align 4, !tbaa !24 %44 = tail call i32 @nv_rd32(ptr noundef nonnull %4, i32 noundef %43) #2 %45 = and i32 %44, %37 %46 = load i64, ptr %34, align 8, !tbaa !22 %47 = trunc i64 %46 to i32 %48 = ashr i32 %45, %47 %49 = getelementptr inbounds i8, ptr %31, i64 24 %50 = load i32, ptr %49, align 8, !tbaa !25 %51 = add nsw i32 %50, %7 %52 = tail call i32 @nv_ro32(ptr noundef %6, i32 noundef %51) #2 %53 = xor i32 %41, -1 %54 = and i32 %52, %53 %55 = load i32, ptr %49, align 8, !tbaa !25 %56 = add nsw i32 %55, %7 %57 = load i64, ptr %38, align 8, !tbaa !23 %58 = trunc i64 %57 to i32 %59 = shl i32 %48, %58 %60 = or i32 %59, %54 %61 = tail call i32 @nv_wo32(ptr noundef %6, i32 noundef %56, i32 noundef %60) #2 %62 = getelementptr inbounds i8, ptr %31, i64 32 %63 = load i64, ptr %62, align 8, !tbaa !19 %64 = icmp eq i64 %63, 0 br i1 %64, label %65, label %29, !llvm.loop !26 65: ; preds = %29 %66 = load ptr, ptr %26, align 8, !tbaa !18 br label %67 67: ; preds = %67, %65 %68 = phi ptr [ %66, %65 ], [ %72, %67 ] %69 = getelementptr inbounds i8, ptr %68, i64 28 %70 = load i32, ptr %69, align 4, !tbaa !24 %71 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %70, i32 noundef 0) #2 %72 = getelementptr inbounds i8, ptr %68, i64 32 %73 = load i64, ptr %72, align 8, !tbaa !19 %74 = icmp eq i64 %73, 0 br i1 %74, label %75, label %67, !llvm.loop !28 75: ; preds = %67 %76 = load i32, ptr @NV03_PFIFO_CACHE1_GET, align 4, !tbaa !13 %77 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %76, i32 noundef 0) #2 %78 = load i32, ptr @NV03_PFIFO_CACHE1_PUT, align 4, !tbaa !13 %79 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %78, i32 noundef 0) #2 %80 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH1, align 4, !tbaa !13 %81 = load i32, ptr %4, align 8, !tbaa !14 %82 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %80, i32 noundef %81) #2 %83 = load i32, ptr @NV03_PFIFO_CACHE1_PUSH0, align 4, !tbaa !13 %84 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %83, i32 noundef 1) #2 %85 = load i32, ptr @NV04_PFIFO_CACHE1_PULL0, align 4, !tbaa !13 %86 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %85, i32 noundef 1) #2 %87 = load i32, ptr %16, align 4, !tbaa !15 br label %88 88: ; preds = %75, %2 %89 = phi i32 [ %87, %75 ], [ %17, %2 ] %90 = load i32, ptr @NV04_PFIFO_MODE, align 4, !tbaa !13 %91 = shl nuw i32 1, %89 %92 = tail call i32 @nv_mask(ptr noundef nonnull %4, i32 noundef %90, i32 noundef %91, i32 noundef 0) #2 %93 = load i32, ptr @NV03_PFIFO_CACHES, align 4, !tbaa !13 %94 = tail call i32 @nv_wr32(ptr noundef nonnull %4, i32 noundef %93, i32 noundef 1) #2 %95 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %8, i64 noundef undef) #2 %96 = tail call i32 @nouveau_fifo_channel_fini(ptr noundef nonnull %16, i32 noundef %1) #2 ret i32 %96 } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @nv_wr32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_mask(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_ro32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nv_wo32(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @nouveau_fifo_channel_fini(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"nv04_fifo_priv", !8, i64 0, !12, i64 8, !12, i64 16} !8 = !{!"TYPE_3__", !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 = !{!9, !9, i64 0} !14 = !{!7, !9, i64 0} !15 = !{!16, !9, i64 4} !16 = !{!"nv04_fifo_chan", !9, i64 0, !17, i64 4} !17 = !{!"TYPE_4__", !9, i64 0} !18 = !{!7, !12, i64 8} !19 = !{!20, !21, i64 0} !20 = !{!"ramfc_desc", !21, i64 0, !21, i64 8, !21, i64 16, !9, i64 24, !9, i64 28} !21 = !{!"long long", !10, i64 0} !22 = !{!20, !21, i64 8} !23 = !{!20, !21, i64 16} !24 = !{!20, !9, i64 28} !25 = !{!20, !9, i64 24} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = distinct !{!28, !27}
fastsocket_kernel_drivers_gpu_drm_nouveau_core_engine_fifo_extr_nv04.c_nv04_fifo_chan_fini
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_csc_coeff.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_csc_coeff.c" target datalayout = "e-m:e-p270:32:32-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 @ad9389b_csc_coeff], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ad9389b_csc_coeff(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) #0 { %14 = ashr i32 %1, 8 %15 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 24, i32 noundef 224, i32 noundef %14) #2 %16 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 25, i32 noundef %1) #2 %17 = ashr i32 %2, 8 %18 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 26, i32 noundef 224, i32 noundef %17) #2 %19 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 27, i32 noundef %2) #2 %20 = ashr i32 %3, 8 %21 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 28, i32 noundef 224, i32 noundef %20) #2 %22 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 29, i32 noundef %3) #2 %23 = ashr i32 %4, 8 %24 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 30, i32 noundef 224, i32 noundef %23) #2 %25 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 31, i32 noundef %4) #2 %26 = ashr i32 %5, 8 %27 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 32, i32 noundef 224, i32 noundef %26) #2 %28 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 33, i32 noundef %5) #2 %29 = ashr i32 %6, 8 %30 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 34, i32 noundef 224, i32 noundef %29) #2 %31 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 35, i32 noundef %6) #2 %32 = ashr i32 %7, 8 %33 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 36, i32 noundef 224, i32 noundef %32) #2 %34 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 37, i32 noundef %7) #2 %35 = ashr i32 %8, 8 %36 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 38, i32 noundef 224, i32 noundef %35) #2 %37 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 39, i32 noundef %8) #2 %38 = ashr i32 %9, 8 %39 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 40, i32 noundef 224, i32 noundef %38) #2 %40 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 41, i32 noundef %9) #2 %41 = ashr i32 %10, 8 %42 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 42, i32 noundef 224, i32 noundef %41) #2 %43 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 43, i32 noundef %10) #2 %44 = ashr i32 %11, 8 %45 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 44, i32 noundef 224, i32 noundef %44) #2 %46 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 45, i32 noundef %11) #2 %47 = ashr i32 %12, 8 %48 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 46, i32 noundef 224, i32 noundef %47) #2 %49 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 47, i32 noundef %12) #2 ret void } declare i32 @ad9389b_wr_and_or(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ad9389b_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_csc_coeff.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ad9389b.c_ad9389b_csc_coeff.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 @ad9389b_csc_coeff], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ad9389b_csc_coeff(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, i32 noundef %11, i32 noundef %12) #0 { %14 = ashr i32 %1, 8 %15 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 24, i32 noundef 224, i32 noundef %14) #2 %16 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 25, i32 noundef %1) #2 %17 = ashr i32 %2, 8 %18 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 26, i32 noundef 224, i32 noundef %17) #2 %19 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 27, i32 noundef %2) #2 %20 = ashr i32 %3, 8 %21 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 28, i32 noundef 224, i32 noundef %20) #2 %22 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 29, i32 noundef %3) #2 %23 = ashr i32 %4, 8 %24 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 30, i32 noundef 224, i32 noundef %23) #2 %25 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 31, i32 noundef %4) #2 %26 = ashr i32 %5, 8 %27 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 32, i32 noundef 224, i32 noundef %26) #2 %28 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 33, i32 noundef %5) #2 %29 = ashr i32 %6, 8 %30 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 34, i32 noundef 224, i32 noundef %29) #2 %31 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 35, i32 noundef %6) #2 %32 = ashr i32 %7, 8 %33 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 36, i32 noundef 224, i32 noundef %32) #2 %34 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 37, i32 noundef %7) #2 %35 = ashr i32 %8, 8 %36 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 38, i32 noundef 224, i32 noundef %35) #2 %37 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 39, i32 noundef %8) #2 %38 = ashr i32 %9, 8 %39 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 40, i32 noundef 224, i32 noundef %38) #2 %40 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 41, i32 noundef %9) #2 %41 = ashr i32 %10, 8 %42 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 42, i32 noundef 224, i32 noundef %41) #2 %43 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 43, i32 noundef %10) #2 %44 = ashr i32 %11, 8 %45 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 44, i32 noundef 224, i32 noundef %44) #2 %46 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 45, i32 noundef %11) #2 %47 = ashr i32 %12, 8 %48 = tail call i32 @ad9389b_wr_and_or(ptr noundef %0, i32 noundef 46, i32 noundef 224, i32 noundef %47) #2 %49 = tail call i32 @ad9389b_wr(ptr noundef %0, i32 noundef 47, i32 noundef %12) #2 ret void } declare i32 @ad9389b_wr_and_or(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ad9389b_wr(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_media_i2c_extr_ad9389b.c_ad9389b_csc_coeff
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_conntrack_seqadj.c_nf_ct_seqadj_init.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_conntrack_seqadj.c_nf_ct_seqadj_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.nf_ct_seqadj = type { i64, i64 } @IPS_SEQ_ADJUST_BIT = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @nf_ct_seqadj_init(ptr noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @CTINFO2DIR(i32 noundef %1) #2 %5 = icmp eq i64 %2, 0 br i1 %5, label %14, label %6 6: ; preds = %3 %7 = load i32, ptr @IPS_SEQ_ADJUST_BIT, align 4, !tbaa !5 %8 = tail call i32 @set_bit(i32 noundef %7, ptr noundef %0) #2 %9 = tail call ptr @nfct_seqadj(ptr noundef %0) #2 %10 = load ptr, ptr %9, align 8, !tbaa !9 %11 = zext i32 %4 to i64 %12 = getelementptr inbounds %struct.nf_ct_seqadj, ptr %10, i64 %11 %13 = getelementptr inbounds %struct.nf_ct_seqadj, ptr %10, i64 %11, i32 1 store i64 %2, ptr %13, align 8, !tbaa !12 store i64 %2, ptr %12, align 8, !tbaa !15 br label %14 14: ; preds = %3, %6 ret i32 0 } declare i32 @CTINFO2DIR(i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @nfct_seqadj(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 = !{!"nf_conn_seqadj", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"nf_ct_seqadj", !14, i64 0, !14, i64 8} !14 = !{!"long", !7, i64 0} !15 = !{!13, !14, i64 0}
; ModuleID = 'AnghaBench/linux/net/netfilter/extr_nf_conntrack_seqadj.c_nf_ct_seqadj_init.c' source_filename = "AnghaBench/linux/net/netfilter/extr_nf_conntrack_seqadj.c_nf_ct_seqadj_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.nf_ct_seqadj = type { i64, i64 } @IPS_SEQ_ADJUST_BIT = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @nf_ct_seqadj_init(ptr noundef %0, i32 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @CTINFO2DIR(i32 noundef %1) #2 %5 = icmp eq i64 %2, 0 br i1 %5, label %15, label %6 6: ; preds = %3 %7 = load i32, ptr @IPS_SEQ_ADJUST_BIT, align 4, !tbaa !6 %8 = tail call i32 @set_bit(i32 noundef %7, ptr noundef %0) #2 %9 = tail call ptr @nfct_seqadj(ptr noundef %0) #2 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = zext i32 %4 to i64 %12 = getelementptr inbounds %struct.nf_ct_seqadj, ptr %10, i64 %11 %13 = insertelement <2 x i64> poison, i64 %2, i64 0 %14 = shufflevector <2 x i64> %13, <2 x i64> poison, <2 x i32> zeroinitializer store <2 x i64> %14, ptr %12, align 8, !tbaa !13 br label %15 15: ; preds = %3, %6 ret i32 0 } declare i32 @CTINFO2DIR(i32 noundef) local_unnamed_addr #1 declare i32 @set_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @nfct_seqadj(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 = !{!"nf_conn_seqadj", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0}
linux_net_netfilter_extr_nf_conntrack_seqadj.c_nf_ct_seqadj_init
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/extr_qca8k.c_qca8k_get_strings.c' source_filename = "AnghaBench/linux/drivers/net/dsa/extr_qca8k.c_qca8k_get_strings.c" target datalayout = "e-m:e-p270:32:32-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 } @ETH_SS_STATS = dso_local local_unnamed_addr global i64 0, align 8 @ar8327_mib = dso_local local_unnamed_addr global ptr null, align 8 @ETH_GSTRING_LEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qca8k_get_strings], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @qca8k_get_strings(ptr nocapture readnone %0, i32 %1, i64 noundef %2, ptr noundef %3) #0 { %5 = load i64, ptr @ETH_SS_STATS, align 8, !tbaa !5 %6 = icmp eq i64 %5, %2 br i1 %6, label %7, label %27 7: ; preds = %4 %8 = load ptr, ptr @ar8327_mib, align 8, !tbaa !9 %9 = tail call i32 @ARRAY_SIZE(ptr noundef %8) #2 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %7, %11 %12 = phi i64 [ %22, %11 ], [ 0, %7 ] %13 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !11 %14 = trunc i64 %12 to i32 %15 = mul nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %3, i64 %16 %18 = load ptr, ptr @ar8327_mib, align 8, !tbaa !9 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %12 %20 = load i32, ptr %19, align 4, !tbaa !13 %21 = tail call i32 @strncpy(ptr noundef %17, i32 noundef %20, i32 noundef %13) #2 %22 = add nuw nsw i64 %12, 1 %23 = load ptr, ptr @ar8327_mib, align 8, !tbaa !9 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %22, %25 br i1 %26, label %11, label %27, !llvm.loop !15 27: ; preds = %11, %7, %4 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_3__", !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/dsa/extr_qca8k.c_qca8k_get_strings.c' source_filename = "AnghaBench/linux/drivers/net/dsa/extr_qca8k.c_qca8k_get_strings.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 } @ETH_SS_STATS = common local_unnamed_addr global i64 0, align 8 @ar8327_mib = common local_unnamed_addr global ptr null, align 8 @ETH_GSTRING_LEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qca8k_get_strings], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @qca8k_get_strings(ptr nocapture readnone %0, i32 %1, i64 noundef %2, ptr noundef %3) #0 { %5 = load i64, ptr @ETH_SS_STATS, align 8, !tbaa !6 %6 = icmp eq i64 %5, %2 br i1 %6, label %7, label %27 7: ; preds = %4 %8 = load ptr, ptr @ar8327_mib, align 8, !tbaa !10 %9 = tail call i32 @ARRAY_SIZE(ptr noundef %8) #2 %10 = icmp sgt i32 %9, 0 br i1 %10, label %11, label %27 11: ; preds = %7, %11 %12 = phi i64 [ %22, %11 ], [ 0, %7 ] %13 = load i32, ptr @ETH_GSTRING_LEN, align 4, !tbaa !12 %14 = trunc nuw nsw i64 %12 to i32 %15 = mul nsw i32 %13, %14 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %3, i64 %16 %18 = load ptr, ptr @ar8327_mib, align 8, !tbaa !10 %19 = getelementptr inbounds %struct.TYPE_3__, ptr %18, i64 %12 %20 = load i32, ptr %19, align 4, !tbaa !14 %21 = tail call i32 @strncpy(ptr noundef %17, i32 noundef %20, i32 noundef %13) #2 %22 = add nuw nsw i64 %12, 1 %23 = load ptr, ptr @ar8327_mib, align 8, !tbaa !10 %24 = tail call i32 @ARRAY_SIZE(ptr noundef %23) #2 %25 = sext i32 %24 to i64 %26 = icmp slt i64 %22, %25 br i1 %26, label %11, label %27, !llvm.loop !16 27: ; preds = %11, %7, %4 ret void } declare i32 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"TYPE_3__", !13, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_dsa_extr_qca8k.c_qca8k_get_strings
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-ds1511.c_ds1511_nvram_read.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-ds1511.c_ds1511_nvram_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DS1511_RAMADDR_LSB = dso_local local_unnamed_addr global i32 0, align 4 @DS1511_RAMDATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ds1511_nvram_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ds1511_nvram_read(ptr nocapture readnone %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i64 noundef %3) #0 { %5 = load i32, ptr @DS1511_RAMADDR_LSB, align 4, !tbaa !5 %6 = tail call i32 @rtc_write(i32 noundef %1, i32 noundef %5) #2 %7 = icmp eq i64 %3, 0 br i1 %7, label %16, label %8 8: ; preds = %4, %8 %9 = phi i64 [ %14, %8 ], [ 0, %4 ] %10 = phi ptr [ %13, %8 ], [ %2, %4 ] %11 = load i32, ptr @DS1511_RAMDATA, align 4, !tbaa !5 %12 = tail call signext i8 @rtc_read(i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %12, ptr %10, align 1, !tbaa !9 %14 = add nuw i64 %9, 1 %15 = icmp eq i64 %14, %3 br i1 %15, label %16, label %8, !llvm.loop !10 16: ; preds = %8, %4 ret i32 0 } declare i32 @rtc_write(i32 noundef, i32 noundef) local_unnamed_addr #1 declare signext i8 @rtc_read(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 = !{!7, !7, i64 0} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/rtc/extr_rtc-ds1511.c_ds1511_nvram_read.c' source_filename = "AnghaBench/linux/drivers/rtc/extr_rtc-ds1511.c_ds1511_nvram_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DS1511_RAMADDR_LSB = common local_unnamed_addr global i32 0, align 4 @DS1511_RAMDATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ds1511_nvram_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ds1511_nvram_read(ptr nocapture readnone %0, i32 noundef %1, ptr nocapture noundef writeonly %2, i64 noundef %3) #0 { %5 = load i32, ptr @DS1511_RAMADDR_LSB, align 4, !tbaa !6 %6 = tail call i32 @rtc_write(i32 noundef %1, i32 noundef %5) #2 %7 = icmp eq i64 %3, 0 br i1 %7, label %16, label %8 8: ; preds = %4, %8 %9 = phi i64 [ %14, %8 ], [ 0, %4 ] %10 = phi ptr [ %13, %8 ], [ %2, %4 ] %11 = load i32, ptr @DS1511_RAMDATA, align 4, !tbaa !6 %12 = tail call signext i8 @rtc_read(i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %10, i64 1 store i8 %12, ptr %10, align 1, !tbaa !10 %14 = add nuw i64 %9, 1 %15 = icmp eq i64 %14, %3 br i1 %15, label %16, label %8, !llvm.loop !11 16: ; preds = %8, %4 ret i32 0 } declare i32 @rtc_write(i32 noundef, i32 noundef) local_unnamed_addr #1 declare signext i8 @rtc_read(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 = !{!8, !8, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
linux_drivers_rtc_extr_rtc-ds1511.c_ds1511_nvram_read
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_devfs_create_device.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_devfs_create_device.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @devfs_create_device = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mac_devfs_create_device(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @devfs_create_device, align 4, !tbaa !5 %6 = load i32, ptr %3, align 4, !tbaa !9 %7 = tail call i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef %5, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, i32 noundef %6) #2 ret void } declare i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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 = !{!"devfs_dirent", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_devfs_create_device.c' source_filename = "AnghaBench/freebsd/sys/security/mac/extr_mac_vfs.c_mac_devfs_create_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @devfs_create_device = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mac_devfs_create_device(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @devfs_create_device, align 4, !tbaa !6 %6 = load i32, ptr %3, align 4, !tbaa !10 %7 = tail call i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef %5, ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef nonnull %3, i32 noundef %6) #2 ret void } declare i32 @MAC_POLICY_PERFORM_NOSLEEP(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !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 = !{!"devfs_dirent", !7, i64 0}
freebsd_sys_security_mac_extr_mac_vfs.c_mac_devfs_create_device
; ModuleID = 'AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-udc.h_isp1760_udc_unregister.c' source_filename = "AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-udc.h_isp1760_udc_unregister.c" target datalayout = "e-m:e-p270:32:32-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 @isp1760_udc_unregister], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @isp1760_udc_unregister(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-udc.h_isp1760_udc_unregister.c' source_filename = "AnghaBench/linux/drivers/usb/isp1760/extr_isp1760-udc.h_isp1760_udc_unregister.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 @isp1760_udc_unregister], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @isp1760_udc_unregister(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_usb_isp1760_extr_isp1760-udc.h_isp1760_udc_unregister
; ModuleID = 'AnghaBench/RetroArch/input/drivers_hid/extr_iohidmanager_hid.c_iohidmanager_hid_device_add.c' source_filename = "AnghaBench/RetroArch/input/drivers_hid/extr_iohidmanager_hid.c_iohidmanager_hid_device_add.c" target datalayout = "e-m:e-p270:32:32-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 @iohidmanager_hid_device_add], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iohidmanager_hid_device_add(ptr nocapture readnone %0, i32 %1, ptr nocapture readnone %2, i32 noundef %3) #0 { %5 = tail call i64 (...) @hid_driver_get_data() #2 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 @iohidmanager_hid_device_add_device(i32 noundef %3, ptr noundef %6) #2 ret void } declare i64 @hid_driver_get_data(...) local_unnamed_addr #1 declare i32 @iohidmanager_hid_device_add_device(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)"}
; ModuleID = 'AnghaBench/RetroArch/input/drivers_hid/extr_iohidmanager_hid.c_iohidmanager_hid_device_add.c' source_filename = "AnghaBench/RetroArch/input/drivers_hid/extr_iohidmanager_hid.c_iohidmanager_hid_device_add.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 @iohidmanager_hid_device_add], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iohidmanager_hid_device_add(ptr nocapture readnone %0, i32 %1, ptr nocapture readnone %2, i32 noundef %3) #0 { %5 = tail call i64 @hid_driver_get_data() #2 %6 = inttoptr i64 %5 to ptr %7 = tail call i32 @iohidmanager_hid_device_add_device(i32 noundef %3, ptr noundef %6) #2 ret void } declare i64 @hid_driver_get_data(...) local_unnamed_addr #1 declare i32 @iohidmanager_hid_device_add_device(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)"}
RetroArch_input_drivers_hid_extr_iohidmanager_hid.c_iohidmanager_hid_device_add
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_restore_gp.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_restore_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" @TARGET_ABICALLS = dso_local local_unnamed_addr global i64 0, align 8 @TARGET_OLDABI = dso_local local_unnamed_addr global i64 0, align 8 @pic_offset_table_rtx = dso_local local_unnamed_addr global i32 0, align 4 @frame_pointer_needed = dso_local local_unnamed_addr global i64 0, align 8 @hard_frame_pointer_rtx = dso_local local_unnamed_addr global i32 0, align 4 @stack_pointer_rtx = dso_local local_unnamed_addr global i32 0, align 4 @current_function_outgoing_args_size = dso_local local_unnamed_addr global i32 0, align 4 @Pmode = dso_local local_unnamed_addr global i32 0, align 4 @TARGET_EXPLICIT_RELOCS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @mips_restore_gp() local_unnamed_addr #0 { %1 = load i64, ptr @TARGET_ABICALLS, align 8, !tbaa !5 %2 = icmp ne i64 %1, 0 %3 = load i64, ptr @TARGET_OLDABI, align 8 %4 = icmp ne i64 %3, 0 %5 = select i1 %2, i1 %4, i1 false %6 = zext i1 %5 to i32 %7 = tail call i32 @gcc_assert(i32 noundef %6) #2 %8 = load i32, ptr @pic_offset_table_rtx, align 4, !tbaa !9 %9 = load i64, ptr @frame_pointer_needed, align 8, !tbaa !5 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @hard_frame_pointer_rtx, align 4 %12 = load i32, ptr @stack_pointer_rtx, align 4 %13 = select i1 %10, i32 %12, i32 %11 %14 = load i32, ptr @current_function_outgoing_args_size, align 4, !tbaa !9 %15 = tail call i32 @mips_add_offset(i32 noundef %8, i32 noundef %13, i32 noundef %14) #2 %16 = load i32, ptr @Pmode, align 4, !tbaa !9 %17 = tail call i32 @gen_rtx_MEM(i32 noundef %16, i32 noundef %15) #2 %18 = load i32, ptr @pic_offset_table_rtx, align 4, !tbaa !9 %19 = tail call i32 @emit_move_insn(i32 noundef %18, i32 noundef %17) #2 %20 = load i32, ptr @TARGET_EXPLICIT_RELOCS, align 4, !tbaa !9 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %0 %23 = tail call i32 (...) @gen_blockage() #2 %24 = tail call i32 @emit_insn(i32 noundef %23) #2 br label %25 25: ; preds = %22, %0 ret void } declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1 declare i32 @mips_add_offset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gen_rtx_MEM(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @emit_move_insn(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_blockage(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_restore_gp.c' source_filename = "AnghaBench/freebsd/contrib/gcc/config/mips/extr_mips.c_mips_restore_gp.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TARGET_ABICALLS = common local_unnamed_addr global i64 0, align 8 @TARGET_OLDABI = common local_unnamed_addr global i64 0, align 8 @pic_offset_table_rtx = common local_unnamed_addr global i32 0, align 4 @frame_pointer_needed = common local_unnamed_addr global i64 0, align 8 @hard_frame_pointer_rtx = common local_unnamed_addr global i32 0, align 4 @stack_pointer_rtx = common local_unnamed_addr global i32 0, align 4 @current_function_outgoing_args_size = common local_unnamed_addr global i32 0, align 4 @Pmode = common local_unnamed_addr global i32 0, align 4 @TARGET_EXPLICIT_RELOCS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @mips_restore_gp() local_unnamed_addr #0 { %1 = load i64, ptr @TARGET_ABICALLS, align 8, !tbaa !6 %2 = icmp ne i64 %1, 0 %3 = load i64, ptr @TARGET_OLDABI, align 8 %4 = icmp ne i64 %3, 0 %5 = select i1 %2, i1 %4, i1 false %6 = zext i1 %5 to i32 %7 = tail call i32 @gcc_assert(i32 noundef %6) #2 %8 = load i32, ptr @pic_offset_table_rtx, align 4, !tbaa !10 %9 = load i64, ptr @frame_pointer_needed, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 %11 = load i32, ptr @hard_frame_pointer_rtx, align 4 %12 = load i32, ptr @stack_pointer_rtx, align 4 %13 = select i1 %10, i32 %12, i32 %11 %14 = load i32, ptr @current_function_outgoing_args_size, align 4, !tbaa !10 %15 = tail call i32 @mips_add_offset(i32 noundef %8, i32 noundef %13, i32 noundef %14) #2 %16 = load i32, ptr @Pmode, align 4, !tbaa !10 %17 = tail call i32 @gen_rtx_MEM(i32 noundef %16, i32 noundef %15) #2 %18 = load i32, ptr @pic_offset_table_rtx, align 4, !tbaa !10 %19 = tail call i32 @emit_move_insn(i32 noundef %18, i32 noundef %17) #2 %20 = load i32, ptr @TARGET_EXPLICIT_RELOCS, align 4, !tbaa !10 %21 = icmp eq i32 %20, 0 br i1 %21, label %22, label %25 22: ; preds = %0 %23 = tail call i32 @gen_blockage() #2 %24 = tail call i32 @emit_insn(i32 noundef %23) #2 br label %25 25: ; preds = %22, %0 ret void } declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #1 declare i32 @mips_add_offset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gen_rtx_MEM(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @emit_move_insn(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @emit_insn(i32 noundef) local_unnamed_addr #1 declare i32 @gen_blockage(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
freebsd_contrib_gcc_config_mips_extr_mips.c_mips_restore_gp
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_dir.c_nilfs_set_link.c' source_filename = "AnghaBench/linux/fs/nilfs2/extr_dir.c_nilfs_set_link.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.nilfs_dir_entry = type { i32, i32 } %struct.inode = type { i32, i32, i32 } ; Function Attrs: nounwind uwtable define dso_local void @nilfs_set_link(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i64 @page_address(ptr noundef %2) #2 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %6, %5 %8 = trunc i64 %7 to i32 %9 = getelementptr inbounds %struct.nilfs_dir_entry, ptr %1, i64 0, i32 1 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = tail call i32 @nilfs_rec_len_from_disk(i32 noundef %10) #2 %12 = add i32 %11, %8 %13 = load ptr, ptr %2, align 8, !tbaa !10 %14 = tail call i32 @lock_page(ptr noundef nonnull %2) #2 %15 = tail call i32 @nilfs_prepare_chunk(ptr noundef nonnull %2, i32 noundef %8, i32 noundef %12) #2 %16 = tail call i32 @BUG_ON(i32 noundef %15) #2 %17 = getelementptr inbounds %struct.inode, ptr %3, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !13 %19 = tail call i32 @cpu_to_le64(i32 noundef %18) #2 store i32 %19, ptr %1, align 4, !tbaa !15 %20 = tail call i32 @nilfs_set_de_type(ptr noundef nonnull %1, ptr noundef %3) #2 %21 = tail call i32 @nilfs_commit_chunk(ptr noundef nonnull %2, ptr noundef %13, i32 noundef %8, i32 noundef %12) #2 %22 = tail call i32 @nilfs_put_page(ptr noundef nonnull %2) #2 %23 = tail call i32 @current_time(ptr noundef %0) #2 store i32 %23, ptr %0, align 4, !tbaa !16 %24 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 store i32 %23, ptr %24, align 4, !tbaa !17 ret void } declare i64 @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_rec_len_from_disk(i32 noundef) local_unnamed_addr #1 declare i32 @lock_page(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_prepare_chunk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #1 declare i32 @nilfs_set_de_type(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_commit_chunk(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nilfs_put_page(ptr noundef) local_unnamed_addr #1 declare i32 @current_time(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 4} !6 = !{!"nilfs_dir_entry", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"page", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 8} !14 = !{!"inode", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!6, !7, i64 0} !16 = !{!14, !7, i64 0} !17 = !{!14, !7, i64 4}
; ModuleID = 'AnghaBench/linux/fs/nilfs2/extr_dir.c_nilfs_set_link.c' source_filename = "AnghaBench/linux/fs/nilfs2/extr_dir.c_nilfs_set_link.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 @nilfs_set_link(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i64 @page_address(ptr noundef %2) #2 %6 = ptrtoint ptr %1 to i64 %7 = sub i64 %6, %5 %8 = trunc i64 %7 to i32 %9 = getelementptr inbounds i8, ptr %1, i64 4 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = tail call i32 @nilfs_rec_len_from_disk(i32 noundef %10) #2 %12 = add i32 %11, %8 %13 = load ptr, ptr %2, align 8, !tbaa !11 %14 = tail call i32 @lock_page(ptr noundef nonnull %2) #2 %15 = tail call i32 @nilfs_prepare_chunk(ptr noundef nonnull %2, i32 noundef %8, i32 noundef %12) #2 %16 = tail call i32 @BUG_ON(i32 noundef %15) #2 %17 = getelementptr inbounds i8, ptr %3, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !14 %19 = tail call i32 @cpu_to_le64(i32 noundef %18) #2 store i32 %19, ptr %1, align 4, !tbaa !16 %20 = tail call i32 @nilfs_set_de_type(ptr noundef nonnull %1, ptr noundef %3) #2 %21 = tail call i32 @nilfs_commit_chunk(ptr noundef nonnull %2, ptr noundef %13, i32 noundef %8, i32 noundef %12) #2 %22 = tail call i32 @nilfs_put_page(ptr noundef nonnull %2) #2 %23 = tail call i32 @current_time(ptr noundef %0) #2 store i32 %23, ptr %0, align 4, !tbaa !17 %24 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %23, ptr %24, align 4, !tbaa !18 ret void } declare i64 @page_address(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_rec_len_from_disk(i32 noundef) local_unnamed_addr #1 declare i32 @lock_page(ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_prepare_chunk(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #1 declare i32 @nilfs_set_de_type(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @nilfs_commit_chunk(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @nilfs_put_page(ptr noundef) local_unnamed_addr #1 declare i32 @current_time(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 4} !7 = !{!"nilfs_dir_entry", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"page", !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !8, i64 8} !15 = !{!"inode", !8, i64 0, !8, i64 4, !8, i64 8} !16 = !{!7, !8, i64 0} !17 = !{!15, !8, i64 0} !18 = !{!15, !8, i64 4}
linux_fs_nilfs2_extr_dir.c_nilfs_set_link
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_smart1,2.h_smart1_intr_pending.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_smart1,2.h_smart1_intr_pending.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SMART1_SYSTEM_DOORBELL = dso_local local_unnamed_addr global i64 0, align 8 @CHANNEL_BUSY = dso_local local_unnamed_addr global i8 0, align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @smart1_intr_pending], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @smart1_intr_pending(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @SMART1_SYSTEM_DOORBELL, align 8, !tbaa !10 %4 = add nsw i64 %3, %2 %5 = tail call zeroext i8 @inb(i64 noundef %4) #2 %6 = load i8, ptr @CHANNEL_BUSY, align 1, !tbaa !11 %7 = and i8 %6, %5 %8 = zext i8 %7 to i64 ret i64 %8 } declare zeroext i8 @inb(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/block/extr_smart1,2.h_smart1_intr_pending.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/block/extr_smart1,2.h_smart1_intr_pending.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SMART1_SYSTEM_DOORBELL = common local_unnamed_addr global i64 0, align 8 @CHANNEL_BUSY = common local_unnamed_addr global i8 0, align 1 @llvm.used = appending global [1 x ptr] [ptr @smart1_intr_pending], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i64 0, 256) i64 @smart1_intr_pending(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @SMART1_SYSTEM_DOORBELL, align 8, !tbaa !11 %4 = add nsw i64 %3, %2 %5 = tail call zeroext i8 @inb(i64 noundef %4) #2 %6 = load i8, ptr @CHANNEL_BUSY, align 1, !tbaa !12 %7 = and i8 %6, %5 %8 = zext i8 %7 to i64 ret i64 %8 } declare zeroext i8 @inb(i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!9, !9, i64 0}
fastsocket_kernel_drivers_block_extr_smart1,2.h_smart1_intr_pending
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pci-mvebu.c_mvebu_pcie_rd_conf.c' source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pci-mvebu.c_mvebu_pcie_rd_conf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pci_bus = type { i64, ptr } @PCIBIOS_DEVICE_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mvebu_pcie_rd_conf], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mvebu_pcie_rd_conf(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = getelementptr inbounds %struct.pci_bus, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = tail call ptr @mvebu_pcie_find_port(ptr noundef %7, ptr noundef %0, i32 noundef %1) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %5 store i32 -1, ptr %4, align 4, !tbaa !11 %11 = load i32, ptr @PCIBIOS_DEVICE_NOT_FOUND, align 4, !tbaa !11 br label %24 12: ; preds = %5 %13 = load i64, ptr %0, align 8, !tbaa !13 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @pci_bridge_emul_conf_read(ptr noundef nonnull %8, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 br label %24 17: ; preds = %12 %18 = tail call i32 @mvebu_pcie_link_up(ptr noundef nonnull %8) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 store i32 -1, ptr %4, align 4, !tbaa !11 %21 = load i32, ptr @PCIBIOS_DEVICE_NOT_FOUND, align 4, !tbaa !11 br label %24 22: ; preds = %17 %23 = tail call i32 @mvebu_pcie_hw_rd_conf(ptr noundef nonnull %8, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 br label %24 24: ; preds = %22, %20, %15, %10 %25 = phi i32 [ %16, %15 ], [ %23, %22 ], [ %21, %20 ], [ %11, %10 ] ret i32 %25 } declare ptr @mvebu_pcie_find_port(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_bridge_emul_conf_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mvebu_pcie_link_up(ptr noundef) local_unnamed_addr #1 declare i32 @mvebu_pcie_hw_rd_conf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"pci_bus", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/pci/controller/extr_pci-mvebu.c_mvebu_pcie_rd_conf.c' source_filename = "AnghaBench/linux/drivers/pci/controller/extr_pci-mvebu.c_mvebu_pcie_rd_conf.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PCIBIOS_DEVICE_NOT_FOUND = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mvebu_pcie_rd_conf], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mvebu_pcie_rd_conf(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #0 { %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = tail call ptr @mvebu_pcie_find_port(ptr noundef %7, ptr noundef %0, i32 noundef %1) #2 %9 = icmp eq ptr %8, null br i1 %9, label %10, label %12 10: ; preds = %5 store i32 -1, ptr %4, align 4, !tbaa !12 %11 = load i32, ptr @PCIBIOS_DEVICE_NOT_FOUND, align 4, !tbaa !12 br label %24 12: ; preds = %5 %13 = load i64, ptr %0, align 8, !tbaa !14 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %17 15: ; preds = %12 %16 = tail call i32 @pci_bridge_emul_conf_read(ptr noundef nonnull %8, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 br label %24 17: ; preds = %12 %18 = tail call i32 @mvebu_pcie_link_up(ptr noundef nonnull %8) #2 %19 = icmp eq i32 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %17 store i32 -1, ptr %4, align 4, !tbaa !12 %21 = load i32, ptr @PCIBIOS_DEVICE_NOT_FOUND, align 4, !tbaa !12 br label %24 22: ; preds = %17 %23 = tail call i32 @mvebu_pcie_hw_rd_conf(ptr noundef nonnull %8, ptr noundef nonnull %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, ptr noundef %4) #2 br label %24 24: ; preds = %22, %20, %15, %10 %25 = phi i32 [ %16, %15 ], [ %23, %22 ], [ %21, %20 ], [ %11, %10 ] ret i32 %25 } declare ptr @mvebu_pcie_find_port(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_bridge_emul_conf_read(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mvebu_pcie_link_up(ptr noundef) local_unnamed_addr #1 declare i32 @mvebu_pcie_hw_rd_conf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"pci_bus", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!7, !8, i64 0}
linux_drivers_pci_controller_extr_pci-mvebu.c_mvebu_pcie_rd_conf
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_seqiv.c_seqiv_ablkcipher_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_seqiv.c_seqiv_ablkcipher_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.TYPE_3__ = type { i64, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__, i32, i32, i32 } @seqiv_tmpl = dso_local global i32 0, align 4 @seqiv_givencrypt_first = dso_local local_unnamed_addr global i32 0, align 4 @seqiv_init = dso_local local_unnamed_addr global i32 0, align 4 @skcipher_geniv_exit = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @seqiv_ablkcipher_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @seqiv_ablkcipher_alloc(ptr noundef %0) #0 { %2 = tail call ptr @skcipher_geniv_alloc(ptr noundef nonnull @seqiv_tmpl, ptr noundef %0, i32 noundef 0, i32 noundef 0) #2 %3 = tail call i64 @IS_ERR(ptr noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %17 5: ; preds = %1 %6 = load i32, ptr @seqiv_givencrypt_first, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1 store i32 %6, ptr %7, align 8, !tbaa !9 %8 = load i32, ptr @seqiv_init, align 4, !tbaa !5 %9 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 3 store i32 %8, ptr %9, align 8, !tbaa !14 %10 = load i32, ptr @skcipher_geniv_exit, align 4, !tbaa !5 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 2 store i32 %10, ptr %11, align 4, !tbaa !15 %12 = load i64, ptr %2, align 8, !tbaa !16 %13 = getelementptr inbounds %struct.TYPE_4__, ptr %2, i64 0, i32 1 %14 = load i32, ptr %13, align 8, !tbaa !17 %15 = trunc i64 %12 to i32 %16 = add i32 %14, %15 store i32 %16, ptr %13, align 8, !tbaa !17 br label %17 17: ; preds = %1, %5 ret ptr %2 } declare ptr @skcipher_geniv_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 8} !10 = !{!"crypto_instance", !11, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !6, i64 16, !6, i64 20, !6, i64 24} !12 = !{!"TYPE_3__", !13, i64 0, !6, i64 8} !13 = !{!"long", !7, i64 0} !14 = !{!10, !6, i64 24} !15 = !{!10, !6, i64 20} !16 = !{!10, !13, i64 0} !17 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_seqiv.c_seqiv_ablkcipher_alloc.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_seqiv.c_seqiv_ablkcipher_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @seqiv_tmpl = common global i32 0, align 4 @seqiv_givencrypt_first = common local_unnamed_addr global i32 0, align 4 @seqiv_init = common local_unnamed_addr global i32 0, align 4 @skcipher_geniv_exit = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @seqiv_ablkcipher_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @seqiv_ablkcipher_alloc(ptr noundef %0) #0 { %2 = tail call ptr @skcipher_geniv_alloc(ptr noundef nonnull @seqiv_tmpl, ptr noundef %0, i32 noundef 0, i32 noundef 0) #2 %3 = tail call i64 @IS_ERR(ptr noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %17 5: ; preds = %1 %6 = load i32, ptr @seqiv_givencrypt_first, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %2, i64 8 store i32 %6, ptr %7, align 8, !tbaa !10 %8 = load i32, ptr @seqiv_init, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %2, i64 24 store i32 %8, ptr %9, align 8, !tbaa !15 %10 = load i32, ptr @skcipher_geniv_exit, align 4, !tbaa !6 %11 = getelementptr inbounds i8, ptr %2, i64 20 store i32 %10, ptr %11, align 4, !tbaa !16 %12 = load i64, ptr %2, align 8, !tbaa !17 %13 = getelementptr inbounds i8, ptr %2, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !18 %15 = trunc i64 %12 to i32 %16 = add i32 %14, %15 store i32 %16, ptr %13, align 8, !tbaa !18 br label %17 17: ; preds = %1, %5 ret ptr %2 } declare ptr @skcipher_geniv_alloc(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"crypto_instance", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !7, i64 16, !7, i64 20, !7, i64 24} !13 = !{!"TYPE_3__", !14, i64 0, !7, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!11, !7, i64 24} !16 = !{!11, !7, i64 20} !17 = !{!11, !14, i64 0} !18 = !{!11, !7, i64 16}
fastsocket_kernel_crypto_extr_seqiv.c_seqiv_ablkcipher_alloc
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_shm.c_shm_read.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_shm.c_shm_read.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.file = type { i32, ptr } %struct.shmfd = type { i32, i32, i32, i32 } %struct.uio = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @shm_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @shm_read(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, i32 noundef %3, ptr nocapture readnone %4) #0 { %6 = getelementptr inbounds %struct.file, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = tail call i32 @foffset_lock_uio(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %9 = getelementptr inbounds %struct.shmfd, ptr %7, i64 0, i32 1 %10 = getelementptr inbounds %struct.uio, ptr %1, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = load i64, ptr %1, align 8, !tbaa !14 %13 = add nsw i64 %12, %11 %14 = tail call ptr @rangelock_rlock(ptr noundef nonnull %9, i64 noundef %11, i64 noundef %13, ptr noundef %7) #2 %15 = getelementptr inbounds %struct.shmfd, ptr %7, i64 0, i32 3 %16 = load i32, ptr %15, align 4, !tbaa !15 %17 = getelementptr inbounds %struct.shmfd, ptr %7, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = tail call i32 @uiomove_object(i32 noundef %16, i32 noundef %18, ptr noundef nonnull %1) #2 %20 = tail call i32 @rangelock_unlock(ptr noundef nonnull %9, ptr noundef %14, ptr noundef %7) #2 %21 = tail call i32 @foffset_unlock_uio(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %3) #2 ret i32 %19 } declare i32 @foffset_lock_uio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @rangelock_rlock(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @uiomove_object(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rangelock_unlock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @foffset_unlock_uio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"file", !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, !13, i64 8} !12 = !{!"uio", !13, i64 0, !13, i64 8} !13 = !{!"long", !8, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!16, !7, i64 12} !16 = !{!"shmfd", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !17 = !{!16, !7, i64 8}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_uipc_shm.c_shm_read.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_uipc_shm.c_shm_read.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 @shm_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @shm_read(ptr noundef %0, ptr noundef %1, ptr nocapture readnone %2, i32 noundef %3, ptr nocapture readnone %4) #0 { %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = tail call i32 @foffset_lock_uio(ptr noundef %0, ptr noundef %1, i32 noundef %3) #2 %9 = getelementptr inbounds i8, ptr %7, i64 4 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !12 %12 = load i64, ptr %1, align 8, !tbaa !15 %13 = add nsw i64 %12, %11 %14 = tail call ptr @rangelock_rlock(ptr noundef nonnull %9, i64 noundef %11, i64 noundef %13, ptr noundef %7) #2 %15 = getelementptr inbounds i8, ptr %7, i64 12 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = getelementptr inbounds i8, ptr %7, i64 8 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = tail call i32 @uiomove_object(i32 noundef %16, i32 noundef %18, ptr noundef nonnull %1) #2 %20 = tail call i32 @rangelock_unlock(ptr noundef nonnull %9, ptr noundef %14, ptr noundef %7) #2 %21 = tail call i32 @foffset_unlock_uio(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %3) #2 ret i32 %19 } declare i32 @foffset_lock_uio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @rangelock_rlock(ptr noundef, i64 noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @uiomove_object(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rangelock_unlock(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @foffset_unlock_uio(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"file", !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, !14, i64 8} !13 = !{!"uio", !14, i64 0, !14, i64 8} !14 = !{!"long", !9, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!17, !8, i64 12} !17 = !{!"shmfd", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !18 = !{!17, !8, i64 8}
freebsd_sys_kern_extr_uipc_shm.c_shm_read
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_ScuSendExternalInterrupt01.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_ScuSendExternalInterrupt01.c" target datalayout = "e-m:e-p270:32:32-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 @ScuSendExternalInterrupt01() local_unnamed_addr #0 { %1 = tail call i32 @SendInterrupt(i32 noundef 81, i32 noundef 7, i32 noundef 32768, i32 noundef 131072) #2 ret void } declare i32 @SendInterrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_ScuSendExternalInterrupt01.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_scu.c_ScuSendExternalInterrupt01.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 @ScuSendExternalInterrupt01() local_unnamed_addr #0 { %1 = tail call i32 @SendInterrupt(i32 noundef 81, i32 noundef 7, i32 noundef 32768, i32 noundef 131072) #2 ret void } declare i32 @SendInterrupt(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
Provenance_Cores_Yabause_yabause_src_extr_scu.c_ScuSendExternalInterrupt01
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_sfp.c_sfp_sm_ins_next.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_sfp.c_sfp_sm_ins_next.c" target datalayout = "e-m:e-p270:32:32-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 @sfp_sm_ins_next], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sfp_sm_ins_next(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { store i32 %1, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @sfp_sm_set_timer(ptr noundef nonnull %0, i32 noundef %2) #2 ret void } declare i32 @sfp_sm_set_timer(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 = !{!"sfp", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_sfp.c_sfp_sm_ins_next.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_sfp.c_sfp_sm_ins_next.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 @sfp_sm_ins_next], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sfp_sm_ins_next(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { store i32 %1, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @sfp_sm_set_timer(ptr noundef nonnull %0, i32 noundef %2) #2 ret void } declare i32 @sfp_sm_set_timer(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 = !{!"sfp", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_phy_extr_sfp.c_sfp_sm_ins_next
; ModuleID = 'AnghaBench/freebsd/tools/test/testfloat/extr_systfloat.c_syst_float32_sub.c' source_filename = "AnghaBench/freebsd/tools/test/testfloat/extr_systfloat.c_syst_float32_sub.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local noundef i32 @syst_float32_sub(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = bitcast i32 %0 to float %4 = bitcast i32 %1 to float %5 = fsub float %3, %4 %6 = bitcast float %5 to i32 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/tools/test/testfloat/extr_systfloat.c_syst_float32_sub.c' source_filename = "AnghaBench/freebsd/tools/test/testfloat/extr_systfloat.c_syst_float32_sub.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define noundef i32 @syst_float32_sub(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = bitcast i32 %0 to float %4 = bitcast i32 %1 to float %5 = fsub float %3, %4 %6 = bitcast float %5 to i32 ret i32 %6 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_tools_test_testfloat_extr_systfloat.c_syst_float32_sub
; ModuleID = 'AnghaBench/linux/drivers/scsi/isci/extr_host.h_dev_to_ihost.c' source_filename = "AnghaBench/linux/drivers/scsi/isci/extr_host.h_dev_to_ihost.c" target datalayout = "e-m:e-p270:32:32-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 @dev_to_ihost], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal ptr @dev_to_ihost(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = load ptr, ptr %3, align 8, !tbaa !12 ret ptr %4 } attributes #0 = { inlinehint 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 = !{!"domain_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_4__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/isci/extr_host.h_dev_to_ihost.c' source_filename = "AnghaBench/linux/drivers/scsi/isci/extr_host.h_dev_to_ihost.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 @dev_to_ihost], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal ptr @dev_to_ihost(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = load ptr, ptr %3, align 8, !tbaa !13 ret ptr %4 } attributes #0 = { inlinehint 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 = !{!"domain_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_4__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_3__", !8, i64 0}
linux_drivers_scsi_isci_extr_host.h_dev_to_ihost
; ModuleID = 'AnghaBench/stb/tests/extr_prereleasestb_lib.h_stb_swap.c' source_filename = "AnghaBench/stb/tests/extr_prereleasestb_lib.h_stb_swap.c" target datalayout = "e-m:e-p270:32:32-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 @stb_swap(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca [256 x i8], align 16 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #3 %5 = icmp eq ptr %0, %1 br i1 %5, label %30, label %6 6: ; preds = %3 switch i64 %2, label %7 [ i64 4, label %9 i64 8, label %12 ] 7: ; preds = %6 %8 = icmp ugt i64 %2, 256 br i1 %8, label %15, label %23 9: ; preds = %6 %10 = load i32, ptr %0, align 4, !tbaa !5 %11 = load i32, ptr %1, align 4, !tbaa !5 store i32 %11, ptr %0, align 4, !tbaa !5 store i32 %10, ptr %1, align 4, !tbaa !5 br label %30 12: ; preds = %6 %13 = load i32, ptr %0, align 4, !tbaa !5 %14 = load i32, ptr %1, align 4, !tbaa !5 store i32 %14, ptr %0, align 4, !tbaa !5 store i32 %13, ptr %1, align 4, !tbaa !5 br label %30 15: ; preds = %7, %15 %16 = phi ptr [ %19, %15 ], [ %0, %7 ] %17 = phi ptr [ %20, %15 ], [ %1, %7 ] %18 = phi i64 [ %21, %15 ], [ %2, %7 ] tail call void @stb_swap(ptr noundef %16, ptr noundef %17, i64 noundef 256) %19 = getelementptr inbounds i8, ptr %16, i64 256 %20 = getelementptr inbounds i8, ptr %17, i64 256 %21 = add i64 %18, -256 %22 = icmp ugt i64 %21, 256 br i1 %22, label %15, label %23, !llvm.loop !9 23: ; preds = %15, %7 %24 = phi i64 [ %2, %7 ], [ %21, %15 ] %25 = phi ptr [ %1, %7 ], [ %20, %15 ] %26 = phi ptr [ %0, %7 ], [ %19, %15 ] %27 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %26, i64 noundef %24) #3 %28 = call i32 @memcpy(ptr noundef %26, ptr noundef %25, i64 noundef %24) #3 %29 = call i32 @memcpy(ptr noundef %25, ptr noundef nonnull %4, i64 noundef %24) #3 br label %30 30: ; preds = %3, %23, %12, %9 call void @llvm.lifetime.end.p0(i64 256, 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress 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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/stb/tests/extr_prereleasestb_lib.h_stb_swap.c' source_filename = "AnghaBench/stb/tests/extr_prereleasestb_lib.h_stb_swap.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 @stb_swap(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = alloca [256 x i8], align 1 call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %4) #3 %5 = icmp eq ptr %0, %1 br i1 %5, label %30, label %6 6: ; preds = %3 switch i64 %2, label %7 [ i64 4, label %9 i64 8, label %12 ] 7: ; preds = %6 %8 = icmp ugt i64 %2, 256 br i1 %8, label %15, label %23 9: ; preds = %6 %10 = load i32, ptr %0, align 4, !tbaa !6 %11 = load i32, ptr %1, align 4, !tbaa !6 store i32 %11, ptr %0, align 4, !tbaa !6 store i32 %10, ptr %1, align 4, !tbaa !6 br label %30 12: ; preds = %6 %13 = load i32, ptr %0, align 4, !tbaa !6 %14 = load i32, ptr %1, align 4, !tbaa !6 store i32 %14, ptr %0, align 4, !tbaa !6 store i32 %13, ptr %1, align 4, !tbaa !6 br label %30 15: ; preds = %7, %15 %16 = phi ptr [ %19, %15 ], [ %0, %7 ] %17 = phi ptr [ %20, %15 ], [ %1, %7 ] %18 = phi i64 [ %21, %15 ], [ %2, %7 ] tail call void @stb_swap(ptr noundef %16, ptr noundef %17, i64 noundef 256) %19 = getelementptr inbounds i8, ptr %16, i64 256 %20 = getelementptr inbounds i8, ptr %17, i64 256 %21 = add i64 %18, -256 %22 = icmp ugt i64 %21, 256 br i1 %22, label %15, label %23, !llvm.loop !10 23: ; preds = %15, %7 %24 = phi i64 [ %2, %7 ], [ %21, %15 ] %25 = phi ptr [ %1, %7 ], [ %20, %15 ] %26 = phi ptr [ %0, %7 ], [ %19, %15 ] %27 = call i32 @memcpy(ptr noundef nonnull %4, ptr noundef %26, i64 noundef %24) #3 %28 = call i32 @memcpy(ptr noundef %26, ptr noundef %25, i64 noundef %24) #3 %29 = call i32 @memcpy(ptr noundef %25, ptr noundef nonnull %4, i64 noundef %24) #3 br label %30 30: ; preds = %3, %23, %12, %9 call void @llvm.lifetime.end.p0(i64 256, 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 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress 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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
stb_tests_extr_prereleasestb_lib.h_stb_swap
; ModuleID = 'AnghaBench/radare2/libr/bin/p/extr_bin_omf.c_load_buffer.c' source_filename = "AnghaBench/radare2/libr/bin/p/extr_bin_omf.c_load_buffer.c" target datalayout = "e-m:e-p270:32:32-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 @load_buffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @load_buffer(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @r_buf_data(ptr noundef %2, ptr noundef nonnull %6) #3 %8 = call i32 @r_return_val_if_fail(ptr noundef %7, i32 noundef 0) #3 %9 = load i32, ptr %6, align 4, !tbaa !5 %10 = call ptr @r_bin_internal_omf_load(ptr noundef %7, i32 noundef %9) #3 store ptr %10, ptr %1, align 8, !tbaa !9 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @r_buf_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @r_return_val_if_fail(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @r_bin_internal_omf_load(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/bin/p/extr_bin_omf.c_load_buffer.c' source_filename = "AnghaBench/radare2/libr/bin/p/extr_bin_omf.c_load_buffer.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 @load_buffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @load_buffer(ptr nocapture readnone %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 %3, ptr nocapture readnone %4) #0 { %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call ptr @r_buf_data(ptr noundef %2, ptr noundef nonnull %6) #3 %8 = call i32 @r_return_val_if_fail(ptr noundef %7, i32 noundef 0) #3 %9 = load i32, ptr %6, align 4, !tbaa !6 %10 = call ptr @r_bin_internal_omf_load(ptr noundef %7, i32 noundef %9) #3 store ptr %10, ptr %1, align 8, !tbaa !10 %11 = icmp ne ptr %10, null %12 = zext i1 %11 to i32 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 %12 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @r_buf_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @r_return_val_if_fail(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @r_bin_internal_omf_load(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
radare2_libr_bin_p_extr_bin_omf.c_load_buffer
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibnetdisc/extr_ibnetdisc.c_ibnd_find_node_dr.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibnetdisc/extr_ibnetdisc.c_ibnd_find_node_dr.c" target datalayout = "e-m:e-p270:32:32-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 @ibnd_find_node_dr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ibnd_find_port_dr(ptr noundef %0, ptr noundef %1) #2 %4 = load ptr, ptr %3, align 8, !tbaa !5 ret ptr %4 } declare ptr @ibnd_find_port_dr(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/libibnetdisc/extr_ibnetdisc.c_ibnd_find_node_dr.c' source_filename = "AnghaBench/freebsd/contrib/ofed/libibnetdisc/extr_ibnetdisc.c_ibnd_find_node_dr.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 @ibnd_find_node_dr(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @ibnd_find_port_dr(ptr noundef %0, ptr noundef %1) #2 %4 = load ptr, ptr %3, align 8, !tbaa !6 ret ptr %4 } declare ptr @ibnd_find_port_dr(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ofed_libibnetdisc_extr_ibnetdisc.c_ibnd_find_node_dr
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87360.c_pwm_store.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87360.c_pwm_store.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pc87360_data = type { i32, ptr, i32 } @LD_FAN = dso_local local_unnamed_addr global i32 0, align 4 @NO_BANK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pwm_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pwm_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3 %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %32 10: ; preds = %4 %11 = call i32 @mutex_lock(ptr noundef %7) #3 %12 = load i64, ptr %5, align 8, !tbaa !5 %13 = getelementptr inbounds %struct.pc87360_data, ptr %7, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !9 %15 = load i64, ptr %6, align 8, !tbaa !13 %16 = call i32 @FAN_CONFIG_INVERT(i32 noundef %14, i64 noundef %15) #3 %17 = call i32 @PWM_TO_REG(i64 noundef %12, i32 noundef %16) #3 %18 = getelementptr inbounds %struct.pc87360_data, ptr %7, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !15 %20 = load i64, ptr %6, align 8, !tbaa !13 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %17, ptr %21, align 4, !tbaa !16 %22 = load i32, ptr @LD_FAN, align 4, !tbaa !16 %23 = load i32, ptr @NO_BANK, align 4, !tbaa !16 %24 = call i32 @PC87360_REG_PWM(i64 noundef %20) #3 %25 = load ptr, ptr %18, align 8, !tbaa !15 %26 = load i64, ptr %6, align 8, !tbaa !13 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = call i32 @pc87360_write_value(ptr noundef %7, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %28) #3 %30 = call i32 @mutex_unlock(ptr noundef %7) #3 %31 = trunc i64 %3 to i32 br label %32 32: ; preds = %4, %10 %33 = phi i32 [ %31, %10 ], [ %8, %4 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @PWM_TO_REG(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FAN_CONFIG_INVERT(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pc87360_write_value(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PC87360_REG_PWM(i64 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 16} !10 = !{!"pc87360_data", !11, i64 0, !12, i64 8, !11, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"sensor_device_attribute", !6, i64 0} !15 = !{!10, !12, i64 8} !16 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_pc87360.c_pwm_store.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_pc87360.c_pwm_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LD_FAN = common local_unnamed_addr global i32 0, align 4 @NO_BANK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pwm_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @pwm_store(ptr noundef %0, ptr noundef %1, ptr noundef %2, i64 noundef %3) #0 { %5 = alloca i64, align 8 %6 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #3 %7 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %32 10: ; preds = %4 %11 = call i32 @mutex_lock(ptr noundef %7) #3 %12 = load i64, ptr %5, align 8, !tbaa !6 %13 = getelementptr inbounds i8, ptr %7, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !10 %15 = load i64, ptr %6, align 8, !tbaa !14 %16 = call i32 @FAN_CONFIG_INVERT(i32 noundef %14, i64 noundef %15) #3 %17 = call i32 @PWM_TO_REG(i64 noundef %12, i32 noundef %16) #3 %18 = getelementptr inbounds i8, ptr %7, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !16 %20 = load i64, ptr %6, align 8, !tbaa !14 %21 = getelementptr inbounds i32, ptr %19, i64 %20 store i32 %17, ptr %21, align 4, !tbaa !17 %22 = load i32, ptr @LD_FAN, align 4, !tbaa !17 %23 = load i32, ptr @NO_BANK, align 4, !tbaa !17 %24 = call i32 @PC87360_REG_PWM(i64 noundef %20) #3 %25 = load ptr, ptr %18, align 8, !tbaa !16 %26 = load i64, ptr %6, align 8, !tbaa !14 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = call i32 @pc87360_write_value(ptr noundef %7, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %28) #3 %30 = call i32 @mutex_unlock(ptr noundef %7) #3 %31 = trunc i64 %3 to i32 br label %32 32: ; preds = %4, %10 %33 = phi i32 [ %31, %10 ], [ %8, %4 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %33 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #2 declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #2 declare i32 @kstrtol(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #2 declare i32 @PWM_TO_REG(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @FAN_CONFIG_INVERT(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @pc87360_write_value(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PC87360_REG_PWM(i64 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"pc87360_data", !12, i64 0, !13, i64 8, !12, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"sensor_device_attribute", !7, i64 0} !16 = !{!11, !13, i64 8} !17 = !{!12, !12, i64 0}
linux_drivers_hwmon_extr_pc87360.c_pwm_store
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_isl6271a-regulator.c_isl6271a_probe.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_isl6271a-regulator.c_isl6271a_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.regulator_config = type { ptr, ptr, ptr } %struct.i2c_client = type { i32, i32 } %struct.isl_pmic = type { i32, ptr } @I2C_FUNC_SMBUS_BYTE_DATA = dso_local local_unnamed_addr global i32 0, align 4 @EIO = 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 @isl_rd = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [23 x i8] c"failed to register %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @isl6271a_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @isl6271a_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.regulator_config, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %4 = tail call ptr @dev_get_platdata(ptr noundef %0) #3 %5 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !10 %8 = tail call i32 @i2c_check_functionality(i32 noundef %6, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EIO, align 4, !tbaa !10 %12 = sub nsw i32 0, %11 br label %48 13: ; preds = %2 %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !10 %15 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 16, i32 noundef %14) #3 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %34 17: ; preds = %13 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !10 %19 = sub nsw i32 0, %18 br label %48 20: ; preds = %34 store ptr %0, ptr %37, align 8, !tbaa !11 store ptr null, ptr %38, align 8, !tbaa !14 store ptr %15, ptr %3, align 8, !tbaa !15 %21 = load ptr, ptr @isl_rd, align 8, !tbaa !16 %22 = getelementptr inbounds i32, ptr %21, i64 1 %23 = call ptr @devm_regulator_register(ptr noundef nonnull %0, ptr noundef nonnull %22, ptr noundef nonnull %3) #3 %24 = call i64 @IS_ERR(ptr noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %43 26: ; preds = %20 store ptr %0, ptr %37, align 8, !tbaa !11 store ptr null, ptr %38, align 8, !tbaa !14 store ptr %15, ptr %3, align 8, !tbaa !15 %27 = load ptr, ptr @isl_rd, align 8, !tbaa !16 %28 = getelementptr inbounds i32, ptr %27, i64 2 %29 = call ptr @devm_regulator_register(ptr noundef nonnull %0, ptr noundef nonnull %28, ptr noundef nonnull %3) #3 %30 = call i64 @IS_ERR(ptr noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %43 32: ; preds = %26 %33 = call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %15) #3 br label %48 34: ; preds = %13 %35 = getelementptr inbounds %struct.isl_pmic, ptr %15, i64 0, i32 1 store ptr %0, ptr %35, align 8, !tbaa !17 %36 = tail call i32 @mutex_init(ptr noundef nonnull %15) #3 %37 = getelementptr inbounds %struct.regulator_config, ptr %3, i64 0, i32 2 %38 = getelementptr inbounds %struct.regulator_config, ptr %3, i64 0, i32 1 store ptr %0, ptr %37, align 8, !tbaa !11 store ptr %4, ptr %38, align 8, !tbaa !14 store ptr %15, ptr %3, align 8, !tbaa !15 %39 = load ptr, ptr @isl_rd, align 8, !tbaa !16 %40 = call ptr @devm_regulator_register(ptr noundef nonnull %0, ptr noundef %39, ptr noundef nonnull %3) #3 %41 = call i64 @IS_ERR(ptr noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %20, label %43 43: ; preds = %26, %20, %34 %44 = phi ptr [ %40, %34 ], [ %23, %20 ], [ %29, %26 ] %45 = load i32, ptr %1, align 4, !tbaa !19 %46 = call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %45) #3 %47 = call i32 @PTR_ERR(ptr noundef %44) #3 br label %48 48: ; preds = %32, %43, %17, %10 %49 = phi i32 [ %47, %43 ], [ 0, %32 ], [ %19, %17 ], [ %12, %10 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_check_functionality(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #2 declare ptr @devm_regulator_register(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"i2c_client", !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 = !{!12, !13, i64 16} !12 = !{!"regulator_config", !13, i64 0, !13, i64 8, !13, i64 16} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!12, !13, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!18, !13, i64 8} !18 = !{!"isl_pmic", !7, i64 0, !13, i64 8} !19 = !{!20, !7, i64 0} !20 = !{!"i2c_device_id", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/regulator/extr_isl6271a-regulator.c_isl6271a_probe.c' source_filename = "AnghaBench/linux/drivers/regulator/extr_isl6271a-regulator.c_isl6271a_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.regulator_config = type { ptr, ptr, ptr } @I2C_FUNC_SMBUS_BYTE_DATA = common local_unnamed_addr global i32 0, align 4 @EIO = 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 @isl_rd = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [23 x i8] c"failed to register %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @isl6271a_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @isl6271a_probe(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = alloca %struct.regulator_config, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #3 %4 = tail call ptr @dev_get_platdata(ptr noundef %0) #3 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr @I2C_FUNC_SMBUS_BYTE_DATA, align 4, !tbaa !11 %8 = tail call i32 @i2c_check_functionality(i32 noundef %6, i32 noundef %7) #3 %9 = icmp eq i32 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %2 %11 = load i32, ptr @EIO, align 4, !tbaa !11 %12 = sub nsw i32 0, %11 br label %48 13: ; preds = %2 %14 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !11 %15 = tail call ptr @devm_kzalloc(ptr noundef nonnull %0, i32 noundef 16, i32 noundef %14) #3 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %34 17: ; preds = %13 %18 = load i32, ptr @ENOMEM, align 4, !tbaa !11 %19 = sub nsw i32 0, %18 br label %48 20: ; preds = %34 store ptr %0, ptr %37, align 8, !tbaa !12 store ptr null, ptr %38, align 8, !tbaa !15 store ptr %15, ptr %3, align 8, !tbaa !16 %21 = load ptr, ptr @isl_rd, align 8, !tbaa !17 %22 = getelementptr inbounds i8, ptr %21, i64 4 %23 = call ptr @devm_regulator_register(ptr noundef nonnull %0, ptr noundef nonnull %22, ptr noundef nonnull %3) #3 %24 = call i64 @IS_ERR(ptr noundef %23) #3 %25 = icmp eq i64 %24, 0 br i1 %25, label %26, label %43 26: ; preds = %20 store ptr %0, ptr %37, align 8, !tbaa !12 store ptr null, ptr %38, align 8, !tbaa !15 store ptr %15, ptr %3, align 8, !tbaa !16 %27 = load ptr, ptr @isl_rd, align 8, !tbaa !17 %28 = getelementptr inbounds i8, ptr %27, i64 8 %29 = call ptr @devm_regulator_register(ptr noundef nonnull %0, ptr noundef nonnull %28, ptr noundef nonnull %3) #3 %30 = call i64 @IS_ERR(ptr noundef %29) #3 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %43 32: ; preds = %26 %33 = call i32 @i2c_set_clientdata(ptr noundef nonnull %0, ptr noundef nonnull %15) #3 br label %48 34: ; preds = %13 %35 = getelementptr inbounds i8, ptr %15, i64 8 store ptr %0, ptr %35, align 8, !tbaa !18 %36 = tail call i32 @mutex_init(ptr noundef nonnull %15) #3 %37 = getelementptr inbounds i8, ptr %3, i64 16 %38 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %0, ptr %37, align 8, !tbaa !12 store ptr %4, ptr %38, align 8, !tbaa !15 store ptr %15, ptr %3, align 8, !tbaa !16 %39 = load ptr, ptr @isl_rd, align 8, !tbaa !17 %40 = call ptr @devm_regulator_register(ptr noundef nonnull %0, ptr noundef %39, ptr noundef nonnull %3) #3 %41 = call i64 @IS_ERR(ptr noundef %40) #3 %42 = icmp eq i64 %41, 0 br i1 %42, label %20, label %43 43: ; preds = %26, %20, %34 %44 = phi ptr [ %40, %34 ], [ %23, %20 ], [ %29, %26 ] %45 = load i32, ptr %1, align 4, !tbaa !20 %46 = call i32 @dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %45) #3 %47 = call i32 @PTR_ERR(ptr noundef %44) #3 br label %48 48: ; preds = %32, %43, %17, %10 %49 = phi i32 [ %47, %43 ], [ 0, %32 ], [ %19, %17 ], [ %12, %10 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #3 ret i32 %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @dev_get_platdata(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_check_functionality(i32 noundef, i32 noundef) local_unnamed_addr #2 declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_init(ptr noundef) local_unnamed_addr #2 declare ptr @devm_regulator_register(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #2 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"i2c_client", !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 = !{!13, !14, i64 16} !13 = !{!"regulator_config", !14, i64 0, !14, i64 8, !14, i64 16} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!13, !14, i64 0} !17 = !{!14, !14, i64 0} !18 = !{!19, !14, i64 8} !19 = !{!"isl_pmic", !8, i64 0, !14, i64 8} !20 = !{!21, !8, i64 0} !21 = !{!"i2c_device_id", !8, i64 0}
linux_drivers_regulator_extr_isl6271a-regulator.c_isl6271a_probe
; ModuleID = 'AnghaBench/linux/drivers/platform/chrome/extr_cros_ec_i2c.c_cros_ec_i2c_probe.c' source_filename = "AnghaBench/linux/drivers/platform/chrome/extr_cros_ec_i2c.c_cros_ec_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_client = type { ptr, i32, %struct.device } %struct.device = type { i32 } %struct.cros_ec_device = type { i32, i32, i32, i32, i32, i32, ptr, ptr } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @cros_ec_cmd_xfer_i2c = dso_local local_unnamed_addr global i32 0, align 4 @cros_ec_pkt_xfer_i2c = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"cannot register EC\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @cros_ec_i2c_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @cros_ec_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 2 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !5 %5 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 40, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %29 10: ; preds = %2 %11 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %5) #2 %12 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 7 store ptr %3, ptr %12, align 8, !tbaa !9 %13 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 6 store ptr %0, ptr %13, align 8, !tbaa !12 %14 = getelementptr inbounds %struct.i2c_client, ptr %0, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !13 %16 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 5 store i32 %15, ptr %16, align 4, !tbaa !16 %17 = load i32, ptr @cros_ec_cmd_xfer_i2c, align 4, !tbaa !5 %18 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 4 store i32 %17, ptr %18, align 8, !tbaa !17 %19 = load i32, ptr @cros_ec_pkt_xfer_i2c, align 4, !tbaa !5 %20 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 3 store i32 %19, ptr %20, align 4, !tbaa !18 %21 = load ptr, ptr %0, align 8, !tbaa !19 %22 = load i32, ptr %21, align 4, !tbaa !20 %23 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 2 store i32 %22, ptr %23, align 8, !tbaa !22 store i32 8, ptr %5, align 8, !tbaa !23 %24 = getelementptr inbounds %struct.cros_ec_device, ptr %5, i64 0, i32 1 store i32 4, ptr %24, align 4, !tbaa !24 %25 = tail call i32 @cros_ec_register(ptr noundef nonnull %5) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %10 %28 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2 br label %29 29: ; preds = %10, %27, %7 %30 = phi i32 [ %25, %27 ], [ %9, %7 ], [ 0, %10 ] ret i32 %30 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cros_ec_register(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 32} !10 = !{!"cros_ec_device", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !11, i64 24, !11, i64 32} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 24} !13 = !{!14, !6, i64 8} !14 = !{!"i2c_client", !11, i64 0, !6, i64 8, !15, i64 12} !15 = !{!"device", !6, i64 0} !16 = !{!10, !6, i64 20} !17 = !{!10, !6, i64 16} !18 = !{!10, !6, i64 12} !19 = !{!14, !11, i64 0} !20 = !{!21, !6, i64 0} !21 = !{!"TYPE_2__", !6, i64 0} !22 = !{!10, !6, i64 8} !23 = !{!10, !6, i64 0} !24 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/platform/chrome/extr_cros_ec_i2c.c_cros_ec_i2c_probe.c' source_filename = "AnghaBench/linux/drivers/platform/chrome/extr_cros_ec_i2c.c_cros_ec_i2c_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @cros_ec_cmd_xfer_i2c = common local_unnamed_addr global i32 0, align 4 @cros_ec_pkt_xfer_i2c = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"cannot register EC\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @cros_ec_i2c_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @cros_ec_i2c_probe(ptr noundef %0, ptr nocapture readnone %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 12 %4 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !6 %5 = tail call ptr @devm_kzalloc(ptr noundef nonnull %3, i32 noundef 40, i32 noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %28 10: ; preds = %2 %11 = tail call i32 @i2c_set_clientdata(ptr noundef %0, ptr noundef nonnull %5) #2 %12 = getelementptr inbounds i8, ptr %5, i64 32 store ptr %3, ptr %12, align 8, !tbaa !10 %13 = getelementptr inbounds i8, ptr %5, i64 24 store ptr %0, ptr %13, align 8, !tbaa !13 %14 = getelementptr inbounds i8, ptr %0, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !14 %16 = getelementptr inbounds i8, ptr %5, i64 20 store i32 %15, ptr %16, align 4, !tbaa !17 %17 = load i32, ptr @cros_ec_cmd_xfer_i2c, align 4, !tbaa !6 %18 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %17, ptr %18, align 8, !tbaa !18 %19 = load i32, ptr @cros_ec_pkt_xfer_i2c, align 4, !tbaa !6 %20 = getelementptr inbounds i8, ptr %5, i64 12 store i32 %19, ptr %20, align 4, !tbaa !19 %21 = load ptr, ptr %0, align 8, !tbaa !20 %22 = load i32, ptr %21, align 4, !tbaa !21 %23 = getelementptr inbounds i8, ptr %5, i64 8 store i32 %22, ptr %23, align 8, !tbaa !23 store <2 x i32> <i32 8, i32 4>, ptr %5, align 8, !tbaa !6 %24 = tail call i32 @cros_ec_register(ptr noundef nonnull %5) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %10 %27 = tail call i32 @dev_err(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2 br label %28 28: ; preds = %10, %26, %7 %29 = phi i32 [ %24, %26 ], [ %9, %7 ], [ 0, %10 ] ret i32 %29 } declare ptr @devm_kzalloc(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i2c_set_clientdata(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @cros_ec_register(ptr noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 32} !11 = !{!"cros_ec_device", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !12, i64 24, !12, i64 32} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 24} !14 = !{!15, !7, i64 8} !15 = !{!"i2c_client", !12, i64 0, !7, i64 8, !16, i64 12} !16 = !{!"device", !7, i64 0} !17 = !{!11, !7, i64 20} !18 = !{!11, !7, i64 16} !19 = !{!11, !7, i64 12} !20 = !{!15, !12, i64 0} !21 = !{!22, !7, i64 0} !22 = !{!"TYPE_2__", !7, i64 0} !23 = !{!11, !7, i64 8}
linux_drivers_platform_chrome_extr_cros_ec_i2c.c_cros_ec_i2c_probe
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_stop_wait_next_action_frame.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_stop_wait_next_action_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.brcmf_p2p_info = type { i32, i64, ptr } %struct.TYPE_4__ = type { ptr } @P2PAPI_BSSCFG_PRIMARY = dso_local local_unnamed_addr global i64 0, align 8 @BRCMF_P2P_STATUS_SENDING_ACT_FRAME = dso_local local_unnamed_addr global i32 0, align 4 @BRCMF_P2P_STATUS_ACTION_TX_COMPLETED = dso_local local_unnamed_addr global i32 0, align 4 @BRCMF_P2P_STATUS_ACTION_TX_NOACK = dso_local local_unnamed_addr global i32 0, align 4 @TRACE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"*** Wake UP ** abort actframe iovar\0A\00", align 1 @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [47 x i8] c"*** Wake UP ** abort listen for next af frame\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @brcmf_p2p_stop_wait_next_action_frame], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @brcmf_p2p_stop_wait_next_action_frame(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.brcmf_p2p_info, ptr %0, i64 0, i32 2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i64, ptr @P2PAPI_BSSCFG_PRIMARY, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = load i32, ptr @BRCMF_P2P_STATUS_SENDING_ACT_FRAME, align 4, !tbaa !17 %9 = tail call i64 @test_bit(i32 noundef %8, ptr noundef %0) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %25, label %11 11: ; preds = %1 %12 = load i32, ptr @BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, align 4, !tbaa !17 %13 = tail call i64 @test_bit(i32 noundef %12, ptr noundef nonnull %0) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr @BRCMF_P2P_STATUS_ACTION_TX_NOACK, align 4, !tbaa !17 %17 = tail call i64 @test_bit(i32 noundef %16, ptr noundef nonnull %0) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %15, %11 %20 = load i32, ptr @TRACE, align 4, !tbaa !17 %21 = tail call i32 @brcmf_dbg(i32 noundef %20, ptr noundef nonnull @.str) #2 %22 = getelementptr inbounds %struct.brcmf_p2p_info, ptr %0, i64 0, i32 1 %23 = load i64, ptr %22, align 8, !tbaa !18 %24 = icmp eq i64 %23, 0 br i1 %24, label %34, label %32 25: ; preds = %15, %1 %26 = load i32, ptr @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN, align 4, !tbaa !17 %27 = tail call i64 @test_bit(i32 noundef %26, ptr noundef nonnull %0) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %34, label %29 29: ; preds = %25 %30 = load i32, ptr @TRACE, align 4, !tbaa !17 %31 = tail call i32 @brcmf_dbg(i32 noundef %30, ptr noundef nonnull @.str.1) #2 br label %32 32: ; preds = %19, %29 %33 = tail call i32 @brcmf_notify_escan_complete(ptr noundef nonnull %0, ptr noundef %7, i32 noundef 1, i32 noundef 1) #2 br label %34 34: ; preds = %32, %25, %19 ret void } declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_notify_escan_complete(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"brcmf_p2p_info", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!10, !10, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_4__", !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_3__", !11, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_stop_wait_next_action_frame.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_p2p.c_brcmf_p2p_stop_wait_next_action_frame.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr } @P2PAPI_BSSCFG_PRIMARY = common local_unnamed_addr global i64 0, align 8 @BRCMF_P2P_STATUS_SENDING_ACT_FRAME = common local_unnamed_addr global i32 0, align 4 @BRCMF_P2P_STATUS_ACTION_TX_COMPLETED = common local_unnamed_addr global i32 0, align 4 @BRCMF_P2P_STATUS_ACTION_TX_NOACK = common local_unnamed_addr global i32 0, align 4 @TRACE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [37 x i8] c"*** Wake UP ** abort actframe iovar\0A\00", align 1 @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [47 x i8] c"*** Wake UP ** abort listen for next af frame\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @brcmf_p2p_stop_wait_next_action_frame], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @brcmf_p2p_stop_wait_next_action_frame(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i64, ptr @P2PAPI_BSSCFG_PRIMARY, align 8, !tbaa !13 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 %4 %6 = load ptr, ptr %5, align 8, !tbaa !14 %7 = load ptr, ptr %6, align 8, !tbaa !16 %8 = load i32, ptr @BRCMF_P2P_STATUS_SENDING_ACT_FRAME, align 4, !tbaa !18 %9 = tail call i64 @test_bit(i32 noundef %8, ptr noundef %0) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %25, label %11 11: ; preds = %1 %12 = load i32, ptr @BRCMF_P2P_STATUS_ACTION_TX_COMPLETED, align 4, !tbaa !18 %13 = tail call i64 @test_bit(i32 noundef %12, ptr noundef nonnull %0) #2 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %19 15: ; preds = %11 %16 = load i32, ptr @BRCMF_P2P_STATUS_ACTION_TX_NOACK, align 4, !tbaa !18 %17 = tail call i64 @test_bit(i32 noundef %16, ptr noundef nonnull %0) #2 %18 = icmp eq i64 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %15, %11 %20 = load i32, ptr @TRACE, align 4, !tbaa !18 %21 = tail call i32 @brcmf_dbg(i32 noundef %20, ptr noundef nonnull @.str) #2 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i64, ptr %22, align 8, !tbaa !19 %24 = icmp eq i64 %23, 0 br i1 %24, label %34, label %32 25: ; preds = %15, %1 %26 = load i32, ptr @BRCMF_P2P_STATUS_WAITING_NEXT_AF_LISTEN, align 4, !tbaa !18 %27 = tail call i64 @test_bit(i32 noundef %26, ptr noundef nonnull %0) #2 %28 = icmp eq i64 %27, 0 br i1 %28, label %34, label %29 29: ; preds = %25 %30 = load i32, ptr @TRACE, align 4, !tbaa !18 %31 = tail call i32 @brcmf_dbg(i32 noundef %30, ptr noundef nonnull @.str.1) #2 br label %32 32: ; preds = %19, %29 %33 = tail call i32 @brcmf_notify_escan_complete(ptr noundef nonnull %0, ptr noundef %7, i32 noundef 1, i32 noundef 1) #2 br label %34 34: ; preds = %32, %25, %19 ret void } declare i64 @test_bit(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_dbg(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @brcmf_notify_escan_complete(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"brcmf_p2p_info", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!11, !11, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_4__", !12, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_3__", !12, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!7, !11, i64 8}
linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_p2p.c_brcmf_p2p_stop_wait_next_action_frame
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_tg3.c_tg3_halt.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_tg3.c_tg3_halt.c" target datalayout = "e-m:e-p270:32:32-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.tg3 = type { i64, i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @tg3_halt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tg3_halt(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @tg3_stop_fw(ptr noundef %0) #2 %5 = tail call i32 @tg3_write_sig_pre_reset(ptr noundef %0, i32 noundef %1) #2 %6 = tail call i32 @tg3_abort_hw(ptr noundef %0, i32 noundef %2) #2 %7 = tail call i32 @tg3_chip_reset(ptr noundef %0) #2 %8 = tail call i32 @__tg3_set_mac_addr(ptr noundef %0, i32 noundef 0) #2 %9 = tail call i32 @tg3_write_sig_legacy(ptr noundef %0, i32 noundef %1) #2 %10 = tail call i32 @tg3_write_sig_post_reset(ptr noundef %0, i32 noundef %1) #2 %11 = load i64, ptr %0, align 8, !tbaa !5 %12 = icmp eq i64 %11, 0 br i1 %12, label %20, label %13 13: ; preds = %3 %14 = getelementptr inbounds %struct.tg3, ptr %0, i64 0, i32 2 %15 = tail call i32 @tg3_get_nstats(ptr noundef nonnull %0, ptr noundef nonnull %14) #2 %16 = getelementptr inbounds %struct.tg3, ptr %0, i64 0, i32 1 %17 = tail call i32 @tg3_get_estats(ptr noundef nonnull %0, ptr noundef nonnull %16) #2 %18 = load i64, ptr %0, align 8, !tbaa !5 %19 = tail call i32 @memset(i64 noundef %18, i32 noundef 0, i32 noundef 4) #2 br label %20 20: ; preds = %13, %3 ret i32 %7 } declare i32 @tg3_stop_fw(ptr noundef) local_unnamed_addr #1 declare i32 @tg3_write_sig_pre_reset(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_abort_hw(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_chip_reset(ptr noundef) local_unnamed_addr #1 declare i32 @__tg3_set_mac_addr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_write_sig_legacy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_write_sig_post_reset(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_get_nstats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tg3_get_estats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tg3", !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}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/extr_tg3.c_tg3_halt.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/extr_tg3.c_tg3_halt.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 @tg3_halt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tg3_halt(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = tail call i32 @tg3_stop_fw(ptr noundef %0) #2 %5 = tail call i32 @tg3_write_sig_pre_reset(ptr noundef %0, i32 noundef %1) #2 %6 = tail call i32 @tg3_abort_hw(ptr noundef %0, i32 noundef %2) #2 %7 = tail call i32 @tg3_chip_reset(ptr noundef %0) #2 %8 = tail call i32 @__tg3_set_mac_addr(ptr noundef %0, i32 noundef 0) #2 %9 = tail call i32 @tg3_write_sig_legacy(ptr noundef %0, i32 noundef %1) #2 %10 = tail call i32 @tg3_write_sig_post_reset(ptr noundef %0, i32 noundef %1) #2 %11 = load i64, ptr %0, align 8, !tbaa !6 %12 = icmp eq i64 %11, 0 br i1 %12, label %20, label %13 13: ; preds = %3 %14 = getelementptr inbounds i8, ptr %0, i64 12 %15 = tail call i32 @tg3_get_nstats(ptr noundef nonnull %0, ptr noundef nonnull %14) #2 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = tail call i32 @tg3_get_estats(ptr noundef nonnull %0, ptr noundef nonnull %16) #2 %18 = load i64, ptr %0, align 8, !tbaa !6 %19 = tail call i32 @memset(i64 noundef %18, i32 noundef 0, i32 noundef 4) #2 br label %20 20: ; preds = %13, %3 ret i32 %7 } declare i32 @tg3_stop_fw(ptr noundef) local_unnamed_addr #1 declare i32 @tg3_write_sig_pre_reset(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_abort_hw(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_chip_reset(ptr noundef) local_unnamed_addr #1 declare i32 @__tg3_set_mac_addr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_write_sig_legacy(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_write_sig_post_reset(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tg3_get_nstats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tg3_get_estats(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tg3", !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}
linux_drivers_net_ethernet_broadcom_extr_tg3.c_tg3_halt
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_get_connector_port.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_get_connector_port.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MLX5E_CONNECTOR_TYPE_NUMBER = dso_local local_unnamed_addr global i64 0, align 8 @ptys2connector_type = dso_local local_unnamed_addr global ptr null, align 8 @MLX5E_10GBASE_SR = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_40GBASE_SR4 = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_100GBASE_SR4 = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_1000BASE_CX_SGMII = dso_local local_unnamed_addr global i32 0, align 4 @PORT_FIBRE = dso_local local_unnamed_addr global i64 0, align 8 @MLX5E_40GBASE_CR4 = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_10GBASE_CR = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_100GBASE_CR4 = dso_local local_unnamed_addr global i32 0, align 4 @PORT_DA = dso_local local_unnamed_addr global i64 0, align 8 @MLX5E_10GBASE_KX4 = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_10GBASE_KR = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_40GBASE_KR4 = dso_local local_unnamed_addr global i32 0, align 4 @MLX5E_100GBASE_KR4 = dso_local local_unnamed_addr global i32 0, align 4 @PORT_NONE = dso_local local_unnamed_addr global i64 0, align 8 @PORT_OTHER = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_connector_port], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @get_connector_port(i32 noundef %0, i64 noundef %1) #0 { %3 = icmp ne i64 %1, 0 %4 = load i64, ptr @MLX5E_CONNECTOR_TYPE_NUMBER, align 8 %5 = icmp ugt i64 %4, %1 %6 = select i1 %3, i1 %5, i1 false br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr @ptys2connector_type, align 8, !tbaa !5 %9 = getelementptr inbounds i64, ptr %8, i64 %1 br label %50 10: ; preds = %2 %11 = load i32, ptr @MLX5E_10GBASE_SR, align 4, !tbaa !9 %12 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %11) #2 %13 = load i32, ptr @MLX5E_40GBASE_SR4, align 4, !tbaa !9 %14 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %13) #2 %15 = or i32 %14, %12 %16 = load i32, ptr @MLX5E_100GBASE_SR4, align 4, !tbaa !9 %17 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %16) #2 %18 = or i32 %15, %17 %19 = load i32, ptr @MLX5E_1000BASE_CX_SGMII, align 4, !tbaa !9 %20 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %19) #2 %21 = or i32 %18, %20 %22 = and i32 %21, %0 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %50 24: ; preds = %10 %25 = load i32, ptr @MLX5E_40GBASE_CR4, align 4, !tbaa !9 %26 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %25) #2 %27 = load i32, ptr @MLX5E_10GBASE_CR, align 4, !tbaa !9 %28 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %27) #2 %29 = or i32 %28, %26 %30 = load i32, ptr @MLX5E_100GBASE_CR4, align 4, !tbaa !9 %31 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %30) #2 %32 = or i32 %29, %31 %33 = and i32 %32, %0 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %50 35: ; preds = %24 %36 = load i32, ptr @MLX5E_10GBASE_KX4, align 4, !tbaa !9 %37 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %36) #2 %38 = load i32, ptr @MLX5E_10GBASE_KR, align 4, !tbaa !9 %39 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %38) #2 %40 = or i32 %39, %37 %41 = load i32, ptr @MLX5E_40GBASE_KR4, align 4, !tbaa !9 %42 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %41) #2 %43 = or i32 %40, %42 %44 = load i32, ptr @MLX5E_100GBASE_KR4, align 4, !tbaa !9 %45 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %44) #2 %46 = or i32 %43, %45 %47 = and i32 %46, %0 %48 = icmp eq i32 %47, 0 %49 = select i1 %48, ptr @PORT_OTHER, ptr @PORT_NONE br label %50 50: ; preds = %35, %24, %10, %7 %51 = phi ptr [ %9, %7 ], [ @PORT_FIBRE, %10 ], [ @PORT_DA, %24 ], [ %49, %35 ] %52 = load i64, ptr %51, align 8, !tbaa !11 ret i64 %52 } declare i32 @MLX5E_PROT_MASK(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_get_connector_port.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/mellanox/mlx5/core/extr_en_ethtool.c_get_connector_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MLX5E_CONNECTOR_TYPE_NUMBER = common local_unnamed_addr global i64 0, align 8 @ptys2connector_type = common local_unnamed_addr global ptr null, align 8 @MLX5E_10GBASE_SR = common local_unnamed_addr global i32 0, align 4 @MLX5E_40GBASE_SR4 = common local_unnamed_addr global i32 0, align 4 @MLX5E_100GBASE_SR4 = common local_unnamed_addr global i32 0, align 4 @MLX5E_1000BASE_CX_SGMII = common local_unnamed_addr global i32 0, align 4 @PORT_FIBRE = common local_unnamed_addr global i64 0, align 8 @MLX5E_40GBASE_CR4 = common local_unnamed_addr global i32 0, align 4 @MLX5E_10GBASE_CR = common local_unnamed_addr global i32 0, align 4 @MLX5E_100GBASE_CR4 = common local_unnamed_addr global i32 0, align 4 @PORT_DA = common local_unnamed_addr global i64 0, align 8 @MLX5E_10GBASE_KX4 = common local_unnamed_addr global i32 0, align 4 @MLX5E_10GBASE_KR = common local_unnamed_addr global i32 0, align 4 @MLX5E_40GBASE_KR4 = common local_unnamed_addr global i32 0, align 4 @MLX5E_100GBASE_KR4 = common local_unnamed_addr global i32 0, align 4 @PORT_NONE = common local_unnamed_addr global i64 0, align 8 @PORT_OTHER = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @get_connector_port], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @get_connector_port(i32 noundef %0, i64 noundef %1) #0 { %3 = icmp ne i64 %1, 0 %4 = load i64, ptr @MLX5E_CONNECTOR_TYPE_NUMBER, align 8 %5 = icmp ugt i64 %4, %1 %6 = select i1 %3, i1 %5, i1 false br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load ptr, ptr @ptys2connector_type, align 8, !tbaa !6 %9 = getelementptr inbounds i64, ptr %8, i64 %1 br label %50 10: ; preds = %2 %11 = load i32, ptr @MLX5E_10GBASE_SR, align 4, !tbaa !10 %12 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %11) #2 %13 = load i32, ptr @MLX5E_40GBASE_SR4, align 4, !tbaa !10 %14 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %13) #2 %15 = or i32 %14, %12 %16 = load i32, ptr @MLX5E_100GBASE_SR4, align 4, !tbaa !10 %17 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %16) #2 %18 = or i32 %15, %17 %19 = load i32, ptr @MLX5E_1000BASE_CX_SGMII, align 4, !tbaa !10 %20 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %19) #2 %21 = or i32 %18, %20 %22 = and i32 %21, %0 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %50 24: ; preds = %10 %25 = load i32, ptr @MLX5E_40GBASE_CR4, align 4, !tbaa !10 %26 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %25) #2 %27 = load i32, ptr @MLX5E_10GBASE_CR, align 4, !tbaa !10 %28 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %27) #2 %29 = or i32 %28, %26 %30 = load i32, ptr @MLX5E_100GBASE_CR4, align 4, !tbaa !10 %31 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %30) #2 %32 = or i32 %29, %31 %33 = and i32 %32, %0 %34 = icmp eq i32 %33, 0 br i1 %34, label %35, label %50 35: ; preds = %24 %36 = load i32, ptr @MLX5E_10GBASE_KX4, align 4, !tbaa !10 %37 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %36) #2 %38 = load i32, ptr @MLX5E_10GBASE_KR, align 4, !tbaa !10 %39 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %38) #2 %40 = or i32 %39, %37 %41 = load i32, ptr @MLX5E_40GBASE_KR4, align 4, !tbaa !10 %42 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %41) #2 %43 = or i32 %40, %42 %44 = load i32, ptr @MLX5E_100GBASE_KR4, align 4, !tbaa !10 %45 = tail call i32 @MLX5E_PROT_MASK(i32 noundef %44) #2 %46 = or i32 %43, %45 %47 = and i32 %46, %0 %48 = icmp eq i32 %47, 0 %49 = select i1 %48, ptr @PORT_OTHER, ptr @PORT_NONE br label %50 50: ; preds = %35, %24, %10, %7 %51 = phi ptr [ %9, %7 ], [ @PORT_FIBRE, %10 ], [ @PORT_DA, %24 ], [ %49, %35 ] %52 = load i64, ptr %51, align 8, !tbaa !12 ret i64 %52 } declare i32 @MLX5E_PROT_MASK(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
linux_drivers_net_ethernet_mellanox_mlx5_core_extr_en_ethtool.c_get_connector_port
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-alsa.c_cx88_alsa_dma_free.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-alsa.c_cx88_alsa_dma_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cx88_audio_buffer = type { ptr, ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @cx88_alsa_dma_free], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @cx88_alsa_dma_free(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds %struct.cx88_audio_buffer, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = tail call i32 @vfree(ptr noundef %3) #2 store ptr null, ptr %2, align 8, !tbaa !5 %5 = load ptr, ptr %0, align 8, !tbaa !10 %6 = tail call i32 @vfree(ptr noundef %5) #2 store ptr null, ptr %0, align 8, !tbaa !10 ret i32 0 } declare i32 @vfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"cx88_audio_buffer", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-alsa.c_cx88_alsa_dma_free.c' source_filename = "AnghaBench/linux/drivers/media/pci/cx88/extr_cx88-alsa.c_cx88_alsa_dma_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 @cx88_alsa_dma_free], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @cx88_alsa_dma_free(ptr nocapture noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = tail call i32 @vfree(ptr noundef %3) #2 store ptr null, ptr %2, align 8, !tbaa !6 %5 = load ptr, ptr %0, align 8, !tbaa !11 %6 = tail call i32 @vfree(ptr noundef %5) #2 store ptr null, ptr %0, align 8, !tbaa !11 ret i32 0 } declare i32 @vfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"cx88_audio_buffer", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_drivers_media_pci_cx88_extr_cx88-alsa.c_cx88_alsa_dma_free
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x05_sync.h_host1x_sync_cfpeek_ctrl_channr_f.c' source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x05_sync.h_host1x_sync_cfpeek_ctrl_channr_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @host1x_sync_cfpeek_ctrl_channr_f], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @host1x_sync_cfpeek_ctrl_channr_f(i32 noundef %0) #0 { %2 = shl i32 %0, 16 %3 = and i32 %2, 983040 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x05_sync.h_host1x_sync_cfpeek_ctrl_channr_f.c' source_filename = "AnghaBench/linux/drivers/gpu/host1x/hw/extr_hw_host1x05_sync.h_host1x_sync_cfpeek_ctrl_channr_f.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 @host1x_sync_cfpeek_ctrl_channr_f], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef range(i32 0, 983041) i32 @host1x_sync_cfpeek_ctrl_channr_f(i32 noundef %0) #0 { %2 = shl i32 %0, 16 %3 = and i32 %2, 983040 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_host1x_hw_extr_hw_host1x05_sync.h_host1x_sync_cfpeek_ctrl_channr_f
; ModuleID = 'AnghaBench/linux/drivers/staging/media/imx/extr_imx7-media-csi.c_imx7_csi_get_format.c' source_filename = "AnghaBench/linux/drivers/staging/media/imx/extr_imx7-media-csi.c_imx7_csi_get_format.c" target datalayout = "e-m:e-p270:32:32-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.imx7_csi = type { ptr, i32 } %struct.v4l2_mbus_framefmt = type { i32 } @V4L2_SUBDEV_FORMAT_TRY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @imx7_csi_get_format], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @imx7_csi_get_format(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @V4L2_SUBDEV_FORMAT_TRY, align 4, !tbaa !5 %6 = icmp eq i32 %5, %3 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = getelementptr inbounds %struct.imx7_csi, ptr %0, i64 0, i32 1 %9 = tail call ptr @v4l2_subdev_get_try_format(ptr noundef nonnull %8, ptr noundef %1, i32 noundef %2) #2 br label %14 10: ; preds = %4 %11 = load ptr, ptr %0, align 8, !tbaa !9 %12 = zext i32 %2 to i64 %13 = getelementptr inbounds %struct.v4l2_mbus_framefmt, ptr %11, i64 %12 br label %14 14: ; preds = %10, %7 %15 = phi ptr [ %9, %7 ], [ %13, %10 ] ret ptr %15 } declare ptr @v4l2_subdev_get_try_format(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, !11, i64 0} !10 = !{!"imx7_csi", !11, i64 0, !6, i64 8} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/staging/media/imx/extr_imx7-media-csi.c_imx7_csi_get_format.c' source_filename = "AnghaBench/linux/drivers/staging/media/imx/extr_imx7-media-csi.c_imx7_csi_get_format.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.v4l2_mbus_framefmt = type { i32 } @V4L2_SUBDEV_FORMAT_TRY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @imx7_csi_get_format], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @imx7_csi_get_format(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = load i32, ptr @V4L2_SUBDEV_FORMAT_TRY, align 4, !tbaa !6 %6 = icmp eq i32 %5, %3 br i1 %6, label %7, label %10 7: ; preds = %4 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = tail call ptr @v4l2_subdev_get_try_format(ptr noundef nonnull %8, ptr noundef %1, i32 noundef %2) #2 br label %14 10: ; preds = %4 %11 = load ptr, ptr %0, align 8, !tbaa !10 %12 = zext i32 %2 to i64 %13 = getelementptr inbounds %struct.v4l2_mbus_framefmt, ptr %11, i64 %12 br label %14 14: ; preds = %10, %7 %15 = phi ptr [ %9, %7 ], [ %13, %10 ] ret ptr %15 } declare ptr @v4l2_subdev_get_try_format(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, !12, i64 0} !11 = !{!"imx7_csi", !12, i64 0, !7, i64 8} !12 = !{!"any pointer", !8, i64 0}
linux_drivers_staging_media_imx_extr_imx7-media-csi.c_imx7_csi_get_format
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_uthex.c_acpi_ut_ascii_to_hex_byte.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_uthex.c_acpi_ut_ascii_to_hex_byte.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AE_BAD_HEX_CONSTANT = dso_local local_unnamed_addr global i32 0, align 4 @AE_OK = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @acpi_ut_ascii_to_hex_byte(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = load i8, ptr %0, align 1, !tbaa !5 %4 = sext i8 %3 to i32 %5 = tail call i32 @isxdigit(i32 noundef %4) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 1 %9 = load i8, ptr %8, align 1, !tbaa !5 %10 = sext i8 %9 to i32 %11 = tail call i32 @isxdigit(i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %7 %14 = tail call i32 @acpi_ut_ascii_char_to_hex(i8 noundef signext %9) #4 %15 = load i8, ptr %0, align 1, !tbaa !5 %16 = tail call i32 @acpi_ut_ascii_char_to_hex(i8 noundef signext %15) #4 %17 = shl i32 %16, 4 %18 = or i32 %17, %14 store i32 %18, ptr %1, align 4, !tbaa !8 br label %19 19: ; preds = %2, %7, %13 %20 = phi ptr [ @AE_OK, %13 ], [ @AE_BAD_HEX_CONSTANT, %7 ], [ @AE_BAD_HEX_CONSTANT, %2 ] %21 = load i32, ptr %20, align 4, !tbaa !8 ret i32 %21 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @isxdigit(i32 noundef) local_unnamed_addr #1 declare i32 @acpi_ut_ascii_char_to_hex(i8 noundef signext) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_uthex.c_acpi_ut_ascii_to_hex_byte.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_uthex.c_acpi_ut_ascii_to_hex_byte.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AE_BAD_HEX_CONSTANT = common local_unnamed_addr global i32 0, align 4 @AE_OK = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @acpi_ut_ascii_to_hex_byte(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = load i8, ptr %0, align 1, !tbaa !6 %4 = sext i8 %3 to i32 %5 = tail call i32 @isxdigit(i32 noundef %4) #3 %6 = icmp eq i32 %5, 0 br i1 %6, label %19, label %7 7: ; preds = %2 %8 = getelementptr inbounds i8, ptr %0, i64 1 %9 = load i8, ptr %8, align 1, !tbaa !6 %10 = sext i8 %9 to i32 %11 = tail call i32 @isxdigit(i32 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %19, label %13 13: ; preds = %7 %14 = tail call i32 @acpi_ut_ascii_char_to_hex(i8 noundef signext %9) #4 %15 = load i8, ptr %0, align 1, !tbaa !6 %16 = tail call i32 @acpi_ut_ascii_char_to_hex(i8 noundef signext %15) #4 %17 = shl i32 %16, 4 %18 = or i32 %17, %14 store i32 %18, ptr %1, align 4, !tbaa !9 br label %19 19: ; preds = %2, %7, %13 %20 = phi ptr [ @AE_OK, %13 ], [ @AE_BAD_HEX_CONSTANT, %7 ], [ @AE_BAD_HEX_CONSTANT, %2 ] %21 = load i32, ptr %20, align 4, !tbaa !9 ret i32 %21 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(read) declare i32 @isxdigit(i32 noundef) local_unnamed_addr #1 declare i32 @acpi_ut_ascii_char_to_hex(i8 noundef signext) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind willreturn memory(read) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
linux_drivers_acpi_acpica_extr_uthex.c_acpi_ut_ascii_to_hex_byte
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_cmds.c_NcFTPRedialStatusProc.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_cmds.c_NcFTPRedialStatusProc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @gUnusedArg = dso_local local_unnamed_addr global i32 0, align 4 @kRedialStatusDialing = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Redialing (try %d)...\00", align 1 @kRedialStatusSleeping = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Sleeping %d seconds...\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @NcFTPRedialStatusProc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @NcFTPRedialStatusProc(ptr noundef readnone %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 store i32 %5, ptr @gUnusedArg, align 4, !tbaa !5 %6 = load i32, ptr @kRedialStatusDialing, align 4, !tbaa !5 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = icmp sgt i32 %2, 0 br i1 %9, label %10, label %18 10: ; preds = %8 %11 = tail call i32 @OpenMsg(ptr noundef nonnull @.str, i32 noundef %2) #2 %12 = tail call i32 @sleep(i32 noundef 1) #2 br label %18 13: ; preds = %3 %14 = load i32, ptr @kRedialStatusSleeping, align 4, !tbaa !5 %15 = icmp eq i32 %14, %1 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = tail call i32 @OpenMsg(ptr noundef nonnull @.str.1, i32 noundef %2) #2 br label %18 18: ; preds = %13, %16, %8, %10 ret void } declare i32 @OpenMsg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sleep(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_cmds.c_NcFTPRedialStatusProc.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_cmds.c_NcFTPRedialStatusProc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gUnusedArg = common local_unnamed_addr global i32 0, align 4 @kRedialStatusDialing = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"Redialing (try %d)...\00", align 1 @kRedialStatusSleeping = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [23 x i8] c"Sleeping %d seconds...\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @NcFTPRedialStatusProc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @NcFTPRedialStatusProc(ptr noundef readnone %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 store i32 %5, ptr @gUnusedArg, align 4, !tbaa !6 %6 = load i32, ptr @kRedialStatusDialing, align 4, !tbaa !6 %7 = icmp eq i32 %6, %1 br i1 %7, label %8, label %13 8: ; preds = %3 %9 = icmp sgt i32 %2, 0 br i1 %9, label %10, label %18 10: ; preds = %8 %11 = tail call i32 @OpenMsg(ptr noundef nonnull @.str, i32 noundef %2) #2 %12 = tail call i32 @sleep(i32 noundef 1) #2 br label %18 13: ; preds = %3 %14 = load i32, ptr @kRedialStatusSleeping, align 4, !tbaa !6 %15 = icmp eq i32 %14, %1 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = tail call i32 @OpenMsg(ptr noundef nonnull @.str.1, i32 noundef %2) #2 br label %18 18: ; preds = %13, %16, %8, %10 ret void } declare i32 @OpenMsg(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @sleep(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_modules_rosapps_applications_net_ncftp_ncftp_extr_cmds.c_NcFTPRedialStatusProc
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sriov.h_bnx2x_iov_sp_task.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sriov.h_bnx2x_iov_sp_task.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bnx2x_iov_sp_task], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @bnx2x_iov_sp_task(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sriov.h_bnx2x_iov_sp_task.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/bnx2x/extr_bnx2x_sriov.h_bnx2x_iov_sp_task.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 @bnx2x_iov_sp_task], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @bnx2x_iov_sp_task(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_bnx2x_extr_bnx2x_sriov.h_bnx2x_iov_sp_task
; ModuleID = 'AnghaBench/linux/fs/proc/extr_base.c_dname_to_vma_addr.c' source_filename = "AnghaBench/linux/fs/proc/extr_base.c_dname_to_vma_addr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @KSTRTOX_OVERFLOW = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dname_to_vma_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dname_to_vma_addr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = load i8, ptr %6, align 1, !tbaa !11 %8 = icmp eq i8 %7, 48 br i1 %8, label %9, label %16 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %6, i64 1 %11 = load i8, ptr %10, align 1, !tbaa !11 %12 = icmp eq i8 %11, 45 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @EINVAL, align 4, !tbaa !12 %15 = sub nsw i32 0, %14 br label %62 16: ; preds = %9, %3 %17 = call i32 @_parse_integer(ptr noundef nonnull %6, i32 noundef 16, ptr noundef nonnull %4) #3 %18 = load i32, ptr @KSTRTOX_OVERFLOW, align 4, !tbaa !12 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %16 %22 = load i32, ptr @EINVAL, align 4, !tbaa !12 %23 = sub nsw i32 0, %22 br label %62 24: ; preds = %16 %25 = zext i32 %17 to i64 %26 = getelementptr inbounds i8, ptr %6, i64 %25 %27 = load i8, ptr %26, align 1, !tbaa !11 %28 = icmp eq i8 %27, 45 br i1 %28, label %32, label %29 29: ; preds = %24 %30 = load i32, ptr @EINVAL, align 4, !tbaa !12 %31 = sub nsw i32 0, %30 br label %62 32: ; preds = %24 %33 = getelementptr inbounds i8, ptr %26, i64 1 %34 = load i8, ptr %33, align 1, !tbaa !11 %35 = icmp eq i8 %34, 48 br i1 %35, label %36, label %43 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %26, i64 2 %38 = load i8, ptr %37, align 1, !tbaa !11 %39 = icmp eq i8 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = load i32, ptr @EINVAL, align 4, !tbaa !12 %42 = sub nsw i32 0, %41 br label %62 43: ; preds = %36, %32 %44 = call i32 @_parse_integer(ptr noundef nonnull %33, i32 noundef 16, ptr noundef nonnull %5) #3 %45 = load i32, ptr @KSTRTOX_OVERFLOW, align 4, !tbaa !12 %46 = and i32 %45, %44 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %43 %49 = load i32, ptr @EINVAL, align 4, !tbaa !12 %50 = sub nsw i32 0, %49 br label %62 51: ; preds = %43 %52 = zext i32 %44 to i64 %53 = getelementptr inbounds i8, ptr %33, i64 %52 %54 = load i8, ptr %53, align 1, !tbaa !11 %55 = icmp eq i8 %54, 0 br i1 %55, label %59, label %56 56: ; preds = %51 %57 = load i32, ptr @EINVAL, align 4, !tbaa !12 %58 = sub nsw i32 0, %57 br label %62 59: ; preds = %51 %60 = load i64, ptr %4, align 8, !tbaa !14 store i64 %60, ptr %1, align 8, !tbaa !16 %61 = load i64, ptr %5, align 8, !tbaa !14 store i64 %61, ptr %2, align 8, !tbaa !16 br label %62 62: ; preds = %59, %56, %48, %40, %29, %21, %13 %63 = phi i32 [ %15, %13 ], [ %23, %21 ], [ %31, %29 ], [ %42, %40 ], [ %50, %48 ], [ %58, %56 ], [ 0, %59 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %63 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @_parse_integer(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"dentry", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!9, !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long long", !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0}
; ModuleID = 'AnghaBench/linux/fs/proc/extr_base.c_dname_to_vma_addr.c' source_filename = "AnghaBench/linux/fs/proc/extr_base.c_dname_to_vma_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EINVAL = common local_unnamed_addr global i32 0, align 4 @KSTRTOX_OVERFLOW = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dname_to_vma_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @dname_to_vma_addr(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = alloca i64, align 8 %5 = alloca i64, align 8 %6 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %7 = load i8, ptr %6, align 1, !tbaa !12 %8 = icmp eq i8 %7, 48 br i1 %8, label %9, label %16 9: ; preds = %3 %10 = getelementptr inbounds i8, ptr %6, i64 1 %11 = load i8, ptr %10, align 1, !tbaa !12 %12 = icmp eq i8 %11, 45 br i1 %12, label %16, label %13 13: ; preds = %9 %14 = load i32, ptr @EINVAL, align 4, !tbaa !13 %15 = sub nsw i32 0, %14 br label %62 16: ; preds = %9, %3 %17 = call i32 @_parse_integer(ptr noundef nonnull %6, i32 noundef 16, ptr noundef nonnull %4) #3 %18 = load i32, ptr @KSTRTOX_OVERFLOW, align 4, !tbaa !13 %19 = and i32 %18, %17 %20 = icmp eq i32 %19, 0 br i1 %20, label %24, label %21 21: ; preds = %16 %22 = load i32, ptr @EINVAL, align 4, !tbaa !13 %23 = sub nsw i32 0, %22 br label %62 24: ; preds = %16 %25 = zext i32 %17 to i64 %26 = getelementptr inbounds i8, ptr %6, i64 %25 %27 = load i8, ptr %26, align 1, !tbaa !12 %28 = icmp eq i8 %27, 45 br i1 %28, label %32, label %29 29: ; preds = %24 %30 = load i32, ptr @EINVAL, align 4, !tbaa !13 %31 = sub nsw i32 0, %30 br label %62 32: ; preds = %24 %33 = getelementptr inbounds i8, ptr %26, i64 1 %34 = load i8, ptr %33, align 1, !tbaa !12 %35 = icmp eq i8 %34, 48 br i1 %35, label %36, label %43 36: ; preds = %32 %37 = getelementptr inbounds i8, ptr %26, i64 2 %38 = load i8, ptr %37, align 1, !tbaa !12 %39 = icmp eq i8 %38, 0 br i1 %39, label %43, label %40 40: ; preds = %36 %41 = load i32, ptr @EINVAL, align 4, !tbaa !13 %42 = sub nsw i32 0, %41 br label %62 43: ; preds = %36, %32 %44 = call i32 @_parse_integer(ptr noundef nonnull %33, i32 noundef 16, ptr noundef nonnull %5) #3 %45 = load i32, ptr @KSTRTOX_OVERFLOW, align 4, !tbaa !13 %46 = and i32 %45, %44 %47 = icmp eq i32 %46, 0 br i1 %47, label %51, label %48 48: ; preds = %43 %49 = load i32, ptr @EINVAL, align 4, !tbaa !13 %50 = sub nsw i32 0, %49 br label %62 51: ; preds = %43 %52 = zext i32 %44 to i64 %53 = getelementptr inbounds i8, ptr %33, i64 %52 %54 = load i8, ptr %53, align 1, !tbaa !12 %55 = icmp eq i8 %54, 0 br i1 %55, label %59, label %56 56: ; preds = %51 %57 = load i32, ptr @EINVAL, align 4, !tbaa !13 %58 = sub nsw i32 0, %57 br label %62 59: ; preds = %51 %60 = load i64, ptr %4, align 8, !tbaa !15 store i64 %60, ptr %1, align 8, !tbaa !17 %61 = load i64, ptr %5, align 8, !tbaa !15 store i64 %61, ptr %2, align 8, !tbaa !17 br label %62 62: ; preds = %59, %56, %48, %40, %29, %21, %13 %63 = phi i32 [ %15, %13 ], [ %23, %21 ], [ %31, %29 ], [ %42, %40 ], [ %50, %48 ], [ %58, %56 ], [ 0, %59 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret i32 %63 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @_parse_integer(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"dentry", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!10, !10, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !10, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long long", !10, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !10, i64 0}
linux_fs_proc_extr_base.c_dname_to_vma_addr
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libpng/extr_pngwutil.c_png_write_find_filter.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libpng/extr_pngwutil.c_png_write_find_filter.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PNG_FILTER_AVG = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FILTER_NONE = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FILTER_PAETH = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FILTER_SUB = dso_local local_unnamed_addr global i32 0, align 4 @PNG_FILTER_UP = dso_local local_unnamed_addr global i32 0, align 4 @PNG_SIZE_MAX = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @png_write_find_filter(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr %1, align 8, !tbaa !11 %5 = add i64 %4, 1 %6 = tail call i32 @png_write_filtered_row(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %5) #2 ret void } declare i32 @png_write_filtered_row(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_14__", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_15__", !13, i64 0, !10, i64 8} !13 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libpng/extr_pngwutil.c_png_write_find_filter.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libpng/extr_pngwutil.c_png_write_find_filter.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PNG_FILTER_AVG = common local_unnamed_addr global i32 0, align 4 @PNG_FILTER_NONE = common local_unnamed_addr global i32 0, align 4 @PNG_FILTER_PAETH = common local_unnamed_addr global i32 0, align 4 @PNG_FILTER_SUB = common local_unnamed_addr global i32 0, align 4 @PNG_FILTER_UP = common local_unnamed_addr global i32 0, align 4 @PNG_SIZE_MAX = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @png_write_find_filter(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr %1, align 8, !tbaa !12 %5 = add i64 %4, 1 %6 = tail call i32 @png_write_filtered_row(ptr noundef nonnull %0, ptr noundef %3, i64 noundef %5) #2 ret void } declare i32 @png_write_filtered_row(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_14__", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 24} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_15__", !14, i64 0, !11, i64 8} !14 = !{!"long", !9, i64 0}
reactos_dll_3rdparty_libpng_extr_pngwutil.c_png_write_find_filter
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_bfdbg.c___plugin_open.c' source_filename = "AnghaBench/radare2/libr/io/p/extr_io_bfdbg.c___plugin_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" @.str = private unnamed_addr constant [9 x i8] c"bfdbg://\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @__plugin_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @__plugin_open(ptr nocapture readnone %0, ptr noundef %1, i32 %2) #0 { %4 = tail call i32 @strncmp(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 8) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/radare2/libr/io/p/extr_io_bfdbg.c___plugin_open.c' source_filename = "AnghaBench/radare2/libr/io/p/extr_io_bfdbg.c___plugin_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [9 x i8] c"bfdbg://\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @__plugin_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @__plugin_open(ptr nocapture readnone %0, ptr noundef %1, i32 %2) #0 { %4 = tail call i32 @strncmp(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef 8) #2 %5 = icmp eq i32 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
radare2_libr_io_p_extr_io_bfdbg.c___plugin_open
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/isa/extr_mss.c_guspcm_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/isa/extr_mss.c_guspcm_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.mss_info = type { i32, i32, i32, i32, ptr, i32, i64, i32 } @M_DEVBUF = dso_local local_unnamed_addr global i32 0, align 4 @M_NOWAIT = dso_local local_unnamed_addr global i32 0, align 4 @M_ZERO = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @BD_F_MSS_OFFSET = dso_local local_unnamed_addr global i32 0, align 4 @MD_GUSMAX = dso_local local_unnamed_addr global i32 0, align 4 @MD_GUSPNP = dso_local local_unnamed_addr global i32 0, align 4 @DV_F_DUAL_DMA = dso_local local_unnamed_addr global i32 0, align 4 @SYS_RES_IOPORT = dso_local local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @DV_F_DRQ_MASK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @guspcm_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @guspcm_attach(i32 noundef %0) #0 { %2 = tail call i32 @device_get_parent(i32 noundef %0) #2 %3 = load i32, ptr @M_DEVBUF, align 4, !tbaa !5 %4 = load i32, ptr @M_NOWAIT, align 4, !tbaa !5 %5 = load i32, ptr @M_ZERO, align 4, !tbaa !5 %6 = or i32 %5, %4 %7 = tail call i64 @malloc(i32 noundef 48, i32 noundef %3, i32 noundef %6) #2 %8 = inttoptr i64 %7 to ptr %9 = icmp eq i64 %7, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !5 br label %63 12: ; preds = %1 %13 = load i32, ptr @BD_F_MSS_OFFSET, align 4, !tbaa !5 %14 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 7 store i32 %13, ptr %14, align 8, !tbaa !9 store i32 2, ptr %8, align 8, !tbaa !13 %15 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 1 store i32 1, ptr %15, align 4, !tbaa !14 %16 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 6 store i64 0, ptr %16, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 2 store i32 1, ptr %17, align 8, !tbaa !16 %18 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 3 store i32 -1, ptr %18, align 4, !tbaa !17 %19 = tail call i64 @isa_get_logicalid(i32 noundef %2) #2 %20 = icmp eq i64 %19, 0 %21 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 5 br i1 %20, label %22, label %28 22: ; preds = %12 %23 = load i32, ptr @MD_GUSMAX, align 4, !tbaa !5 store i32 %23, ptr %21, align 8, !tbaa !18 %24 = tail call i32 @device_get_flags(i32 noundef %2) #2 %25 = load i32, ptr @DV_F_DUAL_DMA, align 4, !tbaa !5 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 br i1 %27, label %31, label %30 28: ; preds = %12 %29 = load i32, ptr @MD_GUSPNP, align 4, !tbaa !5 store i32 %29, ptr %21, align 8, !tbaa !18 store i32 0, ptr %18, align 4, !tbaa !17 br label %61 30: ; preds = %22 store i32 0, ptr %18, align 4, !tbaa !17 br label %31 31: ; preds = %30, %22 %32 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !5 %33 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !5 %34 = tail call ptr @bus_alloc_resource_anywhere(i32 noundef %0, i32 noundef %32, ptr noundef nonnull %15, i32 noundef 8, i32 noundef %33) #2 %35 = getelementptr inbounds %struct.mss_info, ptr %8, i64 0, i32 4 store ptr %34, ptr %35, align 8, !tbaa !19 %36 = icmp eq ptr %34, null br i1 %36, label %37, label %40 37: ; preds = %31 %38 = tail call i32 @mss_release_resources(ptr noundef nonnull %8, i32 noundef %0) #2 %39 = load i32, ptr @ENXIO, align 4, !tbaa !5 br label %63 40: ; preds = %31 %41 = tail call i32 @isa_get_port(i32 noundef %2) #2 %42 = tail call i32 @isa_get_drq(i32 noundef %0) #2 %43 = icmp sgt i32 %42, 3 %44 = select i1 %43, i8 80, i8 64 %45 = load i32, ptr @DV_F_DUAL_DMA, align 4, !tbaa !5 %46 = and i32 %45, %24 %47 = icmp eq i32 %46, 0 br i1 %47, label %54, label %48 48: ; preds = %40 %49 = load i32, ptr @DV_F_DRQ_MASK, align 4, !tbaa !5 %50 = and i32 %49, %24 %51 = icmp sgt i32 %50, 3 %52 = or disjoint i8 %44, 32 %53 = select i1 %51, i8 %52, i8 %44 br label %54 54: ; preds = %48, %40 %55 = phi i8 [ %44, %40 ], [ %53, %48 ] %56 = trunc i32 %41 to i8 %57 = lshr i8 %56, 4 %58 = or i8 %55, %57 %59 = load ptr, ptr %35, align 8, !tbaa !19 %60 = tail call i32 @port_wr(ptr noundef %59, i32 noundef 6, i8 noundef zeroext %58) #2 br label %61 61: ; preds = %54, %28 %62 = tail call i32 @mss_doattach(i32 noundef %0, ptr noundef nonnull %8) #2 br label %63 63: ; preds = %61, %37, %10 %64 = phi i32 [ %11, %10 ], [ %39, %37 ], [ %62, %61 ] ret i32 %64 } declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @isa_get_logicalid(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_flags(i32 noundef) local_unnamed_addr #1 declare ptr @bus_alloc_resource_anywhere(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mss_release_resources(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isa_get_port(i32 noundef) local_unnamed_addr #1 declare i32 @isa_get_drq(i32 noundef) local_unnamed_addr #1 declare i32 @port_wr(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @mss_doattach(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 40} !10 = !{!"mss_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !11, i64 16, !6, i64 24, !12, i64 32, !6, i64 40} !11 = !{!"any pointer", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!10, !6, i64 4} !15 = !{!10, !12, i64 32} !16 = !{!10, !6, i64 8} !17 = !{!10, !6, i64 12} !18 = !{!10, !6, i64 24} !19 = !{!10, !11, i64 16}
; ModuleID = 'AnghaBench/freebsd/sys/dev/sound/isa/extr_mss.c_guspcm_attach.c' source_filename = "AnghaBench/freebsd/sys/dev/sound/isa/extr_mss.c_guspcm_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_DEVBUF = common local_unnamed_addr global i32 0, align 4 @M_NOWAIT = common local_unnamed_addr global i32 0, align 4 @M_ZERO = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @BD_F_MSS_OFFSET = common local_unnamed_addr global i32 0, align 4 @MD_GUSMAX = common local_unnamed_addr global i32 0, align 4 @MD_GUSPNP = common local_unnamed_addr global i32 0, align 4 @DV_F_DUAL_DMA = common local_unnamed_addr global i32 0, align 4 @SYS_RES_IOPORT = common local_unnamed_addr global i32 0, align 4 @RF_ACTIVE = common local_unnamed_addr global i32 0, align 4 @ENXIO = common local_unnamed_addr global i32 0, align 4 @DV_F_DRQ_MASK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @guspcm_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @guspcm_attach(i32 noundef %0) #0 { %2 = tail call i32 @device_get_parent(i32 noundef %0) #2 %3 = load i32, ptr @M_DEVBUF, align 4, !tbaa !6 %4 = load i32, ptr @M_NOWAIT, align 4, !tbaa !6 %5 = load i32, ptr @M_ZERO, align 4, !tbaa !6 %6 = or i32 %5, %4 %7 = tail call i64 @malloc(i32 noundef 48, i32 noundef %3, i32 noundef %6) #2 %8 = inttoptr i64 %7 to ptr %9 = icmp eq i64 %7, 0 br i1 %9, label %10, label %12 10: ; preds = %1 %11 = load i32, ptr @ENOMEM, align 4, !tbaa !6 br label %63 12: ; preds = %1 %13 = load i32, ptr @BD_F_MSS_OFFSET, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %8, i64 40 store i32 %13, ptr %14, align 8, !tbaa !10 %15 = getelementptr inbounds i8, ptr %8, i64 4 store <2 x i32> <i32 2, i32 1>, ptr %8, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %8, i64 32 store i64 0, ptr %16, align 8, !tbaa !14 %17 = getelementptr inbounds i8, ptr %8, i64 8 %18 = getelementptr inbounds i8, ptr %8, i64 12 store <2 x i32> <i32 1, i32 -1>, ptr %17, align 8, !tbaa !6 %19 = tail call i64 @isa_get_logicalid(i32 noundef %2) #2 %20 = icmp eq i64 %19, 0 %21 = getelementptr inbounds i8, ptr %8, i64 24 br i1 %20, label %22, label %28 22: ; preds = %12 %23 = load i32, ptr @MD_GUSMAX, align 4, !tbaa !6 store i32 %23, ptr %21, align 8, !tbaa !15 %24 = tail call i32 @device_get_flags(i32 noundef %2) #2 %25 = load i32, ptr @DV_F_DUAL_DMA, align 4, !tbaa !6 %26 = and i32 %25, %24 %27 = icmp eq i32 %26, 0 br i1 %27, label %31, label %30 28: ; preds = %12 %29 = load i32, ptr @MD_GUSPNP, align 4, !tbaa !6 store i32 %29, ptr %21, align 8, !tbaa !15 store i32 0, ptr %18, align 4, !tbaa !16 br label %61 30: ; preds = %22 store i32 0, ptr %18, align 4, !tbaa !16 br label %31 31: ; preds = %30, %22 %32 = load i32, ptr @SYS_RES_IOPORT, align 4, !tbaa !6 %33 = load i32, ptr @RF_ACTIVE, align 4, !tbaa !6 %34 = tail call ptr @bus_alloc_resource_anywhere(i32 noundef %0, i32 noundef %32, ptr noundef nonnull %15, i32 noundef 8, i32 noundef %33) #2 %35 = getelementptr inbounds i8, ptr %8, i64 16 store ptr %34, ptr %35, align 8, !tbaa !17 %36 = icmp eq ptr %34, null br i1 %36, label %37, label %40 37: ; preds = %31 %38 = tail call i32 @mss_release_resources(ptr noundef nonnull %8, i32 noundef %0) #2 %39 = load i32, ptr @ENXIO, align 4, !tbaa !6 br label %63 40: ; preds = %31 %41 = tail call i32 @isa_get_port(i32 noundef %2) #2 %42 = tail call i32 @isa_get_drq(i32 noundef %0) #2 %43 = icmp sgt i32 %42, 3 %44 = select i1 %43, i8 80, i8 64 %45 = load i32, ptr @DV_F_DUAL_DMA, align 4, !tbaa !6 %46 = and i32 %45, %24 %47 = icmp eq i32 %46, 0 br i1 %47, label %54, label %48 48: ; preds = %40 %49 = load i32, ptr @DV_F_DRQ_MASK, align 4, !tbaa !6 %50 = and i32 %49, %24 %51 = icmp sgt i32 %50, 3 %52 = or disjoint i8 %44, 32 %53 = select i1 %51, i8 %52, i8 %44 br label %54 54: ; preds = %48, %40 %55 = phi i8 [ %44, %40 ], [ %53, %48 ] %56 = trunc i32 %41 to i8 %57 = lshr i8 %56, 4 %58 = or i8 %55, %57 %59 = load ptr, ptr %35, align 8, !tbaa !17 %60 = tail call i32 @port_wr(ptr noundef %59, i32 noundef 6, i8 noundef zeroext %58) #2 br label %61 61: ; preds = %54, %28 %62 = tail call i32 @mss_doattach(i32 noundef %0, ptr noundef nonnull %8) #2 br label %63 63: ; preds = %61, %37, %10 %64 = phi i32 [ %11, %10 ], [ %39, %37 ], [ %62, %61 ] ret i32 %64 } declare i32 @device_get_parent(i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @isa_get_logicalid(i32 noundef) local_unnamed_addr #1 declare i32 @device_get_flags(i32 noundef) local_unnamed_addr #1 declare ptr @bus_alloc_resource_anywhere(i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mss_release_resources(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @isa_get_port(i32 noundef) local_unnamed_addr #1 declare i32 @isa_get_drq(i32 noundef) local_unnamed_addr #1 declare i32 @port_wr(ptr noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1 declare i32 @mss_doattach(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 40} !11 = !{!"mss_info", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !12, i64 16, !7, i64 24, !13, i64 32, !7, i64 40} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !13, i64 32} !15 = !{!11, !7, i64 24} !16 = !{!11, !7, i64 12} !17 = !{!11, !12, i64 16}
freebsd_sys_dev_sound_isa_extr_mss.c_guspcm_attach
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_orion_wdt.c_armada370_stop.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_orion_wdt.c_armada370_stop.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.orion_watchdog = type { ptr, i64, i32 } %struct.TYPE_2__ = type { i32, i32 } @TIMER_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @armada370_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @armada370_stop(ptr noundef %0) #0 { %2 = tail call ptr @watchdog_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.orion_watchdog, ptr %2, i64 0, i32 2 %4 = load i32, ptr %3, align 8, !tbaa !5 %5 = tail call i32 @readl(i32 noundef %4) #2 %6 = load ptr, ptr %2, align 8, !tbaa !12 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = xor i32 %8, -1 %10 = and i32 %5, %9 %11 = load i32, ptr %3, align 8, !tbaa !5 %12 = tail call i32 @writel(i32 noundef %10, i32 noundef %11) #2 %13 = getelementptr inbounds %struct.orion_watchdog, ptr %2, i64 0, i32 1 %14 = load i64, ptr %13, align 8, !tbaa !15 %15 = load i64, ptr @TIMER_CTRL, align 8, !tbaa !16 %16 = add nsw i64 %15, %14 %17 = load ptr, ptr %2, align 8, !tbaa !12 %18 = load i32, ptr %17, align 4, !tbaa !17 %19 = tail call i32 @atomic_io_modify(i64 noundef %16, i32 noundef %18, i32 noundef 0) #2 ret i32 0 } declare ptr @watchdog_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_io_modify(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"orion_watchdog", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !11, i64 4} !14 = !{!"TYPE_2__", !11, i64 0, !11, i64 4} !15 = !{!6, !10, i64 8} !16 = !{!10, !10, i64 0} !17 = !{!14, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/watchdog/extr_orion_wdt.c_armada370_stop.c' source_filename = "AnghaBench/linux/drivers/watchdog/extr_orion_wdt.c_armada370_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TIMER_CTRL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @armada370_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @armada370_stop(ptr noundef %0) #0 { %2 = tail call ptr @watchdog_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load i32, ptr %3, align 8, !tbaa !6 %5 = tail call i32 @readl(i32 noundef %4) #2 %6 = load ptr, ptr %2, align 8, !tbaa !13 %7 = getelementptr inbounds i8, ptr %6, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = xor i32 %8, -1 %10 = and i32 %5, %9 %11 = load i32, ptr %3, align 8, !tbaa !6 %12 = tail call i32 @writel(i32 noundef %10, i32 noundef %11) #2 %13 = getelementptr inbounds i8, ptr %2, i64 8 %14 = load i64, ptr %13, align 8, !tbaa !16 %15 = load i64, ptr @TIMER_CTRL, align 8, !tbaa !17 %16 = add nsw i64 %15, %14 %17 = load ptr, ptr %2, align 8, !tbaa !13 %18 = load i32, ptr %17, align 4, !tbaa !18 %19 = tail call i32 @atomic_io_modify(i64 noundef %16, i32 noundef %18, i32 noundef 0) #2 ret i32 0 } declare ptr @watchdog_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @readl(i32 noundef) local_unnamed_addr #1 declare i32 @writel(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @atomic_io_modify(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"orion_watchdog", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !12, i64 4} !15 = !{!"TYPE_2__", !12, i64 0, !12, i64 4} !16 = !{!7, !11, i64 8} !17 = !{!11, !11, i64 0} !18 = !{!15, !12, i64 0}
linux_drivers_watchdog_extr_orion_wdt.c_armada370_stop
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/extr_bridge_if.c_bridge_if_create.c' source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/extr_bridge_if.c_bridge_if_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @bridge_if_create], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @bridge_if_create(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @bridge_create(ptr noundef %0) #2 %4 = icmp slt i64 %3, 0 br i1 %4, label %11, label %5 5: ; preds = %2 %6 = icmp eq i32 %1, 1 br i1 %6, label %7, label %10 7: ; preds = %5 %8 = tail call i64 @bridge_set_if_up(ptr noundef %0, i32 noundef 1) #2 %9 = icmp slt i64 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %7, %5 br label %11 11: ; preds = %7, %2, %10 %12 = phi i32 [ 0, %10 ], [ -1, %2 ], [ -1, %7 ] ret i32 %12 } declare i64 @bridge_create(ptr noundef) local_unnamed_addr #1 declare i64 @bridge_set_if_up(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/extr_bridge_if.c_bridge_if_create.c' source_filename = "AnghaBench/freebsd/usr.sbin/bsnmpd/modules/snmp_bridge/extr_bridge_if.c_bridge_if_create.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 @bridge_if_create], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @bridge_if_create(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @bridge_create(ptr noundef %0) #2 %4 = icmp slt i64 %3, 0 br i1 %4, label %11, label %5 5: ; preds = %2 %6 = icmp eq i32 %1, 1 br i1 %6, label %7, label %10 7: ; preds = %5 %8 = tail call i64 @bridge_set_if_up(ptr noundef %0, i32 noundef 1) #2 %9 = icmp slt i64 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %7, %5 br label %11 11: ; preds = %7, %2, %10 %12 = phi i32 [ 0, %10 ], [ -1, %2 ], [ -1, %7 ] ret i32 %12 } declare i64 @bridge_create(ptr noundef) local_unnamed_addr #1 declare i64 @bridge_set_if_up(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_usr.sbin_bsnmpd_modules_snmp_bridge_extr_bridge_if.c_bridge_if_create
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_mmu.c_kvm_mmu_zap_page.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_mmu.c_kvm_mmu_zap_page.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.kvm = type { %struct.TYPE_6__, %struct.TYPE_4__ } %struct.TYPE_6__ = type { i32 } %struct.TYPE_4__ = type { i32 } %struct.kvm_mmu_page = type { i32, %struct.TYPE_5__, i32, i32, i64, i32 } %struct.TYPE_5__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @kvm_mmu_zap_page], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @kvm_mmu_zap_page(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @trace_kvm_mmu_zap_page(ptr noundef %1) #2 %4 = getelementptr inbounds %struct.kvm, ptr %0, i64 0, i32 1 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = add nsw i32 %5, 1 store i32 %6, ptr %4, align 4, !tbaa !5 %7 = tail call i32 @mmu_zap_unsync_children(ptr noundef %0, ptr noundef %1) #2 %8 = tail call i32 @kvm_mmu_page_unlink_children(ptr noundef %0, ptr noundef %1) #2 %9 = tail call i32 @kvm_mmu_unlink_parents(ptr noundef %0, ptr noundef %1) #2 %10 = tail call i32 @kvm_flush_remote_tlbs(ptr noundef %0) #2 %11 = getelementptr inbounds %struct.kvm_mmu_page, ptr %1, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %2 %15 = getelementptr inbounds %struct.kvm_mmu_page, ptr %1, i64 0, i32 1, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = getelementptr inbounds %struct.kvm_mmu_page, ptr %1, i64 0, i32 5 %20 = load i32, ptr %19, align 8, !tbaa !17 %21 = tail call i32 @unaccount_shadowed(ptr noundef nonnull %0, i32 noundef %20) #2 br label %22 22: ; preds = %18, %14, %2 %23 = getelementptr inbounds %struct.kvm_mmu_page, ptr %1, i64 0, i32 4 %24 = load i64, ptr %23, align 8, !tbaa !18 %25 = icmp eq i64 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %22 %27 = tail call i32 @kvm_unlink_unsync_page(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %28 28: ; preds = %26, %22 %29 = getelementptr inbounds %struct.kvm_mmu_page, ptr %1, i64 0, i32 3 %30 = load i32, ptr %29, align 8, !tbaa !19 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = getelementptr inbounds %struct.kvm_mmu_page, ptr %1, i64 0, i32 2 %34 = tail call i32 @hlist_del(ptr noundef nonnull %33) #2 %35 = tail call i32 @kvm_mmu_free_page(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %39 36: ; preds = %28 store i32 1, ptr %11, align 4, !tbaa !12 %37 = tail call i32 @list_move(ptr noundef nonnull %1, ptr noundef nonnull %0) #2 %38 = tail call i32 @kvm_reload_remote_mmus(ptr noundef nonnull %0) #2 br label %39 39: ; preds = %36, %32 %40 = tail call i32 @kvm_mmu_reset_last_pte_updated(ptr noundef nonnull %0) #2 ret i32 %7 } declare i32 @trace_kvm_mmu_zap_page(ptr noundef) local_unnamed_addr #1 declare i32 @mmu_zap_unsync_children(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_page_unlink_children(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_unlink_parents(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_flush_remote_tlbs(ptr noundef) local_unnamed_addr #1 declare i32 @unaccount_shadowed(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvm_unlink_unsync_page(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_del(ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_free_page(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_move(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_reload_remote_mmus(ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_reset_last_pte_updated(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 4} !6 = !{!"kvm", !7, i64 0, !11, i64 4} !7 = !{!"TYPE_6__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_4__", !8, i64 0} !12 = !{!13, !8, i64 4} !13 = !{!"kvm_mmu_page", !8, i64 0, !14, i64 4, !8, i64 12, !8, i64 16, !15, i64 24, !8, i64 32} !14 = !{!"TYPE_5__", !8, i64 0, !8, i64 4} !15 = !{!"long", !9, i64 0} !16 = !{!13, !8, i64 8} !17 = !{!13, !8, i64 32} !18 = !{!13, !15, i64 24} !19 = !{!13, !8, i64 16}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_mmu.c_kvm_mmu_zap_page.c' source_filename = "AnghaBench/fastsocket/kernel/arch/x86/kvm/extr_mmu.c_kvm_mmu_zap_page.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 @kvm_mmu_zap_page], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @kvm_mmu_zap_page(ptr noundef %0, ptr noundef %1) #0 { %3 = tail call i32 @trace_kvm_mmu_zap_page(ptr noundef %1) #2 %4 = getelementptr inbounds i8, ptr %0, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = add nsw i32 %5, 1 store i32 %6, ptr %4, align 4, !tbaa !6 %7 = tail call i32 @mmu_zap_unsync_children(ptr noundef %0, ptr noundef %1) #2 %8 = tail call i32 @kvm_mmu_page_unlink_children(ptr noundef %0, ptr noundef %1) #2 %9 = tail call i32 @kvm_mmu_unlink_parents(ptr noundef %0, ptr noundef %1) #2 %10 = tail call i32 @kvm_flush_remote_tlbs(ptr noundef %0) #2 %11 = getelementptr inbounds i8, ptr %1, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %22 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %1, i64 8 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %22 18: ; preds = %14 %19 = getelementptr inbounds i8, ptr %1, i64 32 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = tail call i32 @unaccount_shadowed(ptr noundef nonnull %0, i32 noundef %20) #2 br label %22 22: ; preds = %18, %14, %2 %23 = getelementptr inbounds i8, ptr %1, i64 24 %24 = load i64, ptr %23, align 8, !tbaa !19 %25 = icmp eq i64 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %22 %27 = tail call i32 @kvm_unlink_unsync_page(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %28 28: ; preds = %26, %22 %29 = getelementptr inbounds i8, ptr %1, i64 16 %30 = load i32, ptr %29, align 8, !tbaa !20 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = getelementptr inbounds i8, ptr %1, i64 12 %34 = tail call i32 @hlist_del(ptr noundef nonnull %33) #2 %35 = tail call i32 @kvm_mmu_free_page(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %39 36: ; preds = %28 store i32 1, ptr %11, align 4, !tbaa !13 %37 = tail call i32 @list_move(ptr noundef nonnull %1, ptr noundef nonnull %0) #2 %38 = tail call i32 @kvm_reload_remote_mmus(ptr noundef nonnull %0) #2 br label %39 39: ; preds = %36, %32 %40 = tail call i32 @kvm_mmu_reset_last_pte_updated(ptr noundef nonnull %0) #2 ret i32 %7 } declare i32 @trace_kvm_mmu_zap_page(ptr noundef) local_unnamed_addr #1 declare i32 @mmu_zap_unsync_children(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_page_unlink_children(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_unlink_parents(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_flush_remote_tlbs(ptr noundef) local_unnamed_addr #1 declare i32 @unaccount_shadowed(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @kvm_unlink_unsync_page(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_del(ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_free_page(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @list_move(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kvm_reload_remote_mmus(ptr noundef) local_unnamed_addr #1 declare i32 @kvm_mmu_reset_last_pte_updated(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 4} !7 = !{!"kvm", !8, i64 0, !12, i64 4} !8 = !{!"TYPE_6__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"TYPE_4__", !9, i64 0} !13 = !{!14, !9, i64 4} !14 = !{!"kvm_mmu_page", !9, i64 0, !15, i64 4, !9, i64 12, !9, i64 16, !16, i64 24, !9, i64 32} !15 = !{!"TYPE_5__", !9, i64 0, !9, i64 4} !16 = !{!"long", !10, i64 0} !17 = !{!14, !9, i64 8} !18 = !{!14, !9, i64 32} !19 = !{!14, !16, i64 24} !20 = !{!14, !9, i64 16}
fastsocket_kernel_arch_x86_kvm_extr_mmu.c_kvm_mmu_zap_page
; ModuleID = 'AnghaBench/linux/drivers/media/usb/pvrusb2/extr_pvrusb2-sysfs.c_store_val_any.c' source_filename = "AnghaBench/linux/drivers/media/usb/pvrusb2/extr_pvrusb2-sysfs.c_store_val_any.c" target datalayout = "e-m:e-p270:32:32-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.pvr2_sysfs_ctl_item = type { ptr, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @store_val_any], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @store_val_any(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = icmp eq i32 %1, 0 %8 = getelementptr inbounds %struct.pvr2_sysfs_ctl_item, ptr %0, i64 0, i32 1 %9 = load i32, ptr %8, align 8, !tbaa !5 br i1 %7, label %12, label %10 10: ; preds = %4 %11 = call i32 @pvr2_ctrl_custom_sym_to_value(i32 noundef %9, ptr noundef %2, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 br label %14 12: ; preds = %4 %13 = call i32 @pvr2_ctrl_sym_to_value(i32 noundef %9, ptr noundef %2, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %11, %10 ], [ %13, %12 ] %16 = icmp slt i32 %15, 0 br i1 %16, label %26, label %17 17: ; preds = %14 %18 = getelementptr inbounds %struct.pvr2_sysfs_ctl_item, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 8, !tbaa !5 %20 = load i32, ptr %5, align 4, !tbaa !11 %21 = load i32, ptr %6, align 4, !tbaa !11 %22 = call i32 @pvr2_ctrl_set_mask_value(i32 noundef %19, i32 noundef %20, i32 noundef %21) #3 %23 = load ptr, ptr %0, align 8, !tbaa !12 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = call i32 @pvr2_hdw_commit_ctl(i32 noundef %24) #3 br label %26 26: ; preds = %14, %17 %27 = phi i32 [ %22, %17 ], [ %15, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pvr2_ctrl_custom_sym_to_value(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pvr2_ctrl_sym_to_value(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pvr2_ctrl_set_mask_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pvr2_hdw_commit_ctl(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"pvr2_sysfs_ctl_item", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_4__", !15, i64 0} !15 = !{!"TYPE_3__", !10, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/pvrusb2/extr_pvrusb2-sysfs.c_store_val_any.c' source_filename = "AnghaBench/linux/drivers/media/usb/pvrusb2/extr_pvrusb2-sysfs.c_store_val_any.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 @store_val_any], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @store_val_any(ptr nocapture noundef readonly %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = icmp eq i32 %1, 0 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load i32, ptr %8, align 8, !tbaa !6 br i1 %7, label %12, label %10 10: ; preds = %4 %11 = call i32 @pvr2_ctrl_custom_sym_to_value(i32 noundef %9, ptr noundef %2, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 br label %14 12: ; preds = %4 %13 = call i32 @pvr2_ctrl_sym_to_value(i32 noundef %9, ptr noundef %2, i32 noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 br label %14 14: ; preds = %12, %10 %15 = phi i32 [ %11, %10 ], [ %13, %12 ] %16 = icmp slt i32 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %14 %18 = load i32, ptr %8, align 8, !tbaa !6 %19 = load i32, ptr %5, align 4, !tbaa !12 %20 = load i32, ptr %6, align 4, !tbaa !12 %21 = call i32 @pvr2_ctrl_set_mask_value(i32 noundef %18, i32 noundef %19, i32 noundef %20) #3 %22 = load ptr, ptr %0, align 8, !tbaa !13 %23 = load i32, ptr %22, align 4, !tbaa !14 %24 = call i32 @pvr2_hdw_commit_ctl(i32 noundef %23) #3 br label %25 25: ; preds = %14, %17 %26 = phi i32 [ %21, %17 ], [ %15, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3 ret i32 %26 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @pvr2_ctrl_custom_sym_to_value(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pvr2_ctrl_sym_to_value(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pvr2_ctrl_set_mask_value(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pvr2_hdw_commit_ctl(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"pvr2_sysfs_ctl_item", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_4__", !16, i64 0} !16 = !{!"TYPE_3__", !11, i64 0}
linux_drivers_media_usb_pvrusb2_extr_pvrusb2-sysfs.c_store_val_any
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_inode.c___inode_add_to_lists.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_inode.c___inode_add_to_lists.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32 } %struct.inode = type { i32, i32, i32 } @inodes_stat = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @inode_in_use = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__inode_add_to_lists], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @__inode_add_to_lists(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @inodes_stat, align 4, !tbaa !5 %5 = add nsw i32 %4, 1 store i32 %5, ptr @inodes_stat, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 2 %7 = tail call i32 @list_add(ptr noundef nonnull %6, ptr noundef nonnull @inode_in_use) #2 %8 = getelementptr inbounds %struct.inode, ptr %2, i64 0, i32 1 %9 = tail call i32 @list_add(ptr noundef nonnull %8, ptr noundef %0) #2 %10 = icmp eq ptr %1, null br i1 %10, label %13, label %11 11: ; preds = %3 %12 = tail call i32 @hlist_add_head(ptr noundef %2, ptr noundef nonnull %1) #2 br label %13 13: ; preds = %11, %3 ret void } declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_add_head(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/fastsocket/kernel/fs/extr_inode.c___inode_add_to_lists.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_inode.c___inode_add_to_lists.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 } @inodes_stat = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 @inode_in_use = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__inode_add_to_lists], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @__inode_add_to_lists(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = load i32, ptr @inodes_stat, align 4, !tbaa !6 %5 = add nsw i32 %4, 1 store i32 %5, ptr @inodes_stat, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = tail call i32 @list_add(ptr noundef nonnull %6, ptr noundef nonnull @inode_in_use) #2 %8 = getelementptr inbounds i8, ptr %2, i64 4 %9 = tail call i32 @list_add(ptr noundef nonnull %8, ptr noundef %0) #2 %10 = icmp eq ptr %1, null br i1 %10, label %13, label %11 11: ; preds = %3 %12 = tail call i32 @hlist_add_head(ptr noundef %2, ptr noundef nonnull %1) #2 br label %13 13: ; preds = %11, %3 ret void } declare i32 @list_add(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @hlist_add_head(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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"}
fastsocket_kernel_fs_extr_inode.c___inode_add_to_lists