IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_req_is_complete.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_req_is_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HCI_REQ_START = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hci_req_is_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @hci_req_is_complete(ptr noundef %0) #0 { %2 = tail call ptr @skb_peek(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = tail call ptr @bt_cb(ptr noundef nonnull %2) #2 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = load i32, ptr @HCI_REQ_START, align 4, !tbaa !11 %8 = and i32 %7, %6 br label %9 9: ; preds = %1, %4 %10 = phi i32 [ %8, %4 ], [ 1, %1 ] ret i32 %10 } declare ptr @skb_peek(ptr noundef) local_unnamed_addr #1 declare ptr @bt_cb(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"TYPE_4__", !7, i64 0} !7 = !{!"TYPE_3__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_req_is_complete.c' source_filename = "AnghaBench/linux/net/bluetooth/extr_hci_core.c_hci_req_is_complete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HCI_REQ_START = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hci_req_is_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @hci_req_is_complete(ptr noundef %0) #0 { %2 = tail call ptr @skb_peek(ptr noundef %0) #2 %3 = icmp eq ptr %2, null br i1 %3, label %9, label %4 4: ; preds = %1 %5 = tail call ptr @bt_cb(ptr noundef nonnull %2) #2 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = load i32, ptr @HCI_REQ_START, align 4, !tbaa !12 %8 = and i32 %7, %6 br label %9 9: ; preds = %1, %4 %10 = phi i32 [ %8, %4 ], [ 1, %1 ] ret i32 %10 } declare ptr @skb_peek(ptr noundef) local_unnamed_addr #1 declare ptr @bt_cb(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0}
linux_net_bluetooth_extr_hci_core.c_hci_req_is_complete
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_txpwr_nphy_po_apply.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_txpwr_nphy_po_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @wlc_phy_txpwr_nphy_po_apply], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable define internal void @wlc_phy_txpwr_nphy_po_apply(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = icmp ugt i64 %2, %3 br i1 %5, label %40, label %6 6: ; preds = %4 %7 = shl i64 %1, 1 %8 = add i64 %3, 1 %9 = add i64 %2, 1 %10 = tail call i64 @llvm.umax.i64(i64 %8, i64 %9) %11 = sub i64 %10, %2 %12 = icmp ult i64 %11, 4 br i1 %12, label %31, label %13 13: ; preds = %6 %14 = and i64 %11, -4 %15 = add i64 %14, %2 %16 = insertelement <2 x i64> poison, i64 %7, i64 0 %17 = shufflevector <2 x i64> %16, <2 x i64> poison, <2 x i32> zeroinitializer %18 = getelementptr i64, ptr %0, i64 %2 br label %19 19: ; preds = %19, %13 %20 = phi i64 [ 0, %13 ], [ %27, %19 ] %21 = getelementptr i64, ptr %18, i64 %20 %22 = getelementptr inbounds i64, ptr %21, i64 2 %23 = load <2 x i64>, ptr %21, align 8, !tbaa !5 %24 = load <2 x i64>, ptr %22, align 8, !tbaa !5 %25 = sub <2 x i64> %23, %17 %26 = sub <2 x i64> %24, %17 store <2 x i64> %25, ptr %21, align 8, !tbaa !5 store <2 x i64> %26, ptr %22, align 8, !tbaa !5 %27 = add nuw i64 %20, 4 %28 = icmp eq i64 %27, %14 br i1 %28, label %29, label %19, !llvm.loop !9 29: ; preds = %19 %30 = icmp eq i64 %11, %14 br i1 %30, label %40, label %31 31: ; preds = %6, %29 %32 = phi i64 [ %2, %6 ], [ %15, %29 ] br label %33 33: ; preds = %31, %33 %34 = phi i64 [ %38, %33 ], [ %32, %31 ] %35 = getelementptr inbounds i64, ptr %0, i64 %34 %36 = load i64, ptr %35, align 8, !tbaa !5 %37 = sub i64 %36, %7 store i64 %37, ptr %35, align 8, !tbaa !5 %38 = add i64 %34, 1 %39 = icmp ugt i64 %38, %3 br i1 %39, label %40, label %33, !llvm.loop !13 40: ; preds = %33, %29, %4 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #1 attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !12, !11}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_txpwr_nphy_po_apply.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/brcm80211/brcmsmac/phy/extr_phy_n.c_wlc_phy_txpwr_nphy_po_apply.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 @wlc_phy_txpwr_nphy_po_apply], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) define internal void @wlc_phy_txpwr_nphy_po_apply(ptr nocapture noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3) #0 { %5 = icmp ugt i64 %2, %3 br i1 %5, label %46, label %6 6: ; preds = %4 %7 = shl i64 %1, 1 %8 = add i64 %3, 1 %9 = add i64 %2, 1 %10 = tail call i64 @llvm.umax.i64(i64 %8, i64 %9) %11 = sub i64 %10, %2 %12 = icmp ult i64 %11, 8 br i1 %12, label %37, label %13 13: ; preds = %6 %14 = and i64 %11, -8 %15 = add i64 %14, %2 %16 = insertelement <2 x i64> poison, i64 %7, i64 0 %17 = shufflevector <2 x i64> %16, <2 x i64> poison, <2 x i32> zeroinitializer %18 = getelementptr i64, ptr %0, i64 %2 br label %19 19: ; preds = %19, %13 %20 = phi i64 [ 0, %13 ], [ %33, %19 ] %21 = getelementptr i64, ptr %18, i64 %20 %22 = getelementptr inbounds i8, ptr %21, i64 16 %23 = getelementptr inbounds i8, ptr %21, i64 32 %24 = getelementptr inbounds i8, ptr %21, i64 48 %25 = load <2 x i64>, ptr %21, align 8, !tbaa !6 %26 = load <2 x i64>, ptr %22, align 8, !tbaa !6 %27 = load <2 x i64>, ptr %23, align 8, !tbaa !6 %28 = load <2 x i64>, ptr %24, align 8, !tbaa !6 %29 = sub <2 x i64> %25, %17 %30 = sub <2 x i64> %26, %17 %31 = sub <2 x i64> %27, %17 %32 = sub <2 x i64> %28, %17 store <2 x i64> %29, ptr %21, align 8, !tbaa !6 store <2 x i64> %30, ptr %22, align 8, !tbaa !6 store <2 x i64> %31, ptr %23, align 8, !tbaa !6 store <2 x i64> %32, ptr %24, align 8, !tbaa !6 %33 = add nuw i64 %20, 8 %34 = icmp eq i64 %33, %14 br i1 %34, label %35, label %19, !llvm.loop !10 35: ; preds = %19 %36 = icmp eq i64 %11, %14 br i1 %36, label %46, label %37 37: ; preds = %35, %6 %38 = phi i64 [ %2, %6 ], [ %15, %35 ] br label %39 39: ; preds = %37, %39 %40 = phi i64 [ %44, %39 ], [ %38, %37 ] %41 = getelementptr inbounds i64, ptr %0, i64 %40 %42 = load i64, ptr %41, align 8, !tbaa !6 %43 = sub i64 %42, %7 store i64 %43, ptr %41, align 8, !tbaa !6 %44 = add i64 %40, 1 %45 = icmp ugt i64 %44, %3 br i1 %45, label %46, label %39, !llvm.loop !14 46: ; preds = %39, %35, %4 ret void } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.umax.i64(i64, i64) #1 attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !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, !13, !12}
fastsocket_kernel_drivers_net_wireless_brcm80211_brcmsmac_phy_extr_phy_n.c_wlc_phy_txpwr_nphy_po_apply
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/massdrop/ctrl/keymaps/responsive_pattern/extr_keymap.c_set_indicator_led_rgb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/massdrop/ctrl/keymaps/responsive_pattern/extr_keymap.c_set_indicator_led_rgb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, i32 } @USER_LED = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define dso_local void @set_indicator_led_rgb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = shl nuw i32 1, %1 %7 = load ptr, ptr @USER_LED, align 8, !tbaa !5 %8 = add nsw i32 %0, -1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !9 %12 = or i32 %11, %6 store i32 %12, ptr %10, align 4, !tbaa !9 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9, i32 1 store i32 %2, ptr %13, align 4, !tbaa !12 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9, i32 2 store i32 %3, ptr %14, align 4, !tbaa !13 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9, i32 3 store i32 %4, ptr %15, align 4, !tbaa !14 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12} !11 = !{!"int", !7, i64 0} !12 = !{!10, !11, i64 4} !13 = !{!10, !11, i64 8} !14 = !{!10, !11, i64 12}
; ModuleID = 'AnghaBench/qmk_firmware/keyboards/massdrop/ctrl/keymaps/responsive_pattern/extr_keymap.c_set_indicator_led_rgb.c' source_filename = "AnghaBench/qmk_firmware/keyboards/massdrop/ctrl/keymaps/responsive_pattern/extr_keymap.c_set_indicator_led_rgb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32, i32 } @USER_LED = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define void @set_indicator_led_rgb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 { %6 = shl nuw i32 1, %1 %7 = load ptr, ptr @USER_LED, align 8, !tbaa !6 %8 = add nsw i32 %0, -1 %9 = sext i32 %8 to i64 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = or i32 %11, %6 store i32 %12, ptr %10, align 4, !tbaa !10 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9, i32 1 store i32 %2, ptr %13, align 4, !tbaa !13 %14 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9, i32 2 store i32 %3, ptr %14, align 4, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 %9, i32 3 store i32 %4, ptr %15, align 4, !tbaa !15 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 4} !14 = !{!11, !12, i64 8} !15 = !{!11, !12, i64 12}
qmk_firmware_keyboards_massdrop_ctrl_keymaps_responsive_pattern_extr_keymap.c_set_indicator_led_rgb
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_move_null.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_move_null.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @amdgpu_move_null], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @amdgpu_move_null(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = load i64, ptr %1, align 8, !tbaa !10 store i64 %7, ptr %0, align 8, !tbaa !10 store ptr null, ptr %1, align 8, !tbaa !5 ret void } declare i32 @BUG_ON(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 = !{!"ttm_mem_reg", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_move_null.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_amdgpu_ttm.c_amdgpu_move_null.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @amdgpu_move_null], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @amdgpu_move_null(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i32 @BUG_ON(i32 noundef %5) #2 %7 = load i64, ptr %1, align 8, !tbaa !11 store i64 %7, ptr %0, align 8, !tbaa !11 store ptr null, ptr %1, align 8, !tbaa !6 ret void } declare i32 @BUG_ON(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 = !{!"ttm_mem_reg", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_gpu_drm_amd_amdgpu_extr_amdgpu_ttm.c_amdgpu_move_null
; ModuleID = 'AnghaBench/linux/drivers/iio/gyro/extr_adis16136.c_adis16136_stop_device.c' source_filename = "AnghaBench/linux/drivers/iio/gyro/extr_adis16136.c_adis16136_stop_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" @ADIS16136_REG_SLP_CTRL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Could not power down device: %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @adis16136_stop_device], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @adis16136_stop_device(ptr noundef %0) #0 { %2 = tail call ptr @iio_priv(ptr noundef %0) #2 %3 = load i32, ptr @ADIS16136_REG_SLP_CTRL, align 4, !tbaa !5 %4 = tail call i32 @adis_write_reg_16(ptr noundef %2, i32 noundef %3, i32 noundef 255) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %4) #2 br label %8 8: ; preds = %6, %1 ret i32 %4 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @adis_write_reg_16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/iio/gyro/extr_adis16136.c_adis16136_stop_device.c' source_filename = "AnghaBench/linux/drivers/iio/gyro/extr_adis16136.c_adis16136_stop_device.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADIS16136_REG_SLP_CTRL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Could not power down device: %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @adis16136_stop_device], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @adis16136_stop_device(ptr noundef %0) #0 { %2 = tail call ptr @iio_priv(ptr noundef %0) #2 %3 = load i32, ptr @ADIS16136_REG_SLP_CTRL, align 4, !tbaa !6 %4 = tail call i32 @adis_write_reg_16(ptr noundef %2, i32 noundef %3, i32 noundef 255) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = tail call i32 @dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %4) #2 br label %8 8: ; preds = %6, %1 ret i32 %4 } declare ptr @iio_priv(ptr noundef) local_unnamed_addr #1 declare i32 @adis_write_reg_16(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_iio_gyro_extr_adis16136.c_adis16136_stop_device
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91c92_cs.c_pcmcia_get_versmac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91c92_cs.c_pcmcia_get_versmac.c" target datalayout = "e-m:e-p270:32:32-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 { %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr, i32, ptr } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @pcmcia_get_versmac], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @pcmcia_get_versmac(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.TYPE_5__, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %5 = call i64 @pcmcia_parse_tuple(ptr noundef %1, ptr noundef nonnull %4) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %3 %8 = load i32, ptr @EINVAL, align 4, !tbaa !5 %9 = sub nsw i32 0, %8 br label %27 10: ; preds = %3 %11 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 1 %12 = load i32, ptr %11, align 8, !tbaa !9 %13 = icmp sgt i32 %12, 3 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = getelementptr inbounds %struct.TYPE_4__, ptr %4, i64 0, i32 2 %16 = load ptr, ptr %15, align 8, !tbaa !13 %17 = load ptr, ptr %4, align 8, !tbaa !14 %18 = getelementptr inbounds i32, ptr %17, i64 3 %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %16, i64 %20 %22 = call i64 @cvt_ascii_address(ptr noundef %2, ptr noundef %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %14, %10 %25 = load i32, ptr @EINVAL, align 4, !tbaa !5 %26 = sub nsw i32 0, %25 br label %27 27: ; preds = %14, %24, %7 %28 = phi i32 [ %9, %7 ], [ %26, %24 ], [ 0, %14 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %28 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @pcmcia_parse_tuple(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cvt_ascii_address(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 8} !10 = !{!"TYPE_5__", !11, i64 0} !11 = !{!"TYPE_4__", !12, i64 0, !6, i64 8, !12, i64 16} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !12, i64 16} !14 = !{!10, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91c92_cs.c_pcmcia_get_versmac.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/smsc/extr_smc91c92_cs.c_pcmcia_get_versmac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_5__ = type { %struct.TYPE_4__ } %struct.TYPE_4__ = type { ptr, i32, ptr } @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @pcmcia_get_versmac], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @pcmcia_get_versmac(ptr nocapture readnone %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca %struct.TYPE_5__, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #3 %5 = call i64 @pcmcia_parse_tuple(ptr noundef %1, ptr noundef nonnull %4) #3 %6 = icmp eq i64 %5, 0 br i1 %6, label %10, label %7 7: ; preds = %3 %8 = load i32, ptr @EINVAL, align 4, !tbaa !6 %9 = sub nsw i32 0, %8 br label %27 10: ; preds = %3 %11 = getelementptr inbounds i8, ptr %4, i64 8 %12 = load i32, ptr %11, align 8, !tbaa !10 %13 = icmp sgt i32 %12, 3 br i1 %13, label %14, label %24 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %4, i64 16 %16 = load ptr, ptr %15, align 8, !tbaa !14 %17 = load ptr, ptr %4, align 8, !tbaa !15 %18 = getelementptr inbounds i8, ptr %17, i64 12 %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i32, ptr %16, i64 %20 %22 = call i64 @cvt_ascii_address(ptr noundef %2, ptr noundef %21) #3 %23 = icmp eq i64 %22, 0 br i1 %23, label %27, label %24 24: ; preds = %14, %10 %25 = load i32, ptr @EINVAL, align 4, !tbaa !6 %26 = sub nsw i32 0, %25 br label %27 27: ; preds = %14, %24, %7 %28 = phi i32 [ %9, %7 ], [ %26, %24 ], [ 0, %14 ] call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #3 ret i32 %28 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @pcmcia_parse_tuple(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @cvt_ascii_address(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 8} !11 = !{!"TYPE_5__", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0, !7, i64 8, !13, i64 16} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !13, i64 16} !15 = !{!11, !13, i64 0}
linux_drivers_net_ethernet_smsc_extr_smc91c92_cs.c_pcmcia_get_versmac
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_set_running.c' source_filename = "AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_set_running.c" target datalayout = "e-m:e-p270:32:32-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.ipsec_softc = type { i32, ptr } @IPSEC_DIR_OUTBOUND = dso_local local_unnamed_addr global i32 0, align 4 @IFF_DRV_RUNNING = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ipsec_set_running], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ipsec_set_running(ptr noundef %0) #0 { %2 = load i32, ptr @IPSEC_DIR_OUTBOUND, align 4, !tbaa !5 %3 = load i32, ptr %0, align 8, !tbaa !9 %4 = tail call ptr @ipsec_getsaidx(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !5 %6 = xor i32 %5, -1 %7 = getelementptr inbounds %struct.ipsec_softc, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !12 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = and i32 %9, %6 store i32 %10, ptr %8, align 4, !tbaa !13 ret void } declare ptr @ipsec_getsaidx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"ipsec_softc", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 8} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_6__", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_set_running.c' source_filename = "AnghaBench/freebsd/sys/net/extr_if_ipsec.c_ipsec_set_running.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IPSEC_DIR_OUTBOUND = common local_unnamed_addr global i32 0, align 4 @IFF_DRV_RUNNING = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ipsec_set_running], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ipsec_set_running(ptr noundef %0) #0 { %2 = load i32, ptr @IPSEC_DIR_OUTBOUND, align 4, !tbaa !6 %3 = load i32, ptr %0, align 8, !tbaa !10 %4 = tail call ptr @ipsec_getsaidx(ptr noundef nonnull %0, i32 noundef %2, i32 noundef %3) #2 %5 = load i32, ptr @IFF_DRV_RUNNING, align 4, !tbaa !6 %6 = xor i32 %5, -1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !13 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = and i32 %9, %6 store i32 %10, ptr %8, align 4, !tbaa !14 ret void } declare ptr @ipsec_getsaidx(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ipsec_softc", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_6__", !7, i64 0}
freebsd_sys_net_extr_if_ipsec.c_ipsec_set_running
; ModuleID = 'AnghaBench/freebsd/sys/dev/iscsi_initiator/extr_iscsi.c_iscsi_ioctl.c' source_filename = "AnghaBench/freebsd/sys/dev/iscsi_initiator/extr_iscsi.c_iscsi_ioctl.c" target datalayout = "e-m:e-p270:32:32-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.cdev = type { ptr, ptr } %struct.TYPE_7__ = type { i32, ptr, ptr, i32, i32 } @max_sessions = dso_local local_unnamed_addr global i64 0, align 8 @ENXIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"dev=%d cmd=%d\00", align 1 @ENOTCONN = dso_local local_unnamed_addr global i32 0, align 4 @OID_AUTO = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"pid\00", align 1 @CTLFLAG_RD = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"control process id\00", align 1 @_SIG_MAXSIG = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @ENOIOCTL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @iscsi_ioctl], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @iscsi_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 %3, ptr noundef %4) #0 { %6 = tail call i32 @debug_called(i32 noundef 8) #2 %7 = tail call i64 @dev2unit(ptr noundef %0) #2 %8 = load i64, ptr @max_sessions, align 8, !tbaa !5 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %5 %11 = getelementptr inbounds %struct.cdev, ptr %0, i64 0, i32 1 %12 = load ptr, ptr %11, align 8, !tbaa !9 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %10 %15 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %93 16: ; preds = %10 %17 = icmp eq i32 %1, 132 br i1 %17, label %18, label %22 18: ; preds = %16 %19 = inttoptr i64 %2 to ptr %20 = tail call i32 @i_create_session(ptr noundef nonnull %0, ptr noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %93, label %22 22: ; preds = %18, %16 %23 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %93 24: ; preds = %5 %25 = load ptr, ptr %0, align 8, !tbaa !14 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %24 %28 = load i32, ptr @ENXIO, align 4, !tbaa !12 br label %93 29: ; preds = %24 %30 = tail call i64 @dev2unit(ptr noundef nonnull %0) #2 %31 = and i32 %1, 255 %32 = tail call i32 @sdebug(i32 noundef 6, ptr noundef nonnull @.str, i64 noundef %30, i32 noundef %31) #2 switch i32 %1, label %91 [ i32 131, label %33 i32 133, label %37 i32 134, label %40 i32 136, label %42 i32 137, label %44 i32 129, label %46 i32 135, label %68 i32 128, label %76 i32 130, label %78 i32 138, label %88 ] 33: ; preds = %29 %34 = inttoptr i64 %2 to ptr %35 = load i32, ptr %34, align 4, !tbaa !12 %36 = tail call i32 @i_setsoc(ptr noundef nonnull %25, i32 noundef %35, ptr noundef %4) #2 br label %93 37: ; preds = %29 %38 = inttoptr i64 %2 to ptr %39 = tail call i32 @i_setopt(ptr noundef nonnull %25, ptr noundef %38) #2 br label %93 40: ; preds = %29 %41 = tail call i32 @i_send(ptr noundef nonnull %0, i64 noundef %2, ptr noundef %4) #2 br label %93 42: ; preds = %29 %43 = tail call i32 @i_recv(ptr noundef nonnull %0, i64 noundef %2, ptr noundef %4) #2 br label %93 44: ; preds = %29 %45 = tail call i32 @i_ping(ptr noundef nonnull %0) #2 br label %93 46: ; preds = %29 %47 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 0, i32 1 %48 = load ptr, ptr %47, align 8, !tbaa !15 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load i32, ptr @ENOTCONN, align 4, !tbaa !12 br label %54 52: ; preds = %46 %53 = tail call i32 @i_fullfeature(ptr noundef nonnull %0, i32 noundef 1) #2 br label %54 54: ; preds = %52, %50 %55 = phi i32 [ %51, %50 ], [ %53, %52 ] %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %93 57: ; preds = %54 %58 = load ptr, ptr %4, align 8, !tbaa !17 %59 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 0, i32 2 store ptr %58, ptr %59, align 8, !tbaa !19 %60 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 0, i32 4 %61 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 0, i32 3 %62 = load i32, ptr %61, align 8, !tbaa !20 %63 = tail call i32 @SYSCTL_CHILDREN(i32 noundef %62) #2 %64 = load i32, ptr @OID_AUTO, align 4, !tbaa !12 %65 = load i32, ptr @CTLFLAG_RD, align 4, !tbaa !12 %66 = load ptr, ptr %59, align 8, !tbaa !19 %67 = tail call i32 @SYSCTL_ADD_INT(ptr noundef nonnull %60, i32 noundef %63, i32 noundef %64, ptr noundef nonnull @.str.1, i32 noundef %65, ptr noundef %66, i32 noundef 4, ptr noundef nonnull @.str.2) #2 br label %93 68: ; preds = %29 %69 = getelementptr inbounds %struct.TYPE_7__, ptr %25, i64 0, i32 1 %70 = load ptr, ptr %69, align 8, !tbaa !15 %71 = icmp eq ptr %70, null br i1 %71, label %72, label %74 72: ; preds = %68 %73 = load i32, ptr @ENOTCONN, align 4, !tbaa !12 br label %93 74: ; preds = %68 %75 = tail call i32 @i_fullfeature(ptr noundef nonnull %0, i32 noundef 2) #2 br label %93 76: ; preds = %29 %77 = tail call i32 @i_fullfeature(ptr noundef nonnull %0, i32 noundef 0) #2 br label %93 78: ; preds = %29 %79 = inttoptr i64 %2 to ptr %80 = load i32, ptr %79, align 4, !tbaa !12 %81 = icmp slt i32 %80, 0 %82 = load i32, ptr @_SIG_MAXSIG, align 4 %83 = icmp sgt i32 %80, %82 %84 = select i1 %81, i1 true, i1 %83 br i1 %84, label %85, label %87 85: ; preds = %78 %86 = load i32, ptr @EINVAL, align 4, !tbaa !12 br label %93 87: ; preds = %78 store i32 %80, ptr %25, align 8, !tbaa !21 br label %93 88: ; preds = %29 %89 = inttoptr i64 %2 to ptr %90 = tail call i32 @ic_getCamVals(ptr noundef nonnull %25, ptr noundef %89) #2 br label %93 91: ; preds = %29 %92 = load i32, ptr @ENOIOCTL, align 4, !tbaa !12 br label %93 93: ; preds = %33, %37, %40, %42, %44, %76, %88, %91, %57, %54, %74, %72, %87, %85, %22, %18, %27, %14 %94 = phi i32 [ %15, %14 ], [ %28, %27 ], [ 0, %18 ], [ %23, %22 ], [ %92, %91 ], [ %90, %88 ], [ %77, %76 ], [ 0, %57 ], [ %55, %54 ], [ %45, %44 ], [ %43, %42 ], [ %41, %40 ], [ %39, %37 ], [ %36, %33 ], [ %73, %72 ], [ %75, %74 ], [ %86, %85 ], [ 0, %87 ] ret i32 %94 } declare i32 @debug_called(i32 noundef) local_unnamed_addr #1 declare i64 @dev2unit(ptr noundef) local_unnamed_addr #1 declare i32 @i_create_session(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sdebug(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i_setsoc(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_setopt(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_send(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_recv(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_ping(ptr noundef) local_unnamed_addr #1 declare i32 @i_fullfeature(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SYSCTL_ADD_INT(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SYSCTL_CHILDREN(i32 noundef) local_unnamed_addr #1 declare i32 @ic_getCamVals(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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"cdev", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !7, i64 0} !14 = !{!10, !11, i64 0} !15 = !{!16, !11, i64 8} !16 = !{!"TYPE_7__", !13, i64 0, !11, i64 8, !11, i64 16, !13, i64 24, !13, i64 28} !17 = !{!18, !11, i64 0} !18 = !{!"thread", !11, i64 0} !19 = !{!16, !11, i64 16} !20 = !{!16, !13, i64 24} !21 = !{!16, !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/iscsi_initiator/extr_iscsi.c_iscsi_ioctl.c' source_filename = "AnghaBench/freebsd/sys/dev/iscsi_initiator/extr_iscsi.c_iscsi_ioctl.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @max_sessions = common local_unnamed_addr global i64 0, align 8 @ENXIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"dev=%d cmd=%d\00", align 1 @ENOTCONN = common local_unnamed_addr global i32 0, align 4 @OID_AUTO = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [4 x i8] c"pid\00", align 1 @CTLFLAG_RD = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [19 x i8] c"control process id\00", align 1 @_SIG_MAXSIG = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 @ENOIOCTL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @iscsi_ioctl], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @iscsi_ioctl(ptr noundef %0, i32 noundef %1, i64 noundef %2, i32 %3, ptr noundef %4) #0 { %6 = tail call i32 @debug_called(i32 noundef 8) #2 %7 = tail call i64 @dev2unit(ptr noundef %0) #2 %8 = load i64, ptr @max_sessions, align 8, !tbaa !6 %9 = icmp eq i64 %7, %8 br i1 %9, label %10, label %24 10: ; preds = %5 %11 = getelementptr inbounds i8, ptr %0, i64 8 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = icmp eq ptr %12, null br i1 %13, label %14, label %16 14: ; preds = %10 %15 = load i32, ptr @ENXIO, align 4, !tbaa !13 br label %93 16: ; preds = %10 %17 = icmp eq i32 %1, 132 br i1 %17, label %18, label %22 18: ; preds = %16 %19 = inttoptr i64 %2 to ptr %20 = tail call i32 @i_create_session(ptr noundef nonnull %0, ptr noundef %19) #2 %21 = icmp eq i32 %20, 0 br i1 %21, label %93, label %22 22: ; preds = %18, %16 %23 = load i32, ptr @ENXIO, align 4, !tbaa !13 br label %93 24: ; preds = %5 %25 = load ptr, ptr %0, align 8, !tbaa !15 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %29 27: ; preds = %24 %28 = load i32, ptr @ENXIO, align 4, !tbaa !13 br label %93 29: ; preds = %24 %30 = tail call i64 @dev2unit(ptr noundef nonnull %0) #2 %31 = and i32 %1, 255 %32 = tail call i32 @sdebug(i32 noundef 6, ptr noundef nonnull @.str, i64 noundef %30, i32 noundef %31) #2 switch i32 %1, label %91 [ i32 131, label %33 i32 133, label %37 i32 134, label %40 i32 136, label %42 i32 137, label %44 i32 129, label %46 i32 135, label %68 i32 128, label %76 i32 130, label %78 i32 138, label %88 ] 33: ; preds = %29 %34 = inttoptr i64 %2 to ptr %35 = load i32, ptr %34, align 4, !tbaa !13 %36 = tail call i32 @i_setsoc(ptr noundef nonnull %25, i32 noundef %35, ptr noundef %4) #2 br label %93 37: ; preds = %29 %38 = inttoptr i64 %2 to ptr %39 = tail call i32 @i_setopt(ptr noundef nonnull %25, ptr noundef %38) #2 br label %93 40: ; preds = %29 %41 = tail call i32 @i_send(ptr noundef nonnull %0, i64 noundef %2, ptr noundef %4) #2 br label %93 42: ; preds = %29 %43 = tail call i32 @i_recv(ptr noundef nonnull %0, i64 noundef %2, ptr noundef %4) #2 br label %93 44: ; preds = %29 %45 = tail call i32 @i_ping(ptr noundef nonnull %0) #2 br label %93 46: ; preds = %29 %47 = getelementptr inbounds i8, ptr %25, i64 8 %48 = load ptr, ptr %47, align 8, !tbaa !16 %49 = icmp eq ptr %48, null br i1 %49, label %50, label %52 50: ; preds = %46 %51 = load i32, ptr @ENOTCONN, align 4, !tbaa !13 br label %54 52: ; preds = %46 %53 = tail call i32 @i_fullfeature(ptr noundef nonnull %0, i32 noundef 1) #2 br label %54 54: ; preds = %52, %50 %55 = phi i32 [ %51, %50 ], [ %53, %52 ] %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %93 57: ; preds = %54 %58 = load ptr, ptr %4, align 8, !tbaa !18 %59 = getelementptr inbounds i8, ptr %25, i64 16 store ptr %58, ptr %59, align 8, !tbaa !20 %60 = getelementptr inbounds i8, ptr %25, i64 28 %61 = getelementptr inbounds i8, ptr %25, i64 24 %62 = load i32, ptr %61, align 8, !tbaa !21 %63 = tail call i32 @SYSCTL_CHILDREN(i32 noundef %62) #2 %64 = load i32, ptr @OID_AUTO, align 4, !tbaa !13 %65 = load i32, ptr @CTLFLAG_RD, align 4, !tbaa !13 %66 = load ptr, ptr %59, align 8, !tbaa !20 %67 = tail call i32 @SYSCTL_ADD_INT(ptr noundef nonnull %60, i32 noundef %63, i32 noundef %64, ptr noundef nonnull @.str.1, i32 noundef %65, ptr noundef %66, i32 noundef 4, ptr noundef nonnull @.str.2) #2 br label %93 68: ; preds = %29 %69 = getelementptr inbounds i8, ptr %25, i64 8 %70 = load ptr, ptr %69, align 8, !tbaa !16 %71 = icmp eq ptr %70, null br i1 %71, label %72, label %74 72: ; preds = %68 %73 = load i32, ptr @ENOTCONN, align 4, !tbaa !13 br label %93 74: ; preds = %68 %75 = tail call i32 @i_fullfeature(ptr noundef nonnull %0, i32 noundef 2) #2 br label %93 76: ; preds = %29 %77 = tail call i32 @i_fullfeature(ptr noundef nonnull %0, i32 noundef 0) #2 br label %93 78: ; preds = %29 %79 = inttoptr i64 %2 to ptr %80 = load i32, ptr %79, align 4, !tbaa !13 %81 = icmp slt i32 %80, 0 %82 = load i32, ptr @_SIG_MAXSIG, align 4 %83 = icmp sgt i32 %80, %82 %84 = select i1 %81, i1 true, i1 %83 br i1 %84, label %85, label %87 85: ; preds = %78 %86 = load i32, ptr @EINVAL, align 4, !tbaa !13 br label %93 87: ; preds = %78 store i32 %80, ptr %25, align 8, !tbaa !22 br label %93 88: ; preds = %29 %89 = inttoptr i64 %2 to ptr %90 = tail call i32 @ic_getCamVals(ptr noundef nonnull %25, ptr noundef %89) #2 br label %93 91: ; preds = %29 %92 = load i32, ptr @ENOIOCTL, align 4, !tbaa !13 br label %93 93: ; preds = %33, %37, %40, %42, %44, %76, %88, %91, %57, %54, %74, %72, %87, %85, %22, %18, %27, %14 %94 = phi i32 [ %15, %14 ], [ %28, %27 ], [ 0, %18 ], [ %23, %22 ], [ %92, %91 ], [ %90, %88 ], [ %77, %76 ], [ 0, %57 ], [ %55, %54 ], [ %45, %44 ], [ %43, %42 ], [ %41, %40 ], [ %39, %37 ], [ %36, %33 ], [ %73, %72 ], [ %75, %74 ], [ %86, %85 ], [ 0, %87 ] ret i32 %94 } declare i32 @debug_called(i32 noundef) local_unnamed_addr #1 declare i64 @dev2unit(ptr noundef) local_unnamed_addr #1 declare i32 @i_create_session(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sdebug(i32 noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @i_setsoc(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_setopt(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_send(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_recv(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @i_ping(ptr noundef) local_unnamed_addr #1 declare i32 @i_fullfeature(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SYSCTL_ADD_INT(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SYSCTL_CHILDREN(i32 noundef) local_unnamed_addr #1 declare i32 @ic_getCamVals(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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"cdev", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!11, !12, i64 0} !16 = !{!17, !12, i64 8} !17 = !{!"TYPE_7__", !14, i64 0, !12, i64 8, !12, i64 16, !14, i64 24, !14, i64 28} !18 = !{!19, !12, i64 0} !19 = !{!"thread", !12, i64 0} !20 = !{!17, !12, i64 16} !21 = !{!17, !14, i64 24} !22 = !{!17, !14, i64 0}
freebsd_sys_dev_iscsi_initiator_extr_iscsi.c_iscsi_ioctl
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt5668.c_rt5668_set_bclk_ratio.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt5668.c_rt5668_set_bclk_ratio.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_soc_dai = type { i64, i32, ptr } @RT5668_ADDA_CLK_2 = dso_local local_unnamed_addr global i32 0, align 4 @RT5668_I2S2_BCLK_MS2_MASK = dso_local local_unnamed_addr global i32 0, align 4 @RT5668_I2S2_BCLK_MS2_64 = dso_local local_unnamed_addr global i32 0, align 4 @RT5668_I2S2_BCLK_MS2_32 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Invalid bclk ratio %d\0A\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt5668_set_bclk_ratio], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @rt5668_set_bclk_ratio(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.snd_soc_dai, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %4) #2 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load i64, ptr %0, align 8, !tbaa !14 %8 = getelementptr inbounds i32, ptr %6, i64 %7 store i32 %1, ptr %8, align 4, !tbaa !15 switch i32 %1, label %19 [ i32 64, label %9 i32 32, label %14 ] 9: ; preds = %2 %10 = load i32, ptr @RT5668_ADDA_CLK_2, align 4, !tbaa !15 %11 = load i32, ptr @RT5668_I2S2_BCLK_MS2_MASK, align 4, !tbaa !15 %12 = load i32, ptr @RT5668_I2S2_BCLK_MS2_64, align 4, !tbaa !15 %13 = tail call i32 @snd_soc_component_update_bits(ptr noundef %4, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 br label %25 14: ; preds = %2 %15 = load i32, ptr @RT5668_ADDA_CLK_2, align 4, !tbaa !15 %16 = load i32, ptr @RT5668_I2S2_BCLK_MS2_MASK, align 4, !tbaa !15 %17 = load i32, ptr @RT5668_I2S2_BCLK_MS2_32, align 4, !tbaa !15 %18 = tail call i32 @snd_soc_component_update_bits(ptr noundef %4, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2 br label %25 19: ; preds = %2 %20 = getelementptr inbounds %struct.snd_soc_dai, ptr %0, i64 0, i32 1 %21 = load i32, ptr %20, align 8, !tbaa !16 %22 = tail call i32 @dev_err(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %1) #2 %23 = load i32, ptr @EINVAL, align 4, !tbaa !15 %24 = sub nsw i32 0, %23 br label %25 25: ; preds = %9, %14, %19 %26 = phi i32 [ %24, %19 ], [ 0, %14 ], [ 0, %9 ] ret i32 %26 } declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 16} !6 = !{!"snd_soc_dai", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"rt5668_priv", !11, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_rt5668.c_rt5668_set_bclk_ratio.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_rt5668.c_rt5668_set_bclk_ratio.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RT5668_ADDA_CLK_2 = common local_unnamed_addr global i32 0, align 4 @RT5668_I2S2_BCLK_MS2_MASK = common local_unnamed_addr global i32 0, align 4 @RT5668_I2S2_BCLK_MS2_64 = common local_unnamed_addr global i32 0, align 4 @RT5668_I2S2_BCLK_MS2_32 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Invalid bclk ratio %d\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @rt5668_set_bclk_ratio], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rt5668_set_bclk_ratio(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = tail call ptr @snd_soc_component_get_drvdata(ptr noundef %4) #2 %6 = load ptr, ptr %5, align 8, !tbaa !13 %7 = load i64, ptr %0, align 8, !tbaa !15 %8 = getelementptr inbounds i32, ptr %6, i64 %7 store i32 %1, ptr %8, align 4, !tbaa !16 switch i32 %1, label %19 [ i32 64, label %9 i32 32, label %14 ] 9: ; preds = %2 %10 = load i32, ptr @RT5668_ADDA_CLK_2, align 4, !tbaa !16 %11 = load i32, ptr @RT5668_I2S2_BCLK_MS2_MASK, align 4, !tbaa !16 %12 = load i32, ptr @RT5668_I2S2_BCLK_MS2_64, align 4, !tbaa !16 %13 = tail call i32 @snd_soc_component_update_bits(ptr noundef %4, i32 noundef %10, i32 noundef %11, i32 noundef %12) #2 br label %25 14: ; preds = %2 %15 = load i32, ptr @RT5668_ADDA_CLK_2, align 4, !tbaa !16 %16 = load i32, ptr @RT5668_I2S2_BCLK_MS2_MASK, align 4, !tbaa !16 %17 = load i32, ptr @RT5668_I2S2_BCLK_MS2_32, align 4, !tbaa !16 %18 = tail call i32 @snd_soc_component_update_bits(ptr noundef %4, i32 noundef %15, i32 noundef %16, i32 noundef %17) #2 br label %25 19: ; preds = %2 %20 = getelementptr inbounds i8, ptr %0, i64 8 %21 = load i32, ptr %20, align 8, !tbaa !17 %22 = tail call i32 @dev_err(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %1) #2 %23 = load i32, ptr @EINVAL, align 4, !tbaa !16 %24 = sub nsw i32 0, %23 br label %25 25: ; preds = %9, %14, %19 %26 = phi i32 [ %24, %19 ], [ 0, %14 ], [ 0, %9 ] ret i32 %26 } declare ptr @snd_soc_component_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @snd_soc_component_update_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 16} !7 = !{!"snd_soc_dai", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"rt5668_priv", !12, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!7, !11, i64 8}
linux_sound_soc_codecs_extr_rt5668.c_rt5668_set_bclk_ratio
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_fib_semantics.c_fib_nhc_update_mtu.c' source_filename = "AnghaBench/linux/net/ipv4/extr_fib_semantics.c_fib_nhc_update_mtu.c" target datalayout = "e-m:e-p270:32:32-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.fnhe_hash_bucket = type { i32 } %struct.fib_nh_exception = type { i32, i64, i32 } @FNHE_HASH_SIZE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @fib_nhc_update_mtu(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call ptr @rcu_dereference_protected(i32 noundef %4, i32 noundef 1) #2 %6 = icmp ne ptr %5, null %7 = load i32, ptr @FNHE_HASH_SIZE, align 4 %8 = icmp sgt i32 %7, 0 %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %10, label %40 10: ; preds = %3, %35 %11 = phi i64 [ %36, %35 ], [ 0, %3 ] %12 = getelementptr inbounds %struct.fnhe_hash_bucket, ptr %5, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !10 %14 = tail call ptr @rcu_dereference_protected(i32 noundef %13, i32 noundef 1) #2 %15 = icmp eq ptr %14, null br i1 %15, label %35, label %16 16: ; preds = %10, %30 %17 = phi ptr [ %33, %30 ], [ %14, %10 ] %18 = load i32, ptr %17, align 8, !tbaa !12 %19 = icmp eq i32 %18, 0 %20 = getelementptr inbounds %struct.fib_nh_exception, ptr %17, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !15 br i1 %19, label %25, label %22 22: ; preds = %16 %23 = icmp slt i64 %21, %1 br i1 %23, label %30, label %24 24: ; preds = %22 store i64 %1, ptr %20, align 8, !tbaa !15 store i32 0, ptr %17, align 8, !tbaa !12 br label %30 25: ; preds = %16 %26 = icmp sgt i64 %21, %1 %27 = icmp eq i64 %21, %2 %28 = or i1 %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25 store i64 %1, ptr %20, align 8, !tbaa !15 br label %30 30: ; preds = %25, %24, %22, %29 %31 = getelementptr inbounds %struct.fib_nh_exception, ptr %17, i64 0, i32 2 %32 = load i32, ptr %31, align 8, !tbaa !16 %33 = tail call ptr @rcu_dereference_protected(i32 noundef %32, i32 noundef 1) #2 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %16, !llvm.loop !17 35: ; preds = %30, %10 %36 = add nuw nsw i64 %11, 1 %37 = load i32, ptr @FNHE_HASH_SIZE, align 4, !tbaa !19 %38 = sext i32 %37 to i64 %39 = icmp slt i64 %36, %38 br i1 %39, label %10, label %40, !llvm.loop !20 40: ; preds = %35, %3 ret void } declare ptr @rcu_dereference_protected(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 = !{!"fib_nh_common", !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 = !{!"fnhe_hash_bucket", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"fib_nh_exception", !7, i64 0, !14, i64 8, !7, i64 16} !14 = !{!"long", !8, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!13, !7, i64 16} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!7, !7, i64 0} !20 = distinct !{!20, !18}
; ModuleID = 'AnghaBench/linux/net/ipv4/extr_fib_semantics.c_fib_nhc_update_mtu.c' source_filename = "AnghaBench/linux/net/ipv4/extr_fib_semantics.c_fib_nhc_update_mtu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.fnhe_hash_bucket = type { i32 } @FNHE_HASH_SIZE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @fib_nhc_update_mtu(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call ptr @rcu_dereference_protected(i32 noundef %4, i32 noundef 1) #2 %6 = icmp ne ptr %5, null %7 = load i32, ptr @FNHE_HASH_SIZE, align 4 %8 = icmp sgt i32 %7, 0 %9 = select i1 %6, i1 %8, i1 false br i1 %9, label %10, label %40 10: ; preds = %3, %35 %11 = phi i64 [ %36, %35 ], [ 0, %3 ] %12 = getelementptr inbounds %struct.fnhe_hash_bucket, ptr %5, i64 %11 %13 = load i32, ptr %12, align 4, !tbaa !11 %14 = tail call ptr @rcu_dereference_protected(i32 noundef %13, i32 noundef 1) #2 %15 = icmp eq ptr %14, null br i1 %15, label %35, label %16 16: ; preds = %10, %30 %17 = phi ptr [ %33, %30 ], [ %14, %10 ] %18 = load i32, ptr %17, align 8, !tbaa !13 %19 = icmp eq i32 %18, 0 %20 = getelementptr inbounds i8, ptr %17, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !16 br i1 %19, label %25, label %22 22: ; preds = %16 %23 = icmp slt i64 %21, %1 br i1 %23, label %30, label %24 24: ; preds = %22 store i64 %1, ptr %20, align 8, !tbaa !16 store i32 0, ptr %17, align 8, !tbaa !13 br label %30 25: ; preds = %16 %26 = icmp sgt i64 %21, %1 %27 = icmp eq i64 %21, %2 %28 = or i1 %26, %27 br i1 %28, label %29, label %30 29: ; preds = %25 store i64 %1, ptr %20, align 8, !tbaa !16 br label %30 30: ; preds = %25, %24, %22, %29 %31 = getelementptr inbounds i8, ptr %17, i64 16 %32 = load i32, ptr %31, align 8, !tbaa !17 %33 = tail call ptr @rcu_dereference_protected(i32 noundef %32, i32 noundef 1) #2 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %16, !llvm.loop !18 35: ; preds = %30, %10 %36 = add nuw nsw i64 %11, 1 %37 = load i32, ptr @FNHE_HASH_SIZE, align 4, !tbaa !20 %38 = sext i32 %37 to i64 %39 = icmp slt i64 %36, %38 br i1 %39, label %10, label %40, !llvm.loop !21 40: ; preds = %35, %3 ret void } declare ptr @rcu_dereference_protected(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 = !{!"fib_nh_common", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"fnhe_hash_bucket", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"fib_nh_exception", !8, i64 0, !15, i64 8, !8, i64 16} !15 = !{!"long", !9, i64 0} !16 = !{!14, !15, i64 8} !17 = !{!14, !8, i64 16} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!8, !8, i64 0} !21 = distinct !{!21, !19}
linux_net_ipv4_extr_fib_semantics.c_fib_nhc_update_mtu
; ModuleID = 'AnghaBench/openssl/crypto/bio/extr_bss_mem.c_mem_gets.c' source_filename = "AnghaBench/openssl/crypto/bio/extr_bss_mem.c_mem_gets.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32, i64 } %struct.TYPE_8__ = type { ptr, ptr } %struct.TYPE_7__ = type { i32, ptr } @BIO_FLAGS_MEM_RDONLY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @mem_gets], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @mem_gets(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = inttoptr i64 %5 to ptr %7 = getelementptr inbounds %struct.TYPE_8__, ptr %6, i64 0, i32 1 %8 = load i32, ptr %0, align 8, !tbaa !11 %9 = load i32, ptr @BIO_FLAGS_MEM_RDONLY, align 4, !tbaa !12 %10 = and i32 %9, %8 %11 = icmp eq i32 %10, 0 %12 = select i1 %11, ptr %7, ptr %6 %13 = load ptr, ptr %12, align 8, !tbaa !13 %14 = tail call i32 @BIO_clear_retry_flags(ptr noundef nonnull %0) #2 %15 = load i32, ptr %13, align 8, !tbaa !15 %16 = icmp slt i32 %15, %2 %17 = add nsw i32 %2, -1 %18 = select i1 %16, i32 %15, i32 %17 %19 = icmp slt i32 %18, 1 br i1 %19, label %42, label %20 20: ; preds = %3 %21 = getelementptr inbounds %struct.TYPE_7__, ptr %13, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !17 %23 = zext nneg i32 %18 to i64 br label %24 24: ; preds = %20, %32 %25 = phi i64 [ 0, %20 ], [ %33, %32 ] %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load i8, ptr %26, align 1, !tbaa !18 %28 = icmp eq i8 %27, 10 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = trunc i64 %25 to i32 %31 = add nuw nsw i32 %30, 1 br label %35 32: ; preds = %24 %33 = add nuw nsw i64 %25, 1 %34 = icmp eq i64 %33, %23 br i1 %34, label %35, label %24, !llvm.loop !19 35: ; preds = %32, %29 %36 = phi i32 [ %31, %29 ], [ %18, %32 ] %37 = tail call i32 @mem_read(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %36) #2 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %35 %40 = zext nneg i32 %37 to i64 %41 = getelementptr inbounds i8, ptr %1, i64 %40 br label %42 42: ; preds = %3, %39 %43 = phi ptr [ %41, %39 ], [ %1, %3 ] %44 = phi i32 [ %37, %39 ], [ 0, %3 ] store i8 0, ptr %43, align 1, !tbaa !18 br label %45 45: ; preds = %42, %35 %46 = phi i32 [ %37, %35 ], [ %44, %42 ] ret i32 %46 } declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1 declare i32 @mem_read(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 = !{!"TYPE_9__", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_7__", !7, i64 0, !14, i64 8} !17 = !{!16, !14, i64 8} !18 = !{!8, !8, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/openssl/crypto/bio/extr_bss_mem.c_mem_gets.c' source_filename = "AnghaBench/openssl/crypto/bio/extr_bss_mem.c_mem_gets.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BIO_FLAGS_MEM_RDONLY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @mem_gets], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @mem_gets(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = inttoptr i64 %5 to ptr %7 = load i32, ptr %0, align 8, !tbaa !12 %8 = load i32, ptr @BIO_FLAGS_MEM_RDONLY, align 4, !tbaa !13 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 %11 = select i1 %10, i64 8, i64 0 %12 = getelementptr inbounds i8, ptr %6, i64 %11 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = tail call i32 @BIO_clear_retry_flags(ptr noundef nonnull %0) #2 %15 = load i32, ptr %13, align 8, !tbaa !16 %16 = icmp slt i32 %15, %2 %17 = add nsw i32 %2, -1 %18 = select i1 %16, i32 %15, i32 %17 %19 = icmp slt i32 %18, 1 br i1 %19, label %42, label %20 20: ; preds = %3 %21 = getelementptr inbounds i8, ptr %13, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !18 %23 = zext nneg i32 %18 to i64 br label %24 24: ; preds = %20, %32 %25 = phi i64 [ 0, %20 ], [ %33, %32 ] %26 = getelementptr inbounds i8, ptr %22, i64 %25 %27 = load i8, ptr %26, align 1, !tbaa !19 %28 = icmp eq i8 %27, 10 br i1 %28, label %29, label %32 29: ; preds = %24 %30 = trunc nuw nsw i64 %25 to i32 %31 = add nuw nsw i32 %30, 1 br label %35 32: ; preds = %24 %33 = add nuw nsw i64 %25, 1 %34 = icmp eq i64 %33, %23 br i1 %34, label %35, label %24, !llvm.loop !20 35: ; preds = %32, %29 %36 = phi i32 [ %31, %29 ], [ %18, %32 ] %37 = tail call i32 @mem_read(ptr noundef nonnull %0, ptr noundef %1, i32 noundef %36) #2 %38 = icmp sgt i32 %37, 0 br i1 %38, label %39, label %45 39: ; preds = %35 %40 = zext nneg i32 %37 to i64 %41 = getelementptr inbounds i8, ptr %1, i64 %40 br label %42 42: ; preds = %3, %39 %43 = phi ptr [ %41, %39 ], [ %1, %3 ] %44 = phi i32 [ %37, %39 ], [ 0, %3 ] store i8 0, ptr %43, align 1, !tbaa !19 br label %45 45: ; preds = %42, %35 %46 = phi i32 [ %37, %35 ], [ %44, %42 ] ret i32 %46 } declare i32 @BIO_clear_retry_flags(ptr noundef) local_unnamed_addr #1 declare i32 @mem_read(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 = !{!"TYPE_9__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_7__", !8, i64 0, !15, i64 8} !18 = !{!17, !15, i64 8} !19 = !{!9, !9, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"}
openssl_crypto_bio_extr_bss_mem.c_mem_gets
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_aio.c_sys_aio_fsync.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_aio.c_sys_aio_fsync.c" target datalayout = "e-m:e-p270:32:32-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.aio_fsync_args = type { i32, i32 } @aiocb_ops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @sys_aio_fsync(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.aio_fsync_args, ptr %1, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = load i32, ptr %1, align 4, !tbaa !10 %6 = tail call i32 @kern_aio_fsync(ptr noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull @aiocb_ops) #2 ret i32 %6 } declare i32 @kern_aio_fsync(ptr 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, !7, i64 4} !6 = !{!"aio_fsync_args", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_vfs_aio.c_sys_aio_fsync.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_vfs_aio.c_sys_aio_fsync.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @aiocb_ops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @sys_aio_fsync(ptr noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = load i32, ptr %1, align 4, !tbaa !11 %6 = tail call i32 @kern_aio_fsync(ptr noundef %0, i32 noundef %4, i32 noundef %5, ptr noundef nonnull @aiocb_ops) #2 ret i32 %6 } declare i32 @kern_aio_fsync(ptr 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, !8, i64 4} !7 = !{!"aio_fsync_args", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
freebsd_sys_kern_extr_vfs_aio.c_sys_aio_fsync
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_ltable.c_luaH_new.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_ltable.c_luaH_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 { i64, ptr, i32, ptr } @LUA_TTABLE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @luaH_new(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !5 %3 = tail call ptr @luaC_newobj(ptr noundef %0, i32 noundef %2, i32 noundef 32) #3 %4 = tail call ptr @gco2t(ptr noundef %3) #3 %5 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 3 store ptr null, ptr %5, align 8, !tbaa !9 %6 = tail call i32 @cast_byte(i32 noundef -1) #3 %7 = getelementptr inbounds %struct.TYPE_5__, ptr %4, i64 0, i32 2 store i32 %6, ptr %7, align 8, !tbaa !13 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) %8 = tail call i32 @setnodevector(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 0) #3 ret ptr %4 } declare ptr @luaC_newobj(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @gco2t(ptr noundef) local_unnamed_addr #1 declare i32 @cast_byte(i32 noundef) local_unnamed_addr #1 declare i32 @setnodevector(ptr noundef, 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 24} !10 = !{!"TYPE_5__", !11, i64 0, !12, i64 8, !6, i64 16, !12, i64 24} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 16}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.3/src/extr_ltable.c_luaH_new.c' source_filename = "AnghaBench/xLua/build/lua-5.3.3/src/extr_ltable.c_luaH_new.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LUA_TTABLE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @luaH_new(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @LUA_TTABLE, align 4, !tbaa !6 %3 = tail call ptr @luaC_newobj(ptr noundef %0, i32 noundef %2, i32 noundef 32) #3 %4 = tail call ptr @gco2t(ptr noundef %3) #3 %5 = getelementptr inbounds i8, ptr %4, i64 24 store ptr null, ptr %5, align 8, !tbaa !10 %6 = tail call i32 @cast_byte(i32 noundef -1) #3 %7 = getelementptr inbounds i8, ptr %4, i64 16 store i32 %6, ptr %7, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %4, i8 0, i64 16, i1 false) %8 = tail call i32 @setnodevector(ptr noundef %0, ptr noundef nonnull %4, i32 noundef 0) #3 ret ptr %4 } declare ptr @luaC_newobj(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @gco2t(ptr noundef) local_unnamed_addr #1 declare i32 @cast_byte(i32 noundef) local_unnamed_addr #1 declare i32 @setnodevector(ptr noundef, 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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 24} !11 = !{!"TYPE_5__", !12, i64 0, !13, i64 8, !7, i64 16, !13, i64 24} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 16}
xLua_build_lua-5.3.3_src_extr_ltable.c_luaH_new
; ModuleID = 'AnghaBench/linux/tools/perf/ui/extr_helpline.c_ui_helpline__vpush.c' source_filename = "AnghaBench/linux/tools/perf/ui/extr_helpline.c_ui_helpline__vpush.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @stderr = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ui_helpline__vpush(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i64 @vasprintf(ptr noundef nonnull %3, ptr noundef %0, i32 noundef %1) #3 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @stderr, align 4, !tbaa !5 %8 = call i32 @vfprintf(i32 noundef %7, ptr noundef %0, i32 noundef %1) #3 br label %14 9: ; preds = %2 %10 = load ptr, ptr %3, align 8, !tbaa !9 %11 = call i32 @ui_helpline__push(ptr noundef %10) #3 %12 = load ptr, ptr %3, align 8, !tbaa !9 %13 = call i32 @free(ptr noundef %12) #3 br label %14 14: ; preds = %9, %6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @vasprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ui_helpline__push(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/ui/extr_helpline.c_ui_helpline__vpush.c' source_filename = "AnghaBench/linux/tools/perf/ui/extr_helpline.c_ui_helpline__vpush.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @stderr = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ui_helpline__vpush(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = call i64 @vasprintf(ptr noundef nonnull %3, ptr noundef %0, i32 noundef %1) #3 %5 = icmp slt i64 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @stderr, align 4, !tbaa !6 %8 = call i32 @vfprintf(i32 noundef %7, ptr noundef %0, i32 noundef %1) #3 br label %14 9: ; preds = %2 %10 = load ptr, ptr %3, align 8, !tbaa !10 %11 = call i32 @ui_helpline__push(ptr noundef %10) #3 %12 = load ptr, ptr %3, align 8, !tbaa !10 %13 = call i32 @free(ptr noundef %12) #3 br label %14 14: ; preds = %9, %6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @vasprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @vfprintf(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ui_helpline__push(ptr noundef) local_unnamed_addr #2 declare i32 @free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
linux_tools_perf_ui_extr_helpline.c_ui_helpline__vpush
; ModuleID = 'AnghaBench/systemd/src/test/extr_test-extract-word.c_main.c' source_filename = "AnghaBench/systemd/src/test/extr_test-extract-word.c_main.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 (...) @log_parse_environment() #2 %4 = tail call i32 (...) @log_open() #2 %5 = tail call i32 (...) @test_extract_first_word() #2 %6 = tail call i32 (...) @test_extract_first_word_and_warn() #2 %7 = tail call i32 (...) @test_extract_many_words() #2 ret i32 0 } declare i32 @log_parse_environment(...) local_unnamed_addr #1 declare i32 @log_open(...) local_unnamed_addr #1 declare i32 @test_extract_first_word(...) local_unnamed_addr #1 declare i32 @test_extract_first_word_and_warn(...) local_unnamed_addr #1 declare i32 @test_extract_many_words(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/systemd/src/test/extr_test-extract-word.c_main.c' source_filename = "AnghaBench/systemd/src/test/extr_test-extract-word.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 { %3 = tail call i32 @log_parse_environment() #2 %4 = tail call i32 @log_open() #2 %5 = tail call i32 @test_extract_first_word() #2 %6 = tail call i32 @test_extract_first_word_and_warn() #2 %7 = tail call i32 @test_extract_many_words() #2 ret i32 0 } declare i32 @log_parse_environment(...) local_unnamed_addr #1 declare i32 @log_open(...) local_unnamed_addr #1 declare i32 @test_extract_first_word(...) local_unnamed_addr #1 declare i32 @test_extract_first_word_and_warn(...) local_unnamed_addr #1 declare i32 @test_extract_many_words(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
systemd_src_test_extr_test-extract-word.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/serio/extr_ct82c710.c_ct82c170_wait.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/input/serio/extr_ct82c710.c_ct82c170_wait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CT82C710_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @CT82C710_RX_FULL = dso_local local_unnamed_addr global i32 0, align 4 @CT82C710_TX_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @CT82C710_DEV_IDLE = dso_local local_unnamed_addr global i32 0, align 4 @CT82C710_DATA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ct82c170_wait], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ct82c170_wait() #0 { %1 = load i32, ptr @CT82C710_STATUS, align 4, !tbaa !5 %2 = tail call i32 @inb(i32 noundef %1) #2 %3 = load i32, ptr @CT82C710_RX_FULL, align 4, !tbaa !5 %4 = load i32, ptr @CT82C710_TX_IDLE, align 4, !tbaa !5 %5 = load i32, ptr @CT82C710_DEV_IDLE, align 4, !tbaa !5 %6 = or i32 %4, %3 %7 = or i32 %6, %5 %8 = and i32 %7, %2 %9 = or i32 %5, %4 %10 = icmp eq i32 %8, %9 br i1 %10, label %39, label %11 11: ; preds = %0, %21 %12 = phi i32 [ %23, %21 ], [ 60000, %0 ] %13 = load i32, ptr @CT82C710_STATUS, align 4, !tbaa !5 %14 = tail call i32 @inb_p(i32 noundef %13) #2 %15 = load i32, ptr @CT82C710_RX_FULL, align 4, !tbaa !5 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %11 %19 = load i32, ptr @CT82C710_DATA, align 4, !tbaa !5 %20 = tail call i32 @inb_p(i32 noundef %19) #2 br label %21 21: ; preds = %18, %11 %22 = tail call i32 @udelay(i32 noundef 1) #2 %23 = add nsw i32 %12, -1 %24 = load i32, ptr @CT82C710_STATUS, align 4, !tbaa !5 %25 = tail call i32 @inb(i32 noundef %24) #2 %26 = load i32, ptr @CT82C710_RX_FULL, align 4, !tbaa !5 %27 = load i32, ptr @CT82C710_TX_IDLE, align 4, !tbaa !5 %28 = load i32, ptr @CT82C710_DEV_IDLE, align 4, !tbaa !5 %29 = or i32 %27, %26 %30 = or i32 %29, %28 %31 = and i32 %30, %25 %32 = or i32 %28, %27 %33 = icmp ne i32 %31, %32 %34 = icmp ne i32 %23, 0 %35 = select i1 %33, i1 %34, i1 false br i1 %35, label %11, label %36, !llvm.loop !9 36: ; preds = %21 %37 = xor i1 %34, true %38 = zext i1 %37 to i32 br label %39 39: ; preds = %36, %0 %40 = phi i32 [ 0, %0 ], [ %38, %36 ] ret i32 %40 } declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @inb_p(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/input/serio/extr_ct82c710.c_ct82c170_wait.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/input/serio/extr_ct82c710.c_ct82c170_wait.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CT82C710_STATUS = common local_unnamed_addr global i32 0, align 4 @CT82C710_RX_FULL = common local_unnamed_addr global i32 0, align 4 @CT82C710_TX_IDLE = common local_unnamed_addr global i32 0, align 4 @CT82C710_DEV_IDLE = common local_unnamed_addr global i32 0, align 4 @CT82C710_DATA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ct82c170_wait], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @ct82c170_wait() #0 { %1 = load i32, ptr @CT82C710_STATUS, align 4, !tbaa !6 %2 = tail call i32 @inb(i32 noundef %1) #2 %3 = load i32, ptr @CT82C710_RX_FULL, align 4, !tbaa !6 %4 = load i32, ptr @CT82C710_TX_IDLE, align 4, !tbaa !6 %5 = load i32, ptr @CT82C710_DEV_IDLE, align 4, !tbaa !6 %6 = or i32 %4, %3 %7 = or i32 %6, %5 %8 = and i32 %7, %2 %9 = or i32 %5, %4 %10 = icmp eq i32 %8, %9 br i1 %10, label %39, label %11 11: ; preds = %0, %21 %12 = phi i32 [ %23, %21 ], [ 60000, %0 ] %13 = load i32, ptr @CT82C710_STATUS, align 4, !tbaa !6 %14 = tail call i32 @inb_p(i32 noundef %13) #2 %15 = load i32, ptr @CT82C710_RX_FULL, align 4, !tbaa !6 %16 = and i32 %15, %14 %17 = icmp eq i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %11 %19 = load i32, ptr @CT82C710_DATA, align 4, !tbaa !6 %20 = tail call i32 @inb_p(i32 noundef %19) #2 br label %21 21: ; preds = %18, %11 %22 = tail call i32 @udelay(i32 noundef 1) #2 %23 = add nsw i32 %12, -1 %24 = load i32, ptr @CT82C710_STATUS, align 4, !tbaa !6 %25 = tail call i32 @inb(i32 noundef %24) #2 %26 = load i32, ptr @CT82C710_RX_FULL, align 4, !tbaa !6 %27 = load i32, ptr @CT82C710_TX_IDLE, align 4, !tbaa !6 %28 = load i32, ptr @CT82C710_DEV_IDLE, align 4, !tbaa !6 %29 = or i32 %27, %26 %30 = or i32 %29, %28 %31 = and i32 %30, %25 %32 = or i32 %28, %27 %33 = icmp ne i32 %31, %32 %34 = icmp ne i32 %23, 0 %35 = select i1 %33, i1 %34, i1 false br i1 %35, label %11, label %36, !llvm.loop !10 36: ; preds = %21 %37 = xor i1 %34, true %38 = zext i1 %37 to i32 br label %39 39: ; preds = %36, %0 %40 = phi i32 [ 0, %0 ], [ %38, %36 ] ret i32 %40 } declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @inb_p(i32 noundef) local_unnamed_addr #1 declare i32 @udelay(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"}
fastsocket_kernel_drivers_input_serio_extr_ct82c710.c_ct82c170_wait
; ModuleID = 'AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dlauu2_.c' source_filename = "AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dlauu2_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @dlauu2_.i__ = internal global i32 0, align 4 @dlauu2_.aii = internal global i32 0, align 4 @dlauu2_.upper = internal unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [2 x i8] c"U\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"L\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"DLAUU2\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"No transpose\00", align 1 @c_b15 = dso_local global i32 0, align 4 @c__1 = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"Transpose\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @dlauu2_(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = load i32, ptr %3, align 4, !tbaa !5 %10 = xor i32 %9, -1 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %2, i64 %11 store i32 0, ptr %4, align 4, !tbaa !5 %13 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3 store i64 %13, ptr @dlauu2_.upper, align 8, !tbaa !9 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %5 %16 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %28, label %18 18: ; preds = %15, %5 %19 = load i32, ptr %1, align 4, !tbaa !5 %20 = icmp slt i32 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %18 %22 = load i32, ptr %3, align 4, !tbaa !5 %23 = tail call i32 @max(i32 noundef 1, i32 noundef %19) #3 %24 = icmp slt i32 %22, %23 br i1 %24, label %28, label %25 25: ; preds = %21 %26 = load i32, ptr %4, align 4, !tbaa !5 %27 = icmp eq i32 %26, 0 br i1 %27, label %34, label %30 28: ; preds = %21, %18, %15 %29 = phi i32 [ -1, %15 ], [ -2, %18 ], [ -4, %21 ] store i32 %29, ptr %4, align 4, !tbaa !5 br label %30 30: ; preds = %28, %25 %31 = phi i32 [ %26, %25 ], [ %29, %28 ] %32 = sub nsw i32 0, %31 store i32 %32, ptr %6, align 4, !tbaa !5 %33 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %6) #3 br label %130 34: ; preds = %25 %35 = load i32, ptr %1, align 4, !tbaa !5 %36 = icmp eq i32 %35, 0 br i1 %36, label %130, label %37 37: ; preds = %34 %38 = load i64, ptr @dlauu2_.upper, align 8, !tbaa !9 %39 = icmp eq i64 %38, 0 br i1 %39, label %85, label %40 40: ; preds = %37 %41 = getelementptr i32, ptr %12, i64 1 store i32 1, ptr @dlauu2_.i__, align 4, !tbaa !5 %42 = icmp slt i32 %35, 1 br i1 %42, label %130, label %43 43: ; preds = %40 %44 = add i32 %9, 1 br label %45 45: ; preds = %43, %81 %46 = phi i32 [ 1, %43 ], [ %83, %81 ] %47 = mul i32 %46, %44 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %12, i64 %48 %50 = load i32, ptr %49, align 4, !tbaa !5 store i32 %50, ptr @dlauu2_.aii, align 4, !tbaa !5 %51 = load i32, ptr %1, align 4, !tbaa !5 %52 = icmp slt i32 %46, %51 br i1 %52, label %53, label %76 53: ; preds = %45 %54 = sub i32 %51, %46 %55 = add i32 %54, 1 store i32 %55, ptr %7, align 4, !tbaa !5 %56 = call i32 @ddot_(ptr noundef nonnull %7, ptr noundef nonnull %49, ptr noundef nonnull %3, ptr noundef nonnull %49, ptr noundef nonnull %3) #3 %57 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !5 %58 = mul i32 %57, %44 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %12, i64 %59 store i32 %56, ptr %60, align 4, !tbaa !5 %61 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !5 %62 = add nsw i32 %61, -1 store i32 %62, ptr %7, align 4, !tbaa !5 %63 = load i32, ptr %1, align 4, !tbaa !5 %64 = sub nsw i32 %63, %61 store i32 %64, ptr %8, align 4, !tbaa !5 %65 = add nsw i32 %61, 1 %66 = mul nsw i32 %65, %9 %67 = sext i32 %66 to i64 %68 = getelementptr i32, ptr %41, i64 %67 %69 = add nsw i32 %66, %61 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %12, i64 %70 %72 = mul nsw i32 %61, %9 %73 = sext i32 %72 to i64 %74 = getelementptr i32, ptr %41, i64 %73 %75 = call i32 @dgemv_(ptr noundef nonnull @.str.3, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull @c_b15, ptr noundef %68, ptr noundef nonnull %3, ptr noundef %71, ptr noundef nonnull %3, ptr noundef nonnull @dlauu2_.aii, ptr noundef %74, ptr noundef nonnull @c__1) #3 br label %81 76: ; preds = %45 %77 = mul nsw i32 %46, %9 %78 = sext i32 %77 to i64 %79 = getelementptr i32, ptr %41, i64 %78 %80 = call i32 @dscal_(ptr noundef nonnull @dlauu2_.i__, ptr noundef nonnull @dlauu2_.aii, ptr noundef %79, ptr noundef nonnull @c__1) #3 br label %81 81: ; preds = %53, %76 %82 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !5 %83 = add nsw i32 %82, 1 store i32 %83, ptr @dlauu2_.i__, align 4, !tbaa !5 %84 = icmp slt i32 %82, %35 br i1 %84, label %45, label %130, !llvm.loop !11 85: ; preds = %37 store i32 1, ptr @dlauu2_.i__, align 4, !tbaa !5 %86 = icmp slt i32 %35, 1 br i1 %86, label %130, label %87 87: ; preds = %85 %88 = add i32 %9, 1 br label %89 89: ; preds = %87, %126 %90 = phi i32 [ 1, %87 ], [ %128, %126 ] %91 = mul i32 %90, %88 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %12, i64 %92 %94 = load i32, ptr %93, align 4, !tbaa !5 store i32 %94, ptr @dlauu2_.aii, align 4, !tbaa !5 %95 = load i32, ptr %1, align 4, !tbaa !5 %96 = icmp slt i32 %90, %95 br i1 %96, label %97, label %121 97: ; preds = %89 %98 = sub i32 %95, %90 %99 = add i32 %98, 1 store i32 %99, ptr %7, align 4, !tbaa !5 %100 = call i32 @ddot_(ptr noundef nonnull %7, ptr noundef nonnull %93, ptr noundef nonnull @c__1, ptr noundef nonnull %93, ptr noundef nonnull @c__1) #3 %101 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !5 %102 = mul i32 %101, %88 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %12, i64 %103 store i32 %100, ptr %104, align 4, !tbaa !5 %105 = load i32, ptr %1, align 4, !tbaa !5 %106 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !5 %107 = sub nsw i32 %105, %106 store i32 %107, ptr %7, align 4, !tbaa !5 %108 = add nsw i32 %106, -1 store i32 %108, ptr %8, align 4, !tbaa !5 %109 = add nsw i32 %106, 1 %110 = add nsw i32 %109, %9 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %12, i64 %111 %113 = mul nsw i32 %106, %9 %114 = add nsw i32 %109, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %12, i64 %115 %117 = add nsw i32 %106, %9 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %12, i64 %118 %120 = call i32 @dgemv_(ptr noundef nonnull @.str.4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull @c_b15, ptr noundef %112, ptr noundef nonnull %3, ptr noundef %116, ptr noundef nonnull @c__1, ptr noundef nonnull @dlauu2_.aii, ptr noundef %119, ptr noundef nonnull %3) #3 br label %126 121: ; preds = %89 %122 = add nsw i32 %90, %9 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %12, i64 %123 %125 = call i32 @dscal_(ptr noundef nonnull @dlauu2_.i__, ptr noundef nonnull @dlauu2_.aii, ptr noundef %124, ptr noundef nonnull %3) #3 br label %126 126: ; preds = %97, %121 %127 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !5 %128 = add nsw i32 %127, 1 store i32 %128, ptr @dlauu2_.i__, align 4, !tbaa !5 %129 = icmp slt i32 %127, %35 br i1 %129, label %89, label %130, !llvm.loop !13 130: ; preds = %81, %126, %40, %85, %34, %30 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dgemv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
; ModuleID = 'AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dlauu2_.c' source_filename = "AnghaBench/numpy/numpy/linalg/lapack_lite/extr_f2c_d_lapack.c_dlauu2_.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @dlauu2_.i__ = internal global i32 0, align 4 @dlauu2_.aii = internal global i32 0, align 4 @dlauu2_.upper = internal unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [2 x i8] c"U\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"L\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"DLAUU2\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"No transpose\00", align 1 @c_b15 = common global i32 0, align 4 @c__1 = common global i32 0, align 4 @.str.4 = private unnamed_addr constant [10 x i8] c"Transpose\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @dlauu2_(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef %4) local_unnamed_addr #0 { %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 %9 = load i32, ptr %3, align 4, !tbaa !6 %10 = xor i32 %9, -1 %11 = sext i32 %10 to i64 %12 = getelementptr inbounds i32, ptr %2, i64 %11 store i32 0, ptr %4, align 4, !tbaa !6 %13 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3 store i64 %13, ptr @dlauu2_.upper, align 8, !tbaa !10 %14 = icmp eq i64 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %5 %16 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #3 %17 = icmp eq i64 %16, 0 br i1 %17, label %28, label %18 18: ; preds = %15, %5 %19 = load i32, ptr %1, align 4, !tbaa !6 %20 = icmp slt i32 %19, 0 br i1 %20, label %28, label %21 21: ; preds = %18 %22 = load i32, ptr %3, align 4, !tbaa !6 %23 = tail call i32 @max(i32 noundef 1, i32 noundef %19) #3 %24 = icmp slt i32 %22, %23 br i1 %24, label %28, label %25 25: ; preds = %21 %26 = load i32, ptr %4, align 4, !tbaa !6 %27 = icmp eq i32 %26, 0 br i1 %27, label %34, label %30 28: ; preds = %21, %18, %15 %29 = phi i32 [ -1, %15 ], [ -2, %18 ], [ -4, %21 ] store i32 %29, ptr %4, align 4, !tbaa !6 br label %30 30: ; preds = %28, %25 %31 = phi i32 [ %26, %25 ], [ %29, %28 ] %32 = sub nsw i32 0, %31 store i32 %32, ptr %6, align 4, !tbaa !6 %33 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %6) #3 br label %130 34: ; preds = %25 %35 = load i32, ptr %1, align 4, !tbaa !6 %36 = icmp eq i32 %35, 0 br i1 %36, label %130, label %37 37: ; preds = %34 %38 = load i64, ptr @dlauu2_.upper, align 8, !tbaa !10 %39 = icmp eq i64 %38, 0 br i1 %39, label %85, label %40 40: ; preds = %37 %41 = getelementptr i8, ptr %12, i64 4 store i32 1, ptr @dlauu2_.i__, align 4, !tbaa !6 %42 = icmp slt i32 %35, 1 br i1 %42, label %130, label %43 43: ; preds = %40 %44 = add i32 %9, 1 br label %45 45: ; preds = %43, %81 %46 = phi i32 [ 1, %43 ], [ %83, %81 ] %47 = mul i32 %46, %44 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds i32, ptr %12, i64 %48 %50 = load i32, ptr %49, align 4, !tbaa !6 store i32 %50, ptr @dlauu2_.aii, align 4, !tbaa !6 %51 = load i32, ptr %1, align 4, !tbaa !6 %52 = icmp slt i32 %46, %51 br i1 %52, label %53, label %76 53: ; preds = %45 %54 = sub i32 %51, %46 %55 = add i32 %54, 1 store i32 %55, ptr %7, align 4, !tbaa !6 %56 = call i32 @ddot_(ptr noundef nonnull %7, ptr noundef nonnull %49, ptr noundef nonnull %3, ptr noundef nonnull %49, ptr noundef nonnull %3) #3 %57 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !6 %58 = mul i32 %57, %44 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %12, i64 %59 store i32 %56, ptr %60, align 4, !tbaa !6 %61 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !6 %62 = add nsw i32 %61, -1 store i32 %62, ptr %7, align 4, !tbaa !6 %63 = load i32, ptr %1, align 4, !tbaa !6 %64 = sub nsw i32 %63, %61 store i32 %64, ptr %8, align 4, !tbaa !6 %65 = add nsw i32 %61, 1 %66 = mul nsw i32 %65, %9 %67 = sext i32 %66 to i64 %68 = getelementptr i32, ptr %41, i64 %67 %69 = add nsw i32 %66, %61 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %12, i64 %70 %72 = mul nsw i32 %61, %9 %73 = sext i32 %72 to i64 %74 = getelementptr i32, ptr %41, i64 %73 %75 = call i32 @dgemv_(ptr noundef nonnull @.str.3, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull @c_b15, ptr noundef %68, ptr noundef nonnull %3, ptr noundef %71, ptr noundef nonnull %3, ptr noundef nonnull @dlauu2_.aii, ptr noundef %74, ptr noundef nonnull @c__1) #3 br label %81 76: ; preds = %45 %77 = mul nsw i32 %46, %9 %78 = sext i32 %77 to i64 %79 = getelementptr i32, ptr %41, i64 %78 %80 = call i32 @dscal_(ptr noundef nonnull @dlauu2_.i__, ptr noundef nonnull @dlauu2_.aii, ptr noundef %79, ptr noundef nonnull @c__1) #3 br label %81 81: ; preds = %53, %76 %82 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !6 %83 = add nsw i32 %82, 1 store i32 %83, ptr @dlauu2_.i__, align 4, !tbaa !6 %84 = icmp slt i32 %82, %35 br i1 %84, label %45, label %130, !llvm.loop !12 85: ; preds = %37 store i32 1, ptr @dlauu2_.i__, align 4, !tbaa !6 %86 = icmp slt i32 %35, 1 br i1 %86, label %130, label %87 87: ; preds = %85 %88 = add i32 %9, 1 br label %89 89: ; preds = %87, %126 %90 = phi i32 [ 1, %87 ], [ %128, %126 ] %91 = mul i32 %90, %88 %92 = sext i32 %91 to i64 %93 = getelementptr inbounds i32, ptr %12, i64 %92 %94 = load i32, ptr %93, align 4, !tbaa !6 store i32 %94, ptr @dlauu2_.aii, align 4, !tbaa !6 %95 = load i32, ptr %1, align 4, !tbaa !6 %96 = icmp slt i32 %90, %95 br i1 %96, label %97, label %121 97: ; preds = %89 %98 = sub i32 %95, %90 %99 = add i32 %98, 1 store i32 %99, ptr %7, align 4, !tbaa !6 %100 = call i32 @ddot_(ptr noundef nonnull %7, ptr noundef nonnull %93, ptr noundef nonnull @c__1, ptr noundef nonnull %93, ptr noundef nonnull @c__1) #3 %101 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !6 %102 = mul i32 %101, %88 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds i32, ptr %12, i64 %103 store i32 %100, ptr %104, align 4, !tbaa !6 %105 = load i32, ptr %1, align 4, !tbaa !6 %106 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !6 %107 = sub nsw i32 %105, %106 store i32 %107, ptr %7, align 4, !tbaa !6 %108 = add nsw i32 %106, -1 store i32 %108, ptr %8, align 4, !tbaa !6 %109 = add nsw i32 %106, 1 %110 = add nsw i32 %109, %9 %111 = sext i32 %110 to i64 %112 = getelementptr inbounds i32, ptr %12, i64 %111 %113 = mul nsw i32 %106, %9 %114 = add nsw i32 %109, %113 %115 = sext i32 %114 to i64 %116 = getelementptr inbounds i32, ptr %12, i64 %115 %117 = add nsw i32 %106, %9 %118 = sext i32 %117 to i64 %119 = getelementptr inbounds i32, ptr %12, i64 %118 %120 = call i32 @dgemv_(ptr noundef nonnull @.str.4, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull @c_b15, ptr noundef %112, ptr noundef nonnull %3, ptr noundef %116, ptr noundef nonnull @c__1, ptr noundef nonnull @dlauu2_.aii, ptr noundef %119, ptr noundef nonnull %3) #3 br label %126 121: ; preds = %89 %122 = add nsw i32 %90, %9 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds i32, ptr %12, i64 %123 %125 = call i32 @dscal_(ptr noundef nonnull @dlauu2_.i__, ptr noundef nonnull @dlauu2_.aii, ptr noundef %124, ptr noundef nonnull %3) #3 br label %126 126: ; preds = %97, %121 %127 = load i32, ptr @dlauu2_.i__, align 4, !tbaa !6 %128 = add nsw i32 %127, 1 store i32 %128, ptr @dlauu2_.i__, align 4, !tbaa !6 %129 = icmp slt i32 %127, %35 br i1 %129, label %89, label %130, !llvm.loop !14 130: ; preds = %81, %126, %40, %85, %34, %30 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dgemv_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
numpy_numpy_linalg_lapack_lite_extr_f2c_d_lapack.c_dlauu2_
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_ad1980.c_ad1980_probe.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_ad1980.c_ad1980_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" @soc_component_dev_ad1980 = dso_local global i32 0, align 4 @ad1980_dai = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ad1980_probe], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ad1980_probe(ptr noundef %0) #0 { %2 = tail call i32 @devm_snd_soc_register_component(ptr noundef %0, ptr noundef nonnull @soc_component_dev_ad1980, ptr noundef nonnull @ad1980_dai, i32 noundef 1) #2 ret i32 %2 } declare i32 @devm_snd_soc_register_component(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_ad1980.c_ad1980_probe.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_ad1980.c_ad1980_probe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @soc_component_dev_ad1980 = common global i32 0, align 4 @ad1980_dai = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ad1980_probe], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ad1980_probe(ptr noundef %0) #0 { %2 = tail call i32 @devm_snd_soc_register_component(ptr noundef %0, ptr noundef nonnull @soc_component_dev_ad1980, ptr noundef nonnull @ad1980_dai, i32 noundef 1) #2 ret i32 %2 } declare i32 @devm_snd_soc_register_component(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_sound_soc_codecs_extr_ad1980.c_ad1980_probe
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_lcode.c_need_value.c' source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_lcode.c_need_value.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NO_JUMP = dso_local local_unnamed_addr global i32 0, align 4 @OP_TESTSET = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @need_value], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @need_value(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @NO_JUMP, align 4, !tbaa !5 %4 = icmp eq i32 %3, %1 br i1 %4, label %16, label %5 5: ; preds = %2, %12 %6 = phi i32 [ %13, %12 ], [ %1, %2 ] %7 = tail call ptr @getjumpcontrol(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr %7, align 4, !tbaa !5 %9 = tail call i64 @GET_OPCODE(i32 noundef %8) #2 %10 = load i64, ptr @OP_TESTSET, align 8, !tbaa !9 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %5 %13 = tail call i32 @getjump(ptr noundef %0, i32 noundef %6) #2 %14 = load i32, ptr @NO_JUMP, align 4, !tbaa !5 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %5, !llvm.loop !11 16: ; preds = %12, %5, %2 %17 = phi i32 [ 0, %2 ], [ 1, %5 ], [ 0, %12 ] ret i32 %17 } declare ptr @getjumpcontrol(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1 declare i32 @getjump(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/lua/src/extr_lcode.c_need_value.c' source_filename = "AnghaBench/freebsd/contrib/lua/src/extr_lcode.c_need_value.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NO_JUMP = common local_unnamed_addr global i32 0, align 4 @OP_TESTSET = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @need_value], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @need_value(ptr noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @NO_JUMP, align 4, !tbaa !6 %4 = icmp eq i32 %3, %1 br i1 %4, label %16, label %5 5: ; preds = %2, %12 %6 = phi i32 [ %13, %12 ], [ %1, %2 ] %7 = tail call ptr @getjumpcontrol(ptr noundef %0, i32 noundef %6) #2 %8 = load i32, ptr %7, align 4, !tbaa !6 %9 = tail call i64 @GET_OPCODE(i32 noundef %8) #2 %10 = load i64, ptr @OP_TESTSET, align 8, !tbaa !10 %11 = icmp eq i64 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %5 %13 = tail call i32 @getjump(ptr noundef %0, i32 noundef %6) #2 %14 = load i32, ptr @NO_JUMP, align 4, !tbaa !6 %15 = icmp eq i32 %13, %14 br i1 %15, label %16, label %5, !llvm.loop !12 16: ; preds = %12, %5, %2 %17 = phi i32 [ 0, %2 ], [ 1, %5 ], [ 0, %12 ] ret i32 %17 } declare ptr @getjumpcontrol(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @GET_OPCODE(i32 noundef) local_unnamed_addr #1 declare i32 @getjump(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_lua_src_extr_lcode.c_need_value
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/utils/extr_oggplayer.c_mem_open.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/utils/extr_oggplayer.c_mem_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" %struct.TYPE_2__ = type { i32, ptr, i64 } @mem_open.one = internal unnamed_addr global i1 false, align 4 @file = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @mem_open], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable define internal i32 @mem_open(ptr noundef %0, i32 noundef %1) #0 { %3 = load i1, ptr @mem_open.one, align 4 %4 = load ptr, ptr @file, align 8, !tbaa !5 br i1 %3, label %9, label %5 5: ; preds = %2 store i1 true, ptr @mem_open.one, align 4 store i32 0, ptr %4, align 8, !tbaa !9 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 1 store i32 0, ptr %6, align 8, !tbaa !9 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 2 store i32 0, ptr %7, align 8, !tbaa !9 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 3 store i32 0, ptr %8, align 8, !tbaa !9 br label %12 9: ; preds = %2 %10 = load i32, ptr %4, align 8, !tbaa !9 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %5, %28, %24, %20, %9 %13 = phi i64 [ 0, %9 ], [ 1, %20 ], [ 2, %24 ], [ 3, %28 ], [ 0, %5 ] %14 = trunc i64 %13 to i32 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %13, i32 1 store ptr %0, ptr %15, align 8, !tbaa !13 %16 = load ptr, ptr @file, align 8, !tbaa !5 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %13 store i32 %1, ptr %17, align 8, !tbaa !9 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %16, i64 %13, i32 2 store i64 0, ptr %18, align 8, !tbaa !14 %19 = add nuw nsw i32 %14, 1638 br label %32 20: ; preds = %9 %21 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 1 %22 = load i32, ptr %21, align 8, !tbaa !9 %23 = icmp eq i32 %22, 0 br i1 %23, label %12, label %24 24: ; preds = %20 %25 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 2 %26 = load i32, ptr %25, align 8, !tbaa !9 %27 = icmp eq i32 %26, 0 br i1 %27, label %12, label %28 28: ; preds = %24 %29 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 3 %30 = load i32, ptr %29, align 8, !tbaa !9 %31 = icmp eq i32 %30, 0 br i1 %31, label %12, label %32 32: ; preds = %28, %12 %33 = phi i32 [ %19, %12 ], [ -1, %28 ] ret i32 %33 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0, !6, i64 8, !12, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !6, i64 8} !14 = !{!10, !12, i64 16}
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/utils/extr_oggplayer.c_mem_open.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/gx/utils/extr_oggplayer.c_mem_open.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, ptr, i64 } @mem_open.one = internal unnamed_addr global i1 false, align 4 @file = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @mem_open], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal i32 @mem_open(ptr noundef %0, i32 noundef %1) #0 { %3 = load i1, ptr @mem_open.one, align 4 %4 = load ptr, ptr @file, align 8, !tbaa !6 br i1 %3, label %9, label %5 5: ; preds = %2 store i1 true, ptr @mem_open.one, align 4 store i32 0, ptr %4, align 8, !tbaa !10 %6 = getelementptr inbounds i8, ptr %4, i64 24 store i32 0, ptr %6, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %4, i64 48 store i32 0, ptr %7, align 8, !tbaa !10 %8 = getelementptr inbounds i8, ptr %4, i64 72 store i32 0, ptr %8, align 8, !tbaa !10 br label %12 9: ; preds = %2 %10 = load i32, ptr %4, align 8, !tbaa !10 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %20 12: ; preds = %5, %28, %24, %20, %9 %13 = phi i64 [ 0, %9 ], [ 1, %20 ], [ 2, %24 ], [ 3, %28 ], [ 0, %5 ] %14 = phi ptr [ %4, %9 ], [ %21, %20 ], [ %25, %24 ], [ %29, %28 ], [ %4, %5 ] %15 = trunc nuw nsw i64 %13 to i32 %16 = getelementptr inbounds i8, ptr %14, i64 8 store ptr %0, ptr %16, align 8, !tbaa !14 %17 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %13 store i32 %1, ptr %17, align 8, !tbaa !10 %18 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 %13, i32 2 store i64 0, ptr %18, align 8, !tbaa !15 %19 = add nuw nsw i32 %15, 1638 br label %32 20: ; preds = %9 %21 = getelementptr inbounds i8, ptr %4, i64 24 %22 = load i32, ptr %21, align 8, !tbaa !10 %23 = icmp eq i32 %22, 0 br i1 %23, label %12, label %24 24: ; preds = %20 %25 = getelementptr inbounds i8, ptr %4, i64 48 %26 = load i32, ptr %25, align 8, !tbaa !10 %27 = icmp eq i32 %26, 0 br i1 %27, label %12, label %28 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %4, i64 72 %30 = load i32, ptr %29, align 8, !tbaa !10 %31 = icmp eq i32 %30, 0 br i1 %31, label %12, label %32 32: ; preds = %28, %12 %33 = phi i32 [ %19, %12 ], [ -1, %28 ] ret i32 %33 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0, !7, i64 8, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !7, i64 8} !15 = !{!11, !13, i64 16}
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_gx_utils_extr_oggplayer.c_mem_open
; ModuleID = 'AnghaBench/linux/security/smack/extr_smack.h_smk_of_task_struct.c' source_filename = "AnghaBench/linux/security/smack/extr_smack.h_smk_of_task_struct.c" target datalayout = "e-m:e-p270:32:32-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 @smk_of_task_struct], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @smk_of_task_struct(ptr noundef %0) #0 { %2 = tail call i32 (...) @rcu_read_lock() #2 %3 = tail call ptr @__task_cred(ptr noundef %0) #2 %4 = tail call i32 @smack_cred(ptr noundef %3) #2 %5 = tail call ptr @smk_of_task(i32 noundef %4) #2 %6 = tail call i32 (...) @rcu_read_unlock() #2 ret ptr %5 } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @__task_cred(ptr noundef) local_unnamed_addr #1 declare ptr @smk_of_task(i32 noundef) local_unnamed_addr #1 declare i32 @smack_cred(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) 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/security/smack/extr_smack.h_smk_of_task_struct.c' source_filename = "AnghaBench/linux/security/smack/extr_smack.h_smk_of_task_struct.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 @smk_of_task_struct], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @smk_of_task_struct(ptr noundef %0) #0 { %2 = tail call i32 @rcu_read_lock() #2 %3 = tail call ptr @__task_cred(ptr noundef %0) #2 %4 = tail call i32 @smack_cred(ptr noundef %3) #2 %5 = tail call ptr @smk_of_task(i32 noundef %4) #2 %6 = tail call i32 @rcu_read_unlock() #2 ret ptr %5 } declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @__task_cred(ptr noundef) local_unnamed_addr #1 declare ptr @smk_of_task(i32 noundef) local_unnamed_addr #1 declare i32 @smack_cred(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) 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_security_smack_extr_smack.h_smk_of_task_struct
; ModuleID = 'AnghaBench/linux/crypto/extr_essiv.c_essiv_skcipher_decrypt.c' source_filename = "AnghaBench/linux/crypto/extr_essiv.c_essiv_skcipher_decrypt.c" target datalayout = "e-m:e-p270:32:32-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 @essiv_skcipher_decrypt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @essiv_skcipher_decrypt(ptr noundef %0) #0 { %2 = tail call i32 @essiv_skcipher_crypt(ptr noundef %0, i32 noundef 0) #2 ret i32 %2 } declare i32 @essiv_skcipher_crypt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/crypto/extr_essiv.c_essiv_skcipher_decrypt.c' source_filename = "AnghaBench/linux/crypto/extr_essiv.c_essiv_skcipher_decrypt.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 @essiv_skcipher_decrypt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @essiv_skcipher_decrypt(ptr noundef %0) #0 { %2 = tail call i32 @essiv_skcipher_crypt(ptr noundef %0, i32 noundef 0) #2 ret i32 %2 } declare i32 @essiv_skcipher_crypt(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_crypto_extr_essiv.c_essiv_skcipher_decrypt
; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_main.c_plpython_error_callback.c' source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_main.c_plpython_error_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" @.str = private unnamed_addr constant [25 x i8] c"PL/Python procedure \22%s\22\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"PL/Python function \22%s\22\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @plpython_error_callback], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @plpython_error_callback(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %10, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !10 %6 = icmp eq i64 %5, 0 %7 = tail call i32 @PLy_procedure_name(ptr noundef nonnull %2) #2 %8 = select i1 %6, ptr @.str.1, ptr @.str %9 = tail call i32 @errcontext(ptr noundef nonnull %8, i32 noundef %7) #2 br label %10 10: ; preds = %4, %1 ret void } declare i32 @errcontext(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PLy_procedure_name(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"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/postgres/src/pl/plpython/extr_plpy_main.c_plpython_error_callback.c' source_filename = "AnghaBench/postgres/src/pl/plpython/extr_plpy_main.c_plpython_error_callback.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 [25 x i8] c"PL/Python procedure \22%s\22\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"PL/Python function \22%s\22\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @plpython_error_callback], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @plpython_error_callback(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %10, label %4 4: ; preds = %1 %5 = load i64, ptr %2, align 8, !tbaa !11 %6 = icmp eq i64 %5, 0 %7 = tail call i32 @PLy_procedure_name(ptr noundef nonnull %2) #2 %8 = select i1 %6, ptr @.str.1, ptr @.str %9 = tail call i32 @errcontext(ptr noundef nonnull %8, i32 noundef %7) #2 br label %10 10: ; preds = %4, %1 ret void } declare i32 @errcontext(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PLy_procedure_name(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"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !9, i64 0}
postgres_src_pl_plpython_extr_plpy_main.c_plpython_error_callback
; ModuleID = 'AnghaBench/redis/src/extr_blocked.c_signalKeyAsReady.c' source_filename = "AnghaBench/redis/src/extr_blocked.c_signalKeyAsReady.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i32 } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_8__ = type { ptr, ptr } @server = dso_local local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4 @DICT_OK = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @signalKeyAsReady(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call ptr @dictFind(i32 noundef %4, ptr noundef %1) #2 %6 = icmp eq ptr %5, null br i1 %6, label %24, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = tail call ptr @dictFind(i32 noundef %8, ptr noundef %1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %24 11: ; preds = %7 %12 = tail call ptr @zmalloc(i32 noundef 16) #2 %13 = getelementptr inbounds %struct.TYPE_8__, ptr %12, i64 0, i32 1 store ptr %1, ptr %13, align 8, !tbaa !11 store ptr %0, ptr %12, align 8, !tbaa !14 %14 = tail call i32 @incrRefCount(ptr noundef %1) #2 %15 = load i32, ptr @server, align 4, !tbaa !15 %16 = tail call i32 @listAddNodeTail(i32 noundef %15, ptr noundef nonnull %12) #2 %17 = tail call i32 @incrRefCount(ptr noundef %1) #2 %18 = load i32, ptr %0, align 4, !tbaa !10 %19 = tail call i64 @dictAdd(i32 noundef %18, ptr noundef %1, ptr noundef null) #2 %20 = load i64, ptr @DICT_OK, align 8, !tbaa !17 %21 = icmp eq i64 %19, %20 %22 = zext i1 %21 to i32 %23 = tail call i32 @serverAssert(i32 noundef %22) #2 br label %24 24: ; preds = %7, %2, %11 ret void } declare ptr @dictFind(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @zmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @incrRefCount(ptr noundef) local_unnamed_addr #1 declare i32 @listAddNodeTail(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @serverAssert(i32 noundef) local_unnamed_addr #1 declare i64 @dictAdd(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !13, i64 8} !12 = !{!"TYPE_8__", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_9__", !7, i64 0} !17 = !{!18, !18, i64 0} !18 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/redis/src/extr_blocked.c_signalKeyAsReady.c' source_filename = "AnghaBench/redis/src/extr_blocked.c_signalKeyAsReady.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_9__ = type { i32 } @server = common local_unnamed_addr global %struct.TYPE_9__ zeroinitializer, align 4 @DICT_OK = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @signalKeyAsReady(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = tail call ptr @dictFind(i32 noundef %4, ptr noundef %1) #2 %6 = icmp eq ptr %5, null br i1 %6, label %24, label %7 7: ; preds = %2 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = tail call ptr @dictFind(i32 noundef %8, ptr noundef %1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %24 11: ; preds = %7 %12 = tail call ptr @zmalloc(i32 noundef 16) #2 %13 = getelementptr inbounds i8, ptr %12, i64 8 store ptr %1, ptr %13, align 8, !tbaa !12 store ptr %0, ptr %12, align 8, !tbaa !15 %14 = tail call i32 @incrRefCount(ptr noundef %1) #2 %15 = load i32, ptr @server, align 4, !tbaa !16 %16 = tail call i32 @listAddNodeTail(i32 noundef %15, ptr noundef nonnull %12) #2 %17 = tail call i32 @incrRefCount(ptr noundef %1) #2 %18 = load i32, ptr %0, align 4, !tbaa !11 %19 = tail call i64 @dictAdd(i32 noundef %18, ptr noundef %1, ptr noundef null) #2 %20 = load i64, ptr @DICT_OK, align 8, !tbaa !18 %21 = icmp eq i64 %19, %20 %22 = zext i1 %21 to i32 %23 = tail call i32 @serverAssert(i32 noundef %22) #2 br label %24 24: ; preds = %7, %2, %11 ret void } declare ptr @dictFind(i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @zmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @incrRefCount(ptr noundef) local_unnamed_addr #1 declare i32 @listAddNodeTail(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @serverAssert(i32 noundef) local_unnamed_addr #1 declare i64 @dictAdd(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"TYPE_8__", !14, i64 0, !14, i64 8} !14 = !{!"any pointer", !9, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_9__", !8, i64 0} !18 = !{!19, !19, i64 0} !19 = !{!"long", !9, i64 0}
redis_src_extr_blocked.c_signalKeyAsReady
; ModuleID = 'AnghaBench/openssl/crypto/ec/extr_ecp_nistp256.c_felem_diff_zero107.c' source_filename = "AnghaBench/openssl/crypto/ec/extr_ecp_nistp256.c_felem_diff_zero107.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @zero107 = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @felem_diff_zero107], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @felem_diff_zero107(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr @zero107, align 8, !tbaa !5 %4 = load i64, ptr %3, align 8, !tbaa !9 %5 = load i64, ptr %0, align 8, !tbaa !9 %6 = add nsw i64 %5, %4 store i64 %6, ptr %0, align 8, !tbaa !9 %7 = getelementptr inbounds i64, ptr %3, i64 1 %8 = load i64, ptr %7, align 8, !tbaa !9 %9 = getelementptr inbounds i64, ptr %0, i64 1 %10 = load i64, ptr %9, align 8, !tbaa !9 %11 = add nsw i64 %10, %8 store i64 %11, ptr %9, align 8, !tbaa !9 %12 = getelementptr inbounds i64, ptr %3, i64 2 %13 = load i64, ptr %12, align 8, !tbaa !9 %14 = getelementptr inbounds i64, ptr %0, i64 2 %15 = load i64, ptr %14, align 8, !tbaa !9 %16 = add nsw i64 %15, %13 store i64 %16, ptr %14, align 8, !tbaa !9 %17 = getelementptr inbounds i64, ptr %3, i64 3 %18 = load i64, ptr %17, align 8, !tbaa !9 %19 = getelementptr inbounds i64, ptr %0, i64 3 %20 = load i64, ptr %19, align 8, !tbaa !9 %21 = add nsw i64 %20, %18 store i64 %21, ptr %19, align 8, !tbaa !9 %22 = load i64, ptr %1, align 8, !tbaa !9 %23 = sub nsw i64 %6, %22 store i64 %23, ptr %0, align 8, !tbaa !9 %24 = getelementptr inbounds i64, ptr %1, i64 1 %25 = load i64, ptr %24, align 8, !tbaa !9 %26 = sub nsw i64 %11, %25 store i64 %26, ptr %9, align 8, !tbaa !9 %27 = getelementptr inbounds i64, ptr %1, i64 2 %28 = load i64, ptr %27, align 8, !tbaa !9 %29 = sub nsw i64 %16, %28 store i64 %29, ptr %14, align 8, !tbaa !9 %30 = getelementptr inbounds i64, ptr %1, i64 3 %31 = load i64, ptr %30, align 8, !tbaa !9 %32 = sub nsw i64 %21, %31 store i64 %32, ptr %19, align 8, !tbaa !9 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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}
; ModuleID = 'AnghaBench/openssl/crypto/ec/extr_ecp_nistp256.c_felem_diff_zero107.c' source_filename = "AnghaBench/openssl/crypto/ec/extr_ecp_nistp256.c_felem_diff_zero107.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @zero107 = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @felem_diff_zero107], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @felem_diff_zero107(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr @zero107, align 8, !tbaa !6 %4 = load i64, ptr %3, align 8, !tbaa !10 %5 = load i64, ptr %0, align 8, !tbaa !10 %6 = add nsw i64 %5, %4 store i64 %6, ptr %0, align 8, !tbaa !10 %7 = getelementptr inbounds i8, ptr %3, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !10 %9 = getelementptr inbounds i8, ptr %0, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !10 %11 = add nsw i64 %10, %8 store i64 %11, ptr %9, align 8, !tbaa !10 %12 = getelementptr inbounds i8, ptr %3, i64 16 %13 = load i64, ptr %12, align 8, !tbaa !10 %14 = getelementptr inbounds i8, ptr %0, i64 16 %15 = load i64, ptr %14, align 8, !tbaa !10 %16 = add nsw i64 %15, %13 store i64 %16, ptr %14, align 8, !tbaa !10 %17 = getelementptr inbounds i8, ptr %3, i64 24 %18 = load i64, ptr %17, align 8, !tbaa !10 %19 = getelementptr inbounds i8, ptr %0, i64 24 %20 = load i64, ptr %19, align 8, !tbaa !10 %21 = add nsw i64 %20, %18 store i64 %21, ptr %19, align 8, !tbaa !10 %22 = load i64, ptr %1, align 8, !tbaa !10 %23 = sub nsw i64 %6, %22 store i64 %23, ptr %0, align 8, !tbaa !10 %24 = getelementptr inbounds i8, ptr %1, i64 8 %25 = load i64, ptr %24, align 8, !tbaa !10 %26 = sub nsw i64 %11, %25 store i64 %26, ptr %9, align 8, !tbaa !10 %27 = getelementptr inbounds i8, ptr %1, i64 16 %28 = load i64, ptr %27, align 8, !tbaa !10 %29 = sub nsw i64 %16, %28 store i64 %29, ptr %14, align 8, !tbaa !10 %30 = getelementptr inbounds i8, ptr %1, i64 24 %31 = load i64, ptr %30, align 8, !tbaa !10 %32 = sub nsw i64 %21, %31 store i64 %32, ptr %19, align 8, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
openssl_crypto_ec_extr_ecp_nistp256.c_felem_diff_zero107
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_vtshim.c_sqlite3_dispose_module.c' source_filename = "AnghaBench/sqlcipher/ext/misc/extr_vtshim.c_sqlite3_dispose_module.c" target datalayout = "e-m:e-p270:32:32-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, ptr, i32, ptr, ptr } %struct.TYPE_6__ = type { i32, ptr, ptr } %struct.TYPE_5__ = type { ptr, ptr } %struct.TYPE_7__ = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local void @sqlite3_dispose_module(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %41 4: ; preds = %1 %5 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 4 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = icmp eq ptr %6, null br i1 %7, label %33, label %8 8: ; preds = %4 %9 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 3 br label %10 10: ; preds = %8, %25 %11 = phi ptr [ %6, %8 ], [ %31, %25 ] %12 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 0, i32 1 %13 = load ptr, ptr %12, align 8, !tbaa !11 %14 = icmp eq ptr %13, null br i1 %14, label %25, label %15 15: ; preds = %10, %15 %16 = phi ptr [ %23, %15 ], [ %13, %10 ] %17 = load ptr, ptr %9, align 8, !tbaa !12 %18 = getelementptr inbounds %struct.TYPE_5__, ptr %17, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !13 %20 = load i32, ptr %16, align 8, !tbaa !15 %21 = tail call i32 %19(i32 noundef %20) #1 %22 = getelementptr inbounds %struct.TYPE_7__, ptr %16, i64 0, i32 1 %23 = load ptr, ptr %22, align 8, !tbaa !11 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %15, !llvm.loop !17 25: ; preds = %15, %10 %26 = load ptr, ptr %9, align 8, !tbaa !12 %27 = load ptr, ptr %26, align 8, !tbaa !19 %28 = load i32, ptr %11, align 8, !tbaa !20 %29 = tail call i32 %27(i32 noundef %28) #1 %30 = getelementptr inbounds %struct.TYPE_6__, ptr %11, i64 0, i32 2 %31 = load ptr, ptr %30, align 8, !tbaa !11 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %10, !llvm.loop !22 33: ; preds = %25, %4 store i32 1, ptr %0, align 8, !tbaa !5 %34 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !23 %36 = icmp eq ptr %35, null br i1 %36, label %41, label %37 37: ; preds = %33 %38 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 2 %39 = load i32, ptr %38, align 8, !tbaa !24 %40 = tail call i32 %35(i32 noundef %39) #1 store ptr null, ptr %34, align 8, !tbaa !23 br label %41 41: ; preds = %33, %37, %1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_8__", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!6, !10, i64 24} !13 = !{!14, !10, i64 8} !14 = !{!"TYPE_5__", !10, i64 0, !10, i64 8} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_7__", !7, i64 0, !10, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!14, !10, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_6__", !7, i64 0, !10, i64 8, !10, i64 16} !22 = distinct !{!22, !18} !23 = !{!6, !10, i64 8} !24 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/sqlcipher/ext/misc/extr_vtshim.c_sqlite3_dispose_module.c' source_filename = "AnghaBench/sqlcipher/ext/misc/extr_vtshim.c_sqlite3_dispose_module.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 @sqlite3_dispose_module(ptr nocapture noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %41 4: ; preds = %1 %5 = getelementptr inbounds i8, ptr %0, i64 32 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = icmp eq ptr %6, null br i1 %7, label %33, label %8 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %0, i64 24 br label %10 10: ; preds = %8, %25 %11 = phi ptr [ %6, %8 ], [ %31, %25 ] %12 = getelementptr inbounds i8, ptr %11, i64 8 %13 = load ptr, ptr %12, align 8, !tbaa !12 %14 = icmp eq ptr %13, null br i1 %14, label %25, label %15 15: ; preds = %10, %15 %16 = phi ptr [ %23, %15 ], [ %13, %10 ] %17 = load ptr, ptr %9, align 8, !tbaa !13 %18 = getelementptr inbounds i8, ptr %17, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !14 %20 = load i32, ptr %16, align 8, !tbaa !16 %21 = tail call i32 %19(i32 noundef %20) #1 %22 = getelementptr inbounds i8, ptr %16, i64 8 %23 = load ptr, ptr %22, align 8, !tbaa !12 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %15, !llvm.loop !18 25: ; preds = %15, %10 %26 = load ptr, ptr %9, align 8, !tbaa !13 %27 = load ptr, ptr %26, align 8, !tbaa !20 %28 = load i32, ptr %11, align 8, !tbaa !21 %29 = tail call i32 %27(i32 noundef %28) #1 %30 = getelementptr inbounds i8, ptr %11, i64 16 %31 = load ptr, ptr %30, align 8, !tbaa !12 %32 = icmp eq ptr %31, null br i1 %32, label %33, label %10, !llvm.loop !23 33: ; preds = %25, %4 store i32 1, ptr %0, align 8, !tbaa !6 %34 = getelementptr inbounds i8, ptr %0, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !24 %36 = icmp eq ptr %35, null br i1 %36, label %41, label %37 37: ; preds = %33 %38 = getelementptr inbounds i8, ptr %0, i64 16 %39 = load i32, ptr %38, align 8, !tbaa !25 %40 = tail call i32 %35(i32 noundef %39) #1 store ptr null, ptr %34, align 8, !tbaa !24 br label %41 41: ; preds = %33, %37, %1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_8__", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!7, !11, i64 24} !14 = !{!15, !11, i64 8} !15 = !{!"TYPE_5__", !11, i64 0, !11, i64 8} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_7__", !8, i64 0, !11, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!15, !11, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_6__", !8, i64 0, !11, i64 8, !11, i64 16} !23 = distinct !{!23, !19} !24 = !{!7, !11, i64 8} !25 = !{!7, !8, i64 16}
sqlcipher_ext_misc_extr_vtshim.c_sqlite3_dispose_module
; ModuleID = 'AnghaBench/linux/sound/soc/uniphier/extr_aio-dma.c_aiodma_compr_irq.c' source_filename = "AnghaBench/linux/sound/soc/uniphier/extr_aio-dma.c_aiodma_compr_irq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.uniphier_aio_sub = type { ptr, i32, i32, i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @aiodma_compr_irq], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @aiodma_compr_irq(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !12 %4 = load i32, ptr %3, align 4, !tbaa !14 %5 = getelementptr inbounds %struct.uniphier_aio_sub, ptr %0, i64 0, i32 1 %6 = tail call i32 @spin_lock(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds %struct.uniphier_aio_sub, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !16 %9 = getelementptr inbounds %struct.uniphier_aio_sub, ptr %0, i64 0, i32 4 %10 = load i64, ptr %9, align 8, !tbaa !17 %11 = sext i32 %4 to i64 %12 = add nsw i64 %10, %11 %13 = tail call i32 @aiodma_rb_set_threshold(ptr noundef nonnull %0, i32 noundef %8, i64 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i64, ptr %9, align 8, !tbaa !17 %17 = add nsw i64 %16, %11 store i64 %17, ptr %9, align 8, !tbaa !17 br label %18 18: ; preds = %15, %1 %19 = getelementptr inbounds %struct.uniphier_aio_sub, ptr %0, i64 0, i32 3 %20 = load i32, ptr %19, align 8, !tbaa !18 %21 = load i32, ptr %7, align 4, !tbaa !16 %22 = tail call i32 @aiodma_rb_sync(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %21, i32 noundef %4) #2 %23 = tail call i32 @aiodma_rb_clear_irq(ptr noundef nonnull %0) #2 %24 = tail call i32 @spin_unlock(ptr noundef nonnull %5) #2 %25 = load ptr, ptr %0, align 8, !tbaa !5 %26 = tail call i32 @snd_compr_fragment_elapsed(ptr noundef %25) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @aiodma_rb_set_threshold(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @aiodma_rb_sync(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aiodma_rb_clear_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @snd_compr_fragment_elapsed(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 = !{!"uniphier_aio_sub", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !11, 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 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"snd_compr_runtime", !10, i64 0} !16 = !{!6, !10, i64 12} !17 = !{!6, !11, i64 24} !18 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/sound/soc/uniphier/extr_aio-dma.c_aiodma_compr_irq.c' source_filename = "AnghaBench/linux/sound/soc/uniphier/extr_aio-dma.c_aiodma_compr_irq.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 @aiodma_compr_irq], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @aiodma_compr_irq(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !13 %4 = load i32, ptr %3, align 4, !tbaa !15 %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = tail call i32 @spin_lock(ptr noundef nonnull %5) #2 %7 = getelementptr inbounds i8, ptr %0, i64 12 %8 = load i32, ptr %7, align 4, !tbaa !17 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = load i64, ptr %9, align 8, !tbaa !18 %11 = sext i32 %4 to i64 %12 = add nsw i64 %10, %11 %13 = tail call i32 @aiodma_rb_set_threshold(ptr noundef nonnull %0, i32 noundef %8, i64 noundef %12) #2 %14 = icmp eq i32 %13, 0 br i1 %14, label %15, label %18 15: ; preds = %1 %16 = load i64, ptr %9, align 8, !tbaa !18 %17 = add nsw i64 %16, %11 store i64 %17, ptr %9, align 8, !tbaa !18 br label %18 18: ; preds = %15, %1 %19 = getelementptr inbounds i8, ptr %0, i64 16 %20 = load i32, ptr %19, align 8, !tbaa !19 %21 = load i32, ptr %7, align 4, !tbaa !17 %22 = tail call i32 @aiodma_rb_sync(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %21, i32 noundef %4) #2 %23 = tail call i32 @aiodma_rb_clear_irq(ptr noundef nonnull %0) #2 %24 = tail call i32 @spin_unlock(ptr noundef nonnull %5) #2 %25 = load ptr, ptr %0, align 8, !tbaa !6 %26 = tail call i32 @snd_compr_fragment_elapsed(ptr noundef %25) #2 ret void } declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @aiodma_rb_set_threshold(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @aiodma_rb_sync(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @aiodma_rb_clear_irq(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @snd_compr_fragment_elapsed(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 = !{!"uniphier_aio_sub", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !12, 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 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"snd_compr_runtime", !11, i64 0} !17 = !{!7, !11, i64 12} !18 = !{!7, !12, i64 24} !19 = !{!7, !11, i64 16}
linux_sound_soc_uniphier_extr_aio-dma.c_aiodma_compr_irq
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccree/extr_cc_hw_queue_defs.h_set_xor_active.c' source_filename = "AnghaBench/linux/drivers/crypto/ccree/extr_cc_hw_queue_defs.h_set_xor_active.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @WORD3_HASH_XOR_BIT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @set_xor_active], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @set_xor_active(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @WORD3_HASH_XOR_BIT, align 4, !tbaa !5 %3 = tail call i32 @FIELD_PREP(i32 noundef %2, i32 noundef 1) #2 %4 = load ptr, ptr %0, align 8, !tbaa !9 %5 = getelementptr inbounds i32, ptr %4, i64 3 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = or i32 %6, %3 store i32 %7, ptr %5, align 4, !tbaa !5 ret void } declare i32 @FIELD_PREP(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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 = !{!"cc_hw_desc", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/crypto/ccree/extr_cc_hw_queue_defs.h_set_xor_active.c' source_filename = "AnghaBench/linux/drivers/crypto/ccree/extr_cc_hw_queue_defs.h_set_xor_active.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WORD3_HASH_XOR_BIT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @set_xor_active], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @set_xor_active(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @WORD3_HASH_XOR_BIT, align 4, !tbaa !6 %3 = tail call i32 @FIELD_PREP(i32 noundef %2, i32 noundef 1) #2 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = getelementptr inbounds i8, ptr %4, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = or i32 %6, %3 store i32 %7, ptr %5, align 4, !tbaa !6 ret void } declare i32 @FIELD_PREP(i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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 = !{!"cc_hw_desc", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
linux_drivers_crypto_ccree_extr_cc_hw_queue_defs.h_set_xor_active
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_cmd.c___lbtf_cleanup_and_insert_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_cmd.c___lbtf_cleanup_and_insert_cmd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cmd_ctrl_node = type { i32, i32, i64, ptr } @LBTF_DEB_HOST = dso_local local_unnamed_addr global i32 0, align 4 @LBS_CMD_BUFFER_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @__lbtf_cleanup_and_insert_cmd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__lbtf_cleanup_and_insert_cmd(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @LBTF_DEB_HOST, align 4, !tbaa !5 %4 = tail call i32 @lbtf_deb_enter(i32 noundef %3) #3 %5 = icmp eq ptr %1, null br i1 %5, label %13, label %6 6: ; preds = %2 %7 = getelementptr inbounds %struct.cmd_ctrl_node, ptr %1, i64 0, i32 2 %8 = getelementptr inbounds %struct.cmd_ctrl_node, ptr %1, i64 0, i32 1 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false) %9 = load i32, ptr %8, align 4, !tbaa !9 %10 = load i32, ptr @LBS_CMD_BUFFER_SIZE, align 4, !tbaa !5 %11 = tail call i32 @memset(i32 noundef %9, i32 noundef 0, i32 noundef %10) #3 %12 = tail call i32 @list_add_tail(ptr noundef nonnull %1, ptr noundef %0) #3 br label %13 13: ; preds = %2, %6 %14 = load i32, ptr @LBTF_DEB_HOST, align 4, !tbaa !5 %15 = tail call i32 @lbtf_deb_leave(i32 noundef %14) #3 ret void } declare i32 @lbtf_deb_enter(i32 noundef) local_unnamed_addr #1 declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lbtf_deb_leave(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 4} !10 = !{!"cmd_ctrl_node", !6, i64 0, !6, i64 4, !11, i64 8, !12, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_cmd.c___lbtf_cleanup_and_insert_cmd.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/libertas_tf/extr_cmd.c___lbtf_cleanup_and_insert_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LBTF_DEB_HOST = common local_unnamed_addr global i32 0, align 4 @LBS_CMD_BUFFER_SIZE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @__lbtf_cleanup_and_insert_cmd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__lbtf_cleanup_and_insert_cmd(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @LBTF_DEB_HOST, align 4, !tbaa !6 %4 = tail call i32 @lbtf_deb_enter(i32 noundef %3) #3 %5 = icmp eq ptr %1, null br i1 %5, label %13, label %6 6: ; preds = %2 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = getelementptr inbounds i8, ptr %1, i64 4 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, i8 0, i64 16, i1 false) %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = load i32, ptr @LBS_CMD_BUFFER_SIZE, align 4, !tbaa !6 %11 = tail call i32 @memset(i32 noundef %9, i32 noundef 0, i32 noundef %10) #3 %12 = tail call i32 @list_add_tail(ptr noundef nonnull %1, ptr noundef %0) #3 br label %13 13: ; preds = %2, %6 %14 = load i32, ptr @LBTF_DEB_HOST, align 4, !tbaa !6 %15 = tail call i32 @lbtf_deb_leave(i32 noundef %14) #3 ret void } declare i32 @lbtf_deb_enter(i32 noundef) local_unnamed_addr #1 declare i32 @memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @list_add_tail(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lbtf_deb_leave(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 4} !11 = !{!"cmd_ctrl_node", !7, i64 0, !7, i64 4, !12, i64 8, !13, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"any pointer", !8, i64 0}
fastsocket_kernel_drivers_net_wireless_libertas_tf_extr_cmd.c___lbtf_cleanup_and_insert_cmd
; ModuleID = 'AnghaBench/macvim/src/extr_getchar.c_vpeekc_any.c' source_filename = "AnghaBench/macvim/src/extr_getchar.c_vpeekc_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.TYPE_2__ = type { i64 } @NUL = dso_local local_unnamed_addr global i32 0, align 4 @typebuf = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @ESC = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @vpeekc_any() local_unnamed_addr #0 { %1 = tail call i32 (...) @vpeekc() #2 %2 = load i32, ptr @NUL, align 4, !tbaa !5 %3 = icmp eq i32 %1, %2 %4 = load i64, ptr @typebuf, align 8 %5 = icmp sgt i64 %4, 0 %6 = select i1 %3, i1 %5, i1 false %7 = load i32, ptr @ESC, align 4 %8 = select i1 %6, i32 %7, i32 %1 ret i32 %8 } declare i32 @vpeekc(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/macvim/src/extr_getchar.c_vpeekc_any.c' source_filename = "AnghaBench/macvim/src/extr_getchar.c_vpeekc_any.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64 } @NUL = common local_unnamed_addr global i32 0, align 4 @typebuf = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 @ESC = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @vpeekc_any() local_unnamed_addr #0 { %1 = tail call i32 @vpeekc() #2 %2 = load i32, ptr @NUL, align 4, !tbaa !6 %3 = icmp eq i32 %1, %2 %4 = load i64, ptr @typebuf, align 8 %5 = icmp sgt i64 %4, 0 %6 = select i1 %3, i1 %5, i1 false %7 = load i32, ptr @ESC, align 4 %8 = select i1 %6, i32 %7, i32 %1 ret i32 %8 } declare i32 @vpeekc(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
macvim_src_extr_getchar.c_vpeekc_any
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powerpc/extr_platform.c_platform_smp_next_cpu.c' source_filename = "AnghaBench/freebsd/sys/powerpc/powerpc/extr_platform.c_platform_smp_next_cpu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @plat_obj = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @platform_smp_next_cpu(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @plat_obj, align 4, !tbaa !5 %3 = tail call i32 @PLATFORM_SMP_NEXT_CPU(i32 noundef %2, ptr noundef %0) #2 ret i32 %3 } declare i32 @PLATFORM_SMP_NEXT_CPU(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/powerpc/extr_platform.c_platform_smp_next_cpu.c' source_filename = "AnghaBench/freebsd/sys/powerpc/powerpc/extr_platform.c_platform_smp_next_cpu.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @plat_obj = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @platform_smp_next_cpu(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @plat_obj, align 4, !tbaa !6 %3 = tail call i32 @PLATFORM_SMP_NEXT_CPU(i32 noundef %2, ptr noundef %0) #2 ret i32 %3 } declare i32 @PLATFORM_SMP_NEXT_CPU(i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_powerpc_powerpc_extr_platform.c_platform_smp_next_cpu
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-ti-sci-intr.c_ti_sci_intr_irq_domain_alloc.c' source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-ti-sci-intr.c_ti_sci_intr_irq_domain_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" @ti_sci_intr_irq_chip = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ti_sci_intr_irq_domain_alloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ti_sci_intr_irq_domain_alloc(ptr noundef %0, i32 noundef %1, i32 %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call i32 @ti_sci_intr_irq_domain_translate(ptr noundef %0, ptr noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %4 %10 = load i64, ptr %5, align 8, !tbaa !5 %11 = call i32 @ti_sci_intr_alloc_gic_irq(ptr noundef %0, i32 noundef %1, i64 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i64, ptr %5, align 8, !tbaa !5 %15 = call i32 @irq_domain_set_hwirq_and_chip(ptr noundef %0, i32 noundef %1, i64 noundef %14, ptr noundef nonnull @ti_sci_intr_irq_chip, ptr noundef null) #3 br label %16 16: ; preds = %9, %4, %13 %17 = phi i32 [ 0, %13 ], [ %7, %4 ], [ %11, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ti_sci_intr_irq_domain_translate(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ti_sci_intr_alloc_gic_irq(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @irq_domain_set_hwirq_and_chip(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/irqchip/extr_irq-ti-sci-intr.c_ti_sci_intr_irq_domain_alloc.c' source_filename = "AnghaBench/linux/drivers/irqchip/extr_irq-ti-sci-intr.c_ti_sci_intr_irq_domain_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ti_sci_intr_irq_chip = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ti_sci_intr_irq_domain_alloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ti_sci_intr_irq_domain_alloc(ptr noundef %0, i32 noundef %1, i32 %2, ptr noundef %3) #0 { %5 = alloca i64, align 8 %6 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #3 %7 = call i32 @ti_sci_intr_irq_domain_translate(ptr noundef %0, ptr noundef %3, ptr noundef nonnull %5, ptr noundef nonnull %6) #3 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %16 9: ; preds = %4 %10 = load i64, ptr %5, align 8, !tbaa !6 %11 = call i32 @ti_sci_intr_alloc_gic_irq(ptr noundef %0, i32 noundef %1, i64 noundef %10) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %9 %14 = load i64, ptr %5, align 8, !tbaa !6 %15 = call i32 @irq_domain_set_hwirq_and_chip(ptr noundef %0, i32 noundef %1, i64 noundef %14, ptr noundef nonnull @ti_sci_intr_irq_chip, ptr noundef null) #3 br label %16 16: ; preds = %9, %4, %13 %17 = phi i32 [ 0, %13 ], [ %7, %4 ], [ %11, %9 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %17 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ti_sci_intr_irq_domain_translate(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ti_sci_intr_alloc_gic_irq(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @irq_domain_set_hwirq_and_chip(ptr noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_irqchip_extr_irq-ti-sci-intr.c_ti_sci_intr_irq_domain_alloc
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_resp_proc_phy_params.c' source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_resp_proc_phy_params.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.qtnf_wmac = type { i32, %struct.qtnf_mac_info } %struct.qtnf_mac_info = type { i32, i32, i32, ptr, ptr } %struct.qlink_tlv_hdr = type { i64, i32, i32 } @.str = private unnamed_addr constant [38 x i8] c"MAC%u: malformed TLV 0x%.2X; LEN: %u\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"MAC%u: Unknown TLV type: %#x\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"MAC%u: malformed TLV buf; bytes left: %zu\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @qtnf_cmd_resp_proc_phy_params], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qtnf_cmd_resp_proc_phy_params(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = getelementptr inbounds %struct.qtnf_wmac, ptr %0, i64 0, i32 1 %5 = icmp ugt i64 %2, 15 br i1 %5, label %6, label %53 6: ; preds = %3 %7 = getelementptr inbounds %struct.qtnf_wmac, ptr %0, i64 0, i32 1, i32 1 %8 = getelementptr inbounds %struct.qtnf_wmac, ptr %0, i64 0, i32 1, i32 2 %9 = getelementptr inbounds %struct.qtnf_wmac, ptr %0, i64 0, i32 1, i32 3 %10 = getelementptr inbounds %struct.qtnf_wmac, ptr %0, i64 0, i32 1, i32 4 br label %11 11: ; preds = %6, %47 %12 = phi ptr [ %1, %6 ], [ %51, %47 ] %13 = phi i64 [ %2, %6 ], [ %48, %47 ] %14 = getelementptr inbounds %struct.qlink_tlv_hdr, ptr %12, i64 0, i32 1 %15 = load i32, ptr %14, align 8, !tbaa !5 %16 = tail call i32 @le16_to_cpu(i32 noundef %15) #2 %17 = getelementptr inbounds %struct.qlink_tlv_hdr, ptr %12, i64 0, i32 2 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = tail call i32 @le16_to_cpu(i32 noundef %18) #2 %20 = sext i32 %19 to i64 %21 = add nsw i64 %20, 16 %22 = icmp ugt i64 %21, %13 br i1 %22, label %23, label %29 23: ; preds = %11 %24 = load i32, ptr %0, align 8, !tbaa !12 %25 = sext i32 %16 to i64 %26 = tail call i32 (ptr, i32, i64, ...) @pr_warn(ptr noundef nonnull @.str, i32 noundef %24, i64 noundef %25, i32 noundef %19) #2 %27 = load i32, ptr @EINVAL, align 4, !tbaa !16 %28 = sub nsw i32 0, %27 br label %61 29: ; preds = %11 switch i32 %16, label %42 [ i32 131, label %30 i32 129, label %33 i32 128, label %36 i32 130, label %38 i32 132, label %40 ] 30: ; preds = %29 %31 = load i32, ptr %12, align 4, !tbaa !17 %32 = tail call ptr @le32_to_cpu(i32 noundef %31) #2 store ptr %32, ptr %10, align 8, !tbaa !19 br label %47 33: ; preds = %29 %34 = load i32, ptr %12, align 4, !tbaa !17 %35 = tail call ptr @le32_to_cpu(i32 noundef %34) #2 store ptr %35, ptr %9, align 8, !tbaa !20 br label %47 36: ; preds = %29 %37 = load i32, ptr %12, align 4, !tbaa !21 store i32 %37, ptr %8, align 8, !tbaa !23 br label %47 38: ; preds = %29 %39 = load i32, ptr %12, align 4, !tbaa !21 store i32 %39, ptr %7, align 4, !tbaa !24 br label %47 40: ; preds = %29 %41 = load i32, ptr %12, align 4, !tbaa !25 store i32 %41, ptr %4, align 8, !tbaa !27 br label %47 42: ; preds = %29 %43 = load i32, ptr %0, align 8, !tbaa !12 %44 = load i32, ptr %14, align 8, !tbaa !5 %45 = tail call i32 @le16_to_cpu(i32 noundef %44) #2 %46 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef %43, i32 noundef %45) #2 br label %47 47: ; preds = %42, %40, %38, %36, %33, %30 %48 = sub i64 %13, %21 %49 = load i64, ptr %12, align 8, !tbaa !28 %50 = add nsw i64 %49, %20 %51 = inttoptr i64 %50 to ptr %52 = icmp ugt i64 %48, 15 br i1 %52, label %11, label %53, !llvm.loop !29 53: ; preds = %47, %3 %54 = phi i64 [ %2, %3 ], [ %48, %47 ] %55 = icmp eq i64 %54, 0 br i1 %55, label %61, label %56 56: ; preds = %53 %57 = load i32, ptr %0, align 8, !tbaa !12 %58 = tail call i32 (ptr, i32, i64, ...) @pr_warn(ptr noundef nonnull @.str.2, i32 noundef %57, i64 noundef %54) #2 %59 = load i32, ptr @EINVAL, align 4, !tbaa !16 %60 = sub nsw i32 0, %59 br label %61 61: ; preds = %53, %56, %23 %62 = phi i32 [ %28, %23 ], [ %60, %56 ], [ 0, %53 ] ret i32 %62 } declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #1 declare ptr @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"qlink_tlv_hdr", !7, i64 0, !10, i64 8, !10, i64 12} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 12} !12 = !{!13, !10, i64 0} !13 = !{!"qtnf_wmac", !10, i64 0, !14, i64 8} !14 = !{!"qtnf_mac_info", !10, i64 0, !10, i64 4, !10, i64 8, !15, i64 16, !15, i64 24} !15 = !{!"any pointer", !8, i64 0} !16 = !{!10, !10, i64 0} !17 = !{!18, !10, i64 0} !18 = !{!"qlink_tlv_frag_rts_thr", !10, i64 0} !19 = !{!14, !15, i64 24} !20 = !{!14, !15, i64 16} !21 = !{!22, !10, i64 0} !22 = !{!"qlink_tlv_rlimit", !10, i64 0} !23 = !{!14, !10, i64 8} !24 = !{!14, !10, i64 4} !25 = !{!26, !10, i64 0} !26 = !{!"qlink_tlv_cclass", !10, i64 0} !27 = !{!14, !10, i64 0} !28 = !{!6, !7, i64 0} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_resp_proc_phy_params.c' source_filename = "AnghaBench/linux/drivers/net/wireless/quantenna/qtnfmac/extr_commands.c_qtnf_cmd_resp_proc_phy_params.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [38 x i8] c"MAC%u: malformed TLV 0x%.2X; LEN: %u\0A\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"MAC%u: Unknown TLV type: %#x\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"MAC%u: malformed TLV buf; bytes left: %zu\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @qtnf_cmd_resp_proc_phy_params], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @qtnf_cmd_resp_proc_phy_params(ptr nocapture noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = icmp ugt i64 %2, 15 br i1 %5, label %6, label %53 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 12 %8 = getelementptr inbounds i8, ptr %0, i64 16 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = getelementptr inbounds i8, ptr %0, i64 32 br label %11 11: ; preds = %6, %47 %12 = phi ptr [ %1, %6 ], [ %51, %47 ] %13 = phi i64 [ %2, %6 ], [ %48, %47 ] %14 = getelementptr inbounds i8, ptr %12, i64 8 %15 = load i32, ptr %14, align 8, !tbaa !6 %16 = tail call i32 @le16_to_cpu(i32 noundef %15) #2 %17 = getelementptr inbounds i8, ptr %12, i64 12 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = tail call i32 @le16_to_cpu(i32 noundef %18) #2 %20 = sext i32 %19 to i64 %21 = add nsw i64 %20, 16 %22 = icmp ugt i64 %21, %13 br i1 %22, label %23, label %29 23: ; preds = %11 %24 = load i32, ptr %0, align 8, !tbaa !13 %25 = sext i32 %16 to i64 %26 = tail call i32 (ptr, i32, i64, ...) @pr_warn(ptr noundef nonnull @.str, i32 noundef %24, i64 noundef %25, i32 noundef %19) #2 %27 = load i32, ptr @EINVAL, align 4, !tbaa !17 %28 = sub nsw i32 0, %27 br label %61 29: ; preds = %11 switch i32 %16, label %42 [ i32 131, label %30 i32 129, label %33 i32 128, label %36 i32 130, label %38 i32 132, label %40 ] 30: ; preds = %29 %31 = load i32, ptr %12, align 4, !tbaa !18 %32 = tail call ptr @le32_to_cpu(i32 noundef %31) #2 store ptr %32, ptr %10, align 8, !tbaa !20 br label %47 33: ; preds = %29 %34 = load i32, ptr %12, align 4, !tbaa !18 %35 = tail call ptr @le32_to_cpu(i32 noundef %34) #2 store ptr %35, ptr %9, align 8, !tbaa !21 br label %47 36: ; preds = %29 %37 = load i32, ptr %12, align 4, !tbaa !22 store i32 %37, ptr %8, align 8, !tbaa !24 br label %47 38: ; preds = %29 %39 = load i32, ptr %12, align 4, !tbaa !22 store i32 %39, ptr %7, align 4, !tbaa !25 br label %47 40: ; preds = %29 %41 = load i32, ptr %12, align 4, !tbaa !26 store i32 %41, ptr %4, align 8, !tbaa !28 br label %47 42: ; preds = %29 %43 = load i32, ptr %0, align 8, !tbaa !13 %44 = load i32, ptr %14, align 8, !tbaa !6 %45 = tail call i32 @le16_to_cpu(i32 noundef %44) #2 %46 = tail call i32 @pr_err(ptr noundef nonnull @.str.1, i32 noundef %43, i32 noundef %45) #2 br label %47 47: ; preds = %42, %40, %38, %36, %33, %30 %48 = sub i64 %13, %21 %49 = load i64, ptr %12, align 8, !tbaa !29 %50 = add nsw i64 %49, %20 %51 = inttoptr i64 %50 to ptr %52 = icmp ugt i64 %48, 15 br i1 %52, label %11, label %53, !llvm.loop !30 53: ; preds = %47, %3 %54 = phi i64 [ %2, %3 ], [ %48, %47 ] %55 = icmp eq i64 %54, 0 br i1 %55, label %61, label %56 56: ; preds = %53 %57 = load i32, ptr %0, align 8, !tbaa !13 %58 = tail call i32 (ptr, i32, i64, ...) @pr_warn(ptr noundef nonnull @.str.2, i32 noundef %57, i64 noundef %54) #2 %59 = load i32, ptr @EINVAL, align 4, !tbaa !17 %60 = sub nsw i32 0, %59 br label %61 61: ; preds = %53, %56, %23 %62 = phi i32 [ %28, %23 ], [ %60, %56 ], [ 0, %53 ] ret i32 %62 } declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @pr_warn(ptr noundef, i32 noundef, i64 noundef, ...) local_unnamed_addr #1 declare ptr @le32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @pr_err(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"qlink_tlv_hdr", !8, i64 0, !11, i64 8, !11, i64 12} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 12} !13 = !{!14, !11, i64 0} !14 = !{!"qtnf_wmac", !11, i64 0, !15, i64 8} !15 = !{!"qtnf_mac_info", !11, i64 0, !11, i64 4, !11, i64 8, !16, i64 16, !16, i64 24} !16 = !{!"any pointer", !9, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!19, !11, i64 0} !19 = !{!"qlink_tlv_frag_rts_thr", !11, i64 0} !20 = !{!15, !16, i64 24} !21 = !{!15, !16, i64 16} !22 = !{!23, !11, i64 0} !23 = !{!"qlink_tlv_rlimit", !11, i64 0} !24 = !{!15, !11, i64 8} !25 = !{!15, !11, i64 4} !26 = !{!27, !11, i64 0} !27 = !{!"qlink_tlv_cclass", !11, i64 0} !28 = !{!15, !11, i64 0} !29 = !{!7, !8, i64 0} !30 = distinct !{!30, !31} !31 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_wireless_quantenna_qtnfmac_extr_commands.c_qtnf_cmd_resp_proc_phy_params
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libxslt/extr_transform.c_xsltSetXIncludeDefault.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libxslt/extr_transform.c_xsltSetXIncludeDefault.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @xsltDoXIncludeDefault = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local void @xsltSetXIncludeDefault(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp ne i32 %0, 0 %3 = zext i1 %2 to i32 store i32 %3, ptr @xsltDoXIncludeDefault, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libxslt/extr_transform.c_xsltSetXIncludeDefault.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libxslt/extr_transform.c_xsltSetXIncludeDefault.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @xsltDoXIncludeDefault = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define void @xsltSetXIncludeDefault(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp ne i32 %0, 0 %3 = zext i1 %2 to i32 store i32 %3, ptr @xsltDoXIncludeDefault, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_dll_3rdparty_libxslt_extr_transform.c_xsltSetXIncludeDefault
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rx.c_ieee80211_is_multicast_robust_mgmt_frame.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rx.c_ieee80211_is_multicast_robust_mgmt_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.sk_buff = type { i32, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @ieee80211_is_multicast_robust_mgmt_frame], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ieee80211_is_multicast_robust_mgmt_frame(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.sk_buff, ptr %0, i64 0, i32 1 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %0, align 8, !tbaa !11 %6 = icmp slt i32 %5, 24 br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load i32, ptr %4, align 4, !tbaa !12 %9 = tail call i32 @is_multicast_ether_addr(i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = tail call i32 @ieee80211_is_robust_mgmt_frame(ptr noundef nonnull %4) #2 br label %13 13: ; preds = %1, %7, %11 %14 = phi i32 [ %12, %11 ], [ 0, %7 ], [ 0, %1 ] ret i32 %14 } declare i32 @is_multicast_ether_addr(i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_is_robust_mgmt_frame(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 = !{!"sk_buff", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"ieee80211_hdr", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/mac80211/extr_rx.c_ieee80211_is_multicast_robust_mgmt_frame.c' source_filename = "AnghaBench/fastsocket/kernel/net/mac80211/extr_rx.c_ieee80211_is_multicast_robust_mgmt_frame.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ieee80211_is_multicast_robust_mgmt_frame], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ieee80211_is_multicast_robust_mgmt_frame(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = icmp slt i32 %5, 24 br i1 %6, label %13, label %7 7: ; preds = %1 %8 = load i32, ptr %4, align 4, !tbaa !13 %9 = tail call i32 @is_multicast_ether_addr(i32 noundef %8) #2 %10 = icmp eq i32 %9, 0 br i1 %10, label %13, label %11 11: ; preds = %7 %12 = tail call i32 @ieee80211_is_robust_mgmt_frame(ptr noundef nonnull %4) #2 br label %13 13: ; preds = %1, %7, %11 %14 = phi i32 [ %12, %11 ], [ 0, %7 ], [ 0, %1 ] ret i32 %14 } declare i32 @is_multicast_ether_addr(i32 noundef) local_unnamed_addr #1 declare i32 @ieee80211_is_robust_mgmt_frame(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 = !{!"sk_buff", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"ieee80211_hdr", !8, i64 0}
fastsocket_kernel_net_mac80211_extr_rx.c_ieee80211_is_multicast_robust_mgmt_frame
; ModuleID = 'AnghaBench/timescaledb/src/extr_chunk_insert_state.c_ts_chunk_insert_state_create.c' source_filename = "AnghaBench/timescaledb/src/extr_chunk_insert_state.c_ts_chunk_insert_state_create.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_33__ = type { i64, ptr, ptr, i32 } %struct.TYPE_44__ = type { i32, i64, ptr, ptr, ptr, i32 } %struct.TYPE_42__ = type { ptr, ptr, ptr } %struct.TYPE_40__ = type { i64, i64, i64 } @.str = private unnamed_addr constant [34 x i8] c"chunk insert state memory context\00", align 1 @ALLOCSET_DEFAULT_SIZES = dso_local local_unnamed_addr global i32 0, align 4 @InvalidOid = dso_local local_unnamed_addr global i32 0, align 4 @RLS_ENABLED = dso_local local_unnamed_addr global i64 0, align 8 @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @ERRCODE_FEATURE_NOT_SUPPORTED = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"hypertables do not support row-level security\00", align 1 @RowExclusiveLock = dso_local local_unnamed_addr global i32 0, align 4 @RELKIND_RELATION = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [25 x i8] c"insert is not on a table\00", align 1 @ONCONFLICT_NONE = dso_local local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [44 x i8] c"insert trigger on chunk table not supported\00", align 1 @AccessShareLock = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [27 x i8] c"could not convert row type\00", align 1 ; Function Attrs: nounwind uwtable define dso_local ptr @ts_chunk_insert_state_create(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_33__, ptr %1, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr @ALLOCSET_DEFAULT_SIZES, align 4, !tbaa !14 %7 = tail call i32 @AllocSetContextCreate(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !15 %9 = load i32, ptr @InvalidOid, align 4, !tbaa !14 %10 = tail call i64 @check_enable_rls(i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %11 = load i64, ptr @RLS_ENABLED, align 8, !tbaa !17 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr @ERROR, align 4, !tbaa !14 %15 = load i32, ptr @ERRCODE_FEATURE_NOT_SUPPORTED, align 4, !tbaa !14 %16 = tail call i32 @errcode(i32 noundef %15) #2 %17 = tail call i32 @errmsg(ptr noundef nonnull @.str.1) #2 %18 = tail call i32 @ereport(i32 noundef %14, i32 noundef %17) #2 br label %19 19: ; preds = %13, %2 %20 = load ptr, ptr %3, align 8, !tbaa !5 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = tail call i32 @MemoryContextSwitchTo(i32 noundef %21) #2 %23 = load i32, ptr %0, align 4, !tbaa !15 %24 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !14 %25 = tail call ptr @heap_open(i32 noundef %23, i32 noundef %24) #2 %26 = load ptr, ptr %25, align 8, !tbaa !18 %27 = load i64, ptr %26, align 8, !tbaa !20 %28 = load i64, ptr @RELKIND_RELATION, align 8, !tbaa !17 %29 = icmp eq i64 %27, %28 br i1 %29, label %33, label %30 30: ; preds = %19 %31 = load i32, ptr @ERROR, align 4, !tbaa !14 %32 = tail call i32 @elog(i32 noundef %31, ptr noundef nonnull @.str.2) #2 br label %33 33: ; preds = %30, %19 %34 = tail call i32 @create_chunk_range_table_entry(ptr noundef nonnull %1, ptr noundef nonnull %25) #2 %35 = tail call i32 @MemoryContextSwitchTo(i32 noundef %7) #2 %36 = tail call ptr @create_chunk_result_relation_info(ptr noundef nonnull %1, ptr noundef nonnull %25, i32 noundef %34) #2 %37 = getelementptr inbounds %struct.TYPE_33__, ptr %1, i64 0, i32 3 %38 = load i32, ptr %37, align 8, !tbaa !22 %39 = tail call i32 @CheckValidResultRelCompat(ptr noundef %36, i32 noundef %38) #2 %40 = tail call ptr @palloc0(i32 noundef 48) #2 %41 = getelementptr inbounds %struct.TYPE_44__, ptr %40, i64 0, i32 5 store i32 %7, ptr %41, align 8, !tbaa !23 %42 = getelementptr inbounds %struct.TYPE_44__, ptr %40, i64 0, i32 4 store ptr %25, ptr %42, align 8, !tbaa !25 %43 = getelementptr inbounds %struct.TYPE_44__, ptr %40, i64 0, i32 3 store ptr %36, ptr %43, align 8, !tbaa !26 %44 = load ptr, ptr %3, align 8, !tbaa !5 %45 = getelementptr inbounds %struct.TYPE_44__, ptr %40, i64 0, i32 2 store ptr %44, ptr %45, align 8, !tbaa !27 %46 = getelementptr inbounds %struct.TYPE_42__, ptr %36, i64 0, i32 2 %47 = load ptr, ptr %46, align 8, !tbaa !28 %48 = load ptr, ptr %47, align 8, !tbaa !30 %49 = load i64, ptr %48, align 8, !tbaa !32 %50 = icmp eq i64 %49, 0 br i1 %50, label %61, label %51 51: ; preds = %33 %52 = getelementptr inbounds %struct.TYPE_42__, ptr %36, i64 0, i32 1 %53 = load ptr, ptr %52, align 8, !tbaa !34 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %61 55: ; preds = %51 %56 = load i64, ptr %1, align 8, !tbaa !35 %57 = load i64, ptr @ONCONFLICT_NONE, align 8, !tbaa !17 %58 = icmp ne i64 %56, %57 %59 = zext i1 %58 to i32 %60 = tail call i32 @ExecOpenIndices(ptr noundef nonnull %36, i32 noundef %59) #2 br label %61 61: ; preds = %55, %51, %33 %62 = load ptr, ptr %36, align 8, !tbaa !36 %63 = icmp eq ptr %62, null br i1 %63, label %78, label %64 64: ; preds = %61 %65 = getelementptr inbounds %struct.TYPE_40__, ptr %62, i64 0, i32 2 %66 = load i64, ptr %65, align 8, !tbaa !37 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = getelementptr inbounds %struct.TYPE_40__, ptr %62, i64 0, i32 1 %70 = load i64, ptr %69, align 8, !tbaa !39 %71 = icmp eq i64 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = load i64, ptr %62, align 8, !tbaa !40 %74 = icmp eq i64 %73, 0 br i1 %74, label %78, label %75 75: ; preds = %72, %68, %64 %76 = load i32, ptr @ERROR, align 4, !tbaa !14 %77 = tail call i32 @elog(i32 noundef %76, ptr noundef nonnull @.str.3) #2 br label %78 78: ; preds = %72, %75, %61 %79 = load i64, ptr %1, align 8, !tbaa !35 %80 = load i64, ptr @ONCONFLICT_NONE, align 8, !tbaa !17 %81 = icmp eq i64 %79, %80 br i1 %81, label %84, label %82 82: ; preds = %78 %83 = tail call i32 @chunk_insert_state_set_arbiter_indexes(ptr noundef nonnull %40, ptr noundef nonnull %1, ptr noundef nonnull %25) #2 br label %84 84: ; preds = %82, %78 %85 = getelementptr inbounds %struct.TYPE_33__, ptr %1, i64 0, i32 1 %86 = load ptr, ptr %85, align 8, !tbaa !41 %87 = load i32, ptr %86, align 4, !tbaa !42 %88 = load i32, ptr @AccessShareLock, align 4, !tbaa !14 %89 = tail call ptr @heap_open(i32 noundef %87, i32 noundef %88) #2 %90 = tail call i32 @RelationGetDescr(ptr noundef %89) #2 %91 = tail call i32 @RelationGetDescr(ptr noundef nonnull %25) #2 %92 = tail call i64 @tuple_conversion_needed(i32 noundef %90, i32 noundef %91) #2 %93 = icmp eq i64 %92, 0 br i1 %93, label %103, label %94 94: ; preds = %84 %95 = tail call i32 @RelationGetDescr(ptr noundef %89) #2 %96 = tail call i32 @RelationGetDescr(ptr noundef nonnull %25) #2 %97 = tail call i32 @gettext_noop(ptr noundef nonnull @.str.4) #2 %98 = tail call i64 @convert_tuples_by_name(i32 noundef %95, i32 noundef %96, i32 noundef %97) #2 %99 = getelementptr inbounds %struct.TYPE_44__, ptr %40, i64 0, i32 1 store i64 %98, ptr %99, align 8, !tbaa !44 %100 = tail call ptr @RelationGetForm(ptr noundef nonnull %25) #2 %101 = load i32, ptr %100, align 4, !tbaa !45 %102 = tail call i32 @adjust_projections(ptr noundef nonnull %40, ptr noundef nonnull %1, i32 noundef %101) #2 br label %103 103: ; preds = %94, %84 %104 = getelementptr inbounds %struct.TYPE_44__, ptr %40, i64 0, i32 1 %105 = load i64, ptr %104, align 8, !tbaa !44 %106 = icmp eq i64 %105, 0 br i1 %106, label %109, label %107 107: ; preds = %103 %108 = tail call i32 @MakeTupleTableSlotCompat(ptr noundef null) #2 store i32 %108, ptr %40, align 8, !tbaa !47 br label %109 109: ; preds = %107, %103 %110 = load i32, ptr @AccessShareLock, align 4, !tbaa !14 %111 = tail call i32 @heap_close(ptr noundef %89, i32 noundef %110) #2 %112 = tail call i32 @MemoryContextSwitchTo(i32 noundef %22) #2 ret ptr %40 } declare i32 @AllocSetContextCreate(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @check_enable_rls(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef) local_unnamed_addr #1 declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1 declare ptr @heap_open(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @create_chunk_range_table_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @create_chunk_result_relation_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CheckValidResultRelCompat(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @palloc0(i32 noundef) local_unnamed_addr #1 declare i32 @ExecOpenIndices(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @chunk_insert_state_set_arbiter_indexes(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tuple_conversion_needed(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RelationGetDescr(ptr noundef) local_unnamed_addr #1 declare i64 @convert_tuples_by_name(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gettext_noop(ptr noundef) local_unnamed_addr #1 declare i32 @adjust_projections(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @RelationGetForm(ptr noundef) local_unnamed_addr #1 declare i32 @MakeTupleTableSlotCompat(ptr noundef) local_unnamed_addr #1 declare i32 @heap_close(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"TYPE_33__", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_37__", !11, i64 0} !14 = !{!11, !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"TYPE_34__", !11, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!19, !10, i64 0} !19 = !{!"TYPE_43__", !10, i64 0} !20 = !{!21, !7, i64 0} !21 = !{!"TYPE_35__", !7, i64 0} !22 = !{!6, !11, i64 24} !23 = !{!24, !11, i64 40} !24 = !{!"TYPE_44__", !11, i64 0, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !11, i64 40} !25 = !{!24, !10, i64 32} !26 = !{!24, !10, i64 24} !27 = !{!24, !10, i64 16} !28 = !{!29, !10, i64 16} !29 = !{!"TYPE_42__", !10, i64 0, !10, i64 8, !10, i64 16} !30 = !{!31, !10, i64 0} !31 = !{!"TYPE_39__", !10, i64 0} !32 = !{!33, !7, i64 0} !33 = !{!"TYPE_38__", !7, i64 0} !34 = !{!29, !10, i64 8} !35 = !{!6, !7, i64 0} !36 = !{!29, !10, i64 0} !37 = !{!38, !7, i64 16} !38 = !{!"TYPE_40__", !7, i64 0, !7, i64 8, !7, i64 16} !39 = !{!38, !7, i64 8} !40 = !{!38, !7, i64 0} !41 = !{!6, !10, i64 8} !42 = !{!43, !11, i64 0} !43 = !{!"TYPE_41__", !11, i64 0} !44 = !{!24, !7, i64 8} !45 = !{!46, !11, i64 0} !46 = !{!"TYPE_36__", !11, i64 0} !47 = !{!24, !11, i64 0}
; ModuleID = 'AnghaBench/timescaledb/src/extr_chunk_insert_state.c_ts_chunk_insert_state_create.c' source_filename = "AnghaBench/timescaledb/src/extr_chunk_insert_state.c_ts_chunk_insert_state_create.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 [34 x i8] c"chunk insert state memory context\00", align 1 @ALLOCSET_DEFAULT_SIZES = common local_unnamed_addr global i32 0, align 4 @InvalidOid = common local_unnamed_addr global i32 0, align 4 @RLS_ENABLED = common local_unnamed_addr global i64 0, align 8 @ERROR = common local_unnamed_addr global i32 0, align 4 @ERRCODE_FEATURE_NOT_SUPPORTED = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [46 x i8] c"hypertables do not support row-level security\00", align 1 @RowExclusiveLock = common local_unnamed_addr global i32 0, align 4 @RELKIND_RELATION = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [25 x i8] c"insert is not on a table\00", align 1 @ONCONFLICT_NONE = common local_unnamed_addr global i64 0, align 8 @.str.3 = private unnamed_addr constant [44 x i8] c"insert trigger on chunk table not supported\00", align 1 @AccessShareLock = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [27 x i8] c"could not convert row type\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @ts_chunk_insert_state_create(ptr nocapture noundef readonly %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !13 %6 = load i32, ptr @ALLOCSET_DEFAULT_SIZES, align 4, !tbaa !15 %7 = tail call i32 @AllocSetContextCreate(i32 noundef %5, ptr noundef nonnull @.str, i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !16 %9 = load i32, ptr @InvalidOid, align 4, !tbaa !15 %10 = tail call i64 @check_enable_rls(i32 noundef %8, i32 noundef %9, i32 noundef 0) #2 %11 = load i64, ptr @RLS_ENABLED, align 8, !tbaa !18 %12 = icmp eq i64 %10, %11 br i1 %12, label %13, label %19 13: ; preds = %2 %14 = load i32, ptr @ERROR, align 4, !tbaa !15 %15 = load i32, ptr @ERRCODE_FEATURE_NOT_SUPPORTED, align 4, !tbaa !15 %16 = tail call i32 @errcode(i32 noundef %15) #2 %17 = tail call i32 @errmsg(ptr noundef nonnull @.str.1) #2 %18 = tail call i32 @ereport(i32 noundef %14, i32 noundef %17) #2 br label %19 19: ; preds = %13, %2 %20 = load ptr, ptr %3, align 8, !tbaa !6 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = tail call i32 @MemoryContextSwitchTo(i32 noundef %21) #2 %23 = load i32, ptr %0, align 4, !tbaa !16 %24 = load i32, ptr @RowExclusiveLock, align 4, !tbaa !15 %25 = tail call ptr @heap_open(i32 noundef %23, i32 noundef %24) #2 %26 = load ptr, ptr %25, align 8, !tbaa !19 %27 = load i64, ptr %26, align 8, !tbaa !21 %28 = load i64, ptr @RELKIND_RELATION, align 8, !tbaa !18 %29 = icmp eq i64 %27, %28 br i1 %29, label %33, label %30 30: ; preds = %19 %31 = load i32, ptr @ERROR, align 4, !tbaa !15 %32 = tail call i32 @elog(i32 noundef %31, ptr noundef nonnull @.str.2) #2 br label %33 33: ; preds = %30, %19 %34 = tail call i32 @create_chunk_range_table_entry(ptr noundef nonnull %1, ptr noundef nonnull %25) #2 %35 = tail call i32 @MemoryContextSwitchTo(i32 noundef %7) #2 %36 = tail call ptr @create_chunk_result_relation_info(ptr noundef nonnull %1, ptr noundef nonnull %25, i32 noundef %34) #2 %37 = getelementptr inbounds i8, ptr %1, i64 24 %38 = load i32, ptr %37, align 8, !tbaa !23 %39 = tail call i32 @CheckValidResultRelCompat(ptr noundef %36, i32 noundef %38) #2 %40 = tail call ptr @palloc0(i32 noundef 48) #2 %41 = getelementptr inbounds i8, ptr %40, i64 40 store i32 %7, ptr %41, align 8, !tbaa !24 %42 = getelementptr inbounds i8, ptr %40, i64 32 store ptr %25, ptr %42, align 8, !tbaa !26 %43 = getelementptr inbounds i8, ptr %40, i64 24 store ptr %36, ptr %43, align 8, !tbaa !27 %44 = load ptr, ptr %3, align 8, !tbaa !6 %45 = getelementptr inbounds i8, ptr %40, i64 16 store ptr %44, ptr %45, align 8, !tbaa !28 %46 = getelementptr inbounds i8, ptr %36, i64 16 %47 = load ptr, ptr %46, align 8, !tbaa !29 %48 = load ptr, ptr %47, align 8, !tbaa !31 %49 = load i64, ptr %48, align 8, !tbaa !33 %50 = icmp eq i64 %49, 0 br i1 %50, label %61, label %51 51: ; preds = %33 %52 = getelementptr inbounds i8, ptr %36, i64 8 %53 = load ptr, ptr %52, align 8, !tbaa !35 %54 = icmp eq ptr %53, null br i1 %54, label %55, label %61 55: ; preds = %51 %56 = load i64, ptr %1, align 8, !tbaa !36 %57 = load i64, ptr @ONCONFLICT_NONE, align 8, !tbaa !18 %58 = icmp ne i64 %56, %57 %59 = zext i1 %58 to i32 %60 = tail call i32 @ExecOpenIndices(ptr noundef nonnull %36, i32 noundef %59) #2 br label %61 61: ; preds = %55, %51, %33 %62 = load ptr, ptr %36, align 8, !tbaa !37 %63 = icmp eq ptr %62, null br i1 %63, label %78, label %64 64: ; preds = %61 %65 = getelementptr inbounds i8, ptr %62, i64 16 %66 = load i64, ptr %65, align 8, !tbaa !38 %67 = icmp eq i64 %66, 0 br i1 %67, label %68, label %75 68: ; preds = %64 %69 = getelementptr inbounds i8, ptr %62, i64 8 %70 = load i64, ptr %69, align 8, !tbaa !40 %71 = icmp eq i64 %70, 0 br i1 %71, label %72, label %75 72: ; preds = %68 %73 = load i64, ptr %62, align 8, !tbaa !41 %74 = icmp eq i64 %73, 0 br i1 %74, label %78, label %75 75: ; preds = %72, %68, %64 %76 = load i32, ptr @ERROR, align 4, !tbaa !15 %77 = tail call i32 @elog(i32 noundef %76, ptr noundef nonnull @.str.3) #2 br label %78 78: ; preds = %72, %75, %61 %79 = load i64, ptr %1, align 8, !tbaa !36 %80 = load i64, ptr @ONCONFLICT_NONE, align 8, !tbaa !18 %81 = icmp eq i64 %79, %80 br i1 %81, label %84, label %82 82: ; preds = %78 %83 = tail call i32 @chunk_insert_state_set_arbiter_indexes(ptr noundef nonnull %40, ptr noundef nonnull %1, ptr noundef nonnull %25) #2 br label %84 84: ; preds = %82, %78 %85 = getelementptr inbounds i8, ptr %1, i64 8 %86 = load ptr, ptr %85, align 8, !tbaa !42 %87 = load i32, ptr %86, align 4, !tbaa !43 %88 = load i32, ptr @AccessShareLock, align 4, !tbaa !15 %89 = tail call ptr @heap_open(i32 noundef %87, i32 noundef %88) #2 %90 = tail call i32 @RelationGetDescr(ptr noundef %89) #2 %91 = tail call i32 @RelationGetDescr(ptr noundef nonnull %25) #2 %92 = tail call i64 @tuple_conversion_needed(i32 noundef %90, i32 noundef %91) #2 %93 = icmp eq i64 %92, 0 br i1 %93, label %103, label %94 94: ; preds = %84 %95 = tail call i32 @RelationGetDescr(ptr noundef %89) #2 %96 = tail call i32 @RelationGetDescr(ptr noundef nonnull %25) #2 %97 = tail call i32 @gettext_noop(ptr noundef nonnull @.str.4) #2 %98 = tail call i64 @convert_tuples_by_name(i32 noundef %95, i32 noundef %96, i32 noundef %97) #2 %99 = getelementptr inbounds i8, ptr %40, i64 8 store i64 %98, ptr %99, align 8, !tbaa !45 %100 = tail call ptr @RelationGetForm(ptr noundef nonnull %25) #2 %101 = load i32, ptr %100, align 4, !tbaa !46 %102 = tail call i32 @adjust_projections(ptr noundef nonnull %40, ptr noundef nonnull %1, i32 noundef %101) #2 br label %103 103: ; preds = %94, %84 %104 = getelementptr inbounds i8, ptr %40, i64 8 %105 = load i64, ptr %104, align 8, !tbaa !45 %106 = icmp eq i64 %105, 0 br i1 %106, label %109, label %107 107: ; preds = %103 %108 = tail call i32 @MakeTupleTableSlotCompat(ptr noundef null) #2 store i32 %108, ptr %40, align 8, !tbaa !48 br label %109 109: ; preds = %107, %103 %110 = load i32, ptr @AccessShareLock, align 4, !tbaa !15 %111 = tail call i32 @heap_close(ptr noundef %89, i32 noundef %110) #2 %112 = tail call i32 @MemoryContextSwitchTo(i32 noundef %22) #2 ret ptr %40 } declare i32 @AllocSetContextCreate(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @check_enable_rls(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ereport(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @errcode(i32 noundef) local_unnamed_addr #1 declare i32 @errmsg(ptr noundef) local_unnamed_addr #1 declare i32 @MemoryContextSwitchTo(i32 noundef) local_unnamed_addr #1 declare ptr @heap_open(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @create_chunk_range_table_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @create_chunk_result_relation_info(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CheckValidResultRelCompat(ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @palloc0(i32 noundef) local_unnamed_addr #1 declare i32 @ExecOpenIndices(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @chunk_insert_state_set_arbiter_indexes(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i64 @tuple_conversion_needed(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RelationGetDescr(ptr noundef) local_unnamed_addr #1 declare i64 @convert_tuples_by_name(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gettext_noop(ptr noundef) local_unnamed_addr #1 declare i32 @adjust_projections(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @RelationGetForm(ptr noundef) local_unnamed_addr #1 declare i32 @MakeTupleTableSlotCompat(ptr noundef) local_unnamed_addr #1 declare i32 @heap_close(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"TYPE_33__", !8, i64 0, !11, i64 8, !11, i64 16, !12, i64 24} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_37__", !12, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"TYPE_34__", !12, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"TYPE_43__", !11, i64 0} !21 = !{!22, !8, i64 0} !22 = !{!"TYPE_35__", !8, i64 0} !23 = !{!7, !12, i64 24} !24 = !{!25, !12, i64 40} !25 = !{!"TYPE_44__", !12, i64 0, !8, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !12, i64 40} !26 = !{!25, !11, i64 32} !27 = !{!25, !11, i64 24} !28 = !{!25, !11, i64 16} !29 = !{!30, !11, i64 16} !30 = !{!"TYPE_42__", !11, i64 0, !11, i64 8, !11, i64 16} !31 = !{!32, !11, i64 0} !32 = !{!"TYPE_39__", !11, i64 0} !33 = !{!34, !8, i64 0} !34 = !{!"TYPE_38__", !8, i64 0} !35 = !{!30, !11, i64 8} !36 = !{!7, !8, i64 0} !37 = !{!30, !11, i64 0} !38 = !{!39, !8, i64 16} !39 = !{!"TYPE_40__", !8, i64 0, !8, i64 8, !8, i64 16} !40 = !{!39, !8, i64 8} !41 = !{!39, !8, i64 0} !42 = !{!7, !11, i64 8} !43 = !{!44, !12, i64 0} !44 = !{!"TYPE_41__", !12, i64 0} !45 = !{!25, !8, i64 8} !46 = !{!47, !12, i64 0} !47 = !{!"TYPE_36__", !12, i64 0} !48 = !{!25, !12, i64 0}
timescaledb_src_extr_chunk_insert_state.c_ts_chunk_insert_state_create
; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_skb_seq_read.c' source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_skb_seq_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.skb_seq_state = type { i32, i32, i32, i64, ptr, ptr, ptr } %struct.TYPE_6__ = type { ptr, ptr } %struct.TYPE_5__ = type { i64, ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local i32 @skb_seq_read(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %2, align 8, !tbaa !5 %5 = add i32 %4, %0 %6 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !12 %8 = icmp uge i32 %5, %7 %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %3 %13 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 4 %14 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 2 %15 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 6 %16 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 3 %17 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 5 %18 = load ptr, ptr %13, align 8, !tbaa !13 br label %25 19: ; preds = %3 %20 = getelementptr inbounds %struct.skb_seq_state, ptr %2, i64 0, i32 6 %21 = load ptr, ptr %20, align 8, !tbaa !14 %22 = icmp eq ptr %21, null br i1 %22, label %126, label %23 23: ; preds = %19 %24 = tail call i32 @kunmap_atomic(ptr noundef nonnull %21) #2 store ptr null, ptr %20, align 8, !tbaa !14 br label %126 25: ; preds = %120, %12 %26 = phi ptr [ %121, %120 ], [ %18, %12 ] %27 = tail call i32 @skb_headlen(ptr noundef %26) #2 %28 = load i32, ptr %14, align 8, !tbaa !15 %29 = add i32 %28, %27 %30 = icmp ult i32 %5, %29 br i1 %30, label %31, label %42 31: ; preds = %25 %32 = load ptr, ptr %15, align 8, !tbaa !14 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %13, align 8, !tbaa !13 %36 = getelementptr inbounds %struct.TYPE_6__, ptr %35, i64 0, i32 1 %37 = load ptr, ptr %36, align 8, !tbaa !16 %38 = sub i32 %5, %28 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 store ptr %40, ptr %1, align 8, !tbaa !18 %41 = sub i32 %29, %5 br label %126 42: ; preds = %31, %25 %43 = load i64, ptr %16, align 8, !tbaa !19 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %54 45: ; preds = %42 %46 = load ptr, ptr %15, align 8, !tbaa !14 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load ptr, ptr %13, align 8, !tbaa !13 %50 = tail call i32 @skb_headlen(ptr noundef %49) #2 %51 = load i32, ptr %14, align 8, !tbaa !15 %52 = add i32 %51, %50 store i32 %52, ptr %14, align 8, !tbaa !15 %53 = load i64, ptr %16, align 8, !tbaa !19 br label %54 54: ; preds = %48, %45, %42 %55 = phi i64 [ %53, %48 ], [ 0, %45 ], [ %43, %42 ] %56 = load ptr, ptr %13, align 8, !tbaa !13 %57 = tail call ptr @skb_shinfo(ptr noundef %56) #2 %58 = load i64, ptr %57, align 8, !tbaa !20 %59 = icmp ult i64 %55, %58 br i1 %59, label %60, label %101 60: ; preds = %54, %90 %61 = load ptr, ptr %13, align 8, !tbaa !13 %62 = tail call ptr @skb_shinfo(ptr noundef %61) #2 %63 = getelementptr inbounds %struct.TYPE_5__, ptr %62, i64 0, i32 2 %64 = load ptr, ptr %63, align 8, !tbaa !22 %65 = load i64, ptr %16, align 8, !tbaa !19 %66 = getelementptr inbounds i32, ptr %64, i64 %65 %67 = tail call i32 @skb_frag_size(ptr noundef %66) #2 %68 = load i32, ptr %14, align 8, !tbaa !15 %69 = add i32 %68, %67 %70 = icmp ult i32 %5, %69 %71 = load ptr, ptr %15, align 8, !tbaa !14 %72 = icmp eq ptr %71, null br i1 %70, label %73, label %87 73: ; preds = %60 br i1 %72, label %74, label %77 74: ; preds = %73 %75 = tail call i32 @skb_frag_page(ptr noundef %66) #2 %76 = tail call ptr @kmap_atomic(i32 noundef %75) #2 store ptr %76, ptr %15, align 8, !tbaa !14 br label %77 77: ; preds = %74, %73 %78 = phi ptr [ %76, %74 ], [ %71, %73 ] %79 = tail call i32 @skb_frag_off(ptr noundef %66) #2 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %14, align 8, !tbaa !15 %83 = sub i32 %5, %82 %84 = zext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %81, i64 %84 store ptr %85, ptr %1, align 8, !tbaa !18 %86 = sub i32 %69, %5 br label %126 87: ; preds = %60 br i1 %72, label %90, label %88 88: ; preds = %87 %89 = tail call i32 @kunmap_atomic(ptr noundef nonnull %71) #2 store ptr null, ptr %15, align 8, !tbaa !14 br label %90 90: ; preds = %88, %87 %91 = load i64, ptr %16, align 8, !tbaa !19 %92 = add i64 %91, 1 store i64 %92, ptr %16, align 8, !tbaa !19 %93 = tail call i32 @skb_frag_size(ptr noundef %66) #2 %94 = load i32, ptr %14, align 8, !tbaa !15 %95 = add i32 %94, %93 store i32 %95, ptr %14, align 8, !tbaa !15 %96 = load i64, ptr %16, align 8, !tbaa !19 %97 = load ptr, ptr %13, align 8, !tbaa !13 %98 = tail call ptr @skb_shinfo(ptr noundef %97) #2 %99 = load i64, ptr %98, align 8, !tbaa !20 %100 = icmp ult i64 %96, %99 br i1 %100, label %60, label %101, !llvm.loop !23 101: ; preds = %90, %54 %102 = load ptr, ptr %15, align 8, !tbaa !14 %103 = icmp eq ptr %102, null br i1 %103, label %106, label %104 104: ; preds = %101 %105 = tail call i32 @kunmap_atomic(ptr noundef nonnull %102) #2 store ptr null, ptr %15, align 8, !tbaa !14 br label %106 106: ; preds = %104, %101 %107 = load ptr, ptr %17, align 8, !tbaa !25 %108 = load ptr, ptr %13, align 8, !tbaa !13 %109 = icmp eq ptr %107, %108 br i1 %109, label %110, label %122 110: ; preds = %106 %111 = tail call i64 @skb_has_frag_list(ptr noundef %107) #2 %112 = icmp eq i64 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %110 %114 = load ptr, ptr %13, align 8, !tbaa !13 br label %122 115: ; preds = %110 %116 = load ptr, ptr %17, align 8, !tbaa !25 %117 = tail call ptr @skb_shinfo(ptr noundef %116) #2 %118 = getelementptr inbounds %struct.TYPE_5__, ptr %117, i64 0, i32 1 %119 = load ptr, ptr %118, align 8, !tbaa !26 br label %120 120: ; preds = %122, %115 %121 = phi ptr [ %119, %115 ], [ %124, %122 ] store ptr %121, ptr %13, align 8, !tbaa !13 store i64 0, ptr %16, align 8, !tbaa !19 br label %25 122: ; preds = %113, %106 %123 = phi ptr [ %114, %113 ], [ %108, %106 ] %124 = load ptr, ptr %123, align 8, !tbaa !27 %125 = icmp eq ptr %124, null br i1 %125, label %126, label %120 126: ; preds = %122, %19, %23, %77, %34 %127 = phi i32 [ %86, %77 ], [ %41, %34 ], [ 0, %23 ], [ 0, %19 ], [ 0, %122 ] ret i32 %127 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @kunmap_atomic(ptr noundef) local_unnamed_addr #1 declare i32 @skb_headlen(ptr noundef) local_unnamed_addr #1 declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1 declare i32 @skb_frag_size(ptr noundef) local_unnamed_addr #1 declare ptr @kmap_atomic(i32 noundef) local_unnamed_addr #1 declare i32 @skb_frag_page(ptr noundef) local_unnamed_addr #1 declare i32 @skb_frag_off(ptr noundef) local_unnamed_addr #1 declare i64 @skb_has_frag_list(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 = !{!"skb_seq_state", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !11, i64 24, !11, i64 32, !11, i64 40} !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 = !{!6, !7, i64 4} !13 = !{!6, !11, i64 24} !14 = !{!6, !11, i64 40} !15 = !{!6, !7, i64 8} !16 = !{!17, !11, i64 8} !17 = !{!"TYPE_6__", !11, i64 0, !11, i64 8} !18 = !{!11, !11, i64 0} !19 = !{!6, !10, i64 16} !20 = !{!21, !10, i64 0} !21 = !{!"TYPE_5__", !10, i64 0, !11, i64 8, !11, i64 16} !22 = !{!21, !11, i64 16} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!6, !11, i64 32} !26 = !{!21, !11, i64 8} !27 = !{!17, !11, i64 0}
; ModuleID = 'AnghaBench/linux/net/core/extr_skbuff.c_skb_seq_read.c' source_filename = "AnghaBench/linux/net/core/extr_skbuff.c_skb_seq_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i32 @skb_seq_read(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr %2, align 8, !tbaa !6 %5 = add i32 %4, %0 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = icmp uge i32 %5, %7 %9 = zext i1 %8 to i32 %10 = tail call i64 @unlikely(i32 noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %19 12: ; preds = %3 %13 = getelementptr inbounds i8, ptr %2, i64 24 %14 = getelementptr inbounds i8, ptr %2, i64 8 %15 = getelementptr inbounds i8, ptr %2, i64 40 %16 = getelementptr inbounds i8, ptr %2, i64 16 %17 = getelementptr inbounds i8, ptr %2, i64 32 %18 = load ptr, ptr %13, align 8, !tbaa !14 br label %25 19: ; preds = %3 %20 = getelementptr inbounds i8, ptr %2, i64 40 %21 = load ptr, ptr %20, align 8, !tbaa !15 %22 = icmp eq ptr %21, null br i1 %22, label %126, label %23 23: ; preds = %19 %24 = tail call i32 @kunmap_atomic(ptr noundef nonnull %21) #2 store ptr null, ptr %20, align 8, !tbaa !15 br label %126 25: ; preds = %120, %12 %26 = phi ptr [ %121, %120 ], [ %18, %12 ] %27 = tail call i32 @skb_headlen(ptr noundef %26) #2 %28 = load i32, ptr %14, align 8, !tbaa !16 %29 = add i32 %28, %27 %30 = icmp ult i32 %5, %29 br i1 %30, label %31, label %42 31: ; preds = %25 %32 = load ptr, ptr %15, align 8, !tbaa !15 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %42 34: ; preds = %31 %35 = load ptr, ptr %13, align 8, !tbaa !14 %36 = getelementptr inbounds i8, ptr %35, i64 8 %37 = load ptr, ptr %36, align 8, !tbaa !17 %38 = sub i32 %5, %28 %39 = zext i32 %38 to i64 %40 = getelementptr inbounds i32, ptr %37, i64 %39 store ptr %40, ptr %1, align 8, !tbaa !19 %41 = sub i32 %29, %5 br label %126 42: ; preds = %31, %25 %43 = load i64, ptr %16, align 8, !tbaa !20 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %54 45: ; preds = %42 %46 = load ptr, ptr %15, align 8, !tbaa !15 %47 = icmp eq ptr %46, null br i1 %47, label %48, label %54 48: ; preds = %45 %49 = load ptr, ptr %13, align 8, !tbaa !14 %50 = tail call i32 @skb_headlen(ptr noundef %49) #2 %51 = load i32, ptr %14, align 8, !tbaa !16 %52 = add i32 %51, %50 store i32 %52, ptr %14, align 8, !tbaa !16 %53 = load i64, ptr %16, align 8, !tbaa !20 br label %54 54: ; preds = %48, %45, %42 %55 = phi i64 [ %53, %48 ], [ 0, %45 ], [ %43, %42 ] %56 = load ptr, ptr %13, align 8, !tbaa !14 %57 = tail call ptr @skb_shinfo(ptr noundef %56) #2 %58 = load i64, ptr %57, align 8, !tbaa !21 %59 = icmp ult i64 %55, %58 br i1 %59, label %60, label %101 60: ; preds = %54, %90 %61 = load ptr, ptr %13, align 8, !tbaa !14 %62 = tail call ptr @skb_shinfo(ptr noundef %61) #2 %63 = getelementptr inbounds i8, ptr %62, i64 16 %64 = load ptr, ptr %63, align 8, !tbaa !23 %65 = load i64, ptr %16, align 8, !tbaa !20 %66 = getelementptr inbounds i32, ptr %64, i64 %65 %67 = tail call i32 @skb_frag_size(ptr noundef %66) #2 %68 = load i32, ptr %14, align 8, !tbaa !16 %69 = add i32 %68, %67 %70 = icmp ult i32 %5, %69 %71 = load ptr, ptr %15, align 8, !tbaa !15 %72 = icmp eq ptr %71, null br i1 %70, label %73, label %87 73: ; preds = %60 br i1 %72, label %74, label %77 74: ; preds = %73 %75 = tail call i32 @skb_frag_page(ptr noundef %66) #2 %76 = tail call ptr @kmap_atomic(i32 noundef %75) #2 store ptr %76, ptr %15, align 8, !tbaa !15 br label %77 77: ; preds = %74, %73 %78 = phi ptr [ %76, %74 ], [ %71, %73 ] %79 = tail call i32 @skb_frag_off(ptr noundef %66) #2 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds i32, ptr %78, i64 %80 %82 = load i32, ptr %14, align 8, !tbaa !16 %83 = sub i32 %5, %82 %84 = zext i32 %83 to i64 %85 = getelementptr inbounds i32, ptr %81, i64 %84 store ptr %85, ptr %1, align 8, !tbaa !19 %86 = sub i32 %69, %5 br label %126 87: ; preds = %60 br i1 %72, label %90, label %88 88: ; preds = %87 %89 = tail call i32 @kunmap_atomic(ptr noundef nonnull %71) #2 store ptr null, ptr %15, align 8, !tbaa !15 br label %90 90: ; preds = %88, %87 %91 = load i64, ptr %16, align 8, !tbaa !20 %92 = add i64 %91, 1 store i64 %92, ptr %16, align 8, !tbaa !20 %93 = tail call i32 @skb_frag_size(ptr noundef %66) #2 %94 = load i32, ptr %14, align 8, !tbaa !16 %95 = add i32 %94, %93 store i32 %95, ptr %14, align 8, !tbaa !16 %96 = load i64, ptr %16, align 8, !tbaa !20 %97 = load ptr, ptr %13, align 8, !tbaa !14 %98 = tail call ptr @skb_shinfo(ptr noundef %97) #2 %99 = load i64, ptr %98, align 8, !tbaa !21 %100 = icmp ult i64 %96, %99 br i1 %100, label %60, label %101, !llvm.loop !24 101: ; preds = %90, %54 %102 = load ptr, ptr %15, align 8, !tbaa !15 %103 = icmp eq ptr %102, null br i1 %103, label %106, label %104 104: ; preds = %101 %105 = tail call i32 @kunmap_atomic(ptr noundef nonnull %102) #2 store ptr null, ptr %15, align 8, !tbaa !15 br label %106 106: ; preds = %104, %101 %107 = load ptr, ptr %17, align 8, !tbaa !26 %108 = load ptr, ptr %13, align 8, !tbaa !14 %109 = icmp eq ptr %107, %108 br i1 %109, label %110, label %122 110: ; preds = %106 %111 = tail call i64 @skb_has_frag_list(ptr noundef %107) #2 %112 = icmp eq i64 %111, 0 br i1 %112, label %113, label %115 113: ; preds = %110 %114 = load ptr, ptr %13, align 8, !tbaa !14 br label %122 115: ; preds = %110 %116 = load ptr, ptr %17, align 8, !tbaa !26 %117 = tail call ptr @skb_shinfo(ptr noundef %116) #2 %118 = getelementptr inbounds i8, ptr %117, i64 8 %119 = load ptr, ptr %118, align 8, !tbaa !27 br label %120 120: ; preds = %122, %115 %121 = phi ptr [ %119, %115 ], [ %124, %122 ] store ptr %121, ptr %13, align 8, !tbaa !14 store i64 0, ptr %16, align 8, !tbaa !20 br label %25 122: ; preds = %113, %106 %123 = phi ptr [ %114, %113 ], [ %108, %106 ] %124 = load ptr, ptr %123, align 8, !tbaa !28 %125 = icmp eq ptr %124, null br i1 %125, label %126, label %120 126: ; preds = %122, %19, %23, %77, %34 %127 = phi i32 [ %86, %77 ], [ %41, %34 ], [ 0, %23 ], [ 0, %19 ], [ 0, %122 ] ret i32 %127 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @kunmap_atomic(ptr noundef) local_unnamed_addr #1 declare i32 @skb_headlen(ptr noundef) local_unnamed_addr #1 declare ptr @skb_shinfo(ptr noundef) local_unnamed_addr #1 declare i32 @skb_frag_size(ptr noundef) local_unnamed_addr #1 declare ptr @kmap_atomic(i32 noundef) local_unnamed_addr #1 declare i32 @skb_frag_page(ptr noundef) local_unnamed_addr #1 declare i32 @skb_frag_off(ptr noundef) local_unnamed_addr #1 declare i64 @skb_has_frag_list(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 = !{!"skb_seq_state", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !12, i64 24, !12, i64 32, !12, i64 40} !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 = !{!7, !8, i64 4} !14 = !{!7, !12, i64 24} !15 = !{!7, !12, i64 40} !16 = !{!7, !8, i64 8} !17 = !{!18, !12, i64 8} !18 = !{!"TYPE_6__", !12, i64 0, !12, i64 8} !19 = !{!12, !12, i64 0} !20 = !{!7, !11, i64 16} !21 = !{!22, !11, i64 0} !22 = !{!"TYPE_5__", !11, i64 0, !12, i64 8, !12, i64 16} !23 = !{!22, !12, i64 16} !24 = distinct !{!24, !25} !25 = !{!"llvm.loop.mustprogress"} !26 = !{!7, !12, i64 32} !27 = !{!22, !12, i64 8} !28 = !{!18, !12, i64 0}
linux_net_core_extr_skbuff.c_skb_seq_read
; ModuleID = 'AnghaBench/freebsd/lib/libc/isc/extr_ev_timers.c_due_sooner.c' source_filename = "AnghaBench/freebsd/lib/libc/isc/extr_ev_timers.c_due_sooner.c" target datalayout = "e-m:e-p270:32:32-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 @due_sooner], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @due_sooner(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call i64 @evCmpTime(i32 noundef %3, i32 noundef %4) #2 %6 = lshr i64 %5, 63 %7 = trunc i64 %6 to i32 ret i32 %7 } declare i64 @evCmpTime(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_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/lib/libc/isc/extr_ev_timers.c_due_sooner.c' source_filename = "AnghaBench/freebsd/lib/libc/isc/extr_ev_timers.c_due_sooner.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 @due_sooner], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @due_sooner(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call i64 @evCmpTime(i32 noundef %3, i32 noundef %4) #2 %6 = lshr i64 %5, 63 %7 = trunc nuw nsw i64 %6 to i32 ret i32 %7 } declare i64 @evCmpTime(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_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_lib_libc_isc_extr_ev_timers.c_due_sooner
; ModuleID = 'AnghaBench/darknet/src/extr_utils.c_int_index.c' source_filename = "AnghaBench/darknet/src/extr_utils.c_int_index.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local i32 @int_index(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %17 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %12 %8 = phi i64 [ 0, %5 ], [ %13, %12 ] %9 = getelementptr inbounds i32, ptr %0, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !5 %11 = icmp eq i32 %10, %1 br i1 %11, label %15, label %12 12: ; preds = %7 %13 = add nuw nsw i64 %8, 1 %14 = icmp eq i64 %13, %6 br i1 %14, label %17, label %7, !llvm.loop !9 15: ; preds = %7 %16 = trunc i64 %8 to i32 br label %17 17: ; preds = %12, %15, %3 %18 = phi i32 [ -1, %3 ], [ %16, %15 ], [ -1, %12 ] ret i32 %18 } attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/darknet/src/extr_utils.c_int_index.c' source_filename = "AnghaBench/darknet/src/extr_utils.c_int_index.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define i32 @int_index(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = icmp sgt i32 %2, 0 br i1 %4, label %5, label %17 5: ; preds = %3 %6 = zext nneg i32 %2 to i64 br label %7 7: ; preds = %5, %12 %8 = phi i64 [ 0, %5 ], [ %13, %12 ] %9 = getelementptr inbounds i32, ptr %0, i64 %8 %10 = load i32, ptr %9, align 4, !tbaa !6 %11 = icmp eq i32 %10, %1 br i1 %11, label %15, label %12 12: ; preds = %7 %13 = add nuw nsw i64 %8, 1 %14 = icmp eq i64 %13, %6 br i1 %14, label %17, label %7, !llvm.loop !10 15: ; preds = %7 %16 = trunc nuw nsw i64 %8 to i32 br label %17 17: ; preds = %12, %15, %3 %18 = phi i32 [ -1, %3 ], [ %16, %15 ], [ -1, %12 ] ret i32 %18 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
darknet_src_extr_utils.c_int_index
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_dme1737.c_dme1737_write.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_dme1737.c_dme1737_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dme1737_data = type { i64, ptr } @.str = private unnamed_addr constant [74 x i8] c"Write to register 0x%02x failed! Please report to the driver maintainer.\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @dme1737_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @dme1737_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds %struct.dme1737_data, ptr %0, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %3 %8 = tail call i64 @i2c_smbus_write_byte_data(ptr noundef nonnull %5, i32 noundef %1, i32 noundef %2) #2 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = tail call i32 @dev_warn(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %1) #2 br label %18 12: ; preds = %3 %13 = load i64, ptr %0, align 8, !tbaa !11 %14 = tail call i32 @outb(i32 noundef %1, i64 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !11 %16 = add nsw i64 %15, 1 %17 = tail call i32 @outb(i32 noundef %2, i64 noundef %16) #2 br label %18 18: ; preds = %7, %10, %12 %19 = phi i64 [ %8, %10 ], [ %8, %7 ], [ 0, %12 ] ret i64 %19 } declare i64 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outb(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, !10, i64 8} !6 = !{!"dme1737_data", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_dme1737.c_dme1737_write.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_dme1737.c_dme1737_write.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 [74 x i8] c"Write to register 0x%02x failed! Please report to the driver maintainer.\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @dme1737_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @dme1737_write(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %0, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %3 %8 = tail call i64 @i2c_smbus_write_byte_data(ptr noundef nonnull %5, i32 noundef %1, i32 noundef %2) #2 %9 = icmp slt i64 %8, 0 br i1 %9, label %10, label %18 10: ; preds = %7 %11 = tail call i32 @dev_warn(ptr noundef nonnull %5, ptr noundef nonnull @.str, i32 noundef %1) #2 br label %18 12: ; preds = %3 %13 = load i64, ptr %0, align 8, !tbaa !12 %14 = tail call i32 @outb(i32 noundef %1, i64 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !12 %16 = add nsw i64 %15, 1 %17 = tail call i32 @outb(i32 noundef %2, i64 noundef %16) #2 br label %18 18: ; preds = %7, %10, %12 %19 = phi i64 [ %8, %10 ], [ %8, %7 ], [ 0, %12 ] ret i64 %19 } declare i64 @i2c_smbus_write_byte_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_warn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @outb(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, !11, i64 8} !7 = !{!"dme1737_data", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !8, i64 0}
fastsocket_kernel_drivers_hwmon_extr_dme1737.c_dme1737_write
; ModuleID = 'AnghaBench/linux/drivers/isdn/mISDN/extr_l1oip_codec.c_l1oip_4bit_free.c' source_filename = "AnghaBench/linux/drivers/isdn/mISDN/extr_l1oip_codec.c_l1oip_4bit_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" @table_dec = dso_local local_unnamed_addr global ptr null, align 8 @table_com = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @l1oip_4bit_free() local_unnamed_addr #0 { %1 = load ptr, ptr @table_dec, align 8, !tbaa !5 %2 = tail call i32 @vfree(ptr noundef %1) #2 %3 = load ptr, ptr @table_com, align 8, !tbaa !5 %4 = tail call i32 @vfree(ptr noundef %3) #2 store ptr null, ptr @table_com, align 8, !tbaa !5 store ptr null, ptr @table_dec, align 8, !tbaa !5 ret void } 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, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/isdn/mISDN/extr_l1oip_codec.c_l1oip_4bit_free.c' source_filename = "AnghaBench/linux/drivers/isdn/mISDN/extr_l1oip_codec.c_l1oip_4bit_free.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @table_dec = common local_unnamed_addr global ptr null, align 8 @table_com = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @l1oip_4bit_free() local_unnamed_addr #0 { %1 = load ptr, ptr @table_dec, align 8, !tbaa !6 %2 = tail call i32 @vfree(ptr noundef %1) #2 %3 = load ptr, ptr @table_com, align 8, !tbaa !6 %4 = tail call i32 @vfree(ptr noundef %3) #2 store ptr null, ptr @table_com, align 8, !tbaa !6 store ptr null, ptr @table_dec, align 8, !tbaa !6 ret void } 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, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_isdn_mISDN_extr_l1oip_codec.c_l1oip_4bit_free
; ModuleID = 'AnghaBench/freebsd/lib/libc/locale/extr_wctype.c_wctype.c' source_filename = "AnghaBench/freebsd/lib/libc/locale/extr_wctype.c_wctype.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @wctype(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @wctype_l(ptr noundef %0, i32 noundef 0) #2 ret i32 %2 } declare i32 @wctype_l(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/lib/libc/locale/extr_wctype.c_wctype.c' source_filename = "AnghaBench/freebsd/lib/libc/locale/extr_wctype.c_wctype.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define i32 @wctype(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @wctype_l(ptr noundef %0, i32 noundef 0) #2 ret i32 %2 } declare i32 @wctype_l(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_lib_libc_locale_extr_wctype.c_wctype
; ModuleID = 'AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_remove.c' source_filename = "AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.sja1000_priv = type { i64, i32 } @mem = dso_local local_unnamed_addr global ptr null, align 8 @SJA1000_IOSIZE = dso_local local_unnamed_addr global i32 0, align 4 @sja1000_isa_port_read_reg_indirect = dso_local local_unnamed_addr global i64 0, align 8 @port = dso_local local_unnamed_addr global ptr null, align 8 @SJA1000_IOSIZE_INDIRECT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sja1000_isa_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @sja1000_isa_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @netdev_priv(ptr noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = tail call i32 @unregister_sja1000dev(ptr noundef %2) #2 %6 = load ptr, ptr @mem, align 8, !tbaa !10 %7 = sext i32 %4 to i64 %8 = getelementptr inbounds i64, ptr %6, i64 %7 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %20, label %11 11: ; preds = %1 %12 = getelementptr inbounds %struct.sja1000_priv, ptr %3, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !14 %14 = tail call i32 @iounmap(i32 noundef %13) #2 %15 = load ptr, ptr @mem, align 8, !tbaa !10 %16 = getelementptr inbounds i64, ptr %15, i64 %7 %17 = load i64, ptr %16, align 8, !tbaa !12 %18 = load i32, ptr @SJA1000_IOSIZE, align 4, !tbaa !16 %19 = tail call i32 @release_mem_region(i64 noundef %17, i32 noundef %18) #2 br label %33 20: ; preds = %1 %21 = load i64, ptr %3, align 8, !tbaa !17 %22 = load i64, ptr @sja1000_isa_port_read_reg_indirect, align 8, !tbaa !12 %23 = icmp eq i64 %21, %22 %24 = load ptr, ptr @port, align 8, !tbaa !10 %25 = getelementptr inbounds i32, ptr %24, i64 %7 %26 = load i32, ptr %25, align 4, !tbaa !16 br i1 %23, label %27, label %30 27: ; preds = %20 %28 = load i32, ptr @SJA1000_IOSIZE_INDIRECT, align 4, !tbaa !16 %29 = tail call i32 @release_region(i32 noundef %26, i32 noundef %28) #2 br label %33 30: ; preds = %20 %31 = load i32, ptr @SJA1000_IOSIZE, align 4, !tbaa !16 %32 = tail call i32 @release_region(i32 noundef %26, i32 noundef %31) #2 br label %33 33: ; preds = %27, %30, %11 %34 = tail call i32 @free_sja1000dev(ptr noundef %2) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_sja1000dev(ptr noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @release_mem_region(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_sja1000dev(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 = !{!"platform_device", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"sja1000_priv", !13, i64 0, !7, i64 8} !16 = !{!7, !7, i64 0} !17 = !{!15, !13, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_remove.c' source_filename = "AnghaBench/linux/drivers/net/can/sja1000/extr_sja1000_isa.c_sja1000_isa_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @mem = common local_unnamed_addr global ptr null, align 8 @SJA1000_IOSIZE = common local_unnamed_addr global i32 0, align 4 @sja1000_isa_port_read_reg_indirect = common local_unnamed_addr global i64 0, align 8 @port = common local_unnamed_addr global ptr null, align 8 @SJA1000_IOSIZE_INDIRECT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sja1000_isa_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @sja1000_isa_remove(ptr noundef %0) #0 { %2 = tail call ptr @platform_get_drvdata(ptr noundef %0) #2 %3 = tail call ptr @netdev_priv(ptr noundef %2) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = tail call i32 @unregister_sja1000dev(ptr noundef %2) #2 %6 = load ptr, ptr @mem, align 8, !tbaa !11 %7 = sext i32 %4 to i64 %8 = getelementptr inbounds i64, ptr %6, i64 %7 %9 = load i64, ptr %8, align 8, !tbaa !13 %10 = icmp eq i64 %9, 0 br i1 %10, label %20, label %11 11: ; preds = %1 %12 = getelementptr inbounds i8, ptr %3, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !15 %14 = tail call i32 @iounmap(i32 noundef %13) #2 %15 = load ptr, ptr @mem, align 8, !tbaa !11 %16 = getelementptr inbounds i64, ptr %15, i64 %7 %17 = load i64, ptr %16, align 8, !tbaa !13 %18 = load i32, ptr @SJA1000_IOSIZE, align 4, !tbaa !17 %19 = tail call i32 @release_mem_region(i64 noundef %17, i32 noundef %18) #2 br label %33 20: ; preds = %1 %21 = load i64, ptr %3, align 8, !tbaa !18 %22 = load i64, ptr @sja1000_isa_port_read_reg_indirect, align 8, !tbaa !13 %23 = icmp eq i64 %21, %22 %24 = load ptr, ptr @port, align 8, !tbaa !11 %25 = getelementptr inbounds i32, ptr %24, i64 %7 %26 = load i32, ptr %25, align 4, !tbaa !17 br i1 %23, label %27, label %30 27: ; preds = %20 %28 = load i32, ptr @SJA1000_IOSIZE_INDIRECT, align 4, !tbaa !17 %29 = tail call i32 @release_region(i32 noundef %26, i32 noundef %28) #2 br label %33 30: ; preds = %20 %31 = load i32, ptr @SJA1000_IOSIZE, align 4, !tbaa !17 %32 = tail call i32 @release_region(i32 noundef %26, i32 noundef %31) #2 br label %33 33: ; preds = %27, %30, %11 %34 = tail call i32 @free_sja1000dev(ptr noundef %2) #2 ret i32 0 } declare ptr @platform_get_drvdata(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i32 @unregister_sja1000dev(ptr noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @release_mem_region(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @release_region(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_sja1000dev(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 = !{!"platform_device", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !8, i64 8} !16 = !{!"sja1000_priv", !14, i64 0, !8, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!16, !14, i64 0}
linux_drivers_net_can_sja1000_extr_sja1000_isa.c_sja1000_isa_remove
; ModuleID = 'AnghaBench/borg/src/borg/cache_sync/extr_unpack.h_unpack_callback_map_item.c' source_filename = "AnghaBench/borg/src/borg/cache_sync/extr_unpack.h_unpack_callback_map_item.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32 } @expect_map_key = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Unexpected map item\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @unpack_callback_map_item], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal noundef i32 @unpack_callback_map_item(ptr nocapture noundef %0, i32 %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %13 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = icmp eq i32 %7, 128 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load i32, ptr @expect_map_key, align 4, !tbaa !11 store i32 %10, ptr %6, align 4, !tbaa !10 br label %13 11: ; preds = %5 %12 = tail call i32 @SET_LAST_ERROR(ptr noundef nonnull @.str) #2 br label %13 13: ; preds = %2, %9, %11 %14 = phi i32 [ -1, %11 ], [ 0, %9 ], [ 0, %2 ] ret i32 %14 } declare i32 @SET_LAST_ERROR(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_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/borg/src/borg/cache_sync/extr_unpack.h_unpack_callback_map_item.c' source_filename = "AnghaBench/borg/src/borg/cache_sync/extr_unpack.h_unpack_callback_map_item.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @expect_map_key = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Unexpected map item\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @unpack_callback_map_item], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @unpack_callback_map_item(ptr nocapture noundef %0, i32 %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = icmp eq i32 %3, 1 br i1 %4, label %5, label %13 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = icmp eq i32 %7, 128 br i1 %8, label %9, label %11 9: ; preds = %5 %10 = load i32, ptr @expect_map_key, align 4, !tbaa !12 store i32 %10, ptr %6, align 4, !tbaa !11 br label %13 11: ; preds = %5 %12 = tail call i32 @SET_LAST_ERROR(ptr noundef nonnull @.str) #2 br label %13 13: ; preds = %2, %9, %11 %14 = phi i32 [ -1, %11 ], [ 0, %9 ], [ 0, %2 ] ret i32 %14 } declare i32 @SET_LAST_ERROR(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_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = !{!8, !8, i64 0}
borg_src_borg_cache_sync_extr_unpack.h_unpack_callback_map_item
; ModuleID = 'AnghaBench/vlc/modules/mux/extr_..packetizerav1_obu.h_AV1_OBUGetMetadataType.c' source_filename = "AnghaBench/vlc/modules/mux/extr_..packetizerav1_obu.h_AV1_OBUGetMetadataType.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AV1_METADATA_TYPE_RESERVED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @AV1_OBUGetMetadataType], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @AV1_OBUGetMetadataType(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8, !tbaa !5 store i64 %1, ptr %4, align 8, !tbaa !9 %6 = call i32 @AV1_OBUSkipHeader(ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %7 = icmp eq i32 %6, 0 %8 = load i64, ptr %4, align 8 %9 = icmp eq i64 %8, 0 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr @AV1_METADATA_TYPE_RESERVED, align 4, !tbaa !11 br label %22 13: ; preds = %2 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %14 = load ptr, ptr %3, align 8, !tbaa !5 %15 = call i32 @leb128(ptr noundef %14, i64 noundef %8, ptr noundef nonnull %5) #3 %16 = load i64, ptr %5, align 8, !tbaa !9 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %13 %19 = call i32 @INT64_C(i32 noundef 1) #3 unreachable 20: ; preds = %13 %21 = load i32, ptr @AV1_METADATA_TYPE_RESERVED, align 4, !tbaa !11 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 br label %22 22: ; preds = %20, %11 %23 = phi i32 [ %12, %11 ], [ %21, %20 ] ret i32 %23 } declare i32 @AV1_OBUSkipHeader(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @leb128(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INT64_C(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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/vlc/modules/mux/extr_..packetizerav1_obu.h_AV1_OBUGetMetadataType.c' source_filename = "AnghaBench/vlc/modules/mux/extr_..packetizerav1_obu.h_AV1_OBUGetMetadataType.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV1_METADATA_TYPE_RESERVED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @AV1_OBUGetMetadataType], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @AV1_OBUGetMetadataType(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i64, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8, !tbaa !6 store i64 %1, ptr %4, align 8, !tbaa !10 %6 = call i32 @AV1_OBUSkipHeader(ptr noundef nonnull %3, ptr noundef nonnull %4) #4 %7 = icmp eq i32 %6, 0 %8 = load i64, ptr %4, align 8 %9 = icmp eq i64 %8, 0 %10 = select i1 %7, i1 true, i1 %9 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load i32, ptr @AV1_METADATA_TYPE_RESERVED, align 4, !tbaa !12 br label %21 13: ; preds = %2 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4 %14 = load ptr, ptr %3, align 8, !tbaa !6 %15 = call i32 @leb128(ptr noundef %14, i64 noundef %8, ptr noundef nonnull %5) #4 %16 = load i64, ptr %5, align 8, !tbaa !10 %17 = icmp eq i64 %16, 0 br i1 %17, label %19, label %18 18: ; preds = %13 call void @AV1_OBUGetMetadataType.cold.1() #5 unreachable 19: ; preds = %13 %20 = load i32, ptr @AV1_METADATA_TYPE_RESERVED, align 4, !tbaa !12 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4 br label %21 21: ; preds = %19, %11 %22 = phi i32 [ %12, %11 ], [ %20, %19 ] ret i32 %22 } declare i32 @AV1_OBUSkipHeader(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2 declare i32 @leb128(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @INT64_C(i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2 ; Function Attrs: cold inlinehint minsize noreturn nounwind ssp uwtable(sync) define internal void @AV1_OBUGetMetadataType.cold.1() #3 { br label %1 1: ; preds = %0 %2 = call i32 @INT64_C(i32 noundef 1) #4 unreachable } attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #3 = { cold inlinehint minsize noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } attributes #5 = { noinline } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
vlc_modules_mux_extr_..packetizerav1_obu.h_AV1_OBUGetMetadataType
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_path.c___tb_path_deallocate_nfc.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_path.c___tb_path_deallocate_nfc.c" target datalayout = "e-m:e-p270:32:32-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.tb_path = type { i32, ptr, i32 } %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [44 x i8] c"nfc credits deallocation failed for hop %d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @__tb_path_deallocate_nfc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @__tb_path_deallocate_nfc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !5 %4 = icmp sgt i32 %3, %1 br i1 %4, label %5, label %29 5: ; preds = %2 %6 = getelementptr inbounds %struct.tb_path, ptr %0, i64 0, i32 1 %7 = getelementptr inbounds %struct.tb_path, ptr %0, i64 0, i32 2 %8 = sext i32 %1 to i64 br label %9 9: ; preds = %5, %24 %10 = phi i64 [ %8, %5 ], [ %25, %24 ] %11 = load ptr, ptr %6, align 8, !tbaa !11 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = load i32, ptr %12, align 4, !tbaa !12 %14 = load i32, ptr %7, align 8, !tbaa !14 %15 = sub nsw i32 0, %14 %16 = tail call i32 @tb_port_add_nfc_credits(i32 noundef %13, i32 noundef %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %9 %19 = load ptr, ptr %6, align 8, !tbaa !11 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %10 %21 = load i32, ptr %20, align 4, !tbaa !12 %22 = trunc i64 %10 to i32 %23 = tail call i32 @tb_port_warn(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %22) #2 br label %24 24: ; preds = %9, %18 %25 = add nsw i64 %10, 1 %26 = load i32, ptr %0, align 8, !tbaa !5 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %25, %27 br i1 %28, label %9, label %29, !llvm.loop !15 29: ; preds = %24, %2 ret void } declare i32 @tb_port_add_nfc_credits(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tb_port_warn(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tb_path", !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 = !{!6, !10, i64 8} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!6, !7, i64 16} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/thunderbolt/extr_path.c___tb_path_deallocate_nfc.c' source_filename = "AnghaBench/linux/drivers/thunderbolt/extr_path.c___tb_path_deallocate_nfc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32 } @.str = private unnamed_addr constant [44 x i8] c"nfc credits deallocation failed for hop %d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @__tb_path_deallocate_nfc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @__tb_path_deallocate_nfc(ptr nocapture noundef readonly %0, i32 noundef %1) #0 { %3 = load i32, ptr %0, align 8, !tbaa !6 %4 = icmp sgt i32 %3, %1 br i1 %4, label %5, label %29 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = sext i32 %1 to i64 br label %9 9: ; preds = %5, %24 %10 = phi i64 [ %8, %5 ], [ %25, %24 ] %11 = load ptr, ptr %6, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 %10 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = load i32, ptr %7, align 8, !tbaa !15 %15 = sub nsw i32 0, %14 %16 = tail call i32 @tb_port_add_nfc_credits(i32 noundef %13, i32 noundef %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %24, label %18 18: ; preds = %9 %19 = load ptr, ptr %6, align 8, !tbaa !12 %20 = getelementptr inbounds %struct.TYPE_2__, ptr %19, i64 %10 %21 = load i32, ptr %20, align 4, !tbaa !13 %22 = trunc nsw i64 %10 to i32 %23 = tail call i32 @tb_port_warn(i32 noundef %21, ptr noundef nonnull @.str, i32 noundef %22) #2 br label %24 24: ; preds = %9, %18 %25 = add nsw i64 %10, 1 %26 = load i32, ptr %0, align 8, !tbaa !6 %27 = sext i32 %26 to i64 %28 = icmp slt i64 %25, %27 br i1 %28, label %9, label %29, !llvm.loop !16 29: ; preds = %24, %2 ret void } declare i32 @tb_port_add_nfc_credits(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @tb_port_warn(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tb_path", !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 = !{!7, !11, i64 8} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!7, !8, i64 16} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_thunderbolt_extr_path.c___tb_path_deallocate_nfc
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_g_mover.c_G_TransposeMatrix.c' source_filename = "AnghaBench/lab/engine/code/game/extr_g_mover.c_G_TransposeMatrix.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" ; Function Attrs: nofree norecurse nosync nounwind uwtable define dso_local void @G_TransposeMatrix(i32** nocapture noundef readonly %0, i32** nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load i32*, i32** %1, align 8, !tbaa !5 %4 = load i32*, i32** %0, align 8, !tbaa !5 %5 = load i32, i32* %4, align 4, !tbaa !9 store i32 %5, i32* %3, align 4, !tbaa !9 %6 = getelementptr inbounds i32*, i32** %0, i64 1 %7 = load i32*, i32** %6, align 8, !tbaa !5 %8 = load i32, i32* %7, align 4, !tbaa !9 %9 = getelementptr inbounds i32, i32* %3, i64 1 store i32 %8, i32* %9, align 4, !tbaa !9 %10 = getelementptr inbounds i32*, i32** %0, i64 2 %11 = load i32*, i32** %10, align 8, !tbaa !5 %12 = load i32, i32* %11, align 4, !tbaa !9 %13 = getelementptr inbounds i32, i32* %3, i64 2 store i32 %12, i32* %13, align 4, !tbaa !9 %14 = getelementptr inbounds i32*, i32** %1, i64 1 %15 = load i32*, i32** %14, align 8, !tbaa !5 %16 = getelementptr inbounds i32, i32* %4, i64 1 %17 = load i32, i32* %16, align 4, !tbaa !9 store i32 %17, i32* %15, align 4, !tbaa !9 %18 = getelementptr inbounds i32, i32* %7, i64 1 %19 = load i32, i32* %18, align 4, !tbaa !9 %20 = getelementptr inbounds i32, i32* %15, i64 1 store i32 %19, i32* %20, align 4, !tbaa !9 %21 = getelementptr inbounds i32, i32* %11, i64 1 %22 = load i32, i32* %21, align 4, !tbaa !9 %23 = getelementptr inbounds i32, i32* %15, i64 2 store i32 %22, i32* %23, align 4, !tbaa !9 %24 = getelementptr inbounds i32*, i32** %1, i64 2 %25 = load i32*, i32** %24, align 8, !tbaa !5 %26 = getelementptr inbounds i32, i32* %4, i64 2 %27 = load i32, i32* %26, align 4, !tbaa !9 store i32 %27, i32* %25, align 4, !tbaa !9 %28 = getelementptr inbounds i32, i32* %7, i64 2 %29 = load i32, i32* %28, align 4, !tbaa !9 %30 = getelementptr inbounds i32, i32* %25, i64 1 store i32 %29, i32* %30, align 4, !tbaa !9 %31 = getelementptr inbounds i32, i32* %11, i64 2 %32 = load i32, i32* %31, align 4, !tbaa !9 %33 = getelementptr inbounds i32, i32* %25, i64 2 store i32 %32, i32* %33, align 4, !tbaa !9 ret void } attributes #0 = { nofree norecurse nosync 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" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/game/extr_g_mover.c_G_TransposeMatrix.c' source_filename = "AnghaBench/lab/engine/code/game/extr_g_mover.c_G_TransposeMatrix.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(readwrite, inaccessiblemem: none) uwtable(sync) define void @G_TransposeMatrix(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %1, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !10 store i32 %5, ptr %3, align 4, !tbaa !10 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %8, ptr %9, align 4, !tbaa !10 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !6 %12 = load i32, ptr %11, align 4, !tbaa !10 %13 = getelementptr inbounds i8, ptr %3, i64 8 store i32 %12, ptr %13, align 4, !tbaa !10 %14 = getelementptr inbounds i8, ptr %1, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !6 %16 = getelementptr inbounds i8, ptr %4, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !10 store i32 %17, ptr %15, align 4, !tbaa !10 %18 = getelementptr inbounds i8, ptr %7, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !10 %20 = getelementptr inbounds i8, ptr %15, i64 4 store i32 %19, ptr %20, align 4, !tbaa !10 %21 = getelementptr inbounds i8, ptr %11, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !10 %23 = getelementptr inbounds i8, ptr %15, i64 8 store i32 %22, ptr %23, align 4, !tbaa !10 %24 = getelementptr inbounds i8, ptr %1, i64 16 %25 = load ptr, ptr %24, align 8, !tbaa !6 %26 = getelementptr inbounds i8, ptr %4, i64 8 %27 = load i32, ptr %26, align 4, !tbaa !10 store i32 %27, ptr %25, align 4, !tbaa !10 %28 = getelementptr inbounds i8, ptr %7, i64 8 %29 = load i32, ptr %28, align 4, !tbaa !10 %30 = getelementptr inbounds i8, ptr %25, i64 4 store i32 %29, ptr %30, align 4, !tbaa !10 %31 = getelementptr inbounds i8, ptr %11, i64 8 %32 = load i32, ptr %31, align 4, !tbaa !10 %33 = getelementptr inbounds i8, ptr %25, i64 8 store i32 %32, ptr %33, align 4, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
lab_engine_code_game_extr_g_mover.c_G_TransposeMatrix
; ModuleID = 'AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_new_id_store.c' source_filename = "AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_new_id_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" @EEXIST = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @new_id_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @new_id_store(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @drv_to_hv_drv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = call i64 @guid_parse(ptr noundef %1, ptr noundef nonnull %4) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %18 8: ; preds = %3 %9 = call i64 @hv_vmbus_dynid_match(ptr noundef %5, ptr noundef nonnull %4) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i64, ptr @EEXIST, align 8, !tbaa !5 %13 = sub i64 0, %12 br label %18 14: ; preds = %8 %15 = call i64 @vmbus_add_dynid(ptr noundef %5, ptr noundef nonnull %4) #3 %16 = icmp eq i64 %15, 0 %17 = select i1 %16, i64 %2, i64 %15 br label %18 18: ; preds = %14, %3, %11 %19 = phi i64 [ %13, %11 ], [ %6, %3 ], [ %17, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @drv_to_hv_drv(ptr noundef) local_unnamed_addr #2 declare i64 @guid_parse(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @hv_vmbus_dynid_match(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @vmbus_add_dynid(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_new_id_store.c' source_filename = "AnghaBench/linux/drivers/hv/extr_vmbus_drv.c_new_id_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EEXIST = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @new_id_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @new_id_store(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = tail call ptr @drv_to_hv_drv(ptr noundef %0) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %6 = call i64 @guid_parse(ptr noundef %1, ptr noundef nonnull %4) #3 %7 = icmp eq i64 %6, 0 br i1 %7, label %8, label %18 8: ; preds = %3 %9 = call i64 @hv_vmbus_dynid_match(ptr noundef %5, ptr noundef nonnull %4) #3 %10 = icmp eq i64 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %8 %12 = load i64, ptr @EEXIST, align 8, !tbaa !6 %13 = sub i64 0, %12 br label %18 14: ; preds = %8 %15 = call i64 @vmbus_add_dynid(ptr noundef %5, ptr noundef nonnull %4) #3 %16 = icmp eq i64 %15, 0 %17 = select i1 %16, i64 %2, i64 %15 br label %18 18: ; preds = %14, %3, %11 %19 = phi i64 [ %13, %11 ], [ %6, %3 ], [ %17, %14 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @drv_to_hv_drv(ptr noundef) local_unnamed_addr #2 declare i64 @guid_parse(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @hv_vmbus_dynid_match(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @vmbus_add_dynid(ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_hv_extr_vmbus_drv.c_new_id_store
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_sd.h_sd_dif_prepare.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_sd.h_sd_dif_prepare.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @sd_dif_prepare], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @sd_dif_prepare(ptr nocapture readnone %0, i32 %1, i32 %2) #0 { ret i32 0 } 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/scsi/extr_sd.h_sd_dif_prepare.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_sd.h_sd_dif_prepare.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 @sd_dif_prepare], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @sd_dif_prepare(ptr nocapture readnone %0, i32 %1, i32 %2) #0 { ret i32 0 } 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_scsi_extr_sd.h_sd_dif_prepare
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v7_0.c_gfx_v7_0_sw_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v7_0.c_gfx_v7_0_sw_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.amdgpu_device = type { i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i32, i32, %struct.TYPE_7__, i32, ptr, %struct.TYPE_6__, i32, i32 } %struct.TYPE_7__ = type { i32, i32, i32 } %struct.TYPE_6__ = type { ptr } %struct.amdgpu_ring = type { i32, ptr } @AMDGPU_IRQ_CLIENTID_LEGACY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Failed to load gfx firmware!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Failed to init rlc BOs!\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Failed to init MEC BOs!\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"gfx\00", align 1 @AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_v7_0_sw_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gfx_v7_0_sw_init(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = icmp eq i32 %2, 129 %4 = select i1 %3, i32 2, i32 1 %5 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 2 store i32 %4, ptr %5, align 8 %6 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1 %7 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 2, i32 1 store i32 4, ptr %7, align 4, !tbaa !14 %8 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 2, i32 2 store i32 8, ptr %8, align 8, !tbaa !15 %9 = load i32, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 4, !tbaa !16 %10 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 3 %11 = tail call i32 @amdgpu_irq_add_id(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 181, ptr noundef nonnull %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %117 13: ; preds = %1 %14 = load i32, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 4, !tbaa !16 %15 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 7 %16 = tail call i32 @amdgpu_irq_add_id(ptr noundef nonnull %0, i32 noundef %14, i32 noundef 184, ptr noundef nonnull %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %117 18: ; preds = %13 %19 = load i32, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 4, !tbaa !16 %20 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 6 %21 = tail call i32 @amdgpu_irq_add_id(ptr noundef nonnull %0, i32 noundef %19, i32 noundef 185, ptr noundef nonnull %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %117 23: ; preds = %18 %24 = tail call i32 @gfx_v7_0_scratch_init(ptr noundef nonnull %0) #2 %25 = tail call i32 @gfx_v7_0_init_microcode(ptr noundef nonnull %0) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 br label %117 29: ; preds = %23 %30 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 5 %31 = load ptr, ptr %30, align 8, !tbaa !17 %32 = load ptr, ptr %31, align 8, !tbaa !18 %33 = tail call i32 %32(ptr noundef nonnull %0) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %29 %36 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 br label %117 37: ; preds = %29 %38 = tail call i32 @gfx_v7_0_mec_init(ptr noundef nonnull %0) #2 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %45 40: ; preds = %37 %41 = load i32, ptr %6, align 8, !tbaa !20 %42 = icmp sgt i32 %41, 0 br i1 %42, label %43, label %52 43: ; preds = %40 %44 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 4 br label %57 45: ; preds = %37 %46 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.2) #2 br label %117 47: ; preds = %57 %48 = add nuw nsw i64 %58, 1 %49 = load i32, ptr %6, align 8, !tbaa !20 %50 = sext i32 %49 to i64 %51 = icmp slt i64 %48, %50 br i1 %51, label %57, label %52, !llvm.loop !21 52: ; preds = %47, %40 %53 = load i32, ptr %5, align 8, !tbaa !23 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %114 55: ; preds = %52 %56 = load i32, ptr %8, align 8, !tbaa !15 br label %67 57: ; preds = %43, %47 %58 = phi i64 [ 0, %43 ], [ %48, %47 ] %59 = load ptr, ptr %44, align 8, !tbaa !24 %60 = getelementptr inbounds %struct.amdgpu_ring, ptr %59, i64 %58 %61 = getelementptr inbounds %struct.amdgpu_ring, ptr %59, i64 %58, i32 1 store ptr null, ptr %61, align 8, !tbaa !25 %62 = load i32, ptr %60, align 8, !tbaa !27 %63 = tail call i32 @sprintf(i32 noundef %62, ptr noundef nonnull @.str.3) #2 %64 = load i32, ptr @AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP, align 4, !tbaa !16 %65 = tail call i32 @amdgpu_ring_init(ptr noundef nonnull %0, ptr noundef nonnull %60, i32 noundef 1024, ptr noundef nonnull %10, i32 noundef %64) #2 %66 = icmp eq i32 %65, 0 br i1 %66, label %47, label %117 67: ; preds = %55, %107 %68 = phi i32 [ %108, %107 ], [ %53, %55 ] %69 = phi i32 [ %109, %107 ], [ %56, %55 ] %70 = phi i32 [ %110, %107 ], [ %56, %55 ] %71 = phi i32 [ %111, %107 ], [ 0, %55 ] %72 = phi i32 [ %112, %107 ], [ 0, %55 ] %73 = icmp sgt i32 %70, 0 br i1 %73, label %74, label %107 74: ; preds = %67 %75 = load i32, ptr %7, align 4, !tbaa !14 br label %76 76: ; preds = %74, %99 %77 = phi i32 [ %100, %99 ], [ %69, %74 ] %78 = phi i32 [ %101, %99 ], [ %75, %74 ] %79 = phi i32 [ %102, %99 ], [ %71, %74 ] %80 = phi i32 [ %103, %99 ], [ 0, %74 ] %81 = icmp sgt i32 %78, 0 br i1 %81, label %82, label %99 82: ; preds = %76, %92 %83 = phi i32 [ %93, %92 ], [ %79, %76 ] %84 = phi i32 [ %94, %92 ], [ 0, %76 ] %85 = tail call i32 @amdgpu_gfx_is_mec_queue_enabled(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %84, i32 noundef %80) #2 %86 = icmp eq i32 %85, 0 br i1 %86, label %92, label %87 87: ; preds = %82 %88 = tail call i32 @gfx_v7_0_compute_ring_init(ptr noundef nonnull %0, i32 noundef %83, i32 noundef %72, i32 noundef %84, i32 noundef %80) #2 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %117 90: ; preds = %87 %91 = add nsw i32 %83, 1 br label %92 92: ; preds = %82, %90 %93 = phi i32 [ %91, %90 ], [ %83, %82 ] %94 = add nuw nsw i32 %84, 1 %95 = load i32, ptr %7, align 4, !tbaa !14 %96 = icmp slt i32 %94, %95 br i1 %96, label %82, label %97, !llvm.loop !28 97: ; preds = %92 %98 = load i32, ptr %8, align 8, !tbaa !15 br label %99 99: ; preds = %97, %76 %100 = phi i32 [ %77, %76 ], [ %98, %97 ] %101 = phi i32 [ %78, %76 ], [ %95, %97 ] %102 = phi i32 [ %79, %76 ], [ %93, %97 ] %103 = add nuw nsw i32 %80, 1 %104 = icmp slt i32 %103, %100 br i1 %104, label %76, label %105, !llvm.loop !29 105: ; preds = %99 %106 = load i32, ptr %5, align 8, !tbaa !23 br label %107 107: ; preds = %105, %67 %108 = phi i32 [ %68, %67 ], [ %106, %105 ] %109 = phi i32 [ %69, %67 ], [ %100, %105 ] %110 = phi i32 [ %70, %67 ], [ %100, %105 ] %111 = phi i32 [ %71, %67 ], [ %102, %105 ] %112 = add nuw nsw i32 %72, 1 %113 = icmp slt i32 %112, %108 br i1 %113, label %67, label %114, !llvm.loop !30 114: ; preds = %107, %52 %115 = getelementptr inbounds %struct.amdgpu_device, ptr %0, i64 0, i32 1, i32 1 store i32 32768, ptr %115, align 4, !tbaa !31 %116 = tail call i32 @gfx_v7_0_gpu_early_init(ptr noundef nonnull %0) #2 br label %117 117: ; preds = %57, %87, %18, %13, %1, %114, %45, %35, %27 %118 = phi i32 [ %25, %27 ], [ %33, %35 ], [ %38, %45 ], [ 0, %114 ], [ %11, %1 ], [ %16, %13 ], [ %21, %18 ], [ %88, %87 ], [ %65, %57 ] ret i32 %118 } declare i32 @amdgpu_irq_add_id(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_scratch_init(ptr noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_init_microcode(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_mec_init(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @amdgpu_ring_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_gfx_is_mec_queue_enabled(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_compute_ring_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_gpu_early_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"amdgpu_device", !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__", !7, i64 0, !7, i64 4, !11, i64 8, !7, i64 20, !12, i64 24, !13, i64 32, !7, i64 40, !7, i64 44} !11 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!"TYPE_6__", !12, i64 0} !14 = !{!6, !7, i64 20} !15 = !{!6, !7, i64 24} !16 = !{!7, !7, i64 0} !17 = !{!6, !12, i64 40} !18 = !{!19, !12, i64 0} !19 = !{!"TYPE_5__", !12, i64 0} !20 = !{!6, !7, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!6, !7, i64 16} !24 = !{!6, !12, i64 32} !25 = !{!26, !12, i64 8} !26 = !{!"amdgpu_ring", !7, i64 0, !12, i64 8} !27 = !{!26, !7, i64 0} !28 = distinct !{!28, !22} !29 = distinct !{!29, !22} !30 = distinct !{!30, !22} !31 = !{!6, !7, i64 12}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v7_0.c_gfx_v7_0_sw_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_gfx_v7_0.c_gfx_v7_0_sw_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.amdgpu_ring = type { i32, ptr } @AMDGPU_IRQ_CLIENTID_LEGACY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [30 x i8] c"Failed to load gfx firmware!\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"Failed to init rlc BOs!\0A\00", align 1 @.str.2 = private unnamed_addr constant [25 x i8] c"Failed to init MEC BOs!\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"gfx\00", align 1 @AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gfx_v7_0_sw_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @gfx_v7_0_sw_init(ptr noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = icmp eq i32 %2, 129 %4 = select i1 %3, i32 2, i32 1 %5 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %4, ptr %5, align 8 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = getelementptr inbounds i8, ptr %0, i64 20 %8 = getelementptr inbounds i8, ptr %0, i64 24 store <2 x i32> <i32 4, i32 8>, ptr %7, align 4, !tbaa !15 %9 = load i32, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 4, !tbaa !15 %10 = getelementptr inbounds i8, ptr %0, i64 28 %11 = tail call i32 @amdgpu_irq_add_id(ptr noundef nonnull %0, i32 noundef %9, i32 noundef 181, ptr noundef nonnull %10) #2 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %117 13: ; preds = %1 %14 = load i32, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 4, !tbaa !15 %15 = getelementptr inbounds i8, ptr %0, i64 52 %16 = tail call i32 @amdgpu_irq_add_id(ptr noundef nonnull %0, i32 noundef %14, i32 noundef 184, ptr noundef nonnull %15) #2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %117 18: ; preds = %13 %19 = load i32, ptr @AMDGPU_IRQ_CLIENTID_LEGACY, align 4, !tbaa !15 %20 = getelementptr inbounds i8, ptr %0, i64 48 %21 = tail call i32 @amdgpu_irq_add_id(ptr noundef nonnull %0, i32 noundef %19, i32 noundef 185, ptr noundef nonnull %20) #2 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %117 23: ; preds = %18 %24 = tail call i32 @gfx_v7_0_scratch_init(ptr noundef nonnull %0) #2 %25 = tail call i32 @gfx_v7_0_init_microcode(ptr noundef nonnull %0) #2 %26 = icmp eq i32 %25, 0 br i1 %26, label %29, label %27 27: ; preds = %23 %28 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str) #2 br label %117 29: ; preds = %23 %30 = getelementptr inbounds i8, ptr %0, i64 40 %31 = load ptr, ptr %30, align 8, !tbaa !16 %32 = load ptr, ptr %31, align 8, !tbaa !17 %33 = tail call i32 %32(ptr noundef nonnull %0) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %29 %36 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.1) #2 br label %117 37: ; preds = %29 %38 = tail call i32 @gfx_v7_0_mec_init(ptr noundef nonnull %0) #2 %39 = icmp eq i32 %38, 0 br i1 %39, label %40, label %45 40: ; preds = %37 %41 = load i32, ptr %6, align 8, !tbaa !19 %42 = icmp sgt i32 %41, 0 br i1 %42, label %43, label %52 43: ; preds = %40 %44 = getelementptr inbounds i8, ptr %0, i64 32 br label %57 45: ; preds = %37 %46 = tail call i32 @DRM_ERROR(ptr noundef nonnull @.str.2) #2 br label %117 47: ; preds = %57 %48 = add nuw nsw i64 %58, 1 %49 = load i32, ptr %6, align 8, !tbaa !19 %50 = sext i32 %49 to i64 %51 = icmp slt i64 %48, %50 br i1 %51, label %57, label %52, !llvm.loop !20 52: ; preds = %47, %40 %53 = load i32, ptr %5, align 8, !tbaa !22 %54 = icmp sgt i32 %53, 0 br i1 %54, label %55, label %114 55: ; preds = %52 %56 = load i32, ptr %8, align 8, !tbaa !23 br label %67 57: ; preds = %43, %47 %58 = phi i64 [ 0, %43 ], [ %48, %47 ] %59 = load ptr, ptr %44, align 8, !tbaa !24 %60 = getelementptr inbounds %struct.amdgpu_ring, ptr %59, i64 %58 %61 = getelementptr inbounds i8, ptr %60, i64 8 store ptr null, ptr %61, align 8, !tbaa !25 %62 = load i32, ptr %60, align 8, !tbaa !27 %63 = tail call i32 @sprintf(i32 noundef %62, ptr noundef nonnull @.str.3) #2 %64 = load i32, ptr @AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP, align 4, !tbaa !15 %65 = tail call i32 @amdgpu_ring_init(ptr noundef nonnull %0, ptr noundef nonnull %60, i32 noundef 1024, ptr noundef nonnull %10, i32 noundef %64) #2 %66 = icmp eq i32 %65, 0 br i1 %66, label %47, label %117 67: ; preds = %55, %107 %68 = phi i32 [ %108, %107 ], [ %53, %55 ] %69 = phi i32 [ %109, %107 ], [ %56, %55 ] %70 = phi i32 [ %110, %107 ], [ %56, %55 ] %71 = phi i32 [ %111, %107 ], [ 0, %55 ] %72 = phi i32 [ %112, %107 ], [ 0, %55 ] %73 = icmp sgt i32 %70, 0 br i1 %73, label %74, label %107 74: ; preds = %67 %75 = load i32, ptr %7, align 4, !tbaa !28 br label %76 76: ; preds = %74, %99 %77 = phi i32 [ %100, %99 ], [ %69, %74 ] %78 = phi i32 [ %101, %99 ], [ %75, %74 ] %79 = phi i32 [ %102, %99 ], [ %71, %74 ] %80 = phi i32 [ %103, %99 ], [ 0, %74 ] %81 = icmp sgt i32 %78, 0 br i1 %81, label %82, label %99 82: ; preds = %76, %92 %83 = phi i32 [ %93, %92 ], [ %79, %76 ] %84 = phi i32 [ %94, %92 ], [ 0, %76 ] %85 = tail call i32 @amdgpu_gfx_is_mec_queue_enabled(ptr noundef nonnull %0, i32 noundef %72, i32 noundef %84, i32 noundef %80) #2 %86 = icmp eq i32 %85, 0 br i1 %86, label %92, label %87 87: ; preds = %82 %88 = tail call i32 @gfx_v7_0_compute_ring_init(ptr noundef nonnull %0, i32 noundef %83, i32 noundef %72, i32 noundef %84, i32 noundef %80) #2 %89 = icmp eq i32 %88, 0 br i1 %89, label %90, label %117 90: ; preds = %87 %91 = add nsw i32 %83, 1 br label %92 92: ; preds = %82, %90 %93 = phi i32 [ %91, %90 ], [ %83, %82 ] %94 = add nuw nsw i32 %84, 1 %95 = load i32, ptr %7, align 4, !tbaa !28 %96 = icmp slt i32 %94, %95 br i1 %96, label %82, label %97, !llvm.loop !29 97: ; preds = %92 %98 = load i32, ptr %8, align 8, !tbaa !23 br label %99 99: ; preds = %97, %76 %100 = phi i32 [ %77, %76 ], [ %98, %97 ] %101 = phi i32 [ %78, %76 ], [ %95, %97 ] %102 = phi i32 [ %79, %76 ], [ %93, %97 ] %103 = add nuw nsw i32 %80, 1 %104 = icmp slt i32 %103, %100 br i1 %104, label %76, label %105, !llvm.loop !30 105: ; preds = %99 %106 = load i32, ptr %5, align 8, !tbaa !22 br label %107 107: ; preds = %105, %67 %108 = phi i32 [ %68, %67 ], [ %106, %105 ] %109 = phi i32 [ %69, %67 ], [ %100, %105 ] %110 = phi i32 [ %70, %67 ], [ %100, %105 ] %111 = phi i32 [ %71, %67 ], [ %102, %105 ] %112 = add nuw nsw i32 %72, 1 %113 = icmp slt i32 %112, %108 br i1 %113, label %67, label %114, !llvm.loop !31 114: ; preds = %107, %52 %115 = getelementptr inbounds i8, ptr %0, i64 12 store i32 32768, ptr %115, align 4, !tbaa !32 %116 = tail call i32 @gfx_v7_0_gpu_early_init(ptr noundef nonnull %0) #2 br label %117 117: ; preds = %57, %87, %18, %13, %1, %114, %45, %35, %27 %118 = phi i32 [ %25, %27 ], [ %33, %35 ], [ %38, %45 ], [ 0, %114 ], [ %11, %1 ], [ %16, %13 ], [ %21, %18 ], [ %88, %87 ], [ %65, %57 ] ret i32 %118 } declare i32 @amdgpu_irq_add_id(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_scratch_init(ptr noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_init_microcode(ptr noundef) local_unnamed_addr #1 declare i32 @DRM_ERROR(ptr noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_mec_init(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @amdgpu_ring_init(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @amdgpu_gfx_is_mec_queue_enabled(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_compute_ring_init(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gfx_v7_0_gpu_early_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"amdgpu_device", !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__", !8, i64 0, !8, i64 4, !12, i64 8, !8, i64 20, !13, i64 24, !14, i64 32, !8, i64 40, !8, i64 44} !12 = !{!"TYPE_7__", !8, i64 0, !8, i64 4, !8, i64 8} !13 = !{!"any pointer", !9, i64 0} !14 = !{!"TYPE_6__", !13, i64 0} !15 = !{!8, !8, i64 0} !16 = !{!7, !13, i64 40} !17 = !{!18, !13, i64 0} !18 = !{!"TYPE_5__", !13, i64 0} !19 = !{!7, !8, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!7, !8, i64 16} !23 = !{!7, !8, i64 24} !24 = !{!7, !13, i64 32} !25 = !{!26, !13, i64 8} !26 = !{!"amdgpu_ring", !8, i64 0, !13, i64 8} !27 = !{!26, !8, i64 0} !28 = !{!7, !8, i64 20} !29 = distinct !{!29, !21} !30 = distinct !{!30, !21} !31 = distinct !{!31, !21} !32 = !{!7, !8, i64 12}
linux_drivers_gpu_drm_amd_amdgpu_extr_gfx_v7_0.c_gfx_v7_0_sw_init
; ModuleID = 'AnghaBench/netdata/registry/extr_registry_machine.c_registry_machine_find.c' source_filename = "AnghaBench/netdata/registry/extr_registry_machine.c_registry_machine_find.c" target datalayout = "e-m:e-p270:32:32-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 } @D_REGISTRY = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"Registry: registry_machine_find('%s')\00", align 1 @registry = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @registry_machine_find(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @D_REGISTRY, align 4, !tbaa !5 %3 = tail call i32 @debug(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef %0) #2 %4 = load i32, ptr @registry, align 4, !tbaa !9 %5 = tail call ptr @dictionary_get(i32 noundef %4, ptr noundef %0) #2 ret ptr %5 } declare i32 @debug(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dictionary_get(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/netdata/registry/extr_registry_machine.c_registry_machine_find.c' source_filename = "AnghaBench/netdata/registry/extr_registry_machine.c_registry_machine_find.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 } @D_REGISTRY = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"Registry: registry_machine_find('%s')\00", align 1 @registry = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @registry_machine_find(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @D_REGISTRY, align 4, !tbaa !6 %3 = tail call i32 @debug(i32 noundef %2, ptr noundef nonnull @.str, ptr noundef %0) #2 %4 = load i32, ptr @registry, align 4, !tbaa !10 %5 = tail call ptr @dictionary_get(i32 noundef %4, ptr noundef %0) #2 ret ptr %5 } declare i32 @debug(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @dictionary_get(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}
netdata_registry_extr_registry_machine.c_registry_machine_find
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_drm_ctx.c_gfx_ctx_drm_get_video_size.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_drm_ctx.c_gfx_ctx_drm_get_video_size.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @gfx_ctx_drm_get_video_size], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define internal void @gfx_ctx_drm_get_video_size(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %9, label %5 5: ; preds = %3 %6 = load i32, ptr %0, align 4, !tbaa !5 store i32 %6, ptr %1, align 4, !tbaa !10 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 4, !tbaa !11 store i32 %8, ptr %2, align 4, !tbaa !10 br label %9 9: ; preds = %3, %5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/RetroArch/gfx/drivers_context/extr_drm_ctx.c_gfx_ctx_drm_get_video_size.c' source_filename = "AnghaBench/RetroArch/gfx/drivers_context/extr_drm_ctx.c_gfx_ctx_drm_get_video_size.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @gfx_ctx_drm_get_video_size], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define internal void @gfx_ctx_drm_get_video_size(ptr noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = icmp eq ptr %0, null br i1 %4, label %9, label %5 5: ; preds = %3 %6 = load i32, ptr %0, align 4, !tbaa !6 store i32 %6, ptr %1, align 4, !tbaa !11 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !12 store i32 %8, ptr %2, align 4, !tbaa !11 br label %9 9: ; preds = %3, %5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
RetroArch_gfx_drivers_context_extr_drm_ctx.c_gfx_ctx_drm_get_video_size
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_ptrace-utrace.c_do_ptrace_notify_stop.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_ptrace-utrace.c_do_ptrace_notify_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" @PTRACE_EVENT_MASK = dso_local local_unnamed_addr global i32 0, align 4 @tasklist_lock = dso_local global i32 0, align 4 @CLD_TRAPPED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_ptrace_notify_stop], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_ptrace_notify_stop(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = load i32, ptr @PTRACE_EVENT_MASK, align 4, !tbaa !10 %5 = and i32 %4, %3 store i32 %5, ptr %1, align 4, !tbaa !11 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 %8 = tail call i32 @WARN_ON(i32 noundef %7) #2 %9 = tail call i32 @read_lock(ptr noundef nonnull @tasklist_lock) #2 %10 = tail call i32 (...) @preempt_disable() #2 %11 = tail call i64 @task_ptrace(ptr noundef nonnull %1) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr @CLD_TRAPPED, align 4, !tbaa !10 %15 = tail call i32 @do_notify_parent_cldstop(ptr noundef nonnull %1, i32 noundef %14) #2 br label %16 16: ; preds = %13, %2 %17 = tail call i32 @read_unlock(ptr noundef nonnull @tasklist_lock) #2 %18 = tail call i32 (...) @preempt_enable_no_resched() #2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i32 @preempt_disable(...) local_unnamed_addr #1 declare i64 @task_ptrace(ptr noundef) local_unnamed_addr #1 declare i32 @do_notify_parent_cldstop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @preempt_enable_no_resched(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"ptrace_context", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"task_struct", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/kernel/extr_ptrace-utrace.c_do_ptrace_notify_stop.c' source_filename = "AnghaBench/fastsocket/kernel/kernel/extr_ptrace-utrace.c_do_ptrace_notify_stop.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PTRACE_EVENT_MASK = common local_unnamed_addr global i32 0, align 4 @tasklist_lock = common global i32 0, align 4 @CLD_TRAPPED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_ptrace_notify_stop], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_ptrace_notify_stop(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = load i32, ptr @PTRACE_EVENT_MASK, align 4, !tbaa !11 %5 = and i32 %4, %3 store i32 %5, ptr %1, align 4, !tbaa !12 %6 = icmp eq i32 %5, 0 %7 = zext i1 %6 to i32 %8 = tail call i32 @WARN_ON(i32 noundef %7) #2 %9 = tail call i32 @read_lock(ptr noundef nonnull @tasklist_lock) #2 %10 = tail call i32 @preempt_disable() #2 %11 = tail call i64 @task_ptrace(ptr noundef nonnull %1) #2 %12 = icmp eq i64 %11, 0 br i1 %12, label %16, label %13 13: ; preds = %2 %14 = load i32, ptr @CLD_TRAPPED, align 4, !tbaa !11 %15 = tail call i32 @do_notify_parent_cldstop(ptr noundef nonnull %1, i32 noundef %14) #2 br label %16 16: ; preds = %13, %2 %17 = tail call i32 @read_unlock(ptr noundef nonnull @tasklist_lock) #2 %18 = tail call i32 @preempt_enable_no_resched() #2 ret void } declare i32 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i32 @preempt_disable(...) local_unnamed_addr #1 declare i64 @task_ptrace(ptr noundef) local_unnamed_addr #1 declare i32 @do_notify_parent_cldstop(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @preempt_enable_no_resched(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"ptrace_context", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"task_struct", !8, i64 0}
fastsocket_kernel_kernel_extr_ptrace-utrace.c_do_ptrace_notify_stop
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_leaf_setup_req.c' source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_leaf_setup_req.c" target datalayout = "e-m:e-p270:32:32-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.uni_leaf_setup_req = type { i32, i32, i32, ptr, i32, ptr, i32, ptr } @UNI_NUM_IE_TNS = dso_local local_unnamed_addr global i64 0, align 8 @UNI_NUM_IE_CALLINGSUB = dso_local local_unnamed_addr global i64 0, align 8 @UNI_NUM_IE_CALLEDSUB = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @copy_msg_leaf_setup_req(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @UNI_NUM_IE_TNS, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %28, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 7 %7 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 7 br label %8 8: ; preds = %5, %23 %9 = phi i64 [ 0, %5 ], [ %24, %23 ] %10 = phi i64 [ 0, %5 ], [ %25, %23 ] %11 = load ptr, ptr %6, align 8, !tbaa !9 %12 = getelementptr inbounds i32, ptr %11, i64 %10 %13 = load i32, ptr %12, align 4, !tbaa !13 %14 = tail call i64 @IE_ISGOOD(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %8 %17 = load ptr, ptr %6, align 8, !tbaa !9 %18 = getelementptr inbounds i32, ptr %17, i64 %10 %19 = load i32, ptr %18, align 4, !tbaa !13 %20 = load ptr, ptr %7, align 8, !tbaa !9 %21 = add i64 %9, 1 %22 = getelementptr inbounds i32, ptr %20, i64 %9 store i32 %19, ptr %22, align 4, !tbaa !13 br label %23 23: ; preds = %8, %16 %24 = phi i64 [ %21, %16 ], [ %9, %8 ] %25 = add nuw i64 %10, 1 %26 = load i64, ptr @UNI_NUM_IE_TNS, align 8, !tbaa !5 %27 = icmp ult i64 %25, %26 br i1 %27, label %8, label %28, !llvm.loop !14 28: ; preds = %23, %2 %29 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 6 %30 = load i32, ptr %29, align 8, !tbaa !16 %31 = tail call i64 @IE_ISGOOD(i32 noundef %30) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %28 %34 = load i32, ptr %29, align 8, !tbaa !16 %35 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 6 store i32 %34, ptr %35, align 8, !tbaa !16 br label %36 36: ; preds = %33, %28 %37 = load i64, ptr @UNI_NUM_IE_CALLINGSUB, align 8, !tbaa !5 %38 = icmp eq i64 %37, 0 br i1 %38, label %62, label %39 39: ; preds = %36 %40 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 5 %41 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 5 br label %42 42: ; preds = %39, %57 %43 = phi i64 [ 0, %39 ], [ %58, %57 ] %44 = phi i64 [ 0, %39 ], [ %59, %57 ] %45 = load ptr, ptr %40, align 8, !tbaa !17 %46 = getelementptr inbounds i32, ptr %45, i64 %44 %47 = load i32, ptr %46, align 4, !tbaa !13 %48 = tail call i64 @IE_ISGOOD(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %57, label %50 50: ; preds = %42 %51 = load ptr, ptr %40, align 8, !tbaa !17 %52 = getelementptr inbounds i32, ptr %51, i64 %44 %53 = load i32, ptr %52, align 4, !tbaa !13 %54 = load ptr, ptr %41, align 8, !tbaa !17 %55 = add i64 %43, 1 %56 = getelementptr inbounds i32, ptr %54, i64 %43 store i32 %53, ptr %56, align 4, !tbaa !13 br label %57 57: ; preds = %42, %50 %58 = phi i64 [ %55, %50 ], [ %43, %42 ] %59 = add nuw i64 %44, 1 %60 = load i64, ptr @UNI_NUM_IE_CALLINGSUB, align 8, !tbaa !5 %61 = icmp ult i64 %59, %60 br i1 %61, label %42, label %62, !llvm.loop !18 62: ; preds = %57, %36 %63 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 4 %64 = load i32, ptr %63, align 8, !tbaa !19 %65 = tail call i64 @IE_ISGOOD(i32 noundef %64) #2 %66 = icmp eq i64 %65, 0 br i1 %66, label %70, label %67 67: ; preds = %62 %68 = load i32, ptr %63, align 8, !tbaa !19 %69 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 4 store i32 %68, ptr %69, align 8, !tbaa !19 br label %70 70: ; preds = %67, %62 %71 = load i64, ptr @UNI_NUM_IE_CALLEDSUB, align 8, !tbaa !5 %72 = icmp eq i64 %71, 0 br i1 %72, label %96, label %73 73: ; preds = %70 %74 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 3 %75 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 3 br label %76 76: ; preds = %73, %91 %77 = phi i64 [ 0, %73 ], [ %92, %91 ] %78 = phi i64 [ 0, %73 ], [ %93, %91 ] %79 = load ptr, ptr %74, align 8, !tbaa !20 %80 = getelementptr inbounds i32, ptr %79, i64 %78 %81 = load i32, ptr %80, align 4, !tbaa !13 %82 = tail call i64 @IE_ISGOOD(i32 noundef %81) #2 %83 = icmp eq i64 %82, 0 br i1 %83, label %91, label %84 84: ; preds = %76 %85 = load ptr, ptr %74, align 8, !tbaa !20 %86 = getelementptr inbounds i32, ptr %85, i64 %78 %87 = load i32, ptr %86, align 4, !tbaa !13 %88 = load ptr, ptr %75, align 8, !tbaa !20 %89 = add i64 %77, 1 %90 = getelementptr inbounds i32, ptr %88, i64 %77 store i32 %87, ptr %90, align 4, !tbaa !13 br label %91 91: ; preds = %76, %84 %92 = phi i64 [ %89, %84 ], [ %77, %76 ] %93 = add nuw i64 %78, 1 %94 = load i64, ptr @UNI_NUM_IE_CALLEDSUB, align 8, !tbaa !5 %95 = icmp ult i64 %93, %94 br i1 %95, label %76, label %96, !llvm.loop !21 96: ; preds = %91, %70 %97 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 2 %98 = load i32, ptr %97, align 8, !tbaa !22 %99 = tail call i64 @IE_ISGOOD(i32 noundef %98) #2 %100 = icmp eq i64 %99, 0 br i1 %100, label %104, label %101 101: ; preds = %96 %102 = load i32, ptr %97, align 8, !tbaa !22 %103 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 2 store i32 %102, ptr %103, align 8, !tbaa !22 br label %104 104: ; preds = %101, %96 %105 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %0, i64 0, i32 1 %106 = load i32, ptr %105, align 4, !tbaa !23 %107 = tail call i64 @IE_ISGOOD(i32 noundef %106) #2 %108 = icmp eq i64 %107, 0 br i1 %108, label %112, label %109 109: ; preds = %104 %110 = load i32, ptr %105, align 4, !tbaa !23 %111 = getelementptr inbounds %struct.uni_leaf_setup_req, ptr %1, i64 0, i32 1 store i32 %110, ptr %111, align 4, !tbaa !23 br label %112 112: ; preds = %109, %104 %113 = load i32, ptr %0, align 8, !tbaa !24 %114 = tail call i64 @IE_ISGOOD(i32 noundef %113) #2 %115 = icmp eq i64 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %112 %117 = load i32, ptr %0, align 8, !tbaa !24 store i32 %117, ptr %1, align 8, !tbaa !24 br label %118 118: ; preds = %116, %112 ret void } declare i64 @IE_ISGOOD(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, !12, i64 48} !10 = !{!"uni_leaf_setup_req", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 16, !11, i64 24, !12, i64 32, !11, i64 40, !12, i64 48} !11 = !{!"int", !7, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!11, !11, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = !{!10, !11, i64 40} !17 = !{!10, !12, i64 32} !18 = distinct !{!18, !15} !19 = !{!10, !11, i64 24} !20 = !{!10, !12, i64 16} !21 = distinct !{!21, !15} !22 = !{!10, !11, i64 8} !23 = !{!10, !11, i64 4} !24 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_leaf_setup_req.c' source_filename = "AnghaBench/freebsd/sys/contrib/ngatm/netnatm/sig/extr_sig_unimsgcpy.c_copy_msg_leaf_setup_req.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UNI_NUM_IE_TNS = common local_unnamed_addr global i64 0, align 8 @UNI_NUM_IE_CALLINGSUB = common local_unnamed_addr global i64 0, align 8 @UNI_NUM_IE_CALLEDSUB = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @copy_msg_leaf_setup_req(ptr nocapture noundef readonly %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = load i64, ptr @UNI_NUM_IE_TNS, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %28, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 48 %7 = getelementptr inbounds i8, ptr %1, i64 48 br label %8 8: ; preds = %5, %23 %9 = phi i64 [ 0, %5 ], [ %24, %23 ] %10 = phi i64 [ 0, %5 ], [ %25, %23 ] %11 = load ptr, ptr %6, align 8, !tbaa !10 %12 = getelementptr inbounds i32, ptr %11, i64 %10 %13 = load i32, ptr %12, align 4, !tbaa !14 %14 = tail call i64 @IE_ISGOOD(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %23, label %16 16: ; preds = %8 %17 = load ptr, ptr %6, align 8, !tbaa !10 %18 = getelementptr inbounds i32, ptr %17, i64 %10 %19 = load i32, ptr %18, align 4, !tbaa !14 %20 = load ptr, ptr %7, align 8, !tbaa !10 %21 = add i64 %9, 1 %22 = getelementptr inbounds i32, ptr %20, i64 %9 store i32 %19, ptr %22, align 4, !tbaa !14 br label %23 23: ; preds = %8, %16 %24 = phi i64 [ %21, %16 ], [ %9, %8 ] %25 = add nuw i64 %10, 1 %26 = load i64, ptr @UNI_NUM_IE_TNS, align 8, !tbaa !6 %27 = icmp ult i64 %25, %26 br i1 %27, label %8, label %28, !llvm.loop !15 28: ; preds = %23, %2 %29 = getelementptr inbounds i8, ptr %0, i64 40 %30 = load i32, ptr %29, align 8, !tbaa !17 %31 = tail call i64 @IE_ISGOOD(i32 noundef %30) #2 %32 = icmp eq i64 %31, 0 br i1 %32, label %36, label %33 33: ; preds = %28 %34 = load i32, ptr %29, align 8, !tbaa !17 %35 = getelementptr inbounds i8, ptr %1, i64 40 store i32 %34, ptr %35, align 8, !tbaa !17 br label %36 36: ; preds = %33, %28 %37 = load i64, ptr @UNI_NUM_IE_CALLINGSUB, align 8, !tbaa !6 %38 = icmp eq i64 %37, 0 br i1 %38, label %62, label %39 39: ; preds = %36 %40 = getelementptr inbounds i8, ptr %0, i64 32 %41 = getelementptr inbounds i8, ptr %1, i64 32 br label %42 42: ; preds = %39, %57 %43 = phi i64 [ 0, %39 ], [ %58, %57 ] %44 = phi i64 [ 0, %39 ], [ %59, %57 ] %45 = load ptr, ptr %40, align 8, !tbaa !18 %46 = getelementptr inbounds i32, ptr %45, i64 %44 %47 = load i32, ptr %46, align 4, !tbaa !14 %48 = tail call i64 @IE_ISGOOD(i32 noundef %47) #2 %49 = icmp eq i64 %48, 0 br i1 %49, label %57, label %50 50: ; preds = %42 %51 = load ptr, ptr %40, align 8, !tbaa !18 %52 = getelementptr inbounds i32, ptr %51, i64 %44 %53 = load i32, ptr %52, align 4, !tbaa !14 %54 = load ptr, ptr %41, align 8, !tbaa !18 %55 = add i64 %43, 1 %56 = getelementptr inbounds i32, ptr %54, i64 %43 store i32 %53, ptr %56, align 4, !tbaa !14 br label %57 57: ; preds = %42, %50 %58 = phi i64 [ %55, %50 ], [ %43, %42 ] %59 = add nuw i64 %44, 1 %60 = load i64, ptr @UNI_NUM_IE_CALLINGSUB, align 8, !tbaa !6 %61 = icmp ult i64 %59, %60 br i1 %61, label %42, label %62, !llvm.loop !19 62: ; preds = %57, %36 %63 = getelementptr inbounds i8, ptr %0, i64 24 %64 = load i32, ptr %63, align 8, !tbaa !20 %65 = tail call i64 @IE_ISGOOD(i32 noundef %64) #2 %66 = icmp eq i64 %65, 0 br i1 %66, label %70, label %67 67: ; preds = %62 %68 = load i32, ptr %63, align 8, !tbaa !20 %69 = getelementptr inbounds i8, ptr %1, i64 24 store i32 %68, ptr %69, align 8, !tbaa !20 br label %70 70: ; preds = %67, %62 %71 = load i64, ptr @UNI_NUM_IE_CALLEDSUB, align 8, !tbaa !6 %72 = icmp eq i64 %71, 0 br i1 %72, label %96, label %73 73: ; preds = %70 %74 = getelementptr inbounds i8, ptr %0, i64 16 %75 = getelementptr inbounds i8, ptr %1, i64 16 br label %76 76: ; preds = %73, %91 %77 = phi i64 [ 0, %73 ], [ %92, %91 ] %78 = phi i64 [ 0, %73 ], [ %93, %91 ] %79 = load ptr, ptr %74, align 8, !tbaa !21 %80 = getelementptr inbounds i32, ptr %79, i64 %78 %81 = load i32, ptr %80, align 4, !tbaa !14 %82 = tail call i64 @IE_ISGOOD(i32 noundef %81) #2 %83 = icmp eq i64 %82, 0 br i1 %83, label %91, label %84 84: ; preds = %76 %85 = load ptr, ptr %74, align 8, !tbaa !21 %86 = getelementptr inbounds i32, ptr %85, i64 %78 %87 = load i32, ptr %86, align 4, !tbaa !14 %88 = load ptr, ptr %75, align 8, !tbaa !21 %89 = add i64 %77, 1 %90 = getelementptr inbounds i32, ptr %88, i64 %77 store i32 %87, ptr %90, align 4, !tbaa !14 br label %91 91: ; preds = %76, %84 %92 = phi i64 [ %89, %84 ], [ %77, %76 ] %93 = add nuw i64 %78, 1 %94 = load i64, ptr @UNI_NUM_IE_CALLEDSUB, align 8, !tbaa !6 %95 = icmp ult i64 %93, %94 br i1 %95, label %76, label %96, !llvm.loop !22 96: ; preds = %91, %70 %97 = getelementptr inbounds i8, ptr %0, i64 8 %98 = load i32, ptr %97, align 8, !tbaa !23 %99 = tail call i64 @IE_ISGOOD(i32 noundef %98) #2 %100 = icmp eq i64 %99, 0 br i1 %100, label %104, label %101 101: ; preds = %96 %102 = load i32, ptr %97, align 8, !tbaa !23 %103 = getelementptr inbounds i8, ptr %1, i64 8 store i32 %102, ptr %103, align 8, !tbaa !23 br label %104 104: ; preds = %101, %96 %105 = getelementptr inbounds i8, ptr %0, i64 4 %106 = load i32, ptr %105, align 4, !tbaa !24 %107 = tail call i64 @IE_ISGOOD(i32 noundef %106) #2 %108 = icmp eq i64 %107, 0 br i1 %108, label %112, label %109 109: ; preds = %104 %110 = load i32, ptr %105, align 4, !tbaa !24 %111 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %110, ptr %111, align 4, !tbaa !24 br label %112 112: ; preds = %109, %104 %113 = load i32, ptr %0, align 8, !tbaa !25 %114 = tail call i64 @IE_ISGOOD(i32 noundef %113) #2 %115 = icmp eq i64 %114, 0 br i1 %115, label %118, label %116 116: ; preds = %112 %117 = load i32, ptr %0, align 8, !tbaa !25 store i32 %117, ptr %1, align 8, !tbaa !25 br label %118 118: ; preds = %116, %112 ret void } declare i64 @IE_ISGOOD(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, !13, i64 48} !11 = !{!"uni_leaf_setup_req", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !12, i64 24, !13, i64 32, !12, i64 40, !13, i64 48} !12 = !{!"int", !8, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!12, !12, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!11, !12, i64 40} !18 = !{!11, !13, i64 32} !19 = distinct !{!19, !16} !20 = !{!11, !12, i64 24} !21 = !{!11, !13, i64 16} !22 = distinct !{!22, !16} !23 = !{!11, !12, i64 8} !24 = !{!11, !12, i64 4} !25 = !{!11, !12, i64 0}
freebsd_sys_contrib_ngatm_netnatm_sig_extr_sig_unimsgcpy.c_copy_msg_leaf_setup_req
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_alloc.c_ocfs2_merge_rec_left.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_alloc.c_ocfs2_merge_rec_left.c" target datalayout = "e-m:e-p270:32:32-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.ocfs2_extent_list = type { i32, ptr, i32 } %struct.ocfs2_extent_rec = type { i32, i32, i32 } %struct.TYPE_9__ = type { ptr } @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_merge_rec_left], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ocfs2_merge_rec_left(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = load i32, ptr %3, align 4, !tbaa !5 %9 = tail call i32 @le16_to_cpu(i32 noundef %8) #4 %10 = tail call ptr @path_leaf_el(ptr noundef %0) #4 %11 = tail call ptr @path_leaf_bh(ptr noundef %0) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 store ptr null, ptr %7, align 8, !tbaa !10 %12 = lshr i32 %5, 31 %13 = tail call i32 @BUG_ON(i32 noundef %12) #4 %14 = getelementptr inbounds %struct.ocfs2_extent_list, ptr %10, i64 0, i32 1 %15 = load ptr, ptr %14, align 8, !tbaa !12 %16 = sext i32 %5 to i64 %17 = getelementptr %struct.ocfs2_extent_rec, ptr %15, i64 %16 %18 = icmp eq i32 %5, 0 br i1 %18, label %19, label %98 19: ; preds = %6 %20 = call i32 @ocfs2_get_left_path(ptr noundef %2, ptr noundef %0, ptr noundef nonnull %7) #4 %21 = icmp eq i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19 %23 = call i32 @mlog_errno(i32 noundef %20) #4 br label %164 24: ; preds = %19 %25 = load ptr, ptr %7, align 8, !tbaa !10 %26 = call ptr @path_leaf_el(ptr noundef %25) #4 %27 = load i32, ptr %26, align 8, !tbaa !14 %28 = call i32 @le16_to_cpu(i32 noundef %27) #4 %29 = getelementptr inbounds %struct.ocfs2_extent_list, ptr %26, i64 0, i32 2 %30 = load i32, ptr %29, align 8, !tbaa !15 %31 = call i32 @le16_to_cpu(i32 noundef %30) #4 %32 = icmp ne i32 %28, %31 %33 = zext i1 %32 to i32 %34 = call i32 @BUG_ON(i32 noundef %33) #4 %35 = getelementptr inbounds %struct.ocfs2_extent_list, ptr %26, i64 0, i32 1 %36 = load ptr, ptr %35, align 8, !tbaa !12 %37 = load i32, ptr %26, align 8, !tbaa !14 %38 = call i32 @le16_to_cpu(i32 noundef %37) #4 %39 = sext i32 %38 to i64 %40 = getelementptr %struct.ocfs2_extent_rec, ptr %36, i64 %39 %41 = getelementptr %struct.ocfs2_extent_rec, ptr %40, i64 -1 %42 = getelementptr %struct.ocfs2_extent_rec, ptr %40, i64 -1, i32 2 %43 = load i32, ptr %42, align 4, !tbaa !16 %44 = call i64 @le32_to_cpu(i32 noundef %43) #4 %45 = load i32, ptr %41, align 4, !tbaa !5 %46 = call i32 @le16_to_cpu(i32 noundef %45) #4 %47 = sext i32 %46 to i64 %48 = add nsw i64 %44, %47 %49 = getelementptr inbounds %struct.ocfs2_extent_rec, ptr %3, i64 0, i32 2 %50 = load i32, ptr %49, align 4, !tbaa !16 %51 = call i64 @le32_to_cpu(i32 noundef %50) #4 %52 = icmp ne i64 %48, %51 %53 = zext i1 %52 to i32 %54 = call i32 @BUG_ON(i32 noundef %53) #4 %55 = load ptr, ptr %7, align 8, !tbaa !10 %56 = call i32 @ocfs2_find_subtree_root(ptr noundef %2, ptr noundef %55, ptr noundef %0) #4 %57 = load i32, ptr %1, align 4, !tbaa !17 %58 = load ptr, ptr %7, align 8, !tbaa !10 %59 = call i32 @ocfs2_extend_rotate_transaction(ptr noundef nonnull %1, i32 noundef %56, i32 noundef %57, ptr noundef %58) #4 %60 = icmp eq i32 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %24 %62 = call i32 @mlog_errno(i32 noundef %59) #4 br label %160 63: ; preds = %24 %64 = load ptr, ptr %7, align 8, !tbaa !10 %65 = load ptr, ptr %64, align 8, !tbaa !19 %66 = sext i32 %56 to i64 %67 = getelementptr inbounds %struct.TYPE_9__, ptr %65, i64 %66 %68 = load ptr, ptr %67, align 8, !tbaa !21 %69 = load ptr, ptr %0, align 8, !tbaa !19 %70 = getelementptr inbounds %struct.TYPE_9__, ptr %69, i64 %66 %71 = load ptr, ptr %70, align 8, !tbaa !21 %72 = icmp ne ptr %68, %71 %73 = zext i1 %72 to i32 %74 = call i32 @BUG_ON(i32 noundef %73) #4 %75 = load i32, ptr %2, align 4, !tbaa !23 %76 = call i32 @ocfs2_path_bh_journal_access(ptr noundef nonnull %1, i32 noundef %75, ptr noundef nonnull %0, i32 noundef %56) #4 %77 = icmp eq i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %63 %79 = call i32 @mlog_errno(i32 noundef %76) #4 br label %160 80: ; preds = %63, %91 %81 = phi i32 [ %82, %91 ], [ %56, %63 ] %82 = add nsw i32 %81, 1 %83 = call i32 @path_num_items(ptr noundef nonnull %0) #4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %102 85: ; preds = %80 %86 = load i32, ptr %2, align 4, !tbaa !23 %87 = call i32 @ocfs2_path_bh_journal_access(ptr noundef nonnull %1, i32 noundef %86, ptr noundef nonnull %0, i32 noundef %82) #4 %88 = icmp eq i32 %87, 0 br i1 %88, label %91, label %89 89: ; preds = %85 %90 = call i32 @mlog_errno(i32 noundef %87) #4 br label %160 91: ; preds = %85 %92 = load i32, ptr %2, align 4, !tbaa !23 %93 = load ptr, ptr %7, align 8, !tbaa !10 %94 = call i32 @ocfs2_path_bh_journal_access(ptr noundef nonnull %1, i32 noundef %92, ptr noundef %93, i32 noundef %82) #4 %95 = icmp eq i32 %94, 0 br i1 %95, label %80, label %96, !llvm.loop !25 96: ; preds = %91 %97 = call i32 @mlog_errno(i32 noundef %94) #4 br label %160 98: ; preds = %6 %99 = getelementptr %struct.ocfs2_extent_rec, ptr %17, i64 -1 %100 = tail call i64 @ocfs2_is_empty_extent(ptr noundef %15) #4 %101 = icmp ne i64 %100, 0 br label %102 102: ; preds = %80, %98 %103 = phi i1 [ %101, %98 ], [ false, %80 ] %104 = phi ptr [ %99, %98 ], [ %41, %80 ] %105 = phi i32 [ 0, %98 ], [ %56, %80 ] %106 = load i32, ptr %2, align 4, !tbaa !23 %107 = call i32 @path_num_items(ptr noundef %0) #4 %108 = add nsw i32 %107, -1 %109 = call i32 @ocfs2_path_bh_journal_access(ptr noundef %1, i32 noundef %106, ptr noundef %0, i32 noundef %108) #4 %110 = icmp eq i32 %109, 0 br i1 %110, label %113, label %111 111: ; preds = %102 %112 = call i32 @mlog_errno(i32 noundef %109) #4 br label %160 113: ; preds = %102 %114 = icmp eq i32 %5, 1 %115 = and i1 %114, %103 br i1 %115, label %116, label %117 116: ; preds = %113 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %104, ptr noundef nonnull align 4 dereferenceable(12) %3, i64 12, i1 false), !tbaa.struct !27 br label %119 117: ; preds = %113 %118 = call i32 @le16_add_cpu(ptr noundef %104, i32 noundef %9) #4 br label %119 119: ; preds = %117, %116 %120 = getelementptr inbounds %struct.ocfs2_extent_rec, ptr %15, i64 %16, i32 2 %121 = call i32 @le32_add_cpu(ptr noundef nonnull %120, i32 noundef %9) #4 %122 = getelementptr inbounds %struct.ocfs2_extent_rec, ptr %15, i64 %16, i32 1 %123 = load i32, ptr %2, align 4, !tbaa !23 %124 = call i32 @ocfs2_metadata_cache_get_super(i32 noundef %123) #4 %125 = call i32 @ocfs2_clusters_to_blocks(i32 noundef %124, i32 noundef %9) #4 %126 = call i32 @le64_add_cpu(ptr noundef nonnull %122, i32 noundef %125) #4 %127 = sub i32 0, %9 %128 = call i32 @le16_add_cpu(ptr noundef %17, i32 noundef %127) #4 %129 = call i32 @ocfs2_cleanup_merge(ptr noundef %10, i32 noundef %5) #4 %130 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef %11) #4 %131 = load ptr, ptr %7, align 8, !tbaa !10 %132 = icmp eq ptr %131, null br i1 %132, label %160, label %133 133: ; preds = %119 %134 = call ptr @path_leaf_bh(ptr noundef nonnull %131) #4 %135 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef %134) #4 %136 = load i32, ptr %17, align 4, !tbaa !5 %137 = call i32 @le16_to_cpu(i32 noundef %136) #4 %138 = icmp eq i32 %137, 0 br i1 %138, label %139, label %157 139: ; preds = %133 %140 = load i32, ptr %10, align 8, !tbaa !14 %141 = call i32 @le16_to_cpu(i32 noundef %140) #4 %142 = icmp eq i32 %141, 1 br i1 %142, label %143, label %157 143: ; preds = %139 %144 = load i32, ptr %1, align 4, !tbaa !17 %145 = call i32 @ocfs2_extend_rotate_transaction(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %144, ptr noundef %0) #4 %146 = icmp eq i32 %145, 0 br i1 %146, label %149, label %147 147: ; preds = %143 %148 = call i32 @mlog_errno(i32 noundef %145) #4 br label %160 149: ; preds = %143 %150 = call i32 @ocfs2_remove_rightmost_path(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef %0, ptr noundef %4) #4 %151 = icmp eq i32 %150, 0 br i1 %151, label %154, label %152 152: ; preds = %149 %153 = call i32 @mlog_errno(i32 noundef %150) #4 br label %160 154: ; preds = %149 %155 = load ptr, ptr %7, align 8, !tbaa !10 %156 = call i32 @ocfs2_mv_path(ptr noundef %0, ptr noundef %155) #4 store ptr null, ptr %7, align 8, !tbaa !10 br label %160 157: ; preds = %139, %133 %158 = load ptr, ptr %7, align 8, !tbaa !10 %159 = call i32 @ocfs2_complete_edge_insert(ptr noundef %1, ptr noundef %158, ptr noundef %0, i32 noundef %105) #4 br label %160 160: ; preds = %119, %157, %154, %152, %147, %111, %96, %89, %78, %61 %161 = phi i32 [ %59, %61 ], [ %76, %78 ], [ %87, %89 ], [ %94, %96 ], [ %109, %111 ], [ %145, %147 ], [ %150, %152 ], [ 0, %154 ], [ 0, %157 ], [ 0, %119 ] %162 = load ptr, ptr %7, align 8, !tbaa !10 %163 = call i32 @ocfs2_free_path(ptr noundef %162) #4 br label %164 164: ; preds = %160, %22 %165 = phi i32 [ %20, %22 ], [ %161, %160 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 ret i32 %165 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #2 declare ptr @path_leaf_el(ptr noundef) local_unnamed_addr #2 declare ptr @path_leaf_bh(ptr noundef) local_unnamed_addr #2 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_get_left_path(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_find_subtree_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_extend_rotate_transaction(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_path_bh_journal_access(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @path_num_items(ptr noundef) local_unnamed_addr #2 declare i64 @ocfs2_is_empty_extent(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @le16_add_cpu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @le32_add_cpu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @le64_add_cpu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_clusters_to_blocks(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_metadata_cache_get_super(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_cleanup_merge(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_journal_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_remove_rightmost_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_mv_path(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_complete_edge_insert(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_free_path(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 = { mustprogress 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, !7, i64 0} !6 = !{!"ocfs2_extent_rec", !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 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"ocfs2_extent_list", !7, i64 0, !11, i64 8, !7, i64 16} !14 = !{!13, !7, i64 0} !15 = !{!13, !7, i64 16} !16 = !{!6, !7, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_10__", !7, i64 0} !19 = !{!20, !11, i64 0} !20 = !{!"ocfs2_path", !11, i64 0} !21 = !{!22, !11, i64 0} !22 = !{!"TYPE_9__", !11, i64 0} !23 = !{!24, !7, i64 0} !24 = !{!"ocfs2_extent_tree", !7, i64 0} !25 = distinct !{!25, !26} !26 = !{!"llvm.loop.mustprogress"} !27 = !{i64 0, i64 4, !28, i64 4, i64 4, !28, i64 8, i64 4, !28} !28 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/ocfs2/extr_alloc.c_ocfs2_merge_rec_left.c' source_filename = "AnghaBench/linux/fs/ocfs2/extr_alloc.c_ocfs2_merge_rec_left.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ocfs2_extent_rec = type { i32, i32, i32 } %struct.TYPE_9__ = type { ptr } @llvm.used = appending global [1 x ptr] [ptr @ocfs2_merge_rec_left], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ocfs2_merge_rec_left(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, i32 noundef %5) #0 { %7 = alloca ptr, align 8 %8 = load i32, ptr %3, align 4, !tbaa !6 %9 = tail call i32 @le16_to_cpu(i32 noundef %8) #4 %10 = tail call ptr @path_leaf_el(ptr noundef %0) #4 %11 = tail call ptr @path_leaf_bh(ptr noundef %0) #4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4 store ptr null, ptr %7, align 8, !tbaa !11 %12 = lshr i32 %5, 31 %13 = tail call i32 @BUG_ON(i32 noundef %12) #4 %14 = getelementptr inbounds i8, ptr %10, i64 8 %15 = load ptr, ptr %14, align 8, !tbaa !13 %16 = sext i32 %5 to i64 %17 = getelementptr %struct.ocfs2_extent_rec, ptr %15, i64 %16 %18 = icmp eq i32 %5, 0 br i1 %18, label %19, label %98 19: ; preds = %6 %20 = call i32 @ocfs2_get_left_path(ptr noundef %2, ptr noundef %0, ptr noundef nonnull %7) #4 %21 = icmp eq i32 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %19 %23 = call i32 @mlog_errno(i32 noundef %20) #4 br label %164 24: ; preds = %19 %25 = load ptr, ptr %7, align 8, !tbaa !11 %26 = call ptr @path_leaf_el(ptr noundef %25) #4 %27 = load i32, ptr %26, align 8, !tbaa !15 %28 = call i32 @le16_to_cpu(i32 noundef %27) #4 %29 = getelementptr inbounds i8, ptr %26, i64 16 %30 = load i32, ptr %29, align 8, !tbaa !16 %31 = call i32 @le16_to_cpu(i32 noundef %30) #4 %32 = icmp ne i32 %28, %31 %33 = zext i1 %32 to i32 %34 = call i32 @BUG_ON(i32 noundef %33) #4 %35 = getelementptr inbounds i8, ptr %26, i64 8 %36 = load ptr, ptr %35, align 8, !tbaa !13 %37 = load i32, ptr %26, align 8, !tbaa !15 %38 = call i32 @le16_to_cpu(i32 noundef %37) #4 %39 = sext i32 %38 to i64 %40 = getelementptr %struct.ocfs2_extent_rec, ptr %36, i64 %39 %41 = getelementptr i8, ptr %40, i64 -12 %42 = getelementptr i8, ptr %40, i64 -4 %43 = load i32, ptr %42, align 4, !tbaa !17 %44 = call i64 @le32_to_cpu(i32 noundef %43) #4 %45 = load i32, ptr %41, align 4, !tbaa !6 %46 = call i32 @le16_to_cpu(i32 noundef %45) #4 %47 = sext i32 %46 to i64 %48 = add nsw i64 %44, %47 %49 = getelementptr inbounds i8, ptr %3, i64 8 %50 = load i32, ptr %49, align 4, !tbaa !17 %51 = call i64 @le32_to_cpu(i32 noundef %50) #4 %52 = icmp ne i64 %48, %51 %53 = zext i1 %52 to i32 %54 = call i32 @BUG_ON(i32 noundef %53) #4 %55 = load ptr, ptr %7, align 8, !tbaa !11 %56 = call i32 @ocfs2_find_subtree_root(ptr noundef %2, ptr noundef %55, ptr noundef %0) #4 %57 = load i32, ptr %1, align 4, !tbaa !18 %58 = load ptr, ptr %7, align 8, !tbaa !11 %59 = call i32 @ocfs2_extend_rotate_transaction(ptr noundef nonnull %1, i32 noundef %56, i32 noundef %57, ptr noundef %58) #4 %60 = icmp eq i32 %59, 0 br i1 %60, label %63, label %61 61: ; preds = %24 %62 = call i32 @mlog_errno(i32 noundef %59) #4 br label %160 63: ; preds = %24 %64 = load ptr, ptr %7, align 8, !tbaa !11 %65 = load ptr, ptr %64, align 8, !tbaa !20 %66 = sext i32 %56 to i64 %67 = getelementptr inbounds %struct.TYPE_9__, ptr %65, i64 %66 %68 = load ptr, ptr %67, align 8, !tbaa !22 %69 = load ptr, ptr %0, align 8, !tbaa !20 %70 = getelementptr inbounds %struct.TYPE_9__, ptr %69, i64 %66 %71 = load ptr, ptr %70, align 8, !tbaa !22 %72 = icmp ne ptr %68, %71 %73 = zext i1 %72 to i32 %74 = call i32 @BUG_ON(i32 noundef %73) #4 %75 = load i32, ptr %2, align 4, !tbaa !24 %76 = call i32 @ocfs2_path_bh_journal_access(ptr noundef nonnull %1, i32 noundef %75, ptr noundef nonnull %0, i32 noundef %56) #4 %77 = icmp eq i32 %76, 0 br i1 %77, label %80, label %78 78: ; preds = %63 %79 = call i32 @mlog_errno(i32 noundef %76) #4 br label %160 80: ; preds = %63, %91 %81 = phi i32 [ %82, %91 ], [ %56, %63 ] %82 = add nsw i32 %81, 1 %83 = call i32 @path_num_items(ptr noundef nonnull %0) #4 %84 = icmp slt i32 %82, %83 br i1 %84, label %85, label %102 85: ; preds = %80 %86 = load i32, ptr %2, align 4, !tbaa !24 %87 = call i32 @ocfs2_path_bh_journal_access(ptr noundef nonnull %1, i32 noundef %86, ptr noundef nonnull %0, i32 noundef %82) #4 %88 = icmp eq i32 %87, 0 br i1 %88, label %91, label %89 89: ; preds = %85 %90 = call i32 @mlog_errno(i32 noundef %87) #4 br label %160 91: ; preds = %85 %92 = load i32, ptr %2, align 4, !tbaa !24 %93 = load ptr, ptr %7, align 8, !tbaa !11 %94 = call i32 @ocfs2_path_bh_journal_access(ptr noundef nonnull %1, i32 noundef %92, ptr noundef %93, i32 noundef %82) #4 %95 = icmp eq i32 %94, 0 br i1 %95, label %80, label %96, !llvm.loop !26 96: ; preds = %91 %97 = call i32 @mlog_errno(i32 noundef %94) #4 br label %160 98: ; preds = %6 %99 = getelementptr i8, ptr %17, i64 -12 %100 = tail call i64 @ocfs2_is_empty_extent(ptr noundef %15) #4 %101 = icmp ne i64 %100, 0 br label %102 102: ; preds = %80, %98 %103 = phi i1 [ %101, %98 ], [ false, %80 ] %104 = phi ptr [ %99, %98 ], [ %41, %80 ] %105 = phi i32 [ 0, %98 ], [ %56, %80 ] %106 = load i32, ptr %2, align 4, !tbaa !24 %107 = call i32 @path_num_items(ptr noundef %0) #4 %108 = add nsw i32 %107, -1 %109 = call i32 @ocfs2_path_bh_journal_access(ptr noundef %1, i32 noundef %106, ptr noundef %0, i32 noundef %108) #4 %110 = icmp eq i32 %109, 0 br i1 %110, label %113, label %111 111: ; preds = %102 %112 = call i32 @mlog_errno(i32 noundef %109) #4 br label %160 113: ; preds = %102 %114 = icmp eq i32 %5, 1 %115 = and i1 %114, %103 br i1 %115, label %116, label %117 116: ; preds = %113 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %104, ptr noundef nonnull align 4 dereferenceable(12) %3, i64 12, i1 false), !tbaa.struct !28 br label %119 117: ; preds = %113 %118 = call i32 @le16_add_cpu(ptr noundef %104, i32 noundef %9) #4 br label %119 119: ; preds = %117, %116 %120 = getelementptr inbounds i8, ptr %17, i64 8 %121 = call i32 @le32_add_cpu(ptr noundef nonnull %120, i32 noundef %9) #4 %122 = getelementptr inbounds i8, ptr %17, i64 4 %123 = load i32, ptr %2, align 4, !tbaa !24 %124 = call i32 @ocfs2_metadata_cache_get_super(i32 noundef %123) #4 %125 = call i32 @ocfs2_clusters_to_blocks(i32 noundef %124, i32 noundef %9) #4 %126 = call i32 @le64_add_cpu(ptr noundef nonnull %122, i32 noundef %125) #4 %127 = sub i32 0, %9 %128 = call i32 @le16_add_cpu(ptr noundef %17, i32 noundef %127) #4 %129 = call i32 @ocfs2_cleanup_merge(ptr noundef %10, i32 noundef %5) #4 %130 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef %11) #4 %131 = load ptr, ptr %7, align 8, !tbaa !11 %132 = icmp eq ptr %131, null br i1 %132, label %160, label %133 133: ; preds = %119 %134 = call ptr @path_leaf_bh(ptr noundef nonnull %131) #4 %135 = call i32 @ocfs2_journal_dirty(ptr noundef %1, ptr noundef %134) #4 %136 = load i32, ptr %17, align 4, !tbaa !6 %137 = call i32 @le16_to_cpu(i32 noundef %136) #4 %138 = icmp eq i32 %137, 0 br i1 %138, label %139, label %157 139: ; preds = %133 %140 = load i32, ptr %10, align 8, !tbaa !15 %141 = call i32 @le16_to_cpu(i32 noundef %140) #4 %142 = icmp eq i32 %141, 1 br i1 %142, label %143, label %157 143: ; preds = %139 %144 = load i32, ptr %1, align 4, !tbaa !18 %145 = call i32 @ocfs2_extend_rotate_transaction(ptr noundef nonnull %1, i32 noundef 0, i32 noundef %144, ptr noundef %0) #4 %146 = icmp eq i32 %145, 0 br i1 %146, label %149, label %147 147: ; preds = %143 %148 = call i32 @mlog_errno(i32 noundef %145) #4 br label %160 149: ; preds = %143 %150 = call i32 @ocfs2_remove_rightmost_path(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef %0, ptr noundef %4) #4 %151 = icmp eq i32 %150, 0 br i1 %151, label %154, label %152 152: ; preds = %149 %153 = call i32 @mlog_errno(i32 noundef %150) #4 br label %160 154: ; preds = %149 %155 = load ptr, ptr %7, align 8, !tbaa !11 %156 = call i32 @ocfs2_mv_path(ptr noundef %0, ptr noundef %155) #4 store ptr null, ptr %7, align 8, !tbaa !11 br label %160 157: ; preds = %139, %133 %158 = load ptr, ptr %7, align 8, !tbaa !11 %159 = call i32 @ocfs2_complete_edge_insert(ptr noundef %1, ptr noundef %158, ptr noundef %0, i32 noundef %105) #4 br label %160 160: ; preds = %119, %157, %154, %152, %147, %111, %96, %89, %78, %61 %161 = phi i32 [ %59, %61 ], [ %76, %78 ], [ %87, %89 ], [ %94, %96 ], [ %109, %111 ], [ %145, %147 ], [ %150, %152 ], [ 0, %154 ], [ 0, %157 ], [ 0, %119 ] %162 = load ptr, ptr %7, align 8, !tbaa !11 %163 = call i32 @ocfs2_free_path(ptr noundef %162) #4 br label %164 164: ; preds = %160, %22 %165 = phi i32 [ %20, %22 ], [ %161, %160 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4 ret i32 %165 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @le16_to_cpu(i32 noundef) local_unnamed_addr #2 declare ptr @path_leaf_el(ptr noundef) local_unnamed_addr #2 declare ptr @path_leaf_bh(ptr noundef) local_unnamed_addr #2 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_get_left_path(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mlog_errno(i32 noundef) local_unnamed_addr #2 declare i64 @le32_to_cpu(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_find_subtree_root(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_extend_rotate_transaction(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_path_bh_journal_access(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @path_num_items(ptr noundef) local_unnamed_addr #2 declare i64 @ocfs2_is_empty_extent(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @le16_add_cpu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @le32_add_cpu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @le64_add_cpu(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_clusters_to_blocks(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_metadata_cache_get_super(i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_cleanup_merge(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_journal_dirty(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_remove_rightmost_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_mv_path(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ocfs2_complete_edge_insert(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @ocfs2_free_path(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 = { mustprogress 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, !8, i64 0} !7 = !{!"ocfs2_extent_rec", !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 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !12, i64 8} !14 = !{!"ocfs2_extent_list", !8, i64 0, !12, i64 8, !8, i64 16} !15 = !{!14, !8, i64 0} !16 = !{!14, !8, i64 16} !17 = !{!7, !8, i64 8} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_10__", !8, i64 0} !20 = !{!21, !12, i64 0} !21 = !{!"ocfs2_path", !12, i64 0} !22 = !{!23, !12, i64 0} !23 = !{!"TYPE_9__", !12, i64 0} !24 = !{!25, !8, i64 0} !25 = !{!"ocfs2_extent_tree", !8, i64 0} !26 = distinct !{!26, !27} !27 = !{!"llvm.loop.mustprogress"} !28 = !{i64 0, i64 4, !29, i64 4, i64 4, !29, i64 8, i64 4, !29} !29 = !{!8, !8, i64 0}
linux_fs_ocfs2_extr_alloc.c_ocfs2_merge_rec_left
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetTimeout.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetTimeout.c" target datalayout = "e-m:e-p270:32:32-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 } @INFINITE = dso_local local_unnamed_addr global i32 0, align 4 @SOCK_TCP = dso_local local_unnamed_addr global i64 0, align 8 @SOCK_INPROC = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define dso_local i32 @GetTimeout(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr @SOCK_TCP, align 8, !tbaa !11 %6 = icmp eq i64 %4, %5 %7 = load i64, ptr @SOCK_INPROC, align 8 %8 = icmp eq i64 %4, %7 %9 = select i1 %6, i1 true, i1 %8 %10 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %11 = select i1 %9, ptr %10, ptr @INFINITE br label %12 12: ; preds = %3, %1 %13 = phi ptr [ @INFINITE, %1 ], [ %11, %3 ] %14 = load i32, ptr %13, align 4, !tbaa !12 ret i32 %14 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !10, i64 8} !7 = !{!"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 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetTimeout.c' source_filename = "AnghaBench/SoftEtherVPN/src/Mayaqua/extr_Network.c_GetTimeout.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @INFINITE = common local_unnamed_addr global i32 0, align 4 @SOCK_TCP = common local_unnamed_addr global i64 0, align 8 @SOCK_INPROC = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define i32 @GetTimeout(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %12, label %3 3: ; preds = %1 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr @SOCK_TCP, align 8, !tbaa !12 %6 = icmp eq i64 %4, %5 %7 = load i64, ptr @SOCK_INPROC, align 8 %8 = icmp eq i64 %4, %7 %9 = select i1 %6, i1 true, i1 %8 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = select i1 %9, ptr %10, ptr @INFINITE br label %12 12: ; preds = %3, %1 %13 = phi ptr [ @INFINITE, %1 ], [ %11, %3 ] %14 = load i32, ptr %13, align 4, !tbaa !13 ret i32 %14 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !11, i64 8} !8 = !{!"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 = !{!11, !11, i64 0}
SoftEtherVPN_src_Mayaqua_extr_Network.c_GetTimeout
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_terminal.c_termteken_post_input.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_terminal.c_termteken_post_input.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @termteken_post_input], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @termteken_post_input(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = tail call i32 %3(ptr noundef nonnull %0) #1 ret void } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"terminal", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_2__", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/kern/extr_subr_terminal.c_termteken_post_input.c' source_filename = "AnghaBench/freebsd/sys/kern/extr_subr_terminal.c_termteken_post_input.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 @termteken_post_input], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @termteken_post_input(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = tail call i32 %3(ptr noundef nonnull %0) #1 ret void } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"terminal", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_2__", !8, i64 0}
freebsd_sys_kern_extr_subr_terminal.c_termteken_post_input
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_search.c_lookup_base.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_search.c_lookup_base.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.lookup_base_data_s = type { i64, i32, i32, i32, i32, i64, i64 } @error_mark_node = dso_local local_unnamed_addr global i64 0, align 8 @NULL_TREE = dso_local local_unnamed_addr global i64 0, align 8 @ba_any = dso_local local_unnamed_addr global i64 0, align 8 @dfs_lookup_base = dso_local local_unnamed_addr global i32 0, align 4 @bk_same_type = dso_local local_unnamed_addr global i32 0, align 4 @bk_via_virtual = dso_local local_unnamed_addr global i32 0, align 4 @bk_proper_base = dso_local local_unnamed_addr global i32 0, align 4 @ba_quiet = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [32 x i8] c"%qT is an ambiguous base of %qT\00", align 1 @ba_check_bit = dso_local local_unnamed_addr global i64 0, align 8 @ba_ignore_scope = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [35 x i8] c"%qT is an inaccessible base of %qT\00", align 1 @bk_inaccessible = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @lookup_base(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca %struct.lookup_base_data_s, align 8 %6 = load i64, ptr @error_mark_node, align 8, !tbaa !5 %7 = icmp eq i64 %6, %0 %8 = icmp eq i64 %6, %1 %9 = or i1 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %4 %11 = icmp eq ptr %3, null br i1 %11, label %108, label %105 12: ; preds = %4 %13 = tail call i32 @TYPE_P(i64 noundef %1) #3 %14 = tail call i32 @gcc_assert(i32 noundef %13) #3 %15 = tail call i32 @TYPE_P(i64 noundef %0) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = tail call i64 @BINFO_TYPE(i64 noundef %0) #3 br label %23 19: ; preds = %12 %20 = tail call i32 @TYPE_MAIN_VARIANT(i64 noundef %0) #3 %21 = tail call i64 @complete_type(i32 noundef %20) #3 %22 = tail call i64 @TYPE_BINFO(i64 noundef %21) #3 br label %23 23: ; preds = %19, %17 %24 = phi i64 [ %21, %19 ], [ %18, %17 ] %25 = phi i64 [ %22, %19 ], [ %0, %17 ] %26 = tail call i32 @TYPE_MAIN_VARIANT(i64 noundef %1) #3 %27 = tail call i64 @complete_type(i32 noundef %26) #3 %28 = icmp eq i64 %25, 0 br i1 %28, label %62, label %29 29: ; preds = %23 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3 %30 = getelementptr inbounds %struct.lookup_base_data_s, ptr %5, i64 0, i32 6 store i64 %24, ptr %30, align 8, !tbaa !9 %31 = getelementptr inbounds %struct.lookup_base_data_s, ptr %5, i64 0, i32 5 store i64 %27, ptr %31, align 8, !tbaa !12 %32 = load i64, ptr @NULL_TREE, align 8, !tbaa !5 store i64 %32, ptr %5, align 8, !tbaa !13 %33 = getelementptr inbounds %struct.lookup_base_data_s, ptr %5, i64 0, i32 2 store i32 0, ptr %33, align 4, !tbaa !14 %34 = getelementptr inbounds %struct.lookup_base_data_s, ptr %5, i64 0, i32 1 store i32 0, ptr %34, align 8, !tbaa !15 %35 = tail call i32 @CLASSTYPE_REPEATED_BASE_P(i64 noundef %24) #3 %36 = getelementptr inbounds %struct.lookup_base_data_s, ptr %5, i64 0, i32 4 store i32 %35, ptr %36, align 4, !tbaa !16 %37 = load i64, ptr @ba_any, align 8, !tbaa !5 %38 = icmp eq i64 %37, %2 %39 = zext i1 %38 to i32 %40 = getelementptr inbounds %struct.lookup_base_data_s, ptr %5, i64 0, i32 3 store i32 %39, ptr %40, align 8, !tbaa !17 %41 = load i32, ptr @dfs_lookup_base, align 4, !tbaa !18 %42 = call i32 @dfs_walk_once(i64 noundef %25, i32 noundef %41, ptr noundef null, ptr noundef nonnull %5) #3 %43 = load i64, ptr %5, align 8, !tbaa !13 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %29 %46 = load i32, ptr %34, align 8, !tbaa !15 %47 = icmp eq i32 %46, 0 %48 = select i1 %47, i32 128, i32 129 br label %60 49: ; preds = %29 %50 = icmp eq i64 %43, %25 br i1 %50, label %51, label %53 51: ; preds = %49 %52 = load i32, ptr @bk_same_type, align 4, !tbaa !18 br label %60 53: ; preds = %49 %54 = load i32, ptr %33, align 4, !tbaa !14 %55 = icmp eq i32 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %53 %57 = load i32, ptr @bk_via_virtual, align 4, !tbaa !18 br label %60 58: ; preds = %53 %59 = load i32, ptr @bk_proper_base, align 4, !tbaa !18 br label %60 60: ; preds = %51, %58, %56, %45 %61 = phi i32 [ %52, %51 ], [ %57, %56 ], [ %59, %58 ], [ %48, %45 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3 br label %64 62: ; preds = %23 %63 = load i64, ptr @NULL_TREE, align 8, !tbaa !5 br label %64 64: ; preds = %62, %60 %65 = phi i64 [ %43, %60 ], [ %63, %62 ] %66 = phi i32 [ %61, %60 ], [ 128, %62 ] %67 = load i64, ptr @ba_any, align 8, !tbaa !5 %68 = icmp eq i64 %67, %2 br i1 %68, label %101, label %69 69: ; preds = %64 switch i32 %66, label %77 [ i32 128, label %101 i32 129, label %70 ] 70: ; preds = %69 %71 = load i64, ptr @ba_quiet, align 8, !tbaa !5 %72 = and i64 %71, %2 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %101 74: ; preds = %70 %75 = call i32 @error(ptr noundef nonnull @.str, i64 noundef %27, i64 noundef %24) #3 %76 = load i64, ptr @error_mark_node, align 8, !tbaa !5 br label %101 77: ; preds = %69 %78 = load i64, ptr @ba_check_bit, align 8, !tbaa !5 %79 = and i64 %78, %2 %80 = icmp eq i64 %79, 0 br i1 %80, label %101, label %81 81: ; preds = %77 %82 = call i32 @COMPLETE_TYPE_P(i64 noundef %27) #3 %83 = icmp eq i32 %82, 0 br i1 %83, label %101, label %84 84: ; preds = %81 %85 = load i64, ptr @ba_ignore_scope, align 8, !tbaa !5 %86 = and i64 %85, %2 %87 = icmp eq i64 %86, 0 %88 = zext i1 %87 to i32 %89 = call i32 @accessible_base_p(i64 noundef %24, i64 noundef %27, i32 noundef %88) #3 %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %101 91: ; preds = %84 %92 = load i64, ptr @ba_quiet, align 8, !tbaa !5 %93 = and i64 %92, %2 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %91 %96 = call i32 @error(ptr noundef nonnull @.str.1, i64 noundef %27, i64 noundef %24) #3 br label %97 97: ; preds = %91, %95 %98 = phi ptr [ @error_mark_node, %95 ], [ @NULL_TREE, %91 ] %99 = load i64, ptr %98, align 8, !tbaa !5 %100 = load i32, ptr @bk_inaccessible, align 4, !tbaa !18 br label %101 101: ; preds = %69, %74, %70, %97, %84, %81, %77, %64 %102 = phi i64 [ %65, %84 ], [ %99, %97 ], [ %65, %81 ], [ %65, %77 ], [ %65, %70 ], [ %76, %74 ], [ %65, %69 ], [ %65, %64 ] %103 = phi i32 [ %66, %84 ], [ %100, %97 ], [ %66, %81 ], [ %66, %77 ], [ 129, %70 ], [ 129, %74 ], [ %66, %69 ], [ %66, %64 ] %104 = icmp eq ptr %3, null br i1 %104, label %108, label %105 105: ; preds = %101, %10 %106 = phi i32 [ 128, %10 ], [ %103, %101 ] %107 = phi i64 [ %6, %10 ], [ %102, %101 ] store i32 %106, ptr %3, align 4, !tbaa !18 br label %108 108: ; preds = %105, %10, %101 %109 = phi i64 [ %102, %101 ], [ %6, %10 ], [ %107, %105 ] ret i64 %109 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_P(i64 noundef) local_unnamed_addr #2 declare i64 @BINFO_TYPE(i64 noundef) local_unnamed_addr #2 declare i64 @complete_type(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_MAIN_VARIANT(i64 noundef) local_unnamed_addr #2 declare i64 @TYPE_BINFO(i64 noundef) local_unnamed_addr #2 declare i32 @CLASSTYPE_REPEATED_BASE_P(i64 noundef) local_unnamed_addr #2 declare i32 @dfs_walk_once(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @error(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @COMPLETE_TYPE_P(i64 noundef) local_unnamed_addr #2 declare i32 @accessible_base_p(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 32} !10 = !{!"lookup_base_data_s", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !6, i64 24, !6, i64 32} !11 = !{!"int", !7, i64 0} !12 = !{!10, !6, i64 24} !13 = !{!10, !6, i64 0} !14 = !{!10, !11, i64 12} !15 = !{!10, !11, i64 8} !16 = !{!10, !11, i64 20} !17 = !{!10, !11, i64 16} !18 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/cp/extr_search.c_lookup_base.c' source_filename = "AnghaBench/freebsd/contrib/gcc/cp/extr_search.c_lookup_base.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.lookup_base_data_s = type { i64, i32, i32, i32, i32, i64, i64 } @error_mark_node = common local_unnamed_addr global i64 0, align 8 @NULL_TREE = common local_unnamed_addr global i64 0, align 8 @ba_any = common local_unnamed_addr global i64 0, align 8 @dfs_lookup_base = common local_unnamed_addr global i32 0, align 4 @bk_same_type = common local_unnamed_addr global i32 0, align 4 @bk_via_virtual = common local_unnamed_addr global i32 0, align 4 @bk_proper_base = common local_unnamed_addr global i32 0, align 4 @ba_quiet = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [32 x i8] c"%qT is an ambiguous base of %qT\00", align 1 @ba_check_bit = common local_unnamed_addr global i64 0, align 8 @ba_ignore_scope = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [35 x i8] c"%qT is an inaccessible base of %qT\00", align 1 @bk_inaccessible = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @lookup_base(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef writeonly %3) local_unnamed_addr #0 { %5 = alloca %struct.lookup_base_data_s, align 8 %6 = load i64, ptr @error_mark_node, align 8, !tbaa !6 %7 = icmp eq i64 %6, %0 %8 = icmp eq i64 %6, %1 %9 = or i1 %7, %8 br i1 %9, label %10, label %12 10: ; preds = %4 %11 = icmp eq ptr %3, null br i1 %11, label %108, label %105 12: ; preds = %4 %13 = tail call i32 @TYPE_P(i64 noundef %1) #3 %14 = tail call i32 @gcc_assert(i32 noundef %13) #3 %15 = tail call i32 @TYPE_P(i64 noundef %0) #3 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = tail call i64 @BINFO_TYPE(i64 noundef %0) #3 br label %23 19: ; preds = %12 %20 = tail call i32 @TYPE_MAIN_VARIANT(i64 noundef %0) #3 %21 = tail call i64 @complete_type(i32 noundef %20) #3 %22 = tail call i64 @TYPE_BINFO(i64 noundef %21) #3 br label %23 23: ; preds = %19, %17 %24 = phi i64 [ %21, %19 ], [ %18, %17 ] %25 = phi i64 [ %22, %19 ], [ %0, %17 ] %26 = tail call i32 @TYPE_MAIN_VARIANT(i64 noundef %1) #3 %27 = tail call i64 @complete_type(i32 noundef %26) #3 %28 = icmp eq i64 %25, 0 br i1 %28, label %62, label %29 29: ; preds = %23 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #3 %30 = getelementptr inbounds i8, ptr %5, i64 32 store i64 %24, ptr %30, align 8, !tbaa !10 %31 = getelementptr inbounds i8, ptr %5, i64 24 store i64 %27, ptr %31, align 8, !tbaa !13 %32 = load i64, ptr @NULL_TREE, align 8, !tbaa !6 store i64 %32, ptr %5, align 8, !tbaa !14 %33 = getelementptr inbounds i8, ptr %5, i64 12 %34 = getelementptr inbounds i8, ptr %5, i64 8 store <2 x i32> zeroinitializer, ptr %34, align 8, !tbaa !15 %35 = tail call i32 @CLASSTYPE_REPEATED_BASE_P(i64 noundef %24) #3 %36 = getelementptr inbounds i8, ptr %5, i64 20 store i32 %35, ptr %36, align 4, !tbaa !16 %37 = load i64, ptr @ba_any, align 8, !tbaa !6 %38 = icmp eq i64 %37, %2 %39 = zext i1 %38 to i32 %40 = getelementptr inbounds i8, ptr %5, i64 16 store i32 %39, ptr %40, align 8, !tbaa !17 %41 = load i32, ptr @dfs_lookup_base, align 4, !tbaa !15 %42 = call i32 @dfs_walk_once(i64 noundef %25, i32 noundef %41, ptr noundef null, ptr noundef nonnull %5) #3 %43 = load i64, ptr %5, align 8, !tbaa !14 %44 = icmp eq i64 %43, 0 br i1 %44, label %45, label %49 45: ; preds = %29 %46 = load i32, ptr %34, align 8, !tbaa !18 %47 = icmp eq i32 %46, 0 %48 = select i1 %47, i32 128, i32 129 br label %60 49: ; preds = %29 %50 = icmp eq i64 %43, %25 br i1 %50, label %51, label %53 51: ; preds = %49 %52 = load i32, ptr @bk_same_type, align 4, !tbaa !15 br label %60 53: ; preds = %49 %54 = load i32, ptr %33, align 4, !tbaa !19 %55 = icmp eq i32 %54, 0 br i1 %55, label %58, label %56 56: ; preds = %53 %57 = load i32, ptr @bk_via_virtual, align 4, !tbaa !15 br label %60 58: ; preds = %53 %59 = load i32, ptr @bk_proper_base, align 4, !tbaa !15 br label %60 60: ; preds = %51, %58, %56, %45 %61 = phi i32 [ %52, %51 ], [ %57, %56 ], [ %59, %58 ], [ %48, %45 ] call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #3 br label %64 62: ; preds = %23 %63 = load i64, ptr @NULL_TREE, align 8, !tbaa !6 br label %64 64: ; preds = %62, %60 %65 = phi i64 [ %43, %60 ], [ %63, %62 ] %66 = phi i32 [ %61, %60 ], [ 128, %62 ] %67 = load i64, ptr @ba_any, align 8, !tbaa !6 %68 = icmp eq i64 %67, %2 br i1 %68, label %101, label %69 69: ; preds = %64 switch i32 %66, label %77 [ i32 128, label %101 i32 129, label %70 ] 70: ; preds = %69 %71 = load i64, ptr @ba_quiet, align 8, !tbaa !6 %72 = and i64 %71, %2 %73 = icmp eq i64 %72, 0 br i1 %73, label %74, label %101 74: ; preds = %70 %75 = call i32 @error(ptr noundef nonnull @.str, i64 noundef %27, i64 noundef %24) #3 %76 = load i64, ptr @error_mark_node, align 8, !tbaa !6 br label %101 77: ; preds = %69 %78 = load i64, ptr @ba_check_bit, align 8, !tbaa !6 %79 = and i64 %78, %2 %80 = icmp eq i64 %79, 0 br i1 %80, label %101, label %81 81: ; preds = %77 %82 = call i32 @COMPLETE_TYPE_P(i64 noundef %27) #3 %83 = icmp eq i32 %82, 0 br i1 %83, label %101, label %84 84: ; preds = %81 %85 = load i64, ptr @ba_ignore_scope, align 8, !tbaa !6 %86 = and i64 %85, %2 %87 = icmp eq i64 %86, 0 %88 = zext i1 %87 to i32 %89 = call i32 @accessible_base_p(i64 noundef %24, i64 noundef %27, i32 noundef %88) #3 %90 = icmp eq i32 %89, 0 br i1 %90, label %91, label %101 91: ; preds = %84 %92 = load i64, ptr @ba_quiet, align 8, !tbaa !6 %93 = and i64 %92, %2 %94 = icmp eq i64 %93, 0 br i1 %94, label %95, label %97 95: ; preds = %91 %96 = call i32 @error(ptr noundef nonnull @.str.1, i64 noundef %27, i64 noundef %24) #3 br label %97 97: ; preds = %91, %95 %98 = phi ptr [ @error_mark_node, %95 ], [ @NULL_TREE, %91 ] %99 = load i64, ptr %98, align 8, !tbaa !6 %100 = load i32, ptr @bk_inaccessible, align 4, !tbaa !15 br label %101 101: ; preds = %69, %74, %70, %97, %84, %81, %77, %64 %102 = phi i64 [ %65, %84 ], [ %99, %97 ], [ %65, %81 ], [ %65, %77 ], [ %65, %70 ], [ %76, %74 ], [ %65, %69 ], [ %65, %64 ] %103 = phi i32 [ %66, %84 ], [ %100, %97 ], [ %66, %81 ], [ %66, %77 ], [ 129, %70 ], [ 129, %74 ], [ %66, %69 ], [ %66, %64 ] %104 = icmp eq ptr %3, null br i1 %104, label %108, label %105 105: ; preds = %101, %10 %106 = phi i32 [ 128, %10 ], [ %103, %101 ] %107 = phi i64 [ %6, %10 ], [ %102, %101 ] store i32 %106, ptr %3, align 4, !tbaa !15 br label %108 108: ; preds = %105, %10, %101 %109 = phi i64 [ %102, %101 ], [ %6, %10 ], [ %107, %105 ] ret i64 %109 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @gcc_assert(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_P(i64 noundef) local_unnamed_addr #2 declare i64 @BINFO_TYPE(i64 noundef) local_unnamed_addr #2 declare i64 @complete_type(i32 noundef) local_unnamed_addr #2 declare i32 @TYPE_MAIN_VARIANT(i64 noundef) local_unnamed_addr #2 declare i64 @TYPE_BINFO(i64 noundef) local_unnamed_addr #2 declare i32 @CLASSTYPE_REPEATED_BASE_P(i64 noundef) local_unnamed_addr #2 declare i32 @dfs_walk_once(i64 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @error(ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @COMPLETE_TYPE_P(i64 noundef) local_unnamed_addr #2 declare i32 @accessible_base_p(i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 32} !11 = !{!"lookup_base_data_s", !7, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !7, i64 24, !7, i64 32} !12 = !{!"int", !8, i64 0} !13 = !{!11, !7, i64 24} !14 = !{!11, !7, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 20} !17 = !{!11, !12, i64 16} !18 = !{!11, !12, i64 8} !19 = !{!11, !12, i64 12}
freebsd_contrib_gcc_cp_extr_search.c_lookup_base
; ModuleID = 'AnghaBench/linux/drivers/phy/st/extr_phy-miphy28lp.c_miphy_tune_tx_impedance.c' source_filename = "AnghaBench/linux/drivers/phy/st/extr_phy-miphy28lp.c_miphy_tune_tx_impedance.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MIPHY_COMP_POSTP = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @miphy_tune_tx_impedance], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @miphy_tune_tx_impedance(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr @MIPHY_COMP_POSTP, align 8, !tbaa !10 %4 = add nsw i64 %3, %2 %5 = tail call i32 @writeb_relaxed(i32 noundef 2, i64 noundef %4) #2 ret void } declare i32 @writeb_relaxed(i32 noundef, i64 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 = !{!"miphy28lp_phy", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/phy/st/extr_phy-miphy28lp.c_miphy_tune_tx_impedance.c' source_filename = "AnghaBench/linux/drivers/phy/st/extr_phy-miphy28lp.c_miphy_tune_tx_impedance.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MIPHY_COMP_POSTP = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @miphy_tune_tx_impedance], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @miphy_tune_tx_impedance(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr @MIPHY_COMP_POSTP, align 8, !tbaa !11 %4 = add nsw i64 %3, %2 %5 = tail call i32 @writeb_relaxed(i32 noundef 2, i64 noundef %4) #2 ret void } declare i32 @writeb_relaxed(i32 noundef, i64 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 = !{!"miphy28lp_phy", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_phy_st_extr_phy-miphy28lp.c_miphy_tune_tx_impedance
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_lcorolib.c_getco.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_lcorolib.c_getco.c" target datalayout = "e-m:e-p270:32:32-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 [16 x i8] c"thread expected\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @getco], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @getco(ptr noundef %0) #0 { %2 = tail call ptr @lua_tothread(ptr noundef %0, i32 noundef 1) #2 %3 = tail call i32 @luaL_argcheck(ptr noundef %0, ptr noundef %2, i32 noundef 1, ptr noundef nonnull @.str) #2 ret ptr %2 } declare ptr @lua_tothread(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_argcheck(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/xLua/build/lua-5.3.5/src/extr_lcorolib.c_getco.c' source_filename = "AnghaBench/xLua/build/lua-5.3.5/src/extr_lcorolib.c_getco.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"thread expected\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @getco], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @getco(ptr noundef %0) #0 { %2 = tail call ptr @lua_tothread(ptr noundef %0, i32 noundef 1) #2 %3 = tail call i32 @luaL_argcheck(ptr noundef %0, ptr noundef %2, i32 noundef 1, ptr noundef nonnull @.str) #2 ret ptr %2 } declare ptr @lua_tothread(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @luaL_argcheck(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
xLua_build_lua-5.3.5_src_extr_lcorolib.c_getco
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_null.c_null_open.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_null.c_null_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" @DEV_NULL = dso_local local_unnamed_addr global i32 0, align 4 @O_RDWR = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @null_open], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @null_open(i32 %0, i32 %1, i32 %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4) #0 { store ptr null, ptr %4, align 8, !tbaa !5 %6 = load i32, ptr @DEV_NULL, align 4, !tbaa !9 %7 = load i32, ptr @O_RDWR, align 4, !tbaa !9 %8 = tail call i32 @open(i32 noundef %6, i32 noundef %7) #2 %9 = icmp slt i32 %8, 0 %10 = load i32, ptr @errno, align 4 %11 = sub nsw i32 0, %10 %12 = select i1 %9, i32 %11, i32 %8 ret i32 %12 } declare i32 @open(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 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/arch/um/drivers/extr_null.c_null_open.c' source_filename = "AnghaBench/linux/arch/um/drivers/extr_null.c_null_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEV_NULL = common local_unnamed_addr global i32 0, align 4 @O_RDWR = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @null_open], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @null_open(i32 %0, i32 %1, i32 %2, ptr nocapture readnone %3, ptr nocapture noundef writeonly %4) #0 { store ptr null, ptr %4, align 8, !tbaa !6 %6 = load i32, ptr @DEV_NULL, align 4, !tbaa !10 %7 = load i32, ptr @O_RDWR, align 4, !tbaa !10 %8 = tail call i32 @open(i32 noundef %6, i32 noundef %7) #2 %9 = icmp slt i32 %8, 0 %10 = load i32, ptr @errno, align 4 %11 = sub nsw i32 0, %10 %12 = select i1 %9, i32 %11, i32 %8 ret i32 %12 } declare i32 @open(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 = !{!"int", !8, i64 0}
linux_arch_um_drivers_extr_null.c_null_open
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_rw.c__dwarf_write_uleb128.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_rw.c__dwarf_write_uleb128.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable define dso_local i32 @_dwarf_write_uleb128(ptr noundef %0, ptr noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 { br label %4 4: ; preds = %8, %3 %5 = phi i32 [ %2, %3 ], [ %10, %8 ] %6 = phi ptr [ %0, %3 ], [ %14, %8 ] %7 = icmp ult ptr %6, %1 br i1 %7, label %8, label %21 8: ; preds = %4 %9 = and i32 %5, 127 %10 = ashr i32 %5, 7 %11 = icmp sgt i32 %10, 0 %12 = or disjoint i32 %9, 128 %13 = select i1 %11, i32 %12, i32 %9 store i32 %13, ptr %6, align 4, !tbaa !5 %14 = getelementptr inbounds i32, ptr %6, i64 1 br i1 %11, label %4, label %15, !llvm.loop !9 15: ; preds = %8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %0 to i64 %18 = sub i64 %16, %17 %19 = lshr exact i64 %18, 2 %20 = trunc i64 %19 to i32 br label %21 21: ; preds = %4, %15 %22 = phi i32 [ %20, %15 ], [ -1, %4 ] ret i32 %22 } attributes #0 = { nofree norecurse nosync nounwind memory(write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_rw.c__dwarf_write_uleb128.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_libdwarf_rw.c__dwarf_write_uleb128.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(write, inaccessiblemem: none) uwtable(sync) define i32 @_dwarf_write_uleb128(ptr noundef %0, ptr noundef readnone %1, i32 noundef %2) local_unnamed_addr #0 { br label %4 4: ; preds = %8, %3 %5 = phi i32 [ %2, %3 ], [ %10, %8 ] %6 = phi ptr [ %0, %3 ], [ %14, %8 ] %7 = icmp ult ptr %6, %1 br i1 %7, label %8, label %21 8: ; preds = %4 %9 = and i32 %5, 127 %10 = ashr i32 %5, 7 %11 = icmp sgt i32 %10, 0 %12 = or disjoint i32 %9, 128 %13 = select i1 %11, i32 %12, i32 %9 store i32 %13, ptr %6, align 4, !tbaa !6 %14 = getelementptr inbounds i8, ptr %6, i64 4 br i1 %11, label %4, label %15, !llvm.loop !10 15: ; preds = %8 %16 = ptrtoint ptr %14 to i64 %17 = ptrtoint ptr %0 to i64 %18 = sub i64 %16, %17 %19 = lshr exact i64 %18, 2 %20 = trunc i64 %19 to i32 br label %21 21: ; preds = %4, %15 %22 = phi i32 [ %20, %15 ], [ -1, %4 ] ret i32 %22 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_elftoolchain_libdwarf_extr_libdwarf_rw.c__dwarf_write_uleb128
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_mscc.c_vsc85xx_csr_ctrl_phy_read.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_mscc.c_vsc85xx_csr_ctrl_phy_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" @MSCC_EXT_PAGE_ACCESS = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_PHY_PAGE_CSR_CNTL = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_20 = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_19 = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_PHY_CSR_CNTL_19_CMD = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_PHY_CSR_CNTL_19_READ = dso_local local_unnamed_addr global i32 0, align 4 @jiffies = dso_local local_unnamed_addr global i64 0, align 8 @PROC_CMD_NCOMPLETED_TIMEOUT_MS = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_17 = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_18 = dso_local local_unnamed_addr global i32 0, align 4 @MSCC_PHY_PAGE_STANDARD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vsc85xx_csr_ctrl_phy_read], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vsc85xx_csr_ctrl_phy_read(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @MSCC_EXT_PAGE_ACCESS, align 4, !tbaa !5 %5 = load i32, ptr @MSCC_PHY_PAGE_CSR_CNTL, align 4, !tbaa !5 %6 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_20, align 4, !tbaa !5 %8 = ashr i32 %1, 2 %9 = tail call i32 @MSCC_PHY_CSR_CNTL_20_TARGET(i32 noundef %8) #2 %10 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %7, i32 noundef %9) #2 %11 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_19, align 4, !tbaa !5 %12 = load i32, ptr @MSCC_PHY_CSR_CNTL_19_CMD, align 4, !tbaa !5 %13 = load i32, ptr @MSCC_PHY_CSR_CNTL_19_READ, align 4, !tbaa !5 %14 = or i32 %13, %12 %15 = tail call i32 @MSCC_PHY_CSR_CNTL_19_REG_ADDR(i32 noundef %2) #2 %16 = or i32 %14, %15 %17 = and i32 %1, 3 %18 = tail call i32 @MSCC_PHY_CSR_CNTL_19_TARGET(i32 noundef %17) #2 %19 = or i32 %16, %18 %20 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %11, i32 noundef %19) #2 %21 = load i64, ptr @jiffies, align 8, !tbaa !9 %22 = load i32, ptr @PROC_CMD_NCOMPLETED_TIMEOUT_MS, align 4, !tbaa !5 %23 = tail call i64 @msecs_to_jiffies(i32 noundef %22) #2 %24 = add i64 %23, %21 br label %25 25: ; preds = %35, %3 %26 = tail call i32 @usleep_range(i32 noundef 500, i32 noundef 1000) #2 %27 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_19, align 4, !tbaa !5 %28 = tail call i32 @phy_base_read(ptr noundef %0, i32 noundef %27) #2 %29 = load i64, ptr @jiffies, align 8, !tbaa !9 %30 = tail call i64 @time_before(i64 noundef %29, i64 noundef %24) #2 %31 = icmp eq i64 %30, 0 %32 = load i32, ptr @MSCC_PHY_CSR_CNTL_19_CMD, align 4, !tbaa !5 %33 = and i32 %32, %28 %34 = icmp eq i32 %33, 0 br i1 %31, label %36, label %35 35: ; preds = %25 br i1 %34, label %25, label %37, !llvm.loop !11 36: ; preds = %25 br i1 %34, label %47, label %37 37: ; preds = %35, %36 %38 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_17, align 4, !tbaa !5 %39 = tail call i32 @phy_base_read(ptr noundef %0, i32 noundef %38) #2 %40 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_18, align 4, !tbaa !5 %41 = tail call i32 @phy_base_read(ptr noundef %0, i32 noundef %40) #2 %42 = load i32, ptr @MSCC_EXT_PAGE_ACCESS, align 4, !tbaa !5 %43 = load i32, ptr @MSCC_PHY_PAGE_STANDARD, align 4, !tbaa !5 %44 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %42, i32 noundef %43) #2 %45 = shl i32 %41, 16 %46 = or i32 %45, %39 br label %47 47: ; preds = %36, %37 %48 = phi i32 [ %46, %37 ], [ -1, %36 ] ret i32 %48 } declare i32 @phy_base_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MSCC_PHY_CSR_CNTL_20_TARGET(i32 noundef) local_unnamed_addr #1 declare i32 @MSCC_PHY_CSR_CNTL_19_REG_ADDR(i32 noundef) local_unnamed_addr #1 declare i32 @MSCC_PHY_CSR_CNTL_19_TARGET(i32 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_base_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @time_before(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/net/phy/extr_mscc.c_vsc85xx_csr_ctrl_phy_read.c' source_filename = "AnghaBench/linux/drivers/net/phy/extr_mscc.c_vsc85xx_csr_ctrl_phy_read.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MSCC_EXT_PAGE_ACCESS = common local_unnamed_addr global i32 0, align 4 @MSCC_PHY_PAGE_CSR_CNTL = common local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_20 = common local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_19 = common local_unnamed_addr global i32 0, align 4 @MSCC_PHY_CSR_CNTL_19_CMD = common local_unnamed_addr global i32 0, align 4 @MSCC_PHY_CSR_CNTL_19_READ = common local_unnamed_addr global i32 0, align 4 @jiffies = common local_unnamed_addr global i64 0, align 8 @PROC_CMD_NCOMPLETED_TIMEOUT_MS = common local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_17 = common local_unnamed_addr global i32 0, align 4 @MSCC_EXT_PAGE_CSR_CNTL_18 = common local_unnamed_addr global i32 0, align 4 @MSCC_PHY_PAGE_STANDARD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vsc85xx_csr_ctrl_phy_read], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vsc85xx_csr_ctrl_phy_read(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @MSCC_EXT_PAGE_ACCESS, align 4, !tbaa !6 %5 = load i32, ptr @MSCC_PHY_PAGE_CSR_CNTL, align 4, !tbaa !6 %6 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %4, i32 noundef %5) #2 %7 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_20, align 4, !tbaa !6 %8 = ashr i32 %1, 2 %9 = tail call i32 @MSCC_PHY_CSR_CNTL_20_TARGET(i32 noundef %8) #2 %10 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %7, i32 noundef %9) #2 %11 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_19, align 4, !tbaa !6 %12 = load i32, ptr @MSCC_PHY_CSR_CNTL_19_CMD, align 4, !tbaa !6 %13 = load i32, ptr @MSCC_PHY_CSR_CNTL_19_READ, align 4, !tbaa !6 %14 = or i32 %13, %12 %15 = tail call i32 @MSCC_PHY_CSR_CNTL_19_REG_ADDR(i32 noundef %2) #2 %16 = or i32 %14, %15 %17 = and i32 %1, 3 %18 = tail call i32 @MSCC_PHY_CSR_CNTL_19_TARGET(i32 noundef %17) #2 %19 = or i32 %16, %18 %20 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %11, i32 noundef %19) #2 %21 = load i64, ptr @jiffies, align 8, !tbaa !10 %22 = load i32, ptr @PROC_CMD_NCOMPLETED_TIMEOUT_MS, align 4, !tbaa !6 %23 = tail call i64 @msecs_to_jiffies(i32 noundef %22) #2 %24 = add i64 %23, %21 br label %25 25: ; preds = %35, %3 %26 = tail call i32 @usleep_range(i32 noundef 500, i32 noundef 1000) #2 %27 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_19, align 4, !tbaa !6 %28 = tail call i32 @phy_base_read(ptr noundef %0, i32 noundef %27) #2 %29 = load i64, ptr @jiffies, align 8, !tbaa !10 %30 = tail call i64 @time_before(i64 noundef %29, i64 noundef %24) #2 %31 = icmp eq i64 %30, 0 %32 = load i32, ptr @MSCC_PHY_CSR_CNTL_19_CMD, align 4, !tbaa !6 %33 = and i32 %32, %28 %34 = icmp eq i32 %33, 0 br i1 %31, label %36, label %35 35: ; preds = %25 br i1 %34, label %25, label %37, !llvm.loop !12 36: ; preds = %25 br i1 %34, label %47, label %37 37: ; preds = %35, %36 %38 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_17, align 4, !tbaa !6 %39 = tail call i32 @phy_base_read(ptr noundef %0, i32 noundef %38) #2 %40 = load i32, ptr @MSCC_EXT_PAGE_CSR_CNTL_18, align 4, !tbaa !6 %41 = tail call i32 @phy_base_read(ptr noundef %0, i32 noundef %40) #2 %42 = load i32, ptr @MSCC_EXT_PAGE_ACCESS, align 4, !tbaa !6 %43 = load i32, ptr @MSCC_PHY_PAGE_STANDARD, align 4, !tbaa !6 %44 = tail call i32 @phy_base_write(ptr noundef %0, i32 noundef %42, i32 noundef %43) #2 %45 = shl i32 %41, 16 %46 = or i32 %45, %39 br label %47 47: ; preds = %36, %37 %48 = phi i32 [ %46, %37 ], [ -1, %36 ] ret i32 %48 } declare i32 @phy_base_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @MSCC_PHY_CSR_CNTL_20_TARGET(i32 noundef) local_unnamed_addr #1 declare i32 @MSCC_PHY_CSR_CNTL_19_REG_ADDR(i32 noundef) local_unnamed_addr #1 declare i32 @MSCC_PHY_CSR_CNTL_19_TARGET(i32 noundef) local_unnamed_addr #1 declare i64 @msecs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i32 @usleep_range(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @phy_base_read(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @time_before(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
linux_drivers_net_phy_extr_mscc.c_vsc85xx_csr_ctrl_phy_read
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_get_gnu_note_type.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_get_gnu_note_type.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @get_gnu_note_type.buff = internal global [64 x i8] zeroinitializer, align 16 @.str = private unnamed_addr constant [15 x i8] c"NT_GNU_ABI_TAG\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"NT_GNU_BUILD_ID\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Unknown GNU note type: (0x%08x)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @get_gnu_note_type], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @get_gnu_note_type(i32 noundef %0) #0 { switch i32 %0, label %6 [ i32 129, label %2 i32 128, label %4 ] 2: ; preds = %1 %3 = tail call ptr @_(ptr noundef nonnull @.str) #2 br label %9 4: ; preds = %1 %5 = tail call ptr @_(ptr noundef nonnull @.str.1) #2 br label %9 6: ; preds = %1 %7 = tail call ptr @_(ptr noundef nonnull @.str.2) #2 %8 = tail call i32 @snprintf(ptr noundef nonnull @get_gnu_note_type.buff, i32 noundef 64, ptr noundef %7, i32 noundef %0) #2 br label %9 9: ; preds = %6, %4, %2 %10 = phi ptr [ @get_gnu_note_type.buff, %6 ], [ %5, %4 ], [ %3, %2 ] ret ptr %10 } declare ptr @_(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_get_gnu_note_type.c' source_filename = "AnghaBench/freebsd/contrib/binutils/binutils/extr_readelf.c_get_gnu_note_type.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @get_gnu_note_type.buff = internal global [64 x i8] zeroinitializer, align 1 @.str = private unnamed_addr constant [15 x i8] c"NT_GNU_ABI_TAG\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"NT_GNU_BUILD_ID\00", align 1 @.str.2 = private unnamed_addr constant [32 x i8] c"Unknown GNU note type: (0x%08x)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @get_gnu_note_type], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @get_gnu_note_type(i32 noundef %0) #0 { switch i32 %0, label %6 [ i32 129, label %2 i32 128, label %4 ] 2: ; preds = %1 %3 = tail call ptr @_(ptr noundef nonnull @.str) #2 br label %9 4: ; preds = %1 %5 = tail call ptr @_(ptr noundef nonnull @.str.1) #2 br label %9 6: ; preds = %1 %7 = tail call ptr @_(ptr noundef nonnull @.str.2) #2 %8 = tail call i32 @snprintf(ptr noundef nonnull @get_gnu_note_type.buff, i32 noundef 64, ptr noundef %7, i32 noundef %0) #2 br label %9 9: ; preds = %6, %4, %2 %10 = phi ptr [ @get_gnu_note_type.buff, %6 ], [ %5, %4 ], [ %3, %2 ] ret ptr %10 } declare ptr @_(ptr noundef) local_unnamed_addr #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_binutils_binutils_extr_readelf.c_get_gnu_note_type
; ModuleID = 'AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_write_1.c' source_filename = "AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_write_1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @errno = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @bus_write_1(i32 noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 store i32 %2, ptr %4, align 4, !tbaa !5 %5 = call i32 @bs_write(i32 noundef %0, i64 noundef %1, ptr noundef nonnull %4, i32 noundef 4) #2 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @errno, align 4 %8 = select i1 %6, i32 %7, i32 0 ret i32 %8 } declare i32 @bs_write(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_write_1.c' source_filename = "AnghaBench/freebsd/tools/bus_space/C/extr_lang.c_bus_write_1.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @errno = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @bus_write_1(i32 noundef %0, i64 noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 store i32 %2, ptr %4, align 4, !tbaa !6 %5 = call i32 @bs_write(i32 noundef %0, i64 noundef %1, ptr noundef nonnull %4, i32 noundef 4) #2 %6 = icmp eq i32 %5, 0 %7 = load i32, ptr @errno, align 4 %8 = select i1 %6, i32 %7, i32 0 ret i32 %8 } declare i32 @bs_write(i32 noundef, i64 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_tools_bus_space_C_extr_lang.c_bus_write_1
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_mem-break.c_find_breakpoint_at.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_mem-break.c_find_breakpoint_at.c" target datalayout = "e-m:e-p270:32:32-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.breakpoint = type { i64, ptr } @breakpoints = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_breakpoint_at], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable define internal noundef ptr @find_breakpoint_at(i64 noundef %0) #0 { %2 = load ptr, ptr @breakpoints, align 8, !tbaa !5 %3 = icmp eq ptr %2, null br i1 %3, label %12, label %4 4: ; preds = %1, %8 %5 = phi ptr [ %10, %8 ], [ %2, %1 ] %6 = load i64, ptr %5, align 8, !tbaa !9 %7 = icmp eq i64 %6, %0 br i1 %7, label %12, label %8 8: ; preds = %4 %9 = getelementptr inbounds %struct.breakpoint, ptr %5, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !5 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %4, !llvm.loop !12 12: ; preds = %4, %8, %1 %13 = phi ptr [ null, %1 ], [ null, %8 ], [ %5, %4 ] ret ptr %13 } attributes #0 = { nofree norecurse nosync nounwind memory(read, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"breakpoint", !11, i64 0, !6, i64 8} !11 = !{!"long", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_mem-break.c_find_breakpoint_at.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/gdbserver/extr_mem-break.c_find_breakpoint_at.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @breakpoints = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_breakpoint_at], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) define internal noundef ptr @find_breakpoint_at(i64 noundef %0) #0 { %2 = load ptr, ptr @breakpoints, align 8, !tbaa !6 %3 = icmp eq ptr %2, null br i1 %3, label %12, label %4 4: ; preds = %1, %8 %5 = phi ptr [ %10, %8 ], [ %2, %1 ] %6 = load i64, ptr %5, align 8, !tbaa !10 %7 = icmp eq i64 %6, %0 br i1 %7, label %12, label %8 8: ; preds = %4 %9 = getelementptr inbounds i8, ptr %5, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %4, !llvm.loop !13 12: ; preds = %4, %8, %1 %13 = phi ptr [ null, %1 ], [ null, %8 ], [ %5, %4 ] ret ptr %13 } attributes #0 = { nofree norecurse nosync nounwind ssp memory(read, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"breakpoint", !12, i64 0, !7, i64 8} !12 = !{!"long", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_gdb_gdb_gdbserver_extr_mem-break.c_find_breakpoint_at
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdniimg.c_usage.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdniimg.c_usage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EXIT_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global ptr null, align 8 @stdout = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s [OPTIONS...]\0A\00", align 1 @progname = dso_local local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [361 x i8] c"\0AOptions:\0A -B <board> create image for the board specified with <board>\0A -i <file> read input from the file <file>\0A -o <file> write output to the file <file>\0A -v <version> set image version to <version>\0A -r <region> set image region to <region>\0A -H <hd_id> set image hardware id to <hd_id>\0A -h show this screen\0A\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local void @usage(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !5 %3 = icmp eq i32 %2, %0 %4 = load ptr, ptr @stderr, align 8 %5 = load ptr, ptr @stdout, align 8 %6 = select i1 %3, ptr %5, ptr %4 %7 = load ptr, ptr @progname, align 8, !tbaa !9 %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef %7) %9 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 360, i64 1, ptr %6) %10 = tail call i32 @exit(i32 noundef %0) #4 unreachable } ; Function Attrs: nofree nounwind declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 #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 = { nofree nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdniimg.c_usage.c' source_filename = "AnghaBench/openwrt/tools/firmware-utils/src/extr_mkdniimg.c_usage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXIT_SUCCESS = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global ptr null, align 8 @stdout = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [24 x i8] c"Usage: %s [OPTIONS...]\0A\00", align 1 @progname = common local_unnamed_addr global ptr null, align 8 @.str.1 = private unnamed_addr constant [361 x i8] c"\0AOptions:\0A -B <board> create image for the board specified with <board>\0A -i <file> read input from the file <file>\0A -o <file> write output to the file <file>\0A -v <version> set image version to <version>\0A -r <region> set image region to <region>\0A -H <hd_id> set image hardware id to <hd_id>\0A -h show this screen\0A\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define void @usage(i32 noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @EXIT_SUCCESS, align 4, !tbaa !6 %3 = icmp eq i32 %2, %0 %4 = load ptr, ptr @stderr, align 8 %5 = load ptr, ptr @stdout, align 8 %6 = select i1 %3, ptr %5, ptr %4 %7 = load ptr, ptr @progname, align 8, !tbaa !10 %8 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %6, ptr noundef nonnull @.str, ptr noundef %7) %9 = tail call i64 @fwrite(ptr nonnull @.str.1, i64 360, i64 1, ptr %6) %10 = tail call i32 @exit(i32 noundef %0) #4 unreachable } ; Function Attrs: nofree nounwind declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #2 ; Function Attrs: nofree nounwind declare noundef i64 @fwrite(ptr nocapture noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #3 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 #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 = { nofree nounwind } attributes #4 = { noreturn nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0}
openwrt_tools_firmware-utils_src_extr_mkdniimg.c_usage
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/psim/extr_ata_iobus.c_ata_iobus_release_resource.c' source_filename = "AnghaBench/freebsd/sys/powerpc/psim/extr_ata_iobus.c_ata_iobus_release_resource.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ata_iobus_release_resource], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @ata_iobus_release_resource(i32 %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/powerpc/psim/extr_ata_iobus.c_ata_iobus_release_resource.c' source_filename = "AnghaBench/freebsd/sys/powerpc/psim/extr_ata_iobus.c_ata_iobus_release_resource.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 @ata_iobus_release_resource], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @ata_iobus_release_resource(i32 %0, i32 %1, i32 %2, i32 %3, ptr nocapture readnone %4) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_powerpc_psim_extr_ata_iobus.c_ata_iobus_release_resource
; ModuleID = 'AnghaBench/vlc/src/playlist/extr_..playerplayer.h_vlc_player_get_input_locked.c' source_filename = "AnghaBench/vlc/src/playlist/extr_..playerplayer.h_vlc_player_get_input_locked.c" target datalayout = "e-m:e-p270:32:32-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 @vlc_player_get_input_locked], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @vlc_player_get_input_locked(ptr noundef %0) #0 { %2 = tail call i32 @vlc_player_assert_locked(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 ret ptr %3 } declare i32 @vlc_player_assert_locked(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_4__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/vlc/src/playlist/extr_..playerplayer.h_vlc_player_get_input_locked.c' source_filename = "AnghaBench/vlc/src/playlist/extr_..playerplayer.h_vlc_player_get_input_locked.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 @vlc_player_get_input_locked], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @vlc_player_get_input_locked(ptr noundef %0) #0 { %2 = tail call i32 @vlc_player_assert_locked(ptr noundef %0) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 ret ptr %3 } declare i32 @vlc_player_assert_locked(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_4__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
vlc_src_playlist_extr_..playerplayer.h_vlc_player_get_input_locked
; ModuleID = 'AnghaBench/radare2/shlr/zip/zip/extr_zip_source_pkware.c_zip_source_pkware.c' source_filename = "AnghaBench/radare2/shlr/zip/zip/extr_zip_source_pkware.c_zip_source_pkware.c" target datalayout = "e-m:e-p270:32:32-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.trad_pkware = type { ptr, ptr } @ZIP_EM_TRAD_PKWARE = dso_local local_unnamed_addr global i64 0, align 8 @ZIP_ER_INVAL = dso_local local_unnamed_addr global i32 0, align 4 @ZIP_CODEC_ENCODE = dso_local local_unnamed_addr global i32 0, align 4 @ZIP_ER_ENCRNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @ZIP_ER_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @KEY0 = dso_local local_unnamed_addr global i32 0, align 4 @KEY1 = dso_local local_unnamed_addr global i32 0, align 4 @KEY2 = dso_local local_unnamed_addr global i32 0, align 4 @pkware_decrypt = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @zip_source_pkware(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = icmp ne ptr %4, null %7 = icmp ne ptr %1, null %8 = and i1 %7, %6 %9 = load i64, ptr @ZIP_EM_TRAD_PKWARE, align 8 %10 = icmp eq i64 %9, %2 %11 = select i1 %8, i1 %10, i1 false br i1 %11, label %15, label %12 12: ; preds = %5 %13 = load i32, ptr @ZIP_ER_INVAL, align 4, !tbaa !5 %14 = tail call i32 @_zip_error_set(ptr noundef %0, i32 noundef %13, i32 noundef 0) #3 br label %45 15: ; preds = %5 %16 = load i32, ptr @ZIP_CODEC_ENCODE, align 4, !tbaa !5 %17 = and i32 %16, %3 %18 = icmp eq i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = load i32, ptr @ZIP_ER_ENCRNOTSUPP, align 4, !tbaa !5 %21 = tail call i32 @_zip_error_set(ptr noundef %0, i32 noundef %20, i32 noundef 0) #3 br label %45 22: ; preds = %15 %23 = tail call i64 @malloc(i32 noundef 16) #3 %24 = inttoptr i64 %23 to ptr %25 = icmp eq i64 %23, 0 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr @ZIP_ER_MEMORY, align 4, !tbaa !5 %28 = tail call i32 @_zip_error_set(ptr noundef %0, i32 noundef %27, i32 noundef 0) #3 br label %45 29: ; preds = %22 %30 = getelementptr inbounds %struct.trad_pkware, ptr %24, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !9 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false) %32 = load i32, ptr @KEY0, align 4, !tbaa !5 %33 = load ptr, ptr %24, align 8, !tbaa !12 store i32 %32, ptr %33, align 4, !tbaa !5 %34 = load i32, ptr @KEY1, align 4, !tbaa !5 %35 = getelementptr inbounds i32, ptr %33, i64 1 store i32 %34, ptr %35, align 4, !tbaa !5 %36 = load i32, ptr @KEY2, align 4, !tbaa !5 %37 = getelementptr inbounds i32, ptr %33, i64 2 store i32 %36, ptr %37, align 4, !tbaa !5 %38 = tail call i32 @strlen(ptr noundef nonnull %4) #3 %39 = tail call i32 @decrypt(ptr noundef nonnull %24, ptr noundef null, ptr noundef nonnull %4, i32 noundef %38, i32 noundef 1) #3 %40 = load i32, ptr @pkware_decrypt, align 4, !tbaa !5 %41 = tail call ptr @zip_source_layered(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %40, ptr noundef nonnull %24) #3 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %45 43: ; preds = %29 %44 = tail call i32 @pkware_free(ptr noundef nonnull %24) #3 br label %45 45: ; preds = %29, %43, %26, %19, %12 %46 = phi ptr [ null, %12 ], [ null, %19 ], [ null, %26 ], [ null, %43 ], [ %41, %29 ] ret ptr %46 } declare i32 @_zip_error_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @decrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare ptr @zip_source_layered(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pkware_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"trad_pkware", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/radare2/shlr/zip/zip/extr_zip_source_pkware.c_zip_source_pkware.c' source_filename = "AnghaBench/radare2/shlr/zip/zip/extr_zip_source_pkware.c_zip_source_pkware.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZIP_EM_TRAD_PKWARE = common local_unnamed_addr global i64 0, align 8 @ZIP_ER_INVAL = common local_unnamed_addr global i32 0, align 4 @ZIP_CODEC_ENCODE = common local_unnamed_addr global i32 0, align 4 @ZIP_ER_ENCRNOTSUPP = common local_unnamed_addr global i32 0, align 4 @ZIP_ER_MEMORY = common local_unnamed_addr global i32 0, align 4 @KEY0 = common local_unnamed_addr global i32 0, align 4 @KEY1 = common local_unnamed_addr global i32 0, align 4 @KEY2 = common local_unnamed_addr global i32 0, align 4 @pkware_decrypt = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @zip_source_pkware(ptr noundef %0, ptr noundef %1, i64 noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = icmp ne ptr %4, null %7 = icmp ne ptr %1, null %8 = and i1 %7, %6 %9 = load i64, ptr @ZIP_EM_TRAD_PKWARE, align 8 %10 = icmp eq i64 %9, %2 %11 = select i1 %8, i1 %10, i1 false br i1 %11, label %15, label %12 12: ; preds = %5 %13 = load i32, ptr @ZIP_ER_INVAL, align 4, !tbaa !6 %14 = tail call i32 @_zip_error_set(ptr noundef %0, i32 noundef %13, i32 noundef 0) #3 br label %45 15: ; preds = %5 %16 = load i32, ptr @ZIP_CODEC_ENCODE, align 4, !tbaa !6 %17 = and i32 %16, %3 %18 = icmp eq i32 %17, 0 br i1 %18, label %22, label %19 19: ; preds = %15 %20 = load i32, ptr @ZIP_ER_ENCRNOTSUPP, align 4, !tbaa !6 %21 = tail call i32 @_zip_error_set(ptr noundef %0, i32 noundef %20, i32 noundef 0) #3 br label %45 22: ; preds = %15 %23 = tail call i64 @malloc(i32 noundef 16) #3 %24 = inttoptr i64 %23 to ptr %25 = icmp eq i64 %23, 0 br i1 %25, label %26, label %29 26: ; preds = %22 %27 = load i32, ptr @ZIP_ER_MEMORY, align 4, !tbaa !6 %28 = tail call i32 @_zip_error_set(ptr noundef %0, i32 noundef %27, i32 noundef 0) #3 br label %45 29: ; preds = %22 %30 = getelementptr inbounds i8, ptr %24, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !10 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %31, i8 0, i64 16, i1 false) %32 = load i32, ptr @KEY0, align 4, !tbaa !6 %33 = load ptr, ptr %24, align 8, !tbaa !13 store i32 %32, ptr %33, align 4, !tbaa !6 %34 = load i32, ptr @KEY1, align 4, !tbaa !6 %35 = getelementptr inbounds i8, ptr %33, i64 4 store i32 %34, ptr %35, align 4, !tbaa !6 %36 = load i32, ptr @KEY2, align 4, !tbaa !6 %37 = getelementptr inbounds i8, ptr %33, i64 8 store i32 %36, ptr %37, align 4, !tbaa !6 %38 = tail call i32 @strlen(ptr noundef nonnull %4) #3 %39 = tail call i32 @decrypt(ptr noundef nonnull %24, ptr noundef null, ptr noundef nonnull %4, i32 noundef %38, i32 noundef 1) #3 %40 = load i32, ptr @pkware_decrypt, align 4, !tbaa !6 %41 = tail call ptr @zip_source_layered(ptr noundef %0, ptr noundef nonnull %1, i32 noundef %40, ptr noundef nonnull %24) #3 %42 = icmp eq ptr %41, null br i1 %42, label %43, label %45 43: ; preds = %29 %44 = tail call i32 @pkware_free(ptr noundef nonnull %24) #3 br label %45 45: ; preds = %29, %43, %26, %19, %12 %46 = phi ptr [ null, %12 ], [ null, %19 ], [ null, %26 ], [ null, %43 ], [ %41, %29 ] ret ptr %46 } declare i32 @_zip_error_set(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @decrypt(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(ptr noundef) local_unnamed_addr #1 declare ptr @zip_source_layered(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pkware_free(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"trad_pkware", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
radare2_shlr_zip_zip_extr_zip_source_pkware.c_zip_source_pkware
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_setup_tx_resources.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_setup_tx_resources.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ixgbevf_adapter = type { i32, ptr } %struct.ixgbevf_ring = type { i32, i32, ptr, i64, i64, i32, i32 } @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [60 x i8] c"Unable to allocate memory for the transmit descriptor ring\0A\00", align 1 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ixgbevf_setup_tx_resources(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.ixgbevf_adapter, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %1, align 8, !tbaa !11 %6 = shl i32 %5, 2 %7 = tail call ptr @vzalloc(i32 noundef %6) #3 %8 = getelementptr inbounds %struct.ixgbevf_ring, ptr %1, i64 0, i32 2 store ptr %7, ptr %8, align 8, !tbaa !14 %9 = icmp eq ptr %7, null br i1 %9, label %24, label %10 10: ; preds = %2 %11 = load i32, ptr %1, align 8, !tbaa !11 %12 = shl i32 %11, 2 %13 = getelementptr inbounds %struct.ixgbevf_ring, ptr %1, i64 0, i32 1 store i32 %12, ptr %13, align 4, !tbaa !15 %14 = tail call i32 @ALIGN(i32 noundef %12, i32 noundef 4096) #3 store i32 %14, ptr %13, align 4, !tbaa !15 %15 = getelementptr inbounds %struct.ixgbevf_ring, ptr %1, i64 0, i32 6 %16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %17 = tail call i32 @dma_alloc_coherent(ptr noundef %4, i32 noundef %14, ptr noundef nonnull %15, i32 noundef %16) #3 %18 = getelementptr inbounds %struct.ixgbevf_ring, ptr %1, i64 0, i32 5 store i32 %17, ptr %18, align 8, !tbaa !17 %19 = icmp eq i32 %17, 0 br i1 %19, label %20, label %22 20: ; preds = %10 %21 = load ptr, ptr %8, align 8, !tbaa !14 br label %24 22: ; preds = %10 %23 = getelementptr inbounds %struct.ixgbevf_ring, ptr %1, i64 0, i32 3 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false) br label %30 24: ; preds = %20, %2 %25 = phi ptr [ %21, %20 ], [ null, %2 ] %26 = tail call i32 @vfree(ptr noundef %25) #3 store ptr null, ptr %8, align 8, !tbaa !14 %27 = tail call i32 @hw_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %29 = sub nsw i32 0, %28 br label %30 30: ; preds = %24, %22 %31 = phi i32 [ 0, %22 ], [ %29, %24 ] ret i32 %31 } declare ptr @vzalloc(i32 noundef) local_unnamed_addr #1 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfree(ptr noundef) local_unnamed_addr #1 declare i32 @hw_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"ixgbevf_adapter", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"ixgbevf_ring", !7, i64 0, !7, i64 4, !10, i64 8, !13, i64 16, !13, i64 24, !7, i64 32, !7, i64 36} !13 = !{!"long", !8, i64 0} !14 = !{!12, !10, i64 8} !15 = !{!12, !7, i64 4} !16 = !{!7, !7, i64 0} !17 = !{!12, !7, i64 32}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_setup_tx_resources.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbevf/extr_ixgbevf_main.c_ixgbevf_setup_tx_resources.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 @.str = private unnamed_addr constant [60 x i8] c"Unable to allocate memory for the transmit descriptor ring\0A\00", align 1 @ENOMEM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @ixgbevf_setup_tx_resources(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %1, align 8, !tbaa !12 %6 = shl i32 %5, 2 %7 = tail call ptr @vzalloc(i32 noundef %6) #3 %8 = getelementptr inbounds i8, ptr %1, i64 8 store ptr %7, ptr %8, align 8, !tbaa !15 %9 = icmp eq ptr %7, null br i1 %9, label %24, label %10 10: ; preds = %2 %11 = load i32, ptr %1, align 8, !tbaa !12 %12 = shl i32 %11, 2 %13 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %12, ptr %13, align 4, !tbaa !16 %14 = tail call i32 @ALIGN(i32 noundef %12, i32 noundef 4096) #3 store i32 %14, ptr %13, align 4, !tbaa !16 %15 = getelementptr inbounds i8, ptr %1, i64 36 %16 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !17 %17 = tail call i32 @dma_alloc_coherent(ptr noundef %4, i32 noundef %14, ptr noundef nonnull %15, i32 noundef %16) #3 %18 = getelementptr inbounds i8, ptr %1, i64 32 store i32 %17, ptr %18, align 8, !tbaa !18 %19 = icmp eq i32 %17, 0 br i1 %19, label %20, label %22 20: ; preds = %10 %21 = load ptr, ptr %8, align 8, !tbaa !15 br label %24 22: ; preds = %10 %23 = getelementptr inbounds i8, ptr %1, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %23, i8 0, i64 16, i1 false) br label %30 24: ; preds = %20, %2 %25 = phi ptr [ %21, %20 ], [ null, %2 ] %26 = tail call i32 @vfree(ptr noundef %25) #3 store ptr null, ptr %8, align 8, !tbaa !15 %27 = tail call i32 @hw_dbg(ptr noundef nonnull %0, ptr noundef nonnull @.str) #3 %28 = load i32, ptr @ENOMEM, align 4, !tbaa !17 %29 = sub nsw i32 0, %28 br label %30 30: ; preds = %24, %22 %31 = phi i32 [ 0, %22 ], [ %29, %24 ] ret i32 %31 } declare ptr @vzalloc(i32 noundef) local_unnamed_addr #1 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dma_alloc_coherent(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @vfree(ptr noundef) local_unnamed_addr #1 declare i32 @hw_dbg(ptr noundef, ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"ixgbevf_adapter", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"ixgbevf_ring", !8, i64 0, !8, i64 4, !11, i64 8, !14, i64 16, !14, i64 24, !8, i64 32, !8, i64 36} !14 = !{!"long", !9, i64 0} !15 = !{!13, !11, i64 8} !16 = !{!13, !8, i64 4} !17 = !{!8, !8, i64 0} !18 = !{!13, !8, i64 32}
fastsocket_kernel_drivers_net_ixgbevf_extr_ixgbevf_main.c_ixgbevf_setup_tx_resources
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_ste_dma40_ll.c_d40_phy_buf_to_lli.c' source_filename = "AnghaBench/linux/drivers/dma/extr_ste_dma40_ll.c_d40_phy_buf_to_lli.c" target datalayout = "e-m:e-p270:32:32-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.d40_phy_lli = type { i32 } @LLI_LAST_LINK = dso_local local_unnamed_addr global i64 0, align 8 @LLI_ADDR_INC = dso_local local_unnamed_addr global i64 0, align 8 @LLI_TERM_INT = dso_local local_unnamed_addr global i64 0, align 8 @LLI_CYCLIC = dso_local local_unnamed_addr global i64 0, align 8 @D40_LLI_ALIGN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @d40_phy_buf_to_lli], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @d40_phy_buf_to_lli(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, i64 noundef %8) #0 { %10 = load i64, ptr @LLI_LAST_LINK, align 8, !tbaa !5 %11 = load i64, ptr @LLI_ADDR_INC, align 8, !tbaa !5 %12 = load i64, ptr @LLI_TERM_INT, align 8, !tbaa !5 %13 = load i64, ptr @LLI_CYCLIC, align 8, !tbaa !5 %14 = and i64 %8, 4294967295 %15 = and i64 %14, %12 %16 = icmp ne i64 %15, 0 %17 = xor i64 %12, -1 %18 = select i1 %16, i64 %17, i64 -1 %19 = and i64 %18, %8 %20 = and i64 %14, %10 %21 = icmp ne i64 %20, 0 %22 = and i64 %14, %13 %23 = icmp eq i64 %22, 0 %24 = select i1 %23, i32 0, i32 %4 %25 = and i64 %14, %11 %26 = icmp eq i64 %25, 0 br label %27 27: ; preds = %50, %9 %28 = phi i32 [ %1, %9 ], [ %53, %50 ] %29 = phi ptr [ %0, %9 ], [ %51, %50 ] %30 = phi i32 [ %3, %9 ], [ %47, %50 ] %31 = phi i32 [ %2, %9 ], [ %35, %50 ] %32 = load i32, ptr %6, align 4, !tbaa !9 %33 = load i32, ptr %7, align 4, !tbaa !9 %34 = tail call i32 @d40_seg_size(i32 noundef %31, i32 noundef %32, i32 noundef %33) #2 %35 = sub nsw i32 %31, %34 %36 = icmp eq i32 %35, 0 %37 = and i1 %16, %36 %38 = load i64, ptr @LLI_TERM_INT, align 8 %39 = select i1 %37, i64 %38, i64 0 %40 = or i64 %39, %19 %41 = select i1 %36, i1 %21, i1 false br i1 %41, label %46, label %42 42: ; preds = %27 %43 = add i32 %30, 4 %44 = load i32, ptr @D40_LLI_ALIGN, align 4, !tbaa !12 %45 = tail call i32 @ALIGN(i32 noundef %43, i32 noundef %44) #2 br label %46 46: ; preds = %27, %42 %47 = phi i32 [ %45, %42 ], [ %24, %27 ] %48 = tail call i32 @d40_phy_fill_lli(ptr noundef %29, i32 noundef %28, i32 noundef %34, i32 noundef %47, i32 noundef %5, ptr noundef nonnull %6, i64 noundef %40) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = getelementptr inbounds %struct.d40_phy_lli, ptr %29, i64 1 %52 = select i1 %26, i32 0, i32 %34 %53 = add nsw i32 %52, %28 br i1 %36, label %54, label %27, !llvm.loop !13 54: ; preds = %46, %50 %55 = phi ptr [ %51, %50 ], [ null, %46 ] ret ptr %55 } declare i32 @d40_seg_size(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @d40_phy_fill_lli(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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, !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 = !{!"stedma40_half_channel_info", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/dma/extr_ste_dma40_ll.c_d40_phy_buf_to_lli.c' source_filename = "AnghaBench/linux/drivers/dma/extr_ste_dma40_ll.c_d40_phy_buf_to_lli.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LLI_LAST_LINK = common local_unnamed_addr global i64 0, align 8 @LLI_ADDR_INC = common local_unnamed_addr global i64 0, align 8 @LLI_TERM_INT = common local_unnamed_addr global i64 0, align 8 @LLI_CYCLIC = common local_unnamed_addr global i64 0, align 8 @D40_LLI_ALIGN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @d40_phy_buf_to_lli], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @d40_phy_buf_to_lli(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr nocapture noundef readonly %7, i64 noundef %8) #0 { %10 = load i64, ptr @LLI_LAST_LINK, align 8, !tbaa !6 %11 = load i64, ptr @LLI_ADDR_INC, align 8, !tbaa !6 %12 = load i64, ptr @LLI_TERM_INT, align 8, !tbaa !6 %13 = load i64, ptr @LLI_CYCLIC, align 8, !tbaa !6 %14 = and i64 %8, 4294967295 %15 = and i64 %14, %12 %16 = icmp ne i64 %15, 0 %17 = xor i64 %12, -1 %18 = select i1 %16, i64 %17, i64 -1 %19 = and i64 %18, %8 %20 = and i64 %14, %10 %21 = icmp ne i64 %20, 0 %22 = and i64 %14, %13 %23 = icmp eq i64 %22, 0 %24 = select i1 %23, i32 0, i32 %4 %25 = and i64 %14, %11 %26 = icmp eq i64 %25, 0 br label %27 27: ; preds = %50, %9 %28 = phi i32 [ %1, %9 ], [ %53, %50 ] %29 = phi ptr [ %0, %9 ], [ %51, %50 ] %30 = phi i32 [ %3, %9 ], [ %47, %50 ] %31 = phi i32 [ %2, %9 ], [ %35, %50 ] %32 = load i32, ptr %6, align 4, !tbaa !10 %33 = load i32, ptr %7, align 4, !tbaa !10 %34 = tail call i32 @d40_seg_size(i32 noundef %31, i32 noundef %32, i32 noundef %33) #2 %35 = sub nsw i32 %31, %34 %36 = icmp eq i32 %35, 0 %37 = and i1 %16, %36 %38 = load i64, ptr @LLI_TERM_INT, align 8 %39 = select i1 %37, i64 %38, i64 0 %40 = or i64 %39, %19 %41 = select i1 %36, i1 %21, i1 false br i1 %41, label %46, label %42 42: ; preds = %27 %43 = add i32 %30, 4 %44 = load i32, ptr @D40_LLI_ALIGN, align 4, !tbaa !13 %45 = tail call i32 @ALIGN(i32 noundef %43, i32 noundef %44) #2 br label %46 46: ; preds = %27, %42 %47 = phi i32 [ %45, %42 ], [ %24, %27 ] %48 = tail call i32 @d40_phy_fill_lli(ptr noundef %29, i32 noundef %28, i32 noundef %34, i32 noundef %47, i32 noundef %5, ptr noundef nonnull %6, i64 noundef %40) #2 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %54 50: ; preds = %46 %51 = getelementptr inbounds i8, ptr %29, i64 4 %52 = select i1 %26, i32 0, i32 %34 %53 = add nsw i32 %52, %28 br i1 %36, label %54, label %27, !llvm.loop !14 54: ; preds = %46, %50 %55 = phi ptr [ %51, %50 ], [ null, %46 ] ret ptr %55 } declare i32 @d40_seg_size(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ALIGN(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @d40_phy_fill_lli(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 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, !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 = !{!"stedma40_half_channel_info", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
linux_drivers_dma_extr_ste_dma40_ll.c_d40_phy_buf_to_lli
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_bchg_r.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_bchg_r.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @g_dasm_str = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"bchg D%d, %s\00", align 1 @g_cpu_ir = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @d68000_bchg_r], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @d68000_bchg_r() #0 { %1 = load i32, ptr @g_dasm_str, align 4, !tbaa !5 %2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !5 %3 = lshr i32 %2, 9 %4 = and i32 %3, 7 %5 = tail call ptr @get_ea_mode_str_8(i32 noundef %2) #2 %6 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %4, ptr noundef %5) #2 ret void } declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_ea_mode_str_8(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_bchg_r.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/musashi/extr_m68kdasm.c_d68000_bchg_r.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_dasm_str = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [16 x i8] c"bchg D%d, %s\00", align 1 @g_cpu_ir = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @d68000_bchg_r], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @d68000_bchg_r() #0 { %1 = load i32, ptr @g_dasm_str, align 4, !tbaa !6 %2 = load i32, ptr @g_cpu_ir, align 4, !tbaa !6 %3 = lshr i32 %2, 9 %4 = and i32 %3, 7 %5 = tail call ptr @get_ea_mode_str_8(i32 noundef %2) #2 %6 = tail call i32 @sprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %4, ptr noundef %5) #2 ret void } declare i32 @sprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @get_ea_mode_str_8(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Yabause_yabause_src_musashi_extr_m68kdasm.c_d68000_bchg_r
; ModuleID = 'AnghaBench/git/extr_wrapper.c_do_xmalloc.c' source_filename = "AnghaBench/git/extr_wrapper.c_do_xmalloc.c" target datalayout = "e-m:e-p270:32:32-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 [59 x i8] c"Out of memory, malloc failed (tried to allocate %lu bytes)\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_xmalloc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @do_xmalloc(i64 noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @memory_limit_check(i64 noundef %0, i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %22 5: ; preds = %2 %6 = trunc i64 %0 to i32 %7 = tail call ptr @malloc(i32 noundef %6) #2 %8 = icmp ne ptr %7, null %9 = icmp ne i64 %0, 0 %10 = or i1 %9, %8 br i1 %10, label %13, label %11 11: ; preds = %5 %12 = tail call ptr @malloc(i32 noundef 1) #2 br label %13 13: ; preds = %11, %5 %14 = phi ptr [ %7, %5 ], [ %12, %11 ] %15 = icmp eq ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %13 %17 = icmp eq i32 %1, 0 br i1 %17, label %18, label %20 18: ; preds = %16 %19 = tail call i32 @die(ptr noundef nonnull @.str, i64 noundef %0) #2 br label %22 20: ; preds = %16 %21 = tail call i32 @error(ptr noundef nonnull @.str, i64 noundef %0) #2 br label %22 22: ; preds = %13, %18, %2, %20 %23 = phi ptr [ null, %20 ], [ null, %2 ], [ null, %18 ], [ %14, %13 ] ret ptr %23 } declare i64 @memory_limit_check(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @die(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @error(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)"}
; ModuleID = 'AnghaBench/git/extr_wrapper.c_do_xmalloc.c' source_filename = "AnghaBench/git/extr_wrapper.c_do_xmalloc.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 [59 x i8] c"Out of memory, malloc failed (tried to allocate %lu bytes)\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @do_xmalloc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @do_xmalloc(i64 noundef %0, i32 noundef %1) #0 { %3 = tail call i64 @memory_limit_check(i64 noundef %0, i32 noundef %1) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %22 5: ; preds = %2 %6 = trunc i64 %0 to i32 %7 = tail call ptr @malloc(i32 noundef %6) #2 %8 = icmp ne ptr %7, null %9 = icmp ne i64 %0, 0 %10 = or i1 %9, %8 br i1 %10, label %13, label %11 11: ; preds = %5 %12 = tail call ptr @malloc(i32 noundef 1) #2 br label %13 13: ; preds = %11, %5 %14 = phi ptr [ %7, %5 ], [ %12, %11 ] %15 = icmp eq ptr %14, null br i1 %15, label %16, label %22 16: ; preds = %13 %17 = icmp eq i32 %1, 0 br i1 %17, label %18, label %20 18: ; preds = %16 %19 = tail call i32 @die(ptr noundef nonnull @.str, i64 noundef %0) #2 br label %22 20: ; preds = %16 %21 = tail call i32 @error(ptr noundef nonnull @.str, i64 noundef %0) #2 br label %22 22: ; preds = %13, %18, %2, %20 %23 = phi ptr [ null, %20 ], [ null, %2 ], [ null, %18 ], [ %14, %13 ] ret ptr %23 } declare i64 @memory_limit_check(i64 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @die(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @error(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)"}
git_extr_wrapper.c_do_xmalloc
; ModuleID = 'AnghaBench/freebsd/sys/geom/eli/extr_g_eli_hmac.c_g_eli_crypto_hmac_final.c' source_filename = "AnghaBench/freebsd/sys/geom/eli/extr_g_eli_hmac.c_g_eli_crypto_hmac_final.c" target datalayout = "e-m:e-p270:32:32-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.hmac_ctx = type { i32, i32 } @SHA512_MDLEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @g_eli_crypto_hmac_final(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @SHA512_MDLEN, align 4, !tbaa !5 %5 = zext i32 %4 to i64 %6 = alloca %struct.hmac_ctx, i64 %5, align 16 %7 = getelementptr inbounds %struct.hmac_ctx, ptr %0, i64 0, i32 1 %8 = call i32 @SHA512_Final(ptr noundef nonnull %6, ptr noundef nonnull %7) #2 %9 = shl i32 %4, 3 %10 = call i32 @SHA512_Update(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %9) #2 %11 = call i32 @SHA512_Final(ptr noundef nonnull %6, ptr noundef %0) #2 %12 = call i32 @explicit_bzero(ptr noundef %0, i32 noundef 8) #2 %13 = icmp eq i64 %2, 0 %14 = load i32, ptr @SHA512_MDLEN, align 4 %15 = sext i32 %14 to i64 %16 = select i1 %13, i64 %15, i64 %2 %17 = call i32 @bcopy(ptr noundef nonnull %6, ptr noundef %1, i64 noundef %16) #2 %18 = call i32 @explicit_bzero(ptr noundef nonnull %6, i32 noundef %9) #2 ret void } declare i32 @SHA512_Final(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SHA512_Update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @explicit_bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcopy(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/geom/eli/extr_g_eli_hmac.c_g_eli_crypto_hmac_final.c' source_filename = "AnghaBench/freebsd/sys/geom/eli/extr_g_eli_hmac.c_g_eli_crypto_hmac_final.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.hmac_ctx = type { i32, i32 } @SHA512_MDLEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @g_eli_crypto_hmac_final(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @SHA512_MDLEN, align 4, !tbaa !6 %5 = zext i32 %4 to i64 %6 = alloca %struct.hmac_ctx, i64 %5, align 4 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = call i32 @SHA512_Final(ptr noundef nonnull %6, ptr noundef nonnull %7) #2 %9 = shl i32 %4, 3 %10 = call i32 @SHA512_Update(ptr noundef %0, ptr noundef nonnull %6, i32 noundef %9) #2 %11 = call i32 @SHA512_Final(ptr noundef nonnull %6, ptr noundef %0) #2 %12 = call i32 @explicit_bzero(ptr noundef %0, i32 noundef 8) #2 %13 = icmp eq i64 %2, 0 %14 = load i32, ptr @SHA512_MDLEN, align 4 %15 = sext i32 %14 to i64 %16 = select i1 %13, i64 %15, i64 %2 %17 = call i32 @bcopy(ptr noundef nonnull %6, ptr noundef %1, i64 noundef %16) #2 %18 = call i32 @explicit_bzero(ptr noundef nonnull %6, i32 noundef %9) #2 ret void } declare i32 @SHA512_Final(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @SHA512_Update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @explicit_bzero(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bcopy(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_geom_eli_extr_g_eli_hmac.c_g_eli_crypto_hmac_final
; ModuleID = 'AnghaBench/linux/drivers/misc/cardreader/extr_rtsx_pcr.c_rtsx_pci_remove.c' source_filename = "AnghaBench/linux/drivers/misc/cardreader/extr_rtsx_pcr.c_rtsx_pci_remove.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.pcr_handle = type { i32, ptr, i32, i32, ptr, i64, i32, i32, i32, i32, i32, i32, i64, ptr } %struct.rtsx_pcr = type { i32, ptr, i32, i32, ptr, i64, i32, i32, i32, i32, i32, i32, i64, ptr } %struct.pci_dev = type { i64, i64, i32 } @RTSX_BIER = dso_local local_unnamed_addr global i32 0, align 4 @RTSX_RESV_BUF_LEN = dso_local local_unnamed_addr global i32 0, align 4 @rtsx_pci_lock = dso_local global i32 0, align 4 @rtsx_pci_idr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [64 x i8] c": Realtek PCI-E Card Reader at %s [%04x:%04x] has been removed\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtsx_pci_remove], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rtsx_pci_remove(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds %struct.pcr_handle, ptr %2, i64 0, i32 13 %4 = load ptr, ptr %3, align 8, !tbaa !5 store i32 1, ptr %4, align 8, !tbaa !12 %5 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 11 %6 = tail call i32 @spin_lock_irq(ptr noundef nonnull %5) #2 %7 = load i32, ptr @RTSX_BIER, align 4, !tbaa !14 %8 = tail call i32 @rtsx_pci_writel(ptr noundef nonnull %4, i32 noundef %7, i32 noundef 0) #2 %9 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 12 store i64 0, ptr %9, align 8, !tbaa !15 %10 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %5) #2 %11 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 10 %12 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 9 %14 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 2 %16 = tail call i32 @mfd_remove_devices(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 4 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = load i32, ptr @RTSX_RESV_BUF_LEN, align 4, !tbaa !14 %20 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 8 %21 = load i32, ptr %20, align 8, !tbaa !17 %22 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 7 %23 = load i32, ptr %22, align 4, !tbaa !18 %24 = tail call i32 @dma_free_coherent(ptr noundef %18, i32 noundef %19, i32 noundef %21, i32 noundef %23) #2 %25 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 6 %26 = load i32, ptr %25, align 8, !tbaa !19 %27 = tail call i32 @free_irq(i32 noundef %26, ptr noundef nonnull %4) #2 %28 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 5 %29 = load i64, ptr %28, align 8, !tbaa !20 %30 = icmp eq i64 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %1 %32 = load ptr, ptr %17, align 8, !tbaa !16 %33 = tail call i32 @pci_disable_msi(ptr noundef %32) #2 br label %34 34: ; preds = %31, %1 %35 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 3 %36 = load i32, ptr %35, align 4, !tbaa !21 %37 = tail call i32 @iounmap(i32 noundef %36) #2 %38 = tail call i32 @pci_release_regions(ptr noundef %0) #2 %39 = tail call i32 @pci_disable_device(ptr noundef %0) #2 %40 = tail call i32 @spin_lock(ptr noundef nonnull @rtsx_pci_lock) #2 %41 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 2 %42 = load i32, ptr %41, align 8, !tbaa !22 %43 = tail call i32 @idr_remove(ptr noundef nonnull @rtsx_pci_idr, i32 noundef %42) #2 %44 = tail call i32 @spin_unlock(ptr noundef nonnull @rtsx_pci_lock) #2 %45 = getelementptr inbounds %struct.rtsx_pcr, ptr %4, i64 0, i32 1 %46 = load ptr, ptr %45, align 8, !tbaa !23 %47 = tail call i32 @kfree(ptr noundef %46) #2 %48 = tail call i32 @kfree(ptr noundef nonnull %4) #2 %49 = tail call i32 @kfree(ptr noundef nonnull %2) #2 %50 = tail call i32 @pci_name(ptr noundef %0) #2 %51 = getelementptr inbounds %struct.pci_dev, ptr %0, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !24 %53 = trunc i64 %52 to i32 %54 = load i64, ptr %0, align 8, !tbaa !26 %55 = trunc i64 %54 to i32 %56 = tail call i32 @dev_dbg(ptr noundef nonnull %15, ptr noundef nonnull @.str, i32 noundef %50, i32 noundef %53, i32 noundef %55) #2 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @rtsx_pci_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @mfd_remove_devices(ptr noundef) local_unnamed_addr #1 declare i32 @dma_free_coherent(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pci_disable_msi(ptr noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1 declare i32 @pci_disable_device(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @idr_remove(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_name(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 72} !6 = !{!"pcr_handle", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !11, i64 64, !10, i64 72} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"rtsx_pcr", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 20, !10, i64 24, !11, i64 32, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !11, i64 64, !10, i64 72} !14 = !{!7, !7, i64 0} !15 = !{!13, !11, i64 64} !16 = !{!13, !10, i64 24} !17 = !{!13, !7, i64 48} !18 = !{!13, !7, i64 44} !19 = !{!13, !7, i64 40} !20 = !{!13, !11, i64 32} !21 = !{!13, !7, i64 20} !22 = !{!13, !7, i64 16} !23 = !{!13, !10, i64 8} !24 = !{!25, !11, i64 8} !25 = !{!"pci_dev", !11, i64 0, !11, i64 8, !7, i64 16} !26 = !{!25, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/misc/cardreader/extr_rtsx_pcr.c_rtsx_pci_remove.c' source_filename = "AnghaBench/linux/drivers/misc/cardreader/extr_rtsx_pcr.c_rtsx_pci_remove.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RTSX_BIER = common local_unnamed_addr global i32 0, align 4 @RTSX_RESV_BUF_LEN = common local_unnamed_addr global i32 0, align 4 @rtsx_pci_lock = common global i32 0, align 4 @rtsx_pci_idr = common global i32 0, align 4 @.str = private unnamed_addr constant [64 x i8] c": Realtek PCI-E Card Reader at %s [%04x:%04x] has been removed\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtsx_pci_remove], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rtsx_pci_remove(ptr noundef %0) #0 { %2 = tail call ptr @pci_get_drvdata(ptr noundef %0) #2 %3 = getelementptr inbounds i8, ptr %2, i64 72 %4 = load ptr, ptr %3, align 8, !tbaa !6 store i32 1, ptr %4, align 8, !tbaa !13 %5 = getelementptr inbounds i8, ptr %4, i64 60 %6 = tail call i32 @spin_lock_irq(ptr noundef nonnull %5) #2 %7 = load i32, ptr @RTSX_BIER, align 4, !tbaa !15 %8 = tail call i32 @rtsx_pci_writel(ptr noundef nonnull %4, i32 noundef %7, i32 noundef 0) #2 %9 = getelementptr inbounds i8, ptr %4, i64 64 store i64 0, ptr %9, align 8, !tbaa !16 %10 = tail call i32 @spin_unlock_irq(ptr noundef nonnull %5) #2 %11 = getelementptr inbounds i8, ptr %4, i64 56 %12 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %11) #2 %13 = getelementptr inbounds i8, ptr %4, i64 52 %14 = tail call i32 @cancel_delayed_work_sync(ptr noundef nonnull %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 16 %16 = tail call i32 @mfd_remove_devices(ptr noundef nonnull %15) #2 %17 = getelementptr inbounds i8, ptr %4, i64 24 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = load i32, ptr @RTSX_RESV_BUF_LEN, align 4, !tbaa !15 %20 = getelementptr inbounds i8, ptr %4, i64 48 %21 = load i32, ptr %20, align 8, !tbaa !18 %22 = getelementptr inbounds i8, ptr %4, i64 44 %23 = load i32, ptr %22, align 4, !tbaa !19 %24 = tail call i32 @dma_free_coherent(ptr noundef %18, i32 noundef %19, i32 noundef %21, i32 noundef %23) #2 %25 = getelementptr inbounds i8, ptr %4, i64 40 %26 = load i32, ptr %25, align 8, !tbaa !20 %27 = tail call i32 @free_irq(i32 noundef %26, ptr noundef nonnull %4) #2 %28 = getelementptr inbounds i8, ptr %4, i64 32 %29 = load i64, ptr %28, align 8, !tbaa !21 %30 = icmp eq i64 %29, 0 br i1 %30, label %34, label %31 31: ; preds = %1 %32 = load ptr, ptr %17, align 8, !tbaa !17 %33 = tail call i32 @pci_disable_msi(ptr noundef %32) #2 br label %34 34: ; preds = %31, %1 %35 = getelementptr inbounds i8, ptr %4, i64 20 %36 = load i32, ptr %35, align 4, !tbaa !22 %37 = tail call i32 @iounmap(i32 noundef %36) #2 %38 = tail call i32 @pci_release_regions(ptr noundef %0) #2 %39 = tail call i32 @pci_disable_device(ptr noundef %0) #2 %40 = tail call i32 @spin_lock(ptr noundef nonnull @rtsx_pci_lock) #2 %41 = getelementptr inbounds i8, ptr %4, i64 16 %42 = load i32, ptr %41, align 8, !tbaa !23 %43 = tail call i32 @idr_remove(ptr noundef nonnull @rtsx_pci_idr, i32 noundef %42) #2 %44 = tail call i32 @spin_unlock(ptr noundef nonnull @rtsx_pci_lock) #2 %45 = getelementptr inbounds i8, ptr %4, i64 8 %46 = load ptr, ptr %45, align 8, !tbaa !24 %47 = tail call i32 @kfree(ptr noundef %46) #2 %48 = tail call i32 @kfree(ptr noundef nonnull %4) #2 %49 = tail call i32 @kfree(ptr noundef nonnull %2) #2 %50 = tail call i32 @pci_name(ptr noundef %0) #2 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !25 %53 = trunc i64 %52 to i32 %54 = load i64, ptr %0, align 8, !tbaa !27 %55 = trunc i64 %54 to i32 %56 = tail call i32 @dev_dbg(ptr noundef nonnull %15, ptr noundef nonnull @.str, i32 noundef %50, i32 noundef %53, i32 noundef %55) #2 ret void } declare ptr @pci_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @rtsx_pci_writel(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irq(ptr noundef) local_unnamed_addr #1 declare i32 @cancel_delayed_work_sync(ptr noundef) local_unnamed_addr #1 declare i32 @mfd_remove_devices(ptr noundef) local_unnamed_addr #1 declare i32 @dma_free_coherent(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @free_irq(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pci_disable_msi(ptr noundef) local_unnamed_addr #1 declare i32 @iounmap(i32 noundef) local_unnamed_addr #1 declare i32 @pci_release_regions(ptr noundef) local_unnamed_addr #1 declare i32 @pci_disable_device(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock(ptr noundef) local_unnamed_addr #1 declare i32 @idr_remove(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @pci_name(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 72} !7 = !{!"pcr_handle", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !12, i64 64, !11, i64 72} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"rtsx_pcr", !8, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !11, i64 24, !12, i64 32, !8, i64 40, !8, i64 44, !8, i64 48, !8, i64 52, !8, i64 56, !8, i64 60, !12, i64 64, !11, i64 72} !15 = !{!8, !8, i64 0} !16 = !{!14, !12, i64 64} !17 = !{!14, !11, i64 24} !18 = !{!14, !8, i64 48} !19 = !{!14, !8, i64 44} !20 = !{!14, !8, i64 40} !21 = !{!14, !12, i64 32} !22 = !{!14, !8, i64 20} !23 = !{!14, !8, i64 16} !24 = !{!14, !11, i64 8} !25 = !{!26, !12, i64 8} !26 = !{!"pci_dev", !12, i64 0, !12, i64 8, !8, i64 16} !27 = !{!26, !12, i64 0}
linux_drivers_misc_cardreader_extr_rtsx_pcr.c_rtsx_pci_remove
; ModuleID = 'AnghaBench/esp-idf/tools/kconfig/extr_nconf.c_conf_string.c' source_filename = "AnghaBench/esp-idf/tools/kconfig/extr_nconf.c_conf_string.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @inputbox_instructions_int = dso_local local_unnamed_addr global ptr null, align 8 @inputbox_instructions_hex = dso_local local_unnamed_addr global ptr null, align 8 @inputbox_instructions_string = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [22 x i8] c"Internal nconf error!\00", align 1 @main_window = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"Main Menu\00", align 1 @dialog_input_result = dso_local global i32 0, align 4 @dialog_input_result_len = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"You have made an invalid entry.\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @conf_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @conf_string(ptr noundef %0) #0 { %2 = tail call ptr @menu_get_prompt(ptr noundef %0) #2 %3 = icmp eq ptr %2, null %4 = select i1 %3, ptr @.str.1, ptr %2 br label %5 5: ; preds = %26, %1 %6 = load i32, ptr %0, align 4, !tbaa !5 %7 = tail call i32 @sym_get_type(i32 noundef %6) #2 switch i32 %7, label %17 [ i32 129, label %8 i32 130, label %11 i32 128, label %14 ] 8: ; preds = %5 %9 = load ptr, ptr @inputbox_instructions_int, align 8, !tbaa !10 %10 = tail call ptr @_(ptr noundef %9) #2 br label %19 11: ; preds = %5 %12 = load ptr, ptr @inputbox_instructions_hex, align 8, !tbaa !10 %13 = tail call ptr @_(ptr noundef %12) #2 br label %19 14: ; preds = %5 %15 = load ptr, ptr @inputbox_instructions_string, align 8, !tbaa !10 %16 = tail call ptr @_(ptr noundef %15) #2 br label %19 17: ; preds = %5 %18 = tail call ptr @_(ptr noundef nonnull @.str) #2 br label %19 19: ; preds = %17, %14, %11, %8 %20 = phi ptr [ %18, %17 ], [ %16, %14 ], [ %13, %11 ], [ %10, %8 ] %21 = load i32, ptr @main_window, align 4, !tbaa !12 %22 = tail call ptr @_(ptr noundef nonnull %4) #2 %23 = load i32, ptr %0, align 4, !tbaa !5 %24 = tail call i32 @sym_get_string_value(i32 noundef %23) #2 %25 = tail call i32 @dialog_inputbox(i32 noundef %21, ptr noundef %22, ptr noundef %20, i32 noundef %24, ptr noundef nonnull @dialog_input_result, ptr noundef nonnull @dialog_input_result_len) #2 switch i32 %25, label %26 [ i32 0, label %27 i32 1, label %36 i32 131, label %38 ] 26: ; preds = %19, %36, %32 br label %5 27: ; preds = %19 %28 = load i32, ptr %0, align 4, !tbaa !5 %29 = load i32, ptr @dialog_input_result, align 4, !tbaa !12 %30 = tail call i32 @sym_set_string_value(i32 noundef %28, i32 noundef %29) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %38 32: ; preds = %27 %33 = load i32, ptr @main_window, align 4, !tbaa !12 %34 = tail call ptr @_(ptr noundef nonnull @.str.2) #2 %35 = tail call i32 @btn_dialog(i32 noundef %33, ptr noundef %34, i32 noundef 0) #2 br label %26 36: ; preds = %19 %37 = tail call i32 @show_help(ptr noundef nonnull %0) #2 br label %26 38: ; preds = %27, %19 ret void } declare ptr @menu_get_prompt(ptr noundef) local_unnamed_addr #1 declare i32 @sym_get_type(i32 noundef) local_unnamed_addr #1 declare ptr @_(ptr noundef) local_unnamed_addr #1 declare i32 @dialog_inputbox(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sym_get_string_value(i32 noundef) local_unnamed_addr #1 declare i32 @sym_set_string_value(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btn_dialog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @show_help(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 = !{!"menu", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/tools/kconfig/extr_nconf.c_conf_string.c' source_filename = "AnghaBench/esp-idf/tools/kconfig/extr_nconf.c_conf_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @inputbox_instructions_int = common local_unnamed_addr global ptr null, align 8 @inputbox_instructions_hex = common local_unnamed_addr global ptr null, align 8 @inputbox_instructions_string = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [22 x i8] c"Internal nconf error!\00", align 1 @main_window = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"Main Menu\00", align 1 @dialog_input_result = common global i32 0, align 4 @dialog_input_result_len = common global i32 0, align 4 @.str.2 = private unnamed_addr constant [32 x i8] c"You have made an invalid entry.\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @conf_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @conf_string(ptr noundef %0) #0 { %2 = tail call ptr @menu_get_prompt(ptr noundef %0) #2 %3 = icmp eq ptr %2, null %4 = select i1 %3, ptr @.str.1, ptr %2 br label %5 5: ; preds = %26, %1 %6 = load i32, ptr %0, align 4, !tbaa !6 %7 = tail call i32 @sym_get_type(i32 noundef %6) #2 switch i32 %7, label %17 [ i32 129, label %8 i32 130, label %11 i32 128, label %14 ] 8: ; preds = %5 %9 = load ptr, ptr @inputbox_instructions_int, align 8, !tbaa !11 %10 = tail call ptr @_(ptr noundef %9) #2 br label %19 11: ; preds = %5 %12 = load ptr, ptr @inputbox_instructions_hex, align 8, !tbaa !11 %13 = tail call ptr @_(ptr noundef %12) #2 br label %19 14: ; preds = %5 %15 = load ptr, ptr @inputbox_instructions_string, align 8, !tbaa !11 %16 = tail call ptr @_(ptr noundef %15) #2 br label %19 17: ; preds = %5 %18 = tail call ptr @_(ptr noundef nonnull @.str) #2 br label %19 19: ; preds = %17, %14, %11, %8 %20 = phi ptr [ %18, %17 ], [ %16, %14 ], [ %13, %11 ], [ %10, %8 ] %21 = load i32, ptr @main_window, align 4, !tbaa !13 %22 = tail call ptr @_(ptr noundef nonnull %4) #2 %23 = load i32, ptr %0, align 4, !tbaa !6 %24 = tail call i32 @sym_get_string_value(i32 noundef %23) #2 %25 = tail call i32 @dialog_inputbox(i32 noundef %21, ptr noundef %22, ptr noundef %20, i32 noundef %24, ptr noundef nonnull @dialog_input_result, ptr noundef nonnull @dialog_input_result_len) #2 switch i32 %25, label %26 [ i32 0, label %27 i32 1, label %36 i32 131, label %38 ] 26: ; preds = %19, %36, %32 br label %5 27: ; preds = %19 %28 = load i32, ptr %0, align 4, !tbaa !6 %29 = load i32, ptr @dialog_input_result, align 4, !tbaa !13 %30 = tail call i32 @sym_set_string_value(i32 noundef %28, i32 noundef %29) #2 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %38 32: ; preds = %27 %33 = load i32, ptr @main_window, align 4, !tbaa !13 %34 = tail call ptr @_(ptr noundef nonnull @.str.2) #2 %35 = tail call i32 @btn_dialog(i32 noundef %33, ptr noundef %34, i32 noundef 0) #2 br label %26 36: ; preds = %19 %37 = tail call i32 @show_help(ptr noundef nonnull %0) #2 br label %26 38: ; preds = %27, %19 ret void } declare ptr @menu_get_prompt(ptr noundef) local_unnamed_addr #1 declare i32 @sym_get_type(i32 noundef) local_unnamed_addr #1 declare ptr @_(ptr noundef) local_unnamed_addr #1 declare i32 @dialog_inputbox(i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sym_get_string_value(i32 noundef) local_unnamed_addr #1 declare i32 @sym_set_string_value(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @btn_dialog(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @show_help(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 = !{!"menu", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0}
esp-idf_tools_kconfig_extr_nconf.c_conf_string
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_ed.init.c_ResetInLine.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_ed.init.c_ResetInLine.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @InputBuf = dso_local local_unnamed_addr global ptr null, align 8 @Cursor = dso_local local_unnamed_addr global ptr null, align 8 @LastChar = dso_local local_unnamed_addr global ptr null, align 8 @INBUFSIZE = dso_local local_unnamed_addr global i32 0, align 4 @InputLim = dso_local local_unnamed_addr global ptr null, align 8 @Mark = dso_local local_unnamed_addr global ptr null, align 8 @MarkIsSet = dso_local local_unnamed_addr global i64 0, align 8 @MetaNext = dso_local local_unnamed_addr global i64 0, align 8 @CcKeyMap = dso_local local_unnamed_addr global i32 0, align 4 @CurrentKeyMap = dso_local local_unnamed_addr global i32 0, align 4 @AltKeyMap = dso_local local_unnamed_addr global i64 0, align 8 @Hist_num = dso_local local_unnamed_addr global i64 0, align 8 @DoingArg = dso_local local_unnamed_addr global i64 0, align 8 @Argument = dso_local local_unnamed_addr global i32 0, align 4 @F_UNASSIGNED = dso_local local_unnamed_addr global i32 0, align 4 @LastCmd = dso_local local_unnamed_addr global i32 0, align 4 @IncMatchLen = dso_local local_unnamed_addr global i64 0, align 8 @MacroLvl = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable define dso_local void @ResetInLine(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @InputBuf, align 8, !tbaa !5 store ptr %2, ptr @Cursor, align 8, !tbaa !5 store ptr %2, ptr @LastChar, align 8, !tbaa !5 %3 = load i32, ptr @INBUFSIZE, align 4, !tbaa !9 %4 = sext i32 %3 to i64 %5 = getelementptr i32, ptr %2, i64 %4 %6 = getelementptr i32, ptr %5, i64 -2 store ptr %6, ptr @InputLim, align 8, !tbaa !5 store ptr %2, ptr @Mark, align 8, !tbaa !5 store i64 0, ptr @MarkIsSet, align 8, !tbaa !11 store i64 0, ptr @MetaNext, align 8, !tbaa !11 %7 = load i32, ptr @CcKeyMap, align 4, !tbaa !9 store i32 %7, ptr @CurrentKeyMap, align 4, !tbaa !9 store i64 0, ptr @AltKeyMap, align 8, !tbaa !11 store i64 0, ptr @Hist_num, align 8, !tbaa !11 store i64 0, ptr @DoingArg, align 8, !tbaa !11 store i32 1, ptr @Argument, align 4, !tbaa !9 %8 = load i32, ptr @F_UNASSIGNED, align 4, !tbaa !9 store i32 %8, ptr @LastCmd, align 4, !tbaa !9 store i64 0, ptr @IncMatchLen, align 8, !tbaa !11 %9 = icmp eq i32 %0, 0 br i1 %9, label %11, label %10 10: ; preds = %1 store i32 -1, ptr @MacroLvl, align 4, !tbaa !9 br label %11 11: ; preds = %10, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(readwrite, 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"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/tcsh/extr_ed.init.c_ResetInLine.c' source_filename = "AnghaBench/freebsd/contrib/tcsh/extr_ed.init.c_ResetInLine.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @InputBuf = common local_unnamed_addr global ptr null, align 8 @Cursor = common local_unnamed_addr global ptr null, align 8 @LastChar = common local_unnamed_addr global ptr null, align 8 @INBUFSIZE = common local_unnamed_addr global i32 0, align 4 @InputLim = common local_unnamed_addr global ptr null, align 8 @Mark = common local_unnamed_addr global ptr null, align 8 @MarkIsSet = common local_unnamed_addr global i64 0, align 8 @MetaNext = common local_unnamed_addr global i64 0, align 8 @CcKeyMap = common local_unnamed_addr global i32 0, align 4 @CurrentKeyMap = common local_unnamed_addr global i32 0, align 4 @AltKeyMap = common local_unnamed_addr global i64 0, align 8 @Hist_num = common local_unnamed_addr global i64 0, align 8 @DoingArg = common local_unnamed_addr global i64 0, align 8 @Argument = common local_unnamed_addr global i32 0, align 4 @F_UNASSIGNED = common local_unnamed_addr global i32 0, align 4 @LastCmd = common local_unnamed_addr global i32 0, align 4 @IncMatchLen = common local_unnamed_addr global i64 0, align 8 @MacroLvl = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, argmem: none, inaccessiblemem: none) uwtable(sync) define void @ResetInLine(i32 noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr @InputBuf, align 8, !tbaa !6 store ptr %2, ptr @Cursor, align 8, !tbaa !6 store ptr %2, ptr @LastChar, align 8, !tbaa !6 %3 = load i32, ptr @INBUFSIZE, align 4, !tbaa !10 %4 = sext i32 %3 to i64 %5 = getelementptr i32, ptr %2, i64 %4 %6 = getelementptr i8, ptr %5, i64 -8 store ptr %6, ptr @InputLim, align 8, !tbaa !6 store ptr %2, ptr @Mark, align 8, !tbaa !6 store i64 0, ptr @MarkIsSet, align 8, !tbaa !12 store i64 0, ptr @MetaNext, align 8, !tbaa !12 %7 = load i32, ptr @CcKeyMap, align 4, !tbaa !10 store i32 %7, ptr @CurrentKeyMap, align 4, !tbaa !10 store i64 0, ptr @AltKeyMap, align 8, !tbaa !12 store i64 0, ptr @Hist_num, align 8, !tbaa !12 store i64 0, ptr @DoingArg, align 8, !tbaa !12 store i32 1, ptr @Argument, align 4, !tbaa !10 %8 = load i32, ptr @F_UNASSIGNED, align 4, !tbaa !10 store i32 %8, ptr @LastCmd, align 4, !tbaa !10 store i64 0, ptr @IncMatchLen, align 8, !tbaa !12 %9 = icmp eq i32 %0, 0 br i1 %9, label %11, label %10 10: ; preds = %1 store i32 -1, ptr @MacroLvl, align 4, !tbaa !10 br label %11 11: ; preds = %10, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(readwrite, 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"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0}
freebsd_contrib_tcsh_extr_ed.init.c_ResetInLine
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-uniphier.c_uniphier_gpio_get_bank_and_mask.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-uniphier.c_uniphier_gpio_get_bank_and_mask.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @UNIPHIER_GPIO_LINES_PER_BANK = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @uniphier_gpio_get_bank_and_mask], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uniphier_gpio_get_bank_and_mask(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr @UNIPHIER_GPIO_LINES_PER_BANK, align 4, !tbaa !5 %5 = udiv i32 %0, %4 store i32 %5, ptr %1, align 4, !tbaa !5 %6 = load i32, ptr @UNIPHIER_GPIO_LINES_PER_BANK, align 4, !tbaa !5 %7 = urem i32 %0, %6 %8 = tail call i32 @BIT(i32 noundef %7) #2 store i32 %8, ptr %2, align 4, !tbaa !5 ret void } declare i32 @BIT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpio/extr_gpio-uniphier.c_uniphier_gpio_get_bank_and_mask.c' source_filename = "AnghaBench/linux/drivers/gpio/extr_gpio-uniphier.c_uniphier_gpio_get_bank_and_mask.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @UNIPHIER_GPIO_LINES_PER_BANK = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @uniphier_gpio_get_bank_and_mask], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uniphier_gpio_get_bank_and_mask(i32 noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load i32, ptr @UNIPHIER_GPIO_LINES_PER_BANK, align 4, !tbaa !6 %5 = udiv i32 %0, %4 store i32 %5, ptr %1, align 4, !tbaa !6 %6 = load i32, ptr @UNIPHIER_GPIO_LINES_PER_BANK, align 4, !tbaa !6 %7 = urem i32 %0, %6 %8 = tail call i32 @BIT(i32 noundef %7) #2 store i32 %8, ptr %2, align 4, !tbaa !6 ret void } declare i32 @BIT(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpio_extr_gpio-uniphier.c_uniphier_gpio_get_bank_and_mask
; ModuleID = 'AnghaBench/freebsd/sys/dev/alc/extr_if_alc.c_alc_start_tx.c' source_filename = "AnghaBench/freebsd/sys/dev/alc/extr_if_alc.c_alc_start_tx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.alc_softc = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32, i32, i32 } @BUS_DMASYNC_PREWRITE = dso_local local_unnamed_addr global i32 0, align 4 @ALC_FLAG_AR816X_FAMILY = dso_local local_unnamed_addr global i32 0, align 4 @ALC_MBOX_TD_PRI0_PROD_IDX = dso_local local_unnamed_addr global i32 0, align 4 @ALC_MBOX_TD_PROD_IDX = dso_local local_unnamed_addr global i32 0, align 4 @MBOX_TD_PROD_LO_IDX_SHIFT = dso_local local_unnamed_addr global i32 0, align 4 @MBOX_TD_PROD_LO_IDX_MASK = dso_local local_unnamed_addr global i32 0, align 4 @ALC_TX_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @alc_start_tx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @alc_start_tx(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.alc_softc, ptr %0, i64 0, i32 2 %3 = getelementptr inbounds %struct.alc_softc, ptr %0, i64 0, i32 2, i32 2 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.alc_softc, ptr %0, i64 0, i32 2, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !11 %7 = load i32, ptr @BUS_DMASYNC_PREWRITE, align 4, !tbaa !12 %8 = tail call i32 @bus_dmamap_sync(i32 noundef %4, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr %0, align 4, !tbaa !13 %10 = load i32, ptr @ALC_FLAG_AR816X_FAMILY, align 4, !tbaa !12 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr %2, align 4, !tbaa !14 br i1 %12, label %17, label %14 14: ; preds = %1 %15 = load i32, ptr @ALC_MBOX_TD_PRI0_PROD_IDX, align 4, !tbaa !12 %16 = tail call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %13) #2 br label %24 17: ; preds = %1 %18 = load i32, ptr @ALC_MBOX_TD_PROD_IDX, align 4, !tbaa !12 %19 = load i32, ptr @MBOX_TD_PROD_LO_IDX_SHIFT, align 4, !tbaa !12 %20 = shl i32 %13, %19 %21 = load i32, ptr @MBOX_TD_PROD_LO_IDX_MASK, align 4, !tbaa !12 %22 = and i32 %20, %21 %23 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %22) #2 br label %24 24: ; preds = %17, %14 %25 = load i32, ptr @ALC_TX_TIMEOUT, align 4, !tbaa !12 %26 = getelementptr inbounds %struct.alc_softc, ptr %0, i64 0, i32 1 store i32 %25, ptr %26, align 4, !tbaa !15 ret void } declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"alc_softc", !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_2__", !7, i64 0, !7, i64 4, !7, i64 8} !11 = !{!6, !7, i64 12} !12 = !{!7, !7, i64 0} !13 = !{!6, !7, i64 0} !14 = !{!6, !7, i64 8} !15 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/sys/dev/alc/extr_if_alc.c_alc_start_tx.c' source_filename = "AnghaBench/freebsd/sys/dev/alc/extr_if_alc.c_alc_start_tx.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BUS_DMASYNC_PREWRITE = common local_unnamed_addr global i32 0, align 4 @ALC_FLAG_AR816X_FAMILY = common local_unnamed_addr global i32 0, align 4 @ALC_MBOX_TD_PRI0_PROD_IDX = common local_unnamed_addr global i32 0, align 4 @ALC_MBOX_TD_PROD_IDX = common local_unnamed_addr global i32 0, align 4 @MBOX_TD_PROD_LO_IDX_SHIFT = common local_unnamed_addr global i32 0, align 4 @MBOX_TD_PROD_LO_IDX_MASK = common local_unnamed_addr global i32 0, align 4 @ALC_TX_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @alc_start_tx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @alc_start_tx(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 12 %6 = load i32, ptr %5, align 4, !tbaa !12 %7 = load i32, ptr @BUS_DMASYNC_PREWRITE, align 4, !tbaa !13 %8 = tail call i32 @bus_dmamap_sync(i32 noundef %4, i32 noundef %6, i32 noundef %7) #2 %9 = load i32, ptr %0, align 4, !tbaa !14 %10 = load i32, ptr @ALC_FLAG_AR816X_FAMILY, align 4, !tbaa !13 %11 = and i32 %10, %9 %12 = icmp eq i32 %11, 0 %13 = load i32, ptr %2, align 4, !tbaa !15 br i1 %12, label %17, label %14 14: ; preds = %1 %15 = load i32, ptr @ALC_MBOX_TD_PRI0_PROD_IDX, align 4, !tbaa !13 %16 = tail call i32 @CSR_WRITE_2(ptr noundef nonnull %0, i32 noundef %15, i32 noundef %13) #2 br label %24 17: ; preds = %1 %18 = load i32, ptr @ALC_MBOX_TD_PROD_IDX, align 4, !tbaa !13 %19 = load i32, ptr @MBOX_TD_PROD_LO_IDX_SHIFT, align 4, !tbaa !13 %20 = shl i32 %13, %19 %21 = load i32, ptr @MBOX_TD_PROD_LO_IDX_MASK, align 4, !tbaa !13 %22 = and i32 %20, %21 %23 = tail call i32 @CSR_WRITE_4(ptr noundef nonnull %0, i32 noundef %18, i32 noundef %22) #2 br label %24 24: ; preds = %17, %14 %25 = load i32, ptr @ALC_TX_TIMEOUT, align 4, !tbaa !13 %26 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %25, ptr %26, align 4, !tbaa !16 ret void } declare i32 @bus_dmamap_sync(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_2(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @CSR_WRITE_4(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"alc_softc", !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_2__", !8, i64 0, !8, i64 4, !8, i64 8} !12 = !{!7, !8, i64 12} !13 = !{!8, !8, i64 0} !14 = !{!7, !8, i64 0} !15 = !{!7, !8, i64 8} !16 = !{!7, !8, i64 4}
freebsd_sys_dev_alc_extr_if_alc.c_alc_start_tx
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/vt6655/extr_device.h_DeQueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/vt6655/extr_device.h_DeQueue.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32, i32, ptr } @.str = private unnamed_addr constant [16 x i8] c"Queue is Empty\0A\00", align 1 @NUM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @DeQueue], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @DeQueue(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !12 %5 = icmp eq i32 %2, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @printk(ptr noundef nonnull @.str) #2 br label %20 8: ; preds = %1 %9 = add nsw i32 %4, 1 %10 = load i32, ptr @NUM, align 4, !tbaa !13 %11 = srem i32 %9, %10 store i32 %11, ptr %3, align 4, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 3 %13 = load ptr, ptr %12, align 8, !tbaa !14 %14 = sext i32 %11 to i64 %15 = getelementptr inbounds ptr, ptr %13, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 2 %18 = load i32, ptr %17, align 8, !tbaa !16 %19 = add nsw i32 %18, -1 store i32 %19, ptr %17, align 8, !tbaa !16 br label %20 20: ; preds = %8, %6 %21 = phi ptr [ null, %6 ], [ %16, %8 ] ret ptr %21 } declare i32 @printk(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, !8, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!6, !8, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!6, !11, i64 16} !15 = !{!11, !11, i64 0} !16 = !{!6, !8, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/vt6655/extr_device.h_DeQueue.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/vt6655/extr_device.h_DeQueue.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"Queue is Empty\0A\00", align 1 @NUM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @DeQueue], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @DeQueue(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %0, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !13 %5 = icmp eq i32 %2, %4 br i1 %5, label %6, label %8 6: ; preds = %1 %7 = tail call i32 @printk(ptr noundef nonnull @.str) #2 br label %20 8: ; preds = %1 %9 = add nsw i32 %4, 1 %10 = load i32, ptr @NUM, align 4, !tbaa !14 %11 = srem i32 %9, %10 store i32 %11, ptr %3, align 4, !tbaa !13 %12 = getelementptr inbounds i8, ptr %0, i64 16 %13 = load ptr, ptr %12, align 8, !tbaa !15 %14 = sext i32 %11 to i64 %15 = getelementptr inbounds ptr, ptr %13, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !16 %17 = getelementptr inbounds i8, ptr %0, i64 8 %18 = load i32, ptr %17, align 8, !tbaa !17 %19 = add nsw i32 %18, -1 store i32 %19, ptr %17, align 8, !tbaa !17 br label %20 20: ; preds = %8, %6 %21 = phi ptr [ null, %6 ], [ %16, %8 ] ret ptr %21 } declare i32 @printk(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, !9, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4, !9, i64 8, !12, 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 = !{!7, !9, i64 4} !14 = !{!9, !9, i64 0} !15 = !{!7, !12, i64 16} !16 = !{!12, !12, i64 0} !17 = !{!7, !9, i64 8}
fastsocket_kernel_drivers_staging_vt6655_extr_device.h_DeQueue
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_machine.c_machine__get_current_tid.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_machine.c_machine__get_current_tid.c" target datalayout = "e-m:e-p270:32:32-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.machine = type { ptr, ptr } @MAX_NR_CPUS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @machine__get_current_tid(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.machine, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !10 %6 = load i32, ptr @MAX_NR_CPUS, align 4, !tbaa !13 %7 = tail call i32 @min(i32 noundef %5, i32 noundef %6) #2 %8 = icmp sgt i32 %1, -1 %9 = icmp sgt i32 %7, %1 %10 = select i1 %8, i1 %9, i1 false br i1 %10, label %11, label %18 11: ; preds = %2 %12 = load ptr, ptr %0, align 8, !tbaa !14 %13 = icmp eq ptr %12, null br i1 %13, label %18, label %14 14: ; preds = %11 %15 = zext nneg i32 %1 to i64 %16 = getelementptr inbounds i32, ptr %12, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !13 br label %18 18: ; preds = %2, %11, %14 %19 = phi i32 [ %17, %14 ], [ -1, %11 ], [ -1, %2 ] ret i32 %19 } declare i32 @min(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 = !{!"machine", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/util/extr_machine.c_machine__get_current_tid.c' source_filename = "AnghaBench/linux/tools/perf/util/extr_machine.c_machine__get_current_tid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_NR_CPUS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @machine__get_current_tid(ptr nocapture noundef readonly %0, i32 noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr @MAX_NR_CPUS, align 4, !tbaa !14 %7 = tail call i32 @min(i32 noundef %5, i32 noundef %6) #2 %8 = icmp sgt i32 %1, -1 %9 = icmp sgt i32 %7, %1 %10 = select i1 %8, i1 %9, i1 false br i1 %10, label %11, label %18 11: ; preds = %2 %12 = load ptr, ptr %0, align 8, !tbaa !15 %13 = icmp eq ptr %12, null br i1 %13, label %18, label %14 14: ; preds = %11 %15 = zext nneg i32 %1 to i64 %16 = getelementptr inbounds i32, ptr %12, i64 %15 %17 = load i32, ptr %16, align 4, !tbaa !14 br label %18 18: ; preds = %2, %11, %14 %19 = phi i32 [ %17, %14 ], [ -1, %11 ], [ -1, %2 ] ret i32 %19 } declare i32 @min(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 = !{!"machine", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!7, !8, i64 0}
linux_tools_perf_util_extr_machine.c_machine__get_current_tid
; ModuleID = 'AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_vport_cmd_get.c' source_filename = "AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_vport_cmd_get.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.genl_info = type { i32, i32, ptr, ptr } @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @OVS_VPORT_CMD_GET = dso_local local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ovs_vport_cmd_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ovs_vport_cmd_get(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 3 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 2 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = tail call ptr (...) @ovs_vport_cmd_alloc_info() #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !12 %11 = sub nsw i32 0, %10 br label %35 12: ; preds = %2 %13 = tail call i32 (...) @rcu_read_lock() #2 %14 = load i32, ptr %0, align 4, !tbaa !13 %15 = tail call i32 @sock_net(i32 noundef %14) #2 %16 = tail call ptr @lookup_vport(i32 noundef %15, ptr noundef %6, ptr noundef %4) #2 %17 = tail call i32 @PTR_ERR(ptr noundef %16) #2 %18 = tail call i64 @IS_ERR(ptr noundef %16) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %12 %21 = tail call i32 @genl_info_net(ptr noundef nonnull %1) #2 %22 = getelementptr inbounds %struct.genl_info, ptr %1, i64 0, i32 1 %23 = load i32, ptr %22, align 4, !tbaa !15 %24 = load i32, ptr %1, align 8, !tbaa !16 %25 = load i32, ptr @OVS_VPORT_CMD_GET, align 4, !tbaa !12 %26 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !12 %27 = tail call i32 @ovs_vport_cmd_fill_info(ptr noundef %16, ptr noundef nonnull %7, i32 noundef %21, i32 noundef %23, i32 noundef %24, i32 noundef 0, i32 noundef %25, i32 noundef %26) #2 %28 = lshr i32 %27, 31 %29 = tail call i32 @BUG_ON(i32 noundef %28) #2 %30 = tail call i32 (...) @rcu_read_unlock() #2 %31 = tail call i32 @genlmsg_reply(ptr noundef nonnull %7, ptr noundef nonnull %1) #2 br label %35 32: ; preds = %12 %33 = tail call i32 (...) @rcu_read_unlock() #2 %34 = tail call i32 @kfree_skb(ptr noundef nonnull %7) #2 br label %35 35: ; preds = %32, %20, %9 %36 = phi i32 [ %17, %32 ], [ %31, %20 ], [ %11, %9 ] ret i32 %36 } declare ptr @ovs_vport_cmd_alloc_info(...) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @lookup_vport(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sock_net(i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @ovs_vport_cmd_fill_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @genl_info_net(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @genlmsg_reply(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 16} !6 = !{!"genl_info", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!7, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"sk_buff", !7, i64 0} !15 = !{!6, !7, i64 4} !16 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_vport_cmd_get.c' source_filename = "AnghaBench/linux/net/openvswitch/extr_datapath.c_ovs_vport_cmd_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ENOMEM = common local_unnamed_addr global i32 0, align 4 @OVS_VPORT_CMD_GET = common local_unnamed_addr global i32 0, align 4 @GFP_ATOMIC = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ovs_vport_cmd_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ovs_vport_cmd_get(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %1, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = tail call ptr @ovs_vport_cmd_alloc_info() #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %2 %10 = load i32, ptr @ENOMEM, align 4, !tbaa !13 %11 = sub nsw i32 0, %10 br label %35 12: ; preds = %2 %13 = tail call i32 @rcu_read_lock() #2 %14 = load i32, ptr %0, align 4, !tbaa !14 %15 = tail call i32 @sock_net(i32 noundef %14) #2 %16 = tail call ptr @lookup_vport(i32 noundef %15, ptr noundef %6, ptr noundef %4) #2 %17 = tail call i32 @PTR_ERR(ptr noundef %16) #2 %18 = tail call i64 @IS_ERR(ptr noundef %16) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %20, label %32 20: ; preds = %12 %21 = tail call i32 @genl_info_net(ptr noundef nonnull %1) #2 %22 = getelementptr inbounds i8, ptr %1, i64 4 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = load i32, ptr %1, align 8, !tbaa !17 %25 = load i32, ptr @OVS_VPORT_CMD_GET, align 4, !tbaa !13 %26 = load i32, ptr @GFP_ATOMIC, align 4, !tbaa !13 %27 = tail call i32 @ovs_vport_cmd_fill_info(ptr noundef %16, ptr noundef nonnull %7, i32 noundef %21, i32 noundef %23, i32 noundef %24, i32 noundef 0, i32 noundef %25, i32 noundef %26) #2 %28 = lshr i32 %27, 31 %29 = tail call i32 @BUG_ON(i32 noundef %28) #2 %30 = tail call i32 @rcu_read_unlock() #2 %31 = tail call i32 @genlmsg_reply(ptr noundef nonnull %7, ptr noundef nonnull %1) #2 br label %35 32: ; preds = %12 %33 = tail call i32 @rcu_read_unlock() #2 %34 = tail call i32 @kfree_skb(ptr noundef nonnull %7) #2 br label %35 35: ; preds = %32, %20, %9 %36 = phi i32 [ %17, %32 ], [ %31, %20 ], [ %11, %9 ] ret i32 %36 } declare ptr @ovs_vport_cmd_alloc_info(...) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @lookup_vport(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @sock_net(i32 noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @ovs_vport_cmd_fill_info(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @genl_info_net(ptr noundef) local_unnamed_addr #1 declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 declare i32 @genlmsg_reply(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @kfree_skb(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 16} !7 = !{!"genl_info", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"sk_buff", !8, i64 0} !16 = !{!7, !8, i64 4} !17 = !{!7, !8, i64 0}
linux_net_openvswitch_extr_datapath.c_ovs_vport_cmd_get
; ModuleID = 'AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/spi/static/src/extr_drv_spi_static_sys_queue.c_DRV_SPI_SYS_QUEUE_AllocElementLock.c' source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/spi/static/src/extr_drv_spi_static_sys_queue.c_DRV_SPI_SYS_QUEUE_AllocElementLock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DRV_SPI_SYS_QUEUE_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @DRV_SPI_SYS_QUEUE_AllocElementLock(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @_DRV_SPI_SYS_QUEUE_LockQueue(i32 noundef %0, i32 noundef 1) #2 %4 = load i64, ptr @DRV_SPI_SYS_QUEUE_SUCCESS, align 8, !tbaa !5 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %12 6: ; preds = %2 %7 = tail call i64 @DRV_SPI_SYS_QUEUE_AllocElement(i32 noundef %0, ptr noundef %1) #2 %8 = tail call i64 @_DRV_SPI_SYS_QUEUE_UnlockQueue(i32 noundef %0, i32 noundef 1) #2 %9 = load i64, ptr @DRV_SPI_SYS_QUEUE_SUCCESS, align 8, !tbaa !5 %10 = icmp eq i64 %8, %9 %11 = select i1 %10, i64 %7, i64 %8 br label %12 12: ; preds = %6, %2 %13 = phi i64 [ %3, %2 ], [ %11, %6 ] ret i64 %13 } declare i64 @_DRV_SPI_SYS_QUEUE_LockQueue(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @DRV_SPI_SYS_QUEUE_AllocElement(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @_DRV_SPI_SYS_QUEUE_UnlockQueue(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"}
; ModuleID = 'AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/spi/static/src/extr_drv_spi_static_sys_queue.c_DRV_SPI_SYS_QUEUE_AllocElementLock.c' source_filename = "AnghaBench/mongoose/examples/PIC32/mqtt_client/firmware/src/system_config/mx795_CC3100_e16/framework/driver/spi/static/src/extr_drv_spi_static_sys_queue.c_DRV_SPI_SYS_QUEUE_AllocElementLock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DRV_SPI_SYS_QUEUE_SUCCESS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @DRV_SPI_SYS_QUEUE_AllocElementLock(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call i64 @_DRV_SPI_SYS_QUEUE_LockQueue(i32 noundef %0, i32 noundef 1) #2 %4 = load i64, ptr @DRV_SPI_SYS_QUEUE_SUCCESS, align 8, !tbaa !6 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %12 6: ; preds = %2 %7 = tail call i64 @DRV_SPI_SYS_QUEUE_AllocElement(i32 noundef %0, ptr noundef %1) #2 %8 = tail call i64 @_DRV_SPI_SYS_QUEUE_UnlockQueue(i32 noundef %0, i32 noundef 1) #2 %9 = load i64, ptr @DRV_SPI_SYS_QUEUE_SUCCESS, align 8, !tbaa !6 %10 = icmp eq i64 %8, %9 %11 = select i1 %10, i64 %7, i64 %8 br label %12 12: ; preds = %6, %2 %13 = phi i64 [ %3, %2 ], [ %11, %6 ] ret i64 %13 } declare i64 @_DRV_SPI_SYS_QUEUE_LockQueue(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @DRV_SPI_SYS_QUEUE_AllocElement(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @_DRV_SPI_SYS_QUEUE_UnlockQueue(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"}
mongoose_examples_PIC32_mqtt_client_firmware_src_system_config_mx795_CC3100_e16_framework_driver_spi_static_src_extr_drv_spi_static_sys_queue.c_DRV_SPI_SYS_QUEUE_AllocElementLock
; ModuleID = 'AnghaBench/kphp-kdb/drinkless/extr_dl-utils-lite.c_dl_memdup.c' source_filename = "AnghaBench/kphp-kdb/drinkless/extr_dl-utils-lite.c_dl_memdup.c" target datalayout = "e-m:e-p270:32:32-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 @dl_memdup(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @dl_malloc(i64 noundef %1) #2 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = tail call i32 @memcpy(ptr noundef %3, ptr noundef %0, i64 noundef %1) #2 ret ptr %3 } declare ptr @dl_malloc(i64 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(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)"}
; ModuleID = 'AnghaBench/kphp-kdb/drinkless/extr_dl-utils-lite.c_dl_memdup.c' source_filename = "AnghaBench/kphp-kdb/drinkless/extr_dl-utils-lite.c_dl_memdup.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 @dl_memdup(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @dl_malloc(i64 noundef %1) #2 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = tail call i32 @assert(i32 noundef %5) #2 %7 = tail call i32 @memcpy(ptr noundef %3, ptr noundef %0, i64 noundef %1) #2 ret ptr %3 } declare ptr @dl_malloc(i64 noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(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)"}
kphp-kdb_drinkless_extr_dl-utils-lite.c_dl_memdup
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp702x.c_vp702x_read_mac_addr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp702x.c_vp702x_read_mac_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" @READ_EEPROM_REQ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vp702x_read_mac_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vp702x_read_mac_addr(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !5 %4 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %3, i32 noundef 6, i32 noundef 1, ptr noundef %1, i32 noundef 1) #2 %5 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !5 %6 = getelementptr i32, ptr %1, i64 1 %7 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %5, i32 noundef 7, i32 noundef 1, ptr noundef %6, i32 noundef 1) #2 %8 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !5 %9 = getelementptr i32, ptr %1, i64 2 %10 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %8, i32 noundef 8, i32 noundef 1, ptr noundef %9, i32 noundef 1) #2 %11 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !5 %12 = getelementptr i32, ptr %1, i64 3 %13 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %11, i32 noundef 9, i32 noundef 1, ptr noundef %12, i32 noundef 1) #2 %14 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !5 %15 = getelementptr i32, ptr %1, i64 4 %16 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %14, i32 noundef 10, i32 noundef 1, ptr noundef %15, i32 noundef 1) #2 %17 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !5 %18 = getelementptr i32, ptr %1, i64 5 %19 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %17, i32 noundef 11, i32 noundef 1, ptr noundef %18, i32 noundef 1) #2 ret i32 0 } declare i32 @vp702x_usb_in_op(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp702x.c_vp702x_read_mac_addr.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/media/dvb/dvb-usb/extr_vp702x.c_vp702x_read_mac_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @READ_EEPROM_REQ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vp702x_read_mac_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @vp702x_read_mac_addr(ptr noundef %0, ptr noundef %1) #0 { %3 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !6 %4 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %3, i32 noundef 6, i32 noundef 1, ptr noundef %1, i32 noundef 1) #2 %5 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !6 %6 = getelementptr i8, ptr %1, i64 4 %7 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %5, i32 noundef 7, i32 noundef 1, ptr noundef %6, i32 noundef 1) #2 %8 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !6 %9 = getelementptr i8, ptr %1, i64 8 %10 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %8, i32 noundef 8, i32 noundef 1, ptr noundef %9, i32 noundef 1) #2 %11 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !6 %12 = getelementptr i8, ptr %1, i64 12 %13 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %11, i32 noundef 9, i32 noundef 1, ptr noundef %12, i32 noundef 1) #2 %14 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !6 %15 = getelementptr i8, ptr %1, i64 16 %16 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %14, i32 noundef 10, i32 noundef 1, ptr noundef %15, i32 noundef 1) #2 %17 = load i32, ptr @READ_EEPROM_REQ, align 4, !tbaa !6 %18 = getelementptr i8, ptr %1, i64 20 %19 = tail call i32 @vp702x_usb_in_op(ptr noundef %0, i32 noundef %17, i32 noundef 11, i32 noundef 1, ptr noundef %18, i32 noundef 1) #2 ret i32 0 } declare i32 @vp702x_usb_in_op(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_media_dvb_dvb-usb_extr_vp702x.c_vp702x_read_mac_addr
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_vf.c_ecore_vf_get_num_mac_filters.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_vf.c_ecore_vf_get_num_mac_filters.c" target datalayout = "e-m:e-p270:32:32-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(read, argmem: readwrite, inaccessiblemem: none) uwtable define dso_local void @ecore_vf_get_num_mac_filters(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 store i32 %4, ptr %1, align 4, !tbaa !15 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ecore_hwfn", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 0} !11 = !{!"ecore_vf_iov", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_vf.c_ecore_vf_get_num_mac_filters.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_vf.c_ecore_vf_get_num_mac_filters.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(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define void @ecore_vf_get_num_mac_filters(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 store i32 %4, ptr %1, align 4, !tbaa !16 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ecore_hwfn", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !15, i64 0} !12 = !{!"ecore_vf_iov", !13, i64 0} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!15, !15, i64 0}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_vf.c_ecore_vf_get_num_mac_filters
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_dscc4.c_dscc4_init_dummy_skb.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_dscc4.c_dscc4_init_dummy_skb.c" target datalayout = "e-m:e-p270:32:32-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.dscc4_dev_priv = type { i32, ptr, ptr, ptr } %struct.TxFD = type { i32, i32 } %struct.sk_buff = type { i32, i32 } @DUMMY_SKB_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @TX_RING_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @version = dso_local local_unnamed_addr global i32 0, align 4 @FrameEnd = dso_local local_unnamed_addr global i32 0, align 4 @PCI_DMA_TODEVICE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @dscc4_init_dummy_skb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @dscc4_init_dummy_skb(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !5 %3 = tail call ptr @dev_alloc_skb(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %36, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !9 %7 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !5 %8 = srem i32 %6, %7 %9 = getelementptr inbounds %struct.dscc4_dev_priv, ptr %0, i64 0, i32 3 %10 = load ptr, ptr %9, align 8, !tbaa !12 %11 = sext i32 %8 to i64 %12 = getelementptr inbounds %struct.TxFD, ptr %10, i64 %11 %13 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !5 store i32 %13, ptr %3, align 4, !tbaa !13 %14 = load i32, ptr @version, align 4, !tbaa !5 %15 = tail call i32 @strlen(i32 noundef %14) #2 %16 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !5 %17 = srem i32 %15, %16 %18 = tail call i32 @skb_copy_to_linear_data(ptr noundef nonnull %3, i32 noundef %14, i32 noundef %17) #2 %19 = load i32, ptr @FrameEnd, align 4, !tbaa !5 %20 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !5 %21 = tail call i32 @TO_STATE_TX(i32 noundef %20) #2 %22 = or i32 %21, %19 store i32 %22, ptr %12, align 4, !tbaa !15 %23 = getelementptr inbounds %struct.dscc4_dev_priv, ptr %0, i64 0, i32 2 %24 = load ptr, ptr %23, align 8, !tbaa !17 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = getelementptr inbounds %struct.sk_buff, ptr %3, i64 0, i32 1 %27 = load i32, ptr %26, align 4, !tbaa !20 %28 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !5 %29 = load i32, ptr @PCI_DMA_TODEVICE, align 4, !tbaa !5 %30 = tail call i32 @pci_map_single(i32 noundef %25, i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @cpu_to_le32(i32 noundef %30) #2 %32 = getelementptr inbounds %struct.TxFD, ptr %10, i64 %11, i32 1 store i32 %31, ptr %32, align 4, !tbaa !21 %33 = getelementptr inbounds %struct.dscc4_dev_priv, ptr %0, i64 0, i32 1 %34 = load ptr, ptr %33, align 8, !tbaa !22 %35 = getelementptr inbounds ptr, ptr %34, i64 %11 store ptr %3, ptr %35, align 8, !tbaa !23 br label %36 36: ; preds = %5, %1 ret ptr %3 } declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #1 declare i32 @skb_copy_to_linear_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(i32 noundef) local_unnamed_addr #1 declare i32 @TO_STATE_TX(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @pci_map_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"dscc4_dev_priv", !6, i64 0, !11, i64 8, !11, i64 16, !11, i64 24} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 24} !13 = !{!14, !6, i64 0} !14 = !{!"sk_buff", !6, i64 0, !6, i64 4} !15 = !{!16, !6, i64 0} !16 = !{!"TxFD", !6, i64 0, !6, i64 4} !17 = !{!10, !11, i64 16} !18 = !{!19, !6, i64 0} !19 = !{!"TYPE_2__", !6, i64 0} !20 = !{!14, !6, i64 4} !21 = !{!16, !6, i64 4} !22 = !{!10, !11, i64 8} !23 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wan/extr_dscc4.c_dscc4_init_dummy_skb.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wan/extr_dscc4.c_dscc4_init_dummy_skb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TxFD = type { i32, i32 } @DUMMY_SKB_SIZE = common local_unnamed_addr global i32 0, align 4 @TX_RING_SIZE = common local_unnamed_addr global i32 0, align 4 @version = common local_unnamed_addr global i32 0, align 4 @FrameEnd = common local_unnamed_addr global i32 0, align 4 @PCI_DMA_TODEVICE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dscc4_init_dummy_skb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @dscc4_init_dummy_skb(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !6 %3 = tail call ptr @dev_alloc_skb(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %36, label %5 5: ; preds = %1 %6 = load i32, ptr %0, align 8, !tbaa !10 %7 = load i32, ptr @TX_RING_SIZE, align 4, !tbaa !6 %8 = srem i32 %6, %7 %9 = getelementptr inbounds i8, ptr %0, i64 24 %10 = load ptr, ptr %9, align 8, !tbaa !13 %11 = sext i32 %8 to i64 %12 = getelementptr inbounds %struct.TxFD, ptr %10, i64 %11 %13 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !6 store i32 %13, ptr %3, align 4, !tbaa !14 %14 = load i32, ptr @version, align 4, !tbaa !6 %15 = tail call i32 @strlen(i32 noundef %14) #2 %16 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !6 %17 = srem i32 %15, %16 %18 = tail call i32 @skb_copy_to_linear_data(ptr noundef nonnull %3, i32 noundef %14, i32 noundef %17) #2 %19 = load i32, ptr @FrameEnd, align 4, !tbaa !6 %20 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !6 %21 = tail call i32 @TO_STATE_TX(i32 noundef %20) #2 %22 = or i32 %21, %19 store i32 %22, ptr %12, align 4, !tbaa !16 %23 = getelementptr inbounds i8, ptr %0, i64 16 %24 = load ptr, ptr %23, align 8, !tbaa !18 %25 = load i32, ptr %24, align 4, !tbaa !19 %26 = getelementptr inbounds i8, ptr %3, i64 4 %27 = load i32, ptr %26, align 4, !tbaa !21 %28 = load i32, ptr @DUMMY_SKB_SIZE, align 4, !tbaa !6 %29 = load i32, ptr @PCI_DMA_TODEVICE, align 4, !tbaa !6 %30 = tail call i32 @pci_map_single(i32 noundef %25, i32 noundef %27, i32 noundef %28, i32 noundef %29) #2 %31 = tail call i32 @cpu_to_le32(i32 noundef %30) #2 %32 = getelementptr inbounds i8, ptr %12, i64 4 store i32 %31, ptr %32, align 4, !tbaa !22 %33 = getelementptr inbounds i8, ptr %0, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !23 %35 = getelementptr inbounds ptr, ptr %34, i64 %11 store ptr %3, ptr %35, align 8, !tbaa !24 br label %36 36: ; preds = %5, %1 ret ptr %3 } declare ptr @dev_alloc_skb(i32 noundef) local_unnamed_addr #1 declare i32 @skb_copy_to_linear_data(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlen(i32 noundef) local_unnamed_addr #1 declare i32 @TO_STATE_TX(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #1 declare i32 @pci_map_single(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"dscc4_dev_priv", !7, i64 0, !12, i64 8, !12, i64 16, !12, i64 24} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 24} !14 = !{!15, !7, i64 0} !15 = !{!"sk_buff", !7, i64 0, !7, i64 4} !16 = !{!17, !7, i64 0} !17 = !{!"TxFD", !7, i64 0, !7, i64 4} !18 = !{!11, !12, i64 16} !19 = !{!20, !7, i64 0} !20 = !{!"TYPE_2__", !7, i64 0} !21 = !{!15, !7, i64 4} !22 = !{!17, !7, i64 4} !23 = !{!11, !12, i64 8} !24 = !{!12, !12, i64 0}
fastsocket_kernel_drivers_net_wan_extr_dscc4.c_dscc4_init_dummy_skb
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov7670.c_ov7670_get_framerate_legacy.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov7670.c_ov7670_get_framerate_legacy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_fract = type { i32, i32 } %struct.ov7670_info = type { i32, i32 } @CLK_EXT = dso_local local_unnamed_addr global i32 0, align 4 @CLK_SCALE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ov7670_get_framerate_legacy], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ov7670_get_framerate_legacy(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @to_state(ptr noundef %0) #2 store i32 1, ptr %1, align 4, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = getelementptr inbounds %struct.v4l2_fract, ptr %1, i64 0, i32 1 store i32 %4, ptr %5, align 4, !tbaa !12 %6 = getelementptr inbounds %struct.ov7670_info, ptr %3, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !13 %8 = load i32, ptr @CLK_EXT, align 4, !tbaa !14 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @CLK_SCALE, align 4, !tbaa !14 %13 = and i32 %12, %7 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = sdiv i32 %4, %13 store i32 %16, ptr %5, align 4, !tbaa !12 br label %17 17: ; preds = %15, %11, %2 ret void } declare ptr @to_state(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 = !{!"v4l2_fract", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"ov7670_info", !7, i64 0, !7, i64 4} !12 = !{!6, !7, i64 4} !13 = !{!11, !7, i64 4} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/media/i2c/extr_ov7670.c_ov7670_get_framerate_legacy.c' source_filename = "AnghaBench/linux/drivers/media/i2c/extr_ov7670.c_ov7670_get_framerate_legacy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CLK_EXT = common local_unnamed_addr global i32 0, align 4 @CLK_SCALE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ov7670_get_framerate_legacy], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ov7670_get_framerate_legacy(ptr noundef %0, ptr nocapture noundef writeonly %1) #0 { %3 = tail call ptr @to_state(ptr noundef %0) #2 store i32 1, ptr %1, align 4, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %4, ptr %5, align 4, !tbaa !13 %6 = getelementptr inbounds i8, ptr %3, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !14 %8 = load i32, ptr @CLK_EXT, align 4, !tbaa !15 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %17 11: ; preds = %2 %12 = load i32, ptr @CLK_SCALE, align 4, !tbaa !15 %13 = and i32 %12, %7 %14 = icmp sgt i32 %13, 1 br i1 %14, label %15, label %17 15: ; preds = %11 %16 = sdiv i32 %4, %13 store i32 %16, ptr %5, align 4, !tbaa !13 br label %17 17: ; preds = %15, %11, %2 ret void } declare ptr @to_state(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 = !{!"v4l2_fract", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"ov7670_info", !8, i64 0, !8, i64 4} !13 = !{!7, !8, i64 4} !14 = !{!12, !8, i64 4} !15 = !{!8, !8, i64 0}
linux_drivers_media_i2c_extr_ov7670.c_ov7670_get_framerate_legacy
; ModuleID = 'AnghaBench/freebsd/bin/ed/extr_io.c_put_tty_line.c' source_filename = "AnghaBench/freebsd/bin/ed/extr_io.c_put_tty_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" @GNP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%ld\09\00", align 1 @GLS = dso_local local_unnamed_addr global i32 0, align 4 @cols = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"\\\0A\00", align 1 @stdout = dso_local local_unnamed_addr global i32 0, align 4 @scripted = dso_local local_unnamed_addr global i32 0, align 4 @isglobal = dso_local local_unnamed_addr global i32 0, align 4 @rows = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"Press <RETURN> to continue... \00", align 1 @ERR = dso_local local_unnamed_addr global i32 0, align 4 @ESCAPES = dso_local local_unnamed_addr global ptr null, align 8 @ESCCHARS = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @put_tty_line(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @GNP, align 4, !tbaa !5 %6 = and i32 %5, %3 %7 = icmp eq i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @printf(ptr noundef nonnull @.str, i64 noundef %2) #2 br label %10 10: ; preds = %8, %4 %11 = phi i32 [ 8, %8 ], [ 0, %4 ] %12 = icmp eq i32 %1, 0 br i1 %12, label %101, label %13 13: ; preds = %10, %97 %14 = phi i32 [ %18, %97 ], [ %1, %10 ] %15 = phi i32 [ %49, %97 ], [ 0, %10 ] %16 = phi i32 [ %98, %97 ], [ %11, %10 ] %17 = phi ptr [ %99, %97 ], [ %0, %10 ] %18 = add nsw i32 %14, -1 %19 = load i32, ptr @GLS, align 4, !tbaa !5 %20 = and i32 %19, %3 %21 = icmp eq i32 %20, 0 br i1 %21, label %47, label %22 22: ; preds = %13 %23 = add nsw i32 %16, 1 %24 = load i32, ptr @cols, align 4, !tbaa !5 %25 = icmp slt i32 %16, %24 br i1 %25, label %47, label %26 26: ; preds = %22 %27 = load i32, ptr @stdout, align 4, !tbaa !5 %28 = tail call i32 @fputs(ptr noundef nonnull @.str.1, i32 noundef %27) #2 %29 = load i32, ptr @scripted, align 4, !tbaa !5 %30 = icmp ne i32 %29, 0 %31 = load i32, ptr @isglobal, align 4 %32 = icmp ne i32 %31, 0 %33 = select i1 %30, i1 true, i1 %32 br i1 %33, label %47, label %34 34: ; preds = %26 %35 = add nsw i32 %15, 1 %36 = load i32, ptr @rows, align 4, !tbaa !5 %37 = icmp slt i32 %15, %36 br i1 %37, label %47, label %38 38: ; preds = %34 %39 = load i32, ptr @stdout, align 4, !tbaa !5 %40 = tail call i32 @fputs(ptr noundef nonnull @.str.2, i32 noundef %39) #2 %41 = load i32, ptr @stdout, align 4, !tbaa !5 %42 = tail call i32 @fflush(i32 noundef %41) #2 %43 = tail call i64 (...) @get_tty_line() #2 %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = load i32, ptr @ERR, align 4, !tbaa !5 br label %109 47: ; preds = %26, %34, %38, %22, %13 %48 = phi i32 [ 1, %26 ], [ 1, %38 ], [ 1, %34 ], [ %23, %22 ], [ %16, %13 ] %49 = phi i32 [ %15, %26 ], [ 0, %38 ], [ %35, %34 ], [ %15, %22 ], [ %15, %13 ] %50 = load i32, ptr @GLS, align 4, !tbaa !5 %51 = and i32 %50, %3 %52 = icmp eq i32 %51, 0 %53 = load i8, ptr %17, align 1, !tbaa !9 %54 = freeze i8 %53 br i1 %52, label %95, label %55 55: ; preds = %47 %56 = icmp slt i8 %54, 32 br i1 %56, label %60, label %57 57: ; preds = %55 switch i8 %54, label %58 [ i8 127, label %60 i8 92, label %60 ] 58: ; preds = %57 %59 = tail call i32 @putchar(i8 noundef signext %54) #2 br label %97 60: ; preds = %57, %57, %55 %61 = tail call i32 @putchar(i8 noundef signext 92) #2 %62 = add nsw i32 %48, 1 %63 = load i8, ptr %17, align 1, !tbaa !9 %64 = icmp eq i8 %63, 0 br i1 %64, label %80, label %65 65: ; preds = %60 %66 = load ptr, ptr @ESCAPES, align 8, !tbaa !10 %67 = tail call ptr @strchr(ptr noundef %66, i8 noundef signext %63) #2 %68 = icmp eq ptr %67, null br i1 %68, label %69, label %71 69: ; preds = %65 %70 = load i8, ptr %17, align 1, !tbaa !9 br label %80 71: ; preds = %65 %72 = load ptr, ptr @ESCCHARS, align 8, !tbaa !10 %73 = load ptr, ptr @ESCAPES, align 8, !tbaa !10 %74 = ptrtoint ptr %67 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 %77 = getelementptr inbounds i8, ptr %72, i64 %76 %78 = load i8, ptr %77, align 1, !tbaa !9 %79 = tail call i32 @putchar(i8 noundef signext %78) #2 br label %97 80: ; preds = %69, %60 %81 = phi i8 [ %70, %69 ], [ 0, %60 ] %82 = lshr i8 %81, 6 %83 = or disjoint i8 %82, 48 %84 = tail call i32 @putchar(i8 noundef signext %83) #2 %85 = load i8, ptr %17, align 1, !tbaa !9 %86 = lshr i8 %85, 3 %87 = and i8 %86, 7 %88 = or disjoint i8 %87, 48 %89 = tail call i32 @putchar(i8 noundef signext %88) #2 %90 = load i8, ptr %17, align 1, !tbaa !9 %91 = and i8 %90, 7 %92 = or disjoint i8 %91, 48 %93 = tail call i32 @putchar(i8 noundef signext %92) #2 %94 = add nsw i32 %48, 3 br label %97 95: ; preds = %47 %96 = tail call i32 @putchar(i8 noundef signext %54) #2 br label %97 97: ; preds = %95, %71, %80, %58 %98 = phi i32 [ %48, %58 ], [ %62, %71 ], [ %94, %80 ], [ %48, %95 ] %99 = getelementptr inbounds i8, ptr %17, i64 1 %100 = icmp eq i32 %18, 0 br i1 %100, label %101, label %13, !llvm.loop !12 101: ; preds = %97, %10 %102 = load i32, ptr @GLS, align 4, !tbaa !5 %103 = and i32 %102, %3 %104 = icmp eq i32 %103, 0 br i1 %104, label %107, label %105 105: ; preds = %101 %106 = tail call i32 @putchar(i8 noundef signext 36) #2 br label %107 107: ; preds = %105, %101 %108 = tail call i32 @putchar(i8 noundef signext 10) #2 br label %109 109: ; preds = %107, %45 %110 = phi i32 [ %46, %45 ], [ 0, %107 ] ret i32 %110 } declare i32 @printf(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare i64 @get_tty_line(...) local_unnamed_addr #1 declare i32 @putchar(i8 noundef signext) 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!11, !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/bin/ed/extr_io.c_put_tty_line.c' source_filename = "AnghaBench/freebsd/bin/ed/extr_io.c_put_tty_line.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GNP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%ld\09\00", align 1 @GLS = common local_unnamed_addr global i32 0, align 4 @cols = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [3 x i8] c"\\\0A\00", align 1 @stdout = common local_unnamed_addr global i32 0, align 4 @scripted = common local_unnamed_addr global i32 0, align 4 @isglobal = common local_unnamed_addr global i32 0, align 4 @rows = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [31 x i8] c"Press <RETURN> to continue... \00", align 1 @ERR = common local_unnamed_addr global i32 0, align 4 @ESCAPES = common local_unnamed_addr global ptr null, align 8 @ESCCHARS = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @put_tty_line(ptr nocapture noundef readonly %0, i32 noundef %1, i64 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @GNP, align 4, !tbaa !6 %6 = and i32 %5, %3 %7 = icmp eq i32 %6, 0 br i1 %7, label %10, label %8 8: ; preds = %4 %9 = tail call i32 @printf(ptr noundef nonnull @.str, i64 noundef %2) #2 br label %10 10: ; preds = %8, %4 %11 = phi i32 [ 8, %8 ], [ 0, %4 ] %12 = icmp eq i32 %1, 0 br i1 %12, label %101, label %13 13: ; preds = %10, %97 %14 = phi i32 [ %18, %97 ], [ %1, %10 ] %15 = phi i32 [ %49, %97 ], [ 0, %10 ] %16 = phi i32 [ %98, %97 ], [ %11, %10 ] %17 = phi ptr [ %99, %97 ], [ %0, %10 ] %18 = add nsw i32 %14, -1 %19 = load i32, ptr @GLS, align 4, !tbaa !6 %20 = and i32 %19, %3 %21 = icmp eq i32 %20, 0 br i1 %21, label %47, label %22 22: ; preds = %13 %23 = add nsw i32 %16, 1 %24 = load i32, ptr @cols, align 4, !tbaa !6 %25 = icmp slt i32 %16, %24 br i1 %25, label %47, label %26 26: ; preds = %22 %27 = load i32, ptr @stdout, align 4, !tbaa !6 %28 = tail call i32 @fputs(ptr noundef nonnull @.str.1, i32 noundef %27) #2 %29 = load i32, ptr @scripted, align 4, !tbaa !6 %30 = icmp ne i32 %29, 0 %31 = load i32, ptr @isglobal, align 4 %32 = icmp ne i32 %31, 0 %33 = select i1 %30, i1 true, i1 %32 br i1 %33, label %47, label %34 34: ; preds = %26 %35 = add nsw i32 %15, 1 %36 = load i32, ptr @rows, align 4, !tbaa !6 %37 = icmp slt i32 %15, %36 br i1 %37, label %47, label %38 38: ; preds = %34 %39 = load i32, ptr @stdout, align 4, !tbaa !6 %40 = tail call i32 @fputs(ptr noundef nonnull @.str.2, i32 noundef %39) #2 %41 = load i32, ptr @stdout, align 4, !tbaa !6 %42 = tail call i32 @fflush(i32 noundef %41) #2 %43 = tail call i64 @get_tty_line() #2 %44 = icmp slt i64 %43, 0 br i1 %44, label %45, label %47 45: ; preds = %38 %46 = load i32, ptr @ERR, align 4, !tbaa !6 br label %109 47: ; preds = %26, %34, %38, %22, %13 %48 = phi i32 [ 1, %26 ], [ 1, %38 ], [ 1, %34 ], [ %23, %22 ], [ %16, %13 ] %49 = phi i32 [ %15, %26 ], [ 0, %38 ], [ %35, %34 ], [ %15, %22 ], [ %15, %13 ] %50 = load i32, ptr @GLS, align 4, !tbaa !6 %51 = and i32 %50, %3 %52 = icmp eq i32 %51, 0 %53 = load i8, ptr %17, align 1, !tbaa !10 %54 = freeze i8 %53 br i1 %52, label %95, label %55 55: ; preds = %47 %56 = icmp slt i8 %54, 32 br i1 %56, label %60, label %57 57: ; preds = %55 switch i8 %54, label %58 [ i8 127, label %60 i8 92, label %60 ] 58: ; preds = %57 %59 = tail call i32 @putchar(i8 noundef signext %54) #2 br label %97 60: ; preds = %57, %57, %55 %61 = tail call i32 @putchar(i8 noundef signext 92) #2 %62 = add nsw i32 %48, 1 %63 = load i8, ptr %17, align 1, !tbaa !10 %64 = icmp eq i8 %63, 0 br i1 %64, label %80, label %65 65: ; preds = %60 %66 = load ptr, ptr @ESCAPES, align 8, !tbaa !11 %67 = tail call ptr @strchr(ptr noundef %66, i8 noundef signext %63) #2 %68 = icmp eq ptr %67, null br i1 %68, label %69, label %71 69: ; preds = %65 %70 = load i8, ptr %17, align 1, !tbaa !10 br label %80 71: ; preds = %65 %72 = load ptr, ptr @ESCCHARS, align 8, !tbaa !11 %73 = load ptr, ptr @ESCAPES, align 8, !tbaa !11 %74 = ptrtoint ptr %67 to i64 %75 = ptrtoint ptr %73 to i64 %76 = sub i64 %74, %75 %77 = getelementptr inbounds i8, ptr %72, i64 %76 %78 = load i8, ptr %77, align 1, !tbaa !10 %79 = tail call i32 @putchar(i8 noundef signext %78) #2 br label %97 80: ; preds = %69, %60 %81 = phi i8 [ %70, %69 ], [ 0, %60 ] %82 = lshr i8 %81, 6 %83 = or disjoint i8 %82, 48 %84 = tail call i32 @putchar(i8 noundef signext %83) #2 %85 = load i8, ptr %17, align 1, !tbaa !10 %86 = lshr i8 %85, 3 %87 = and i8 %86, 7 %88 = or disjoint i8 %87, 48 %89 = tail call i32 @putchar(i8 noundef signext %88) #2 %90 = load i8, ptr %17, align 1, !tbaa !10 %91 = and i8 %90, 7 %92 = or disjoint i8 %91, 48 %93 = tail call i32 @putchar(i8 noundef signext %92) #2 %94 = add nsw i32 %48, 3 br label %97 95: ; preds = %47 %96 = tail call i32 @putchar(i8 noundef signext %54) #2 br label %97 97: ; preds = %95, %71, %80, %58 %98 = phi i32 [ %48, %58 ], [ %62, %71 ], [ %94, %80 ], [ %48, %95 ] %99 = getelementptr inbounds i8, ptr %17, i64 1 %100 = icmp eq i32 %18, 0 br i1 %100, label %101, label %13, !llvm.loop !13 101: ; preds = %97, %10 %102 = load i32, ptr @GLS, align 4, !tbaa !6 %103 = and i32 %102, %3 %104 = icmp eq i32 %103, 0 br i1 %104, label %107, label %105 105: ; preds = %101 %106 = tail call i32 @putchar(i8 noundef signext 36) #2 br label %107 107: ; preds = %105, %101 %108 = tail call i32 @putchar(i8 noundef signext 10) #2 br label %109 109: ; preds = %107, %45 %110 = phi i32 [ %46, %45 ], [ 0, %107 ] ret i32 %110 } declare i32 @printf(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @fputs(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @fflush(i32 noundef) local_unnamed_addr #1 declare i64 @get_tty_line(...) local_unnamed_addr #1 declare i32 @putchar(i8 noundef signext) 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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
freebsd_bin_ed_extr_io.c_put_tty_line
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_set_powergating_state.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_set_powergating_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 @sdma_v2_4_set_powergating_state], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @sdma_v2_4_set_powergating_state(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_set_powergating_state.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_sdma_v2_4.c_sdma_v2_4_set_powergating_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 @sdma_v2_4_set_powergating_state], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @sdma_v2_4_set_powergating_state(ptr nocapture readnone %0, i32 %1) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_amd_amdgpu_extr_sdma_v2_4.c_sdma_v2_4_set_powergating_state
; ModuleID = 'AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_video_info.c' source_filename = "AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_video_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.vt_h264_encoder = type { i64, i64, i32 } @VIDEO_FORMAT_I420 = dso_local local_unnamed_addr global i64 0, align 8 @kCVPixelFormatType_420YpCbCr8PlanarFullRange = dso_local local_unnamed_addr global i32 0, align 4 @kCVPixelFormatType_420YpCbCr8Planar = dso_local local_unnamed_addr global i32 0, align 4 @VIDEO_FORMAT_I444 = dso_local local_unnamed_addr global i64 0, align 8 @LOG_WARNING = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"I444 color format not supported\00", align 1 @VIDEO_FORMAT_NV12 = dso_local local_unnamed_addr global i64 0, align 8 @kCVPixelFormatType_420YpCbCr8BiPlanarFullRange = dso_local local_unnamed_addr global i32 0, align 4 @kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vt_h264_video_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @vt_h264_video_info(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = load i64, ptr @VIDEO_FORMAT_I420, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %14 6: ; preds = %2 store i64 %3, ptr %0, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.vt_h264_encoder, ptr %0, i64 0, i32 1 %8 = load i64, ptr %7, align 8, !tbaa !14 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @kCVPixelFormatType_420YpCbCr8PlanarFullRange, align 4 %11 = load i32, ptr @kCVPixelFormatType_420YpCbCr8Planar, align 4 %12 = select i1 %9, i32 %11, i32 %10 %13 = getelementptr inbounds %struct.vt_h264_encoder, ptr %0, i64 0, i32 2 store i32 %12, ptr %13, align 8, !tbaa !15 br label %29 14: ; preds = %2 %15 = load i64, ptr @VIDEO_FORMAT_I444, align 8, !tbaa !10 %16 = icmp eq i64 %3, %15 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @LOG_WARNING, align 4, !tbaa !16 %19 = tail call i32 @VT_BLOG(i32 noundef %18, ptr noundef nonnull @.str) #2 br label %20 20: ; preds = %17, %14 %21 = load i64, ptr @VIDEO_FORMAT_NV12, align 8, !tbaa !10 store i64 %21, ptr %0, align 8, !tbaa !11 %22 = getelementptr inbounds %struct.vt_h264_encoder, ptr %0, i64 0, i32 1 %23 = load i64, ptr %22, align 8, !tbaa !14 %24 = icmp eq i64 %23, 0 %25 = load i32, ptr @kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, align 4 %26 = load i32, ptr @kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, align 4 %27 = select i1 %24, i32 %26, i32 %25 %28 = getelementptr inbounds %struct.vt_h264_encoder, ptr %0, i64 0, i32 2 store i32 %27, ptr %28, align 8, !tbaa !15 store i64 %21, ptr %1, align 8, !tbaa !5 br label %29 29: ; preds = %20, %6 ret void } declare i32 @VT_BLOG(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 = !{!"video_scale_info", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"vt_h264_encoder", !7, i64 0, !7, i64 8, !13, i64 16} !13 = !{!"int", !8, i64 0} !14 = !{!12, !7, i64 8} !15 = !{!12, !13, i64 16} !16 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_video_info.c' source_filename = "AnghaBench/obs-studio/plugins/mac-vth264/extr_encoder.c_vt_h264_video_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VIDEO_FORMAT_I420 = common local_unnamed_addr global i64 0, align 8 @kCVPixelFormatType_420YpCbCr8PlanarFullRange = common local_unnamed_addr global i32 0, align 4 @kCVPixelFormatType_420YpCbCr8Planar = common local_unnamed_addr global i32 0, align 4 @VIDEO_FORMAT_I444 = common local_unnamed_addr global i64 0, align 8 @LOG_WARNING = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"I444 color format not supported\00", align 1 @VIDEO_FORMAT_NV12 = common local_unnamed_addr global i64 0, align 8 @kCVPixelFormatType_420YpCbCr8BiPlanarFullRange = common local_unnamed_addr global i32 0, align 4 @kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vt_h264_video_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @vt_h264_video_info(ptr nocapture noundef %0, ptr nocapture noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = load i64, ptr @VIDEO_FORMAT_I420, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %14 6: ; preds = %2 store i64 %3, ptr %0, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i64, ptr %7, align 8, !tbaa !15 %9 = icmp eq i64 %8, 0 %10 = load i32, ptr @kCVPixelFormatType_420YpCbCr8PlanarFullRange, align 4 %11 = load i32, ptr @kCVPixelFormatType_420YpCbCr8Planar, align 4 %12 = select i1 %9, i32 %11, i32 %10 %13 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %12, ptr %13, align 8, !tbaa !16 br label %29 14: ; preds = %2 %15 = load i64, ptr @VIDEO_FORMAT_I444, align 8, !tbaa !11 %16 = icmp eq i64 %3, %15 br i1 %16, label %17, label %20 17: ; preds = %14 %18 = load i32, ptr @LOG_WARNING, align 4, !tbaa !17 %19 = tail call i32 @VT_BLOG(i32 noundef %18, ptr noundef nonnull @.str) #2 br label %20 20: ; preds = %17, %14 %21 = load i64, ptr @VIDEO_FORMAT_NV12, align 8, !tbaa !11 store i64 %21, ptr %0, align 8, !tbaa !12 %22 = getelementptr inbounds i8, ptr %0, i64 8 %23 = load i64, ptr %22, align 8, !tbaa !15 %24 = icmp eq i64 %23, 0 %25 = load i32, ptr @kCVPixelFormatType_420YpCbCr8BiPlanarFullRange, align 4 %26 = load i32, ptr @kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange, align 4 %27 = select i1 %24, i32 %26, i32 %25 %28 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %27, ptr %28, align 8, !tbaa !16 store i64 %21, ptr %1, align 8, !tbaa !6 br label %29 29: ; preds = %20, %6 ret void } declare i32 @VT_BLOG(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 = !{!"video_scale_info", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"vt_h264_encoder", !8, i64 0, !8, i64 8, !14, i64 16} !14 = !{!"int", !9, i64 0} !15 = !{!13, !8, i64 8} !16 = !{!13, !14, i64 16} !17 = !{!14, !14, i64 0}
obs-studio_plugins_mac-vth264_extr_encoder.c_vt_h264_video_info
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/utils/extr_eloop_win.c_eloop_register_read_sock.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/utils/extr_eloop_win.c_eloop_register_read_sock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_2__ = type { i32, i32, i32, ptr } %struct.eloop_sock = type { i32, i64, i32, ptr, ptr } @WSA_INVALID_EVENT = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [29 x i8] c"WSACreateEvent() failed: %d\0A\00", align 1 @FD_READ = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"WSAEventSelect() failed: %d\0A\00", align 1 @eloop = dso_local local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @eloop_register_read_sock(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i64 (...) @eloop_prepare_handles() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %44 7: ; preds = %4 %8 = tail call i64 (...) @WSACreateEvent() #2 %9 = load i64, ptr @WSA_INVALID_EVENT, align 8, !tbaa !5 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %7 %12 = tail call i32 (...) @WSAGetLastError() #2 %13 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %12) #2 br label %44 14: ; preds = %7 %15 = load i32, ptr @FD_READ, align 4, !tbaa !9 %16 = tail call i64 @WSAEventSelect(i32 noundef %0, i64 noundef %8, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = tail call i32 (...) @WSAGetLastError() #2 %20 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %19) #2 %21 = tail call i32 @WSACloseEvent(i64 noundef %8) #2 br label %44 22: ; preds = %14 %23 = load ptr, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @eloop, i64 0, i32 3), align 8, !tbaa !11 %24 = load i32, ptr @eloop, align 8, !tbaa !14 %25 = add nsw i32 %24, 1 %26 = tail call ptr @os_realloc_array(ptr noundef %23, i32 noundef %25, i32 noundef 40) #2 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %22 %29 = tail call i64 @WSAEventSelect(i32 noundef %0, i64 noundef %8, i32 noundef 0) #2 %30 = tail call i32 @WSACloseEvent(i64 noundef %8) #2 br label %44 31: ; preds = %22 %32 = load i32, ptr @eloop, align 8, !tbaa !14 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33 store i32 %0, ptr %34, align 8, !tbaa !15 %35 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 4 store ptr %2, ptr %35, align 8, !tbaa !17 %36 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 3 store ptr %3, ptr %36, align 8, !tbaa !18 %37 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 2 store i32 %1, ptr %37, align 8, !tbaa !19 %38 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 1 store i64 %8, ptr %38, align 8, !tbaa !20 %39 = add nsw i32 %32, 1 store i32 %39, ptr @eloop, align 8, !tbaa !14 store ptr %26, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @eloop, i64 0, i32 3), align 8, !tbaa !11 %40 = load i32, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @eloop, i64 0, i32 1), align 4, !tbaa !21 %41 = icmp slt i32 %40, %0 br i1 %41, label %42, label %43 42: ; preds = %31 store i32 %0, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @eloop, i64 0, i32 1), align 4, !tbaa !21 br label %43 43: ; preds = %42, %31 store i32 1, ptr getelementptr inbounds (%struct.TYPE_2__, ptr @eloop, i64 0, i32 2), align 8, !tbaa !22 br label %44 44: ; preds = %4, %43, %28, %18, %11 %45 = phi i32 [ -1, %11 ], [ -1, %18 ], [ -1, %28 ], [ 0, %43 ], [ -1, %4 ] ret i32 %45 } declare i64 @eloop_prepare_handles(...) local_unnamed_addr #1 declare i64 @WSACreateEvent(...) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WSAGetLastError(...) local_unnamed_addr #1 declare i64 @WSAEventSelect(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WSACloseEvent(i64 noundef) local_unnamed_addr #1 declare ptr @os_realloc_array(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !13, i64 16} !12 = !{!"TYPE_2__", !10, i64 0, !10, i64 4, !10, i64 8, !13, i64 16} !13 = !{!"any pointer", !7, i64 0} !14 = !{!12, !10, i64 0} !15 = !{!16, !10, i64 0} !16 = !{!"eloop_sock", !10, i64 0, !6, i64 8, !10, i64 16, !13, i64 24, !13, i64 32} !17 = !{!16, !13, i64 32} !18 = !{!16, !13, i64 24} !19 = !{!16, !10, i64 16} !20 = !{!16, !6, i64 8} !21 = !{!12, !10, i64 4} !22 = !{!12, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/utils/extr_eloop_win.c_eloop_register_read_sock.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/utils/extr_eloop_win.c_eloop_register_read_sock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i32, i32, i32, ptr } %struct.eloop_sock = type { i32, i64, i32, ptr, ptr } @WSA_INVALID_EVENT = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [29 x i8] c"WSACreateEvent() failed: %d\0A\00", align 1 @FD_READ = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [29 x i8] c"WSAEventSelect() failed: %d\0A\00", align 1 @eloop = common local_unnamed_addr global %struct.TYPE_2__ zeroinitializer, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @eloop_register_read_sock(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i64 @eloop_prepare_handles() #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %44 7: ; preds = %4 %8 = tail call i64 @WSACreateEvent() #2 %9 = load i64, ptr @WSA_INVALID_EVENT, align 8, !tbaa !6 %10 = icmp eq i64 %8, %9 br i1 %10, label %11, label %14 11: ; preds = %7 %12 = tail call i32 @WSAGetLastError() #2 %13 = tail call i32 @printf(ptr noundef nonnull @.str, i32 noundef %12) #2 br label %44 14: ; preds = %7 %15 = load i32, ptr @FD_READ, align 4, !tbaa !10 %16 = tail call i64 @WSAEventSelect(i32 noundef %0, i64 noundef %8, i32 noundef %15) #2 %17 = icmp eq i64 %16, 0 br i1 %17, label %22, label %18 18: ; preds = %14 %19 = tail call i32 @WSAGetLastError() #2 %20 = tail call i32 @printf(ptr noundef nonnull @.str.1, i32 noundef %19) #2 %21 = tail call i32 @WSACloseEvent(i64 noundef %8) #2 br label %44 22: ; preds = %14 %23 = load ptr, ptr getelementptr inbounds (i8, ptr @eloop, i64 16), align 8, !tbaa !12 %24 = load i32, ptr @eloop, align 8, !tbaa !15 %25 = add nsw i32 %24, 1 %26 = tail call ptr @os_realloc_array(ptr noundef %23, i32 noundef %25, i32 noundef 40) #2 %27 = icmp eq ptr %26, null br i1 %27, label %28, label %31 28: ; preds = %22 %29 = tail call i64 @WSAEventSelect(i32 noundef %0, i64 noundef %8, i32 noundef 0) #2 %30 = tail call i32 @WSACloseEvent(i64 noundef %8) #2 br label %44 31: ; preds = %22 %32 = load i32, ptr @eloop, align 8, !tbaa !15 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33 store i32 %0, ptr %34, align 8, !tbaa !16 %35 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 4 store ptr %2, ptr %35, align 8, !tbaa !18 %36 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 3 store ptr %3, ptr %36, align 8, !tbaa !19 %37 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 2 store i32 %1, ptr %37, align 8, !tbaa !20 %38 = getelementptr inbounds %struct.eloop_sock, ptr %26, i64 %33, i32 1 store i64 %8, ptr %38, align 8, !tbaa !21 %39 = add nsw i32 %32, 1 store i32 %39, ptr @eloop, align 8, !tbaa !15 store ptr %26, ptr getelementptr inbounds (i8, ptr @eloop, i64 16), align 8, !tbaa !12 %40 = load i32, ptr getelementptr inbounds (i8, ptr @eloop, i64 4), align 4, !tbaa !22 %41 = icmp slt i32 %40, %0 br i1 %41, label %42, label %43 42: ; preds = %31 store i32 %0, ptr getelementptr inbounds (i8, ptr @eloop, i64 4), align 4, !tbaa !22 br label %43 43: ; preds = %42, %31 store i32 1, ptr getelementptr inbounds (i8, ptr @eloop, i64 8), align 8, !tbaa !23 br label %44 44: ; preds = %4, %43, %28, %18, %11 %45 = phi i32 [ -1, %11 ], [ -1, %18 ], [ -1, %28 ], [ 0, %43 ], [ -1, %4 ] ret i32 %45 } declare i64 @eloop_prepare_handles(...) local_unnamed_addr #1 declare i64 @WSACreateEvent(...) local_unnamed_addr #1 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WSAGetLastError(...) local_unnamed_addr #1 declare i64 @WSAEventSelect(i32 noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @WSACloseEvent(i64 noundef) local_unnamed_addr #1 declare ptr @os_realloc_array(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 16} !13 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8, !14, i64 16} !14 = !{!"any pointer", !8, i64 0} !15 = !{!13, !11, i64 0} !16 = !{!17, !11, i64 0} !17 = !{!"eloop_sock", !11, i64 0, !7, i64 8, !11, i64 16, !14, i64 24, !14, i64 32} !18 = !{!17, !14, i64 32} !19 = !{!17, !14, i64 24} !20 = !{!17, !11, i64 16} !21 = !{!17, !7, i64 8} !22 = !{!13, !11, i64 4} !23 = !{!13, !11, i64 8}
freebsd_contrib_wpa_src_utils_extr_eloop_win.c_eloop_register_read_sock
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_host.c_find_sid_vsid.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_host.c_find_sid_vsid.c" target datalayout = "e-m:e-p270:32:32-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.kvmppc_sid_map = type { i64, i32, i64 } @MSR_PR = dso_local local_unnamed_addr global i32 0, align 4 @VSID_PR = dso_local local_unnamed_addr global i64 0, align 8 @SID_MAP_MASK = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @find_sid_vsid], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @find_sid_vsid(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @kvmppc_get_msr(ptr noundef %0) #2 %4 = load i32, ptr @MSR_PR, align 4, !tbaa !5 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = load i64, ptr @VSID_PR, align 8 %8 = select i1 %6, i64 0, i64 %7 %9 = or i64 %8, %1 %10 = tail call i64 @kvmppc_sid_hash(ptr noundef %0, i64 noundef %9) #2 %11 = tail call ptr @to_book3s(ptr noundef %0) #2 %12 = load ptr, ptr %11, align 8, !tbaa !9 %13 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %12, i64 %10 %14 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %12, i64 %10, i32 2 %15 = load i64, ptr %14, align 8, !tbaa !12 %16 = icmp eq i64 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %2 %18 = load i64, ptr %13, align 8, !tbaa !15 %19 = icmp eq i64 %18, %9 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %12, i64 %10, i32 1 %22 = load i32, ptr %21, align 8, !tbaa !16 %23 = tail call i32 @trace_kvm_book3s_slb_found(i64 noundef %9, i32 noundef %22) #2 br label %42 24: ; preds = %17, %2 %25 = tail call ptr @to_book3s(ptr noundef %0) #2 %26 = load ptr, ptr %25, align 8, !tbaa !9 %27 = load i64, ptr @SID_MAP_MASK, align 8, !tbaa !17 %28 = sub i64 %27, %10 %29 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %26, i64 %28 %30 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %26, i64 %28, i32 2 %31 = load i64, ptr %30, align 8, !tbaa !12 %32 = icmp eq i64 %31, 0 br i1 %32, label %40, label %33 33: ; preds = %24 %34 = load i64, ptr %29, align 8, !tbaa !15 %35 = icmp eq i64 %34, %9 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %26, i64 %28, i32 1 %38 = load i32, ptr %37, align 8, !tbaa !16 %39 = tail call i32 @trace_kvm_book3s_slb_found(i64 noundef %9, i32 noundef %38) #2 br label %42 40: ; preds = %33, %24 %41 = tail call i32 @trace_kvm_book3s_slb_fail(i64 noundef %10, i64 noundef %9) #2 br label %42 42: ; preds = %40, %36, %20 %43 = phi ptr [ %13, %20 ], [ %29, %36 ], [ null, %40 ] ret ptr %43 } declare i32 @kvmppc_get_msr(ptr noundef) local_unnamed_addr #1 declare i64 @kvmppc_sid_hash(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @to_book3s(ptr noundef) local_unnamed_addr #1 declare i32 @trace_kvm_book3s_slb_found(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @trace_kvm_book3s_slb_fail(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_2__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !14, i64 16} !13 = !{!"kvmppc_sid_map", !14, i64 0, !6, i64 8, !14, i64 16} !14 = !{!"long", !7, i64 0} !15 = !{!13, !14, i64 0} !16 = !{!13, !6, i64 8} !17 = !{!14, !14, i64 0}
; ModuleID = 'AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_host.c_find_sid_vsid.c' source_filename = "AnghaBench/linux/arch/powerpc/kvm/extr_book3s_64_mmu_host.c_find_sid_vsid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.kvmppc_sid_map = type { i64, i32, i64 } @MSR_PR = common local_unnamed_addr global i32 0, align 4 @VSID_PR = common local_unnamed_addr global i64 0, align 8 @SID_MAP_MASK = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @find_sid_vsid], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @find_sid_vsid(ptr noundef %0, i64 noundef %1) #0 { %3 = tail call i32 @kvmppc_get_msr(ptr noundef %0) #2 %4 = load i32, ptr @MSR_PR, align 4, !tbaa !6 %5 = and i32 %4, %3 %6 = icmp eq i32 %5, 0 %7 = load i64, ptr @VSID_PR, align 8 %8 = select i1 %6, i64 0, i64 %7 %9 = or i64 %8, %1 %10 = tail call i64 @kvmppc_sid_hash(ptr noundef %0, i64 noundef %9) #2 %11 = tail call ptr @to_book3s(ptr noundef %0) #2 %12 = load ptr, ptr %11, align 8, !tbaa !10 %13 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %12, i64 %10 %14 = getelementptr inbounds i8, ptr %13, i64 16 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %24, label %17 17: ; preds = %2 %18 = load i64, ptr %13, align 8, !tbaa !16 %19 = icmp eq i64 %18, %9 br i1 %19, label %20, label %24 20: ; preds = %17 %21 = getelementptr inbounds i8, ptr %13, i64 8 %22 = load i32, ptr %21, align 8, !tbaa !17 %23 = tail call i32 @trace_kvm_book3s_slb_found(i64 noundef %9, i32 noundef %22) #2 br label %42 24: ; preds = %17, %2 %25 = tail call ptr @to_book3s(ptr noundef %0) #2 %26 = load ptr, ptr %25, align 8, !tbaa !10 %27 = load i64, ptr @SID_MAP_MASK, align 8, !tbaa !18 %28 = sub i64 %27, %10 %29 = getelementptr inbounds %struct.kvmppc_sid_map, ptr %26, i64 %28 %30 = getelementptr inbounds i8, ptr %29, i64 16 %31 = load i64, ptr %30, align 8, !tbaa !13 %32 = icmp eq i64 %31, 0 br i1 %32, label %40, label %33 33: ; preds = %24 %34 = load i64, ptr %29, align 8, !tbaa !16 %35 = icmp eq i64 %34, %9 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = getelementptr inbounds i8, ptr %29, i64 8 %38 = load i32, ptr %37, align 8, !tbaa !17 %39 = tail call i32 @trace_kvm_book3s_slb_found(i64 noundef %9, i32 noundef %38) #2 br label %42 40: ; preds = %33, %24 %41 = tail call i32 @trace_kvm_book3s_slb_fail(i64 noundef %10, i64 noundef %9) #2 br label %42 42: ; preds = %40, %36, %20 %43 = phi ptr [ %13, %20 ], [ %29, %36 ], [ null, %40 ] ret ptr %43 } declare i32 @kvmppc_get_msr(ptr noundef) local_unnamed_addr #1 declare i64 @kvmppc_sid_hash(ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @to_book3s(ptr noundef) local_unnamed_addr #1 declare i32 @trace_kvm_book3s_slb_found(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @trace_kvm_book3s_slb_fail(i64 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_2__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !15, i64 16} !14 = !{!"kvmppc_sid_map", !15, i64 0, !7, i64 8, !15, i64 16} !15 = !{!"long", !8, i64 0} !16 = !{!14, !15, i64 0} !17 = !{!14, !7, i64 8} !18 = !{!15, !15, i64 0}
linux_arch_powerpc_kvm_extr_book3s_64_mmu_host.c_find_sid_vsid
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/tpm/extr_tpm_tis.c_tpm_tis_recv.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/tpm/extr_tpm_tis.c_tpm_tis_recv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.tpm_chip = type { %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32, i32, i32 } @TPM_HEADER_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @EIO = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Unable to read header\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Unable to read remainder of result\0A\00", align 1 @ETIME = dso_local local_unnamed_addr global i32 0, align 4 @TPM_STS_VALID = dso_local local_unnamed_addr global i32 0, align 4 @TPM_STS_DATA_AVAIL = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Error left over data\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @tpm_tis_recv], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @tpm_tis_recv(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = load i64, ptr @TPM_HEADER_SIZE, align 8, !tbaa !5 %5 = icmp ugt i64 %4, %2 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @EIO, align 4, !tbaa !9 %8 = sub nsw i32 0, %7 br label %58 9: ; preds = %3 %10 = trunc i64 %4 to i32 %11 = tail call i32 @recv_data(ptr noundef %0, ptr noundef %1, i32 noundef %10) #2 %12 = sext i32 %11 to i64 %13 = load i64, ptr @TPM_HEADER_SIZE, align 8, !tbaa !5 %14 = icmp ugt i64 %13, %12 br i1 %14, label %15, label %19 15: ; preds = %9 %16 = getelementptr inbounds %struct.tpm_chip, ptr %0, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !11 %18 = tail call i32 @dev_err(i32 noundef %17, ptr noundef nonnull @.str) #2 br label %58 19: ; preds = %9 %20 = getelementptr inbounds i32, ptr %1, i64 2 %21 = load i32, ptr %20, align 4, !tbaa !9 %22 = tail call i32 @be32_to_cpu(i32 noundef %21) #2 %23 = sext i32 %22 to i64 %24 = icmp ugt i64 %23, %2 br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load i32, ptr @EIO, align 4, !tbaa !9 %27 = sub nsw i32 0, %26 br label %58 28: ; preds = %19 %29 = load i64, ptr @TPM_HEADER_SIZE, align 8, !tbaa !5 %30 = getelementptr inbounds i32, ptr %1, i64 %29 %31 = trunc i64 %29 to i32 %32 = sub i32 %22, %31 %33 = tail call i32 @recv_data(ptr noundef %0, ptr noundef %30, i32 noundef %32) #2 %34 = add nsw i32 %33, %11 %35 = icmp slt i32 %34, %22 br i1 %35, label %36, label %42 36: ; preds = %28 %37 = getelementptr inbounds %struct.tpm_chip, ptr %0, i64 0, i32 1 %38 = load i32, ptr %37, align 4, !tbaa !11 %39 = tail call i32 @dev_err(i32 noundef %38, ptr noundef nonnull @.str.1) #2 %40 = load i32, ptr @ETIME, align 4, !tbaa !9 %41 = sub nsw i32 0, %40 br label %58 42: ; preds = %28 %43 = load i32, ptr @TPM_STS_VALID, align 4, !tbaa !9 %44 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 2 %45 = load i32, ptr %44, align 4, !tbaa !14 %46 = getelementptr inbounds %struct.TYPE_2__, ptr %0, i64 0, i32 1 %47 = tail call i32 @wait_for_tpm_stat(ptr noundef %0, i32 noundef %43, i32 noundef %45, ptr noundef nonnull %46) #2 %48 = tail call i32 @tpm_tis_status(ptr noundef %0) #2 %49 = load i32, ptr @TPM_STS_DATA_AVAIL, align 4, !tbaa !9 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 br i1 %51, label %58, label %52 52: ; preds = %42 %53 = getelementptr inbounds %struct.tpm_chip, ptr %0, i64 0, i32 1 %54 = load i32, ptr %53, align 4, !tbaa !11 %55 = tail call i32 @dev_err(i32 noundef %54, ptr noundef nonnull @.str.2) #2 %56 = load i32, ptr @EIO, align 4, !tbaa !9 %57 = sub nsw i32 0, %56 br label %58 58: ; preds = %42, %52, %36, %25, %15, %6 %59 = phi i32 [ %8, %6 ], [ %11, %15 ], [ %27, %25 ], [ %41, %36 ], [ %57, %52 ], [ %34, %42 ] %60 = tail call i32 @tpm_tis_ready(ptr noundef %0) #2 %61 = load i32, ptr %0, align 4, !tbaa !15 %62 = tail call i32 @release_locality(ptr noundef nonnull %0, i32 noundef %61, i32 noundef 0) #2 ret i32 %59 } declare i32 @recv_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @wait_for_tpm_stat(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tpm_tis_status(ptr noundef) local_unnamed_addr #1 declare i32 @tpm_tis_ready(ptr noundef) local_unnamed_addr #1 declare i32 @release_locality(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 12} !12 = !{!"tpm_chip", !13, i64 0, !10, i64 12} !13 = !{!"TYPE_2__", !10, i64 0, !10, i64 4, !10, i64 8} !14 = !{!12, !10, i64 8} !15 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/tpm/extr_tpm_tis.c_tpm_tis_recv.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/tpm/extr_tpm_tis.c_tpm_tis_recv.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TPM_HEADER_SIZE = common local_unnamed_addr global i64 0, align 8 @EIO = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [23 x i8] c"Unable to read header\0A\00", align 1 @.str.1 = private unnamed_addr constant [36 x i8] c"Unable to read remainder of result\0A\00", align 1 @ETIME = common local_unnamed_addr global i32 0, align 4 @TPM_STS_VALID = common local_unnamed_addr global i32 0, align 4 @TPM_STS_DATA_AVAIL = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [22 x i8] c"Error left over data\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @tpm_tis_recv], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @tpm_tis_recv(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = load i64, ptr @TPM_HEADER_SIZE, align 8, !tbaa !6 %5 = icmp ugt i64 %4, %2 br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @EIO, align 4, !tbaa !10 %8 = sub nsw i32 0, %7 br label %58 9: ; preds = %3 %10 = trunc i64 %4 to i32 %11 = tail call i32 @recv_data(ptr noundef %0, ptr noundef %1, i32 noundef %10) #2 %12 = sext i32 %11 to i64 %13 = load i64, ptr @TPM_HEADER_SIZE, align 8, !tbaa !6 %14 = icmp ugt i64 %13, %12 br i1 %14, label %15, label %19 15: ; preds = %9 %16 = getelementptr inbounds i8, ptr %0, i64 12 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = tail call i32 @dev_err(i32 noundef %17, ptr noundef nonnull @.str) #2 br label %58 19: ; preds = %9 %20 = getelementptr inbounds i8, ptr %1, i64 8 %21 = load i32, ptr %20, align 4, !tbaa !10 %22 = tail call i32 @be32_to_cpu(i32 noundef %21) #2 %23 = sext i32 %22 to i64 %24 = icmp ugt i64 %23, %2 br i1 %24, label %25, label %28 25: ; preds = %19 %26 = load i32, ptr @EIO, align 4, !tbaa !10 %27 = sub nsw i32 0, %26 br label %58 28: ; preds = %19 %29 = load i64, ptr @TPM_HEADER_SIZE, align 8, !tbaa !6 %30 = getelementptr inbounds i32, ptr %1, i64 %29 %31 = trunc i64 %29 to i32 %32 = sub i32 %22, %31 %33 = tail call i32 @recv_data(ptr noundef %0, ptr noundef %30, i32 noundef %32) #2 %34 = add nsw i32 %33, %11 %35 = icmp slt i32 %34, %22 br i1 %35, label %36, label %42 36: ; preds = %28 %37 = getelementptr inbounds i8, ptr %0, i64 12 %38 = load i32, ptr %37, align 4, !tbaa !12 %39 = tail call i32 @dev_err(i32 noundef %38, ptr noundef nonnull @.str.1) #2 %40 = load i32, ptr @ETIME, align 4, !tbaa !10 %41 = sub nsw i32 0, %40 br label %58 42: ; preds = %28 %43 = load i32, ptr @TPM_STS_VALID, align 4, !tbaa !10 %44 = getelementptr inbounds i8, ptr %0, i64 8 %45 = load i32, ptr %44, align 4, !tbaa !15 %46 = getelementptr inbounds i8, ptr %0, i64 4 %47 = tail call i32 @wait_for_tpm_stat(ptr noundef %0, i32 noundef %43, i32 noundef %45, ptr noundef nonnull %46) #2 %48 = tail call i32 @tpm_tis_status(ptr noundef %0) #2 %49 = load i32, ptr @TPM_STS_DATA_AVAIL, align 4, !tbaa !10 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 br i1 %51, label %58, label %52 52: ; preds = %42 %53 = getelementptr inbounds i8, ptr %0, i64 12 %54 = load i32, ptr %53, align 4, !tbaa !12 %55 = tail call i32 @dev_err(i32 noundef %54, ptr noundef nonnull @.str.2) #2 %56 = load i32, ptr @EIO, align 4, !tbaa !10 %57 = sub nsw i32 0, %56 br label %58 58: ; preds = %42, %52, %36, %25, %15, %6 %59 = phi i32 [ %8, %6 ], [ %11, %15 ], [ %27, %25 ], [ %41, %36 ], [ %57, %52 ], [ %34, %42 ] %60 = tail call i32 @tpm_tis_ready(ptr noundef %0) #2 %61 = load i32, ptr %0, align 4, !tbaa !16 %62 = tail call i32 @release_locality(ptr noundef nonnull %0, i32 noundef %61, i32 noundef 0) #2 ret i32 %59 } declare i32 @recv_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dev_err(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @be32_to_cpu(i32 noundef) local_unnamed_addr #1 declare i32 @wait_for_tpm_stat(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @tpm_tis_status(ptr noundef) local_unnamed_addr #1 declare i32 @tpm_tis_ready(ptr noundef) local_unnamed_addr #1 declare i32 @release_locality(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 12} !13 = !{!"tpm_chip", !14, i64 0, !11, i64 12} !14 = !{!"TYPE_2__", !11, i64 0, !11, i64 4, !11, i64 8} !15 = !{!13, !11, i64 8} !16 = !{!13, !11, i64 0}
fastsocket_kernel_drivers_char_tpm_extr_tpm_tis.c_tpm_tis_recv
; ModuleID = 'AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_init_device_debugfs.c' source_filename = "AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_init_device_debugfs.c" target datalayout = "e-m:e-p270:32:32-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 @pinmux_init_device_debugfs], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @pinmux_init_device_debugfs(ptr nocapture readnone %0, ptr nocapture readnone %1) #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/pinctrl/sprd/extr_..pinmux.h_pinmux_init_device_debugfs.c' source_filename = "AnghaBench/linux/drivers/pinctrl/sprd/extr_..pinmux.h_pinmux_init_device_debugfs.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 @pinmux_init_device_debugfs], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @pinmux_init_device_debugfs(ptr nocapture readnone %0, ptr nocapture readnone %1) #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_pinctrl_sprd_extr_..pinmux.h_pinmux_init_device_debugfs
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_max_store.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_max_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.adm1026_data = type { i32, ptr, ptr } @ADM1026_REG_IN_MAX = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @in_max_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @in_max_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 = load i32, ptr %6, align 4, !tbaa !5 %8 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %9 = getelementptr inbounds %struct.adm1026_data, ptr %8, i64 0, i32 2 %10 = load ptr, ptr %9, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %11 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %27 13: ; preds = %4 %14 = call i32 @mutex_lock(ptr noundef nonnull %8) #3 %15 = load i64, ptr %5, align 8, !tbaa !13 %16 = call i32 @INS_TO_REG(i32 noundef %7, i64 noundef %15) #3 %17 = getelementptr inbounds %struct.adm1026_data, ptr %8, i64 0, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !15 %19 = sext i32 %7 to i64 %20 = getelementptr inbounds i32, ptr %18, i64 %19 store i32 %16, ptr %20, align 4, !tbaa !16 %21 = load ptr, ptr @ADM1026_REG_IN_MAX, align 8, !tbaa !17 %22 = getelementptr inbounds i32, ptr %21, i64 %19 %23 = load i32, ptr %22, align 4, !tbaa !16 %24 = call i32 @adm1026_write_value(ptr noundef %10, i32 noundef %23, i32 noundef %16) #3 %25 = call i32 @mutex_unlock(ptr noundef nonnull %8) #3 %26 = trunc i64 %3 to i32 br label %27 27: ; preds = %4, %13 %28 = phi i32 [ %26, %13 ], [ %11, %4 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %28 } ; 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 @INS_TO_REG(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @adm1026_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"sensor_device_attribute", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 16} !11 = !{!"adm1026_data", !7, i64 0, !12, i64 8, !12, i64 16} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !12, i64 8} !16 = !{!7, !7, i64 0} !17 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_max_store.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_adm1026.c_in_max_store.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADM1026_REG_IN_MAX = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @in_max_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @in_max_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 = load i32, ptr %6, align 4, !tbaa !6 %8 = tail call ptr @dev_get_drvdata(ptr noundef %0) #3 %9 = getelementptr inbounds i8, ptr %8, i64 16 %10 = load ptr, ptr %9, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %11 = call i32 @kstrtol(ptr noundef %2, i32 noundef 10, ptr noundef nonnull %5) #3 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %27 13: ; preds = %4 %14 = call i32 @mutex_lock(ptr noundef nonnull %8) #3 %15 = load i64, ptr %5, align 8, !tbaa !14 %16 = call i32 @INS_TO_REG(i32 noundef %7, i64 noundef %15) #3 %17 = getelementptr inbounds i8, ptr %8, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = sext i32 %7 to i64 %20 = getelementptr inbounds i32, ptr %18, i64 %19 store i32 %16, ptr %20, align 4, !tbaa !17 %21 = load ptr, ptr @ADM1026_REG_IN_MAX, align 8, !tbaa !18 %22 = getelementptr inbounds i32, ptr %21, i64 %19 %23 = load i32, ptr %22, align 4, !tbaa !17 %24 = call i32 @adm1026_write_value(ptr noundef %10, i32 noundef %23, i32 noundef %16) #3 %25 = call i32 @mutex_unlock(ptr noundef nonnull %8) #3 %26 = trunc i64 %3 to i32 br label %27 27: ; preds = %4, %13 %28 = phi i32 [ %26, %13 ], [ %11, %4 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 ret i32 %28 } ; 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 @INS_TO_REG(i32 noundef, i64 noundef) local_unnamed_addr #2 declare i32 @adm1026_write_value(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"sensor_device_attribute", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 16} !12 = !{!"adm1026_data", !8, i64 0, !13, i64 8, !13, i64 16} !13 = !{!"any pointer", !9, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!12, !13, i64 8} !17 = !{!8, !8, i64 0} !18 = !{!13, !13, i64 0}
linux_drivers_hwmon_extr_adm1026.c_in_max_store
; ModuleID = 'AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kc68k.c_M68KC68KGetMSP.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kc68k.c_M68KC68KGetMSP.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @C68K = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @M68KC68KGetMSP], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @M68KC68KGetMSP() #0 { %1 = tail call i32 @C68k_Get_MSP(ptr noundef nonnull @C68K) #2 ret i32 %1 } declare i32 @C68k_Get_MSP(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/Provenance/Cores/Yabause/yabause/src/extr_m68kc68k.c_M68KC68KGetMSP.c' source_filename = "AnghaBench/Provenance/Cores/Yabause/yabause/src/extr_m68kc68k.c_M68KC68KGetMSP.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @C68K = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @M68KC68KGetMSP], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @M68KC68KGetMSP() #0 { %1 = tail call i32 @C68k_Get_MSP(ptr noundef nonnull @C68K) #2 ret i32 %1 } declare i32 @C68k_Get_MSP(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)"}
Provenance_Cores_Yabause_yabause_src_extr_m68kc68k.c_M68KC68KGetMSP
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819x_query_rxpwrpercentage.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819x_query_rxpwrpercentage.c" target datalayout = "e-m:e-p270:32:32-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 @rtl819x_query_rxpwrpercentage], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @rtl819x_query_rxpwrpercentage(i32 noundef %0) #0 { %2 = add i32 %0, -20 %3 = icmp ult i32 %2, -119 %4 = icmp sgt i32 %0, -1 %5 = add nsw i32 %0, 100 %6 = select i1 %4, i32 100, i32 %5 %7 = select i1 %3, i32 0, i32 %6 ret i32 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819x_query_rxpwrpercentage.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8192u/extr_r8192U_core.c_rtl819x_query_rxpwrpercentage.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 @rtl819x_query_rxpwrpercentage], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 0, 101) i32 @rtl819x_query_rxpwrpercentage(i32 noundef %0) #0 { %2 = add i32 %0, -20 %3 = icmp ult i32 %2, -119 %4 = icmp sgt i32 %0, -1 %5 = add nsw i32 %0, 100 %6 = select i1 %4, i32 100, i32 %5 %7 = select i1 %3, i32 0, i32 %6 ret i32 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_staging_rtl8192u_extr_r8192U_core.c_rtl819x_query_rxpwrpercentage
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_opt_info_start_duplication.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_opt_info_start_duplication.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @last_basic_block = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @opt_info_start_duplication], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable define internal void @opt_info_start_duplication(ptr noundef writeonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load i32, ptr @last_basic_block, align 4, !tbaa !5 store i32 %4, ptr %0, align 4, !tbaa !9 br label %5 5: ; preds = %3, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"opt_info", !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_opt_info_start_duplication.c' source_filename = "AnghaBench/freebsd/contrib/gcc/extr_loop-unroll.c_opt_info_start_duplication.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @last_basic_block = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @opt_info_start_duplication], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @opt_info_start_duplication(ptr noundef writeonly %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %5, label %3 3: ; preds = %1 %4 = load i32, ptr @last_basic_block, align 4, !tbaa !6 store i32 %4, ptr %0, align 4, !tbaa !10 br label %5 5: ; preds = %3, %1 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"opt_info", !7, i64 0}
freebsd_contrib_gcc_extr_loop-unroll.c_opt_info_start_duplication