IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_NCR5380.c_atari_scsi_info.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_NCR5380.c_atari_scsi_info.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @NCR5380_info], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @NCR5380_info(ptr noundef %0) #0 { %2 = tail call ptr @shost_priv(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 ret ptr %3 } declare ptr @shost_priv(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 = !{!"NCR5380_hostdata", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/scsi/extr_NCR5380.c_atari_scsi_info.c' source_filename = "AnghaBench/linux/drivers/scsi/extr_NCR5380.c_atari_scsi_info.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @NCR5380_info], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @NCR5380_info(ptr noundef %0) #0 { %2 = tail call ptr @shost_priv(ptr noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 ret ptr %3 } declare ptr @shost_priv(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 = !{!"NCR5380_hostdata", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_scsi_extr_NCR5380.c_atari_scsi_info
; ModuleID = 'AnghaBench/linux/mm/extr_page-writeback.c_wb_min_max_ratio.c' source_filename = "AnghaBench/linux/mm/extr_page-writeback.c_wb_min_max_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.TYPE_2__ = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @wb_min_max_ratio], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @wb_min_max_ratio(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !10 store i64 %5, ptr %1, align 8, !tbaa !13 %6 = getelementptr inbounds %struct.TYPE_2__, ptr %4, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !14 store i64 %7, ptr %2, align 8, !tbaa !13 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 = !{!"bdi_writeback", !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 8} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !12, i64 8}
; ModuleID = 'AnghaBench/linux/mm/extr_page-writeback.c_wb_min_max_ratio.c' source_filename = "AnghaBench/linux/mm/extr_page-writeback.c_wb_min_max_ratio.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 @wb_min_max_ratio], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @wb_min_max_ratio(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !11 store i64 %5, ptr %1, align 8, !tbaa !14 %6 = getelementptr inbounds i8, ptr %4, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !15 store i64 %7, ptr %2, align 8, !tbaa !14 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 = !{!"bdi_writeback", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_2__", !13, i64 0, !13, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 8}
linux_mm_extr_page-writeback.c_wb_min_max_ratio
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnxt/extr_bnxt_tc.h_bnxt_shutdown_tc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnxt/extr_bnxt_tc.h_bnxt_shutdown_tc.c" target datalayout = "e-m:e-p270:32:32-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 @bnxt_shutdown_tc], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @bnxt_shutdown_tc(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/broadcom/bnxt/extr_bnxt_tc.h_bnxt_shutdown_tc.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/broadcom/bnxt/extr_bnxt_tc.h_bnxt_shutdown_tc.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 @bnxt_shutdown_tc], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @bnxt_shutdown_tc(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_ethernet_broadcom_bnxt_extr_bnxt_tc.h_bnxt_shutdown_tc
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_r8a66597-hcd.c_enable_r8a66597_pipe_dma.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_r8a66597-hcd.c_enable_r8a66597_pipe_dma.c" target datalayout = "e-m:e-p270:32:32-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.r8a66597_pipe = type { i32, %struct.r8a66597_pipe_info, i32 } %struct.r8a66597_pipe_info = type { i16, i64, i64, i64 } %struct.r8a66597 = type { i32, ptr } %struct.r8a66597_device = type { i32, ptr } @R8A66597_INT = dso_local local_unnamed_addr global i64 0, align 8 @R8A66597_MAX_DMA_CHANNEL = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"address %d, EndpointAddress 0x%02x use DMA FIFO\0A\00", align 1 @USB_ENDPOINT_DIR_MASK = dso_local local_unnamed_addr global i64 0, align 8 @CURPIPE = dso_local local_unnamed_addr global i16 0, align 2 @BCLR = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @enable_r8a66597_pipe_dma], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @enable_r8a66597_pipe_dma(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds %struct.r8a66597_pipe, ptr %2, i64 0, i32 1 %6 = tail call zeroext i16 @mbw_value(ptr noundef %0) #2 %7 = getelementptr inbounds %struct.r8a66597, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load i64, ptr %8, align 8, !tbaa !11 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %71 11: ; preds = %4 %12 = load i16, ptr %5, align 8, !tbaa !14 %13 = icmp eq i16 %12, 0 br i1 %13, label %71, label %14 14: ; preds = %11 %15 = getelementptr inbounds %struct.r8a66597_pipe, ptr %2, i64 0, i32 1, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !18 %17 = load i64, ptr @R8A66597_INT, align 8, !tbaa !19 %18 = icmp eq i64 %16, %17 br i1 %18, label %71, label %19 19: ; preds = %14 %20 = load i32, ptr @R8A66597_MAX_DMA_CHANNEL, align 4, !tbaa !20 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %71 22: ; preds = %19 %23 = load i32, ptr %0, align 8, !tbaa !21 br label %24 24: ; preds = %22, %68 %25 = phi i32 [ 0, %22 ], [ %69, %68 ] %26 = shl nuw i32 1, %25 %27 = and i32 %23, %26 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %68 29: ; preds = %24 %30 = getelementptr inbounds %struct.r8a66597_device, ptr %1, i64 0, i32 1 %31 = load ptr, ptr %30, align 8, !tbaa !22 %32 = load i32, ptr %3, align 4, !tbaa !24 %33 = tail call i32 @usb_pipedevice(i32 noundef %32) #2 %34 = getelementptr inbounds %struct.r8a66597_pipe, ptr %2, i64 0, i32 1, i32 3 %35 = load i64, ptr %34, align 8, !tbaa !26 %36 = icmp eq i64 %35, 0 br i1 %36, label %42, label %37 37: ; preds = %29 %38 = load i64, ptr @USB_ENDPOINT_DIR_MASK, align 8, !tbaa !19 %39 = getelementptr inbounds %struct.r8a66597_pipe, ptr %2, i64 0, i32 1, i32 2 %40 = load i64, ptr %39, align 8, !tbaa !27 %41 = add nsw i64 %40, %38 br label %45 42: ; preds = %29 %43 = getelementptr inbounds %struct.r8a66597_pipe, ptr %2, i64 0, i32 1, i32 2 %44 = load i64, ptr %43, align 8, !tbaa !27 br label %45 45: ; preds = %42, %37 %46 = phi i64 [ %41, %37 ], [ %44, %42 ] %47 = tail call i32 @dev_info(ptr noundef %31, ptr noundef nonnull @.str, i32 noundef %33, i64 noundef %46) #2 %48 = load i32, ptr %0, align 8, !tbaa !21 %49 = or i32 %48, %26 store i32 %49, ptr %0, align 8, !tbaa !21 %50 = load i32, ptr %1, align 8, !tbaa !28 %51 = or i32 %50, %26 store i32 %51, ptr %1, align 8, !tbaa !28 %52 = tail call i32 @set_pipe_reg_addr(ptr noundef nonnull %2, i32 noundef %25) #2 %53 = tail call i32 @cfifo_change(ptr noundef nonnull %0, i32 noundef 0) #2 %54 = load i16, ptr %5, align 8, !tbaa !14 %55 = or i16 %54, %6 %56 = load i16, ptr @CURPIPE, align 2, !tbaa !29 %57 = or i16 %56, %6 %58 = getelementptr inbounds %struct.r8a66597_pipe, ptr %2, i64 0, i32 2 %59 = load i32, ptr %58, align 8, !tbaa !30 %60 = tail call i32 @r8a66597_mdfy(ptr noundef nonnull %0, i16 noundef zeroext %55, i16 noundef zeroext %57, i32 noundef %59) #2 %61 = load i32, ptr %58, align 8, !tbaa !30 %62 = load i16, ptr @CURPIPE, align 2, !tbaa !29 %63 = load i16, ptr %5, align 8, !tbaa !14 %64 = tail call i32 @r8a66597_reg_wait(ptr noundef nonnull %0, i32 noundef %61, i16 noundef zeroext %62, i16 noundef zeroext %63) #2 %65 = load i32, ptr @BCLR, align 4, !tbaa !20 %66 = load i32, ptr %2, align 8, !tbaa !31 %67 = tail call i32 @r8a66597_bset(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %66) #2 br label %71 68: ; preds = %24 %69 = add nuw nsw i32 %25, 1 %70 = icmp eq i32 %69, %20 br i1 %70, label %71, label %24, !llvm.loop !32 71: ; preds = %68, %19, %11, %14, %45, %4 ret void } declare zeroext i16 @mbw_value(ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @usb_pipedevice(i32 noundef) local_unnamed_addr #1 declare i32 @set_pipe_reg_addr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cfifo_change(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @r8a66597_mdfy(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare i32 @r8a66597_reg_wait(ptr noundef, i32 noundef, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1 declare i32 @r8a66597_bset(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 = !{!"r8a66597", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_3__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !17, i64 8} !15 = !{!"r8a66597_pipe", !7, i64 0, !16, i64 8, !7, i64 40} !16 = !{!"r8a66597_pipe_info", !17, i64 0, !13, i64 8, !13, i64 16, !13, i64 24} !17 = !{!"short", !8, i64 0} !18 = !{!16, !13, i64 8} !19 = !{!13, !13, i64 0} !20 = !{!7, !7, i64 0} !21 = !{!6, !7, i64 0} !22 = !{!23, !10, i64 8} !23 = !{!"r8a66597_device", !7, i64 0, !10, i64 8} !24 = !{!25, !7, i64 0} !25 = !{!"urb", !7, i64 0} !26 = !{!16, !13, i64 24} !27 = !{!16, !13, i64 16} !28 = !{!23, !7, i64 0} !29 = !{!17, !17, i64 0} !30 = !{!15, !7, i64 40} !31 = !{!15, !7, i64 0} !32 = distinct !{!32, !33} !33 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/usb/host/extr_r8a66597-hcd.c_enable_r8a66597_pipe_dma.c' source_filename = "AnghaBench/linux/drivers/usb/host/extr_r8a66597-hcd.c_enable_r8a66597_pipe_dma.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @R8A66597_INT = common local_unnamed_addr global i64 0, align 8 @R8A66597_MAX_DMA_CHANNEL = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [49 x i8] c"address %d, EndpointAddress 0x%02x use DMA FIFO\0A\00", align 1 @USB_ENDPOINT_DIR_MASK = common local_unnamed_addr global i64 0, align 8 @CURPIPE = common local_unnamed_addr global i16 0, align 2 @BCLR = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @enable_r8a66597_pipe_dma], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @enable_r8a66597_pipe_dma(ptr noundef %0, ptr nocapture noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3) #0 { %5 = getelementptr inbounds i8, ptr %2, i64 8 %6 = tail call zeroext i16 @mbw_value(ptr noundef %0) #2 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load i64, ptr %8, align 8, !tbaa !12 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %71 11: ; preds = %4 %12 = load i16, ptr %5, align 8, !tbaa !15 %13 = icmp eq i16 %12, 0 br i1 %13, label %71, label %14 14: ; preds = %11 %15 = getelementptr inbounds i8, ptr %2, i64 16 %16 = load i64, ptr %15, align 8, !tbaa !19 %17 = load i64, ptr @R8A66597_INT, align 8, !tbaa !20 %18 = icmp eq i64 %16, %17 br i1 %18, label %71, label %19 19: ; preds = %14 %20 = load i32, ptr @R8A66597_MAX_DMA_CHANNEL, align 4, !tbaa !21 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %71 22: ; preds = %19 %23 = load i32, ptr %0, align 8, !tbaa !22 br label %24 24: ; preds = %22, %68 %25 = phi i32 [ 0, %22 ], [ %69, %68 ] %26 = shl nuw i32 1, %25 %27 = and i32 %23, %26 %28 = icmp eq i32 %27, 0 br i1 %28, label %29, label %68 29: ; preds = %24 %30 = getelementptr inbounds i8, ptr %1, i64 8 %31 = load ptr, ptr %30, align 8, !tbaa !23 %32 = load i32, ptr %3, align 4, !tbaa !25 %33 = tail call i32 @usb_pipedevice(i32 noundef %32) #2 %34 = getelementptr inbounds i8, ptr %2, i64 32 %35 = load i64, ptr %34, align 8, !tbaa !27 %36 = icmp eq i64 %35, 0 br i1 %36, label %42, label %37 37: ; preds = %29 %38 = load i64, ptr @USB_ENDPOINT_DIR_MASK, align 8, !tbaa !20 %39 = getelementptr inbounds i8, ptr %2, i64 24 %40 = load i64, ptr %39, align 8, !tbaa !28 %41 = add nsw i64 %40, %38 br label %45 42: ; preds = %29 %43 = getelementptr inbounds i8, ptr %2, i64 24 %44 = load i64, ptr %43, align 8, !tbaa !28 br label %45 45: ; preds = %42, %37 %46 = phi i64 [ %41, %37 ], [ %44, %42 ] %47 = tail call i32 @dev_info(ptr noundef %31, ptr noundef nonnull @.str, i32 noundef %33, i64 noundef %46) #2 %48 = load i32, ptr %0, align 8, !tbaa !22 %49 = or i32 %48, %26 store i32 %49, ptr %0, align 8, !tbaa !22 %50 = load i32, ptr %1, align 8, !tbaa !29 %51 = or i32 %50, %26 store i32 %51, ptr %1, align 8, !tbaa !29 %52 = tail call i32 @set_pipe_reg_addr(ptr noundef nonnull %2, i32 noundef %25) #2 %53 = tail call i32 @cfifo_change(ptr noundef nonnull %0, i32 noundef 0) #2 %54 = load i16, ptr %5, align 8, !tbaa !15 %55 = or i16 %54, %6 %56 = load i16, ptr @CURPIPE, align 2, !tbaa !30 %57 = or i16 %56, %6 %58 = getelementptr inbounds i8, ptr %2, i64 40 %59 = load i32, ptr %58, align 8, !tbaa !31 %60 = tail call i32 @r8a66597_mdfy(ptr noundef nonnull %0, i16 noundef zeroext %55, i16 noundef zeroext %57, i32 noundef %59) #2 %61 = load i32, ptr %58, align 8, !tbaa !31 %62 = load i16, ptr @CURPIPE, align 2, !tbaa !30 %63 = load i16, ptr %5, align 8, !tbaa !15 %64 = tail call i32 @r8a66597_reg_wait(ptr noundef nonnull %0, i32 noundef %61, i16 noundef zeroext %62, i16 noundef zeroext %63) #2 %65 = load i32, ptr @BCLR, align 4, !tbaa !21 %66 = load i32, ptr %2, align 8, !tbaa !32 %67 = tail call i32 @r8a66597_bset(ptr noundef nonnull %0, i32 noundef %65, i32 noundef %66) #2 br label %71 68: ; preds = %24 %69 = add nuw nsw i32 %25, 1 %70 = icmp eq i32 %69, %20 br i1 %70, label %71, label %24, !llvm.loop !33 71: ; preds = %68, %19, %11, %14, %45, %4 ret void } declare zeroext i16 @mbw_value(ptr noundef) local_unnamed_addr #1 declare i32 @dev_info(ptr noundef, ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 declare i32 @usb_pipedevice(i32 noundef) local_unnamed_addr #1 declare i32 @set_pipe_reg_addr(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cfifo_change(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @r8a66597_mdfy(ptr noundef, i16 noundef zeroext, i16 noundef zeroext, i32 noundef) local_unnamed_addr #1 declare i32 @r8a66597_reg_wait(ptr noundef, i32 noundef, i16 noundef zeroext, i16 noundef zeroext) local_unnamed_addr #1 declare i32 @r8a66597_bset(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 = !{!"r8a66597", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !18, i64 8} !16 = !{!"r8a66597_pipe", !8, i64 0, !17, i64 8, !8, i64 40} !17 = !{!"r8a66597_pipe_info", !18, i64 0, !14, i64 8, !14, i64 16, !14, i64 24} !18 = !{!"short", !9, i64 0} !19 = !{!17, !14, i64 8} !20 = !{!14, !14, i64 0} !21 = !{!8, !8, i64 0} !22 = !{!7, !8, i64 0} !23 = !{!24, !11, i64 8} !24 = !{!"r8a66597_device", !8, i64 0, !11, i64 8} !25 = !{!26, !8, i64 0} !26 = !{!"urb", !8, i64 0} !27 = !{!17, !14, i64 24} !28 = !{!17, !14, i64 16} !29 = !{!24, !8, i64 0} !30 = !{!18, !18, i64 0} !31 = !{!16, !8, i64 40} !32 = !{!16, !8, i64 0} !33 = distinct !{!33, !34} !34 = !{!"llvm.loop.mustprogress"}
linux_drivers_usb_host_extr_r8a66597-hcd.c_enable_r8a66597_pipe_dma
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiS_GetSysFlags.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiS_GetSysFlags.c" target datalayout = "e-m:e-p270:32:32-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.SiS_Private = type { i32, i32, i64, i32, i32 } @SIS_330 = dso_local local_unnamed_addr global i64 0, align 8 @SIS_661 = dso_local local_unnamed_addr global i64 0, align 8 @SIS_650 = dso_local local_unnamed_addr global i64 0, align 8 @SF_IsM650 = dso_local local_unnamed_addr global i32 0, align 4 @SF_Is651 = dso_local local_unnamed_addr global i32 0, align 4 @SF_IsM652 = dso_local local_unnamed_addr global i32 0, align 4 @SF_IsM653 = dso_local local_unnamed_addr global i32 0, align 4 @SF_Is652 = dso_local local_unnamed_addr global i32 0, align 4 @SIS_760 = dso_local local_unnamed_addr global i64 0, align 8 @SIS_761 = dso_local local_unnamed_addr global i64 0, align 8 @SF_760LFB = dso_local local_unnamed_addr global i32 0, align 4 @SF_760UMA = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @SiS_GetSysFlags], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @SiS_GetSysFlags(ptr nocapture noundef %0) #0 { store i32 0, ptr %0, align 8, !tbaa !5 %2 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 1 store i32 99, ptr %2, align 4, !tbaa !11 %3 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 2 %4 = load i64, ptr %3, align 8, !tbaa !12 %5 = load i64, ptr @SIS_330, align 8, !tbaa !13 %6 = icmp slt i64 %4, %5 br i1 %6, label %11, label %7 7: ; preds = %1 store i32 83, ptr %2, align 4, !tbaa !11 %8 = load i64, ptr @SIS_661, align 8, !tbaa !13 %9 = icmp slt i64 %4, %8 br i1 %9, label %11, label %10 10: ; preds = %7 store i32 1, ptr %0, align 8, !tbaa !5 br label %11 11: ; preds = %7, %10, %1 %12 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 3 store i32 0, ptr %12, align 8, !tbaa !14 %13 = load i64, ptr @SIS_650, align 8, !tbaa !13 %14 = icmp eq i64 %4, %13 br i1 %14, label %15, label %72 15: ; preds = %11 %16 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 4 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = tail call i32 @SiS_GetReg(i32 noundef %17, i32 noundef 95) #2 %19 = load i32, ptr %16, align 4, !tbaa !15 %20 = tail call i32 @SiS_SetRegAND(i32 noundef %19, i32 noundef 92, i32 noundef 7) #2 %21 = load i32, ptr %16, align 4, !tbaa !15 %22 = tail call i32 @SiS_GetReg(i32 noundef %21, i32 noundef 92) #2 %23 = load i32, ptr %16, align 4, !tbaa !15 %24 = tail call i32 @SiS_SetRegOR(i32 noundef %23, i32 noundef 92, i32 noundef 248) #2 %25 = load i32, ptr %16, align 4, !tbaa !15 %26 = tail call i32 @SiS_GetReg(i32 noundef %25, i32 noundef 92) #2 %27 = and i32 %26, 248 %28 = and i32 %22, 248 %29 = icmp eq i32 %28, 0 %30 = icmp ne i32 %27, 0 %31 = select i1 %29, i1 true, i1 %30 br i1 %31, label %32, label %44 32: ; preds = %15 %33 = and i32 %18, 240 %34 = add nsw i32 %33, -128 %35 = lshr exact i32 %34, 4 switch i32 %35, label %72 [ i32 0, label %36 i32 1, label %36 i32 4, label %36 i32 2, label %40 i32 3, label %40 i32 6, label %40 ] 36: ; preds = %32, %32, %32 %37 = load i32, ptr @SF_IsM650, align 4, !tbaa !16 %38 = load i32, ptr %12, align 8, !tbaa !14 %39 = or i32 %38, %37 br label %70 40: ; preds = %32, %32, %32 %41 = load i32, ptr @SF_Is651, align 4, !tbaa !16 %42 = load i32, ptr %12, align 8, !tbaa !14 %43 = or i32 %42, %41 br label %70 44: ; preds = %15 %45 = trunc i32 %18 to i8 %46 = and i8 %45, -16 switch i8 %46, label %66 [ i8 -112, label %47 i8 -80, label %62 ] 47: ; preds = %44 %48 = load i32, ptr %16, align 4, !tbaa !15 %49 = tail call i32 @SiS_GetReg(i32 noundef %48, i32 noundef 92) #2 %50 = trunc i32 %49 to i8 %51 = and i8 %50, -8 %52 = load i32, ptr %12, align 8, !tbaa !14 switch i8 %51, label %59 [ i8 0, label %53 i8 64, label %56 ] 53: ; preds = %47 %54 = load i32, ptr @SF_IsM652, align 4, !tbaa !16 %55 = or i32 %52, %54 br label %70 56: ; preds = %47 %57 = load i32, ptr @SF_IsM653, align 4, !tbaa !16 %58 = or i32 %52, %57 br label %70 59: ; preds = %47 %60 = load i32, ptr @SF_IsM650, align 4, !tbaa !16 %61 = or i32 %52, %60 br label %70 62: ; preds = %44 %63 = load i32, ptr @SF_Is652, align 4, !tbaa !16 %64 = load i32, ptr %12, align 8, !tbaa !14 %65 = or i32 %64, %63 br label %70 66: ; preds = %44 %67 = load i32, ptr @SF_IsM650, align 4, !tbaa !16 %68 = load i32, ptr %12, align 8, !tbaa !14 %69 = or i32 %68, %67 br label %70 70: ; preds = %62, %66, %59, %56, %53, %36, %40 %71 = phi i32 [ %43, %40 ], [ %39, %36 ], [ %55, %53 ], [ %58, %56 ], [ %61, %59 ], [ %69, %66 ], [ %65, %62 ] store i32 %71, ptr %12, align 8, !tbaa !14 br label %72 72: ; preds = %70, %32, %11 %73 = load i64, ptr %3, align 8, !tbaa !12 %74 = load i64, ptr @SIS_760, align 8, !tbaa !13 %75 = icmp slt i64 %73, %74 %76 = load i64, ptr @SIS_761, align 8 %77 = icmp sgt i64 %73, %76 %78 = select i1 %75, i1 true, i1 %77 br i1 %78, label %98, label %79 79: ; preds = %72 %80 = getelementptr inbounds %struct.SiS_Private, ptr %0, i64 0, i32 4 %81 = load i32, ptr %80, align 4, !tbaa !15 %82 = tail call i32 @SiS_GetReg(i32 noundef %81, i32 noundef 120) #2 %83 = and i32 %82, 48 %84 = icmp eq i32 %83, 0 br i1 %84, label %89, label %85 85: ; preds = %79 %86 = load i32, ptr @SF_760LFB, align 4, !tbaa !16 %87 = load i32, ptr %12, align 8, !tbaa !14 %88 = or i32 %87, %86 store i32 %88, ptr %12, align 8, !tbaa !14 br label %89 89: ; preds = %85, %79 %90 = load i32, ptr %80, align 4, !tbaa !15 %91 = tail call i32 @SiS_GetReg(i32 noundef %90, i32 noundef 121) #2 %92 = and i32 %91, 240 %93 = icmp eq i32 %92, 0 br i1 %93, label %98, label %94 94: ; preds = %89 %95 = load i32, ptr @SF_760UMA, align 4, !tbaa !16 %96 = load i32, ptr %12, align 8, !tbaa !14 %97 = or i32 %96, %95 store i32 %97, ptr %12, align 8, !tbaa !14 br label %98 98: ; preds = %89, %94, %72 ret void } declare i32 @SiS_GetReg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SiS_SetRegAND(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SiS_SetRegOR(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"SiS_Private", !7, i64 0, !7, i64 4, !10, i64 8, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 4} !12 = !{!6, !10, i64 8} !13 = !{!10, !10, i64 0} !14 = !{!6, !7, i64 16} !15 = !{!6, !7, i64 20} !16 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiS_GetSysFlags.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/video/sis/extr_init.c_SiS_GetSysFlags.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SIS_330 = common local_unnamed_addr global i64 0, align 8 @SIS_661 = common local_unnamed_addr global i64 0, align 8 @SIS_650 = common local_unnamed_addr global i64 0, align 8 @SF_IsM650 = common local_unnamed_addr global i32 0, align 4 @SF_Is651 = common local_unnamed_addr global i32 0, align 4 @SF_IsM652 = common local_unnamed_addr global i32 0, align 4 @SF_IsM653 = common local_unnamed_addr global i32 0, align 4 @SF_Is652 = common local_unnamed_addr global i32 0, align 4 @SIS_760 = common local_unnamed_addr global i64 0, align 8 @SIS_761 = common local_unnamed_addr global i64 0, align 8 @SF_760LFB = common local_unnamed_addr global i32 0, align 4 @SF_760UMA = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @SiS_GetSysFlags], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @SiS_GetSysFlags(ptr nocapture noundef %0) #0 { store <2 x i32> <i32 0, i32 99>, ptr %0, align 8, !tbaa !6 %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load i64, ptr %2, align 8, !tbaa !10 %4 = load i64, ptr @SIS_330, align 8, !tbaa !13 %5 = icmp slt i64 %3, %4 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 4 store i32 83, ptr %7, align 4, !tbaa !14 %8 = load i64, ptr @SIS_661, align 8, !tbaa !13 %9 = icmp slt i64 %3, %8 br i1 %9, label %11, label %10 10: ; preds = %6 store i32 1, ptr %0, align 8, !tbaa !15 br label %11 11: ; preds = %6, %10, %1 %12 = getelementptr inbounds i8, ptr %0, i64 16 store i32 0, ptr %12, align 8, !tbaa !16 %13 = load i64, ptr @SIS_650, align 8, !tbaa !13 %14 = icmp eq i64 %3, %13 br i1 %14, label %15, label %72 15: ; preds = %11 %16 = getelementptr inbounds i8, ptr %0, i64 20 %17 = load i32, ptr %16, align 4, !tbaa !17 %18 = tail call i32 @SiS_GetReg(i32 noundef %17, i32 noundef 95) #2 %19 = load i32, ptr %16, align 4, !tbaa !17 %20 = tail call i32 @SiS_SetRegAND(i32 noundef %19, i32 noundef 92, i32 noundef 7) #2 %21 = load i32, ptr %16, align 4, !tbaa !17 %22 = tail call i32 @SiS_GetReg(i32 noundef %21, i32 noundef 92) #2 %23 = load i32, ptr %16, align 4, !tbaa !17 %24 = tail call i32 @SiS_SetRegOR(i32 noundef %23, i32 noundef 92, i32 noundef 248) #2 %25 = load i32, ptr %16, align 4, !tbaa !17 %26 = tail call i32 @SiS_GetReg(i32 noundef %25, i32 noundef 92) #2 %27 = and i32 %26, 248 %28 = and i32 %22, 248 %29 = icmp eq i32 %28, 0 %30 = icmp ne i32 %27, 0 %31 = select i1 %29, i1 true, i1 %30 br i1 %31, label %32, label %44 32: ; preds = %15 %33 = and i32 %18, 240 %34 = add nsw i32 %33, -128 %35 = lshr exact i32 %34, 4 switch i32 %35, label %72 [ i32 0, label %36 i32 1, label %36 i32 4, label %36 i32 2, label %40 i32 3, label %40 i32 6, label %40 ] 36: ; preds = %32, %32, %32 %37 = load i32, ptr @SF_IsM650, align 4, !tbaa !6 %38 = load i32, ptr %12, align 8, !tbaa !16 %39 = or i32 %38, %37 br label %70 40: ; preds = %32, %32, %32 %41 = load i32, ptr @SF_Is651, align 4, !tbaa !6 %42 = load i32, ptr %12, align 8, !tbaa !16 %43 = or i32 %42, %41 br label %70 44: ; preds = %15 %45 = trunc i32 %18 to i8 %46 = and i8 %45, -16 switch i8 %46, label %66 [ i8 -112, label %47 i8 -80, label %62 ] 47: ; preds = %44 %48 = load i32, ptr %16, align 4, !tbaa !17 %49 = tail call i32 @SiS_GetReg(i32 noundef %48, i32 noundef 92) #2 %50 = trunc i32 %49 to i8 %51 = and i8 %50, -8 %52 = load i32, ptr %12, align 8, !tbaa !16 switch i8 %51, label %59 [ i8 0, label %53 i8 64, label %56 ] 53: ; preds = %47 %54 = load i32, ptr @SF_IsM652, align 4, !tbaa !6 %55 = or i32 %52, %54 br label %70 56: ; preds = %47 %57 = load i32, ptr @SF_IsM653, align 4, !tbaa !6 %58 = or i32 %52, %57 br label %70 59: ; preds = %47 %60 = load i32, ptr @SF_IsM650, align 4, !tbaa !6 %61 = or i32 %52, %60 br label %70 62: ; preds = %44 %63 = load i32, ptr @SF_Is652, align 4, !tbaa !6 %64 = load i32, ptr %12, align 8, !tbaa !16 %65 = or i32 %64, %63 br label %70 66: ; preds = %44 %67 = load i32, ptr @SF_IsM650, align 4, !tbaa !6 %68 = load i32, ptr %12, align 8, !tbaa !16 %69 = or i32 %68, %67 br label %70 70: ; preds = %62, %66, %59, %56, %53, %36, %40 %71 = phi i32 [ %43, %40 ], [ %39, %36 ], [ %55, %53 ], [ %58, %56 ], [ %61, %59 ], [ %69, %66 ], [ %65, %62 ] store i32 %71, ptr %12, align 8, !tbaa !16 br label %72 72: ; preds = %70, %32, %11 %73 = load i64, ptr %2, align 8, !tbaa !10 %74 = load i64, ptr @SIS_760, align 8, !tbaa !13 %75 = icmp slt i64 %73, %74 %76 = load i64, ptr @SIS_761, align 8 %77 = icmp sgt i64 %73, %76 %78 = select i1 %75, i1 true, i1 %77 br i1 %78, label %98, label %79 79: ; preds = %72 %80 = getelementptr inbounds i8, ptr %0, i64 20 %81 = load i32, ptr %80, align 4, !tbaa !17 %82 = tail call i32 @SiS_GetReg(i32 noundef %81, i32 noundef 120) #2 %83 = and i32 %82, 48 %84 = icmp eq i32 %83, 0 br i1 %84, label %89, label %85 85: ; preds = %79 %86 = load i32, ptr @SF_760LFB, align 4, !tbaa !6 %87 = load i32, ptr %12, align 8, !tbaa !16 %88 = or i32 %87, %86 store i32 %88, ptr %12, align 8, !tbaa !16 br label %89 89: ; preds = %85, %79 %90 = load i32, ptr %80, align 4, !tbaa !17 %91 = tail call i32 @SiS_GetReg(i32 noundef %90, i32 noundef 121) #2 %92 = and i32 %91, 240 %93 = icmp eq i32 %92, 0 br i1 %93, label %98, label %94 94: ; preds = %89 %95 = load i32, ptr @SF_760UMA, align 4, !tbaa !6 %96 = load i32, ptr %12, align 8, !tbaa !16 %97 = or i32 %96, %95 store i32 %97, ptr %12, align 8, !tbaa !16 br label %98 98: ; preds = %89, %94, %72 ret void } declare i32 @SiS_GetReg(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SiS_SetRegAND(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @SiS_SetRegOR(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, !12, i64 8} !11 = !{!"SiS_Private", !7, i64 0, !7, i64 4, !12, i64 8, !7, i64 16, !7, i64 20} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!11, !7, i64 4} !15 = !{!11, !7, i64 0} !16 = !{!11, !7, i64 16} !17 = !{!11, !7, i64 20}
fastsocket_kernel_drivers_video_sis_extr_init.c_SiS_GetSysFlags
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_handler_p2p_flush.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_handler_p2p_flush.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.wpa_supplicant = type { ptr, i64, i32 } @ETH_ALEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local ptr @wpas_dbus_handler_p2p_flush(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !5 %4 = call i32 @wpa_dbus_p2p_check_enabled(ptr noundef %1, ptr noundef %0, ptr noundef nonnull %3, ptr noundef null) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !5 br label %21 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !9 %10 = getelementptr inbounds %struct.TYPE_2__, ptr %9, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = call i32 @wpas_p2p_stop_find(ptr noundef %11) #3 %13 = getelementptr inbounds %struct.wpa_supplicant, ptr %11, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = load i32, ptr @ETH_ALEN, align 4, !tbaa !16 %16 = call i32 @os_memset(i32 noundef %14, i32 noundef 0, i32 noundef %15) #3 %17 = getelementptr inbounds %struct.wpa_supplicant, ptr %11, i64 0, i32 1 store i64 0, ptr %17, align 8, !tbaa !17 %18 = load ptr, ptr %11, align 8, !tbaa !9 %19 = load i32, ptr %18, align 8, !tbaa !18 %20 = call i32 @p2p_flush(i32 noundef %19) #3 br label %21 21: ; preds = %8, %6 %22 = phi ptr [ null, %8 ], [ %7, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wpa_dbus_p2p_check_enabled(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpas_p2p_stop_find(ptr noundef) local_unnamed_addr #2 declare i32 @os_memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @p2p_flush(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"wpa_supplicant", !6, i64 0, !11, i64 8, !12, i64 16} !11 = !{!"long", !7, i64 0} !12 = !{!"int", !7, i64 0} !13 = !{!14, !6, i64 8} !14 = !{!"TYPE_2__", !12, i64 0, !6, i64 8} !15 = !{!10, !12, i64 16} !16 = !{!12, !12, i64 0} !17 = !{!10, !11, i64 8} !18 = !{!14, !12, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_handler_p2p_flush.c' source_filename = "AnghaBench/freebsd/contrib/wpa/wpa_supplicant/dbus/extr_dbus_new_handlers_p2p.c_wpas_dbus_handler_p2p_flush.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ETH_ALEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @wpas_dbus_handler_p2p_flush(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %3, align 8, !tbaa !6 %4 = call i32 @wpa_dbus_p2p_check_enabled(ptr noundef %1, ptr noundef %0, ptr noundef nonnull %3, ptr noundef null) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = load ptr, ptr %3, align 8, !tbaa !6 br label %21 8: ; preds = %2 %9 = load ptr, ptr %1, align 8, !tbaa !10 %10 = getelementptr inbounds i8, ptr %9, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !14 %12 = call i32 @wpas_p2p_stop_find(ptr noundef %11) #3 %13 = getelementptr inbounds i8, ptr %11, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !16 %15 = load i32, ptr @ETH_ALEN, align 4, !tbaa !17 %16 = call i32 @os_memset(i32 noundef %14, i32 noundef 0, i32 noundef %15) #3 %17 = getelementptr inbounds i8, ptr %11, i64 8 store i64 0, ptr %17, align 8, !tbaa !18 %18 = load ptr, ptr %11, align 8, !tbaa !10 %19 = load i32, ptr %18, align 8, !tbaa !19 %20 = call i32 @p2p_flush(i32 noundef %19) #3 br label %21 21: ; preds = %8, %6 %22 = phi ptr [ null, %8 ], [ %7, %6 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret ptr %22 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wpa_dbus_p2p_check_enabled(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @wpas_p2p_stop_find(ptr noundef) local_unnamed_addr #2 declare i32 @os_memset(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @p2p_flush(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"wpa_supplicant", !7, i64 0, !12, i64 8, !13, i64 16} !12 = !{!"long", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !7, i64 8} !15 = !{!"TYPE_2__", !13, i64 0, !7, i64 8} !16 = !{!11, !13, i64 16} !17 = !{!13, !13, i64 0} !18 = !{!11, !12, i64 8} !19 = !{!15, !13, i64 0}
freebsd_contrib_wpa_wpa_supplicant_dbus_extr_dbus_new_handlers_p2p.c_wpas_dbus_handler_p2p_flush
; ModuleID = 'AnghaBench/postgres/src/backend/storage/file/extr_fd.c_pg_flush_data.c' source_filename = "AnghaBench/postgres/src/backend/storage/file/extr_fd.c_pg_flush_data.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @enableFsync = dso_local local_unnamed_addr global i32 0, align 4 @ENOSYS = dso_local local_unnamed_addr global i64 0, align 8 @FATAL = dso_local local_unnamed_addr global i32 0, align 4 @MAP_FAILED = dso_local local_unnamed_addr global ptr null, align 8 @MAP_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @MS_ASYNC = dso_local local_unnamed_addr global i32 0, align 4 @POSIX_FADV_DONTNEED = dso_local local_unnamed_addr global i32 0, align 4 @PROT_READ = dso_local local_unnamed_addr global i32 0, align 4 @SEEK_END = dso_local local_unnamed_addr global i32 0, align 4 @SSIZE_MAX = dso_local local_unnamed_addr global i64 0, align 8 @SYNC_FILE_RANGE_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @WARNING = dso_local local_unnamed_addr global i32 0, align 4 @_SC_PAGESIZE = dso_local local_unnamed_addr global i32 0, align 4 @errno = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define dso_local void @pg_flush_data(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/postgres/src/backend/storage/file/extr_fd.c_pg_flush_data.c' source_filename = "AnghaBench/postgres/src/backend/storage/file/extr_fd.c_pg_flush_data.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @enableFsync = common local_unnamed_addr global i32 0, align 4 @ENOSYS = common local_unnamed_addr global i64 0, align 8 @FATAL = common local_unnamed_addr global i32 0, align 4 @MAP_FAILED = common local_unnamed_addr global ptr null, align 8 @MAP_SHARED = common local_unnamed_addr global i32 0, align 4 @MS_ASYNC = common local_unnamed_addr global i32 0, align 4 @POSIX_FADV_DONTNEED = common local_unnamed_addr global i32 0, align 4 @PROT_READ = common local_unnamed_addr global i32 0, align 4 @SEEK_END = common local_unnamed_addr global i32 0, align 4 @SSIZE_MAX = common local_unnamed_addr global i64 0, align 8 @SYNC_FILE_RANGE_WRITE = common local_unnamed_addr global i32 0, align 4 @WARNING = common local_unnamed_addr global i32 0, align 4 @_SC_PAGESIZE = common local_unnamed_addr global i32 0, align 4 @errno = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define void @pg_flush_data(i32 noundef %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #0 { ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
postgres_src_backend_storage_file_extr_fd.c_pg_flush_data
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet_same_set.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet_same_set.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ip_set_hash = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @hash_ipportnet_same_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, inaccessiblemem: none) uwtable define internal i32 @hash_ipportnet_same_set(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = load i64, ptr %3, align 8, !tbaa !10 %6 = load i64, ptr %4, align 8, !tbaa !10 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = getelementptr inbounds %struct.ip_set_hash, ptr %3, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = getelementptr inbounds %struct.ip_set_hash, ptr %4, i64 0, i32 1 %12 = load i64, ptr %11, align 8, !tbaa !13 %13 = icmp eq i64 %10, %12 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %8, %2 %16 = phi i32 [ 0, %2 ], [ %14, %8 ] ret i32 %16 } 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 = !{!"ip_set", !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 = !{!"ip_set_hash", !12, i64 0, !12, i64 8} !12 = !{!"long", !8, i64 0} !13 = !{!11, !12, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet_same_set.c' source_filename = "AnghaBench/fastsocket/kernel/net/netfilter/ipset/extr_ip_set_hash_ipportnet.c_hash_ipportnet_same_set.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @hash_ipportnet_same_set], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, inaccessiblemem: none) uwtable(sync) define internal range(i32 0, 2) i32 @hash_ipportnet_same_set(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = load i64, ptr %3, align 8, !tbaa !11 %6 = load i64, ptr %4, align 8, !tbaa !11 %7 = icmp eq i64 %5, %6 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %3, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !14 %11 = getelementptr inbounds i8, ptr %4, i64 8 %12 = load i64, ptr %11, align 8, !tbaa !14 %13 = icmp eq i64 %10, %12 %14 = zext i1 %13 to i32 br label %15 15: ; preds = %8, %2 %16 = phi i32 [ 0, %2 ], [ %14, %8 ] ret i32 %16 } 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 = !{!"ip_set", !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 = !{!"ip_set_hash", !13, i64 0, !13, i64 8} !13 = !{!"long", !9, i64 0} !14 = !{!12, !13, i64 8}
fastsocket_kernel_net_netfilter_ipset_extr_ip_set_hash_ipportnet.c_hash_ipportnet_same_set
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp2_init.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp2_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.wm_adsp = type { i32, i32, ptr, i64, i32 } @ADSP2_CONTROL = dso_local local_unnamed_addr global i64 0, align 8 @ADSP2_MEM_ENA = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"Failed to clear memory retention: %d\0A\00", align 1 @wm_adsp2_ops = dso_local local_unnamed_addr global ptr null, align 8 @wm_adsp_boot_work = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @wm_adsp2_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @wm_adsp_common_init(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %32 4: ; preds = %1 %5 = load i32, ptr %0, align 8, !tbaa !5 switch i32 %5, label %23 [ i32 0, label %6 i32 1, label %20 ] 6: ; preds = %4 %7 = getelementptr inbounds %struct.wm_adsp, ptr %0, i64 0, i32 4 %8 = load i32, ptr %7, align 8, !tbaa !12 %9 = getelementptr inbounds %struct.wm_adsp, ptr %0, i64 0, i32 3 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = load i64, ptr @ADSP2_CONTROL, align 8, !tbaa !14 %12 = add nsw i64 %11, %10 %13 = load i32, ptr @ADSP2_MEM_ENA, align 4, !tbaa !15 %14 = tail call i32 @regmap_update_bits(i32 noundef %8, i64 noundef %12, i32 noundef %13, i32 noundef 0) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %6 %17 = tail call i32 @adsp_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %14) #2 br label %32 18: ; preds = %6 %19 = load ptr, ptr @wm_adsp2_ops, align 8, !tbaa !16 br label %26 20: ; preds = %4 %21 = load ptr, ptr @wm_adsp2_ops, align 8, !tbaa !16 %22 = getelementptr inbounds i32, ptr %21, i64 1 br label %26 23: ; preds = %4 %24 = load ptr, ptr @wm_adsp2_ops, align 8, !tbaa !16 %25 = getelementptr inbounds i32, ptr %24, i64 2 br label %26 26: ; preds = %23, %20, %18 %27 = phi ptr [ %25, %23 ], [ %22, %20 ], [ %19, %18 ] %28 = getelementptr inbounds %struct.wm_adsp, ptr %0, i64 0, i32 2 store ptr %27, ptr %28, align 8, !tbaa !17 %29 = getelementptr inbounds %struct.wm_adsp, ptr %0, i64 0, i32 1 %30 = load i32, ptr @wm_adsp_boot_work, align 4, !tbaa !15 %31 = tail call i32 @INIT_WORK(ptr noundef nonnull %29, i32 noundef %30) #2 br label %32 32: ; preds = %1, %26, %16 %33 = phi i32 [ 0, %26 ], [ %14, %16 ], [ %2, %1 ] ret i32 %33 } declare i32 @wm_adsp_common_init(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @adsp_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(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 = !{!"wm_adsp", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16, !7, i64 24} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 24} !13 = !{!6, !11, i64 16} !14 = !{!11, !11, i64 0} !15 = !{!7, !7, i64 0} !16 = !{!10, !10, i64 0} !17 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp2_init.c' source_filename = "AnghaBench/linux/sound/soc/codecs/extr_wm_adsp.c_wm_adsp2_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ADSP2_CONTROL = common local_unnamed_addr global i64 0, align 8 @ADSP2_MEM_ENA = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [38 x i8] c"Failed to clear memory retention: %d\0A\00", align 1 @wm_adsp2_ops = common local_unnamed_addr global ptr null, align 8 @wm_adsp_boot_work = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @wm_adsp2_init(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i32 @wm_adsp_common_init(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %4, label %32 4: ; preds = %1 %5 = load i32, ptr %0, align 8, !tbaa !6 switch i32 %5, label %23 [ i32 0, label %6 i32 1, label %20 ] 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %0, i64 24 %8 = load i32, ptr %7, align 8, !tbaa !13 %9 = getelementptr inbounds i8, ptr %0, i64 16 %10 = load i64, ptr %9, align 8, !tbaa !14 %11 = load i64, ptr @ADSP2_CONTROL, align 8, !tbaa !15 %12 = add nsw i64 %11, %10 %13 = load i32, ptr @ADSP2_MEM_ENA, align 4, !tbaa !16 %14 = tail call i32 @regmap_update_bits(i32 noundef %8, i64 noundef %12, i32 noundef %13, i32 noundef 0) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %6 %17 = tail call i32 @adsp_err(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %14) #2 br label %32 18: ; preds = %6 %19 = load ptr, ptr @wm_adsp2_ops, align 8, !tbaa !17 br label %26 20: ; preds = %4 %21 = load ptr, ptr @wm_adsp2_ops, align 8, !tbaa !17 %22 = getelementptr inbounds i8, ptr %21, i64 4 br label %26 23: ; preds = %4 %24 = load ptr, ptr @wm_adsp2_ops, align 8, !tbaa !17 %25 = getelementptr inbounds i8, ptr %24, i64 8 br label %26 26: ; preds = %23, %20, %18 %27 = phi ptr [ %25, %23 ], [ %22, %20 ], [ %19, %18 ] %28 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %27, ptr %28, align 8, !tbaa !18 %29 = getelementptr inbounds i8, ptr %0, i64 4 %30 = load i32, ptr @wm_adsp_boot_work, align 4, !tbaa !16 %31 = tail call i32 @INIT_WORK(ptr noundef nonnull %29, i32 noundef %30) #2 br label %32 32: ; preds = %1, %26, %16 %33 = phi i32 [ 0, %26 ], [ %14, %16 ], [ %2, %1 ] ret i32 %33 } declare i32 @wm_adsp_common_init(ptr noundef) local_unnamed_addr #1 declare i32 @regmap_update_bits(i32 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @adsp_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @INIT_WORK(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 = !{!"wm_adsp", !8, i64 0, !8, i64 4, !11, i64 8, !12, i64 16, !8, i64 24} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 24} !14 = !{!7, !12, i64 16} !15 = !{!12, !12, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!11, !11, i64 0} !18 = !{!7, !11, i64 8}
linux_sound_soc_codecs_extr_wm_adsp.c_wm_adsp2_init
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_vpandn.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_vpandn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @__const.vpandn.insn = private unnamed_addr constant [5 x i32] [i32 196, i32 65, i32 41, i32 223, i32 209], align 16 @ptem_64bit = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vpandn], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @vpandn() #0 { %1 = alloca [5 x i32], align 16 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %1, ptr noundef nonnull align 16 dereferenceable(20) @__const.vpandn.insn, i64 20, i1 false) %2 = load i32, ptr @ptem_64bit, align 4, !tbaa !5 %3 = call i32 @ptu_decode_s(ptr noundef nonnull %1, i32 noundef %2) #4 %4 = call i32 (...) @ptu_passed() #4 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %1) #4 ret i32 %4 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @ptu_decode_s(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ptu_passed(...) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_vpandn.c' source_filename = "AnghaBench/freebsd/contrib/processor-trace/libipt/test/src/extr_ptunit-ild.c_vpandn.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @__const.vpandn.insn = private unnamed_addr constant [5 x i32] [i32 196, i32 65, i32 41, i32 223, i32 209], align 4 @ptem_64bit = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vpandn], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @vpandn() #0 { %1 = alloca [5 x i32], align 4 call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %1, ptr noundef nonnull align 4 dereferenceable(20) @__const.vpandn.insn, i64 20, i1 false) %2 = load i32, ptr @ptem_64bit, align 4, !tbaa !6 %3 = call i32 @ptu_decode_s(ptr noundef nonnull %1, i32 noundef %2) #4 %4 = call i32 @ptu_passed() #4 call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %1) #4 ret i32 %4 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare i32 @ptu_decode_s(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ptu_passed(...) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_processor-trace_libipt_test_src_extr_ptunit-ild.c_vpandn
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/platforms/512x/extr_clock.c_mpc5121_clk_set_rate.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/512x/extr_clock.c_mpc5121_clk_set_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @mpc5121_clk_set_rate], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @mpc5121_clk_set_rate(ptr nocapture readnone %0, i64 %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/fastsocket/kernel/arch/powerpc/platforms/512x/extr_clock.c_mpc5121_clk_set_rate.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/platforms/512x/extr_clock.c_mpc5121_clk_set_rate.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 @mpc5121_clk_set_rate], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @mpc5121_clk_set_rate(ptr nocapture readnone %0, i64 %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)"}
fastsocket_kernel_arch_powerpc_platforms_512x_extr_clock.c_mpc5121_clk_set_rate
; ModuleID = 'AnghaBench/xLua/build/luasocket/extr_unix.c_meth_close.c' source_filename = "AnghaBench/xLua/build/luasocket/extr_unix.c_meth_close.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [10 x i8] c"unix{any}\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @meth_close], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @meth_close(ptr noundef %0) #0 { %2 = tail call i32 @auxiliar_checkgroup(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2 %3 = sext i32 %2 to i64 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @socket_destroy(ptr noundef %4) #2 %6 = tail call i32 @lua_pushnumber(ptr noundef %0, i32 noundef 1) #2 ret i32 1 } declare i32 @auxiliar_checkgroup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @socket_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushnumber(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/xLua/build/luasocket/extr_unix.c_meth_close.c' source_filename = "AnghaBench/xLua/build/luasocket/extr_unix.c_meth_close.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [10 x i8] c"unix{any}\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @meth_close], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @meth_close(ptr noundef %0) #0 { %2 = tail call i32 @auxiliar_checkgroup(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef 1) #2 %3 = sext i32 %2 to i64 %4 = inttoptr i64 %3 to ptr %5 = tail call i32 @socket_destroy(ptr noundef %4) #2 %6 = tail call i32 @lua_pushnumber(ptr noundef %0, i32 noundef 1) #2 ret i32 1 } declare i32 @auxiliar_checkgroup(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @socket_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushnumber(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)"}
xLua_build_luasocket_extr_unix.c_meth_close
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_svnrdump.c_dump_initial_full_revision.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_svnrdump.c_dump_initial_full_revision.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } @check_cancel = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @svn_depth_infinity = dso_local local_unnamed_addr global i32 0, align 4 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"* Dumped revision %lu.\0A\00", align 1 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @dump_initial_full_revision], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @dump_initial_full_revision(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3 %13 = call i32 @svn_ra_get_session_url(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %5) #3 %14 = call i32 @SVN_ERR(i32 noundef %13) #3 %15 = load ptr, ptr %11, align 8, !tbaa !5 %16 = call i32 @svn_ra_get_path_relative_to_root(ptr noundef %0, ptr noundef nonnull %12, ptr noundef %15, ptr noundef %5) #3 %17 = call i32 @SVN_ERR(i32 noundef %16) #3 %18 = call i32 @dump_revision_header(ptr noundef %0, ptr noundef %2, i32 noundef %3, ptr noundef %5) #3 %19 = call i32 @SVN_ERR(i32 noundef %18) #3 %20 = load ptr, ptr %12, align 8, !tbaa !5 %21 = load i32, ptr @check_cancel, align 4, !tbaa !9 %22 = call i32 @svn_rdump__get_dump_editor(ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef %3, ptr noundef %2, ptr noundef %1, ptr noundef %20, i32 noundef %21, ptr noundef null, ptr noundef %5) #3 %23 = call i32 @SVN_ERR(i32 noundef %22) #3 %24 = load i32, ptr @svn_depth_infinity, align 4, !tbaa !9 %25 = load i32, ptr @FALSE, align 4, !tbaa !9 %26 = load ptr, ptr %9, align 8, !tbaa !5 %27 = load ptr, ptr %10, align 8, !tbaa !5 %28 = call i32 @svn_ra_do_update3(ptr noundef %0, ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %25, i32 noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %5, ptr noundef %5) #3 %29 = call i32 @SVN_ERR(i32 noundef %28) #3 %30 = load ptr, ptr %7, align 8, !tbaa !5 %31 = getelementptr inbounds %struct.TYPE_3__, ptr %30, i64 0, i32 1 %32 = load ptr, ptr %31, align 8, !tbaa !11 %33 = load ptr, ptr %8, align 8, !tbaa !5 %34 = load i32, ptr @svn_depth_infinity, align 4, !tbaa !9 %35 = load i32, ptr @TRUE, align 4, !tbaa !9 %36 = call i32 %32(ptr noundef %33, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %34, i32 noundef %35, ptr noundef null, ptr noundef %5) #3 %37 = call i32 @SVN_ERR(i32 noundef %36) #3 %38 = load ptr, ptr %7, align 8, !tbaa !5 %39 = load ptr, ptr %38, align 8, !tbaa !13 %40 = load ptr, ptr %8, align 8, !tbaa !5 %41 = call i32 %39(ptr noundef %40, ptr noundef %5) #3 %42 = call i32 @SVN_ERR(i32 noundef %41) #3 %43 = icmp eq i32 %4, 0 br i1 %43, label %44, label %48 44: ; preds = %6 %45 = load i32, ptr @stderr, align 4, !tbaa !9 %46 = call i32 @svn_cmdline_fprintf(i32 noundef %45, ptr noundef %5, ptr noundef nonnull @.str.1, i32 noundef %3) #3 %47 = call i32 @SVN_ERR(i32 noundef %46) #3 br label %48 48: ; preds = %44, %6 %49 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret ptr %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_ra_get_session_url(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_ra_get_path_relative_to_root(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dump_revision_header(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_rdump__get_dump_editor(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_ra_do_update3(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_cmdline_fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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, !6, i64 8} !12 = !{!"TYPE_3__", !6, i64 0, !6, i64 8} !13 = !{!12, !6, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_svnrdump.c_dump_initial_full_revision.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/svnrdump/extr_svnrdump.c_dump_initial_full_revision.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @check_cancel = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @svn_depth_infinity = common local_unnamed_addr global i32 0, align 4 @FALSE = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [24 x i8] c"* Dumped revision %lu.\0A\00", align 1 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @dump_initial_full_revision], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @dump_initial_full_revision(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #3 %13 = call i32 @svn_ra_get_session_url(ptr noundef %0, ptr noundef nonnull %11, ptr noundef %5) #3 %14 = call i32 @SVN_ERR(i32 noundef %13) #3 %15 = load ptr, ptr %11, align 8, !tbaa !6 %16 = call i32 @svn_ra_get_path_relative_to_root(ptr noundef %0, ptr noundef nonnull %12, ptr noundef %15, ptr noundef %5) #3 %17 = call i32 @SVN_ERR(i32 noundef %16) #3 %18 = call i32 @dump_revision_header(ptr noundef %0, ptr noundef %2, i32 noundef %3, ptr noundef %5) #3 %19 = call i32 @SVN_ERR(i32 noundef %18) #3 %20 = load ptr, ptr %12, align 8, !tbaa !6 %21 = load i32, ptr @check_cancel, align 4, !tbaa !10 %22 = call i32 @svn_rdump__get_dump_editor(ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef %3, ptr noundef %2, ptr noundef %1, ptr noundef %20, i32 noundef %21, ptr noundef null, ptr noundef %5) #3 %23 = call i32 @SVN_ERR(i32 noundef %22) #3 %24 = load i32, ptr @svn_depth_infinity, align 4, !tbaa !10 %25 = load i32, ptr @FALSE, align 4, !tbaa !10 %26 = load ptr, ptr %9, align 8, !tbaa !6 %27 = load ptr, ptr %10, align 8, !tbaa !6 %28 = call i32 @svn_ra_do_update3(ptr noundef %0, ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef %3, ptr noundef nonnull @.str, i32 noundef %24, i32 noundef %25, i32 noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef %5, ptr noundef %5) #3 %29 = call i32 @SVN_ERR(i32 noundef %28) #3 %30 = load ptr, ptr %7, align 8, !tbaa !6 %31 = getelementptr inbounds i8, ptr %30, i64 8 %32 = load ptr, ptr %31, align 8, !tbaa !12 %33 = load ptr, ptr %8, align 8, !tbaa !6 %34 = load i32, ptr @svn_depth_infinity, align 4, !tbaa !10 %35 = load i32, ptr @TRUE, align 4, !tbaa !10 %36 = call i32 %32(ptr noundef %33, ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %34, i32 noundef %35, ptr noundef null, ptr noundef %5) #3 %37 = call i32 @SVN_ERR(i32 noundef %36) #3 %38 = load ptr, ptr %7, align 8, !tbaa !6 %39 = load ptr, ptr %38, align 8, !tbaa !14 %40 = load ptr, ptr %8, align 8, !tbaa !6 %41 = call i32 %39(ptr noundef %40, ptr noundef %5) #3 %42 = call i32 @SVN_ERR(i32 noundef %41) #3 %43 = icmp eq i32 %4, 0 br i1 %43, label %44, label %48 44: ; preds = %6 %45 = load i32, ptr @stderr, align 4, !tbaa !10 %46 = call i32 @svn_cmdline_fprintf(i32 noundef %45, ptr noundef %5, ptr noundef nonnull @.str.1, i32 noundef %3) #3 %47 = call i32 @SVN_ERR(i32 noundef %46) #3 br label %48 48: ; preds = %44, %6 %49 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !6 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3 ret ptr %49 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_ra_get_session_url(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_ra_get_path_relative_to_root(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @dump_revision_header(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_rdump__get_dump_editor(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_ra_do_update3(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_cmdline_fprintf(i32 noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !7, i64 8} !13 = !{!"TYPE_3__", !7, i64 0, !7, i64 8} !14 = !{!13, !7, i64 0}
freebsd_contrib_subversion_subversion_svnrdump_extr_svnrdump.c_dump_initial_full_revision
; ModuleID = 'AnghaBench/kphp-kdb/vv/extr_vv-tl-aio.c_tl_create_aio_query.c' source_filename = "AnghaBench/kphp-kdb/vv/extr_vv-tl-aio.c_tl_create_aio_query.c" target datalayout = "e-m:e-p270:32:32-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.conn_query = type { i64, %struct.TYPE_2__, ptr, ptr, ptr, ptr, i64 } %struct.TYPE_2__ = type { i64 } %struct.aio_connection = type { i32, ptr } %struct.connection = type { i32, i32 } @verbosity = dso_local local_unnamed_addr global i32 0, align 4 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"create_query(%p[%d], %p[%d]): Q=%p\0A\00", align 1 @CLOCK_MONOTONIC = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"!NOTICE! inserting second query to %p\0A\00", align 1 @active_aio_queries = dso_local local_unnamed_addr global i32 0, align 4 @tot_aio_queries = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"after insert_conn_query()\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @tl_create_aio_query(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call ptr @zmalloc(i32 noundef 56) #2 %7 = load i32, ptr @verbosity, align 4, !tbaa !5 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = load i32, ptr @stderr, align 4, !tbaa !5 %11 = load i32, ptr %0, align 8, !tbaa !9 %12 = load i32, ptr %1, align 4, !tbaa !12 %13 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull %1, i32 noundef %12, ptr noundef %6) #2 br label %14 14: ; preds = %9, %5 %15 = getelementptr inbounds %struct.conn_query, ptr %6, i64 0, i32 6 store i64 0, ptr %15, align 8, !tbaa !14 %16 = getelementptr inbounds %struct.conn_query, ptr %6, i64 0, i32 5 store ptr %0, ptr %16, align 8, !tbaa !18 %17 = getelementptr inbounds %struct.conn_query, ptr %6, i64 0, i32 4 store ptr %1, ptr %17, align 8, !tbaa !19 %18 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !5 %19 = tail call i64 @get_utime(i32 noundef %18) #2 store i64 %19, ptr %6, align 8, !tbaa !20 %20 = getelementptr inbounds %struct.conn_query, ptr %6, i64 0, i32 3 store ptr %4, ptr %20, align 8, !tbaa !21 %21 = getelementptr inbounds %struct.conn_query, ptr %6, i64 0, i32 2 store ptr %3, ptr %21, align 8, !tbaa !22 %22 = fcmp ogt double %2, 0.000000e+00 %23 = sitofp i64 %19 to double %24 = fadd double %23, %2 %25 = fptosi double %24 to i64 %26 = select i1 %22, i64 %25, i64 0 %27 = getelementptr inbounds %struct.conn_query, ptr %6, i64 0, i32 1 store i64 %26, ptr %27, align 8, !tbaa !23 %28 = load i32, ptr @verbosity, align 4, !tbaa !5 %29 = icmp sgt i32 %28, 1 br i1 %29, label %30, label %37 30: ; preds = %14 %31 = getelementptr inbounds %struct.aio_connection, ptr %0, i64 0, i32 1 %32 = load ptr, ptr %31, align 8, !tbaa !24 %33 = icmp eq ptr %32, %0 br i1 %33, label %37, label %34 34: ; preds = %30 %35 = load i32, ptr @stderr, align 4, !tbaa !5 %36 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %37 37: ; preds = %34, %30, %14 %38 = tail call i32 @insert_conn_query(ptr noundef nonnull %6) #2 %39 = getelementptr inbounds %struct.connection, ptr %1, i64 0, i32 1 %40 = load i32, ptr %39, align 4, !tbaa !25 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !25 %42 = load i32, ptr @active_aio_queries, align 4, !tbaa !5 %43 = add nsw i32 %42, 1 store i32 %43, ptr @active_aio_queries, align 4, !tbaa !5 %44 = load i32, ptr @tot_aio_queries, align 4, !tbaa !5 %45 = add nsw i32 %44, 1 store i32 %45, ptr @tot_aio_queries, align 4, !tbaa !5 %46 = load i32, ptr @verbosity, align 4, !tbaa !5 %47 = icmp sgt i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %37 %49 = load i32, ptr @stderr, align 4, !tbaa !5 %50 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef nonnull @.str.2) #2 br label %51 51: ; preds = %48, %37 ret i32 1 } declare ptr @zmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @get_utime(i32 noundef) local_unnamed_addr #1 declare i32 @insert_conn_query(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 = !{!"aio_connection", !6, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !6, i64 0} !13 = !{!"connection", !6, i64 0, !6, i64 4} !14 = !{!15, !16, i64 48} !15 = !{!"conn_query", !16, i64 0, !17, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !16, i64 48} !16 = !{!"long", !7, i64 0} !17 = !{!"TYPE_2__", !16, i64 0} !18 = !{!15, !11, i64 40} !19 = !{!15, !11, i64 32} !20 = !{!15, !16, i64 0} !21 = !{!15, !11, i64 24} !22 = !{!15, !11, i64 16} !23 = !{!15, !16, i64 8} !24 = !{!10, !11, i64 8} !25 = !{!13, !6, i64 4}
; ModuleID = 'AnghaBench/kphp-kdb/vv/extr_vv-tl-aio.c_tl_create_aio_query.c' source_filename = "AnghaBench/kphp-kdb/vv/extr_vv-tl-aio.c_tl_create_aio_query.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @verbosity = common local_unnamed_addr global i32 0, align 4 @stderr = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"create_query(%p[%d], %p[%d]): Q=%p\0A\00", align 1 @CLOCK_MONOTONIC = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [39 x i8] c"!NOTICE! inserting second query to %p\0A\00", align 1 @active_aio_queries = common local_unnamed_addr global i32 0, align 4 @tot_aio_queries = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [27 x i8] c"after insert_conn_query()\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @tl_create_aio_query(ptr noundef %0, ptr noundef %1, double noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 { %6 = tail call ptr @zmalloc(i32 noundef 56) #2 %7 = load i32, ptr @verbosity, align 4, !tbaa !6 %8 = icmp sgt i32 %7, 1 br i1 %8, label %9, label %14 9: ; preds = %5 %10 = load i32, ptr @stderr, align 4, !tbaa !6 %11 = load i32, ptr %0, align 8, !tbaa !10 %12 = load i32, ptr %1, align 4, !tbaa !13 %13 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull %0, i32 noundef %11, ptr noundef nonnull %1, i32 noundef %12, ptr noundef %6) #2 br label %14 14: ; preds = %9, %5 %15 = getelementptr inbounds i8, ptr %6, i64 48 store i64 0, ptr %15, align 8, !tbaa !15 %16 = getelementptr inbounds i8, ptr %6, i64 40 store ptr %0, ptr %16, align 8, !tbaa !19 %17 = getelementptr inbounds i8, ptr %6, i64 32 store ptr %1, ptr %17, align 8, !tbaa !20 %18 = load i32, ptr @CLOCK_MONOTONIC, align 4, !tbaa !6 %19 = tail call i64 @get_utime(i32 noundef %18) #2 store i64 %19, ptr %6, align 8, !tbaa !21 %20 = getelementptr inbounds i8, ptr %6, i64 24 store ptr %4, ptr %20, align 8, !tbaa !22 %21 = getelementptr inbounds i8, ptr %6, i64 16 store ptr %3, ptr %21, align 8, !tbaa !23 %22 = fcmp ogt double %2, 0.000000e+00 %23 = sitofp i64 %19 to double %24 = fadd double %23, %2 %25 = fptosi double %24 to i64 %26 = select i1 %22, i64 %25, i64 0 %27 = getelementptr inbounds i8, ptr %6, i64 8 store i64 %26, ptr %27, align 8, !tbaa !24 %28 = load i32, ptr @verbosity, align 4, !tbaa !6 %29 = icmp sgt i32 %28, 1 br i1 %29, label %30, label %37 30: ; preds = %14 %31 = getelementptr inbounds i8, ptr %0, i64 8 %32 = load ptr, ptr %31, align 8, !tbaa !25 %33 = icmp eq ptr %32, %0 br i1 %33, label %37, label %34 34: ; preds = %30 %35 = load i32, ptr @stderr, align 4, !tbaa !6 %36 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %35, ptr noundef nonnull @.str.1, ptr noundef nonnull %0) #2 br label %37 37: ; preds = %34, %30, %14 %38 = tail call i32 @insert_conn_query(ptr noundef nonnull %6) #2 %39 = getelementptr inbounds i8, ptr %1, i64 4 %40 = load i32, ptr %39, align 4, !tbaa !26 %41 = add nsw i32 %40, 1 store i32 %41, ptr %39, align 4, !tbaa !26 %42 = load i32, ptr @active_aio_queries, align 4, !tbaa !6 %43 = add nsw i32 %42, 1 store i32 %43, ptr @active_aio_queries, align 4, !tbaa !6 %44 = load i32, ptr @tot_aio_queries, align 4, !tbaa !6 %45 = add nsw i32 %44, 1 store i32 %45, ptr @tot_aio_queries, align 4, !tbaa !6 %46 = load i32, ptr @verbosity, align 4, !tbaa !6 %47 = icmp sgt i32 %46, 1 br i1 %47, label %48, label %51 48: ; preds = %37 %49 = load i32, ptr @stderr, align 4, !tbaa !6 %50 = tail call i32 (i32, ptr, ...) @fprintf(i32 noundef %49, ptr noundef nonnull @.str.2) #2 br label %51 51: ; preds = %48, %37 ret i32 1 } declare ptr @zmalloc(i32 noundef) local_unnamed_addr #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i64 @get_utime(i32 noundef) local_unnamed_addr #1 declare i32 @insert_conn_query(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 = !{!"aio_connection", !7, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"connection", !7, i64 0, !7, i64 4} !15 = !{!16, !17, i64 48} !16 = !{!"conn_query", !17, i64 0, !18, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !17, i64 48} !17 = !{!"long", !8, i64 0} !18 = !{!"TYPE_2__", !17, i64 0} !19 = !{!16, !12, i64 40} !20 = !{!16, !12, i64 32} !21 = !{!16, !17, i64 0} !22 = !{!16, !12, i64 24} !23 = !{!16, !12, i64 16} !24 = !{!16, !17, i64 8} !25 = !{!11, !12, i64 8} !26 = !{!14, !7, i64 4}
kphp-kdb_vv_extr_vv-tl-aio.c_tl_create_aio_query
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_voltage.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_voltage.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @PAGE_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ltc4245_show_voltage], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ltc4245_show_voltage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = tail call i32 @ltc4245_get_voltage(ptr noundef %0, i32 noundef %5) #2 %7 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !10 %8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %8 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare i32 @ltc4245_get_voltage(ptr noundef, i32 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)"} !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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_voltage.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/hwmon/extr_ltc4245.c_ltc4245_show_voltage.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ltc4245_show_voltage], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ltc4245_show_voltage(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @to_sensor_dev_attr(ptr noundef %1) #2 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = tail call i32 @ltc4245_get_voltage(ptr noundef %0, i32 noundef %5) #2 %7 = load i32, ptr @PAGE_SIZE, align 4, !tbaa !11 %8 = tail call i32 @snprintf(ptr noundef %2, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %6) #2 ret i32 %8 } declare ptr @to_sensor_dev_attr(ptr noundef) local_unnamed_addr #1 declare i32 @ltc4245_get_voltage(ptr noundef, i32 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)"} !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 = !{!8, !8, i64 0}
fastsocket_kernel_drivers_hwmon_extr_ltc4245.c_ltc4245_show_voltage
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/itss/extr_protocol.c_a2w.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/itss/extr_protocol.c_a2w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @a2w.bufs = internal constant [8 x [128 x i32]] zeroinitializer, align 16 @a2w.i = internal unnamed_addr global i32 0, align 4 @CP_ACP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @a2w], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @a2w(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %14, label %3 3: ; preds = %1 %4 = load i32, ptr @a2w.i, align 4, !tbaa !5 %5 = add nuw nsw i32 %4, 1 %6 = and i32 %5, 7 store i32 %6, ptr @a2w.i, align 4, !tbaa !5 %7 = load i32, ptr @CP_ACP, align 4, !tbaa !5 %8 = zext nneg i32 %6 to i64 %9 = getelementptr inbounds [8 x [128 x i32]], ptr @a2w.bufs, i64 0, i64 %8 %10 = tail call i32 @MultiByteToWideChar(i32 noundef %7, i32 noundef 0, ptr noundef nonnull %0, i32 noundef -1, ptr noundef nonnull %9, i32 noundef 128) #2 %11 = load i32, ptr @a2w.i, align 4, !tbaa !5 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds [8 x [128 x i32]], ptr @a2w.bufs, i64 0, i64 %12 br label %14 14: ; preds = %1, %3 %15 = phi ptr [ %13, %3 ], [ null, %1 ] ret ptr %15 } declare i32 @MultiByteToWideChar(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/itss/extr_protocol.c_a2w.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/itss/extr_protocol.c_a2w.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @a2w.bufs = internal constant [8 x [128 x i32]] zeroinitializer, align 4 @a2w.i = internal unnamed_addr global i32 0, align 4 @CP_ACP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @a2w], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @a2w(ptr noundef %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %14, label %3 3: ; preds = %1 %4 = load i32, ptr @a2w.i, align 4, !tbaa !6 %5 = add nuw nsw i32 %4, 1 %6 = and i32 %5, 7 store i32 %6, ptr @a2w.i, align 4, !tbaa !6 %7 = load i32, ptr @CP_ACP, align 4, !tbaa !6 %8 = zext nneg i32 %6 to i64 %9 = getelementptr inbounds [8 x [128 x i32]], ptr @a2w.bufs, i64 0, i64 %8 %10 = tail call i32 @MultiByteToWideChar(i32 noundef %7, i32 noundef 0, ptr noundef nonnull %0, i32 noundef -1, ptr noundef nonnull %9, i32 noundef 128) #2 %11 = load i32, ptr @a2w.i, align 4, !tbaa !6 %12 = zext nneg i32 %11 to i64 %13 = getelementptr inbounds [8 x [128 x i32]], ptr @a2w.bufs, i64 0, i64 %12 br label %14 14: ; preds = %1, %3 %15 = phi ptr [ %13, %3 ], [ null, %1 ] ret ptr %15 } declare i32 @MultiByteToWideChar(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
reactos_modules_rostests_winetests_itss_extr_protocol.c_a2w
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_dmi_check.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_dmi_check.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.eeepc_laptop = type { i32, i32 } @DMI_PRODUCT_NAME = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"701\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"702\00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"model %s does not officially support setting cpu speed\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"cpufv disabled to avoid instability\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"1005HA\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"1201N\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"1005PE\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"wlan hotplug disabled\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @eeepc_dmi_check], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @eeepc_dmi_check(ptr nocapture noundef writeonly %0) #0 { %2 = load i32, ptr @DMI_PRODUCT_NAME, align 4, !tbaa !5 %3 = tail call ptr @dmi_get_system_info(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %26, label %5 5: ; preds = %1 %6 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %5 %9 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8, %5 store i32 1, ptr %0, align 4, !tbaa !9 %12 = tail call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.2, ptr noundef nonnull %3) #2 %13 = tail call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.3) #2 br label %14 14: ; preds = %11, %8 %15 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %14 %18 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.5) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.6) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20, %17, %14 %24 = getelementptr inbounds %struct.eeepc_laptop, ptr %0, i64 0, i32 1 store i32 1, ptr %24, align 4, !tbaa !11 %25 = tail call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.7) #2 br label %26 26: ; preds = %20, %23, %1 ret void } declare ptr @dmi_get_system_info(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(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 = !{!"eeepc_laptop", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_dmi_check.c' source_filename = "AnghaBench/linux/drivers/platform/x86/extr_eeepc-laptop.c_eeepc_dmi_check.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMI_PRODUCT_NAME = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [4 x i8] c"701\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"702\00", align 1 @.str.2 = private unnamed_addr constant [56 x i8] c"model %s does not officially support setting cpu speed\0A\00", align 1 @.str.3 = private unnamed_addr constant [37 x i8] c"cpufv disabled to avoid instability\0A\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"1005HA\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c"1201N\00", align 1 @.str.6 = private unnamed_addr constant [7 x i8] c"1005PE\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"wlan hotplug disabled\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @eeepc_dmi_check], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @eeepc_dmi_check(ptr nocapture noundef writeonly %0) #0 { %2 = load i32, ptr @DMI_PRODUCT_NAME, align 4, !tbaa !6 %3 = tail call ptr @dmi_get_system_info(i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %26, label %5 5: ; preds = %1 %6 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %5 %9 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.1) #2 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %14 11: ; preds = %8, %5 store i32 1, ptr %0, align 4, !tbaa !10 %12 = tail call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.2, ptr noundef nonnull %3) #2 %13 = tail call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.3) #2 br label %14 14: ; preds = %11, %8 %15 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.4) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %14 %18 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.5) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %17 %21 = tail call i64 @strcmp(ptr noundef nonnull %3, ptr noundef nonnull @.str.6) #2 %22 = icmp eq i64 %21, 0 br i1 %22, label %23, label %26 23: ; preds = %20, %17, %14 %24 = getelementptr inbounds i8, ptr %0, i64 4 store i32 1, ptr %24, align 4, !tbaa !12 %25 = tail call i32 (ptr, ...) @pr_info(ptr noundef nonnull @.str.7) #2 br label %26 26: ; preds = %20, %23, %1 ret void } declare ptr @dmi_get_system_info(i32 noundef) local_unnamed_addr #1 declare i64 @strcmp(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @pr_info(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 = !{!"eeepc_laptop", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4}
linux_drivers_platform_x86_extr_eeepc-laptop.c_eeepc_dmi_check
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeHash.c_ExecHashGetInstrumentation.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeHash.c_ExecHashGetInstrumentation.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_5__ = type { i32, i32, i32, i32, i32 } %struct.TYPE_6__ = type { i32, i32, i32, i32, i32 } ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable define dso_local void @ExecHashGetInstrumentation(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.TYPE_5__, ptr %1, i64 0, i32 4 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_6__, ptr %0, i64 0, i32 4 store i32 %4, ptr %5, align 4, !tbaa !10 %6 = load <4 x i32>, ptr %1, align 4, !tbaa !12 store <4 x i32> %6, ptr %0, align 4, !tbaa !12 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 16} !6 = !{!"TYPE_5__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_6__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/postgres/src/backend/executor/extr_nodeHash.c_ExecHashGetInstrumentation.c' source_filename = "AnghaBench/postgres/src/backend/executor/extr_nodeHash.c_ExecHashGetInstrumentation.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: readwrite) uwtable(sync) define void @ExecHashGetInstrumentation(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = getelementptr inbounds i8, ptr %1, i64 16 %4 = load i32, ptr %3, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 16 store i32 %4, ptr %5, align 4, !tbaa !11 %6 = load <4 x i32>, ptr %1, align 4, !tbaa !13 store <4 x i32> %6, ptr %0, align 4, !tbaa !13 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 16} !7 = !{!"TYPE_5__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"TYPE_6__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16} !13 = !{!8, !8, i64 0}
postgres_src_backend_executor_extr_nodeHash.c_ExecHashGetInstrumentation
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_usb_halinit.c__BeaconFunctionEnable.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_usb_halinit.c__BeaconFunctionEnable.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @REG_BCN_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @REG_RD_CTRL = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @_BeaconFunctionEnable], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @_BeaconFunctionEnable(ptr noundef %0, i32 %1, i32 %2) #0 { %4 = load i64, ptr @REG_BCN_CTRL, align 8, !tbaa !5 %5 = tail call i32 @BIT(i32 noundef 4) #2 %6 = tail call i32 @BIT(i32 noundef 3) #2 %7 = or i32 %6, %5 %8 = tail call i32 @BIT(i32 noundef 1) #2 %9 = or i32 %7, %8 %10 = tail call i32 @usb_write8(ptr noundef %0, i64 noundef %4, i32 noundef %9) #2 %11 = load i64, ptr @REG_RD_CTRL, align 8, !tbaa !5 %12 = add nsw i64 %11, 1 %13 = tail call i32 @usb_write8(ptr noundef %0, i64 noundef %12, i32 noundef 111) #2 ret void } declare i32 @usb_write8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 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 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_usb_halinit.c__BeaconFunctionEnable.c' source_filename = "AnghaBench/linux/drivers/staging/rtl8188eu/hal/extr_usb_halinit.c__BeaconFunctionEnable.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_BCN_CTRL = common local_unnamed_addr global i64 0, align 8 @REG_RD_CTRL = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @_BeaconFunctionEnable], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @_BeaconFunctionEnable(ptr noundef %0, i32 %1, i32 %2) #0 { %4 = load i64, ptr @REG_BCN_CTRL, align 8, !tbaa !6 %5 = tail call i32 @BIT(i32 noundef 4) #2 %6 = tail call i32 @BIT(i32 noundef 3) #2 %7 = or i32 %6, %5 %8 = tail call i32 @BIT(i32 noundef 1) #2 %9 = or i32 %7, %8 %10 = tail call i32 @usb_write8(ptr noundef %0, i64 noundef %4, i32 noundef %9) #2 %11 = load i64, ptr @REG_RD_CTRL, align 8, !tbaa !6 %12 = add nsw i64 %11, 1 %13 = tail call i32 @usb_write8(ptr noundef %0, i64 noundef %12, i32 noundef 111) #2 ret void } declare i32 @usb_write8(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 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 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_staging_rtl8188eu_hal_extr_usb_halinit.c__BeaconFunctionEnable
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_llatbl.c_lltable_foreach_lle.c' source_filename = "AnghaBench/freebsd/sys/net/extr_if_llatbl.c_lltable_foreach_lle.c" target datalayout = "e-m:e-p270:32:32-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 @lltable_foreach_lle(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = tail call i32 %4(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #1 ret i32 %5 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"lltable", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/net/extr_if_llatbl.c_lltable_foreach_lle.c' source_filename = "AnghaBench/freebsd/sys/net/extr_if_llatbl.c_lltable_foreach_lle.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 @lltable_foreach_lle(ptr noundef %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = tail call i32 %4(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %2) #1 ret i32 %5 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"lltable", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_sys_net_extr_if_llatbl.c_lltable_foreach_lle
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_op_beacon_set_tim.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_op_beacon_set_tim.c" target datalayout = "e-m:e-p270:32:32-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 @b43legacy_op_beacon_set_tim], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @b43legacy_op_beacon_set_tim(ptr noundef %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = tail call ptr @hw_to_b43legacy_wl(ptr noundef %0) #2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef %4, i64 noundef undef) #2 %6 = tail call i32 @b43legacy_update_templates(ptr noundef %4) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 ret i32 0 } declare ptr @hw_to_b43legacy_wl(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @b43legacy_update_templates(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_op_beacon_set_tim.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/wireless/b43legacy/extr_main.c_b43legacy_op_beacon_set_tim.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 @b43legacy_op_beacon_set_tim], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @b43legacy_op_beacon_set_tim(ptr noundef %0, ptr nocapture readnone %1, i32 %2) #0 { %4 = tail call ptr @hw_to_b43legacy_wl(ptr noundef %0) #2 %5 = tail call i32 @spin_lock_irqsave(ptr noundef %4, i64 noundef undef) #2 %6 = tail call i32 @b43legacy_update_templates(ptr noundef %4) #2 %7 = tail call i32 @spin_unlock_irqrestore(ptr noundef %4, i64 noundef undef) #2 ret i32 0 } declare ptr @hw_to_b43legacy_wl(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @b43legacy_update_templates(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_wireless_b43legacy_extr_main.c_b43legacy_op_beacon_set_tim
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_dongle_roam.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_dongle_roam.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_OFF = dso_local local_unnamed_addr global i64 0, align 8 @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_ON = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"bcn_timeout\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"bcn_timeout error (%d)\0A\00", align 1 @INFO = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Internal Roaming = %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Off\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"On\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"roam_off\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"roam_off error (%d)\0A\00", align 1 @WL_ROAM_TRIGGER_LEVEL = dso_local local_unnamed_addr global i32 0, align 4 @BRCM_BAND_ALL = dso_local local_unnamed_addr global i32 0, align 4 @BRCMF_C_SET_ROAM_TRIGGER = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [33 x i8] c"WLC_SET_ROAM_TRIGGER error (%d)\0A\00", align 1 @WL_ROAM_DELTA = dso_local local_unnamed_addr global i32 0, align 4 @BRCMF_C_SET_ROAM_DELTA = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"WLC_SET_ROAM_DELTA error (%d)\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @brcmf_dongle_roam], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @brcmf_dongle_roam(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 4 %3 = alloca [2 x i32], align 4 %4 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %5 = load ptr, ptr %4, align 8, !tbaa !10 %6 = load i64, ptr %5, align 8, !tbaa !12 %7 = icmp eq i64 %6, 0 %8 = load i64, ptr @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_ON, align 8 %9 = load i64, ptr @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_OFF, align 8 %10 = select i1 %7, i64 %8, i64 %9 %11 = tail call i64 @brcmf_fil_iovar_int_set(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %1 %14 = tail call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i64 noundef %11) #3 br label %52 15: ; preds = %1 %16 = load i32, ptr @INFO, align 4, !tbaa !15 %17 = load ptr, ptr %0, align 8, !tbaa !5 %18 = load ptr, ptr %17, align 8, !tbaa !10 %19 = load i64, ptr %18, align 8, !tbaa !12 %20 = icmp eq i64 %19, 0 %21 = select i1 %20, ptr @.str.4, ptr @.str.3 %22 = tail call i32 @brcmf_dbg(i32 noundef %16, ptr noundef nonnull @.str.2, ptr noundef nonnull %21) #3 %23 = load ptr, ptr %0, align 8, !tbaa !5 %24 = load ptr, ptr %23, align 8, !tbaa !10 %25 = load i64, ptr %24, align 8, !tbaa !12 %26 = tail call i64 @brcmf_fil_iovar_int_set(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i64 noundef %25) #3 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %15 %29 = tail call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.6, i64 noundef %26) #3 br label %52 30: ; preds = %15 %31 = load i32, ptr @WL_ROAM_TRIGGER_LEVEL, align 4, !tbaa !15 %32 = tail call i32 @cpu_to_le32(i32 noundef %31) #3 store i32 %32, ptr %2, align 4, !tbaa !15 %33 = load i32, ptr @BRCM_BAND_ALL, align 4, !tbaa !15 %34 = tail call i32 @cpu_to_le32(i32 noundef %33) #3 %35 = getelementptr inbounds [2 x i32], ptr %2, i64 0, i64 1 store i32 %34, ptr %35, align 4, !tbaa !15 %36 = load i32, ptr @BRCMF_C_SET_ROAM_TRIGGER, align 4, !tbaa !15 %37 = call i64 @brcmf_fil_cmd_data_set(ptr noundef nonnull %0, i32 noundef %36, ptr noundef nonnull %2, i32 noundef 8) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %30 %40 = call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.7, i64 noundef %37) #3 br label %52 41: ; preds = %30 %42 = load i32, ptr @WL_ROAM_DELTA, align 4, !tbaa !15 %43 = call i32 @cpu_to_le32(i32 noundef %42) #3 store i32 %43, ptr %3, align 4, !tbaa !15 %44 = load i32, ptr @BRCM_BAND_ALL, align 4, !tbaa !15 %45 = call i32 @cpu_to_le32(i32 noundef %44) #3 %46 = getelementptr inbounds [2 x i32], ptr %3, i64 0, i64 1 store i32 %45, ptr %46, align 4, !tbaa !15 %47 = load i32, ptr @BRCMF_C_SET_ROAM_DELTA, align 4, !tbaa !15 %48 = call i64 @brcmf_fil_cmd_data_set(ptr noundef nonnull %0, i32 noundef %47, ptr noundef nonnull %3, i32 noundef 8) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %52, label %50 50: ; preds = %41 %51 = call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.8, i64 noundef %48) #3 br label %52 52: ; preds = %41, %50, %39, %28, %13 %53 = phi i64 [ %11, %13 ], [ %26, %28 ], [ %37, %39 ], [ %48, %50 ], [ 0, %41 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i64 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @brcmf_fil_iovar_int_set(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @bphy_err(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @brcmf_dbg(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i64 @brcmf_fil_cmd_data_set(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"brcmf_if", !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 = !{!"brcmf_pub", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_dongle_roam.c' source_filename = "AnghaBench/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/extr_cfg80211.c_brcmf_dongle_roam.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_OFF = common local_unnamed_addr global i64 0, align 8 @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_ON = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [12 x i8] c"bcn_timeout\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c"bcn_timeout error (%d)\0A\00", align 1 @INFO = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [23 x i8] c"Internal Roaming = %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"Off\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"On\00", align 1 @.str.5 = private unnamed_addr constant [9 x i8] c"roam_off\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"roam_off error (%d)\0A\00", align 1 @WL_ROAM_TRIGGER_LEVEL = common local_unnamed_addr global i32 0, align 4 @BRCM_BAND_ALL = common local_unnamed_addr global i32 0, align 4 @BRCMF_C_SET_ROAM_TRIGGER = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [33 x i8] c"WLC_SET_ROAM_TRIGGER error (%d)\0A\00", align 1 @WL_ROAM_DELTA = common local_unnamed_addr global i32 0, align 4 @BRCMF_C_SET_ROAM_DELTA = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [31 x i8] c"WLC_SET_ROAM_DELTA error (%d)\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @brcmf_dongle_roam], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @brcmf_dongle_roam(ptr noundef %0) #0 { %2 = alloca [2 x i32], align 4 %3 = alloca [2 x i32], align 4 %4 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = load i64, ptr %5, align 8, !tbaa !13 %7 = icmp eq i64 %6, 0 %8 = load i64, ptr @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_ON, align 8 %9 = load i64, ptr @BRCMF_DEFAULT_BCN_TIMEOUT_ROAM_OFF, align 8 %10 = select i1 %7, i64 %8, i64 %9 %11 = tail call i64 @brcmf_fil_iovar_int_set(ptr noundef nonnull %0, ptr noundef nonnull @.str, i64 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %1 %14 = tail call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.1, i64 noundef %11) #3 br label %52 15: ; preds = %1 %16 = load i32, ptr @INFO, align 4, !tbaa !16 %17 = load ptr, ptr %0, align 8, !tbaa !6 %18 = load ptr, ptr %17, align 8, !tbaa !11 %19 = load i64, ptr %18, align 8, !tbaa !13 %20 = icmp eq i64 %19, 0 %21 = select i1 %20, ptr @.str.4, ptr @.str.3 %22 = tail call i32 @brcmf_dbg(i32 noundef %16, ptr noundef nonnull @.str.2, ptr noundef nonnull %21) #3 %23 = load ptr, ptr %0, align 8, !tbaa !6 %24 = load ptr, ptr %23, align 8, !tbaa !11 %25 = load i64, ptr %24, align 8, !tbaa !13 %26 = tail call i64 @brcmf_fil_iovar_int_set(ptr noundef nonnull %0, ptr noundef nonnull @.str.5, i64 noundef %25) #3 %27 = icmp eq i64 %26, 0 br i1 %27, label %30, label %28 28: ; preds = %15 %29 = tail call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.6, i64 noundef %26) #3 br label %52 30: ; preds = %15 %31 = load i32, ptr @WL_ROAM_TRIGGER_LEVEL, align 4, !tbaa !16 %32 = tail call i32 @cpu_to_le32(i32 noundef %31) #3 store i32 %32, ptr %2, align 4, !tbaa !16 %33 = load i32, ptr @BRCM_BAND_ALL, align 4, !tbaa !16 %34 = tail call i32 @cpu_to_le32(i32 noundef %33) #3 %35 = getelementptr inbounds i8, ptr %2, i64 4 store i32 %34, ptr %35, align 4, !tbaa !16 %36 = load i32, ptr @BRCMF_C_SET_ROAM_TRIGGER, align 4, !tbaa !16 %37 = call i64 @brcmf_fil_cmd_data_set(ptr noundef nonnull %0, i32 noundef %36, ptr noundef nonnull %2, i32 noundef 8) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %30 %40 = call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.7, i64 noundef %37) #3 br label %52 41: ; preds = %30 %42 = load i32, ptr @WL_ROAM_DELTA, align 4, !tbaa !16 %43 = call i32 @cpu_to_le32(i32 noundef %42) #3 store i32 %43, ptr %3, align 4, !tbaa !16 %44 = load i32, ptr @BRCM_BAND_ALL, align 4, !tbaa !16 %45 = call i32 @cpu_to_le32(i32 noundef %44) #3 %46 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %45, ptr %46, align 4, !tbaa !16 %47 = load i32, ptr @BRCMF_C_SET_ROAM_DELTA, align 4, !tbaa !16 %48 = call i64 @brcmf_fil_cmd_data_set(ptr noundef nonnull %0, i32 noundef %47, ptr noundef nonnull %3, i32 noundef 8) #3 %49 = icmp eq i64 %48, 0 br i1 %49, label %52, label %50 50: ; preds = %41 %51 = call i32 @bphy_err(ptr noundef nonnull %4, ptr noundef nonnull @.str.8, i64 noundef %48) #3 br label %52 52: ; preds = %41, %50, %39, %28, %13 %53 = phi i64 [ %11, %13 ], [ %26, %28 ], [ %37, %39 ], [ %48, %50 ], [ 0, %41 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret i64 %53 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @brcmf_fil_iovar_int_set(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @bphy_err(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @brcmf_dbg(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @cpu_to_le32(i32 noundef) local_unnamed_addr #2 declare i64 @brcmf_fil_cmd_data_set(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"brcmf_if", !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 = !{!"brcmf_pub", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0} !15 = !{!"long", !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"int", !9, i64 0}
linux_drivers_net_wireless_broadcom_brcm80211_brcmfmac_extr_cfg80211.c_brcmf_dongle_roam
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_condition.c_isc_condition_broadcast.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_condition.c_isc_condition_broadcast.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ISC_FALSE = dso_local local_unnamed_addr global i64 0, align 8 @LBROADCAST = dso_local local_unnamed_addr global i64 0, align 8 @ISC_TRUE = dso_local local_unnamed_addr global i64 0, align 8 @link = dso_local local_unnamed_addr global i32 0, align 4 @ISC_R_UNEXPECTED = dso_local local_unnamed_addr global i32 0, align 4 @ISC_R_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @isc_condition_broadcast(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr @ISC_FALSE, align 8, !tbaa !5 %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @REQUIRE(i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !9 %7 = tail call ptr @ISC_LIST_HEAD(i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %23, label %9 9: ; preds = %1, %9 %10 = phi i64 [ %19, %9 ], [ %2, %1 ] %11 = phi ptr [ %21, %9 ], [ %7, %1 ] %12 = load ptr, ptr %11, align 8, !tbaa !12 %13 = load i64, ptr @LBROADCAST, align 8, !tbaa !5 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = tail call i32 @SetEvent(i32 noundef %15) #2 %17 = icmp eq i32 %16, 0 %18 = load i64, ptr @ISC_TRUE, align 8 %19 = select i1 %17, i64 %18, i64 %10 %20 = load i32, ptr @link, align 4, !tbaa !15 %21 = tail call ptr @ISC_LIST_NEXT(ptr noundef nonnull %11, i32 noundef %20) #2 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %9, !llvm.loop !16 23: ; preds = %9, %1 %24 = phi i64 [ %2, %1 ], [ %19, %9 ] %25 = icmp eq i64 %24, 0 %26 = load i32, ptr @ISC_R_SUCCESS, align 4 %27 = load i32, ptr @ISC_R_UNEXPECTED, align 4 %28 = select i1 %25, i32 %26, i32 %27 ret i32 %28 } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @SetEvent(i32 noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"TYPE_8__", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_7__", !14, i64 0} !14 = !{!"any pointer", !7, i64 0} !15 = !{!11, !11, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_condition.c_isc_condition_broadcast.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/win32/extr_condition.c_isc_condition_broadcast.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ISC_FALSE = common local_unnamed_addr global i64 0, align 8 @LBROADCAST = common local_unnamed_addr global i64 0, align 8 @ISC_TRUE = common local_unnamed_addr global i64 0, align 8 @link = common local_unnamed_addr global i32 0, align 4 @ISC_R_UNEXPECTED = common local_unnamed_addr global i32 0, align 4 @ISC_R_SUCCESS = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @isc_condition_broadcast(ptr noundef readonly %0) local_unnamed_addr #0 { %2 = load i64, ptr @ISC_FALSE, align 8, !tbaa !6 %3 = icmp ne ptr %0, null %4 = zext i1 %3 to i32 %5 = tail call i32 @REQUIRE(i32 noundef %4) #2 %6 = load i32, ptr %0, align 4, !tbaa !10 %7 = tail call ptr @ISC_LIST_HEAD(i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %23, label %9 9: ; preds = %1, %9 %10 = phi i64 [ %19, %9 ], [ %2, %1 ] %11 = phi ptr [ %21, %9 ], [ %7, %1 ] %12 = load ptr, ptr %11, align 8, !tbaa !13 %13 = load i64, ptr @LBROADCAST, align 8, !tbaa !6 %14 = getelementptr inbounds i32, ptr %12, i64 %13 %15 = load i32, ptr %14, align 4, !tbaa !16 %16 = tail call i32 @SetEvent(i32 noundef %15) #2 %17 = icmp eq i32 %16, 0 %18 = load i64, ptr @ISC_TRUE, align 8 %19 = select i1 %17, i64 %18, i64 %10 %20 = load i32, ptr @link, align 4, !tbaa !16 %21 = tail call ptr @ISC_LIST_NEXT(ptr noundef nonnull %11, i32 noundef %20) #2 %22 = icmp eq ptr %21, null br i1 %22, label %23, label %9, !llvm.loop !17 23: ; preds = %9, %1 %24 = phi i64 [ %2, %1 ], [ %19, %9 ] %25 = icmp eq i64 %24, 0 %26 = load i32, ptr @ISC_R_SUCCESS, align 4 %27 = load i32, ptr @ISC_R_UNEXPECTED, align 4 %28 = select i1 %25, i32 %26, i32 %27 ret i32 %28 } declare i32 @REQUIRE(i32 noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_HEAD(i32 noundef) local_unnamed_addr #1 declare i32 @SetEvent(i32 noundef) local_unnamed_addr #1 declare ptr @ISC_LIST_NEXT(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_8__", !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_7__", !15, i64 0} !15 = !{!"any pointer", !8, i64 0} !16 = !{!12, !12, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ntp_lib_isc_win32_extr_condition.c_isc_condition_broadcast
; ModuleID = 'AnghaBench/git/extr_line-log.c_range_set_difference.c' source_filename = "AnghaBench/git/extr_line-log.c_range_set_difference.c" target datalayout = "e-m:e-p270:32:32-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.range_set = type { i32, ptr } %struct.TYPE_2__ = type { i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @range_set_difference], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @range_set_difference(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %1, align 8, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %64, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.range_set, ptr %1, i64 0, i32 1 %8 = getelementptr inbounds %struct.range_set, ptr %2, i64 0, i32 1 br label %9 9: ; preds = %6, %58 %10 = phi i64 [ 0, %6 ], [ %60, %58 ] %11 = phi i32 [ 0, %6 ], [ %59, %58 ] %12 = load ptr, ptr %7, align 8, !tbaa !11 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10 %14 = load i64, ptr %13, align 8, !tbaa !12 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = icmp slt i64 %14, %16 br i1 %17, label %18, label %58 18: ; preds = %9, %55 %19 = phi i64 [ %56, %55 ], [ %14, %9 ] %20 = phi i32 [ %36, %55 ], [ %11, %9 ] %21 = load i32, ptr %2, align 8, !tbaa !5 %22 = icmp ult i32 %20, %21 br i1 %22, label %23, label %41 23: ; preds = %18 %24 = load ptr, ptr %8, align 8, !tbaa !11 %25 = zext i32 %20 to i64 %26 = zext i32 %21 to i64 br label %27 27: ; preds = %23, %32 %28 = phi i64 [ %25, %23 ], [ %33, %32 ] %29 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %28, i32 1 %30 = load i64, ptr %29, align 8, !tbaa !15 %31 = icmp slt i64 %19, %30 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = add nuw nsw i64 %28, 1 %34 = icmp eq i64 %33, %26 br i1 %34, label %41, label %27, !llvm.loop !16 35: ; preds = %27 %36 = trunc i64 %28 to i32 %37 = and i64 %28, 4294967295 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %37 %39 = load i64, ptr %38, align 8, !tbaa !12 %40 = icmp slt i64 %16, %39 br i1 %40, label %41, label %44 41: ; preds = %35, %18, %32 %42 = phi i32 [ %21, %32 ], [ %20, %18 ], [ %36, %35 ] %43 = tail call i32 @range_set_append(ptr noundef %0, i64 noundef %19, i64 noundef %16) #2 br label %58 44: ; preds = %35 %45 = icmp slt i64 %19, %39 br i1 %45, label %46, label %51 46: ; preds = %44 %47 = icmp sgt i64 %16, %39 br i1 %47, label %48, label %55 48: ; preds = %46 %49 = tail call i32 @range_set_append(ptr noundef %0, i64 noundef %19, i64 noundef %39) #2 %50 = load ptr, ptr %8, align 8, !tbaa !11 br label %51 51: ; preds = %44, %48 %52 = phi ptr [ %50, %48 ], [ %24, %44 ] %53 = getelementptr inbounds %struct.TYPE_2__, ptr %52, i64 %37, i32 1 %54 = load i64, ptr %53, align 8, !tbaa !15 br label %55 55: ; preds = %51, %46 %56 = phi i64 [ %19, %46 ], [ %54, %51 ] %57 = icmp slt i64 %56, %16 br i1 %57, label %18, label %58, !llvm.loop !18 58: ; preds = %55, %9, %41 %59 = phi i32 [ %42, %41 ], [ %11, %9 ], [ %36, %55 ] %60 = add nuw nsw i64 %10, 1 %61 = load i32, ptr %1, align 8, !tbaa !5 %62 = zext i32 %61 to i64 %63 = icmp ult i64 %60, %62 br i1 %63, label %9, label %64, !llvm.loop !19 64: ; preds = %58, %3 ret void } declare i32 @range_set_append(ptr noundef, 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, !7, i64 0} !6 = !{!"range_set", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_2__", !14, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!13, !14, i64 8} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = distinct !{!18, !17} !19 = distinct !{!19, !17}
; ModuleID = 'AnghaBench/git/extr_line-log.c_range_set_difference.c' source_filename = "AnghaBench/git/extr_line-log.c_range_set_difference.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_2__ = type { i64, i64 } @llvm.used = appending global [1 x ptr] [ptr @range_set_difference], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @range_set_difference(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %1, align 8, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %66, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %1, i64 8 %8 = getelementptr inbounds i8, ptr %2, i64 8 br label %9 9: ; preds = %6, %60 %10 = phi i64 [ 0, %6 ], [ %62, %60 ] %11 = phi i32 [ 0, %6 ], [ %61, %60 ] %12 = load ptr, ptr %7, align 8, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_2__, ptr %12, i64 %10 %14 = load i64, ptr %13, align 8, !tbaa !13 %15 = getelementptr inbounds i8, ptr %13, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp slt i64 %14, %16 br i1 %17, label %18, label %60 18: ; preds = %9, %57 %19 = phi i64 [ %58, %57 ], [ %14, %9 ] %20 = phi i32 [ %36, %57 ], [ %11, %9 ] %21 = load i32, ptr %2, align 8, !tbaa !6 %22 = icmp ult i32 %20, %21 br i1 %22, label %23, label %41 23: ; preds = %18 %24 = load ptr, ptr %8, align 8, !tbaa !12 %25 = zext i32 %20 to i64 %26 = zext i32 %21 to i64 br label %27 27: ; preds = %23, %32 %28 = phi i64 [ %25, %23 ], [ %33, %32 ] %29 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %28, i32 1 %30 = load i64, ptr %29, align 8, !tbaa !16 %31 = icmp slt i64 %19, %30 br i1 %31, label %35, label %32 32: ; preds = %27 %33 = add nuw nsw i64 %28, 1 %34 = icmp eq i64 %33, %26 br i1 %34, label %41, label %27, !llvm.loop !17 35: ; preds = %27 %36 = trunc nuw i64 %28 to i32 %37 = and i64 %28, 4294967295 %38 = getelementptr inbounds %struct.TYPE_2__, ptr %24, i64 %37 %39 = load i64, ptr %38, align 8, !tbaa !13 %40 = icmp slt i64 %16, %39 br i1 %40, label %41, label %44 41: ; preds = %35, %18, %32 %42 = phi i32 [ %21, %32 ], [ %20, %18 ], [ %36, %35 ] %43 = tail call i32 @range_set_append(ptr noundef %0, i64 noundef %19, i64 noundef %16) #2 br label %60 44: ; preds = %35 %45 = icmp slt i64 %19, %39 br i1 %45, label %48, label %46 46: ; preds = %44 %47 = getelementptr inbounds i8, ptr %38, i64 8 br label %54 48: ; preds = %44 %49 = icmp sgt i64 %16, %39 br i1 %49, label %50, label %57 50: ; preds = %48 %51 = tail call i32 @range_set_append(ptr noundef %0, i64 noundef %19, i64 noundef %39) #2 %52 = load ptr, ptr %8, align 8, !tbaa !12 %53 = getelementptr inbounds %struct.TYPE_2__, ptr %52, i64 %37, i32 1 br label %54 54: ; preds = %46, %50 %55 = phi ptr [ %53, %50 ], [ %47, %46 ] %56 = load i64, ptr %55, align 8, !tbaa !16 br label %57 57: ; preds = %54, %48 %58 = phi i64 [ %19, %48 ], [ %56, %54 ] %59 = icmp slt i64 %58, %16 br i1 %59, label %18, label %60, !llvm.loop !19 60: ; preds = %57, %9, %41 %61 = phi i32 [ %42, %41 ], [ %11, %9 ], [ %36, %57 ] %62 = add nuw nsw i64 %10, 1 %63 = load i32, ptr %1, align 8, !tbaa !6 %64 = zext i32 %63 to i64 %65 = icmp ult i64 %62, %64 br i1 %65, label %9, label %66, !llvm.loop !20 66: ; preds = %60, %3 ret void } declare i32 @range_set_append(ptr noundef, 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, !8, i64 0} !7 = !{!"range_set", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_2__", !15, i64 0, !15, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!14, !15, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = distinct !{!19, !18} !20 = distinct !{!20, !18}
git_extr_line-log.c_range_set_difference
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ubifs/extr_replay.c_take_ihead.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ubifs/extr_replay.c_take_ihead.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ubifs_lprops = type { i32, i32 } @LPROPS_NC = dso_local local_unnamed_addr global i32 0, align 4 @LPROPS_TAKEN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @take_ihead], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @take_ihead(ptr noundef %0) #0 { %2 = tail call i32 @ubifs_get_lprops(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call ptr @ubifs_lpt_lookup_dirty(ptr noundef nonnull %0, i32 noundef %3) #2 %5 = tail call i64 @IS_ERR(ptr noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %1 %8 = load i32, ptr %4, align 4, !tbaa !10 %9 = load i32, ptr @LPROPS_NC, align 4, !tbaa !12 %10 = getelementptr inbounds %struct.ubifs_lprops, ptr %4, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !13 %12 = load i32, ptr @LPROPS_TAKEN, align 4, !tbaa !12 %13 = or i32 %12, %11 %14 = tail call ptr @ubifs_change_lp(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %9, i32 noundef %9, i32 noundef %13, i32 noundef 0) #2 %15 = tail call i64 @IS_ERR(ptr noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %7, %1 %18 = phi ptr [ %4, %1 ], [ %14, %7 ] %19 = tail call i32 @PTR_ERR(ptr noundef %18) #2 br label %20 20: ; preds = %17, %7 %21 = phi i32 [ %8, %7 ], [ %19, %17 ] %22 = tail call i32 @ubifs_release_lprops(ptr noundef nonnull %0) #2 ret i32 %21 } declare i32 @ubifs_get_lprops(ptr noundef) local_unnamed_addr #1 declare ptr @ubifs_lpt_lookup_dirty(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ubifs_change_lp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ubifs_release_lprops(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 = !{!"ubifs_info", !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 = !{!"ubifs_lprops", !7, i64 0, !7, i64 4} !12 = !{!7, !7, i64 0} !13 = !{!11, !7, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ubifs/extr_replay.c_take_ihead.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ubifs/extr_replay.c_take_ihead.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LPROPS_NC = common local_unnamed_addr global i32 0, align 4 @LPROPS_TAKEN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @take_ihead], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @take_ihead(ptr noundef %0) #0 { %2 = tail call i32 @ubifs_get_lprops(ptr noundef %0) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call ptr @ubifs_lpt_lookup_dirty(ptr noundef nonnull %0, i32 noundef %3) #2 %5 = tail call i64 @IS_ERR(ptr noundef %4) #2 %6 = icmp eq i64 %5, 0 br i1 %6, label %7, label %17 7: ; preds = %1 %8 = load i32, ptr %4, align 4, !tbaa !11 %9 = load i32, ptr @LPROPS_NC, align 4, !tbaa !13 %10 = getelementptr inbounds i8, ptr %4, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !14 %12 = load i32, ptr @LPROPS_TAKEN, align 4, !tbaa !13 %13 = or i32 %12, %11 %14 = tail call ptr @ubifs_change_lp(ptr noundef nonnull %0, ptr noundef nonnull %4, i32 noundef %9, i32 noundef %9, i32 noundef %13, i32 noundef 0) #2 %15 = tail call i64 @IS_ERR(ptr noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %20, label %17 17: ; preds = %7, %1 %18 = phi ptr [ %4, %1 ], [ %14, %7 ] %19 = tail call i32 @PTR_ERR(ptr noundef %18) #2 br label %20 20: ; preds = %17, %7 %21 = phi i32 [ %8, %7 ], [ %19, %17 ] %22 = tail call i32 @ubifs_release_lprops(ptr noundef nonnull %0) #2 ret i32 %21 } declare i32 @ubifs_get_lprops(ptr noundef) local_unnamed_addr #1 declare ptr @ubifs_lpt_lookup_dirty(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #1 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #1 declare ptr @ubifs_change_lp(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ubifs_release_lprops(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 = !{!"ubifs_info", !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 = !{!"ubifs_lprops", !8, i64 0, !8, i64 4} !13 = !{!8, !8, i64 0} !14 = !{!12, !8, i64 4}
fastsocket_kernel_fs_ubifs_extr_replay.c_take_ihead
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/extr_uid.c_OPENSSL_issetugid.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/extr_uid.c_OPENSSL_issetugid.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AT_SECURE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @OPENSSL_issetugid() local_unnamed_addr #0 { %1 = tail call i64 (...) @getuid() #2 %2 = tail call i64 (...) @geteuid() #2 %3 = icmp eq i64 %1, %2 br i1 %3, label %4, label %9 4: ; preds = %0 %5 = tail call i64 (...) @getgid() #2 %6 = tail call i64 (...) @getegid() #2 %7 = icmp ne i64 %5, %6 %8 = zext i1 %7 to i32 br label %9 9: ; preds = %4, %0 %10 = phi i32 [ 1, %0 ], [ %8, %4 ] ret i32 %10 } declare i64 @getuid(...) local_unnamed_addr #1 declare i64 @geteuid(...) local_unnamed_addr #1 declare i64 @getgid(...) local_unnamed_addr #1 declare i64 @getegid(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssl/crypto/extr_uid.c_OPENSSL_issetugid.c' source_filename = "AnghaBench/freebsd/crypto/openssl/crypto/extr_uid.c_OPENSSL_issetugid.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AT_SECURE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @OPENSSL_issetugid() local_unnamed_addr #0 { %1 = tail call i64 @getuid() #2 %2 = tail call i64 @geteuid() #2 %3 = icmp eq i64 %1, %2 br i1 %3, label %4, label %9 4: ; preds = %0 %5 = tail call i64 @getgid() #2 %6 = tail call i64 @getegid() #2 %7 = icmp ne i64 %5, %6 %8 = zext i1 %7 to i32 br label %9 9: ; preds = %4, %0 %10 = phi i32 [ 1, %0 ], [ %8, %4 ] ret i32 %10 } declare i64 @getuid(...) local_unnamed_addr #1 declare i64 @geteuid(...) local_unnamed_addr #1 declare i64 @getgid(...) local_unnamed_addr #1 declare i64 @getegid(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_crypto_openssl_crypto_extr_uid.c_OPENSSL_issetugid
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_create.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_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.ubifs_budget_req = type { i32, i32, i32 } %struct.fscrypt_name = type { i32 } %struct.inode = type { i32, i32, i32, i32, ptr } %struct.ubifs_inode = type { i32, i32 } @__const.ubifs_create.req = private unnamed_addr constant %struct.ubifs_budget_req { i32 1, i32 1, i32 1 }, align 4 @.str = private unnamed_addr constant [37 x i8] c"dent '%pd', mode %#hx in dir ino %lu\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"cannot create regular file, error %d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ubifs_create], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ubifs_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 %3) #0 { %5 = alloca %struct.ubifs_budget_req, align 4 %6 = alloca %struct.fscrypt_name, align 4 %7 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 4 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = load ptr, ptr %8, align 8, !tbaa !11 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) @__const.ubifs_create.req, i64 12, i1 false) %10 = tail call ptr @ubifs_inode(ptr noundef %0) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %11 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 3 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = tail call i32 @dbg_gen(ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %2, i32 noundef %12) #4 %14 = call i32 @ubifs_budget_space(ptr noundef %9, ptr noundef nonnull %5) #4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %62 16: ; preds = %4 %17 = call i32 @fscrypt_setup_filename(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 0, ptr noundef nonnull %6) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %58 19: ; preds = %16 %20 = call i32 @fname_len(ptr noundef nonnull %6) #4 %21 = call i32 @CALC_DENT_SIZE(i32 noundef %20) #4 %22 = call ptr @ubifs_new_inode(ptr noundef %9, ptr noundef nonnull %0, i32 noundef %2) #4 %23 = call i64 @IS_ERR(ptr noundef %22) #4 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %19 %26 = call i32 @PTR_ERR(ptr noundef %22) #4 br label %55 27: ; preds = %19 %28 = call i32 @ubifs_init_security(ptr noundef nonnull %0, ptr noundef %22, ptr noundef %1) #4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %51 30: ; preds = %27 %31 = getelementptr inbounds %struct.ubifs_inode, ptr %10, i64 0, i32 1 %32 = call i32 @mutex_lock(ptr noundef nonnull %31) #4 %33 = load i32, ptr %0, align 8, !tbaa !14 %34 = add nsw i32 %33, %21 store i32 %34, ptr %0, align 8, !tbaa !14 store i32 %34, ptr %10, align 4, !tbaa !15 %35 = getelementptr inbounds %struct.inode, ptr %22, i64 0, i32 1 %36 = load i32, ptr %35, align 4, !tbaa !17 %37 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 1 store i32 %36, ptr %37, align 4, !tbaa !17 %38 = getelementptr inbounds %struct.inode, ptr %0, i64 0, i32 2 store i32 %36, ptr %38, align 8, !tbaa !18 %39 = call i32 @ubifs_jnl_update(ptr noundef %9, ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef %22, i32 noundef 0, i32 noundef 0) #4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %30 %42 = call i32 @mutex_unlock(ptr noundef nonnull %31) #4 %43 = call i32 @ubifs_release_budget(ptr noundef %9, ptr noundef nonnull %5) #4 %44 = call i32 @fscrypt_free_filename(ptr noundef nonnull %6) #4 %45 = call i32 @insert_inode_hash(ptr noundef nonnull %22) #4 %46 = call i32 @d_instantiate(ptr noundef %1, ptr noundef nonnull %22) #4 br label %62 47: ; preds = %30 %48 = load i32, ptr %0, align 8, !tbaa !14 %49 = sub nsw i32 %48, %21 store i32 %49, ptr %0, align 8, !tbaa !14 store i32 %49, ptr %10, align 4, !tbaa !15 %50 = call i32 @mutex_unlock(ptr noundef nonnull %31) #4 br label %51 51: ; preds = %27, %47 %52 = phi i32 [ %28, %27 ], [ %39, %47 ] %53 = call i32 @make_bad_inode(ptr noundef %22) #4 %54 = call i32 @iput(ptr noundef %22) #4 br label %55 55: ; preds = %51, %25 %56 = phi i32 [ %26, %25 ], [ %52, %51 ] %57 = call i32 @fscrypt_free_filename(ptr noundef nonnull %6) #4 br label %58 58: ; preds = %16, %55 %59 = phi i32 [ %17, %16 ], [ %56, %55 ] %60 = call i32 @ubifs_release_budget(ptr noundef %9, ptr noundef nonnull %5) #4 %61 = call i32 @ubifs_err(ptr noundef %9, ptr noundef nonnull @.str.1, i32 noundef %59) #4 br label %62 62: ; preds = %4, %58, %41 %63 = phi i32 [ %59, %58 ], [ 0, %41 ], [ %14, %4 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #4 ret i32 %63 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @ubifs_inode(ptr noundef) local_unnamed_addr #3 declare i32 @dbg_gen(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ubifs_budget_space(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fscrypt_setup_filename(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @CALC_DENT_SIZE(i32 noundef) local_unnamed_addr #3 declare i32 @fname_len(ptr noundef) local_unnamed_addr #3 declare ptr @ubifs_new_inode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #3 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_init_security(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_jnl_update(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_release_budget(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fscrypt_free_filename(ptr noundef) local_unnamed_addr #3 declare i32 @insert_inode_hash(ptr noundef) local_unnamed_addr #3 declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @make_bad_inode(ptr noundef) local_unnamed_addr #3 declare i32 @iput(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"inode", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !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 = !{!12, !10, i64 0} !12 = !{!"TYPE_2__", !10, i64 0} !13 = !{!6, !7, i64 12} !14 = !{!6, !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"ubifs_inode", !7, i64 0, !7, i64 4} !17 = !{!6, !7, i64 4} !18 = !{!6, !7, i64 8}
; ModuleID = 'AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_create.c' source_filename = "AnghaBench/linux/fs/ubifs/extr_dir.c_ubifs_create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ubifs_budget_req = type { i32, i32, i32 } %struct.fscrypt_name = type { i32 } @__const.ubifs_create.req = private unnamed_addr constant %struct.ubifs_budget_req { i32 1, i32 1, i32 1 }, align 4 @.str = private unnamed_addr constant [37 x i8] c"dent '%pd', mode %#hx in dir ino %lu\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"cannot create regular file, error %d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ubifs_create], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ubifs_create(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 %3) #0 { %5 = alloca %struct.ubifs_budget_req, align 4 %6 = alloca %struct.fscrypt_name, align 4 %7 = getelementptr inbounds i8, ptr %0, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = load ptr, ptr %8, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) @__const.ubifs_create.req, i64 12, i1 false) %10 = tail call ptr @ubifs_inode(ptr noundef %0) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4 %11 = getelementptr inbounds i8, ptr %0, i64 12 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = tail call i32 @dbg_gen(ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %2, i32 noundef %12) #4 %14 = call i32 @ubifs_budget_space(ptr noundef %9, ptr noundef nonnull %5) #4 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %62 16: ; preds = %4 %17 = call i32 @fscrypt_setup_filename(ptr noundef nonnull %0, ptr noundef %1, i32 noundef 0, ptr noundef nonnull %6) #4 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %58 19: ; preds = %16 %20 = call i32 @fname_len(ptr noundef nonnull %6) #4 %21 = call i32 @CALC_DENT_SIZE(i32 noundef %20) #4 %22 = call ptr @ubifs_new_inode(ptr noundef %9, ptr noundef nonnull %0, i32 noundef %2) #4 %23 = call i64 @IS_ERR(ptr noundef %22) #4 %24 = icmp eq i64 %23, 0 br i1 %24, label %27, label %25 25: ; preds = %19 %26 = call i32 @PTR_ERR(ptr noundef %22) #4 br label %55 27: ; preds = %19 %28 = call i32 @ubifs_init_security(ptr noundef nonnull %0, ptr noundef %22, ptr noundef %1) #4 %29 = icmp eq i32 %28, 0 br i1 %29, label %30, label %51 30: ; preds = %27 %31 = getelementptr inbounds i8, ptr %10, i64 4 %32 = call i32 @mutex_lock(ptr noundef nonnull %31) #4 %33 = load i32, ptr %0, align 8, !tbaa !15 %34 = add nsw i32 %33, %21 store i32 %34, ptr %0, align 8, !tbaa !15 store i32 %34, ptr %10, align 4, !tbaa !16 %35 = getelementptr inbounds i8, ptr %22, i64 4 %36 = load i32, ptr %35, align 4, !tbaa !18 %37 = getelementptr inbounds i8, ptr %0, i64 4 store i32 %36, ptr %37, align 4, !tbaa !18 %38 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %36, ptr %38, align 8, !tbaa !19 %39 = call i32 @ubifs_jnl_update(ptr noundef %9, ptr noundef nonnull %0, ptr noundef nonnull %6, ptr noundef %22, i32 noundef 0, i32 noundef 0) #4 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %47 41: ; preds = %30 %42 = call i32 @mutex_unlock(ptr noundef nonnull %31) #4 %43 = call i32 @ubifs_release_budget(ptr noundef %9, ptr noundef nonnull %5) #4 %44 = call i32 @fscrypt_free_filename(ptr noundef nonnull %6) #4 %45 = call i32 @insert_inode_hash(ptr noundef nonnull %22) #4 %46 = call i32 @d_instantiate(ptr noundef %1, ptr noundef nonnull %22) #4 br label %62 47: ; preds = %30 %48 = load i32, ptr %0, align 8, !tbaa !15 %49 = sub nsw i32 %48, %21 store i32 %49, ptr %0, align 8, !tbaa !15 store i32 %49, ptr %10, align 4, !tbaa !16 %50 = call i32 @mutex_unlock(ptr noundef nonnull %31) #4 br label %51 51: ; preds = %27, %47 %52 = phi i32 [ %28, %27 ], [ %39, %47 ] %53 = call i32 @make_bad_inode(ptr noundef %22) #4 %54 = call i32 @iput(ptr noundef %22) #4 br label %55 55: ; preds = %51, %25 %56 = phi i32 [ %26, %25 ], [ %52, %51 ] %57 = call i32 @fscrypt_free_filename(ptr noundef nonnull %6) #4 br label %58 58: ; preds = %16, %55 %59 = phi i32 [ %17, %16 ], [ %56, %55 ] %60 = call i32 @ubifs_release_budget(ptr noundef %9, ptr noundef nonnull %5) #4 %61 = call i32 @ubifs_err(ptr noundef %9, ptr noundef nonnull @.str.1, i32 noundef %59) #4 br label %62 62: ; preds = %4, %58, %41 %63 = phi i32 [ %59, %58 ], [ 0, %41 ], [ %14, %4 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #4 ret i32 %63 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2 declare ptr @ubifs_inode(ptr noundef) local_unnamed_addr #3 declare i32 @dbg_gen(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @ubifs_budget_space(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fscrypt_setup_filename(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i32 @CALC_DENT_SIZE(i32 noundef) local_unnamed_addr #3 declare i32 @fname_len(ptr noundef) local_unnamed_addr #3 declare ptr @ubifs_new_inode(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i64 @IS_ERR(ptr noundef) local_unnamed_addr #3 declare i32 @PTR_ERR(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_init_security(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @mutex_lock(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_jnl_update(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @mutex_unlock(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_release_budget(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @fscrypt_free_filename(ptr noundef) local_unnamed_addr #3 declare i32 @insert_inode_hash(ptr noundef) local_unnamed_addr #3 declare i32 @d_instantiate(ptr noundef, ptr noundef) local_unnamed_addr #3 declare i32 @make_bad_inode(ptr noundef) local_unnamed_addr #3 declare i32 @iput(ptr noundef) local_unnamed_addr #3 declare i32 @ubifs_err(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"inode", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !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 = !{!13, !11, i64 0} !13 = !{!"TYPE_2__", !11, i64 0} !14 = !{!7, !8, i64 12} !15 = !{!7, !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"ubifs_inode", !8, i64 0, !8, i64 4} !18 = !{!7, !8, i64 4} !19 = !{!7, !8, i64 8}
linux_fs_ubifs_extr_dir.c_ubifs_create
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_memcpy_to.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_memcpy_to.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local void @nvkm_gpuobj_memcpy_to(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp sgt i32 %3, 0 br i1 %5, label %6, label %16 6: ; preds = %4, %6 %7 = phi i64 [ %13, %6 ], [ 0, %4 ] %8 = getelementptr inbounds i8, ptr %2, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = trunc i64 %7 to i32 %11 = add i32 %10, %1 %12 = tail call i32 @nvkm_wo32(ptr noundef %0, i32 noundef %11, i32 noundef %9) #2 %13 = add nuw i64 %7, 4 %14 = trunc i64 %13 to i32 %15 = icmp slt i32 %14, %3 br i1 %15, label %6, label %16, !llvm.loop !9 16: ; preds = %6, %4 ret void } declare i32 @nvkm_wo32(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 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_memcpy_to.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/core/extr_gpuobj.c_nvkm_gpuobj_memcpy_to.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 @nvkm_gpuobj_memcpy_to(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp sgt i32 %3, 0 br i1 %5, label %6, label %16 6: ; preds = %4, %6 %7 = phi i64 [ %13, %6 ], [ 0, %4 ] %8 = getelementptr inbounds i8, ptr %2, i64 %7 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = trunc i64 %7 to i32 %11 = add i32 %10, %1 %12 = tail call i32 @nvkm_wo32(ptr noundef %0, i32 noundef %11, i32 noundef %9) #2 %13 = add nuw nsw i64 %7, 4 %14 = trunc nuw i64 %13 to i32 %15 = icmp slt i32 %14, %3 br i1 %15, label %6, label %16, !llvm.loop !10 16: ; preds = %6, %4 ret void } declare i32 @nvkm_wo32(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 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_gpu_drm_nouveau_nvkm_core_extr_gpuobj.c_nvkm_gpuobj_memcpy_to
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_ioctl.c_linux_to_bsd_v4l2_format.c' source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_ioctl.c_linux_to_bsd_v4l2_format.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.v4l2_format = type { i64, i32 } %struct.l_v4l2_format = type { i64, i32 } @V4L2_BUF_TYPE_VIDEO_OVERLAY = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @linux_to_bsd_v4l2_format], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @linux_to_bsd_v4l2_format(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 store i64 %3, ptr %1, align 8, !tbaa !11 %4 = load i64, ptr @V4L2_BUF_TYPE_VIDEO_OVERLAY, align 8, !tbaa !13 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !14 br label %12 8: ; preds = %2 %9 = getelementptr inbounds %struct.v4l2_format, ptr %1, i64 0, i32 1 %10 = getelementptr inbounds %struct.l_v4l2_format, ptr %0, i64 0, i32 1 %11 = tail call i32 @memcpy(ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef 4) #2 br label %12 12: ; preds = %8, %6 %13 = phi i32 [ %7, %6 ], [ 0, %8 ] ret i32 %13 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"l_v4l2_format", !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 = !{!12, !7, i64 0} !12 = !{!"v4l2_format", !7, i64 0, !10, i64 8} !13 = !{!7, !7, i64 0} !14 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/compat/linux/extr_linux_ioctl.c_linux_to_bsd_v4l2_format.c' source_filename = "AnghaBench/freebsd/sys/compat/linux/extr_linux_ioctl.c_linux_to_bsd_v4l2_format.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @V4L2_BUF_TYPE_VIDEO_OVERLAY = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @linux_to_bsd_v4l2_format], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @linux_to_bsd_v4l2_format(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 store i64 %3, ptr %1, align 8, !tbaa !12 %4 = load i64, ptr @V4L2_BUF_TYPE_VIDEO_OVERLAY, align 8, !tbaa !14 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !15 br label %12 8: ; preds = %2 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = tail call i32 @memcpy(ptr noundef nonnull %9, ptr noundef nonnull %10, i32 noundef 4) #2 br label %12 12: ; preds = %8, %6 %13 = phi i32 [ %7, %6 ], [ 0, %8 ] ret i32 %13 } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"l_v4l2_format", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"v4l2_format", !8, i64 0, !11, i64 8} !14 = !{!8, !8, i64 0} !15 = !{!11, !11, i64 0}
freebsd_sys_compat_linux_extr_linux_ioctl.c_linux_to_bsd_v4l2_format
; ModuleID = 'AnghaBench/linux/drivers/net/extr_net_failover.c_net_failover_fold_stats.c' source_filename = "AnghaBench/linux/drivers/net/extr_net_failover.c_net_failover_fold_stats.c" target datalayout = "e-m:e-p270:32:32-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 @net_failover_fold_stats], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable define internal void @net_failover_fold_stats(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { unreachable } attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/extr_net_failover.c_net_failover_fold_stats.c' source_filename = "AnghaBench/linux/drivers/net/extr_net_failover.c_net_failover_fold_stats.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 @net_failover_fold_stats], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @net_failover_fold_stats(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr nocapture readnone %2) #0 { unreachable } attributes #0 = { mustprogress nofree norecurse noreturn nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_extr_net_failover.c_net_failover_fold_stats
; ModuleID = 'AnghaBench/linux/fs/cifs/extr_cifsglob.h_get_next_mid64.c' source_filename = "AnghaBench/linux/fs/cifs/extr_cifsglob.h_get_next_mid64.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_next_mid64], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @get_next_mid64(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) #2 %5 = tail call i32 @cpu_to_le64(i32 noundef %4) #2 ret i32 %5 } declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TCP_Server_Info", !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/linux/fs/cifs/extr_cifsglob.h_get_next_mid64.c' source_filename = "AnghaBench/linux/fs/cifs/extr_cifsglob.h_get_next_mid64.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_next_mid64], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @get_next_mid64(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) #2 %5 = tail call i32 @cpu_to_le64(i32 noundef %4) #2 ret i32 %5 } declare i32 @cpu_to_le64(i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TCP_Server_Info", !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}
linux_fs_cifs_extr_cifsglob.h_get_next_mid64
; ModuleID = 'AnghaBench/exploitdb/exploits/multiple/dos/extr_2073.c_fwi32.c' source_filename = "AnghaBench/exploitdb/exploits/multiple/dos/extr_2073.c_fwi32.c" target datalayout = "e-m:e-p270:32:32-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 nounwind uwtable define dso_local void @fwi32(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = and i32 %1, 255 %4 = tail call i32 @fputc(i32 noundef %3, ptr noundef %0) %5 = lshr i32 %1, 8 %6 = and i32 %5, 255 %7 = tail call i32 @fputc(i32 noundef %6, ptr noundef %0) %8 = lshr i32 %1, 16 %9 = and i32 %8, 255 %10 = tail call i32 @fputc(i32 noundef %9, ptr noundef %0) %11 = lshr i32 %1, 24 %12 = tail call i32 @fputc(i32 noundef %11, ptr noundef %0) ret void } ; Function Attrs: nofree nounwind declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/exploitdb/exploits/multiple/dos/extr_2073.c_fwi32.c' source_filename = "AnghaBench/exploitdb/exploits/multiple/dos/extr_2073.c_fwi32.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree nounwind ssp uwtable(sync) define void @fwi32(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = and i32 %1, 255 %4 = tail call i32 @fputc(i32 noundef %3, ptr noundef %0) %5 = lshr i32 %1, 8 %6 = and i32 %5, 255 %7 = tail call i32 @fputc(i32 noundef %6, ptr noundef %0) %8 = lshr i32 %1, 16 %9 = and i32 %8, 255 %10 = tail call i32 @fputc(i32 noundef %9, ptr noundef %0) %11 = lshr i32 %1, 24 %12 = tail call i32 @fputc(i32 noundef %11, ptr noundef %0) ret void } ; Function Attrs: nofree nounwind declare noundef i32 @fputc(i32 noundef, ptr nocapture noundef) local_unnamed_addr #1 attributes #0 = { nofree nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
exploitdb_exploits_multiple_dos_extr_2073.c_fwi32
; ModuleID = 'AnghaBench/fastsocket/kernel/lib/extr_rbtree.c_rb_prev.c' source_filename = "AnghaBench/fastsocket/kernel/lib/extr_rbtree.c_rb_prev.c" target datalayout = "e-m:e-p270:32:32-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.rb_node = type { ptr, ptr } ; Function Attrs: nounwind uwtable define dso_local ptr @rb_prev(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @rb_parent(ptr noundef %0) #2 %3 = icmp eq ptr %2, %0 br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %4, %7 %8 = phi ptr [ %10, %7 ], [ %5, %4 ] %9 = getelementptr inbounds %struct.rb_node, ptr %8, i64 0, i32 1 %10 = load ptr, ptr %9, align 8, !tbaa !10 %11 = icmp eq ptr %10, null br i1 %11, label %19, label %7, !llvm.loop !11 12: ; preds = %4, %16 %13 = phi ptr [ %14, %16 ], [ %0, %4 ] %14 = tail call ptr @rb_parent(ptr noundef nonnull %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %12 %17 = load ptr, ptr %14, align 8, !tbaa !5 %18 = icmp eq ptr %13, %17 br i1 %18, label %12, label %19, !llvm.loop !13 19: ; preds = %7, %16, %12, %1 %20 = phi ptr [ null, %1 ], [ %14, %16 ], [ null, %12 ], [ %8, %7 ] ret ptr %20 } declare ptr @rb_parent(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 = !{!"rb_node", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"} !13 = distinct !{!13, !12}
; ModuleID = 'AnghaBench/fastsocket/kernel/lib/extr_rbtree.c_rb_prev.c' source_filename = "AnghaBench/fastsocket/kernel/lib/extr_rbtree.c_rb_prev.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 @rb_prev(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call ptr @rb_parent(ptr noundef %0) #2 %3 = icmp eq ptr %2, %0 br i1 %3, label %19, label %4 4: ; preds = %1 %5 = load ptr, ptr %0, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %12, label %7 7: ; preds = %4, %7 %8 = phi ptr [ %10, %7 ], [ %5, %4 ] %9 = getelementptr inbounds i8, ptr %8, i64 8 %10 = load ptr, ptr %9, align 8, !tbaa !11 %11 = icmp eq ptr %10, null br i1 %11, label %19, label %7, !llvm.loop !12 12: ; preds = %4, %16 %13 = phi ptr [ %14, %16 ], [ %0, %4 ] %14 = tail call ptr @rb_parent(ptr noundef nonnull %13) #2 %15 = icmp eq ptr %14, null br i1 %15, label %19, label %16 16: ; preds = %12 %17 = load ptr, ptr %14, align 8, !tbaa !6 %18 = icmp eq ptr %13, %17 br i1 %18, label %12, label %19, !llvm.loop !14 19: ; preds = %7, %16, %12, %1 %20 = phi ptr [ null, %1 ], [ %14, %16 ], [ null, %12 ], [ %8, %7 ] ret ptr %20 } declare ptr @rb_parent(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 = !{!"rb_node", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"} !14 = distinct !{!14, !13}
fastsocket_kernel_lib_extr_rbtree.c_rb_prev
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_set_dai_pll.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_set_dai_pll.c" target datalayout = "e-m:e-p270:32:32-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._pll_div = type { i32, i32, i32 } @WM8753_PLL1 = dso_local local_unnamed_addr global i32 0, align 4 @WM8753_PLL2 = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @WM8753_CLOCK = dso_local local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL1 = dso_local local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL2 = dso_local local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL3 = dso_local local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL4 = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @wm8753_set_dai_pll], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @wm8753_set_dai_pll(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct._pll_div, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !5 %7 = load i32, ptr @WM8753_PLL1, align 4, !tbaa !10 %8 = icmp sgt i32 %7, %1 %9 = load i32, ptr @WM8753_PLL2, align 4 %10 = icmp slt i32 %9, %1 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load i32, ptr @ENODEV, align 4, !tbaa !10 %14 = sub nsw i32 0, %13 br label %66 15: ; preds = %4 %16 = icmp eq i32 %7, %1 %17 = load i64, ptr @WM8753_CLOCK, align 8, !tbaa !12 %18 = tail call i32 @wm8753_read_reg_cache(ptr noundef %6, i64 noundef %17) #3 %19 = select i1 %16, i32 65519, i32 65527 %20 = select i1 %16, i64 0, i64 4 %21 = and i32 %18, %19 %22 = icmp ne i32 %2, 0 %23 = icmp ne i32 %3, 0 %24 = and i1 %22, %23 br i1 %24, label %31, label %25 25: ; preds = %15 %26 = load i64, ptr @WM8753_PLL1CTL1, align 8, !tbaa !12 %27 = add nsw i64 %26, %20 %28 = tail call i32 @wm8753_write(ptr noundef %6, i64 noundef %27, i32 noundef 38) #3 %29 = load i64, ptr @WM8753_CLOCK, align 8, !tbaa !12 %30 = tail call i32 @wm8753_write(ptr noundef %6, i64 noundef %29, i32 noundef %21) #3 br label %66 31: ; preds = %15 %32 = select i1 %16, i32 16, i32 8 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 %33 = shl i32 %3, 3 %34 = call i32 @pll_factors(ptr noundef nonnull %5, i32 noundef %33, i32 noundef %2) #3 %35 = load i32, ptr %5, align 4, !tbaa !14 %36 = shl i32 %35, 5 %37 = getelementptr inbounds %struct._pll_div, ptr %5, i64 0, i32 1 %38 = load i32, ptr %37, align 4, !tbaa !16 %39 = lshr i32 %38, 18 %40 = and i32 %39, 15 %41 = or disjoint i32 %40, %36 %42 = load i64, ptr @WM8753_PLL1CTL2, align 8, !tbaa !12 %43 = add nsw i64 %42, %20 %44 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %43, i32 noundef %41) #3 %45 = load i32, ptr %37, align 4, !tbaa !16 %46 = lshr i32 %45, 9 %47 = and i32 %46, 511 %48 = load i64, ptr @WM8753_PLL1CTL3, align 8, !tbaa !12 %49 = add nsw i64 %48, %20 %50 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %49, i32 noundef %47) #3 %51 = load i32, ptr %37, align 4, !tbaa !16 %52 = and i32 %51, 511 %53 = load i64, ptr @WM8753_PLL1CTL4, align 8, !tbaa !12 %54 = add nsw i64 %53, %20 %55 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %54, i32 noundef %52) #3 %56 = load i64, ptr @WM8753_PLL1CTL1, align 8, !tbaa !12 %57 = add nsw i64 %56, %20 %58 = getelementptr inbounds %struct._pll_div, ptr %5, i64 0, i32 2 %59 = load i32, ptr %58, align 4, !tbaa !17 %60 = shl i32 %59, 3 %61 = or i32 %60, 39 %62 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %57, i32 noundef %61) #3 %63 = load i64, ptr @WM8753_CLOCK, align 8, !tbaa !12 %64 = or i32 %21, %32 %65 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %63, i32 noundef %64) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 br label %66 66: ; preds = %31, %25, %12 %67 = phi i32 [ %14, %12 ], [ 0, %31 ], [ 0, %25 ] ret i32 %67 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wm8753_read_reg_cache(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wm8753_write(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pll_factors(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"snd_soc_dai", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"_pll_div", !11, i64 0, !11, i64 4, !11, i64 8} !16 = !{!15, !11, i64 4} !17 = !{!15, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_set_dai_pll.c' source_filename = "AnghaBench/fastsocket/kernel/sound/soc/codecs/extr_wm8753.c_wm8753_set_dai_pll.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct._pll_div = type { i32, i32, i32 } @WM8753_PLL1 = common local_unnamed_addr global i32 0, align 4 @WM8753_PLL2 = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @WM8753_CLOCK = common local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL1 = common local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL2 = common local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL3 = common local_unnamed_addr global i64 0, align 8 @WM8753_PLL1CTL4 = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @wm8753_set_dai_pll], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @wm8753_set_dai_pll(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca %struct._pll_div, align 4 %6 = load ptr, ptr %0, align 8, !tbaa !6 %7 = load i32, ptr @WM8753_PLL1, align 4, !tbaa !11 %8 = icmp sgt i32 %7, %1 %9 = load i32, ptr @WM8753_PLL2, align 4 %10 = icmp slt i32 %9, %1 %11 = select i1 %8, i1 true, i1 %10 br i1 %11, label %12, label %15 12: ; preds = %4 %13 = load i32, ptr @ENODEV, align 4, !tbaa !11 %14 = sub nsw i32 0, %13 br label %66 15: ; preds = %4 %16 = icmp eq i32 %7, %1 %17 = load i64, ptr @WM8753_CLOCK, align 8, !tbaa !13 %18 = tail call i32 @wm8753_read_reg_cache(ptr noundef %6, i64 noundef %17) #3 %19 = select i1 %16, i32 65519, i32 65527 %20 = select i1 %16, i64 0, i64 4 %21 = and i32 %18, %19 %22 = icmp ne i32 %2, 0 %23 = icmp ne i32 %3, 0 %24 = and i1 %22, %23 br i1 %24, label %31, label %25 25: ; preds = %15 %26 = load i64, ptr @WM8753_PLL1CTL1, align 8, !tbaa !13 %27 = add nsw i64 %26, %20 %28 = tail call i32 @wm8753_write(ptr noundef %6, i64 noundef %27, i32 noundef 38) #3 %29 = load i64, ptr @WM8753_CLOCK, align 8, !tbaa !13 %30 = tail call i32 @wm8753_write(ptr noundef %6, i64 noundef %29, i32 noundef %21) #3 br label %66 31: ; preds = %15 %32 = select i1 %16, i32 16, i32 8 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3 %33 = shl i32 %3, 3 %34 = call i32 @pll_factors(ptr noundef nonnull %5, i32 noundef %33, i32 noundef %2) #3 %35 = load i32, ptr %5, align 4, !tbaa !15 %36 = shl i32 %35, 5 %37 = getelementptr inbounds i8, ptr %5, i64 4 %38 = load i32, ptr %37, align 4, !tbaa !17 %39 = lshr i32 %38, 18 %40 = and i32 %39, 15 %41 = or disjoint i32 %40, %36 %42 = load i64, ptr @WM8753_PLL1CTL2, align 8, !tbaa !13 %43 = add nsw i64 %42, %20 %44 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %43, i32 noundef %41) #3 %45 = load i32, ptr %37, align 4, !tbaa !17 %46 = lshr i32 %45, 9 %47 = and i32 %46, 511 %48 = load i64, ptr @WM8753_PLL1CTL3, align 8, !tbaa !13 %49 = add nsw i64 %48, %20 %50 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %49, i32 noundef %47) #3 %51 = load i32, ptr %37, align 4, !tbaa !17 %52 = and i32 %51, 511 %53 = load i64, ptr @WM8753_PLL1CTL4, align 8, !tbaa !13 %54 = add nsw i64 %53, %20 %55 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %54, i32 noundef %52) #3 %56 = load i64, ptr @WM8753_PLL1CTL1, align 8, !tbaa !13 %57 = add nsw i64 %56, %20 %58 = getelementptr inbounds i8, ptr %5, i64 8 %59 = load i32, ptr %58, align 4, !tbaa !18 %60 = shl i32 %59, 3 %61 = or i32 %60, 39 %62 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %57, i32 noundef %61) #3 %63 = load i64, ptr @WM8753_CLOCK, align 8, !tbaa !13 %64 = or i32 %21, %32 %65 = call i32 @wm8753_write(ptr noundef %6, i64 noundef %63, i32 noundef %64) #3 call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3 br label %66 66: ; preds = %31, %25, %12 %67 = phi i32 [ %14, %12 ], [ 0, %31 ], [ 0, %25 ] ret i32 %67 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @wm8753_read_reg_cache(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @wm8753_write(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pll_factors(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"snd_soc_dai", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!16, !12, i64 0} !16 = !{!"_pll_div", !12, i64 0, !12, i64 4, !12, i64 8} !17 = !{!16, !12, i64 4} !18 = !{!16, !12, i64 8}
fastsocket_kernel_sound_soc_codecs_extr_wm8753.c_wm8753_set_dai_pll
; ModuleID = 'AnghaBench/Quake-III-Arena/code/qcommon/extr_..gameq_shared.h_BigShort.c' source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_..gameq_shared.h_BigShort.c" target datalayout = "e-m:e-p270:32:32-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 @BigShort], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal signext i16 @BigShort(i16 noundef signext %0) #0 { %2 = tail call signext i16 @ShortSwap(i16 noundef signext %0) #2 ret i16 %2 } declare signext i16 @ShortSwap(i16 noundef signext) 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/Quake-III-Arena/code/qcommon/extr_..gameq_shared.h_BigShort.c' source_filename = "AnghaBench/Quake-III-Arena/code/qcommon/extr_..gameq_shared.h_BigShort.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 @BigShort], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal signext i16 @BigShort(i16 noundef signext %0) #0 { %2 = tail call signext i16 @ShortSwap(i16 noundef signext %0) #2 ret i16 %2 } declare signext i16 @ShortSwap(i16 noundef signext) 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)"}
Quake-III-Arena_code_qcommon_extr_..gameq_shared.h_BigShort
; ModuleID = 'AnghaBench/linux/drivers/macintosh/extr_adb.c_adb_write_done.c' source_filename = "AnghaBench/linux/drivers/macintosh/extr_adb.c_adb_write_done.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.adb_request = type { i32, i32, i32, ptr, ptr, i32, i32, i64, i64 } %struct.adbdev_state = type { i32, i32, i32, ptr, ptr, i32, i32, i64, i64 } @llvm.compiler.used = appending global [1 x ptr] [ptr @adb_write_done], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @adb_write_done(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.adb_request, ptr %0, i64 0, i32 8 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %0, align 8, !tbaa !12 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = getelementptr inbounds %struct.adb_request, ptr %0, i64 0, i32 7 store i64 0, ptr %8, align 8, !tbaa !13 store i32 1, ptr %0, align 8, !tbaa !12 br label %9 9: ; preds = %7, %1 %10 = getelementptr inbounds %struct.adbdev_state, ptr %4, i64 0, i32 1 %11 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %10, i64 noundef undef) #2 %12 = getelementptr inbounds %struct.adbdev_state, ptr %4, i64 0, i32 5 %13 = tail call i32 @atomic_dec(ptr noundef nonnull %12) #2 %14 = getelementptr inbounds %struct.adbdev_state, ptr %4, i64 0, i32 6 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %9 %18 = tail call i32 @kfree(ptr noundef nonnull %0) #2 %19 = tail call i64 @atomic_read(ptr noundef nonnull %12) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %35 21: ; preds = %17 %22 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %10, i64 noundef undef) #2 %23 = tail call i32 @kfree(ptr noundef nonnull %4) #2 br label %37 24: ; preds = %9 %25 = getelementptr inbounds %struct.adbdev_state, ptr %4, i64 0, i32 4 br label %26 26: ; preds = %26, %24 %27 = phi ptr [ %25, %24 ], [ %30, %26 ] %28 = load ptr, ptr %27, align 8, !tbaa !16 %29 = icmp eq ptr %28, null %30 = getelementptr inbounds %struct.adb_request, ptr %28, i64 0, i32 3 br i1 %29, label %31, label %26, !llvm.loop !17 31: ; preds = %26 %32 = getelementptr inbounds %struct.adb_request, ptr %0, i64 0, i32 3 store ptr null, ptr %32, align 8, !tbaa !19 store ptr %0, ptr %27, align 8, !tbaa !16 %33 = getelementptr inbounds %struct.adbdev_state, ptr %4, i64 0, i32 2 %34 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %33) #2 br label %35 35: ; preds = %17, %31 %36 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %10, i64 noundef undef) #2 br label %37 37: ; preds = %35, %21 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !11, i64 48} !6 = !{!"adb_request", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !11, i64 40, !11, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!6, !11, i64 40} !14 = !{!15, !7, i64 36} !15 = !{!"adbdev_state", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 36, !11, i64 40, !11, i64 48} !16 = !{!10, !10, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!6, !10, i64 16}
; ModuleID = 'AnghaBench/linux/drivers/macintosh/extr_adb.c_adb_write_done.c' source_filename = "AnghaBench/linux/drivers/macintosh/extr_adb.c_adb_write_done.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 @adb_write_done], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @adb_write_done(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 48 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = inttoptr i64 %3 to ptr %5 = load i32, ptr %0, align 8, !tbaa !13 %6 = icmp eq i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = getelementptr inbounds i8, ptr %0, i64 40 store i64 0, ptr %8, align 8, !tbaa !14 store i32 1, ptr %0, align 8, !tbaa !13 br label %9 9: ; preds = %7, %1 %10 = getelementptr inbounds i8, ptr %4, i64 4 %11 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %10, i64 noundef undef) #2 %12 = getelementptr inbounds i8, ptr %4, i64 32 %13 = tail call i32 @atomic_dec(ptr noundef nonnull %12) #2 %14 = getelementptr inbounds i8, ptr %4, i64 36 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %24 17: ; preds = %9 %18 = tail call i32 @kfree(ptr noundef nonnull %0) #2 %19 = tail call i64 @atomic_read(ptr noundef nonnull %12) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %35 21: ; preds = %17 %22 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %10, i64 noundef undef) #2 %23 = tail call i32 @kfree(ptr noundef nonnull %4) #2 br label %37 24: ; preds = %9 %25 = getelementptr inbounds i8, ptr %4, i64 24 br label %26 26: ; preds = %26, %24 %27 = phi ptr [ %25, %24 ], [ %30, %26 ] %28 = load ptr, ptr %27, align 8, !tbaa !17 %29 = icmp eq ptr %28, null %30 = getelementptr inbounds i8, ptr %28, i64 16 br i1 %29, label %31, label %26, !llvm.loop !18 31: ; preds = %26 %32 = getelementptr inbounds i8, ptr %0, i64 16 store ptr null, ptr %32, align 8, !tbaa !20 store ptr %0, ptr %27, align 8, !tbaa !17 %33 = getelementptr inbounds i8, ptr %4, i64 8 %34 = tail call i32 @wake_up_interruptible(ptr noundef nonnull %33) #2 br label %35 35: ; preds = %17, %31 %36 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %10, i64 noundef undef) #2 br label %37 37: ; preds = %35, %21 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @atomic_dec(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 declare i64 @atomic_read(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up_interruptible(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !12, i64 48} !7 = !{!"adb_request", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 36, !12, i64 40, !12, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!7, !12, i64 40} !15 = !{!16, !8, i64 36} !16 = !{!"adbdev_state", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !11, i64 24, !8, i64 32, !8, i64 36, !12, i64 40, !12, i64 48} !17 = !{!11, !11, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!7, !11, i64 16}
linux_drivers_macintosh_extr_adb.c_adb_write_done
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_apb.c_apb_get_resource_list.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_apb.c_apb_get_resource_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @apb_get_resource_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @apb_get_resource_list(i32 %0, i32 noundef %1) #0 { %3 = tail call ptr @device_get_ivars(i32 noundef %1) #2 ret ptr %3 } declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/mips/atheros/extr_apb.c_apb_get_resource_list.c' source_filename = "AnghaBench/freebsd/sys/mips/atheros/extr_apb.c_apb_get_resource_list.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @apb_get_resource_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @apb_get_resource_list(i32 %0, i32 noundef %1) #0 { %3 = tail call ptr @device_get_ivars(i32 noundef %1) #2 ret ptr %3 } declare ptr @device_get_ivars(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_mips_atheros_extr_apb.c_apb_get_resource_list
; ModuleID = 'AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_optimizer.c_zend_optimize.c' source_filename = "AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_optimizer.c_zend_optimize.c" target datalayout = "e-m:e-p270:32:32-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_23__ = type { i32, i32 } @ZEND_EVAL_CODE = dso_local local_unnamed_addr global i64 0, align 8 @ZEND_DUMP_BEFORE_OPTIMIZER = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_LIVE_RANGES = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"before optimizer\00", align 1 @ZEND_OPTIMIZER_PASS_1 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_1 = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"after pass 1\00", align 1 @ZEND_OPTIMIZER_PASS_3 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_3 = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"after pass 3\00", align 1 @ZEND_OPTIMIZER_PASS_4 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_4 = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"after pass 4\00", align 1 @ZEND_OPTIMIZER_PASS_5 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_5 = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"after pass 5\00", align 1 @ZEND_OPTIMIZER_PASS_6 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_OPTIMIZER_PASS_7 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_6 = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"after pass 6\00", align 1 @ZEND_OPTIMIZER_PASS_9 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_9 = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"after pass 9\00", align 1 @ZEND_OPTIMIZER_PASS_10 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_10 = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [14 x i8] c"after pass 10\00", align 1 @ZEND_OPTIMIZER_PASS_11 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_11 = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [14 x i8] c"after pass 11\00", align 1 @ZEND_OPTIMIZER_PASS_13 = dso_local local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_13 = dso_local local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [14 x i8] c"after pass 13\00", align 1 @ZEND_DUMP_AFTER_OPTIMIZER = dso_local local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [16 x i8] c"after optimizer\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @zend_optimize], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @zend_optimize(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @ZEND_EVAL_CODE, align 8, !tbaa !10 %5 = icmp eq i64 %3, %4 br i1 %5, label %166, label %6 6: ; preds = %2 %7 = load i32, ptr %1, align 4, !tbaa !11 %8 = load i32, ptr @ZEND_DUMP_BEFORE_OPTIMIZER, align 4, !tbaa !14 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %6 %12 = load i32, ptr @ZEND_DUMP_LIVE_RANGES, align 4, !tbaa !14 %13 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull @.str, ptr noundef null) #2 br label %14 14: ; preds = %11, %6 %15 = load i32, ptr @ZEND_OPTIMIZER_PASS_1, align 4, !tbaa !14 %16 = getelementptr inbounds %struct.TYPE_23__, ptr %1, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !15 %18 = and i32 %17, %15 %19 = icmp eq i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %14 %21 = tail call i32 @zend_optimizer_pass1(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %22 = load i32, ptr %1, align 4, !tbaa !11 %23 = load i32, ptr @ZEND_DUMP_AFTER_PASS_1, align 4, !tbaa !14 %24 = and i32 %23, %22 %25 = icmp eq i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %20 %27 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef null) #2 br label %28 28: ; preds = %20, %26, %14 %29 = load i32, ptr @ZEND_OPTIMIZER_PASS_3, align 4, !tbaa !14 %30 = load i32, ptr %16, align 4, !tbaa !15 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %41, label %33 33: ; preds = %28 %34 = tail call i32 @zend_optimizer_pass3(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %35 = load i32, ptr %1, align 4, !tbaa !11 %36 = load i32, ptr @ZEND_DUMP_AFTER_PASS_3, align 4, !tbaa !14 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %33 %40 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef null) #2 br label %41 41: ; preds = %33, %39, %28 %42 = load i32, ptr @ZEND_OPTIMIZER_PASS_4, align 4, !tbaa !14 %43 = load i32, ptr %16, align 4, !tbaa !15 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %54, label %46 46: ; preds = %41 %47 = tail call i32 @zend_optimize_func_calls(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %48 = load i32, ptr %1, align 4, !tbaa !11 %49 = load i32, ptr @ZEND_DUMP_AFTER_PASS_4, align 4, !tbaa !14 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %46 %53 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef null) #2 br label %54 54: ; preds = %46, %52, %41 %55 = load i32, ptr @ZEND_OPTIMIZER_PASS_5, align 4, !tbaa !14 %56 = load i32, ptr %16, align 4, !tbaa !15 %57 = and i32 %56, %55 %58 = icmp eq i32 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %54 %60 = tail call i32 @zend_optimize_cfg(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %61 = load i32, ptr %1, align 4, !tbaa !11 %62 = load i32, ptr @ZEND_DUMP_AFTER_PASS_5, align 4, !tbaa !14 %63 = and i32 %62, %61 %64 = icmp eq i32 %63, 0 br i1 %64, label %67, label %65 65: ; preds = %59 %66 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.4, ptr noundef null) #2 br label %67 67: ; preds = %59, %65, %54 %68 = load i32, ptr @ZEND_OPTIMIZER_PASS_6, align 4, !tbaa !14 %69 = load i32, ptr %16, align 4, !tbaa !15 %70 = and i32 %69, %68 %71 = icmp eq i32 %70, 0 br i1 %71, label %84, label %72 72: ; preds = %67 %73 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !14 %74 = and i32 %73, %69 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %84 76: ; preds = %72 %77 = tail call i32 @zend_optimize_dfa(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %78 = load i32, ptr %1, align 4, !tbaa !11 %79 = load i32, ptr @ZEND_DUMP_AFTER_PASS_6, align 4, !tbaa !14 %80 = and i32 %79, %78 %81 = icmp eq i32 %80, 0 br i1 %81, label %84, label %82 82: ; preds = %76 %83 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.5, ptr noundef null) #2 br label %84 84: ; preds = %76, %82, %72, %67 %85 = load i32, ptr @ZEND_OPTIMIZER_PASS_9, align 4, !tbaa !14 %86 = load i32, ptr %16, align 4, !tbaa !15 %87 = and i32 %86, %85 %88 = icmp eq i32 %87, 0 br i1 %88, label %97, label %89 89: ; preds = %84 %90 = tail call i32 @zend_optimize_temporary_variables(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %91 = load i32, ptr %1, align 4, !tbaa !11 %92 = load i32, ptr @ZEND_DUMP_AFTER_PASS_9, align 4, !tbaa !14 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 br i1 %94, label %97, label %95 95: ; preds = %89 %96 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef null) #2 br label %97 97: ; preds = %89, %95, %84 %98 = load i32, ptr @ZEND_OPTIMIZER_PASS_10, align 4, !tbaa !14 %99 = load i32, ptr @ZEND_OPTIMIZER_PASS_5, align 4, !tbaa !14 %100 = or i32 %99, %98 %101 = load i32, ptr %16, align 4, !tbaa !15 %102 = and i32 %100, %101 %103 = icmp eq i32 %102, %98 br i1 %103, label %104, label %112 104: ; preds = %97 %105 = tail call i32 @zend_optimizer_nop_removal(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %106 = load i32, ptr %1, align 4, !tbaa !11 %107 = load i32, ptr @ZEND_DUMP_AFTER_PASS_10, align 4, !tbaa !14 %108 = and i32 %107, %106 %109 = icmp eq i32 %108, 0 br i1 %109, label %112, label %110 110: ; preds = %104 %111 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef null) #2 br label %112 112: ; preds = %104, %110, %97 %113 = load i32, ptr @ZEND_OPTIMIZER_PASS_11, align 4, !tbaa !14 %114 = load i32, ptr %16, align 4, !tbaa !15 %115 = and i32 %114, %113 %116 = icmp eq i32 %115, 0 br i1 %116, label %133, label %117 117: ; preds = %112 %118 = load i32, ptr @ZEND_OPTIMIZER_PASS_6, align 4, !tbaa !14 %119 = and i32 %118, %114 %120 = icmp eq i32 %119, 0 br i1 %120, label %125, label %121 121: ; preds = %117 %122 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !14 %123 = and i32 %122, %114 %124 = icmp eq i32 %123, 0 br i1 %124, label %125, label %133 125: ; preds = %121, %117 %126 = tail call i32 @zend_optimizer_compact_literals(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %127 = load i32, ptr %1, align 4, !tbaa !11 %128 = load i32, ptr @ZEND_DUMP_AFTER_PASS_11, align 4, !tbaa !14 %129 = and i32 %128, %127 %130 = icmp eq i32 %129, 0 br i1 %130, label %133, label %131 131: ; preds = %125 %132 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.8, ptr noundef null) #2 br label %133 133: ; preds = %125, %131, %121, %112 %134 = load i32, ptr @ZEND_OPTIMIZER_PASS_13, align 4, !tbaa !14 %135 = load i32, ptr %16, align 4, !tbaa !15 %136 = and i32 %135, %134 %137 = icmp eq i32 %136, 0 br i1 %137, label %154, label %138 138: ; preds = %133 %139 = load i32, ptr @ZEND_OPTIMIZER_PASS_6, align 4, !tbaa !14 %140 = and i32 %139, %135 %141 = icmp eq i32 %140, 0 br i1 %141, label %146, label %142 142: ; preds = %138 %143 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !14 %144 = and i32 %143, %135 %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %154 146: ; preds = %142, %138 %147 = tail call i32 @zend_optimizer_compact_vars(ptr noundef nonnull %0) #2 %148 = load i32, ptr %1, align 4, !tbaa !11 %149 = load i32, ptr @ZEND_DUMP_AFTER_PASS_13, align 4, !tbaa !14 %150 = and i32 %149, %148 %151 = icmp eq i32 %150, 0 br i1 %151, label %154, label %152 152: ; preds = %146 %153 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef null) #2 br label %154 154: ; preds = %146, %152, %142, %133 %155 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !14 %156 = load i32, ptr %16, align 4, !tbaa !15 %157 = and i32 %156, %155 %158 = icmp eq i32 %157, 0 br i1 %158, label %159, label %166 159: ; preds = %154 %160 = load i32, ptr %1, align 4, !tbaa !11 %161 = load i32, ptr @ZEND_DUMP_AFTER_OPTIMIZER, align 4, !tbaa !14 %162 = and i32 %161, %160 %163 = icmp eq i32 %162, 0 br i1 %163, label %166, label %164 164: ; preds = %159 %165 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.10, ptr noundef null) #2 br label %166 166: ; preds = %154, %2, %164, %159 ret void } declare i32 @zend_dump_op_array(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_pass1(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_pass3(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_func_calls(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_cfg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_dfa(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_temporary_variables(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_nop_removal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_compact_literals(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_compact_vars(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_24__", !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, !13, i64 0} !12 = !{!"TYPE_23__", !13, i64 0, !13, i64 4} !13 = !{!"int", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 4}
; ModuleID = 'AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_optimizer.c_zend_optimize.c' source_filename = "AnghaBench/php-src/ext/opcache/Optimizer/extr_zend_optimizer.c_zend_optimize.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ZEND_EVAL_CODE = common local_unnamed_addr global i64 0, align 8 @ZEND_DUMP_BEFORE_OPTIMIZER = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_LIVE_RANGES = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"before optimizer\00", align 1 @ZEND_OPTIMIZER_PASS_1 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_1 = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"after pass 1\00", align 1 @ZEND_OPTIMIZER_PASS_3 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_3 = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [13 x i8] c"after pass 3\00", align 1 @ZEND_OPTIMIZER_PASS_4 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_4 = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [13 x i8] c"after pass 4\00", align 1 @ZEND_OPTIMIZER_PASS_5 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_5 = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [13 x i8] c"after pass 5\00", align 1 @ZEND_OPTIMIZER_PASS_6 = common local_unnamed_addr global i32 0, align 4 @ZEND_OPTIMIZER_PASS_7 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_6 = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [13 x i8] c"after pass 6\00", align 1 @ZEND_OPTIMIZER_PASS_9 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_9 = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [13 x i8] c"after pass 9\00", align 1 @ZEND_OPTIMIZER_PASS_10 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_10 = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [14 x i8] c"after pass 10\00", align 1 @ZEND_OPTIMIZER_PASS_11 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_11 = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [14 x i8] c"after pass 11\00", align 1 @ZEND_OPTIMIZER_PASS_13 = common local_unnamed_addr global i32 0, align 4 @ZEND_DUMP_AFTER_PASS_13 = common local_unnamed_addr global i32 0, align 4 @.str.9 = private unnamed_addr constant [14 x i8] c"after pass 13\00", align 1 @ZEND_DUMP_AFTER_OPTIMIZER = common local_unnamed_addr global i32 0, align 4 @.str.10 = private unnamed_addr constant [16 x i8] c"after optimizer\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @zend_optimize], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @zend_optimize(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @ZEND_EVAL_CODE, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 br i1 %5, label %166, label %6 6: ; preds = %2 %7 = load i32, ptr %1, align 4, !tbaa !12 %8 = load i32, ptr @ZEND_DUMP_BEFORE_OPTIMIZER, align 4, !tbaa !15 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %14, label %11 11: ; preds = %6 %12 = load i32, ptr @ZEND_DUMP_LIVE_RANGES, align 4, !tbaa !15 %13 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull @.str, ptr noundef null) #2 br label %14 14: ; preds = %11, %6 %15 = load i32, ptr @ZEND_OPTIMIZER_PASS_1, align 4, !tbaa !15 %16 = getelementptr inbounds i8, ptr %1, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !16 %18 = and i32 %17, %15 %19 = icmp eq i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %14 %21 = tail call i32 @zend_optimizer_pass1(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %22 = load i32, ptr %1, align 4, !tbaa !12 %23 = load i32, ptr @ZEND_DUMP_AFTER_PASS_1, align 4, !tbaa !15 %24 = and i32 %23, %22 %25 = icmp eq i32 %24, 0 br i1 %25, label %28, label %26 26: ; preds = %20 %27 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.1, ptr noundef null) #2 br label %28 28: ; preds = %20, %26, %14 %29 = load i32, ptr @ZEND_OPTIMIZER_PASS_3, align 4, !tbaa !15 %30 = load i32, ptr %16, align 4, !tbaa !16 %31 = and i32 %30, %29 %32 = icmp eq i32 %31, 0 br i1 %32, label %41, label %33 33: ; preds = %28 %34 = tail call i32 @zend_optimizer_pass3(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %35 = load i32, ptr %1, align 4, !tbaa !12 %36 = load i32, ptr @ZEND_DUMP_AFTER_PASS_3, align 4, !tbaa !15 %37 = and i32 %36, %35 %38 = icmp eq i32 %37, 0 br i1 %38, label %41, label %39 39: ; preds = %33 %40 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.2, ptr noundef null) #2 br label %41 41: ; preds = %33, %39, %28 %42 = load i32, ptr @ZEND_OPTIMIZER_PASS_4, align 4, !tbaa !15 %43 = load i32, ptr %16, align 4, !tbaa !16 %44 = and i32 %43, %42 %45 = icmp eq i32 %44, 0 br i1 %45, label %54, label %46 46: ; preds = %41 %47 = tail call i32 @zend_optimize_func_calls(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %48 = load i32, ptr %1, align 4, !tbaa !12 %49 = load i32, ptr @ZEND_DUMP_AFTER_PASS_4, align 4, !tbaa !15 %50 = and i32 %49, %48 %51 = icmp eq i32 %50, 0 br i1 %51, label %54, label %52 52: ; preds = %46 %53 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.3, ptr noundef null) #2 br label %54 54: ; preds = %46, %52, %41 %55 = load i32, ptr @ZEND_OPTIMIZER_PASS_5, align 4, !tbaa !15 %56 = load i32, ptr %16, align 4, !tbaa !16 %57 = and i32 %56, %55 %58 = icmp eq i32 %57, 0 br i1 %58, label %67, label %59 59: ; preds = %54 %60 = tail call i32 @zend_optimize_cfg(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %61 = load i32, ptr %1, align 4, !tbaa !12 %62 = load i32, ptr @ZEND_DUMP_AFTER_PASS_5, align 4, !tbaa !15 %63 = and i32 %62, %61 %64 = icmp eq i32 %63, 0 br i1 %64, label %67, label %65 65: ; preds = %59 %66 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.4, ptr noundef null) #2 br label %67 67: ; preds = %59, %65, %54 %68 = load i32, ptr @ZEND_OPTIMIZER_PASS_6, align 4, !tbaa !15 %69 = load i32, ptr %16, align 4, !tbaa !16 %70 = and i32 %69, %68 %71 = icmp eq i32 %70, 0 br i1 %71, label %84, label %72 72: ; preds = %67 %73 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !15 %74 = and i32 %73, %69 %75 = icmp eq i32 %74, 0 br i1 %75, label %76, label %84 76: ; preds = %72 %77 = tail call i32 @zend_optimize_dfa(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %78 = load i32, ptr %1, align 4, !tbaa !12 %79 = load i32, ptr @ZEND_DUMP_AFTER_PASS_6, align 4, !tbaa !15 %80 = and i32 %79, %78 %81 = icmp eq i32 %80, 0 br i1 %81, label %84, label %82 82: ; preds = %76 %83 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.5, ptr noundef null) #2 br label %84 84: ; preds = %76, %82, %72, %67 %85 = load i32, ptr @ZEND_OPTIMIZER_PASS_9, align 4, !tbaa !15 %86 = load i32, ptr %16, align 4, !tbaa !16 %87 = and i32 %86, %85 %88 = icmp eq i32 %87, 0 br i1 %88, label %97, label %89 89: ; preds = %84 %90 = tail call i32 @zend_optimize_temporary_variables(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %91 = load i32, ptr %1, align 4, !tbaa !12 %92 = load i32, ptr @ZEND_DUMP_AFTER_PASS_9, align 4, !tbaa !15 %93 = and i32 %92, %91 %94 = icmp eq i32 %93, 0 br i1 %94, label %97, label %95 95: ; preds = %89 %96 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.6, ptr noundef null) #2 br label %97 97: ; preds = %89, %95, %84 %98 = load i32, ptr @ZEND_OPTIMIZER_PASS_10, align 4, !tbaa !15 %99 = load i32, ptr @ZEND_OPTIMIZER_PASS_5, align 4, !tbaa !15 %100 = or i32 %99, %98 %101 = load i32, ptr %16, align 4, !tbaa !16 %102 = and i32 %100, %101 %103 = icmp eq i32 %102, %98 br i1 %103, label %104, label %112 104: ; preds = %97 %105 = tail call i32 @zend_optimizer_nop_removal(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %106 = load i32, ptr %1, align 4, !tbaa !12 %107 = load i32, ptr @ZEND_DUMP_AFTER_PASS_10, align 4, !tbaa !15 %108 = and i32 %107, %106 %109 = icmp eq i32 %108, 0 br i1 %109, label %112, label %110 110: ; preds = %104 %111 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.7, ptr noundef null) #2 br label %112 112: ; preds = %104, %110, %97 %113 = load i32, ptr @ZEND_OPTIMIZER_PASS_11, align 4, !tbaa !15 %114 = load i32, ptr %16, align 4, !tbaa !16 %115 = and i32 %114, %113 %116 = icmp eq i32 %115, 0 br i1 %116, label %133, label %117 117: ; preds = %112 %118 = load i32, ptr @ZEND_OPTIMIZER_PASS_6, align 4, !tbaa !15 %119 = and i32 %118, %114 %120 = icmp eq i32 %119, 0 br i1 %120, label %125, label %121 121: ; preds = %117 %122 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !15 %123 = and i32 %122, %114 %124 = icmp eq i32 %123, 0 br i1 %124, label %125, label %133 125: ; preds = %121, %117 %126 = tail call i32 @zend_optimizer_compact_literals(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 %127 = load i32, ptr %1, align 4, !tbaa !12 %128 = load i32, ptr @ZEND_DUMP_AFTER_PASS_11, align 4, !tbaa !15 %129 = and i32 %128, %127 %130 = icmp eq i32 %129, 0 br i1 %130, label %133, label %131 131: ; preds = %125 %132 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.8, ptr noundef null) #2 br label %133 133: ; preds = %125, %131, %121, %112 %134 = load i32, ptr @ZEND_OPTIMIZER_PASS_13, align 4, !tbaa !15 %135 = load i32, ptr %16, align 4, !tbaa !16 %136 = and i32 %135, %134 %137 = icmp eq i32 %136, 0 br i1 %137, label %154, label %138 138: ; preds = %133 %139 = load i32, ptr @ZEND_OPTIMIZER_PASS_6, align 4, !tbaa !15 %140 = and i32 %139, %135 %141 = icmp eq i32 %140, 0 br i1 %141, label %146, label %142 142: ; preds = %138 %143 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !15 %144 = and i32 %143, %135 %145 = icmp eq i32 %144, 0 br i1 %145, label %146, label %154 146: ; preds = %142, %138 %147 = tail call i32 @zend_optimizer_compact_vars(ptr noundef nonnull %0) #2 %148 = load i32, ptr %1, align 4, !tbaa !12 %149 = load i32, ptr @ZEND_DUMP_AFTER_PASS_13, align 4, !tbaa !15 %150 = and i32 %149, %148 %151 = icmp eq i32 %150, 0 br i1 %151, label %154, label %152 152: ; preds = %146 %153 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.9, ptr noundef null) #2 br label %154 154: ; preds = %146, %152, %142, %133 %155 = load i32, ptr @ZEND_OPTIMIZER_PASS_7, align 4, !tbaa !15 %156 = load i32, ptr %16, align 4, !tbaa !16 %157 = and i32 %156, %155 %158 = icmp eq i32 %157, 0 br i1 %158, label %159, label %166 159: ; preds = %154 %160 = load i32, ptr %1, align 4, !tbaa !12 %161 = load i32, ptr @ZEND_DUMP_AFTER_OPTIMIZER, align 4, !tbaa !15 %162 = and i32 %161, %160 %163 = icmp eq i32 %162, 0 br i1 %163, label %166, label %164 164: ; preds = %159 %165 = tail call i32 @zend_dump_op_array(ptr noundef nonnull %0, i32 noundef 0, ptr noundef nonnull @.str.10, ptr noundef null) #2 br label %166 166: ; preds = %154, %2, %164, %159 ret void } declare i32 @zend_dump_op_array(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_pass1(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_pass3(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_func_calls(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_cfg(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_dfa(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimize_temporary_variables(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_nop_removal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_compact_literals(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @zend_optimizer_compact_vars(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_24__", !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, !14, i64 0} !13 = !{!"TYPE_23__", !14, i64 0, !14, i64 4} !14 = !{!"int", !9, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 4}
php-src_ext_opcache_Optimizer_extr_zend_optimizer.c_zend_optimize
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_mac80211.c_iwl_mvm_mu_mimo_iface_iterator.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_mac80211.c_iwl_mvm_mu_mimo_iface_iterator.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.iwl_mu_group_mgmt_notif = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @iwl_mvm_mu_mimo_iface_iterator], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @iwl_mvm_mu_mimo_iface_iterator(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i64, ptr %2, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.iwl_mu_group_mgmt_notif, ptr %0, i64 0, i32 1 %8 = tail call i32 @ieee80211_update_mu_groups(ptr noundef nonnull %2, ptr noundef nonnull %7, ptr noundef %0) #2 br label %9 9: ; preds = %6, %3 ret void } declare i32 @ieee80211_update_mu_groups(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ieee80211_vif", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_mac80211.c_iwl_mvm_mu_mimo_iface_iterator.c' source_filename = "AnghaBench/linux/drivers/net/wireless/intel/iwlwifi/mvm/extr_mac80211.c_iwl_mvm_mu_mimo_iface_iterator.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 @iwl_mvm_mu_mimo_iface_iterator], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @iwl_mvm_mu_mimo_iface_iterator(ptr noundef %0, ptr nocapture readnone %1, ptr noundef %2) #0 { %4 = load i64, ptr %2, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = tail call i32 @ieee80211_update_mu_groups(ptr noundef nonnull %2, ptr noundef nonnull %7, ptr noundef %0) #2 br label %9 9: ; preds = %6, %3 ret void } declare i32 @ieee80211_update_mu_groups(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ieee80211_vif", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_intel_iwlwifi_mvm_extr_mac80211.c_iwl_mvm_mu_mimo_iface_iterator
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_prepare_read_cmd.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_prepare_read_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.iscsi_task = type { i32, ptr } %struct.iscsi_iser_task = type { ptr, ptr, i32, ptr, %struct.TYPE_3__ } %struct.TYPE_3__ = type { %struct.iser_ctrl } %struct.iser_ctrl = type { i32, i32, i32 } %struct.iser_data_buf = type { i32 } %struct.iser_mem_reg = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i64 } @ISER_DIR_IN = dso_local local_unnamed_addr global i64 0, align 8 @DMA_FROM_DEVICE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Failed to set up Data-IN RDMA\0A\00", align 1 @ISER_RSV = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"Cmd itt:%d READ tags RKEY:%#.4X VA:%#llX\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @iser_prepare_read_cmd], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @iser_prepare_read_cmd(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds %struct.iscsi_task, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.iscsi_iser_task, ptr %3, i64 0, i32 4 %5 = getelementptr inbounds %struct.iscsi_iser_task, ptr %3, i64 0, i32 3 %6 = load ptr, ptr %5, align 8, !tbaa !11 %7 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !15 %8 = getelementptr inbounds %struct.iser_data_buf, ptr %6, i64 %7 %9 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !17 %10 = tail call i32 @iser_dma_map_task_data(ptr noundef %3, ptr noundef %8, i64 noundef %7, i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %49 12: ; preds = %1 %13 = getelementptr inbounds %struct.iscsi_iser_task, ptr %3, i64 0, i32 2 %14 = load i32, ptr %13, align 8, !tbaa !18 %15 = tail call i64 @scsi_prot_sg_count(i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %12 %18 = getelementptr inbounds %struct.iscsi_iser_task, ptr %3, i64 0, i32 1 %19 = load ptr, ptr %18, align 8, !tbaa !19 %20 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !15 %21 = getelementptr inbounds %struct.iser_data_buf, ptr %19, i64 %20 %22 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !17 %23 = tail call i32 @iser_dma_map_task_data(ptr noundef nonnull %3, ptr noundef %21, i64 noundef %20, i32 noundef %22) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %49 25: ; preds = %17, %12 %26 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !15 %27 = tail call i32 @iser_reg_rdma_mem(ptr noundef nonnull %3, i64 noundef %26, i32 noundef 0) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = tail call i32 @iser_err(ptr noundef nonnull @.str) #2 br label %49 31: ; preds = %25 %32 = load ptr, ptr %3, align 8, !tbaa !20 %33 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !15 %34 = getelementptr inbounds %struct.iser_mem_reg, ptr %32, i64 %33 %35 = load i32, ptr @ISER_RSV, align 4, !tbaa !17 %36 = getelementptr inbounds %struct.iscsi_iser_task, ptr %3, i64 0, i32 4, i32 0, i32 2 %37 = load i32, ptr %36, align 4, !tbaa !21 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 4, !tbaa !21 %39 = getelementptr inbounds %struct.iser_mem_reg, ptr %32, i64 %33, i32 1 %40 = load i32, ptr %39, align 8, !tbaa !22 %41 = tail call i32 @cpu_to_be32(i32 noundef %40) #2 %42 = getelementptr inbounds %struct.iscsi_iser_task, ptr %3, i64 0, i32 4, i32 0, i32 1 store i32 %41, ptr %42, align 4, !tbaa !25 %43 = load i64, ptr %34, align 8, !tbaa !26 %44 = tail call i32 @cpu_to_be64(i64 noundef %43) #2 store i32 %44, ptr %4, align 4, !tbaa !27 %45 = load i32, ptr %0, align 8, !tbaa !28 %46 = load i32, ptr %39, align 8, !tbaa !22 %47 = load i64, ptr %34, align 8, !tbaa !26 %48 = tail call i32 @iser_dbg(ptr noundef nonnull @.str.1, i32 noundef %45, i32 noundef %46, i64 noundef %47) #2 br label %49 49: ; preds = %1, %17, %31, %29 %50 = phi i32 [ %27, %29 ], [ 0, %31 ], [ %23, %17 ], [ %10, %1 ] ret i32 %50 } declare i32 @iser_dma_map_task_data(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @scsi_prot_sg_count(i32 noundef) local_unnamed_addr #1 declare i32 @iser_reg_rdma_mem(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iser_err(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_be64(i64 noundef) local_unnamed_addr #1 declare i32 @iser_dbg(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 8} !6 = !{!"iscsi_task", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 24} !12 = !{!"iscsi_iser_task", !10, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !13, i64 32} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"iser_ctrl", !7, i64 0, !7, i64 4, !7, i64 8} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!7, !7, i64 0} !18 = !{!12, !7, i64 16} !19 = !{!12, !10, i64 8} !20 = !{!12, !10, i64 0} !21 = !{!14, !7, i64 8} !22 = !{!23, !7, i64 8} !23 = !{!"iser_mem_reg", !24, i64 0, !7, i64 8} !24 = !{!"TYPE_4__", !16, i64 0} !25 = !{!14, !7, i64 4} !26 = !{!23, !16, i64 0} !27 = !{!14, !7, i64 0} !28 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_prepare_read_cmd.c' source_filename = "AnghaBench/linux/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_prepare_read_cmd.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.iser_data_buf = type { i32 } %struct.iser_mem_reg = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { i64 } @ISER_DIR_IN = common local_unnamed_addr global i64 0, align 8 @DMA_FROM_DEVICE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [31 x i8] c"Failed to set up Data-IN RDMA\0A\00", align 1 @ISER_RSV = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [42 x i8] c"Cmd itt:%d READ tags RKEY:%#.4X VA:%#llX\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @iser_prepare_read_cmd], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @iser_prepare_read_cmd(ptr nocapture noundef readonly %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %3, i64 32 %5 = getelementptr inbounds i8, ptr %3, i64 24 %6 = load ptr, ptr %5, align 8, !tbaa !12 %7 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !16 %8 = getelementptr inbounds %struct.iser_data_buf, ptr %6, i64 %7 %9 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !18 %10 = tail call i32 @iser_dma_map_task_data(ptr noundef %3, ptr noundef %8, i64 noundef %7, i32 noundef %9) #2 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %49 12: ; preds = %1 %13 = getelementptr inbounds i8, ptr %3, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !19 %15 = tail call i64 @scsi_prot_sg_count(i32 noundef %14) #2 %16 = icmp eq i64 %15, 0 br i1 %16, label %25, label %17 17: ; preds = %12 %18 = getelementptr inbounds i8, ptr %3, i64 8 %19 = load ptr, ptr %18, align 8, !tbaa !20 %20 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !16 %21 = getelementptr inbounds %struct.iser_data_buf, ptr %19, i64 %20 %22 = load i32, ptr @DMA_FROM_DEVICE, align 4, !tbaa !18 %23 = tail call i32 @iser_dma_map_task_data(ptr noundef nonnull %3, ptr noundef %21, i64 noundef %20, i32 noundef %22) #2 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %49 25: ; preds = %17, %12 %26 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !16 %27 = tail call i32 @iser_reg_rdma_mem(ptr noundef nonnull %3, i64 noundef %26, i32 noundef 0) #2 %28 = icmp eq i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = tail call i32 @iser_err(ptr noundef nonnull @.str) #2 br label %49 31: ; preds = %25 %32 = load ptr, ptr %3, align 8, !tbaa !21 %33 = load i64, ptr @ISER_DIR_IN, align 8, !tbaa !16 %34 = getelementptr inbounds %struct.iser_mem_reg, ptr %32, i64 %33 %35 = load i32, ptr @ISER_RSV, align 4, !tbaa !18 %36 = getelementptr inbounds i8, ptr %3, i64 40 %37 = load i32, ptr %36, align 4, !tbaa !22 %38 = or i32 %37, %35 store i32 %38, ptr %36, align 4, !tbaa !22 %39 = getelementptr inbounds i8, ptr %34, i64 8 %40 = load i32, ptr %39, align 8, !tbaa !23 %41 = tail call i32 @cpu_to_be32(i32 noundef %40) #2 %42 = getelementptr inbounds i8, ptr %3, i64 36 store i32 %41, ptr %42, align 4, !tbaa !26 %43 = load i64, ptr %34, align 8, !tbaa !27 %44 = tail call i32 @cpu_to_be64(i64 noundef %43) #2 store i32 %44, ptr %4, align 4, !tbaa !28 %45 = load i32, ptr %0, align 8, !tbaa !29 %46 = load i32, ptr %39, align 8, !tbaa !23 %47 = load i64, ptr %34, align 8, !tbaa !27 %48 = tail call i32 @iser_dbg(ptr noundef nonnull @.str.1, i32 noundef %45, i32 noundef %46, i64 noundef %47) #2 br label %49 49: ; preds = %1, %17, %31, %29 %50 = phi i32 [ %27, %29 ], [ 0, %31 ], [ %23, %17 ], [ %10, %1 ] ret i32 %50 } declare i32 @iser_dma_map_task_data(ptr noundef, ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @scsi_prot_sg_count(i32 noundef) local_unnamed_addr #1 declare i32 @iser_reg_rdma_mem(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @iser_err(ptr noundef) local_unnamed_addr #1 declare i32 @cpu_to_be32(i32 noundef) local_unnamed_addr #1 declare i32 @cpu_to_be64(i64 noundef) local_unnamed_addr #1 declare i32 @iser_dbg(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 8} !7 = !{!"iscsi_task", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 24} !13 = !{!"iscsi_iser_task", !11, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !14, i64 32} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"iser_ctrl", !8, i64 0, !8, i64 4, !8, i64 8} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0} !18 = !{!8, !8, i64 0} !19 = !{!13, !8, i64 16} !20 = !{!13, !11, i64 8} !21 = !{!13, !11, i64 0} !22 = !{!15, !8, i64 8} !23 = !{!24, !8, i64 8} !24 = !{!"iser_mem_reg", !25, i64 0, !8, i64 8} !25 = !{!"TYPE_4__", !17, i64 0} !26 = !{!15, !8, i64 4} !27 = !{!24, !17, i64 0} !28 = !{!15, !8, i64 0} !29 = !{!7, !8, i64 0}
linux_drivers_infiniband_ulp_iser_extr_iser_initiator.c_iser_prepare_read_cmd
; ModuleID = 'AnghaBench/linux/fs/overlayfs/extr_inode.c_ovl_get_nlink.c' source_filename = "AnghaBench/linux/fs/overlayfs/extr_inode.c_ovl_get_nlink.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @OVL_XATTR_NLINK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"overlayfs: failed to get index nlink (%pd2, err=%i)\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @ovl_get_nlink(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca [13 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %5) #3 %6 = icmp ne ptr %0, null %7 = icmp ne ptr %1, null %8 = and i1 %6, %7 br i1 %8, label %9, label %39 9: ; preds = %3 %10 = tail call ptr @d_inode(ptr noundef nonnull %0) #3 %11 = load i32, ptr %10, align 4, !tbaa !5 %12 = icmp eq i32 %11, 1 br i1 %12, label %39, label %13 13: ; preds = %9 %14 = load i32, ptr @OVL_XATTR_NLINK, align 4, !tbaa !10 %15 = call i32 @vfs_getxattr(ptr noundef nonnull %1, i32 noundef %14, ptr noundef nonnull %5, i32 noundef 12) #3 %16 = icmp slt i32 %15, 0 br i1 %16, label %36, label %17 17: ; preds = %13 %18 = zext nneg i32 %15 to i64 %19 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 %18 store i8 0, ptr %19, align 1, !tbaa !11 %20 = load i8, ptr %5, align 1 switch i8 %20, label %36 [ i8 85, label %21 i8 76, label %21 ] 21: ; preds = %17, %17 %22 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 1 %23 = load i8, ptr %22, align 1 switch i8 %23, label %36 [ i8 45, label %24 i8 43, label %24 ] 24: ; preds = %21, %21 %25 = call i32 @kstrtoint(ptr noundef nonnull %22, i32 noundef 10, ptr noundef nonnull %4) #3 %26 = icmp slt i32 %25, 0 br i1 %26, label %36, label %27 27: ; preds = %24 %28 = load i8, ptr %5, align 1, !tbaa !11 %29 = icmp eq i8 %28, 76 %30 = select i1 %29, ptr %0, ptr %1 %31 = call ptr @d_inode(ptr noundef nonnull %30) #3 %32 = load i32, ptr %31, align 4, !tbaa !5 %33 = load i32, ptr %4, align 4, !tbaa !10 %34 = add nsw i32 %33, %32 %35 = icmp slt i32 %34, 1 br i1 %35, label %36, label %39 36: ; preds = %21, %17, %27, %24, %13 %37 = phi i32 [ %15, %13 ], [ %15, %17 ], [ %15, %21 ], [ %25, %24 ], [ %25, %27 ] %38 = call i32 @pr_warn_ratelimited(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef %37) #3 br label %39 39: ; preds = %27, %3, %9, %36 %40 = phi i32 [ %2, %36 ], [ %2, %9 ], [ %2, %3 ], [ %34, %27 ] call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @d_inode(ptr noundef) local_unnamed_addr #2 declare i32 @vfs_getxattr(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_warn_ratelimited(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_2__", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/fs/overlayfs/extr_inode.c_ovl_get_nlink.c' source_filename = "AnghaBench/linux/fs/overlayfs/extr_inode.c_ovl_get_nlink.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @OVL_XATTR_NLINK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"overlayfs: failed to get index nlink (%pd2, err=%i)\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ovl_get_nlink(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = alloca i32, align 4 %5 = alloca [13 x i8], align 1 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 13, ptr nonnull %5) #3 %6 = icmp ne ptr %0, null %7 = icmp ne ptr %1, null %8 = and i1 %6, %7 br i1 %8, label %9, label %39 9: ; preds = %3 %10 = tail call ptr @d_inode(ptr noundef nonnull %0) #3 %11 = load i32, ptr %10, align 4, !tbaa !6 %12 = icmp eq i32 %11, 1 br i1 %12, label %39, label %13 13: ; preds = %9 %14 = load i32, ptr @OVL_XATTR_NLINK, align 4, !tbaa !11 %15 = call i32 @vfs_getxattr(ptr noundef nonnull %1, i32 noundef %14, ptr noundef nonnull %5, i32 noundef 12) #3 %16 = icmp slt i32 %15, 0 br i1 %16, label %36, label %17 17: ; preds = %13 %18 = zext nneg i32 %15 to i64 %19 = getelementptr inbounds [13 x i8], ptr %5, i64 0, i64 %18 store i8 0, ptr %19, align 1, !tbaa !12 %20 = load i8, ptr %5, align 1 switch i8 %20, label %36 [ i8 85, label %21 i8 76, label %21 ] 21: ; preds = %17, %17 %22 = getelementptr inbounds i8, ptr %5, i64 1 %23 = load i8, ptr %22, align 1 switch i8 %23, label %36 [ i8 45, label %24 i8 43, label %24 ] 24: ; preds = %21, %21 %25 = call i32 @kstrtoint(ptr noundef nonnull %22, i32 noundef 10, ptr noundef nonnull %4) #3 %26 = icmp slt i32 %25, 0 br i1 %26, label %36, label %27 27: ; preds = %24 %28 = load i8, ptr %5, align 1, !tbaa !12 %29 = icmp eq i8 %28, 76 %30 = select i1 %29, ptr %0, ptr %1 %31 = call ptr @d_inode(ptr noundef nonnull %30) #3 %32 = load i32, ptr %31, align 4, !tbaa !6 %33 = load i32, ptr %4, align 4, !tbaa !11 %34 = add nsw i32 %33, %32 %35 = icmp slt i32 %34, 1 br i1 %35, label %36, label %39 36: ; preds = %21, %17, %27, %24, %13 %37 = phi i32 [ %15, %13 ], [ %15, %17 ], [ %15, %21 ], [ %25, %24 ], [ %25, %27 ] %38 = call i32 @pr_warn_ratelimited(ptr noundef nonnull @.str, ptr noundef nonnull %1, i32 noundef %37) #3 br label %39 39: ; preds = %27, %3, %9, %36 %40 = phi i32 [ %2, %36 ], [ %2, %9 ], [ %2, %3 ], [ %34, %27 ] call void @llvm.lifetime.end.p0(i64 13, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i32 %40 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @d_inode(ptr noundef) local_unnamed_addr #2 declare i32 @vfs_getxattr(ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @kstrtoint(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_warn_ratelimited(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!9, !9, i64 0}
linux_fs_overlayfs_extr_inode.c_ovl_get_nlink
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_asb100.c_ASB100_PWM_TO_REG.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_asb100.c_ASB100_PWM_TO_REG.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ASB100_PWM_TO_REG], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ASB100_PWM_TO_REG(i32 noundef %0) #0 { %2 = tail call i32 @clamp_val(i32 noundef %0, i32 noundef 0, i32 noundef 255) #2 %3 = sdiv i32 %2, 16 ret i32 %3 } declare i32 @clamp_val(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/hwmon/extr_asb100.c_ASB100_PWM_TO_REG.c' source_filename = "AnghaBench/linux/drivers/hwmon/extr_asb100.c_ASB100_PWM_TO_REG.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ASB100_PWM_TO_REG], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -134217728, 134217728) i32 @ASB100_PWM_TO_REG(i32 noundef %0) #0 { %2 = tail call i32 @clamp_val(i32 noundef %0, i32 noundef 0, i32 noundef 255) #2 %3 = sdiv i32 %2, 16 ret i32 %3 } declare i32 @clamp_val(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)"}
linux_drivers_hwmon_extr_asb100.c_ASB100_PWM_TO_REG
; ModuleID = 'AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-i2c.c_usbvision_i2c_xfer.c' source_filename = "AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-i2c.c_usbvision_i2c_xfer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.i2c_msg = type { i32, i32, i32 } @DBG_I2C = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"got NAK from device, message #%d\00", align 1 @EREMOTEIO = dso_local local_unnamed_addr global i32 0, align 4 @I2C_M_RD = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @usbvision_i2c_xfer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @usbvision_i2c_xfer(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3 store i8 0, ptr %4, align 1, !tbaa !5 %5 = tail call i64 @i2c_get_adapdata(ptr noundef %0) #3 %6 = inttoptr i64 %5 to ptr %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %55 8: ; preds = %3 %9 = zext nneg i32 %2 to i64 br label %10 10: ; preds = %8, %52 %11 = phi i64 [ 0, %8 ], [ %53, %52 ] %12 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %11 %13 = load i32, ptr %0, align 4, !tbaa !8 %14 = call i32 @usb_find_address(ptr noundef nonnull %0, ptr noundef %12, i32 noundef %13, ptr noundef nonnull %4) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %10 %17 = trunc i64 %11 to i32 %18 = load i32, ptr @DBG_I2C, align 4, !tbaa !11 %19 = call i32 @PDEBUG(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %17) #3 %20 = icmp slt i32 %14, 0 %21 = load i32, ptr @EREMOTEIO, align 4 %22 = sub nsw i32 0, %21 %23 = select i1 %20, i32 %14, i32 %22 br label %55 24: ; preds = %10 %25 = load i32, ptr %12, align 4, !tbaa !12 %26 = load i32, ptr @I2C_M_RD, align 4, !tbaa !11 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 %29 = load i8, ptr %4, align 1, !tbaa !5 %30 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %11, i32 2 %31 = load i32, ptr %30, align 4, !tbaa !14 %32 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %11, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !15 br i1 %28, label %43, label %34 34: ; preds = %24 %35 = call i32 @usbvision_i2c_read(ptr noundef %6, i8 noundef zeroext %29, i32 noundef %31, i32 noundef %33) #3 %36 = load i32, ptr %32, align 4, !tbaa !15 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %52 38: ; preds = %34 %39 = icmp slt i32 %35, 0 %40 = load i32, ptr @EREMOTEIO, align 4 %41 = sub nsw i32 0, %40 %42 = select i1 %39, i32 %35, i32 %41 br label %55 43: ; preds = %24 %44 = call i32 @usbvision_i2c_write(ptr noundef %6, i8 noundef zeroext %29, i32 noundef %31, i32 noundef %33) #3 %45 = load i32, ptr %32, align 4, !tbaa !15 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = icmp slt i32 %44, 0 %49 = load i32, ptr @EREMOTEIO, align 4 %50 = sub nsw i32 0, %49 %51 = select i1 %48, i32 %44, i32 %50 br label %55 52: ; preds = %34, %43 %53 = add nuw nsw i64 %11, 1 %54 = icmp eq i64 %53, %9 br i1 %54, label %55, label %10, !llvm.loop !16 55: ; preds = %52, %3, %47, %38, %16 %56 = phi i32 [ %23, %16 ], [ %42, %38 ], [ %51, %47 ], [ %2, %3 ], [ %2, %52 ] call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @i2c_get_adapdata(ptr noundef) local_unnamed_addr #2 declare i32 @usb_find_address(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PDEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbvision_i2c_read(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbvision_i2c_write(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !10, i64 0} !9 = !{!"i2c_adapter", !10, i64 0} !10 = !{!"int", !6, i64 0} !11 = !{!10, !10, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"i2c_msg", !10, i64 0, !10, i64 4, !10, i64 8} !14 = !{!13, !10, i64 8} !15 = !{!13, !10, i64 4} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-i2c.c_usbvision_i2c_xfer.c' source_filename = "AnghaBench/linux/drivers/media/usb/usbvision/extr_usbvision-i2c.c_usbvision_i2c_xfer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.i2c_msg = type { i32, i32, i32 } @DBG_I2C = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"got NAK from device, message #%d\00", align 1 @EREMOTEIO = common local_unnamed_addr global i32 0, align 4 @I2C_M_RD = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @usbvision_i2c_xfer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @usbvision_i2c_xfer(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %4 = alloca i8, align 1 call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #3 store i8 0, ptr %4, align 1, !tbaa !6 %5 = tail call i64 @i2c_get_adapdata(ptr noundef %0) #3 %6 = inttoptr i64 %5 to ptr %7 = icmp sgt i32 %2, 0 br i1 %7, label %8, label %55 8: ; preds = %3 %9 = zext nneg i32 %2 to i64 br label %10 10: ; preds = %8, %52 %11 = phi i64 [ 0, %8 ], [ %53, %52 ] %12 = getelementptr inbounds %struct.i2c_msg, ptr %1, i64 %11 %13 = load i32, ptr %0, align 4, !tbaa !9 %14 = call i32 @usb_find_address(ptr noundef nonnull %0, ptr noundef %12, i32 noundef %13, ptr noundef nonnull %4) #3 %15 = icmp eq i32 %14, 0 br i1 %15, label %24, label %16 16: ; preds = %10 %17 = trunc nuw nsw i64 %11 to i32 %18 = load i32, ptr @DBG_I2C, align 4, !tbaa !12 %19 = call i32 @PDEBUG(i32 noundef %18, ptr noundef nonnull @.str, i32 noundef %17) #3 %20 = icmp slt i32 %14, 0 %21 = load i32, ptr @EREMOTEIO, align 4 %22 = sub nsw i32 0, %21 %23 = select i1 %20, i32 %14, i32 %22 br label %55 24: ; preds = %10 %25 = load i32, ptr %12, align 4, !tbaa !13 %26 = load i32, ptr @I2C_M_RD, align 4, !tbaa !12 %27 = and i32 %26, %25 %28 = icmp eq i32 %27, 0 %29 = load i8, ptr %4, align 1, !tbaa !6 %30 = getelementptr inbounds i8, ptr %12, i64 8 %31 = load i32, ptr %30, align 4, !tbaa !15 %32 = getelementptr inbounds i8, ptr %12, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !16 br i1 %28, label %43, label %34 34: ; preds = %24 %35 = call i32 @usbvision_i2c_read(ptr noundef %6, i8 noundef zeroext %29, i32 noundef %31, i32 noundef %33) #3 %36 = load i32, ptr %32, align 4, !tbaa !16 %37 = icmp slt i32 %35, %36 br i1 %37, label %38, label %52 38: ; preds = %34 %39 = icmp slt i32 %35, 0 %40 = load i32, ptr @EREMOTEIO, align 4 %41 = sub nsw i32 0, %40 %42 = select i1 %39, i32 %35, i32 %41 br label %55 43: ; preds = %24 %44 = call i32 @usbvision_i2c_write(ptr noundef %6, i8 noundef zeroext %29, i32 noundef %31, i32 noundef %33) #3 %45 = load i32, ptr %32, align 4, !tbaa !16 %46 = icmp slt i32 %44, %45 br i1 %46, label %47, label %52 47: ; preds = %43 %48 = icmp slt i32 %44, 0 %49 = load i32, ptr @EREMOTEIO, align 4 %50 = sub nsw i32 0, %49 %51 = select i1 %48, i32 %44, i32 %50 br label %55 52: ; preds = %34, %43 %53 = add nuw nsw i64 %11, 1 %54 = icmp eq i64 %53, %9 br i1 %54, label %55, label %10, !llvm.loop !17 55: ; preds = %52, %3, %47, %38, %16 %56 = phi i32 [ %23, %16 ], [ %42, %38 ], [ %51, %47 ], [ %2, %3 ], [ %2, %52 ] call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #3 ret i32 %56 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @i2c_get_adapdata(ptr noundef) local_unnamed_addr #2 declare i32 @usb_find_address(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @PDEBUG(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbvision_i2c_read(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @usbvision_i2c_write(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 0} !10 = !{!"i2c_adapter", !11, i64 0} !11 = !{!"int", !7, i64 0} !12 = !{!11, !11, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"i2c_msg", !11, i64 0, !11, i64 4, !11, i64 8} !15 = !{!14, !11, i64 8} !16 = !{!14, !11, i64 4} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
linux_drivers_media_usb_usbvision_extr_usbvision-i2c.c_usbvision_i2c_xfer
; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad_wgl.c_load_WGL_EXT_extensions_string.c' source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad_wgl.c_load_WGL_EXT_extensions_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" @GLAD_WGL_EXT_extensions_string = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"wglGetExtensionsStringEXT\00", align 1 @glad_wglGetExtensionsStringEXT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_WGL_EXT_extensions_string], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @load_WGL_EXT_extensions_string(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @GLAD_WGL_EXT_extensions_string, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i64 %0(ptr noundef nonnull @.str) #1 store i64 %5, ptr @glad_wglGetExtensionsStringEXT, align 8, !tbaa !9 br label %6 6: ; preds = %1, %4 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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad_wgl.c_load_WGL_EXT_extensions_string.c' source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad_wgl.c_load_WGL_EXT_extensions_string.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GLAD_WGL_EXT_extensions_string = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"wglGetExtensionsStringEXT\00", align 1 @glad_wglGetExtensionsStringEXT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @load_WGL_EXT_extensions_string], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @load_WGL_EXT_extensions_string(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @GLAD_WGL_EXT_extensions_string, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %6, label %4 4: ; preds = %1 %5 = tail call i64 %0(ptr noundef nonnull @.str) #1 store i64 %5, ptr @glad_wglGetExtensionsStringEXT, align 8, !tbaa !10 br label %6 6: ; preds = %1, %4 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, !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}
obs-studio_deps_glad_src_extr_glad_wgl.c_load_WGL_EXT_extensions_string
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/mshtml/extr_dom.c_test_stylesheet.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/mshtml/extr_dom.c_test_stylesheet.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @DIID_DispHTMLStyleSheet = dso_local global i32 0, align 4 @IID_IHTMLStyleSheet = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"[object]\00", align 1 @S_OK = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [37 x i8] c"Could not get IHTMLStyleSheet: %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"get_rules failed: %08x\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"col == NULL\0A\00", align 1 @DIID_DispHTMLStyleSheetRulesCollection = dso_local global i32 0, align 4 @IID_IHTMLStyleSheetRulesCollection = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [23 x i8] c"get_href failed: %08x\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"got href != NULL\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c".body {\00", align 1 @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [57 x i8] c".div { margin-right: 1px; }\0A.body { margin-right: 2px; }\00", align 1 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [7 x i8] c".div {\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [28 x i8] c".div { margin-right: 1px; }\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @test_stylesheet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @test_stylesheet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @test_disp2(ptr noundef %0, ptr noundef nonnull @DIID_DispHTMLStyleSheet, ptr noundef nonnull @IID_IHTMLStyleSheet, ptr noundef nonnull @.str) #3 %6 = call i64 @IDispatch_QueryInterface(ptr noundef %0, ptr noundef nonnull @IID_IHTMLStyleSheet, ptr noundef nonnull %3) #3 %7 = load i64, ptr @S_OK, align 8, !tbaa !9 %8 = icmp eq i64 %6, %7 %9 = zext i1 %8 to i32 %10 = call i32 (i32, ptr, ...) @ok(i32 noundef %9, ptr noundef nonnull @.str.1, i64 noundef %6) #3 %11 = load ptr, ptr %3, align 8, !tbaa !5 %12 = call i64 @IHTMLStyleSheet_get_rules(ptr noundef %11, ptr noundef nonnull %2) #3 %13 = load i64, ptr @S_OK, align 8, !tbaa !9 %14 = icmp eq i64 %12, %13 %15 = zext i1 %14 to i32 %16 = call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.2, i64 noundef %12) #3 %17 = load ptr, ptr %2, align 8, !tbaa !5 %18 = icmp ne ptr %17, null %19 = zext i1 %18 to i32 %20 = call i32 (i32, ptr, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.3) #3 %21 = load ptr, ptr %2, align 8, !tbaa !5 %22 = call i32 @test_disp2(ptr noundef %21, ptr noundef nonnull @DIID_DispHTMLStyleSheetRulesCollection, ptr noundef nonnull @IID_IHTMLStyleSheetRulesCollection, ptr noundef nonnull @.str) #3 %23 = load ptr, ptr %2, align 8, !tbaa !5 %24 = call i32 @IHTMLStyleSheetRulesCollection_Release(ptr noundef %23) #3 store ptr inttoptr (i64 3735928559 to ptr), ptr %4, align 8, !tbaa !5 %25 = load ptr, ptr %3, align 8, !tbaa !5 %26 = call i64 @IHTMLStyleSheet_get_href(ptr noundef %25, ptr noundef nonnull %4) #3 %27 = load i64, ptr @S_OK, align 8, !tbaa !9 %28 = icmp eq i64 %26, %27 %29 = zext i1 %28 to i32 %30 = call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.4, i64 noundef %26) #3 %31 = load ptr, ptr %4, align 8, !tbaa !5 %32 = icmp eq ptr %31, null %33 = zext i1 %32 to i32 %34 = call i32 (i32, ptr, ...) @ok(i32 noundef %33, ptr noundef nonnull @.str.5) #3 %35 = load ptr, ptr %4, align 8, !tbaa !5 %36 = call i32 @SysFreeString(ptr noundef %35) #3 %37 = load ptr, ptr %3, align 8, !tbaa !5 %38 = load i32, ptr @FALSE, align 4, !tbaa !11 %39 = call i32 @test_stylesheet_csstext(ptr noundef %37, ptr noundef nonnull @.str.6, i32 noundef %38) #3 %40 = load ptr, ptr %3, align 8, !tbaa !5 %41 = load i32, ptr @TRUE, align 4, !tbaa !11 %42 = call i32 @set_stylesheet_csstext(ptr noundef %40, ptr noundef nonnull @.str.7, i32 noundef %41) #3 %43 = load ptr, ptr %3, align 8, !tbaa !5 %44 = load i32, ptr @TRUE, align 4, !tbaa !11 %45 = call i32 @test_stylesheet_csstext(ptr noundef %43, ptr noundef nonnull @.str.8, i32 noundef %44) #3 %46 = load ptr, ptr %3, align 8, !tbaa !5 %47 = load i32, ptr @FALSE, align 4, !tbaa !11 %48 = call i32 @set_stylesheet_csstext(ptr noundef %46, ptr noundef nonnull @.str.9, i32 noundef %47) #3 %49 = load ptr, ptr %3, align 8, !tbaa !5 %50 = load i32, ptr @FALSE, align 4, !tbaa !11 %51 = call i32 @test_stylesheet_csstext(ptr noundef %49, ptr noundef null, i32 noundef %50) #3 %52 = load ptr, ptr %3, align 8, !tbaa !5 %53 = load i32, ptr @FALSE, align 4, !tbaa !11 %54 = call i32 @set_stylesheet_csstext(ptr noundef %52, ptr noundef nonnull @.str.10, i32 noundef %53) #3 %55 = load ptr, ptr %3, align 8, !tbaa !5 %56 = load i32, ptr @FALSE, align 4, !tbaa !11 %57 = call i32 @test_stylesheet_csstext(ptr noundef %55, ptr noundef nonnull @.str.8, i32 noundef %56) #3 %58 = load ptr, ptr %3, align 8, !tbaa !5 %59 = call i32 @IHTMLStyleSheet_Release(ptr noundef %58) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @test_disp2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IDispatch_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i64 @IHTMLStyleSheet_get_rules(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @IHTMLStyleSheetRulesCollection_Release(ptr noundef) local_unnamed_addr #2 declare i64 @IHTMLStyleSheet_get_href(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SysFreeString(ptr noundef) local_unnamed_addr #2 declare i32 @test_stylesheet_csstext(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_stylesheet_csstext(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @IHTMLStyleSheet_Release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/reactos/modules/rostests/winetests/mshtml/extr_dom.c_test_stylesheet.c' source_filename = "AnghaBench/reactos/modules/rostests/winetests/mshtml/extr_dom.c_test_stylesheet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DIID_DispHTMLStyleSheet = common global i32 0, align 4 @IID_IHTMLStyleSheet = common global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"[object]\00", align 1 @S_OK = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [37 x i8] c"Could not get IHTMLStyleSheet: %08x\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"get_rules failed: %08x\0A\00", align 1 @.str.3 = private unnamed_addr constant [13 x i8] c"col == NULL\0A\00", align 1 @DIID_DispHTMLStyleSheetRulesCollection = common global i32 0, align 4 @IID_IHTMLStyleSheetRulesCollection = common global i32 0, align 4 @.str.4 = private unnamed_addr constant [23 x i8] c"get_href failed: %08x\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"got href != NULL\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c".body {\00", align 1 @FALSE = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [57 x i8] c".div { margin-right: 1px; }\0A.body { margin-right: 2px; }\00", align 1 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str.8 = private unnamed_addr constant [7 x i8] c".div {\00", align 1 @.str.9 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.10 = private unnamed_addr constant [28 x i8] c".div { margin-right: 1px; }\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @test_stylesheet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @test_stylesheet(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr null, ptr %2, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 %5 = tail call i32 @test_disp2(ptr noundef %0, ptr noundef nonnull @DIID_DispHTMLStyleSheet, ptr noundef nonnull @IID_IHTMLStyleSheet, ptr noundef nonnull @.str) #3 %6 = call i64 @IDispatch_QueryInterface(ptr noundef %0, ptr noundef nonnull @IID_IHTMLStyleSheet, ptr noundef nonnull %3) #3 %7 = load i64, ptr @S_OK, align 8, !tbaa !10 %8 = icmp eq i64 %6, %7 %9 = zext i1 %8 to i32 %10 = call i32 (i32, ptr, ...) @ok(i32 noundef %9, ptr noundef nonnull @.str.1, i64 noundef %6) #3 %11 = load ptr, ptr %3, align 8, !tbaa !6 %12 = call i64 @IHTMLStyleSheet_get_rules(ptr noundef %11, ptr noundef nonnull %2) #3 %13 = load i64, ptr @S_OK, align 8, !tbaa !10 %14 = icmp eq i64 %12, %13 %15 = zext i1 %14 to i32 %16 = call i32 (i32, ptr, ...) @ok(i32 noundef %15, ptr noundef nonnull @.str.2, i64 noundef %12) #3 %17 = load ptr, ptr %2, align 8, !tbaa !6 %18 = icmp ne ptr %17, null %19 = zext i1 %18 to i32 %20 = call i32 (i32, ptr, ...) @ok(i32 noundef %19, ptr noundef nonnull @.str.3) #3 %21 = load ptr, ptr %2, align 8, !tbaa !6 %22 = call i32 @test_disp2(ptr noundef %21, ptr noundef nonnull @DIID_DispHTMLStyleSheetRulesCollection, ptr noundef nonnull @IID_IHTMLStyleSheetRulesCollection, ptr noundef nonnull @.str) #3 %23 = load ptr, ptr %2, align 8, !tbaa !6 %24 = call i32 @IHTMLStyleSheetRulesCollection_Release(ptr noundef %23) #3 store ptr inttoptr (i64 3735928559 to ptr), ptr %4, align 8, !tbaa !6 %25 = load ptr, ptr %3, align 8, !tbaa !6 %26 = call i64 @IHTMLStyleSheet_get_href(ptr noundef %25, ptr noundef nonnull %4) #3 %27 = load i64, ptr @S_OK, align 8, !tbaa !10 %28 = icmp eq i64 %26, %27 %29 = zext i1 %28 to i32 %30 = call i32 (i32, ptr, ...) @ok(i32 noundef %29, ptr noundef nonnull @.str.4, i64 noundef %26) #3 %31 = load ptr, ptr %4, align 8, !tbaa !6 %32 = icmp eq ptr %31, null %33 = zext i1 %32 to i32 %34 = call i32 (i32, ptr, ...) @ok(i32 noundef %33, ptr noundef nonnull @.str.5) #3 %35 = load ptr, ptr %4, align 8, !tbaa !6 %36 = call i32 @SysFreeString(ptr noundef %35) #3 %37 = load ptr, ptr %3, align 8, !tbaa !6 %38 = load i32, ptr @FALSE, align 4, !tbaa !12 %39 = call i32 @test_stylesheet_csstext(ptr noundef %37, ptr noundef nonnull @.str.6, i32 noundef %38) #3 %40 = load ptr, ptr %3, align 8, !tbaa !6 %41 = load i32, ptr @TRUE, align 4, !tbaa !12 %42 = call i32 @set_stylesheet_csstext(ptr noundef %40, ptr noundef nonnull @.str.7, i32 noundef %41) #3 %43 = load ptr, ptr %3, align 8, !tbaa !6 %44 = load i32, ptr @TRUE, align 4, !tbaa !12 %45 = call i32 @test_stylesheet_csstext(ptr noundef %43, ptr noundef nonnull @.str.8, i32 noundef %44) #3 %46 = load ptr, ptr %3, align 8, !tbaa !6 %47 = load i32, ptr @FALSE, align 4, !tbaa !12 %48 = call i32 @set_stylesheet_csstext(ptr noundef %46, ptr noundef nonnull @.str.9, i32 noundef %47) #3 %49 = load ptr, ptr %3, align 8, !tbaa !6 %50 = load i32, ptr @FALSE, align 4, !tbaa !12 %51 = call i32 @test_stylesheet_csstext(ptr noundef %49, ptr noundef null, i32 noundef %50) #3 %52 = load ptr, ptr %3, align 8, !tbaa !6 %53 = load i32, ptr @FALSE, align 4, !tbaa !12 %54 = call i32 @set_stylesheet_csstext(ptr noundef %52, ptr noundef nonnull @.str.10, i32 noundef %53) #3 %55 = load ptr, ptr %3, align 8, !tbaa !6 %56 = load i32, ptr @FALSE, align 4, !tbaa !12 %57 = call i32 @test_stylesheet_csstext(ptr noundef %55, ptr noundef nonnull @.str.8, i32 noundef %56) #3 %58 = load ptr, ptr %3, align 8, !tbaa !6 %59 = call i32 @IHTMLStyleSheet_Release(ptr noundef %58) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @test_disp2(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @IDispatch_QueryInterface(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ok(i32 noundef, ptr noundef, ...) local_unnamed_addr #2 declare i64 @IHTMLStyleSheet_get_rules(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @IHTMLStyleSheetRulesCollection_Release(ptr noundef) local_unnamed_addr #2 declare i64 @IHTMLStyleSheet_get_href(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SysFreeString(ptr noundef) local_unnamed_addr #2 declare i32 @test_stylesheet_csstext(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @set_stylesheet_csstext(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @IHTMLStyleSheet_Release(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !8, i64 0}
reactos_modules_rostests_winetests_mshtml_extr_dom.c_test_stylesheet
; ModuleID = 'AnghaBench/postgres/contrib/dblink/extr_dblink.c_storeQueryResult.c' source_filename = "AnghaBench/postgres/contrib/dblink/extr_dblink.c_storeQueryResult.c" target datalayout = "e-m:e-p270:32:32-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 { ptr, ptr } @ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"could not send query: %s\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"failed to set single-row mode for dblink query\00", align 1 @PGRES_SINGLE_TUPLE = dso_local local_unnamed_addr global i64 0, align 8 @PGRES_TUPLES_OK = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @storeQueryResult], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @storeQueryResult(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @PQsendQuery(ptr noundef %1, ptr noundef %2) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = load i32, ptr @ERROR, align 4, !tbaa !5 %8 = tail call i32 @PQerrorMessage(ptr noundef %1) #2 %9 = tail call i32 @pchomp(i32 noundef %8) #2 %10 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %9) #2 br label %11 11: ; preds = %6, %3 %12 = tail call i32 @PQsetSingleRowMode(ptr noundef %1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @ERROR, align 4, !tbaa !5 %16 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %15, ptr noundef nonnull @.str.1) #2 br label %17 17: ; preds = %14, %11 %18 = tail call i32 (...) @CHECK_FOR_INTERRUPTS() #2 %19 = tail call ptr @PQgetResult(ptr noundef %1) #2 %20 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 store volatile ptr %19, ptr %20, align 8, !tbaa !9 %21 = load volatile ptr, ptr %20, align 8, !tbaa !9 %22 = icmp eq ptr %21, null br i1 %22, label %63, label %23 23: ; preds = %17, %56 %24 = phi i32 [ %58, %56 ], [ 1, %17 ] %25 = phi i32 [ %57, %56 ], [ -1, %17 ] %26 = load volatile ptr, ptr %20, align 8, !tbaa !9 %27 = tail call i64 @PQresultStatus(ptr noundef %26) #2 %28 = load i64, ptr @PGRES_SINGLE_TUPLE, align 8, !tbaa !12 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %42 30: ; preds = %23 %31 = icmp ne i32 %24, 0 %32 = icmp slt i32 %25, 0 %33 = select i1 %31, i1 %32, i1 false br i1 %33, label %34, label %36 34: ; preds = %30 %35 = tail call i32 @applyRemoteGucs(ptr noundef %1) #2 br label %36 36: ; preds = %34, %30 %37 = phi i32 [ %35, %34 ], [ %25, %30 ] %38 = load volatile ptr, ptr %20, align 8, !tbaa !9 %39 = tail call i32 @storeRow(ptr noundef nonnull %0, ptr noundef %38, i32 noundef %24) #2 %40 = load volatile ptr, ptr %20, align 8, !tbaa !9 %41 = tail call i32 @PQclear(ptr noundef %40) #2 br label %56 42: ; preds = %23 %43 = icmp eq i32 %24, 0 br i1 %43, label %52, label %44 44: ; preds = %42 %45 = load volatile ptr, ptr %20, align 8, !tbaa !9 %46 = tail call i64 @PQresultStatus(ptr noundef %45) #2 %47 = load i64, ptr @PGRES_TUPLES_OK, align 8, !tbaa !12 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load volatile ptr, ptr %20, align 8, !tbaa !9 %51 = tail call i32 @storeRow(ptr noundef nonnull %0, ptr noundef %50, i32 noundef 1) #2 br label %52 52: ; preds = %49, %44, %42 %53 = load volatile ptr, ptr %0, align 8, !tbaa !14 %54 = tail call i32 @PQclear(ptr noundef %53) #2 %55 = load volatile ptr, ptr %20, align 8, !tbaa !9 store volatile ptr %55, ptr %0, align 8, !tbaa !14 br label %56 56: ; preds = %52, %36 %57 = phi i32 [ %37, %36 ], [ %25, %52 ] %58 = phi i32 [ 0, %36 ], [ 1, %52 ] store volatile ptr null, ptr %20, align 8, !tbaa !9 %59 = tail call i32 (...) @CHECK_FOR_INTERRUPTS() #2 %60 = tail call ptr @PQgetResult(ptr noundef %1) #2 store volatile ptr %60, ptr %20, align 8, !tbaa !9 %61 = load volatile ptr, ptr %20, align 8, !tbaa !9 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %23 63: ; preds = %56, %17 %64 = phi i32 [ -1, %17 ], [ %57, %56 ] %65 = tail call i32 @restoreLocalGucs(i32 noundef %64) #2 %66 = load volatile ptr, ptr %0, align 8, !tbaa !14 store volatile ptr null, ptr %0, align 8, !tbaa !14 ret ptr %66 } declare i32 @PQsendQuery(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @pchomp(i32 noundef) local_unnamed_addr #1 declare i32 @PQerrorMessage(ptr noundef) local_unnamed_addr #1 declare i32 @PQsetSingleRowMode(ptr noundef) local_unnamed_addr #1 declare i32 @CHECK_FOR_INTERRUPTS(...) local_unnamed_addr #1 declare ptr @PQgetResult(ptr noundef) local_unnamed_addr #1 declare i64 @PQresultStatus(ptr noundef) local_unnamed_addr #1 declare i32 @applyRemoteGucs(ptr noundef) local_unnamed_addr #1 declare i32 @storeRow(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PQclear(ptr noundef) local_unnamed_addr #1 declare i32 @restoreLocalGucs(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"TYPE_4__", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/postgres/contrib/dblink/extr_dblink.c_storeQueryResult.c' source_filename = "AnghaBench/postgres/contrib/dblink/extr_dblink.c_storeQueryResult.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [25 x i8] c"could not send query: %s\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"failed to set single-row mode for dblink query\00", align 1 @PGRES_SINGLE_TUPLE = common local_unnamed_addr global i64 0, align 8 @PGRES_TUPLES_OK = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @storeQueryResult], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @storeQueryResult(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @PQsendQuery(ptr noundef %1, ptr noundef %2) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %11 6: ; preds = %3 %7 = load i32, ptr @ERROR, align 4, !tbaa !6 %8 = tail call i32 @PQerrorMessage(ptr noundef %1) #2 %9 = tail call i32 @pchomp(i32 noundef %8) #2 %10 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %9) #2 br label %11 11: ; preds = %6, %3 %12 = tail call i32 @PQsetSingleRowMode(ptr noundef %1) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11 %15 = load i32, ptr @ERROR, align 4, !tbaa !6 %16 = tail call i32 (i32, ptr, ...) @elog(i32 noundef %15, ptr noundef nonnull @.str.1) #2 br label %17 17: ; preds = %14, %11 %18 = tail call i32 @CHECK_FOR_INTERRUPTS() #2 %19 = tail call ptr @PQgetResult(ptr noundef %1) #2 %20 = getelementptr inbounds i8, ptr %0, i64 8 store volatile ptr %19, ptr %20, align 8, !tbaa !10 %21 = load volatile ptr, ptr %20, align 8, !tbaa !10 %22 = icmp eq ptr %21, null br i1 %22, label %63, label %23 23: ; preds = %17, %56 %24 = phi i32 [ %58, %56 ], [ 1, %17 ] %25 = phi i32 [ %57, %56 ], [ -1, %17 ] %26 = load volatile ptr, ptr %20, align 8, !tbaa !10 %27 = tail call i64 @PQresultStatus(ptr noundef %26) #2 %28 = load i64, ptr @PGRES_SINGLE_TUPLE, align 8, !tbaa !13 %29 = icmp eq i64 %27, %28 br i1 %29, label %30, label %42 30: ; preds = %23 %31 = icmp ne i32 %24, 0 %32 = icmp slt i32 %25, 0 %33 = select i1 %31, i1 %32, i1 false br i1 %33, label %34, label %36 34: ; preds = %30 %35 = tail call i32 @applyRemoteGucs(ptr noundef %1) #2 br label %36 36: ; preds = %34, %30 %37 = phi i32 [ %35, %34 ], [ %25, %30 ] %38 = load volatile ptr, ptr %20, align 8, !tbaa !10 %39 = tail call i32 @storeRow(ptr noundef nonnull %0, ptr noundef %38, i32 noundef %24) #2 %40 = load volatile ptr, ptr %20, align 8, !tbaa !10 %41 = tail call i32 @PQclear(ptr noundef %40) #2 br label %56 42: ; preds = %23 %43 = icmp eq i32 %24, 0 br i1 %43, label %52, label %44 44: ; preds = %42 %45 = load volatile ptr, ptr %20, align 8, !tbaa !10 %46 = tail call i64 @PQresultStatus(ptr noundef %45) #2 %47 = load i64, ptr @PGRES_TUPLES_OK, align 8, !tbaa !13 %48 = icmp eq i64 %46, %47 br i1 %48, label %49, label %52 49: ; preds = %44 %50 = load volatile ptr, ptr %20, align 8, !tbaa !10 %51 = tail call i32 @storeRow(ptr noundef nonnull %0, ptr noundef %50, i32 noundef 1) #2 br label %52 52: ; preds = %49, %44, %42 %53 = load volatile ptr, ptr %0, align 8, !tbaa !15 %54 = tail call i32 @PQclear(ptr noundef %53) #2 %55 = load volatile ptr, ptr %20, align 8, !tbaa !10 store volatile ptr %55, ptr %0, align 8, !tbaa !15 br label %56 56: ; preds = %52, %36 %57 = phi i32 [ %37, %36 ], [ %25, %52 ] %58 = phi i32 [ 0, %36 ], [ 1, %52 ] store volatile ptr null, ptr %20, align 8, !tbaa !10 %59 = tail call i32 @CHECK_FOR_INTERRUPTS() #2 %60 = tail call ptr @PQgetResult(ptr noundef %1) #2 store volatile ptr %60, ptr %20, align 8, !tbaa !10 %61 = load volatile ptr, ptr %20, align 8, !tbaa !10 %62 = icmp eq ptr %61, null br i1 %62, label %63, label %23 63: ; preds = %56, %17 %64 = phi i32 [ -1, %17 ], [ %57, %56 ] %65 = tail call i32 @restoreLocalGucs(i32 noundef %64) #2 %66 = load volatile ptr, ptr %0, align 8, !tbaa !15 store volatile ptr null, ptr %0, align 8, !tbaa !15 ret ptr %66 } declare i32 @PQsendQuery(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @elog(i32 noundef, ptr noundef, ...) local_unnamed_addr #1 declare i32 @pchomp(i32 noundef) local_unnamed_addr #1 declare i32 @PQerrorMessage(ptr noundef) local_unnamed_addr #1 declare i32 @PQsetSingleRowMode(ptr noundef) local_unnamed_addr #1 declare i32 @CHECK_FOR_INTERRUPTS(...) local_unnamed_addr #1 declare ptr @PQgetResult(ptr noundef) local_unnamed_addr #1 declare i64 @PQresultStatus(ptr noundef) local_unnamed_addr #1 declare i32 @applyRemoteGucs(ptr noundef) local_unnamed_addr #1 declare i32 @storeRow(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PQclear(ptr noundef) local_unnamed_addr #1 declare i32 @restoreLocalGucs(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"TYPE_4__", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!11, !12, i64 0}
postgres_contrib_dblink_extr_dblink.c_storeQueryResult
; ModuleID = 'AnghaBench/linux/fs/fuse/extr_file.c_fuse_file_mmap.c' source_filename = "AnghaBench/linux/fs/fuse/extr_file.c_fuse_file_mmap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.file = type { i32, ptr } %struct.vm_area_struct = type { i32, ptr } @FOPEN_DIRECT_IO = dso_local local_unnamed_addr global i32 0, align 4 @VM_MAYSHARE = dso_local local_unnamed_addr global i32 0, align 4 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @VM_SHARED = dso_local local_unnamed_addr global i32 0, align 4 @VM_MAYWRITE = dso_local local_unnamed_addr global i32 0, align 4 @fuse_file_vm_ops = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @fuse_file_mmap], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @fuse_file_mmap(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds %struct.file, ptr %0, i64 0, i32 1 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = load i32, ptr %4, align 4, !tbaa !11 %6 = load i32, ptr @FOPEN_DIRECT_IO, align 4, !tbaa !13 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr %1, align 8, !tbaa !14 br i1 %8, label %21, label %10 10: ; preds = %2 %11 = load i32, ptr @VM_MAYSHARE, align 4, !tbaa !13 %12 = and i32 %11, %9 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @ENODEV, align 4, !tbaa !13 %16 = sub nsw i32 0, %15 br label %34 17: ; preds = %10 %18 = load i32, ptr %0, align 8, !tbaa !16 %19 = tail call i32 @invalidate_inode_pages2(i32 noundef %18) #2 %20 = tail call i32 @generic_file_mmap(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %34 21: ; preds = %2 %22 = load i32, ptr @VM_SHARED, align 4, !tbaa !13 %23 = and i32 %22, %9 %24 = icmp eq i32 %23, 0 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = load i32, ptr @VM_MAYWRITE, align 4, !tbaa !13 %27 = and i32 %26, %9 %28 = icmp eq i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = tail call i32 @fuse_link_write_file(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %29, %25, %21 %32 = tail call i32 @file_accessed(ptr noundef nonnull %0) #2 %33 = getelementptr inbounds %struct.vm_area_struct, ptr %1, i64 0, i32 1 store ptr @fuse_file_vm_ops, ptr %33, align 8, !tbaa !17 br label %34 34: ; preds = %31, %17, %14 %35 = phi i32 [ %16, %14 ], [ %20, %17 ], [ 0, %31 ] ret i32 %35 } declare i32 @invalidate_inode_pages2(i32 noundef) local_unnamed_addr #1 declare i32 @generic_file_mmap(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fuse_link_write_file(ptr noundef) local_unnamed_addr #1 declare i32 @file_accessed(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 = !{!"file", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !7, i64 0} !12 = !{!"fuse_file", !7, i64 0} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"vm_area_struct", !7, i64 0, !10, i64 8} !16 = !{!6, !7, i64 0} !17 = !{!15, !10, i64 8}
; ModuleID = 'AnghaBench/linux/fs/fuse/extr_file.c_fuse_file_mmap.c' source_filename = "AnghaBench/linux/fs/fuse/extr_file.c_fuse_file_mmap.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @FOPEN_DIRECT_IO = common local_unnamed_addr global i32 0, align 4 @VM_MAYSHARE = common local_unnamed_addr global i32 0, align 4 @ENODEV = common local_unnamed_addr global i32 0, align 4 @VM_SHARED = common local_unnamed_addr global i32 0, align 4 @VM_MAYWRITE = common local_unnamed_addr global i32 0, align 4 @fuse_file_vm_ops = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @fuse_file_mmap], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @fuse_file_mmap(ptr noundef %0, ptr noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 8 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = load i32, ptr %4, align 4, !tbaa !12 %6 = load i32, ptr @FOPEN_DIRECT_IO, align 4, !tbaa !14 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = load i32, ptr %1, align 8, !tbaa !15 br i1 %8, label %21, label %10 10: ; preds = %2 %11 = load i32, ptr @VM_MAYSHARE, align 4, !tbaa !14 %12 = and i32 %11, %9 %13 = icmp eq i32 %12, 0 br i1 %13, label %17, label %14 14: ; preds = %10 %15 = load i32, ptr @ENODEV, align 4, !tbaa !14 %16 = sub nsw i32 0, %15 br label %34 17: ; preds = %10 %18 = load i32, ptr %0, align 8, !tbaa !17 %19 = tail call i32 @invalidate_inode_pages2(i32 noundef %18) #2 %20 = tail call i32 @generic_file_mmap(ptr noundef nonnull %0, ptr noundef nonnull %1) #2 br label %34 21: ; preds = %2 %22 = load i32, ptr @VM_SHARED, align 4, !tbaa !14 %23 = and i32 %22, %9 %24 = icmp eq i32 %23, 0 br i1 %24, label %31, label %25 25: ; preds = %21 %26 = load i32, ptr @VM_MAYWRITE, align 4, !tbaa !14 %27 = and i32 %26, %9 %28 = icmp eq i32 %27, 0 br i1 %28, label %31, label %29 29: ; preds = %25 %30 = tail call i32 @fuse_link_write_file(ptr noundef nonnull %0) #2 br label %31 31: ; preds = %29, %25, %21 %32 = tail call i32 @file_accessed(ptr noundef nonnull %0) #2 %33 = getelementptr inbounds i8, ptr %1, i64 8 store ptr @fuse_file_vm_ops, ptr %33, align 8, !tbaa !18 br label %34 34: ; preds = %31, %17, %14 %35 = phi i32 [ %16, %14 ], [ %20, %17 ], [ 0, %31 ] ret i32 %35 } declare i32 @invalidate_inode_pages2(i32 noundef) local_unnamed_addr #1 declare i32 @generic_file_mmap(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @fuse_link_write_file(ptr noundef) local_unnamed_addr #1 declare i32 @file_accessed(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 = !{!"file", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !8, i64 0} !13 = !{!"fuse_file", !8, i64 0} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"vm_area_struct", !8, i64 0, !11, i64 8} !17 = !{!7, !8, i64 0} !18 = !{!16, !11, i64 8}
linux_fs_fuse_extr_file.c_fuse_file_mmap
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_generic_resume.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_generic_resume.c" target datalayout = "e-m:e-p270:32:32-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 @generic_resume], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @generic_resume(ptr noundef %0) #0 { %2 = tail call i32 @ak4396_registers_init(ptr noundef %0) #2 %3 = tail call i32 @wm8785_registers_init(ptr noundef %0) #2 ret void } declare i32 @ak4396_registers_init(ptr noundef) local_unnamed_addr #1 declare i32 @wm8785_registers_init(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_generic_resume.c' source_filename = "AnghaBench/linux/sound/pci/oxygen/extr_oxygen.c_generic_resume.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 @generic_resume], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @generic_resume(ptr noundef %0) #0 { %2 = tail call i32 @ak4396_registers_init(ptr noundef %0) #2 %3 = tail call i32 @wm8785_registers_init(ptr noundef %0) #2 ret void } declare i32 @ak4396_registers_init(ptr noundef) local_unnamed_addr #1 declare i32 @wm8785_registers_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)"}
linux_sound_pci_oxygen_extr_oxygen.c_generic_resume
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_mp4_reader_open.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_mp4_reader_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_24__ = type { i32, i32, ptr, ptr } %struct.TYPE_23__ = type { i32, i32, ptr, ptr } %struct.TYPE_25__ = type { i32, i64, i32, ptr } @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [17 x i8] c"using mp4 reader\00", align 1 @VC_CONTAINER_ERROR_OUT_OF_MEMORY = dso_local local_unnamed_addr global i64 0, align 8 @VC_CONTAINER_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @MP4_BOX_TYPE_ROOT = dso_local local_unnamed_addr global i32 0, align 4 @mp4_reader_read = dso_local local_unnamed_addr global i32 0, align 4 @mp4_reader_seek = dso_local local_unnamed_addr global i32 0, align 4 @VC_CONTAINER_CAPS_CAN_SEEK = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"mp4: error opening stream\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i64 @mp4_reader_open(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [8 x i32], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 %5 = call i32 @PEEK_BYTES(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 8) #3 %6 = icmp eq i32 %5, 8 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i64, ptr @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED, align 8, !tbaa !5 br label %120 9: ; preds = %1 %10 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 4 %11 = load i32, ptr %10, align 16, !tbaa !9 %12 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 5 %13 = load i32, ptr %12, align 4, !tbaa !9 %14 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 6 %15 = load i32, ptr %14, align 8, !tbaa !9 %16 = getelementptr inbounds [8 x i32], ptr %2, i64 0, i64 7 %17 = load i32, ptr %16, align 4, !tbaa !9 %18 = call i32 @VC_FOURCC(i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %17) #3 %19 = add i32 %18, -128 %20 = icmp ult i32 %19, 10 br i1 %20, label %23, label %21 21: ; preds = %9 %22 = load i64, ptr @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED, align 8, !tbaa !5 br label %120 23: ; preds = %9 %24 = call i32 @LOG_DEBUG(ptr noundef %0, ptr noundef nonnull @.str) #3 %25 = call ptr @malloc(i32 noundef 32) #3 %26 = icmp eq ptr %25, null br i1 %26, label %113, label %27 27: ; preds = %23 %28 = call i32 @memset(ptr noundef nonnull %25, i32 noundef 0, i32 noundef 32) #3 %29 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 2 %30 = load ptr, ptr %29, align 8, !tbaa !11 %31 = getelementptr inbounds %struct.TYPE_23__, ptr %30, i64 0, i32 3 store ptr %25, ptr %31, align 8, !tbaa !14 %32 = getelementptr inbounds %struct.TYPE_25__, ptr %25, i64 0, i32 3 %33 = load ptr, ptr %32, align 8, !tbaa !16 %34 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 3 store ptr %33, ptr %34, align 8, !tbaa !18 %35 = call i64 @STREAM_STATUS(ptr noundef %0) #3 %36 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !5 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %76 38: ; preds = %27 %39 = getelementptr inbounds %struct.TYPE_25__, ptr %25, i64 0, i32 1 %40 = getelementptr inbounds %struct.TYPE_25__, ptr %25, i64 0, i32 2 br label %41 41: ; preds = %38, %72 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %42 = call i32 @INT64_C(i32 noundef -1) #3 %43 = call i64 @mp4_read_box_header(ptr noundef %0, i32 noundef %42, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %44 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !5 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %70 46: ; preds = %41 %47 = load i32, ptr %3, align 4, !tbaa !9 switch i32 %47, label %56 [ i32 135, label %48 i32 134, label %55 ] 48: ; preds = %46 %49 = call i64 @STREAM_POSITION(ptr noundef %0) #3 store i64 %49, ptr %39, align 8, !tbaa !19 %50 = load i32, ptr %4, align 4, !tbaa !9 store i32 %50, ptr %40, align 8, !tbaa !20 %51 = load i32, ptr %25, align 8, !tbaa !21 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %69 53: ; preds = %48 %54 = load i32, ptr %3, align 4, !tbaa !9 br label %56 55: ; preds = %46 store i32 1, ptr %25, align 8, !tbaa !21 br label %56 56: ; preds = %53, %46, %55 %57 = phi i32 [ %54, %53 ], [ %47, %46 ], [ 134, %55 ] %58 = load i32, ptr %4, align 4, !tbaa !9 %59 = load i32, ptr @MP4_BOX_TYPE_ROOT, align 4, !tbaa !9 %60 = call i64 @mp4_read_box_data(ptr noundef %0, i32 noundef %57, i32 noundef %58, i32 noundef %59) #3 %61 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !5 %62 = icmp eq i64 %60, %61 br i1 %62, label %63, label %70 63: ; preds = %56 %64 = load i32, ptr %25, align 8, !tbaa !21 %65 = icmp eq i32 %64, 0 br i1 %65, label %72, label %66 66: ; preds = %63 %67 = load i64, ptr %39, align 8, !tbaa !19 %68 = icmp eq i64 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %48, %66 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %76 70: ; preds = %41, %56 %71 = phi i64 [ %60, %56 ], [ %43, %41 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %116 72: ; preds = %63, %66 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 %73 = call i64 @STREAM_STATUS(ptr noundef %0) #3 %74 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !5 %75 = icmp eq i64 %73, %74 br i1 %75, label %41, label %76 76: ; preds = %72, %27, %69 %77 = load i32, ptr %0, align 8, !tbaa !22 %78 = icmp eq i32 %77, 0 br i1 %78, label %92, label %79 79: ; preds = %76, %79 %80 = phi i64 [ %88, %79 ], [ 0, %76 ] %81 = load ptr, ptr %34, align 8, !tbaa !18 %82 = getelementptr inbounds ptr, ptr %81, i64 %80 %83 = load ptr, ptr %82, align 8, !tbaa !23 %84 = load ptr, ptr %83, align 8, !tbaa !24 %85 = load ptr, ptr %84, align 8, !tbaa !26 %86 = trunc i64 %80 to i32 %87 = call i64 @mp4_read_sample_header(ptr noundef nonnull %0, i32 noundef %86, ptr noundef %85) #3 %88 = add nuw nsw i64 %80, 1 %89 = load i32, ptr %0, align 8, !tbaa !22 %90 = zext i32 %89 to i64 %91 = icmp ult i64 %88, %90 br i1 %91, label %79, label %92, !llvm.loop !28 92: ; preds = %79, %76 %93 = getelementptr inbounds %struct.TYPE_25__, ptr %25, i64 0, i32 1 %94 = load i64, ptr %93, align 8, !tbaa !19 %95 = call i64 @SEEK(ptr noundef nonnull %0, i64 noundef %94) #3 %96 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !5 %97 = icmp eq i64 %95, %96 br i1 %97, label %98, label %116 98: ; preds = %92 %99 = load ptr, ptr %29, align 8, !tbaa !11 %100 = getelementptr inbounds %struct.TYPE_23__, ptr %99, i64 0, i32 2 store ptr @mp4_reader_close, ptr %100, align 8, !tbaa !30 %101 = load i32, ptr @mp4_reader_read, align 4, !tbaa !9 %102 = getelementptr inbounds %struct.TYPE_23__, ptr %99, i64 0, i32 1 store i32 %101, ptr %102, align 4, !tbaa !31 %103 = load i32, ptr @mp4_reader_seek, align 4, !tbaa !9 store i32 %103, ptr %99, align 8, !tbaa !32 %104 = call i64 @STREAM_SEEKABLE(ptr noundef nonnull %0) #3 %105 = icmp eq i64 %104, 0 br i1 %105, label %111, label %106 106: ; preds = %98 %107 = load i32, ptr @VC_CONTAINER_CAPS_CAN_SEEK, align 4, !tbaa !9 %108 = getelementptr inbounds %struct.TYPE_24__, ptr %0, i64 0, i32 1 %109 = load i32, ptr %108, align 4, !tbaa !33 %110 = or i32 %109, %107 store i32 %110, ptr %108, align 4, !tbaa !33 br label %111 111: ; preds = %106, %98 %112 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !5 br label %120 113: ; preds = %23 %114 = load i64, ptr @VC_CONTAINER_ERROR_OUT_OF_MEMORY, align 8, !tbaa !5 %115 = call i32 @LOG_DEBUG(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %120 116: ; preds = %70, %92 %117 = phi i64 [ %71, %70 ], [ %95, %92 ] %118 = call i32 @LOG_DEBUG(ptr noundef %0, ptr noundef nonnull @.str.1) #3 %119 = call i32 @mp4_reader_close(ptr noundef %0) #3 br label %120 120: ; preds = %113, %116, %111, %21, %7 %121 = phi i64 [ %8, %7 ], [ %22, %21 ], [ %112, %111 ], [ %117, %116 ], [ %114, %113 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 ret i64 %121 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @PEEK_BYTES(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VC_FOURCC(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LOG_DEBUG(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @STREAM_STATUS(ptr noundef) local_unnamed_addr #2 declare i64 @mp4_read_box_header(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @INT64_C(i32 noundef) local_unnamed_addr #2 declare i64 @STREAM_POSITION(ptr noundef) local_unnamed_addr #2 declare i64 @mp4_read_box_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @mp4_read_sample_header(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @SEEK(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mp4_reader_close(ptr noundef) #2 declare i64 @STREAM_SEEKABLE(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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 8} !12 = !{!"TYPE_24__", !10, i64 0, !10, i64 4, !13, i64 8, !13, i64 16} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !13, i64 16} !15 = !{!"TYPE_23__", !10, i64 0, !10, i64 4, !13, i64 8, !13, i64 16} !16 = !{!17, !13, i64 24} !17 = !{!"TYPE_25__", !10, i64 0, !6, i64 8, !10, i64 16, !13, i64 24} !18 = !{!12, !13, i64 16} !19 = !{!17, !6, i64 8} !20 = !{!17, !10, i64 16} !21 = !{!17, !10, i64 0} !22 = !{!12, !10, i64 0} !23 = !{!13, !13, i64 0} !24 = !{!25, !13, i64 0} !25 = !{!"TYPE_22__", !13, i64 0} !26 = !{!27, !13, i64 0} !27 = !{!"TYPE_21__", !13, i64 0} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"} !30 = !{!15, !13, i64 8} !31 = !{!15, !10, i64 4} !32 = !{!15, !10, i64 0} !33 = !{!12, !10, i64 4}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_mp4_reader_open.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/containers/mp4/extr_mp4_reader.c_mp4_reader_open.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [17 x i8] c"using mp4 reader\00", align 1 @VC_CONTAINER_ERROR_OUT_OF_MEMORY = common local_unnamed_addr global i64 0, align 8 @VC_CONTAINER_SUCCESS = common local_unnamed_addr global i64 0, align 8 @MP4_BOX_TYPE_ROOT = common local_unnamed_addr global i32 0, align 4 @mp4_reader_read = common local_unnamed_addr global i32 0, align 4 @mp4_reader_seek = common local_unnamed_addr global i32 0, align 4 @VC_CONTAINER_CAPS_CAN_SEEK = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [26 x i8] c"mp4: error opening stream\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @mp4_reader_open(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca [8 x i32], align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #3 %5 = call i32 @PEEK_BYTES(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 8) #3 %6 = icmp eq i32 %5, 8 br i1 %6, label %9, label %7 7: ; preds = %1 %8 = load i64, ptr @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED, align 8, !tbaa !6 br label %120 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %2, i64 16 %11 = load i32, ptr %10, align 4, !tbaa !10 %12 = getelementptr inbounds i8, ptr %2, i64 20 %13 = load i32, ptr %12, align 4, !tbaa !10 %14 = getelementptr inbounds i8, ptr %2, i64 24 %15 = load i32, ptr %14, align 4, !tbaa !10 %16 = getelementptr inbounds i8, ptr %2, i64 28 %17 = load i32, ptr %16, align 4, !tbaa !10 %18 = call i32 @VC_FOURCC(i32 noundef %11, i32 noundef %13, i32 noundef %15, i32 noundef %17) #3 %19 = add i32 %18, -128 %20 = icmp ult i32 %19, 10 br i1 %20, label %23, label %21 21: ; preds = %9 %22 = load i64, ptr @VC_CONTAINER_ERROR_FORMAT_NOT_SUPPORTED, align 8, !tbaa !6 br label %120 23: ; preds = %9 %24 = call i32 @LOG_DEBUG(ptr noundef %0, ptr noundef nonnull @.str) #3 %25 = call ptr @malloc(i32 noundef 32) #3 %26 = icmp eq ptr %25, null br i1 %26, label %113, label %27 27: ; preds = %23 %28 = call i32 @memset(ptr noundef nonnull %25, i32 noundef 0, i32 noundef 32) #3 %29 = getelementptr inbounds i8, ptr %0, i64 8 %30 = load ptr, ptr %29, align 8, !tbaa !12 %31 = getelementptr inbounds i8, ptr %30, i64 16 store ptr %25, ptr %31, align 8, !tbaa !15 %32 = getelementptr inbounds i8, ptr %25, i64 24 %33 = load ptr, ptr %32, align 8, !tbaa !17 %34 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %33, ptr %34, align 8, !tbaa !19 %35 = call i64 @STREAM_STATUS(ptr noundef %0) #3 %36 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !6 %37 = icmp eq i64 %35, %36 br i1 %37, label %38, label %76 38: ; preds = %27 %39 = getelementptr inbounds i8, ptr %25, i64 8 %40 = getelementptr inbounds i8, ptr %25, i64 16 br label %41 41: ; preds = %38, %72 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %42 = call i32 @INT64_C(i32 noundef -1) #3 %43 = call i64 @mp4_read_box_header(ptr noundef %0, i32 noundef %42, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %44 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !6 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %70 46: ; preds = %41 %47 = load i32, ptr %3, align 4, !tbaa !10 switch i32 %47, label %56 [ i32 135, label %48 i32 134, label %55 ] 48: ; preds = %46 %49 = call i64 @STREAM_POSITION(ptr noundef %0) #3 store i64 %49, ptr %39, align 8, !tbaa !20 %50 = load i32, ptr %4, align 4, !tbaa !10 store i32 %50, ptr %40, align 8, !tbaa !21 %51 = load i32, ptr %25, align 8, !tbaa !22 %52 = icmp eq i32 %51, 0 br i1 %52, label %53, label %69 53: ; preds = %48 %54 = load i32, ptr %3, align 4, !tbaa !10 br label %56 55: ; preds = %46 store i32 1, ptr %25, align 8, !tbaa !22 br label %56 56: ; preds = %53, %46, %55 %57 = phi i32 [ %54, %53 ], [ %47, %46 ], [ 134, %55 ] %58 = load i32, ptr %4, align 4, !tbaa !10 %59 = load i32, ptr @MP4_BOX_TYPE_ROOT, align 4, !tbaa !10 %60 = call i64 @mp4_read_box_data(ptr noundef %0, i32 noundef %57, i32 noundef %58, i32 noundef %59) #3 %61 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !6 %62 = icmp eq i64 %60, %61 br i1 %62, label %63, label %70 63: ; preds = %56 %64 = load i32, ptr %25, align 8, !tbaa !22 %65 = icmp eq i32 %64, 0 br i1 %65, label %72, label %66 66: ; preds = %63 %67 = load i64, ptr %39, align 8, !tbaa !20 %68 = icmp eq i64 %67, 0 br i1 %68, label %72, label %69 69: ; preds = %48, %66 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %76 70: ; preds = %41, %56 %71 = phi i64 [ %60, %56 ], [ %43, %41 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %116 72: ; preds = %63, %66 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 %73 = call i64 @STREAM_STATUS(ptr noundef %0) #3 %74 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !6 %75 = icmp eq i64 %73, %74 br i1 %75, label %41, label %76 76: ; preds = %72, %27, %69 %77 = load i32, ptr %0, align 8, !tbaa !23 %78 = icmp eq i32 %77, 0 br i1 %78, label %92, label %79 79: ; preds = %76, %79 %80 = phi i64 [ %88, %79 ], [ 0, %76 ] %81 = load ptr, ptr %34, align 8, !tbaa !19 %82 = getelementptr inbounds ptr, ptr %81, i64 %80 %83 = load ptr, ptr %82, align 8, !tbaa !24 %84 = load ptr, ptr %83, align 8, !tbaa !25 %85 = load ptr, ptr %84, align 8, !tbaa !27 %86 = trunc nuw i64 %80 to i32 %87 = call i64 @mp4_read_sample_header(ptr noundef nonnull %0, i32 noundef %86, ptr noundef %85) #3 %88 = add nuw nsw i64 %80, 1 %89 = load i32, ptr %0, align 8, !tbaa !23 %90 = zext i32 %89 to i64 %91 = icmp ult i64 %88, %90 br i1 %91, label %79, label %92, !llvm.loop !29 92: ; preds = %79, %76 %93 = getelementptr inbounds i8, ptr %25, i64 8 %94 = load i64, ptr %93, align 8, !tbaa !20 %95 = call i64 @SEEK(ptr noundef nonnull %0, i64 noundef %94) #3 %96 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !6 %97 = icmp eq i64 %95, %96 br i1 %97, label %98, label %116 98: ; preds = %92 %99 = load ptr, ptr %29, align 8, !tbaa !12 %100 = getelementptr inbounds i8, ptr %99, i64 8 store ptr @mp4_reader_close, ptr %100, align 8, !tbaa !31 %101 = load i32, ptr @mp4_reader_read, align 4, !tbaa !10 %102 = getelementptr inbounds i8, ptr %99, i64 4 store i32 %101, ptr %102, align 4, !tbaa !32 %103 = load i32, ptr @mp4_reader_seek, align 4, !tbaa !10 store i32 %103, ptr %99, align 8, !tbaa !33 %104 = call i64 @STREAM_SEEKABLE(ptr noundef nonnull %0) #3 %105 = icmp eq i64 %104, 0 br i1 %105, label %111, label %106 106: ; preds = %98 %107 = load i32, ptr @VC_CONTAINER_CAPS_CAN_SEEK, align 4, !tbaa !10 %108 = getelementptr inbounds i8, ptr %0, i64 4 %109 = load i32, ptr %108, align 4, !tbaa !34 %110 = or i32 %109, %107 store i32 %110, ptr %108, align 4, !tbaa !34 br label %111 111: ; preds = %106, %98 %112 = load i64, ptr @VC_CONTAINER_SUCCESS, align 8, !tbaa !6 br label %120 113: ; preds = %23 %114 = load i64, ptr @VC_CONTAINER_ERROR_OUT_OF_MEMORY, align 8, !tbaa !6 %115 = call i32 @LOG_DEBUG(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %120 116: ; preds = %70, %92 %117 = phi i64 [ %71, %70 ], [ %95, %92 ] %118 = call i32 @LOG_DEBUG(ptr noundef %0, ptr noundef nonnull @.str.1) #3 %119 = call i32 @mp4_reader_close(ptr noundef %0) #3 br label %120 120: ; preds = %113, %116, %111, %21, %7 %121 = phi i64 [ %8, %7 ], [ %22, %21 ], [ %112, %111 ], [ %117, %116 ], [ %114, %113 ] call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #3 ret i64 %121 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @PEEK_BYTES(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @VC_FOURCC(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @LOG_DEBUG(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @malloc(i32 noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i64 @STREAM_STATUS(ptr noundef) local_unnamed_addr #2 declare i64 @mp4_read_box_header(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @INT64_C(i32 noundef) local_unnamed_addr #2 declare i64 @STREAM_POSITION(ptr noundef) local_unnamed_addr #2 declare i64 @mp4_read_box_data(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i64 @mp4_read_sample_header(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @SEEK(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @mp4_reader_close(ptr noundef) #2 declare i64 @STREAM_SEEKABLE(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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 8} !13 = !{!"TYPE_24__", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 16} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !14, i64 16} !16 = !{!"TYPE_23__", !11, i64 0, !11, i64 4, !14, i64 8, !14, i64 16} !17 = !{!18, !14, i64 24} !18 = !{!"TYPE_25__", !11, i64 0, !7, i64 8, !11, i64 16, !14, i64 24} !19 = !{!13, !14, i64 16} !20 = !{!18, !7, i64 8} !21 = !{!18, !11, i64 16} !22 = !{!18, !11, i64 0} !23 = !{!13, !11, i64 0} !24 = !{!14, !14, i64 0} !25 = !{!26, !14, i64 0} !26 = !{!"TYPE_22__", !14, i64 0} !27 = !{!28, !14, i64 0} !28 = !{!"TYPE_21__", !14, i64 0} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"} !31 = !{!16, !14, i64 8} !32 = !{!16, !11, i64 4} !33 = !{!16, !11, i64 0} !34 = !{!13, !11, i64 4}
RetroArch_gfx_include_userland_containers_mp4_extr_mp4_reader.c_mp4_reader_open
; ModuleID = 'AnghaBench/linux/security/keys/extr_user_defined.c_user_describe.c' source_filename = "AnghaBench/linux/security/keys/extr_user_defined.c_user_describe.c" target datalayout = "e-m:e-p270:32:32-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.key = type { i32, i32 } @.str = private unnamed_addr constant [5 x i8] c": %u\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @user_describe(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = getelementptr inbounds %struct.key, ptr %0, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !5 %5 = tail call i32 @seq_puts(ptr noundef %1, i32 noundef %4) #2 %6 = tail call i64 @key_is_positive(ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr %0, align 4, !tbaa !10 %10 = tail call i32 @seq_printf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %9) #2 br label %11 11: ; preds = %8, %2 ret void } declare i32 @seq_puts(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @key_is_positive(ptr noundef) local_unnamed_addr #1 declare i32 @seq_printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"key", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/security/keys/extr_user_defined.c_user_describe.c' source_filename = "AnghaBench/linux/security/keys/extr_user_defined.c_user_describe.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 [5 x i8] c": %u\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @user_describe(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 i32 @seq_puts(ptr noundef %1, i32 noundef %4) #2 %6 = tail call i64 @key_is_positive(ptr noundef %0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr %0, align 4, !tbaa !11 %10 = tail call i32 @seq_printf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %9) #2 br label %11 11: ; preds = %8, %2 ret void } declare i32 @seq_puts(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @key_is_positive(ptr noundef) local_unnamed_addr #1 declare i32 @seq_printf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"key", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0}
linux_security_keys_extr_user_defined.c_user_describe
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_ablkcipher.c_crypto_ablkcipher_ctxsize.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_ablkcipher.c_crypto_ablkcipher_ctxsize.c" target datalayout = "e-m:e-p270:32:32-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 @crypto_ablkcipher_ctxsize], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable define internal i32 @crypto_ablkcipher_ctxsize(ptr nocapture noundef readonly %0, i32 %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"crypto_alg", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/crypto/extr_ablkcipher.c_crypto_ablkcipher_ctxsize.c' source_filename = "AnghaBench/fastsocket/kernel/crypto/extr_ablkcipher.c_crypto_ablkcipher_ctxsize.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 @crypto_ablkcipher_ctxsize], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) define internal i32 @crypto_ablkcipher_ctxsize(ptr nocapture noundef readonly %0, i32 %1, i32 %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 ret i32 %4 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"crypto_alg", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_crypto_extr_ablkcipher.c_crypto_ablkcipher_ctxsize
; ModuleID = 'AnghaBench/mpv/player/extr_main.c_mpv_main.c' source_filename = "AnghaBench/mpv/player/extr_main.c_mpv_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" %struct.MPContext = type { i32, i64, i32, i64, i64, i64, i64 } @.str = private unnamed_addr constant [12 x i8] c"Fatal error\00", align 1 @PT_QUIT = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"Quit\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Some errors happened\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"End of file\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Errors when loading file\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Interrupted by error\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"No files played\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"\0AExiting... (%s)\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @mpv_main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr (...) @mp_create() #2 %4 = icmp eq ptr %3, null br i1 %4, label %66, label %5 5: ; preds = %2 store i32 1, ptr %3, align 8, !tbaa !5 %6 = icmp eq ptr %1, null br i1 %6, label %12, label %7 7: ; preds = %5 %8 = load ptr, ptr %1, align 8, !tbaa !11 %9 = icmp eq ptr %8, null %10 = getelementptr inbounds ptr, ptr %1, i64 1 %11 = select i1 %9, ptr null, ptr %10 br label %12 12: ; preds = %7, %5 %13 = phi ptr [ null, %5 ], [ %11, %7 ] %14 = tail call i32 @mp_initialize(ptr noundef nonnull %3, ptr noundef %13) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %12 %17 = icmp slt i32 %14, 0 br i1 %17, label %51, label %55 18: ; preds = %12 %19 = tail call i32 @mp_play_files(ptr noundef nonnull %3) #2 %20 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 1 %21 = load i64, ptr %20, align 8, !tbaa !13 %22 = load i64, ptr @PT_QUIT, align 8, !tbaa !14 %23 = icmp eq i64 %21, %22 br i1 %23, label %51, label %24 24: ; preds = %18 %25 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 6 %26 = load i64, ptr %25, align 8, !tbaa !15 %27 = icmp eq i64 %26, 0 br i1 %27, label %38, label %28 28: ; preds = %24 %29 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 4 %30 = load i64, ptr %29, align 8, !tbaa !16 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %51 32: ; preds = %28 %33 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 5 %34 = load i64, ptr %33, align 8, !tbaa !17 %35 = icmp eq i64 %34, 0 %36 = select i1 %35, i32 0, i32 3 %37 = select i1 %35, ptr @.str.3, ptr @.str.2 br label %51 38: ; preds = %24 %39 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 5 %40 = load i64, ptr %39, align 8, !tbaa !17 %41 = icmp eq i64 %40, 0 %42 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 4 %43 = load i64, ptr %42, align 8, !tbaa !16 %44 = freeze i64 %43 %45 = icmp eq i64 %44, 0 br i1 %41, label %48, label %46 46: ; preds = %38 %47 = select i1 %45, ptr @.str.4, ptr @.str.5 br label %51 48: ; preds = %38 %49 = select i1 %45, i32 0, i32 2 %50 = select i1 %45, ptr @.str.6, ptr @.str.5 br label %51 51: ; preds = %48, %46, %16, %18, %28, %32 %52 = phi i32 [ %36, %32 ], [ 3, %28 ], [ 0, %18 ], [ 1, %16 ], [ 2, %46 ], [ %49, %48 ] %53 = phi ptr [ %37, %32 ], [ @.str.2, %28 ], [ @.str.1, %18 ], [ @.str, %16 ], [ %47, %46 ], [ %50, %48 ] %54 = tail call i32 @MP_INFO(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, ptr noundef nonnull %53) #2 br label %55 55: ; preds = %16, %51 %56 = phi i32 [ %52, %51 ], [ 0, %16 ] %57 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 3 %58 = load i64, ptr %57, align 8, !tbaa !18 %59 = icmp eq i64 %58, 0 br i1 %59, label %63, label %60 60: ; preds = %55 %61 = getelementptr inbounds %struct.MPContext, ptr %3, i64 0, i32 2 %62 = load i32, ptr %61, align 8, !tbaa !19 br label %63 63: ; preds = %60, %55 %64 = phi i32 [ %62, %60 ], [ %56, %55 ] %65 = tail call i32 @mp_destroy(ptr noundef nonnull %3) #2 br label %66 66: ; preds = %2, %63 %67 = phi i32 [ %64, %63 ], [ 1, %2 ] ret i32 %67 } declare ptr @mp_create(...) local_unnamed_addr #1 declare i32 @mp_initialize(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mp_play_files(ptr noundef) local_unnamed_addr #1 declare i32 @MP_INFO(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mp_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"MPContext", !7, i64 0, !10, i64 8, !7, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!6, !10, i64 48} !16 = !{!6, !10, i64 32} !17 = !{!6, !10, i64 40} !18 = !{!6, !10, i64 24} !19 = !{!6, !7, i64 16}
; ModuleID = 'AnghaBench/mpv/player/extr_main.c_mpv_main.c' source_filename = "AnghaBench/mpv/player/extr_main.c_mpv_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [12 x i8] c"Fatal error\00", align 1 @PT_QUIT = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [5 x i8] c"Quit\00", align 1 @.str.2 = private unnamed_addr constant [21 x i8] c"Some errors happened\00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"End of file\00", align 1 @.str.4 = private unnamed_addr constant [25 x i8] c"Errors when loading file\00", align 1 @.str.5 = private unnamed_addr constant [21 x i8] c"Interrupted by error\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"No files played\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"\0AExiting... (%s)\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @mpv_main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = tail call ptr @mp_create() #2 %4 = icmp eq ptr %3, null br i1 %4, label %66, label %5 5: ; preds = %2 store i32 1, ptr %3, align 8, !tbaa !6 %6 = icmp eq ptr %1, null br i1 %6, label %12, label %7 7: ; preds = %5 %8 = load ptr, ptr %1, align 8, !tbaa !12 %9 = icmp eq ptr %8, null %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = select i1 %9, ptr null, ptr %10 br label %12 12: ; preds = %7, %5 %13 = phi ptr [ null, %5 ], [ %11, %7 ] %14 = tail call i32 @mp_initialize(ptr noundef nonnull %3, ptr noundef %13) #2 %15 = icmp eq i32 %14, 0 br i1 %15, label %18, label %16 16: ; preds = %12 %17 = icmp slt i32 %14, 0 br i1 %17, label %51, label %55 18: ; preds = %12 %19 = tail call i32 @mp_play_files(ptr noundef nonnull %3) #2 %20 = getelementptr inbounds i8, ptr %3, i64 8 %21 = load i64, ptr %20, align 8, !tbaa !14 %22 = load i64, ptr @PT_QUIT, align 8, !tbaa !15 %23 = icmp eq i64 %21, %22 br i1 %23, label %51, label %24 24: ; preds = %18 %25 = getelementptr inbounds i8, ptr %3, i64 48 %26 = load i64, ptr %25, align 8, !tbaa !16 %27 = icmp eq i64 %26, 0 br i1 %27, label %38, label %28 28: ; preds = %24 %29 = getelementptr inbounds i8, ptr %3, i64 32 %30 = load i64, ptr %29, align 8, !tbaa !17 %31 = icmp eq i64 %30, 0 br i1 %31, label %32, label %51 32: ; preds = %28 %33 = getelementptr inbounds i8, ptr %3, i64 40 %34 = load i64, ptr %33, align 8, !tbaa !18 %35 = icmp eq i64 %34, 0 %36 = select i1 %35, i32 0, i32 3 %37 = select i1 %35, ptr @.str.3, ptr @.str.2 br label %51 38: ; preds = %24 %39 = getelementptr inbounds i8, ptr %3, i64 40 %40 = load i64, ptr %39, align 8, !tbaa !18 %41 = icmp eq i64 %40, 0 %42 = getelementptr inbounds i8, ptr %3, i64 32 %43 = load i64, ptr %42, align 8, !tbaa !17 %44 = freeze i64 %43 %45 = icmp eq i64 %44, 0 br i1 %41, label %48, label %46 46: ; preds = %38 %47 = select i1 %45, ptr @.str.4, ptr @.str.5 br label %51 48: ; preds = %38 %49 = select i1 %45, i32 0, i32 2 %50 = select i1 %45, ptr @.str.6, ptr @.str.5 br label %51 51: ; preds = %48, %46, %16, %18, %28, %32 %52 = phi i32 [ %36, %32 ], [ 3, %28 ], [ 0, %18 ], [ 1, %16 ], [ 2, %46 ], [ %49, %48 ] %53 = phi ptr [ %37, %32 ], [ @.str.2, %28 ], [ @.str.1, %18 ], [ @.str, %16 ], [ %47, %46 ], [ %50, %48 ] %54 = tail call i32 @MP_INFO(ptr noundef nonnull %3, ptr noundef nonnull @.str.7, ptr noundef nonnull %53) #2 br label %55 55: ; preds = %16, %51 %56 = phi i32 [ %52, %51 ], [ 0, %16 ] %57 = getelementptr inbounds i8, ptr %3, i64 24 %58 = load i64, ptr %57, align 8, !tbaa !19 %59 = icmp eq i64 %58, 0 br i1 %59, label %63, label %60 60: ; preds = %55 %61 = getelementptr inbounds i8, ptr %3, i64 16 %62 = load i32, ptr %61, align 8, !tbaa !20 br label %63 63: ; preds = %60, %55 %64 = phi i32 [ %62, %60 ], [ %56, %55 ] %65 = tail call i32 @mp_destroy(ptr noundef nonnull %3) #2 br label %66 66: ; preds = %2, %63 %67 = phi i32 [ %64, %63 ], [ 1, %2 ] ret i32 %67 } declare ptr @mp_create(...) local_unnamed_addr #1 declare i32 @mp_initialize(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mp_play_files(ptr noundef) local_unnamed_addr #1 declare i32 @MP_INFO(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mp_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"MPContext", !8, i64 0, !11, i64 8, !8, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!7, !11, i64 48} !17 = !{!7, !11, i64 32} !18 = !{!7, !11, i64 40} !19 = !{!7, !11, i64 24} !20 = !{!7, !8, i64 16}
mpv_player_extr_main.c_mpv_main
; ModuleID = 'AnghaBench/linux/lib/extr_find_bit.c__find_next_bit.c' source_filename = "AnghaBench/linux/lib/extr_find_bit.c__find_next_bit.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BITS_PER_LONG = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @_find_next_bit], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i64 @_find_next_bit(ptr nocapture noundef readonly %0, ptr noundef readonly %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = icmp uge i64 %3, %2 %7 = zext i1 %6 to i32 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %52 10: ; preds = %5 %11 = load i64, ptr @BITS_PER_LONG, align 8, !tbaa !5 %12 = udiv i64 %3, %11 %13 = getelementptr inbounds i64, ptr %0, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !5 %15 = icmp eq ptr %1, null br i1 %15, label %20, label %16 16: ; preds = %10 %17 = getelementptr inbounds i64, ptr %1, i64 %12 %18 = load i64, ptr %17, align 8, !tbaa !5 %19 = and i64 %18, %14 br label %20 20: ; preds = %16, %10 %21 = phi i64 [ %19, %16 ], [ %14, %10 ] %22 = xor i64 %21, %4 %23 = tail call i64 @BITMAP_FIRST_WORD_MASK(i64 noundef %3) #2 %24 = and i64 %22, %23 %25 = load i64, ptr @BITS_PER_LONG, align 8, !tbaa !5 %26 = tail call i64 @round_down(i64 noundef %3, i64 noundef %25) #2 %27 = icmp eq i64 %24, 0 br i1 %27, label %28, label %46 28: ; preds = %20 %29 = load i64, ptr @BITS_PER_LONG, align 8, !tbaa !5 br label %30 30: ; preds = %28, %42 %31 = phi i64 [ %26, %28 ], [ %32, %42 ] %32 = add i64 %29, %31 %33 = icmp ult i64 %32, %2 br i1 %33, label %34, label %52 34: ; preds = %30 %35 = udiv i64 %32, %29 %36 = getelementptr inbounds i64, ptr %0, i64 %35 %37 = load i64, ptr %36, align 8, !tbaa !5 br i1 %15, label %42, label %38 38: ; preds = %34 %39 = getelementptr inbounds i64, ptr %1, i64 %35 %40 = load i64, ptr %39, align 8, !tbaa !5 %41 = and i64 %40, %37 br label %42 42: ; preds = %38, %34 %43 = phi i64 [ %41, %38 ], [ %37, %34 ] %44 = xor i64 %43, %4 %45 = icmp eq i64 %44, 0 br i1 %45, label %30, label %46, !llvm.loop !9 46: ; preds = %42, %20 %47 = phi i64 [ %26, %20 ], [ %32, %42 ] %48 = phi i64 [ %24, %20 ], [ %44, %42 ] %49 = tail call i64 @__ffs(i64 noundef %48) #2 %50 = add i64 %49, %47 %51 = tail call i64 @min(i64 noundef %50, i64 noundef %2) #2 br label %52 52: ; preds = %30, %5, %46 %53 = phi i64 [ %51, %46 ], [ %2, %5 ], [ %2, %30 ] ret i64 %53 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i64 @BITMAP_FIRST_WORD_MASK(i64 noundef) local_unnamed_addr #1 declare i64 @round_down(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @__ffs(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, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/lib/extr_find_bit.c__find_next_bit.c' source_filename = "AnghaBench/linux/lib/extr_find_bit.c__find_next_bit.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BITS_PER_LONG = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @_find_next_bit], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i64 @_find_next_bit(ptr nocapture noundef readonly %0, ptr noundef readonly %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #0 { %6 = icmp uge i64 %3, %2 %7 = zext i1 %6 to i32 %8 = tail call i64 @unlikely(i32 noundef %7) #2 %9 = icmp eq i64 %8, 0 br i1 %9, label %10, label %53 10: ; preds = %5 %11 = load i64, ptr @BITS_PER_LONG, align 8, !tbaa !6 %12 = udiv i64 %3, %11 %13 = getelementptr inbounds i64, ptr %0, i64 %12 %14 = load i64, ptr %13, align 8, !tbaa !6 %15 = icmp eq ptr %1, null br i1 %15, label %20, label %16 16: ; preds = %10 %17 = getelementptr inbounds i64, ptr %1, i64 %12 %18 = load i64, ptr %17, align 8, !tbaa !6 %19 = and i64 %18, %14 br label %20 20: ; preds = %16, %10 %21 = phi i64 [ %19, %16 ], [ %14, %10 ] %22 = xor i64 %21, %4 %23 = tail call i64 @BITMAP_FIRST_WORD_MASK(i64 noundef %3) #2 %24 = and i64 %22, %23 %25 = load i64, ptr @BITS_PER_LONG, align 8, !tbaa !6 %26 = tail call i64 @round_down(i64 noundef %3, i64 noundef %25) #2 %27 = icmp eq i64 %24, 0 br i1 %27, label %28, label %47 28: ; preds = %20 %29 = load i64, ptr @BITS_PER_LONG, align 8, !tbaa !6 br label %30 30: ; preds = %28, %42 %31 = phi i64 [ %26, %28 ], [ %32, %42 ] %32 = add i64 %29, %31 %33 = icmp ult i64 %32, %2 br i1 %33, label %34, label %53 34: ; preds = %30 %35 = udiv i64 %32, %29 %36 = getelementptr inbounds i64, ptr %0, i64 %35 %37 = load i64, ptr %36, align 8, !tbaa !6 br i1 %15, label %42, label %38 38: ; preds = %34 %39 = getelementptr inbounds i64, ptr %1, i64 %35 %40 = load i64, ptr %39, align 8, !tbaa !6 %41 = and i64 %40, %37 br label %42 42: ; preds = %38, %34 %43 = phi i64 [ %41, %38 ], [ %37, %34 ] %44 = icmp eq i64 %43, %4 br i1 %44, label %30, label %45, !llvm.loop !10 45: ; preds = %42 %46 = xor i64 %43, %4 br label %47 47: ; preds = %45, %20 %48 = phi i64 [ %26, %20 ], [ %32, %45 ] %49 = phi i64 [ %24, %20 ], [ %46, %45 ] %50 = tail call i64 @__ffs(i64 noundef %49) #2 %51 = add i64 %50, %48 %52 = tail call i64 @min(i64 noundef %51, i64 noundef %2) #2 br label %53 53: ; preds = %30, %5, %47 %54 = phi i64 [ %52, %47 ], [ %2, %5 ], [ %2, %30 ] ret i64 %54 } declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i64 @BITMAP_FIRST_WORD_MASK(i64 noundef) local_unnamed_addr #1 declare i64 @round_down(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @min(i64 noundef, i64 noundef) local_unnamed_addr #1 declare i64 @__ffs(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, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_lib_extr_find_bit.c__find_next_bit
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_cb710-mmc.c_cb710_mmc_reset_events.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_cb710-mmc.c_cb710_mmc_reset_events.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @CB710_MMC_STATUS0_PORT = dso_local local_unnamed_addr global i32 0, align 4 @CB710_MMC_STATUS1_PORT = dso_local local_unnamed_addr global i32 0, align 4 @CB710_MMC_STATUS2_PORT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @cb710_mmc_reset_events], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cb710_mmc_reset_events(ptr noundef %0) #0 { %2 = load i32, ptr @CB710_MMC_STATUS0_PORT, align 4, !tbaa !5 %3 = tail call i32 @cb710_write_port_8(ptr noundef %0, i32 noundef %2, i32 noundef 255) #2 %4 = load i32, ptr @CB710_MMC_STATUS1_PORT, align 4, !tbaa !5 %5 = tail call i32 @cb710_write_port_8(ptr noundef %0, i32 noundef %4, i32 noundef 255) #2 %6 = load i32, ptr @CB710_MMC_STATUS2_PORT, align 4, !tbaa !5 %7 = tail call i32 @cb710_write_port_8(ptr noundef %0, i32 noundef %6, i32 noundef 255) #2 ret void } declare i32 @cb710_write_port_8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_cb710-mmc.c_cb710_mmc_reset_events.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/mmc/host/extr_cb710-mmc.c_cb710_mmc_reset_events.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CB710_MMC_STATUS0_PORT = common local_unnamed_addr global i32 0, align 4 @CB710_MMC_STATUS1_PORT = common local_unnamed_addr global i32 0, align 4 @CB710_MMC_STATUS2_PORT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @cb710_mmc_reset_events], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cb710_mmc_reset_events(ptr noundef %0) #0 { %2 = load i32, ptr @CB710_MMC_STATUS0_PORT, align 4, !tbaa !6 %3 = tail call i32 @cb710_write_port_8(ptr noundef %0, i32 noundef %2, i32 noundef 255) #2 %4 = load i32, ptr @CB710_MMC_STATUS1_PORT, align 4, !tbaa !6 %5 = tail call i32 @cb710_write_port_8(ptr noundef %0, i32 noundef %4, i32 noundef 255) #2 %6 = load i32, ptr @CB710_MMC_STATUS2_PORT, align 4, !tbaa !6 %7 = tail call i32 @cb710_write_port_8(ptr noundef %0, i32 noundef %6, i32 noundef 255) #2 ret void } declare i32 @cb710_write_port_8(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_mmc_host_extr_cb710-mmc.c_cb710_mmc_reset_events
; ModuleID = 'AnghaBench/linux/fs/ext2/extr_xattr_security.c_ext2_xattr_security_get.c' source_filename = "AnghaBench/linux/fs/ext2/extr_xattr_security.c_ext2_xattr_security_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" @EXT2_XATTR_INDEX_SECURITY = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ext2_xattr_security_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ext2_xattr_security_get(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 { %7 = load i32, ptr @EXT2_XATTR_INDEX_SECURITY, align 4, !tbaa !5 %8 = tail call i32 @ext2_xattr_get(ptr noundef %2, i32 noundef %7, ptr noundef %3, ptr noundef %4, i64 noundef %5) #2 ret i32 %8 } declare i32 @ext2_xattr_get(ptr noundef, i32 noundef, 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/linux/fs/ext2/extr_xattr_security.c_ext2_xattr_security_get.c' source_filename = "AnghaBench/linux/fs/ext2/extr_xattr_security.c_ext2_xattr_security_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXT2_XATTR_INDEX_SECURITY = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ext2_xattr_security_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @ext2_xattr_security_get(ptr nocapture readnone %0, ptr nocapture readnone %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, i64 noundef %5) #0 { %7 = load i32, ptr @EXT2_XATTR_INDEX_SECURITY, align 4, !tbaa !6 %8 = tail call i32 @ext2_xattr_get(ptr noundef %2, i32 noundef %7, ptr noundef %3, ptr noundef %4, i64 noundef %5) #2 ret i32 %8 } declare i32 @ext2_xattr_get(ptr noundef, i32 noundef, 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"}
linux_fs_ext2_extr_xattr_security.c_ext2_xattr_security_get
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_ls.c_LsDate.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_ls.c_LsDate.c" target datalayout = "e-m:e-p270:32:32-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.tm = type { i64, i32, i32, i32, i32 } @kModTimeUnknown = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Jan 0 1900\00", align 1 @gNowPlus1Hr = dso_local local_unnamed_addr global i64 0, align 8 @gNowMinus6Mon = dso_local local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [12 x i8] c"%s %2d %4d\00", align 1 @gLsMon = dso_local local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [17 x i8] c"%s %2d %02d:%02d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @LsDate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 store i64 %1, ptr %3, align 8, !tbaa !5 %4 = load i64, ptr @kModTimeUnknown, align 8, !tbaa !5 %5 = icmp eq i64 %4, %1 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @strcpy(ptr noundef %0, ptr noundef nonnull @.str) #3 br label %37 8: ; preds = %2 %9 = call ptr @localtime(ptr noundef nonnull %3) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @strcpy(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %37 13: ; preds = %8 %14 = load i64, ptr %3, align 8, !tbaa !5 %15 = load i64, ptr @gNowPlus1Hr, align 8, !tbaa !5 %16 = icmp sgt i64 %14, %15 %17 = load i64, ptr @gNowMinus6Mon, align 8 %18 = icmp slt i64 %14, %17 %19 = select i1 %16, i1 true, i1 %18 %20 = load ptr, ptr @gLsMon, align 8, !tbaa !9 %21 = load i64, ptr %9, align 8, !tbaa !11 %22 = getelementptr inbounds ptr, ptr %20, i64 %21 %23 = load ptr, ptr %22, align 8, !tbaa !9 %24 = getelementptr inbounds %struct.tm, ptr %9, i64 0, i32 1 %25 = load i32, ptr %24, align 8, !tbaa !14 br i1 %19, label %26, label %31 26: ; preds = %13 %27 = getelementptr inbounds %struct.tm, ptr %9, i64 0, i32 2 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = add nsw i32 %28, 1900 %30 = call i32 (ptr, ptr, ptr, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %23, i32 noundef %25, i32 noundef %29) br label %37 31: ; preds = %13 %32 = getelementptr inbounds %struct.tm, ptr %9, i64 0, i32 3 %33 = load i32, ptr %32, align 8, !tbaa !16 %34 = getelementptr inbounds %struct.tm, ptr %9, i64 0, i32 4 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = call i32 (ptr, ptr, ptr, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %23, i32 noundef %25, i32 noundef %33, i32 noundef %35) br label %37 37: ; preds = %26, %31, %11, %6 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @localtime(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"tm", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20} !13 = !{!"int", !7, i64 0} !14 = !{!12, !13, i64 8} !15 = !{!12, !13, i64 12} !16 = !{!12, !13, i64 16} !17 = !{!12, !13, i64 20}
; ModuleID = 'AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_ls.c_LsDate.c' source_filename = "AnghaBench/reactos/modules/rosapps/applications/net/ncftp/ncftp/extr_ls.c_LsDate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @kModTimeUnknown = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [13 x i8] c" \00", align 1 @.str.1 = private unnamed_addr constant [13 x i8] c"Jan 0 1900\00", align 1 @gNowPlus1Hr = common local_unnamed_addr global i64 0, align 8 @gNowMinus6Mon = common local_unnamed_addr global i64 0, align 8 @.str.2 = private unnamed_addr constant [12 x i8] c"%s %2d %4d\00", align 1 @gLsMon = common local_unnamed_addr global ptr null, align 8 @.str.3 = private unnamed_addr constant [17 x i8] c"%s %2d %02d:%02d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @LsDate(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 store i64 %1, ptr %3, align 8, !tbaa !6 %4 = load i64, ptr @kModTimeUnknown, align 8, !tbaa !6 %5 = icmp eq i64 %4, %1 br i1 %5, label %6, label %8 6: ; preds = %2 %7 = tail call i32 @strcpy(ptr noundef %0, ptr noundef nonnull @.str) #3 br label %37 8: ; preds = %2 %9 = call ptr @localtime(ptr noundef nonnull %3) #3 %10 = icmp eq ptr %9, null br i1 %10, label %11, label %13 11: ; preds = %8 %12 = call i32 @strcpy(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %37 13: ; preds = %8 %14 = load i64, ptr %3, align 8, !tbaa !6 %15 = load i64, ptr @gNowPlus1Hr, align 8, !tbaa !6 %16 = icmp sgt i64 %14, %15 %17 = load i64, ptr @gNowMinus6Mon, align 8 %18 = icmp slt i64 %14, %17 %19 = select i1 %16, i1 true, i1 %18 %20 = load ptr, ptr @gLsMon, align 8, !tbaa !10 %21 = load i64, ptr %9, align 8, !tbaa !12 %22 = getelementptr inbounds ptr, ptr %20, i64 %21 %23 = load ptr, ptr %22, align 8, !tbaa !10 %24 = getelementptr inbounds i8, ptr %9, i64 8 %25 = load i32, ptr %24, align 8, !tbaa !15 br i1 %19, label %26, label %31 26: ; preds = %13 %27 = getelementptr inbounds i8, ptr %9, i64 12 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = add nsw i32 %28, 1900 %30 = call i32 (ptr, ptr, ptr, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %23, i32 noundef %25, i32 noundef %29) br label %37 31: ; preds = %13 %32 = getelementptr inbounds i8, ptr %9, i64 16 %33 = load i32, ptr %32, align 8, !tbaa !17 %34 = getelementptr inbounds i8, ptr %9, i64 20 %35 = load i32, ptr %34, align 4, !tbaa !18 %36 = call i32 (ptr, ptr, ptr, i32, i32, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %23, i32 noundef %25, i32 noundef %33, i32 noundef %35) br label %37 37: ; preds = %26, %31, %11, %6 ret void } declare i32 @strcpy(ptr noundef, ptr noundef) local_unnamed_addr #1 declare ptr @localtime(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nofree nounwind declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ptr noundef, i32 noundef, i32 noundef, ...) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"tm", !7, i64 0, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20} !14 = !{!"int", !8, i64 0} !15 = !{!13, !14, i64 8} !16 = !{!13, !14, i64 12} !17 = !{!13, !14, i64 16} !18 = !{!13, !14, i64 20}
reactos_modules_rosapps_applications_net_ncftp_ncftp_extr_ls.c_LsDate
; ModuleID = 'AnghaBench/freebsd/usr.sbin/gpioctl/extr_gpioctl.c_main.c' source_filename = "AnghaBench/freebsd/usr.sbin/gpioctl/extr_gpioctl.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" %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"cf:lntvNp\00", align 1 @optarg = dso_local local_unnamed_addr global ptr null, align 8 @optind = dso_local local_unnamed_addr global i64 0, align 8 @GPIO_INVALID_HANDLE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [10 x i8] c"gpio_open\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"%s is also a pin name, use -p or -N\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Can't find pin named \22%s\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Invalid pin number: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"gpio_pin_set_name\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"gpio_pin_toggle\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"Invalid flag: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"gpio_pin_set_flags\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"gpio_pin_get\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"Invalid pin value: %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"gpio_pin_set\00", align 1 ; Function Attrs: noreturn nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_3__, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 br label %5 5: ; preds = %14, %2 %6 = phi ptr [ null, %2 ], [ %15, %14 ] %7 = phi i32 [ 0, %2 ], [ %16, %14 ] %8 = phi i32 [ 0, %2 ], [ %17, %14 ] %9 = phi i32 [ 0, %2 ], [ %18, %14 ] %10 = phi i32 [ 0, %2 ], [ %19, %14 ] %11 = phi i32 [ 0, %2 ], [ %20, %14 ] %12 = phi i32 [ 0, %2 ], [ %21, %14 ] %13 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #4 switch i32 %13, label %30 [ i32 -1, label %32 i32 99, label %14 i32 102, label %22 i32 108, label %24 i32 110, label %25 i32 78, label %26 i32 112, label %27 i32 116, label %28 i32 118, label %29 ] 14: ; preds = %5, %30, %29, %28, %27, %26, %25, %24, %22 %15 = phi ptr [ %6, %30 ], [ %6, %29 ], [ %6, %28 ], [ %6, %27 ], [ %6, %26 ], [ %6, %25 ], [ %6, %24 ], [ %23, %22 ], [ %6, %5 ] %16 = phi i32 [ %7, %30 ], [ %7, %29 ], [ %7, %28 ], [ 128, %27 ], [ 129, %26 ], [ %7, %25 ], [ %7, %24 ], [ %7, %22 ], [ %7, %5 ] %17 = phi i32 [ %8, %30 ], [ %8, %29 ], [ %8, %28 ], [ %8, %27 ], [ %8, %26 ], [ %8, %25 ], [ %8, %24 ], [ %8, %22 ], [ 1, %5 ] %18 = phi i32 [ %9, %30 ], [ %9, %29 ], [ %9, %28 ], [ %9, %27 ], [ %9, %26 ], [ %9, %25 ], [ 1, %24 ], [ %9, %22 ], [ %9, %5 ] %19 = phi i32 [ %10, %30 ], [ %10, %29 ], [ %10, %28 ], [ %10, %27 ], [ %10, %26 ], [ 1, %25 ], [ %10, %24 ], [ %10, %22 ], [ %10, %5 ] %20 = phi i32 [ %11, %30 ], [ %11, %29 ], [ 1, %28 ], [ %11, %27 ], [ %11, %26 ], [ %11, %25 ], [ %11, %24 ], [ %11, %22 ], [ %11, %5 ] %21 = phi i32 [ %12, %30 ], [ 1, %29 ], [ %12, %28 ], [ %12, %27 ], [ %12, %26 ], [ %12, %25 ], [ %12, %24 ], [ %12, %22 ], [ %12, %5 ] br label %5, !llvm.loop !5 22: ; preds = %5 %23 = load ptr, ptr @optarg, align 8, !tbaa !7 br label %14 24: ; preds = %5 br label %14 25: ; preds = %5 br label %14 26: ; preds = %5 br label %14 27: ; preds = %5 br label %14 28: ; preds = %5 br label %14 29: ; preds = %5 br label %14 30: ; preds = %5 %31 = tail call i32 (...) @usage() #4 br label %14 32: ; preds = %5 %33 = load i64, ptr @optind, align 8, !tbaa !11 %34 = getelementptr inbounds ptr, ptr %1, i64 %33 %35 = trunc i64 %33 to i32 %36 = sub i32 %0, %35 %37 = icmp eq ptr %6, null br i1 %37, label %38, label %40 38: ; preds = %32 %39 = tail call i64 @gpio_open(i32 noundef 0) #4 br label %42 40: ; preds = %32 %41 = tail call i64 @gpio_open_device(ptr noundef nonnull %6) #4 br label %42 42: ; preds = %40, %38 %43 = phi i64 [ %39, %38 ], [ %41, %40 ] %44 = load i64, ptr @GPIO_INVALID_HANDLE, align 8, !tbaa !11 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = tail call i32 @perror(ptr noundef nonnull @.str.1) #4 %48 = tail call i32 @exit(i32 noundef 1) #5 unreachable 49: ; preds = %42 %50 = icmp eq i32 %9, 0 br i1 %50, label %55, label %51 51: ; preds = %49 %52 = tail call i32 @dump_pins(i64 noundef %43, i32 noundef %12) #4 %53 = tail call i32 @gpio_close(i64 noundef %43) #4 %54 = tail call i32 @exit(i32 noundef 0) #5 unreachable 55: ; preds = %49 %56 = icmp eq i32 %35, %0 br i1 %56, label %57, label %59 57: ; preds = %55 %58 = tail call i32 (...) @usage() #4 br label %59 59: ; preds = %57, %55 %60 = load ptr, ptr %34, align 8, !tbaa !7 %61 = trunc i32 %7 to i8 switch i8 %61, label %62 [ i8 -128, label %77 i8 -127, label %84 ] 62: ; preds = %59 %63 = call i32 @str2int(ptr noundef %60, ptr noundef nonnull %4) #4 %64 = load i32, ptr %4, align 4, !tbaa !13 %65 = icmp eq i32 %64, 0 %66 = load ptr, ptr %34, align 8, !tbaa !7 %67 = call i32 @get_pinnum_by_name(i64 noundef %43, ptr noundef %66) #4 %68 = icmp eq i32 %67, -1 br i1 %65, label %73, label %69 69: ; preds = %62 br i1 %68, label %90, label %70 70: ; preds = %69 %71 = load ptr, ptr %34, align 8, !tbaa !7 %72 = call i32 @fail(ptr noundef nonnull @.str.2, ptr noundef %71) #4 br label %90 73: ; preds = %62 br i1 %68, label %74, label %90 74: ; preds = %73 %75 = load ptr, ptr %34, align 8, !tbaa !7 %76 = call i32 @fail(ptr noundef nonnull @.str.3, ptr noundef %75) #4 br label %90 77: ; preds = %59 %78 = call i32 @str2int(ptr noundef %60, ptr noundef nonnull %4) #4 %79 = load i32, ptr %4, align 4, !tbaa !13 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %90 81: ; preds = %77 %82 = load ptr, ptr %34, align 8, !tbaa !7 %83 = call i32 @fail(ptr noundef nonnull @.str.4, ptr noundef %82) #4 br label %90 84: ; preds = %59 %85 = tail call i32 @get_pinnum_by_name(i64 noundef %43, ptr noundef %60) #4 %86 = icmp eq i32 %85, -1 br i1 %86, label %87, label %90 87: ; preds = %84 %88 = load ptr, ptr %34, align 8, !tbaa !7 %89 = tail call i32 @fail(ptr noundef nonnull @.str.3, ptr noundef %88) #4 br label %90 90: ; preds = %84, %87, %77, %81, %70, %69, %74, %73 %91 = phi i32 [ %63, %70 ], [ %63, %69 ], [ -1, %74 ], [ %67, %73 ], [ -1, %87 ], [ %85, %84 ], [ %78, %77 ], [ %78, %81 ] %92 = icmp eq i32 %10, 0 br i1 %92, label %107, label %93 93: ; preds = %90 %94 = icmp eq i32 %36, 2 br i1 %94, label %97, label %95 95: ; preds = %93 %96 = call i32 (...) @usage() #4 br label %97 97: ; preds = %95, %93 %98 = getelementptr inbounds ptr, ptr %34, i64 1 %99 = load ptr, ptr %98, align 8, !tbaa !7 %100 = call i64 @gpio_pin_set_name(i64 noundef %43, i32 noundef %91, ptr noundef %99) #4 %101 = icmp slt i64 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %97 %103 = call i32 @perror(ptr noundef nonnull @.str.5) #4 %104 = call i32 @exit(i32 noundef 1) #5 unreachable 105: ; preds = %97 %106 = call i32 @exit(i32 noundef 0) #5 unreachable 107: ; preds = %90 %108 = icmp eq i32 %11, 0 br i1 %108, label %122, label %109 109: ; preds = %107 %110 = icmp sgt i32 %36, 1 br i1 %110, label %111, label %113 111: ; preds = %109 %112 = call i32 (...) @usage() #4 br label %113 113: ; preds = %111, %109 %114 = call i64 @gpio_pin_toggle(i64 noundef %43, i32 noundef %91) #4 %115 = icmp slt i64 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %113 %117 = call i32 @perror(ptr noundef nonnull @.str.6) #4 %118 = call i32 @exit(i32 noundef 1) #5 unreachable 119: ; preds = %113 %120 = call i32 @gpio_close(i64 noundef %43) #4 %121 = call i32 @exit(i32 noundef 0) #5 unreachable 122: ; preds = %107 %123 = icmp eq i32 %8, 0 br i1 %123, label %152, label %124 124: ; preds = %122 %125 = icmp sgt i32 %36, 1 br i1 %125, label %126, label %142 126: ; preds = %124 %127 = zext nneg i32 %36 to i64 br label %128 128: ; preds = %126, %138 %129 = phi i64 [ 1, %126 ], [ %140, %138 ] %130 = phi i32 [ 0, %126 ], [ %139, %138 ] %131 = getelementptr inbounds ptr, ptr %34, i64 %129 %132 = load ptr, ptr %131, align 8, !tbaa !7 %133 = call i32 @str2cap(ptr noundef %132) #4 %134 = icmp slt i32 %133, 0 br i1 %134, label %135, label %138 135: ; preds = %128 %136 = load ptr, ptr %131, align 8, !tbaa !7 %137 = call i32 @fail(ptr noundef nonnull @.str.7, ptr noundef %136) #4 br label %138 138: ; preds = %135, %128 %139 = or i32 %133, %130 %140 = add nuw nsw i64 %129, 1 %141 = icmp eq i64 %140, %127 br i1 %141, label %142, label %128, !llvm.loop !15 142: ; preds = %138, %124 %143 = phi i32 [ 0, %124 ], [ %139, %138 ] store i32 %91, ptr %3, align 4, !tbaa !16 %144 = getelementptr inbounds %struct.TYPE_3__, ptr %3, i64 0, i32 1 store i32 %143, ptr %144, align 4, !tbaa !18 %145 = call i64 @gpio_pin_set_flags(i64 noundef %43, ptr noundef nonnull %3) #4 %146 = icmp slt i64 %145, 0 br i1 %146, label %147, label %150 147: ; preds = %142 %148 = call i32 @perror(ptr noundef nonnull @.str.8) #4 %149 = call i32 @exit(i32 noundef 1) #5 unreachable 150: ; preds = %142 %151 = call i32 @exit(i32 noundef 0) #5 unreachable 152: ; preds = %122 %153 = icmp sgt i32 %36, 2 %154 = or i1 %56, %153 br i1 %154, label %155, label %157 155: ; preds = %152 %156 = call i32 (...) @usage() #4 br label %157 157: ; preds = %152, %155 %158 = icmp eq i32 %36, 1 br i1 %158, label %159, label %168 159: ; preds = %157 %160 = call i32 @gpio_pin_get(i64 noundef %43, i32 noundef %91) #4 %161 = icmp slt i32 %160, 0 br i1 %161, label %162, label %165 162: ; preds = %159 %163 = call i32 @perror(ptr noundef nonnull @.str.9) #4 %164 = call i32 @exit(i32 noundef 1) #5 unreachable 165: ; preds = %159 %166 = call i32 @printf(ptr noundef nonnull @.str.10, i32 noundef %160) #4 %167 = call i32 @exit(i32 noundef 0) #5 unreachable 168: ; preds = %157 %169 = getelementptr inbounds ptr, ptr %34, i64 1 %170 = load ptr, ptr %169, align 8, !tbaa !7 %171 = call i32 @str2int(ptr noundef %170, ptr noundef nonnull %4) #4 %172 = load i32, ptr %4, align 4, !tbaa !13 %173 = icmp eq i32 %172, 0 %174 = icmp ugt i32 %171, 1 %175 = select i1 %173, i1 true, i1 %174 br i1 %175, label %176, label %179 176: ; preds = %168 %177 = load ptr, ptr %169, align 8, !tbaa !7 %178 = call i32 @fail(ptr noundef nonnull @.str.11, ptr noundef %177) #4 br label %179 179: ; preds = %168, %176 %180 = call i64 @gpio_pin_set(i64 noundef %43, i32 noundef %91, i32 noundef %171) #4 %181 = icmp slt i64 %180, 0 br i1 %181, label %182, label %185 182: ; preds = %179 %183 = call i32 @perror(ptr noundef nonnull @.str.12) #4 %184 = call i32 @exit(i32 noundef 1) #5 unreachable 185: ; preds = %179 %186 = call i32 @gpio_close(i64 noundef %43) #4 %187 = call i32 @exit(i32 noundef 0) #5 unreachable } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @usage(...) local_unnamed_addr #2 declare i64 @gpio_open(i32 noundef) local_unnamed_addr #2 declare i64 @gpio_open_device(ptr noundef) local_unnamed_addr #2 declare i32 @perror(ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 declare i32 @dump_pins(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gpio_close(i64 noundef) local_unnamed_addr #2 declare i32 @str2int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_pinnum_by_name(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fail(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @gpio_pin_set_name(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @gpio_pin_toggle(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @str2cap(ptr noundef) local_unnamed_addr #2 declare i64 @gpio_pin_set_flags(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gpio_pin_get(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @gpio_pin_set(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { 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 = { 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 #4 = { nounwind } attributes #5 = { 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 = distinct !{!5, !6} !6 = !{!"llvm.loop.mustprogress"} !7 = !{!8, !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !9, i64 0} !15 = distinct !{!15, !6} !16 = !{!17, !14, i64 0} !17 = !{!"TYPE_3__", !14, i64 0, !14, i64 4} !18 = !{!17, !14, i64 4}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/gpioctl/extr_gpioctl.c_main.c' source_filename = "AnghaBench/freebsd/usr.sbin/gpioctl/extr_gpioctl.c_main.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { i32, i32 } @.str = private unnamed_addr constant [10 x i8] c"cf:lntvNp\00", align 1 @optarg = common local_unnamed_addr global ptr null, align 8 @optind = common local_unnamed_addr global i64 0, align 8 @GPIO_INVALID_HANDLE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [10 x i8] c"gpio_open\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"%s is also a pin name, use -p or -N\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Can't find pin named \22%s\22\0A\00", align 1 @.str.4 = private unnamed_addr constant [24 x i8] c"Invalid pin number: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"gpio_pin_set_name\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"gpio_pin_toggle\00", align 1 @.str.7 = private unnamed_addr constant [18 x i8] c"Invalid flag: %s\0A\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"gpio_pin_set_flags\00", align 1 @.str.9 = private unnamed_addr constant [13 x i8] c"gpio_pin_get\00", align 1 @.str.10 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.11 = private unnamed_addr constant [23 x i8] c"Invalid pin value: %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [13 x i8] c"gpio_pin_set\00", align 1 ; Function Attrs: noreturn nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_3__, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 br label %5 5: ; preds = %14, %2 %6 = phi ptr [ null, %2 ], [ %15, %14 ] %7 = phi i32 [ 0, %2 ], [ %16, %14 ] %8 = phi i32 [ 0, %2 ], [ %17, %14 ] %9 = phi i32 [ 0, %2 ], [ %18, %14 ] %10 = phi i32 [ 0, %2 ], [ %19, %14 ] %11 = phi i32 [ 0, %2 ], [ %20, %14 ] %12 = phi i32 [ 0, %2 ], [ %21, %14 ] %13 = tail call i32 @getopt(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str) #4 switch i32 %13, label %30 [ i32 -1, label %32 i32 99, label %14 i32 102, label %22 i32 108, label %24 i32 110, label %25 i32 78, label %26 i32 112, label %27 i32 116, label %28 i32 118, label %29 ] 14: ; preds = %5, %30, %29, %28, %27, %26, %25, %24, %22 %15 = phi ptr [ %6, %30 ], [ %6, %29 ], [ %6, %28 ], [ %6, %27 ], [ %6, %26 ], [ %6, %25 ], [ %6, %24 ], [ %23, %22 ], [ %6, %5 ] %16 = phi i32 [ %7, %30 ], [ %7, %29 ], [ %7, %28 ], [ 128, %27 ], [ 129, %26 ], [ %7, %25 ], [ %7, %24 ], [ %7, %22 ], [ %7, %5 ] %17 = phi i32 [ %8, %30 ], [ %8, %29 ], [ %8, %28 ], [ %8, %27 ], [ %8, %26 ], [ %8, %25 ], [ %8, %24 ], [ %8, %22 ], [ 1, %5 ] %18 = phi i32 [ %9, %30 ], [ %9, %29 ], [ %9, %28 ], [ %9, %27 ], [ %9, %26 ], [ %9, %25 ], [ 1, %24 ], [ %9, %22 ], [ %9, %5 ] %19 = phi i32 [ %10, %30 ], [ %10, %29 ], [ %10, %28 ], [ %10, %27 ], [ %10, %26 ], [ 1, %25 ], [ %10, %24 ], [ %10, %22 ], [ %10, %5 ] %20 = phi i32 [ %11, %30 ], [ %11, %29 ], [ 1, %28 ], [ %11, %27 ], [ %11, %26 ], [ %11, %25 ], [ %11, %24 ], [ %11, %22 ], [ %11, %5 ] %21 = phi i32 [ %12, %30 ], [ 1, %29 ], [ %12, %28 ], [ %12, %27 ], [ %12, %26 ], [ %12, %25 ], [ %12, %24 ], [ %12, %22 ], [ %12, %5 ] br label %5, !llvm.loop !6 22: ; preds = %5 %23 = load ptr, ptr @optarg, align 8, !tbaa !8 br label %14 24: ; preds = %5 br label %14 25: ; preds = %5 br label %14 26: ; preds = %5 br label %14 27: ; preds = %5 br label %14 28: ; preds = %5 br label %14 29: ; preds = %5 br label %14 30: ; preds = %5 %31 = tail call i32 @usage() #4 br label %14 32: ; preds = %5 %33 = load i64, ptr @optind, align 8, !tbaa !12 %34 = getelementptr inbounds ptr, ptr %1, i64 %33 %35 = trunc i64 %33 to i32 %36 = sub i32 %0, %35 %37 = icmp eq ptr %6, null br i1 %37, label %38, label %40 38: ; preds = %32 %39 = tail call i64 @gpio_open(i32 noundef 0) #4 br label %42 40: ; preds = %32 %41 = tail call i64 @gpio_open_device(ptr noundef nonnull %6) #4 br label %42 42: ; preds = %40, %38 %43 = phi i64 [ %39, %38 ], [ %41, %40 ] %44 = load i64, ptr @GPIO_INVALID_HANDLE, align 8, !tbaa !12 %45 = icmp eq i64 %43, %44 br i1 %45, label %46, label %49 46: ; preds = %42 %47 = tail call i32 @perror(ptr noundef nonnull @.str.1) #4 %48 = tail call i32 @exit(i32 noundef 1) #5 unreachable 49: ; preds = %42 %50 = icmp eq i32 %9, 0 br i1 %50, label %55, label %51 51: ; preds = %49 %52 = tail call i32 @dump_pins(i64 noundef %43, i32 noundef %12) #4 %53 = tail call i32 @gpio_close(i64 noundef %43) #4 %54 = tail call i32 @exit(i32 noundef 0) #5 unreachable 55: ; preds = %49 %56 = icmp eq i32 %35, %0 br i1 %56, label %57, label %59 57: ; preds = %55 %58 = tail call i32 @usage() #4 br label %59 59: ; preds = %57, %55 %60 = load ptr, ptr %34, align 8, !tbaa !8 %61 = trunc nuw i32 %7 to i8 switch i8 %61, label %62 [ i8 -128, label %77 i8 -127, label %84 ] 62: ; preds = %59 %63 = call i32 @str2int(ptr noundef %60, ptr noundef nonnull %4) #4 %64 = load i32, ptr %4, align 4, !tbaa !14 %65 = icmp eq i32 %64, 0 %66 = load ptr, ptr %34, align 8, !tbaa !8 %67 = call i32 @get_pinnum_by_name(i64 noundef %43, ptr noundef %66) #4 %68 = icmp eq i32 %67, -1 br i1 %65, label %73, label %69 69: ; preds = %62 br i1 %68, label %90, label %70 70: ; preds = %69 %71 = load ptr, ptr %34, align 8, !tbaa !8 %72 = call i32 @fail(ptr noundef nonnull @.str.2, ptr noundef %71) #4 br label %90 73: ; preds = %62 br i1 %68, label %74, label %90 74: ; preds = %73 %75 = load ptr, ptr %34, align 8, !tbaa !8 %76 = call i32 @fail(ptr noundef nonnull @.str.3, ptr noundef %75) #4 br label %90 77: ; preds = %59 %78 = call i32 @str2int(ptr noundef %60, ptr noundef nonnull %4) #4 %79 = load i32, ptr %4, align 4, !tbaa !14 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %90 81: ; preds = %77 %82 = load ptr, ptr %34, align 8, !tbaa !8 %83 = call i32 @fail(ptr noundef nonnull @.str.4, ptr noundef %82) #4 br label %90 84: ; preds = %59 %85 = tail call i32 @get_pinnum_by_name(i64 noundef %43, ptr noundef %60) #4 %86 = icmp eq i32 %85, -1 br i1 %86, label %87, label %90 87: ; preds = %84 %88 = load ptr, ptr %34, align 8, !tbaa !8 %89 = tail call i32 @fail(ptr noundef nonnull @.str.3, ptr noundef %88) #4 br label %90 90: ; preds = %84, %87, %77, %81, %70, %69, %74, %73 %91 = phi i32 [ %63, %70 ], [ %63, %69 ], [ -1, %74 ], [ %67, %73 ], [ -1, %87 ], [ %85, %84 ], [ %78, %77 ], [ %78, %81 ] %92 = icmp eq i32 %10, 0 br i1 %92, label %107, label %93 93: ; preds = %90 %94 = icmp eq i32 %36, 2 br i1 %94, label %97, label %95 95: ; preds = %93 %96 = call i32 @usage() #4 br label %97 97: ; preds = %95, %93 %98 = getelementptr inbounds i8, ptr %34, i64 8 %99 = load ptr, ptr %98, align 8, !tbaa !8 %100 = call i64 @gpio_pin_set_name(i64 noundef %43, i32 noundef %91, ptr noundef %99) #4 %101 = icmp slt i64 %100, 0 br i1 %101, label %102, label %105 102: ; preds = %97 %103 = call i32 @perror(ptr noundef nonnull @.str.5) #4 %104 = call i32 @exit(i32 noundef 1) #5 unreachable 105: ; preds = %97 %106 = call i32 @exit(i32 noundef 0) #5 unreachable 107: ; preds = %90 %108 = icmp eq i32 %11, 0 br i1 %108, label %122, label %109 109: ; preds = %107 %110 = icmp sgt i32 %36, 1 br i1 %110, label %111, label %113 111: ; preds = %109 %112 = call i32 @usage() #4 br label %113 113: ; preds = %111, %109 %114 = call i64 @gpio_pin_toggle(i64 noundef %43, i32 noundef %91) #4 %115 = icmp slt i64 %114, 0 br i1 %115, label %116, label %119 116: ; preds = %113 %117 = call i32 @perror(ptr noundef nonnull @.str.6) #4 %118 = call i32 @exit(i32 noundef 1) #5 unreachable 119: ; preds = %113 %120 = call i32 @gpio_close(i64 noundef %43) #4 %121 = call i32 @exit(i32 noundef 0) #5 unreachable 122: ; preds = %107 %123 = icmp eq i32 %8, 0 br i1 %123, label %152, label %124 124: ; preds = %122 %125 = icmp sgt i32 %36, 1 br i1 %125, label %126, label %142 126: ; preds = %124 %127 = zext nneg i32 %36 to i64 br label %128 128: ; preds = %126, %138 %129 = phi i64 [ 1, %126 ], [ %140, %138 ] %130 = phi i32 [ 0, %126 ], [ %139, %138 ] %131 = getelementptr inbounds ptr, ptr %34, i64 %129 %132 = load ptr, ptr %131, align 8, !tbaa !8 %133 = call i32 @str2cap(ptr noundef %132) #4 %134 = icmp slt i32 %133, 0 br i1 %134, label %135, label %138 135: ; preds = %128 %136 = load ptr, ptr %131, align 8, !tbaa !8 %137 = call i32 @fail(ptr noundef nonnull @.str.7, ptr noundef %136) #4 br label %138 138: ; preds = %135, %128 %139 = or i32 %133, %130 %140 = add nuw nsw i64 %129, 1 %141 = icmp eq i64 %140, %127 br i1 %141, label %142, label %128, !llvm.loop !16 142: ; preds = %138, %124 %143 = phi i32 [ 0, %124 ], [ %139, %138 ] store i32 %91, ptr %3, align 4, !tbaa !17 %144 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %143, ptr %144, align 4, !tbaa !19 %145 = call i64 @gpio_pin_set_flags(i64 noundef %43, ptr noundef nonnull %3) #4 %146 = icmp slt i64 %145, 0 br i1 %146, label %147, label %150 147: ; preds = %142 %148 = call i32 @perror(ptr noundef nonnull @.str.8) #4 %149 = call i32 @exit(i32 noundef 1) #5 unreachable 150: ; preds = %142 %151 = call i32 @exit(i32 noundef 0) #5 unreachable 152: ; preds = %122 %153 = icmp sgt i32 %36, 2 %154 = or i1 %56, %153 br i1 %154, label %155, label %157 155: ; preds = %152 %156 = call i32 @usage() #4 br label %157 157: ; preds = %152, %155 %158 = icmp eq i32 %36, 1 br i1 %158, label %159, label %168 159: ; preds = %157 %160 = call i32 @gpio_pin_get(i64 noundef %43, i32 noundef %91) #4 %161 = icmp slt i32 %160, 0 br i1 %161, label %162, label %165 162: ; preds = %159 %163 = call i32 @perror(ptr noundef nonnull @.str.9) #4 %164 = call i32 @exit(i32 noundef 1) #5 unreachable 165: ; preds = %159 %166 = call i32 @printf(ptr noundef nonnull @.str.10, i32 noundef %160) #4 %167 = call i32 @exit(i32 noundef 0) #5 unreachable 168: ; preds = %157 %169 = getelementptr inbounds i8, ptr %34, i64 8 %170 = load ptr, ptr %169, align 8, !tbaa !8 %171 = call i32 @str2int(ptr noundef %170, ptr noundef nonnull %4) #4 %172 = load i32, ptr %4, align 4, !tbaa !14 %173 = icmp eq i32 %172, 0 %174 = icmp ugt i32 %171, 1 %175 = select i1 %173, i1 true, i1 %174 br i1 %175, label %176, label %179 176: ; preds = %168 %177 = load ptr, ptr %169, align 8, !tbaa !8 %178 = call i32 @fail(ptr noundef nonnull @.str.11, ptr noundef %177) #4 br label %179 179: ; preds = %168, %176 %180 = call i64 @gpio_pin_set(i64 noundef %43, i32 noundef %91, i32 noundef %171) #4 %181 = icmp slt i64 %180, 0 br i1 %181, label %182, label %185 182: ; preds = %179 %183 = call i32 @perror(ptr noundef nonnull @.str.12) #4 %184 = call i32 @exit(i32 noundef 1) #5 unreachable 185: ; preds = %179 %186 = call i32 @gpio_close(i64 noundef %43) #4 %187 = call i32 @exit(i32 noundef 0) #5 unreachable } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @usage(...) local_unnamed_addr #2 declare i64 @gpio_open(i32 noundef) local_unnamed_addr #2 declare i64 @gpio_open_device(ptr noundef) local_unnamed_addr #2 declare i32 @perror(ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 declare i32 @dump_pins(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gpio_close(i64 noundef) local_unnamed_addr #2 declare i32 @str2int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_pinnum_by_name(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @fail(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @gpio_pin_set_name(i64 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @gpio_pin_toggle(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @str2cap(ptr noundef) local_unnamed_addr #2 declare i64 @gpio_pin_set_flags(i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @gpio_pin_get(i64 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @printf(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @gpio_pin_set(i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 attributes #0 = { noreturn nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { 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 = { 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 #4 = { nounwind } attributes #5 = { 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 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = !{!9, !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"long", !10, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !10, i64 0} !16 = distinct !{!16, !7} !17 = !{!18, !15, i64 0} !18 = !{!"TYPE_3__", !15, i64 0, !15, i64 4} !19 = !{!18, !15, i64 4}
freebsd_usr.sbin_gpioctl_extr_gpioctl.c_main
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_wwn_store.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_wwn_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ft_wwn_store], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @ft_wwn_store(ptr nocapture noundef writeonly %0, ptr noundef %1, i64 %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i64 @ft_parse_wwn(ptr noundef %1, ptr noundef nonnull %4, i32 noundef 0) #3 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = load i32, ptr %4, align 4, !tbaa !5 store i32 %8, ptr %0, align 4, !tbaa !5 br label %9 9: ; preds = %7, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ft_parse_wwn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_wwn_store.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/target/tcm_fc/extr_tfc_conf.c_ft_wwn_store.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 @ft_wwn_store], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i64 @ft_wwn_store(ptr nocapture noundef writeonly %0, ptr noundef %1, i64 %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i64 @ft_parse_wwn(ptr noundef %1, ptr noundef nonnull %4, i32 noundef 0) #3 %6 = icmp sgt i64 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %3 %8 = load i32, ptr %4, align 4, !tbaa !6 store i32 %8, ptr %0, align 4, !tbaa !6 br label %9 9: ; preds = %7, %3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret i64 %5 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @ft_parse_wwn(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_target_tcm_fc_extr_tfc_conf.c_ft_wwn_store
; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_sdmmc_host.c_configure_pin.c' source_filename = "AnghaBench/esp-idf/components/driver/extr_sdmmc_host.c_configure_pin.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GPIO_NUM_NC = dso_local local_unnamed_addr global i32 0, align 4 @GPIO_PIN_MUX_REG = dso_local local_unnamed_addr global ptr null, align 8 @UINT32_MAX = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @configure_pin], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @configure_pin(i32 noundef %0) #0 { %2 = load i32, ptr @GPIO_NUM_NC, align 4, !tbaa !5 %3 = icmp ne i32 %2, %0 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = tail call i32 @gpio_pulldown_dis(i32 noundef %0) #2 %7 = load ptr, ptr @GPIO_PIN_MUX_REG, align 8, !tbaa !9 %8 = sext i32 %0 to i64 %9 = getelementptr inbounds i64, ptr %7, i64 %8 %10 = load i64, ptr %9, align 8, !tbaa !11 %11 = load i64, ptr @UINT32_MAX, align 8, !tbaa !11 %12 = icmp ne i64 %10, %11 %13 = zext i1 %12 to i32 %14 = tail call i32 @assert(i32 noundef %13) #2 %15 = tail call i32 @PIN_INPUT_ENABLE(i64 noundef %10) #2 %16 = tail call i32 @PIN_FUNC_SELECT(i64 noundef %10, i32 noundef 3) #2 %17 = tail call i32 @PIN_SET_DRV(i64 noundef %10, i32 noundef 3) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @gpio_pulldown_dis(i32 noundef) local_unnamed_addr #1 declare i32 @PIN_INPUT_ENABLE(i64 noundef) local_unnamed_addr #1 declare i32 @PIN_FUNC_SELECT(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PIN_SET_DRV(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/esp-idf/components/driver/extr_sdmmc_host.c_configure_pin.c' source_filename = "AnghaBench/esp-idf/components/driver/extr_sdmmc_host.c_configure_pin.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GPIO_NUM_NC = common local_unnamed_addr global i32 0, align 4 @GPIO_PIN_MUX_REG = common local_unnamed_addr global ptr null, align 8 @UINT32_MAX = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @configure_pin], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @configure_pin(i32 noundef %0) #0 { %2 = load i32, ptr @GPIO_NUM_NC, align 4, !tbaa !6 %3 = icmp ne i32 %2, %0 %4 = zext i1 %3 to i32 %5 = tail call i32 @assert(i32 noundef %4) #2 %6 = tail call i32 @gpio_pulldown_dis(i32 noundef %0) #2 %7 = load ptr, ptr @GPIO_PIN_MUX_REG, align 8, !tbaa !10 %8 = sext i32 %0 to i64 %9 = getelementptr inbounds i64, ptr %7, i64 %8 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = load i64, ptr @UINT32_MAX, align 8, !tbaa !12 %12 = icmp ne i64 %10, %11 %13 = zext i1 %12 to i32 %14 = tail call i32 @assert(i32 noundef %13) #2 %15 = tail call i32 @PIN_INPUT_ENABLE(i64 noundef %10) #2 %16 = tail call i32 @PIN_FUNC_SELECT(i64 noundef %10, i32 noundef 3) #2 %17 = tail call i32 @PIN_SET_DRV(i64 noundef %10, i32 noundef 3) #2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @gpio_pulldown_dis(i32 noundef) local_unnamed_addr #1 declare i32 @PIN_INPUT_ENABLE(i64 noundef) local_unnamed_addr #1 declare i32 @PIN_FUNC_SELECT(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @PIN_SET_DRV(i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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}
esp-idf_components_driver_extr_sdmmc_host.c_configure_pin
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_dev.c_qed_chain_free.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_dev.c_qed_chain_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" ; Function Attrs: nounwind uwtable define dso_local void @qed_chain_free(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !5 switch i32 %3, label %10 [ i32 130, label %4 i32 128, label %6 i32 129, label %8 ] 4: ; preds = %2 %5 = tail call i32 @qed_chain_free_next_ptr(ptr noundef %0, ptr noundef nonnull %1) #2 br label %10 6: ; preds = %2 %7 = tail call i32 @qed_chain_free_single(ptr noundef %0, ptr noundef nonnull %1) #2 br label %10 8: ; preds = %2 %9 = tail call i32 @qed_chain_free_pbl(ptr noundef %0, ptr noundef nonnull %1) #2 br label %10 10: ; preds = %2, %8, %6, %4 ret void } declare i32 @qed_chain_free_next_ptr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qed_chain_free_single(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qed_chain_free_pbl(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"qed_chain", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_dev.c_qed_chain_free.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/qlogic/qed/extr_qed_dev.c_qed_chain_free.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 @qed_chain_free(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load i32, ptr %1, align 4, !tbaa !6 switch i32 %3, label %10 [ i32 130, label %4 i32 128, label %6 i32 129, label %8 ] 4: ; preds = %2 %5 = tail call i32 @qed_chain_free_next_ptr(ptr noundef %0, ptr noundef nonnull %1) #2 br label %10 6: ; preds = %2 %7 = tail call i32 @qed_chain_free_single(ptr noundef %0, ptr noundef nonnull %1) #2 br label %10 8: ; preds = %2 %9 = tail call i32 @qed_chain_free_pbl(ptr noundef %0, ptr noundef nonnull %1) #2 br label %10 10: ; preds = %2, %8, %6, %4 ret void } declare i32 @qed_chain_free_next_ptr(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qed_chain_free_single(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @qed_chain_free_pbl(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"qed_chain", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_ethernet_qlogic_qed_extr_qed_dev.c_qed_chain_free
; ModuleID = 'AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_sapi_lsapi_activate.c' source_filename = "AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_sapi_lsapi_activate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @request_info = dso_local local_unnamed_addr global i32 0, align 4 @FAILURE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"SERVER_NAME\00", align 1 @DEFAULT_SLASH = dso_local local_unnamed_addr global i8 0, align 1 @parse_user_ini = dso_local local_unnamed_addr global i64 0, align 8 @SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sapi_lsapi_activate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sapi_lsapi_activate() #0 { %1 = load i32, ptr @request_info, align 4, !tbaa !5 %2 = tail call ptr @SG(i32 noundef %1) #3 %3 = icmp eq ptr %2, null br i1 %3, label %4, label %6 4: ; preds = %0 %5 = load i32, ptr @FAILURE, align 4, !tbaa !5 br label %62 6: ; preds = %0 %7 = tail call i64 (...) @php_ini_has_per_host_config() #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %18, label %9 9: ; preds = %6 %10 = tail call ptr @sapi_lsapi_getenv(ptr noundef nonnull @.str, i32 noundef 0) #3 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12 12: ; preds = %9 %13 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %10) %14 = tail call ptr @estrndup(ptr noundef nonnull %10, i64 noundef %13) #3 %15 = tail call i32 @zend_str_tolower(ptr noundef %14, i64 noundef %13) #3 %16 = tail call i32 @php_ini_activate_per_host_config(ptr noundef %14, i64 noundef %13) #3 %17 = tail call i32 @efree(ptr noundef %14) #3 br label %18 18: ; preds = %9, %12, %6 %19 = tail call i64 (...) @php_ini_has_per_dir_config() #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %53, label %21 21: ; preds = %18 %22 = load i32, ptr @request_info, align 4, !tbaa !5 %23 = tail call ptr @SG(i32 noundef %22) #3 %24 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %23) %25 = load i32, ptr @request_info, align 4, !tbaa !5 %26 = tail call ptr @SG(i32 noundef %25) #3 %27 = getelementptr inbounds i8, ptr %26, i64 %24 %28 = load i8, ptr %27, align 1, !tbaa !9 %29 = tail call i32 @IS_SLASH(i8 noundef signext %28) #3 %30 = icmp eq i32 %29, 0 br i1 %30, label %31, label %42 31: ; preds = %21 %32 = add i64 %24, 2 %33 = tail call ptr @emalloc(i64 noundef %32) #3 %34 = load i32, ptr @request_info, align 4, !tbaa !5 %35 = tail call ptr @SG(i32 noundef %34) #3 %36 = add i64 %24, 1 %37 = tail call i32 @memcpy(ptr noundef %33, ptr noundef %35, i64 noundef %36) #3 %38 = tail call i64 @zend_dirname(ptr noundef %33, i64 noundef %24) #3 %39 = load i8, ptr @DEFAULT_SLASH, align 1, !tbaa !9 %40 = add i64 %38, 1 %41 = getelementptr inbounds i8, ptr %33, i64 %38 store i8 %39, ptr %41, align 1, !tbaa !9 br label %47 42: ; preds = %21 %43 = load i32, ptr @request_info, align 4, !tbaa !5 %44 = tail call ptr @SG(i32 noundef %43) #3 %45 = tail call ptr @estrndup(ptr noundef %44, i64 noundef %24) #3 %46 = tail call i64 @zend_dirname(ptr noundef %45, i64 noundef %24) #3 br label %47 47: ; preds = %42, %31 %48 = phi i64 [ %46, %42 ], [ %40, %31 ] %49 = phi ptr [ %45, %42 ], [ %33, %31 ] %50 = getelementptr inbounds i8, ptr %49, i64 %48 store i8 0, ptr %50, align 1, !tbaa !9 %51 = tail call i32 @php_ini_activate_per_dir_config(ptr noundef %49, i64 noundef %48) #3 %52 = tail call i32 @efree(ptr noundef %49) #3 br label %53 53: ; preds = %47, %18 %54 = load i64, ptr @parse_user_ini, align 8, !tbaa !10 %55 = icmp eq i64 %54, 0 br i1 %55, label %60, label %56 56: ; preds = %53 %57 = tail call i32 (...) @lsapi_activate_user_ini() #3 %58 = load i32, ptr @FAILURE, align 4, !tbaa !5 %59 = icmp eq i32 %57, %58 br i1 %59, label %62, label %60 60: ; preds = %56, %53 %61 = load i32, ptr @SUCCESS, align 4, !tbaa !5 br label %62 62: ; preds = %56, %60, %4 %63 = phi i32 [ %61, %60 ], [ %5, %4 ], [ %57, %56 ] ret i32 %63 } declare ptr @SG(i32 noundef) local_unnamed_addr #1 declare i64 @php_ini_has_per_host_config(...) local_unnamed_addr #1 declare ptr @sapi_lsapi_getenv(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare ptr @estrndup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @zend_str_tolower(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @php_ini_activate_per_host_config(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @efree(ptr noundef) local_unnamed_addr #1 declare i64 @php_ini_has_per_dir_config(...) local_unnamed_addr #1 declare i32 @IS_SLASH(i8 noundef signext) local_unnamed_addr #1 declare ptr @emalloc(i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @zend_dirname(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @php_ini_activate_per_dir_config(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @lsapi_activate_user_ini(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_sapi_lsapi_activate.c' source_filename = "AnghaBench/php-src/sapi/litespeed/extr_lsapi_main.c_sapi_lsapi_activate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @request_info = common local_unnamed_addr global i32 0, align 4 @FAILURE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [12 x i8] c"SERVER_NAME\00", align 1 @DEFAULT_SLASH = common local_unnamed_addr global i8 0, align 1 @parse_user_ini = common local_unnamed_addr global i64 0, align 8 @SUCCESS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sapi_lsapi_activate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sapi_lsapi_activate() #0 { %1 = load i32, ptr @request_info, align 4, !tbaa !6 %2 = tail call i64 @SG(i32 noundef %1) #3 %3 = icmp eq i64 %2, 0 br i1 %3, label %4, label %6 4: ; preds = %0 %5 = load i32, ptr @FAILURE, align 4, !tbaa !6 br label %66 6: ; preds = %0 %7 = tail call i64 @php_ini_has_per_host_config() #3 %8 = icmp eq i64 %7, 0 br i1 %8, label %18, label %9 9: ; preds = %6 %10 = tail call ptr @sapi_lsapi_getenv(ptr noundef nonnull @.str, i32 noundef 0) #3 %11 = icmp eq ptr %10, null br i1 %11, label %18, label %12 12: ; preds = %9 %13 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %10) %14 = tail call ptr @estrndup(ptr noundef nonnull %10, i64 noundef %13) #3 %15 = tail call i32 @zend_str_tolower(ptr noundef %14, i64 noundef %13) #3 %16 = tail call i32 @php_ini_activate_per_host_config(ptr noundef %14, i64 noundef %13) #3 %17 = tail call i32 @efree(ptr noundef %14) #3 br label %18 18: ; preds = %9, %12, %6 %19 = tail call i64 @php_ini_has_per_dir_config() #3 %20 = icmp eq i64 %19, 0 br i1 %20, label %57, label %21 21: ; preds = %18 %22 = load i32, ptr @request_info, align 4, !tbaa !6 %23 = tail call i64 @SG(i32 noundef %22) #3 %24 = inttoptr i64 %23 to ptr %25 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %24) %26 = load i32, ptr @request_info, align 4, !tbaa !6 %27 = tail call i64 @SG(i32 noundef %26) #3 %28 = inttoptr i64 %27 to ptr %29 = getelementptr inbounds i8, ptr %28, i64 %25 %30 = load i8, ptr %29, align 1, !tbaa !10 %31 = tail call i32 @IS_SLASH(i8 noundef signext %30) #3 %32 = icmp eq i32 %31, 0 br i1 %32, label %33, label %45 33: ; preds = %21 %34 = add i64 %25, 2 %35 = tail call ptr @emalloc(i64 noundef %34) #3 %36 = load i32, ptr @request_info, align 4, !tbaa !6 %37 = tail call i64 @SG(i32 noundef %36) #3 %38 = inttoptr i64 %37 to ptr %39 = add i64 %25, 1 %40 = tail call i32 @memcpy(ptr noundef %35, ptr noundef %38, i64 noundef %39) #3 %41 = tail call i64 @zend_dirname(ptr noundef %35, i64 noundef %25) #3 %42 = load i8, ptr @DEFAULT_SLASH, align 1, !tbaa !10 %43 = add i64 %41, 1 %44 = getelementptr inbounds i8, ptr %35, i64 %41 store i8 %42, ptr %44, align 1, !tbaa !10 br label %51 45: ; preds = %21 %46 = load i32, ptr @request_info, align 4, !tbaa !6 %47 = tail call i64 @SG(i32 noundef %46) #3 %48 = inttoptr i64 %47 to ptr %49 = tail call ptr @estrndup(ptr noundef %48, i64 noundef %25) #3 %50 = tail call i64 @zend_dirname(ptr noundef %49, i64 noundef %25) #3 br label %51 51: ; preds = %45, %33 %52 = phi i64 [ %50, %45 ], [ %43, %33 ] %53 = phi ptr [ %49, %45 ], [ %35, %33 ] %54 = getelementptr inbounds i8, ptr %53, i64 %52 store i8 0, ptr %54, align 1, !tbaa !10 %55 = tail call i32 @php_ini_activate_per_dir_config(ptr noundef %53, i64 noundef %52) #3 %56 = tail call i32 @efree(ptr noundef %53) #3 br label %57 57: ; preds = %51, %18 %58 = load i64, ptr @parse_user_ini, align 8, !tbaa !11 %59 = icmp eq i64 %58, 0 br i1 %59, label %64, label %60 60: ; preds = %57 %61 = tail call i32 @lsapi_activate_user_ini() #3 %62 = load i32, ptr @FAILURE, align 4, !tbaa !6 %63 = icmp eq i32 %61, %62 br i1 %63, label %66, label %64 64: ; preds = %60, %57 %65 = load i32, ptr @SUCCESS, align 4, !tbaa !6 br label %66 66: ; preds = %60, %64, %4 %67 = phi i32 [ %65, %64 ], [ %5, %4 ], [ %61, %60 ] ret i32 %67 } declare i64 @SG(i32 noundef) local_unnamed_addr #1 declare i64 @php_ini_has_per_host_config(...) local_unnamed_addr #1 declare ptr @sapi_lsapi_getenv(ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2 declare ptr @estrndup(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @zend_str_tolower(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @php_ini_activate_per_host_config(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @efree(ptr noundef) local_unnamed_addr #1 declare i64 @php_ini_has_per_dir_config(...) local_unnamed_addr #1 declare i32 @IS_SLASH(i8 noundef signext) local_unnamed_addr #1 declare ptr @emalloc(i64 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @zend_dirname(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @php_ini_activate_per_dir_config(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @lsapi_activate_user_ini(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"long", !8, i64 0}
php-src_sapi_litespeed_extr_lsapi_main.c_sapi_lsapi_activate
; ModuleID = 'AnghaBench/openssl/ssl/record/extr_rec_layer_d1.c_DTLS_RECORD_LAYER_clear.c' source_filename = "AnghaBench/openssl/ssl/record/extr_rec_layer_d1.c_DTLS_RECORD_LAYER_clear.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_19__ = type { %struct.TYPE_16__, %struct.TYPE_15__, %struct.TYPE_14__ } %struct.TYPE_16__ = type { ptr } %struct.TYPE_15__ = type { ptr } %struct.TYPE_14__ = type { ptr } ; Function Attrs: nounwind uwtable define dso_local void @DTLS_RECORD_LAYER_clear(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = tail call ptr @pqueue_pop(ptr noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %12 7: ; preds = %12, %1 %8 = getelementptr inbounds %struct.TYPE_19__, ptr %2, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !15 %10 = tail call ptr @pqueue_pop(ptr noundef %9) #2 %11 = icmp eq ptr %10, null br i1 %11, label %24, label %28 12: ; preds = %1, %12 %13 = phi ptr [ %22, %12 ], [ %5, %1 ] %14 = load i64, ptr %13, align 8, !tbaa !16 %15 = inttoptr i64 %14 to ptr %16 = load i64, ptr %15, align 8, !tbaa !19 %17 = tail call i32 @OPENSSL_free(i64 noundef %16) #2 %18 = load i64, ptr %13, align 8, !tbaa !16 %19 = tail call i32 @OPENSSL_free(i64 noundef %18) #2 %20 = tail call i32 @pitem_free(ptr noundef nonnull %13) #2 %21 = load ptr, ptr %3, align 8, !tbaa !10 %22 = tail call ptr @pqueue_pop(ptr noundef %21) #2 %23 = icmp eq ptr %22, null br i1 %23, label %7, label %12, !llvm.loop !22 24: ; preds = %28, %7 %25 = load ptr, ptr %2, align 8, !tbaa !24 %26 = tail call ptr @pqueue_pop(ptr noundef %25) #2 %27 = icmp eq ptr %26, null br i1 %27, label %52, label %40 28: ; preds = %7, %28 %29 = phi ptr [ %38, %28 ], [ %10, %7 ] %30 = load i64, ptr %29, align 8, !tbaa !16 %31 = inttoptr i64 %30 to ptr %32 = load i64, ptr %31, align 8, !tbaa !19 %33 = tail call i32 @OPENSSL_free(i64 noundef %32) #2 %34 = load i64, ptr %29, align 8, !tbaa !16 %35 = tail call i32 @OPENSSL_free(i64 noundef %34) #2 %36 = tail call i32 @pitem_free(ptr noundef nonnull %29) #2 %37 = load ptr, ptr %8, align 8, !tbaa !15 %38 = tail call ptr @pqueue_pop(ptr noundef %37) #2 %39 = icmp eq ptr %38, null br i1 %39, label %24, label %28, !llvm.loop !25 40: ; preds = %24, %40 %41 = phi ptr [ %50, %40 ], [ %26, %24 ] %42 = load i64, ptr %41, align 8, !tbaa !16 %43 = inttoptr i64 %42 to ptr %44 = load i64, ptr %43, align 8, !tbaa !19 %45 = tail call i32 @OPENSSL_free(i64 noundef %44) #2 %46 = load i64, ptr %41, align 8, !tbaa !16 %47 = tail call i32 @OPENSSL_free(i64 noundef %46) #2 %48 = tail call i32 @pitem_free(ptr noundef nonnull %41) #2 %49 = load ptr, ptr %2, align 8, !tbaa !24 %50 = tail call ptr @pqueue_pop(ptr noundef %49) #2 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %40, !llvm.loop !26 52: ; preds = %40, %24 %53 = load ptr, ptr %3, align 8, !tbaa !10 %54 = load <2 x ptr>, ptr %2, align 8, !tbaa !27 %55 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #2 store ptr %53, ptr %3, align 8, !tbaa !10 store <2 x ptr> %54, ptr %2, align 8, !tbaa !27 ret void } declare ptr @pqueue_pop(ptr noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(i64 noundef) local_unnamed_addr #1 declare i32 @pitem_free(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_18__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 16} !11 = !{!"TYPE_19__", !12, i64 0, !13, i64 8, !14, i64 16} !12 = !{!"TYPE_16__", !7, i64 0} !13 = !{!"TYPE_15__", !7, i64 0} !14 = !{!"TYPE_14__", !7, i64 0} !15 = !{!11, !7, i64 8} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_17__", !18, i64 0} !18 = !{!"long", !8, i64 0} !19 = !{!20, !18, i64 0} !20 = !{!"TYPE_20__", !21, i64 0} !21 = !{!"TYPE_13__", !18, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!11, !7, i64 0} !25 = distinct !{!25, !23} !26 = distinct !{!26, !23} !27 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/openssl/ssl/record/extr_rec_layer_d1.c_DTLS_RECORD_LAYER_clear.c' source_filename = "AnghaBench/openssl/ssl/record/extr_rec_layer_d1.c_DTLS_RECORD_LAYER_clear.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 @DTLS_RECORD_LAYER_clear(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = tail call ptr @pqueue_pop(ptr noundef %4) #2 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %12 7: ; preds = %12, %1 %8 = getelementptr inbounds i8, ptr %2, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !16 %10 = tail call ptr @pqueue_pop(ptr noundef %9) #2 %11 = icmp eq ptr %10, null br i1 %11, label %24, label %28 12: ; preds = %1, %12 %13 = phi ptr [ %22, %12 ], [ %5, %1 ] %14 = load i64, ptr %13, align 8, !tbaa !17 %15 = inttoptr i64 %14 to ptr %16 = load i64, ptr %15, align 8, !tbaa !20 %17 = tail call i32 @OPENSSL_free(i64 noundef %16) #2 %18 = load i64, ptr %13, align 8, !tbaa !17 %19 = tail call i32 @OPENSSL_free(i64 noundef %18) #2 %20 = tail call i32 @pitem_free(ptr noundef nonnull %13) #2 %21 = load ptr, ptr %3, align 8, !tbaa !11 %22 = tail call ptr @pqueue_pop(ptr noundef %21) #2 %23 = icmp eq ptr %22, null br i1 %23, label %7, label %12, !llvm.loop !23 24: ; preds = %28, %7 %25 = load ptr, ptr %2, align 8, !tbaa !25 %26 = tail call ptr @pqueue_pop(ptr noundef %25) #2 %27 = icmp eq ptr %26, null br i1 %27, label %52, label %40 28: ; preds = %7, %28 %29 = phi ptr [ %38, %28 ], [ %10, %7 ] %30 = load i64, ptr %29, align 8, !tbaa !17 %31 = inttoptr i64 %30 to ptr %32 = load i64, ptr %31, align 8, !tbaa !20 %33 = tail call i32 @OPENSSL_free(i64 noundef %32) #2 %34 = load i64, ptr %29, align 8, !tbaa !17 %35 = tail call i32 @OPENSSL_free(i64 noundef %34) #2 %36 = tail call i32 @pitem_free(ptr noundef nonnull %29) #2 %37 = load ptr, ptr %8, align 8, !tbaa !16 %38 = tail call ptr @pqueue_pop(ptr noundef %37) #2 %39 = icmp eq ptr %38, null br i1 %39, label %24, label %28, !llvm.loop !26 40: ; preds = %24, %40 %41 = phi ptr [ %50, %40 ], [ %26, %24 ] %42 = load i64, ptr %41, align 8, !tbaa !17 %43 = inttoptr i64 %42 to ptr %44 = load i64, ptr %43, align 8, !tbaa !20 %45 = tail call i32 @OPENSSL_free(i64 noundef %44) #2 %46 = load i64, ptr %41, align 8, !tbaa !17 %47 = tail call i32 @OPENSSL_free(i64 noundef %46) #2 %48 = tail call i32 @pitem_free(ptr noundef nonnull %41) #2 %49 = load ptr, ptr %2, align 8, !tbaa !25 %50 = tail call ptr @pqueue_pop(ptr noundef %49) #2 %51 = icmp eq ptr %50, null br i1 %51, label %52, label %40, !llvm.loop !27 52: ; preds = %40, %24 %53 = load ptr, ptr %3, align 8, !tbaa !11 %54 = load <2 x ptr>, ptr %2, align 8, !tbaa !28 %55 = tail call i32 @memset(ptr noundef nonnull %2, i32 noundef 0, i32 noundef 24) #2 store ptr %53, ptr %3, align 8, !tbaa !11 store <2 x ptr> %54, ptr %2, align 8, !tbaa !28 ret void } declare ptr @pqueue_pop(ptr noundef) local_unnamed_addr #1 declare i32 @OPENSSL_free(i64 noundef) local_unnamed_addr #1 declare i32 @pitem_free(ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_18__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 16} !12 = !{!"TYPE_19__", !13, i64 0, !14, i64 8, !15, i64 16} !13 = !{!"TYPE_16__", !8, i64 0} !14 = !{!"TYPE_15__", !8, i64 0} !15 = !{!"TYPE_14__", !8, i64 0} !16 = !{!12, !8, i64 8} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_17__", !19, i64 0} !19 = !{!"long", !9, i64 0} !20 = !{!21, !19, i64 0} !21 = !{!"TYPE_20__", !22, i64 0} !22 = !{!"TYPE_13__", !19, i64 0} !23 = distinct !{!23, !24} !24 = !{!"llvm.loop.mustprogress"} !25 = !{!12, !8, i64 0} !26 = distinct !{!26, !24} !27 = distinct !{!27, !24} !28 = !{!8, !8, i64 0}
openssl_ssl_record_extr_rec_layer_d1.c_DTLS_RECORD_LAYER_clear
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dev.c_ecore_wr_nw_port.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dev.c_ecore_wr_nw_port.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ECORE_MSG_LINK = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"CMD: %08x, ADDR: 0x%08x, DATA: %08x:%08x\0A\00", align 1 @CNIG_REG_PMEG_IF_CMD_BB = dso_local local_unnamed_addr global i32 0, align 4 @PMEG_IF_BYTE_COUNT = dso_local local_unnamed_addr global i32 0, align 4 @CNIG_REG_PMEG_IF_ADDR_BB = dso_local local_unnamed_addr global i32 0, align 4 @CNIG_REG_PMEG_IF_WRDATA_BB = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_wr_nw_port], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ecore_wr_nw_port(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = load i32, ptr @ECORE_MSG_LINK, align 4, !tbaa !5 %8 = load i32, ptr @CNIG_REG_PMEG_IF_CMD_BB, align 4, !tbaa !5 %9 = tail call i32 @ecore_rd(ptr noundef %0, ptr noundef %1, i32 noundef %8) #2 %10 = load i32, ptr @PMEG_IF_BYTE_COUNT, align 4, !tbaa !5 %11 = shl i32 8, %10 %12 = or i32 %11, %9 %13 = shl i32 %4, 25 %14 = shl i32 %2, 8 %15 = or i32 %13, %14 %16 = or i32 %15, %5 %17 = tail call i32 @DP_VERBOSE(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %16, i32 noundef poison, i32 noundef %3) #2 %18 = load i32, ptr @CNIG_REG_PMEG_IF_CMD_BB, align 4, !tbaa !5 %19 = tail call i32 @ecore_rd(ptr noundef %0, ptr noundef %1, i32 noundef %18) #2 %20 = and i32 %19, -65282 %21 = load i32, ptr @PMEG_IF_BYTE_COUNT, align 4, !tbaa !5 %22 = shl i32 8, %21 %23 = or i32 %22, %20 %24 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %18, i32 noundef %23) #2 %25 = load i32, ptr @CNIG_REG_PMEG_IF_ADDR_BB, align 4, !tbaa !5 %26 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %25, i32 noundef %16) #2 %27 = load i32, ptr @CNIG_REG_PMEG_IF_WRDATA_BB, align 4, !tbaa !5 %28 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %27, i32 noundef %3) #2 %29 = load i32, ptr @CNIG_REG_PMEG_IF_WRDATA_BB, align 4, !tbaa !5 %30 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %29, i32 noundef poison) #2 ret void } declare i32 @DP_VERBOSE(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_rd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_wr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dev.c_ecore_wr_nw_port.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_dev.c_ecore_wr_nw_port.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ECORE_MSG_LINK = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [42 x i8] c"CMD: %08x, ADDR: 0x%08x, DATA: %08x:%08x\0A\00", align 1 @CNIG_REG_PMEG_IF_CMD_BB = common local_unnamed_addr global i32 0, align 4 @PMEG_IF_BYTE_COUNT = common local_unnamed_addr global i32 0, align 4 @CNIG_REG_PMEG_IF_ADDR_BB = common local_unnamed_addr global i32 0, align 4 @CNIG_REG_PMEG_IF_WRDATA_BB = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ecore_wr_nw_port], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ecore_wr_nw_port(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #0 { %7 = load i32, ptr @ECORE_MSG_LINK, align 4, !tbaa !6 %8 = load i32, ptr @CNIG_REG_PMEG_IF_CMD_BB, align 4, !tbaa !6 %9 = tail call i32 @ecore_rd(ptr noundef %0, ptr noundef %1, i32 noundef %8) #2 %10 = load i32, ptr @PMEG_IF_BYTE_COUNT, align 4, !tbaa !6 %11 = shl i32 8, %10 %12 = or i32 %11, %9 %13 = shl i32 %4, 25 %14 = shl i32 %2, 8 %15 = or i32 %13, %14 %16 = or i32 %15, %5 %17 = tail call i32 @DP_VERBOSE(ptr noundef %0, i32 noundef %7, ptr noundef nonnull @.str, i32 noundef %12, i32 noundef %16, i32 noundef poison, i32 noundef %3) #2 %18 = load i32, ptr @CNIG_REG_PMEG_IF_CMD_BB, align 4, !tbaa !6 %19 = tail call i32 @ecore_rd(ptr noundef %0, ptr noundef %1, i32 noundef %18) #2 %20 = and i32 %19, -65282 %21 = load i32, ptr @PMEG_IF_BYTE_COUNT, align 4, !tbaa !6 %22 = shl i32 8, %21 %23 = or i32 %22, %20 %24 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %18, i32 noundef %23) #2 %25 = load i32, ptr @CNIG_REG_PMEG_IF_ADDR_BB, align 4, !tbaa !6 %26 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %25, i32 noundef %16) #2 %27 = load i32, ptr @CNIG_REG_PMEG_IF_WRDATA_BB, align 4, !tbaa !6 %28 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %27, i32 noundef %3) #2 %29 = load i32, ptr @CNIG_REG_PMEG_IF_WRDATA_BB, align 4, !tbaa !6 %30 = tail call i32 @ecore_wr(ptr noundef %0, ptr noundef %1, i32 noundef %29, i32 noundef poison) #2 ret void } declare i32 @DP_VERBOSE(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_rd(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ecore_wr(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_dev.c_ecore_wr_nw_port
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_save_freed_pkts_addr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_save_freed_pkts_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" @WL12XX_INVALID_LINK_ID = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @wlcore_save_freed_pkts_addr], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wlcore_save_freed_pkts_addr(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @wl12xx_wlvif_to_vif(ptr noundef %1) #2 %6 = load i64, ptr @WL12XX_INVALID_LINK_ID, align 8, !tbaa !5 %7 = icmp eq i64 %6, %2 br i1 %7, label %12, label %8 8: ; preds = %4 %9 = tail call i64 @is_zero_ether_addr(ptr noundef %3) #2 %10 = icmp ne i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %4 %13 = phi i32 [ 1, %4 ], [ %11, %8 ] %14 = tail call i64 @WARN_ON(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = tail call i32 (...) @rcu_read_lock() #2 %18 = tail call ptr @ieee80211_find_sta(ptr noundef %5, ptr noundef %3) #2 %19 = icmp eq ptr %18, null br i1 %19, label %22, label %20 20: ; preds = %16 %21 = tail call i32 @wlcore_save_freed_pkts(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %18) #2 br label %22 22: ; preds = %20, %16 %23 = tail call i32 (...) @rcu_read_unlock() #2 br label %24 24: ; preds = %12, %22 ret void } declare ptr @wl12xx_wlvif_to_vif(ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @is_zero_ether_addr(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @ieee80211_find_sta(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wlcore_save_freed_pkts(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !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/net/wireless/ti/wlcore/extr_main.c_wlcore_save_freed_pkts_addr.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ti/wlcore/extr_main.c_wlcore_save_freed_pkts_addr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @WL12XX_INVALID_LINK_ID = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @wlcore_save_freed_pkts_addr], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wlcore_save_freed_pkts_addr(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef %3) #0 { %5 = tail call ptr @wl12xx_wlvif_to_vif(ptr noundef %1) #2 %6 = load i64, ptr @WL12XX_INVALID_LINK_ID, align 8, !tbaa !6 %7 = icmp eq i64 %6, %2 br i1 %7, label %12, label %8 8: ; preds = %4 %9 = tail call i64 @is_zero_ether_addr(ptr noundef %3) #2 %10 = icmp ne i64 %9, 0 %11 = zext i1 %10 to i32 br label %12 12: ; preds = %8, %4 %13 = phi i32 [ 1, %4 ], [ %11, %8 ] %14 = tail call i64 @WARN_ON(i32 noundef %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %16, label %24 16: ; preds = %12 %17 = tail call i32 @rcu_read_lock() #2 %18 = tail call ptr @ieee80211_find_sta(ptr noundef %5, ptr noundef %3) #2 %19 = icmp eq ptr %18, null br i1 %19, label %22, label %20 20: ; preds = %16 %21 = tail call i32 @wlcore_save_freed_pkts(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull %18) #2 br label %22 22: ; preds = %20, %16 %23 = tail call i32 @rcu_read_unlock() #2 br label %24 24: ; preds = %12, %22 ret void } declare ptr @wl12xx_wlvif_to_vif(ptr noundef) local_unnamed_addr #1 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i64 @is_zero_ether_addr(ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_lock(...) local_unnamed_addr #1 declare ptr @ieee80211_find_sta(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @wlcore_save_freed_pkts(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @rcu_read_unlock(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_net_wireless_ti_wlcore_extr_main.c_wlcore_save_freed_pkts_addr
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-report.c_report__config.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-report.c_report__config.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } %struct.TYPE_4__ = type { double } %struct.report = type { double, i32 } @.str = private unnamed_addr constant [13 x i8] c"report.group\00", align 1 @symbol_conf = dso_local local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"report.percent-limit\00", align 1 @callchain_param = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @.str.2 = private unnamed_addr constant [16 x i8] c"report.children\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"report.queue-size\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"report.sort_order\00", align 1 @default_sort_order = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @report__config], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @report__config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(13) @.str) %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call ptr @perf_config_bool(ptr noundef %0, ptr noundef %1) #3 store ptr %7, ptr getelementptr inbounds (%struct.TYPE_3__, ptr @symbol_conf, i64 0, i32 1), align 8, !tbaa !5 br label %29 8: ; preds = %3 %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(21) @.str.1) %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call double @strtof(ptr noundef %1, ptr noundef null) #3 store double %12, ptr %2, align 8, !tbaa !10 store double %12, ptr @callchain_param, align 8, !tbaa !14 br label %29 13: ; preds = %8 %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(16) @.str.2) %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = tail call ptr @perf_config_bool(ptr noundef %0, ptr noundef %1) #3 store ptr %17, ptr @symbol_conf, align 8, !tbaa !16 br label %29 18: ; preds = %13 %19 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(18) @.str.3) %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = getelementptr inbounds %struct.report, ptr %2, i64 0, i32 1 %23 = tail call i32 @perf_config_u64(ptr noundef nonnull %22, ptr noundef %0, ptr noundef %1) #3 br label %29 24: ; preds = %18 %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(18) @.str.4) %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = tail call i32 @strdup(ptr noundef %1) #3 store i32 %28, ptr @default_sort_order, align 4, !tbaa !17 br label %29 29: ; preds = %24, %27, %21, %16, %11, %6 %30 = phi i32 [ 0, %27 ], [ %23, %21 ], [ 0, %16 ], [ 0, %11 ], [ 0, %6 ], [ 0, %24 ] ret i32 %30 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare ptr @perf_config_bool(ptr noundef, ptr noundef) local_unnamed_addr #2 declare double @strtof(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @perf_config_u64(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strdup(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"TYPE_3__", !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 = !{!"report", !12, i64 0, !13, i64 8} !12 = !{!"double", !8, i64 0} !13 = !{!"int", !8, i64 0} !14 = !{!15, !12, i64 0} !15 = !{!"TYPE_4__", !12, i64 0} !16 = !{!6, !7, i64 0} !17 = !{!13, !13, i64 0}
; ModuleID = 'AnghaBench/linux/tools/perf/extr_builtin-report.c_report__config.c' source_filename = "AnghaBench/linux/tools/perf/extr_builtin-report.c_report__config.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_3__ = type { ptr, ptr } %struct.TYPE_4__ = type { double } @.str = private unnamed_addr constant [13 x i8] c"report.group\00", align 1 @symbol_conf = common local_unnamed_addr global %struct.TYPE_3__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [21 x i8] c"report.percent-limit\00", align 1 @callchain_param = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 8 @.str.2 = private unnamed_addr constant [16 x i8] c"report.children\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"report.queue-size\00", align 1 @.str.4 = private unnamed_addr constant [18 x i8] c"report.sort_order\00", align 1 @default_sort_order = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @report__config], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @report__config(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(13) @.str) %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %3 %7 = tail call ptr @perf_config_bool(ptr noundef %0, ptr noundef %1) #3 store ptr %7, ptr getelementptr inbounds (i8, ptr @symbol_conf, i64 8), align 8, !tbaa !6 br label %29 8: ; preds = %3 %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(21) @.str.1) %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %8 %12 = tail call double @strtof(ptr noundef %1, ptr noundef null) #3 store double %12, ptr %2, align 8, !tbaa !11 store double %12, ptr @callchain_param, align 8, !tbaa !15 br label %29 13: ; preds = %8 %14 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(16) @.str.2) %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %18 16: ; preds = %13 %17 = tail call ptr @perf_config_bool(ptr noundef %0, ptr noundef %1) #3 store ptr %17, ptr @symbol_conf, align 8, !tbaa !17 br label %29 18: ; preds = %13 %19 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(18) @.str.3) %20 = icmp eq i32 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %18 %22 = getelementptr inbounds i8, ptr %2, i64 8 %23 = tail call i32 @perf_config_u64(ptr noundef nonnull %22, ptr noundef %0, ptr noundef %1) #3 br label %29 24: ; preds = %18 %25 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(18) @.str.4) %26 = icmp eq i32 %25, 0 br i1 %26, label %27, label %29 27: ; preds = %24 %28 = tail call i32 @strdup(ptr noundef %1) #3 store i32 %28, ptr @default_sort_order, align 4, !tbaa !18 br label %29 29: ; preds = %24, %27, %21, %16, %11, %6 %30 = phi i32 [ 0, %27 ], [ %23, %21 ], [ 0, %16 ], [ 0, %11 ], [ 0, %6 ], [ 0, %24 ] ret i32 %30 } ; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read) declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #1 declare ptr @perf_config_bool(ptr noundef, ptr noundef) local_unnamed_addr #2 declare double @strtof(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @perf_config_u64(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @strdup(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"TYPE_3__", !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 = !{!"report", !13, i64 0, !14, i64 8} !13 = !{!"double", !9, i64 0} !14 = !{!"int", !9, i64 0} !15 = !{!16, !13, i64 0} !16 = !{!"TYPE_4__", !13, i64 0} !17 = !{!7, !8, i64 0} !18 = !{!14, !14, i64 0}
linux_tools_perf_extr_builtin-report.c_report__config
; ModuleID = 'AnghaBench/linux/drivers/staging/sm750fb/extr_ddk750_hwi2c.c_hw_i2c_wait_tx_done.c' source_filename = "AnghaBench/linux/drivers/staging/sm750fb/extr_ddk750_hwi2c.c_hw_i2c_wait_tx_done.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @HWI2C_WAIT_TIMEOUT = dso_local local_unnamed_addr global i32 0, align 4 @I2C_STATUS = dso_local local_unnamed_addr global i32 0, align 4 @I2C_STATUS_TX = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @hw_i2c_wait_tx_done], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i64 @hw_i2c_wait_tx_done() #0 { %1 = load i32, ptr @HWI2C_WAIT_TIMEOUT, align 4, !tbaa !5 br label %2 2: ; preds = %2, %0 %3 = phi i32 [ %1, %0 ], [ %11, %2 ] %4 = load i32, ptr @I2C_STATUS, align 4, !tbaa !5 %5 = tail call i32 @peek32(i32 noundef %4) #2 %6 = load i32, ptr @I2C_STATUS_TX, align 4, !tbaa !5 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = icmp ne i32 %3, 0 %10 = select i1 %8, i1 %9, i1 false %11 = add i32 %3, -1 br i1 %10, label %2, label %12, !llvm.loop !9 12: ; preds = %2 %13 = icmp eq i32 %3, 0 %14 = sext i1 %13 to i64 ret i64 %14 } declare i32 @peek32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/staging/sm750fb/extr_ddk750_hwi2c.c_hw_i2c_wait_tx_done.c' source_filename = "AnghaBench/linux/drivers/staging/sm750fb/extr_ddk750_hwi2c.c_hw_i2c_wait_tx_done.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @HWI2C_WAIT_TIMEOUT = common local_unnamed_addr global i32 0, align 4 @I2C_STATUS = common local_unnamed_addr global i32 0, align 4 @I2C_STATUS_TX = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @hw_i2c_wait_tx_done], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i64 -1, 1) i64 @hw_i2c_wait_tx_done() #0 { %1 = load i32, ptr @HWI2C_WAIT_TIMEOUT, align 4, !tbaa !6 br label %2 2: ; preds = %2, %0 %3 = phi i32 [ %1, %0 ], [ %11, %2 ] %4 = load i32, ptr @I2C_STATUS, align 4, !tbaa !6 %5 = tail call i32 @peek32(i32 noundef %4) #2 %6 = load i32, ptr @I2C_STATUS_TX, align 4, !tbaa !6 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 %9 = icmp ne i32 %3, 0 %10 = select i1 %8, i1 %9, i1 false %11 = add i32 %3, -1 br i1 %10, label %2, label %12, !llvm.loop !10 12: ; preds = %2 %13 = icmp eq i32 %3, 0 %14 = sext i1 %13 to i64 ret i64 %14 } declare i32 @peek32(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
linux_drivers_staging_sm750fb_extr_ddk750_hwi2c.c_hw_i2c_wait_tx_done
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/gfs2/extr_trans.c_gfs2_trans_add_meta.c' source_filename = "AnghaBench/fastsocket/kernel/fs/gfs2/extr_trans.c_gfs2_trans_add_meta.c" target datalayout = "e-m:e-p270:32:32-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.buffer_head = type { i32, ptr } @gfs2_buf_lops = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @gfs2_trans_add_meta(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = tail call i32 @lock_buffer(ptr noundef %1) #2 %5 = tail call i32 @gfs2_log_lock(ptr noundef %3) #2 %6 = getelementptr inbounds %struct.buffer_head, ptr %1, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !10 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %24 9: ; preds = %2 %10 = tail call i32 @gfs2_log_unlock(ptr noundef %3) #2 %11 = tail call i32 @unlock_buffer(ptr noundef nonnull %1) #2 %12 = load i32, ptr %1, align 8, !tbaa !13 %13 = tail call i32 @lock_page(i32 noundef %12) #2 %14 = load ptr, ptr %6, align 8, !tbaa !10 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %9 %17 = tail call ptr @gfs2_alloc_bufdata(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull @gfs2_buf_lops) #2 br label %18 18: ; preds = %16, %9 %19 = phi ptr [ %17, %16 ], [ null, %9 ] %20 = load i32, ptr %1, align 8, !tbaa !13 %21 = tail call i32 @unlock_page(i32 noundef %20) #2 %22 = tail call i32 @lock_buffer(ptr noundef nonnull %1) #2 %23 = tail call i32 @gfs2_log_lock(ptr noundef %3) #2 br label %24 24: ; preds = %18, %2 %25 = phi ptr [ %19, %18 ], [ %7, %2 ] %26 = load ptr, ptr %25, align 8, !tbaa !14 %27 = icmp eq ptr %26, %0 %28 = zext i1 %27 to i32 %29 = tail call i32 @gfs2_assert(ptr noundef %3, i32 noundef %28) #2 %30 = tail call i32 @meta_lo_add(ptr noundef %3, ptr noundef nonnull %25) #2 %31 = tail call i32 @gfs2_log_unlock(ptr noundef %3) #2 %32 = tail call i32 @unlock_buffer(ptr noundef nonnull %1) #2 ret void } declare i32 @lock_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @gfs2_log_lock(ptr noundef) local_unnamed_addr #1 declare i32 @gfs2_log_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @lock_page(i32 noundef) local_unnamed_addr #1 declare ptr @gfs2_alloc_bufdata(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @unlock_page(i32 noundef) local_unnamed_addr #1 declare i32 @gfs2_assert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @meta_lo_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"gfs2_glock", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 8} !11 = !{!"buffer_head", !12, i64 0, !7, i64 8} !12 = !{!"int", !8, i64 0} !13 = !{!11, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"gfs2_bufdata", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/gfs2/extr_trans.c_gfs2_trans_add_meta.c' source_filename = "AnghaBench/fastsocket/kernel/fs/gfs2/extr_trans.c_gfs2_trans_add_meta.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @gfs2_buf_lops = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @gfs2_trans_add_meta(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = tail call i32 @lock_buffer(ptr noundef %1) #2 %5 = tail call i32 @gfs2_log_lock(ptr noundef %3) #2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %24 9: ; preds = %2 %10 = tail call i32 @gfs2_log_unlock(ptr noundef %3) #2 %11 = tail call i32 @unlock_buffer(ptr noundef nonnull %1) #2 %12 = load i32, ptr %1, align 8, !tbaa !14 %13 = tail call i32 @lock_page(i32 noundef %12) #2 %14 = load ptr, ptr %6, align 8, !tbaa !11 %15 = icmp eq ptr %14, null br i1 %15, label %16, label %18 16: ; preds = %9 %17 = tail call ptr @gfs2_alloc_bufdata(ptr noundef nonnull %0, ptr noundef nonnull %1, ptr noundef nonnull @gfs2_buf_lops) #2 br label %18 18: ; preds = %16, %9 %19 = phi ptr [ %17, %16 ], [ null, %9 ] %20 = load i32, ptr %1, align 8, !tbaa !14 %21 = tail call i32 @unlock_page(i32 noundef %20) #2 %22 = tail call i32 @lock_buffer(ptr noundef nonnull %1) #2 %23 = tail call i32 @gfs2_log_lock(ptr noundef %3) #2 br label %24 24: ; preds = %18, %2 %25 = phi ptr [ %19, %18 ], [ %7, %2 ] %26 = load ptr, ptr %25, align 8, !tbaa !15 %27 = icmp eq ptr %26, %0 %28 = zext i1 %27 to i32 %29 = tail call i32 @gfs2_assert(ptr noundef %3, i32 noundef %28) #2 %30 = tail call i32 @meta_lo_add(ptr noundef %3, ptr noundef nonnull %25) #2 %31 = tail call i32 @gfs2_log_unlock(ptr noundef %3) #2 %32 = tail call i32 @unlock_buffer(ptr noundef nonnull %1) #2 ret void } declare i32 @lock_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @gfs2_log_lock(ptr noundef) local_unnamed_addr #1 declare i32 @gfs2_log_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @lock_page(i32 noundef) local_unnamed_addr #1 declare ptr @gfs2_alloc_bufdata(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @unlock_page(i32 noundef) local_unnamed_addr #1 declare i32 @gfs2_assert(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @meta_lo_add(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"gfs2_glock", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 8} !12 = !{!"buffer_head", !13, i64 0, !8, i64 8} !13 = !{!"int", !9, i64 0} !14 = !{!12, !13, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"gfs2_bufdata", !8, i64 0}
fastsocket_kernel_fs_gfs2_extr_trans.c_gfs2_trans_add_meta
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/gpmi-nand/extr_gpmi-nand.c_gpmi_alloc_dma_buffer.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/gpmi-nand/extr_gpmi-nand.c_gpmi_alloc_dma_buffer.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.gpmi_nand_data = type { ptr, i32, i32, ptr, i32, ptr, %struct.bch_geometry } %struct.bch_geometry = type { i32 } %struct.mtd_info = type { i64, i64 } @PAGE_SIZE = dso_local local_unnamed_addr global i64 0, align 8 @GFP_DMA = dso_local local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gpmi_alloc_dma_buffer], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @gpmi_alloc_dma_buffer(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.gpmi_nand_data, ptr %0, i64 0, i32 5 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = getelementptr inbounds %struct.gpmi_nand_data, ptr %0, i64 0, i32 4 %5 = tail call ptr @nand_to_mtd(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds %struct.mtd_info, ptr %5, i64 0, i32 1 %7 = load i64, ptr %6, align 8, !tbaa !12 %8 = icmp eq i64 %7, 0 %9 = load i64, ptr @PAGE_SIZE, align 8 %10 = select i1 %8, i64 %9, i64 %7 %11 = load i32, ptr @GFP_DMA, align 4, !tbaa !15 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15 %13 = or i32 %12, %11 %14 = tail call ptr @kzalloc(i64 noundef %10, i32 noundef %13) #2 %15 = getelementptr inbounds %struct.gpmi_nand_data, ptr %0, i64 0, i32 3 store ptr %14, ptr %15, align 8, !tbaa !16 %16 = icmp eq ptr %14, null br i1 %16, label %35, label %17 17: ; preds = %1 %18 = getelementptr inbounds %struct.gpmi_nand_data, ptr %0, i64 0, i32 6 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = getelementptr inbounds %struct.gpmi_nand_data, ptr %0, i64 0, i32 2 %21 = load i32, ptr @GFP_DMA, align 4, !tbaa !15 %22 = tail call i32 @dma_alloc_coherent(ptr noundef %3, i32 noundef %19, ptr noundef nonnull %20, i32 noundef %21) #2 %23 = getelementptr inbounds %struct.gpmi_nand_data, ptr %0, i64 0, i32 1 store i32 %22, ptr %23, align 8, !tbaa !18 %24 = icmp eq i32 %22, 0 br i1 %24, label %35, label %25 25: ; preds = %17 %26 = load i64, ptr %6, align 8, !tbaa !12 %27 = icmp eq i64 %26, 0 %28 = load i64, ptr @PAGE_SIZE, align 8 %29 = select i1 %27, i64 %28, i64 %26 %30 = load i64, ptr %5, align 8, !tbaa !19 %31 = add nsw i64 %29, %30 %32 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !15 %33 = tail call ptr @kzalloc(i64 noundef %31, i32 noundef %32) #2 store ptr %33, ptr %0, align 8, !tbaa !20 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %39 35: ; preds = %25, %17, %1 %36 = tail call i32 @gpmi_free_dma_buffer(ptr noundef nonnull %0) #2 %37 = load i32, ptr @ENOMEM, align 4, !tbaa !15 %38 = sub nsw i32 0, %37 br label %39 39: ; preds = %25, %35 %40 = phi i32 [ %38, %35 ], [ 0, %25 ] ret i32 %40 } declare ptr @nand_to_mtd(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i64 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 @gpmi_free_dma_buffer(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 32} !6 = !{!"gpmi_nand_data", !7, i64 0, !10, i64 8, !10, i64 12, !7, i64 16, !10, i64 24, !7, i64 32, !11, i64 40} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"bch_geometry", !10, i64 0} !12 = !{!13, !14, i64 8} !13 = !{!"mtd_info", !14, i64 0, !14, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!6, !7, i64 16} !17 = !{!11, !10, i64 0} !18 = !{!6, !10, i64 8} !19 = !{!13, !14, i64 0} !20 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/mtd/nand/raw/gpmi-nand/extr_gpmi-nand.c_gpmi_alloc_dma_buffer.c' source_filename = "AnghaBench/linux/drivers/mtd/nand/raw/gpmi-nand/extr_gpmi-nand.c_gpmi_alloc_dma_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @PAGE_SIZE = common local_unnamed_addr global i64 0, align 8 @GFP_DMA = common local_unnamed_addr global i32 0, align 4 @GFP_KERNEL = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gpmi_alloc_dma_buffer], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @gpmi_alloc_dma_buffer(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 32 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = getelementptr inbounds i8, ptr %0, i64 24 %5 = tail call ptr @nand_to_mtd(ptr noundef nonnull %4) #2 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load i64, ptr %6, align 8, !tbaa !13 %8 = icmp eq i64 %7, 0 %9 = load i64, ptr @PAGE_SIZE, align 8 %10 = select i1 %8, i64 %9, i64 %7 %11 = load i32, ptr @GFP_DMA, align 4, !tbaa !16 %12 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %13 = or i32 %12, %11 %14 = tail call ptr @kzalloc(i64 noundef %10, i32 noundef %13) #2 %15 = getelementptr inbounds i8, ptr %0, i64 16 store ptr %14, ptr %15, align 8, !tbaa !17 %16 = icmp eq ptr %14, null br i1 %16, label %35, label %17 17: ; preds = %1 %18 = getelementptr inbounds i8, ptr %0, i64 40 %19 = load i32, ptr %18, align 4, !tbaa !18 %20 = getelementptr inbounds i8, ptr %0, i64 12 %21 = load i32, ptr @GFP_DMA, align 4, !tbaa !16 %22 = tail call i32 @dma_alloc_coherent(ptr noundef %3, i32 noundef %19, ptr noundef nonnull %20, i32 noundef %21) #2 %23 = getelementptr inbounds i8, ptr %0, i64 8 store i32 %22, ptr %23, align 8, !tbaa !19 %24 = icmp eq i32 %22, 0 br i1 %24, label %35, label %25 25: ; preds = %17 %26 = load i64, ptr %6, align 8, !tbaa !13 %27 = icmp eq i64 %26, 0 %28 = load i64, ptr @PAGE_SIZE, align 8 %29 = select i1 %27, i64 %28, i64 %26 %30 = load i64, ptr %5, align 8, !tbaa !20 %31 = add nsw i64 %29, %30 %32 = load i32, ptr @GFP_KERNEL, align 4, !tbaa !16 %33 = tail call ptr @kzalloc(i64 noundef %31, i32 noundef %32) #2 store ptr %33, ptr %0, align 8, !tbaa !21 %34 = icmp eq ptr %33, null br i1 %34, label %35, label %39 35: ; preds = %25, %17, %1 %36 = tail call i32 @gpmi_free_dma_buffer(ptr noundef nonnull %0) #2 %37 = load i32, ptr @ENOMEM, align 4, !tbaa !16 %38 = sub nsw i32 0, %37 br label %39 39: ; preds = %25, %35 %40 = phi i32 [ %38, %35 ], [ 0, %25 ] ret i32 %40 } declare ptr @nand_to_mtd(ptr noundef) local_unnamed_addr #1 declare ptr @kzalloc(i64 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 @gpmi_free_dma_buffer(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 32} !7 = !{!"gpmi_nand_data", !8, i64 0, !11, i64 8, !11, i64 12, !8, i64 16, !11, i64 24, !8, i64 32, !12, i64 40} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"bch_geometry", !11, i64 0} !13 = !{!14, !15, i64 8} !14 = !{!"mtd_info", !15, i64 0, !15, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!7, !8, i64 16} !18 = !{!12, !11, i64 0} !19 = !{!7, !11, i64 8} !20 = !{!14, !15, i64 0} !21 = !{!7, !8, i64 0}
linux_drivers_mtd_nand_raw_gpmi-nand_extr_gpmi-nand.c_gpmi_alloc_dma_buffer
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_irda-usb.c_get_turnaround_time.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_irda-usb.c_get_turnaround_time.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @get_turnaround_time], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @get_turnaround_time(ptr noundef %0) #0 { %2 = tail call i32 @irda_get_mtt(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %17, label %4 4: ; preds = %1 %5 = icmp slt i32 %2, 11 br i1 %5, label %17, label %6 6: ; preds = %4 %7 = icmp ult i32 %2, 51 br i1 %7, label %17, label %8 8: ; preds = %6 %9 = icmp ult i32 %2, 101 br i1 %9, label %17, label %10 10: ; preds = %8 %11 = icmp ult i32 %2, 501 br i1 %11, label %17, label %12 12: ; preds = %10 %13 = icmp ult i32 %2, 1001 br i1 %13, label %17, label %14 14: ; preds = %12 %15 = icmp ult i32 %2, 5001 %16 = select i1 %15, i32 6, i32 7 br label %17 17: ; preds = %14, %12, %10, %8, %6, %4, %1 %18 = phi i32 [ 0, %1 ], [ 1, %4 ], [ 2, %6 ], [ 3, %8 ], [ 4, %10 ], [ 5, %12 ], [ %16, %14 ] ret i32 %18 } declare i32 @irda_get_mtt(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/irda/extr_irda-usb.c_get_turnaround_time.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/irda/extr_irda-usb.c_get_turnaround_time.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @get_turnaround_time], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 8) i32 @get_turnaround_time(ptr noundef %0) #0 { %2 = tail call i32 @irda_get_mtt(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 br i1 %3, label %17, label %4 4: ; preds = %1 %5 = icmp slt i32 %2, 11 br i1 %5, label %17, label %6 6: ; preds = %4 %7 = icmp ult i32 %2, 51 br i1 %7, label %17, label %8 8: ; preds = %6 %9 = icmp ult i32 %2, 101 br i1 %9, label %17, label %10 10: ; preds = %8 %11 = icmp ult i32 %2, 501 br i1 %11, label %17, label %12 12: ; preds = %10 %13 = icmp ult i32 %2, 1001 br i1 %13, label %17, label %14 14: ; preds = %12 %15 = icmp ult i32 %2, 5001 %16 = select i1 %15, i32 6, i32 7 br label %17 17: ; preds = %14, %12, %10, %8, %6, %4, %1 %18 = phi i32 [ 0, %1 ], [ 1, %4 ], [ 2, %6 ], [ 3, %8 ], [ 4, %10 ], [ 5, %12 ], [ %16, %14 ] ret i32 %18 } declare i32 @irda_get_mtt(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_drivers_net_irda_extr_irda-usb.c_get_turnaround_time
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/carthw/svp/extr_ssp16.c_read_PMC.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/carthw/svp/extr_ssp16.c_read_PMC.c" target datalayout = "e-m:e-p270:32:32-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 } @EL_SVP = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"PMC r a %04x (st %c) @ %04x\00", align 1 @rPMC = dso_local local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ssp = dso_local local_unnamed_addr global ptr null, align 8 @SSP_PMC_HAVE_ADDR = dso_local local_unnamed_addr global i32 0, align 4 @SSP_PMC_SET = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @read_PMC], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @read_PMC() #0 { %1 = load i32, ptr @EL_SVP, align 4, !tbaa !5 %2 = load i32, ptr @rPMC, align 4, !tbaa !9 %3 = load ptr, ptr @ssp, align 8, !tbaa !11 %4 = load i32, ptr %3, align 4, !tbaa !13 %5 = load i32, ptr @SSP_PMC_HAVE_ADDR, align 4, !tbaa !5 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = select i1 %7, i8 97, i8 109 %9 = tail call i32 (...) @GET_PPC_OFFS() #2 %10 = tail call i32 @elprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %2, i8 noundef signext %8, i32 noundef %9) #2 %11 = load ptr, ptr @ssp, align 8, !tbaa !11 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = load i32, ptr @SSP_PMC_HAVE_ADDR, align 4, !tbaa !5 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %28, label %16 16: ; preds = %0 %17 = load i32, ptr @SSP_PMC_SET, align 4, !tbaa !5 %18 = or i32 %17, %12 store i32 %18, ptr %11, align 4, !tbaa !13 %19 = load i32, ptr @SSP_PMC_HAVE_ADDR, align 4, !tbaa !5 %20 = xor i32 %19, -1 %21 = and i32 %18, %20 %22 = load i32, ptr @rPMC, align 4, !tbaa !9 %23 = shl i32 %22, 4 %24 = and i32 %23, 65520 %25 = lshr i32 %22, 4 %26 = and i32 %25, 15 %27 = or disjoint i32 %24, %26 br label %31 28: ; preds = %0 %29 = or i32 %13, %12 %30 = load i32, ptr @rPMC, align 4, !tbaa !9 br label %31 31: ; preds = %28, %16 %32 = phi i32 [ %29, %28 ], [ %21, %16 ] %33 = phi i32 [ %30, %28 ], [ %27, %16 ] store i32 %32, ptr %11, align 4 ret i32 %33 } declare i32 @elprintf(i32 noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 declare i32 @GET_PPC_OFFS(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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_4__", !6, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/Provenance/Cores/PicoDrive/pico/carthw/svp/extr_ssp16.c_read_PMC.c' source_filename = "AnghaBench/Provenance/Cores/PicoDrive/pico/carthw/svp/extr_ssp16.c_read_PMC.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { i32 } @EL_SVP = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [28 x i8] c"PMC r a %04x (st %c) @ %04x\00", align 1 @rPMC = common local_unnamed_addr global %struct.TYPE_4__ zeroinitializer, align 4 @ssp = common local_unnamed_addr global ptr null, align 8 @SSP_PMC_HAVE_ADDR = common local_unnamed_addr global i32 0, align 4 @SSP_PMC_SET = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @read_PMC], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @read_PMC() #0 { %1 = load i32, ptr @EL_SVP, align 4, !tbaa !6 %2 = load i32, ptr @rPMC, align 4, !tbaa !10 %3 = load ptr, ptr @ssp, align 8, !tbaa !12 %4 = load i32, ptr %3, align 4, !tbaa !14 %5 = load i32, ptr @SSP_PMC_HAVE_ADDR, align 4, !tbaa !6 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 %8 = select i1 %7, i8 97, i8 109 %9 = tail call i32 @GET_PPC_OFFS() #2 %10 = tail call i32 @elprintf(i32 noundef %1, ptr noundef nonnull @.str, i32 noundef %2, i8 noundef signext %8, i32 noundef %9) #2 %11 = load ptr, ptr @ssp, align 8, !tbaa !12 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = load i32, ptr @SSP_PMC_HAVE_ADDR, align 4, !tbaa !6 %14 = and i32 %13, %12 %15 = icmp eq i32 %14, 0 br i1 %15, label %28, label %16 16: ; preds = %0 %17 = load i32, ptr @SSP_PMC_SET, align 4, !tbaa !6 %18 = or i32 %17, %12 store i32 %18, ptr %11, align 4, !tbaa !14 %19 = load i32, ptr @SSP_PMC_HAVE_ADDR, align 4, !tbaa !6 %20 = xor i32 %19, -1 %21 = and i32 %18, %20 %22 = load i32, ptr @rPMC, align 4, !tbaa !10 %23 = shl i32 %22, 4 %24 = and i32 %23, 65520 %25 = lshr i32 %22, 4 %26 = and i32 %25, 15 %27 = or disjoint i32 %24, %26 br label %31 28: ; preds = %0 %29 = or i32 %13, %12 %30 = load i32, ptr @rPMC, align 4, !tbaa !10 br label %31 31: ; preds = %28, %16 %32 = phi i32 [ %29, %28 ], [ %21, %16 ] %33 = phi i32 [ %30, %28 ], [ %27, %16 ] store i32 %32, ptr %11, align 4 ret i32 %33 } declare i32 @elprintf(i32 noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 declare i32 @GET_PPC_OFFS(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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_4__", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !8, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_3__", !7, i64 0}
Provenance_Cores_PicoDrive_pico_carthw_svp_extr_ssp16.c_read_PMC
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_verbs.c_sdma_complete.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_verbs.c_sdma_complete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ipath_verbs_txreq = type { %struct.TYPE_4__, i64, ptr } %struct.TYPE_4__ = type { i32, i32 } %struct.ipath_qp = type { i64, i64, i64, i32, i32, i32, i32, i32, i32, %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @IPATH_SDMA_TXREQ_S_OK = dso_local local_unnamed_addr global i32 0, align 4 @IB_WC_SUCCESS = dso_local local_unnamed_addr global i32 0, align 4 @IB_WC_WR_FLUSH_ERR = dso_local local_unnamed_addr global i32 0, align 4 @ib_ipath_state_ops = dso_local local_unnamed_addr global ptr null, align 8 @IPATH_FLUSH_SEND = dso_local local_unnamed_addr global i32 0, align 4 @IPATH_S_WAIT_DMA = dso_local local_unnamed_addr global i32 0, align 4 @IPATH_SDMA_TXREQ_F_FREEBUF = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sdma_complete], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @sdma_complete(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds %struct.ipath_verbs_txreq, ptr %0, i64 0, i32 2 %4 = load ptr, ptr %3, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 9 %6 = load i32, ptr %5, align 8, !tbaa !13 %7 = tail call ptr @to_idev(i32 noundef %6) #2 %8 = load i32, ptr @IPATH_SDMA_TXREQ_S_OK, align 4, !tbaa !16 %9 = icmp eq i32 %8, %1 %10 = load i32, ptr @IB_WC_SUCCESS, align 4 %11 = load i32, ptr @IB_WC_WR_FLUSH_ERR, align 4 %12 = select i1 %9, i32 %10, i32 %11 %13 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 8 %14 = tail call i64 @atomic_dec_and_test(ptr noundef nonnull %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %50, label %16 16: ; preds = %2 %17 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 6 %18 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %17, i64 noundef undef) #2 %19 = getelementptr inbounds %struct.ipath_verbs_txreq, ptr %0, i64 0, i32 1 %20 = load i64, ptr %19, align 8, !tbaa !17 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %16 %23 = tail call i32 @ipath_send_complete(ptr noundef nonnull %4, i64 noundef %20, i32 noundef %12) #2 br label %24 24: ; preds = %22, %16 %25 = load ptr, ptr @ib_ipath_state_ops, align 8, !tbaa !18 %26 = load i64, ptr %4, align 8, !tbaa !19 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !16 %29 = load i32, ptr @IPATH_FLUSH_SEND, align 4, !tbaa !16 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %38, label %32 32: ; preds = %24 %33 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 1 %34 = load i64, ptr %33, align 8, !tbaa !20 %35 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 2 %36 = load i64, ptr %35, align 8, !tbaa !21 %37 = icmp eq i64 %34, %36 br i1 %37, label %38, label %44 38: ; preds = %32, %24 %39 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 3 %40 = load i32, ptr %39, align 8, !tbaa !22 %41 = load i32, ptr @IPATH_S_WAIT_DMA, align 4, !tbaa !16 %42 = and i32 %41, %40 %43 = icmp eq i32 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %38, %32 %45 = tail call i32 @ipath_schedule_send(ptr noundef nonnull %4) #2 br label %46 46: ; preds = %44, %38 %47 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %17, i64 noundef undef) #2 %48 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 7 %49 = tail call i32 @wake_up(ptr noundef nonnull %48) #2 br label %60 50: ; preds = %2 %51 = getelementptr inbounds %struct.ipath_verbs_txreq, ptr %0, i64 0, i32 1 %52 = load i64, ptr %51, align 8, !tbaa !17 %53 = icmp eq i64 %52, 0 br i1 %53, label %60, label %54 54: ; preds = %50 %55 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 6 %56 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %55, i64 noundef undef) #2 %57 = load i64, ptr %51, align 8, !tbaa !17 %58 = tail call i32 @ipath_send_complete(ptr noundef nonnull %4, i64 noundef %57, i32 noundef %12) #2 %59 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %55, i64 noundef undef) #2 br label %60 60: ; preds = %50, %54, %46 %61 = load i32, ptr %0, align 8, !tbaa !23 %62 = load i32, ptr @IPATH_SDMA_TXREQ_F_FREEBUF, align 4, !tbaa !16 %63 = and i32 %62, %61 %64 = icmp eq i32 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %60 %66 = getelementptr inbounds %struct.TYPE_4__, ptr %0, i64 0, i32 1 %67 = load i32, ptr %66, align 4, !tbaa !24 %68 = tail call i32 @kfree(i32 noundef %67) #2 br label %69 69: ; preds = %65, %60 %70 = tail call i32 @put_txreq(ptr noundef %7, ptr noundef nonnull %0) #2 %71 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 5 %72 = tail call i64 @atomic_dec_and_test(ptr noundef nonnull %71) #2 %73 = icmp eq i64 %72, 0 br i1 %73, label %77, label %74 74: ; preds = %69 %75 = getelementptr inbounds %struct.ipath_qp, ptr %4, i64 0, i32 4 %76 = tail call i32 @wake_up(ptr noundef nonnull %75) #2 br label %77 77: ; preds = %74, %69 ret void } declare ptr @to_idev(i32 noundef) local_unnamed_addr #1 declare i64 @atomic_dec_and_test(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ipath_send_complete(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ipath_schedule_send(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @put_txreq(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, !12, i64 16} !6 = !{!"ipath_verbs_txreq", !7, i64 0, !11, i64 8, !12, i64 16} !7 = !{!"TYPE_4__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!14, !8, i64 48} !14 = !{!"ipath_qp", !11, i64 0, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !8, i64 44, !15, i64 48} !15 = !{!"TYPE_3__", !8, i64 0} !16 = !{!8, !8, i64 0} !17 = !{!6, !11, i64 8} !18 = !{!12, !12, i64 0} !19 = !{!14, !11, i64 0} !20 = !{!14, !11, i64 8} !21 = !{!14, !11, i64 16} !22 = !{!14, !8, i64 24} !23 = !{!6, !8, i64 0} !24 = !{!6, !8, i64 4}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_verbs.c_sdma_complete.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/ipath/extr_ipath_verbs.c_sdma_complete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IPATH_SDMA_TXREQ_S_OK = common local_unnamed_addr global i32 0, align 4 @IB_WC_SUCCESS = common local_unnamed_addr global i32 0, align 4 @IB_WC_WR_FLUSH_ERR = common local_unnamed_addr global i32 0, align 4 @ib_ipath_state_ops = common local_unnamed_addr global ptr null, align 8 @IPATH_FLUSH_SEND = common local_unnamed_addr global i32 0, align 4 @IPATH_S_WAIT_DMA = common local_unnamed_addr global i32 0, align 4 @IPATH_SDMA_TXREQ_F_FREEBUF = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sdma_complete], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @sdma_complete(ptr noundef %0, i32 noundef %1) #0 { %3 = getelementptr inbounds i8, ptr %0, i64 16 %4 = load ptr, ptr %3, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %4, i64 48 %6 = load i32, ptr %5, align 8, !tbaa !14 %7 = tail call ptr @to_idev(i32 noundef %6) #2 %8 = load i32, ptr @IPATH_SDMA_TXREQ_S_OK, align 4, !tbaa !17 %9 = icmp eq i32 %8, %1 %10 = load i32, ptr @IB_WC_SUCCESS, align 4 %11 = load i32, ptr @IB_WC_WR_FLUSH_ERR, align 4 %12 = select i1 %9, i32 %10, i32 %11 %13 = getelementptr inbounds i8, ptr %4, i64 44 %14 = tail call i64 @atomic_dec_and_test(ptr noundef nonnull %13) #2 %15 = icmp eq i64 %14, 0 br i1 %15, label %50, label %16 16: ; preds = %2 %17 = getelementptr inbounds i8, ptr %4, i64 36 %18 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %17, i64 noundef undef) #2 %19 = getelementptr inbounds i8, ptr %0, i64 8 %20 = load i64, ptr %19, align 8, !tbaa !18 %21 = icmp eq i64 %20, 0 br i1 %21, label %24, label %22 22: ; preds = %16 %23 = tail call i32 @ipath_send_complete(ptr noundef nonnull %4, i64 noundef %20, i32 noundef %12) #2 br label %24 24: ; preds = %22, %16 %25 = load ptr, ptr @ib_ipath_state_ops, align 8, !tbaa !19 %26 = load i64, ptr %4, align 8, !tbaa !20 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = load i32, ptr %27, align 4, !tbaa !17 %29 = load i32, ptr @IPATH_FLUSH_SEND, align 4, !tbaa !17 %30 = and i32 %29, %28 %31 = icmp eq i32 %30, 0 br i1 %31, label %38, label %32 32: ; preds = %24 %33 = getelementptr inbounds i8, ptr %4, i64 8 %34 = load i64, ptr %33, align 8, !tbaa !21 %35 = getelementptr inbounds i8, ptr %4, i64 16 %36 = load i64, ptr %35, align 8, !tbaa !22 %37 = icmp eq i64 %34, %36 br i1 %37, label %38, label %44 38: ; preds = %32, %24 %39 = getelementptr inbounds i8, ptr %4, i64 24 %40 = load i32, ptr %39, align 8, !tbaa !23 %41 = load i32, ptr @IPATH_S_WAIT_DMA, align 4, !tbaa !17 %42 = and i32 %41, %40 %43 = icmp eq i32 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %38, %32 %45 = tail call i32 @ipath_schedule_send(ptr noundef nonnull %4) #2 br label %46 46: ; preds = %44, %38 %47 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %17, i64 noundef undef) #2 %48 = getelementptr inbounds i8, ptr %4, i64 40 %49 = tail call i32 @wake_up(ptr noundef nonnull %48) #2 br label %60 50: ; preds = %2 %51 = getelementptr inbounds i8, ptr %0, i64 8 %52 = load i64, ptr %51, align 8, !tbaa !18 %53 = icmp eq i64 %52, 0 br i1 %53, label %60, label %54 54: ; preds = %50 %55 = getelementptr inbounds i8, ptr %4, i64 36 %56 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %55, i64 noundef undef) #2 %57 = load i64, ptr %51, align 8, !tbaa !18 %58 = tail call i32 @ipath_send_complete(ptr noundef nonnull %4, i64 noundef %57, i32 noundef %12) #2 %59 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %55, i64 noundef undef) #2 br label %60 60: ; preds = %50, %54, %46 %61 = load i32, ptr %0, align 8, !tbaa !24 %62 = load i32, ptr @IPATH_SDMA_TXREQ_F_FREEBUF, align 4, !tbaa !17 %63 = and i32 %62, %61 %64 = icmp eq i32 %63, 0 br i1 %64, label %69, label %65 65: ; preds = %60 %66 = getelementptr inbounds i8, ptr %0, i64 4 %67 = load i32, ptr %66, align 4, !tbaa !25 %68 = tail call i32 @kfree(i32 noundef %67) #2 br label %69 69: ; preds = %65, %60 %70 = tail call i32 @put_txreq(ptr noundef %7, ptr noundef nonnull %0) #2 %71 = getelementptr inbounds i8, ptr %4, i64 32 %72 = tail call i64 @atomic_dec_and_test(ptr noundef nonnull %71) #2 %73 = icmp eq i64 %72, 0 br i1 %73, label %77, label %74 74: ; preds = %69 %75 = getelementptr inbounds i8, ptr %4, i64 28 %76 = tail call i32 @wake_up(ptr noundef nonnull %75) #2 br label %77 77: ; preds = %74, %69 ret void } declare ptr @to_idev(i32 noundef) local_unnamed_addr #1 declare i64 @atomic_dec_and_test(ptr noundef) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @ipath_send_complete(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ipath_schedule_send(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @wake_up(ptr noundef) local_unnamed_addr #1 declare i32 @kfree(i32 noundef) local_unnamed_addr #1 declare i32 @put_txreq(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, !13, i64 16} !7 = !{!"ipath_verbs_txreq", !8, i64 0, !12, i64 8, !13, i64 16} !8 = !{!"TYPE_4__", !9, i64 0, !9, i64 4} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"long", !10, i64 0} !13 = !{!"any pointer", !10, i64 0} !14 = !{!15, !9, i64 48} !15 = !{!"ipath_qp", !12, i64 0, !12, i64 8, !12, i64 16, !9, i64 24, !9, i64 28, !9, i64 32, !9, i64 36, !9, i64 40, !9, i64 44, !16, i64 48} !16 = !{!"TYPE_3__", !9, i64 0} !17 = !{!9, !9, i64 0} !18 = !{!7, !12, i64 8} !19 = !{!13, !13, i64 0} !20 = !{!15, !12, i64 0} !21 = !{!15, !12, i64 8} !22 = !{!15, !12, i64 16} !23 = !{!15, !9, i64 24} !24 = !{!7, !9, i64 0} !25 = !{!7, !9, i64 4}
fastsocket_kernel_drivers_infiniband_hw_ipath_extr_ipath_verbs.c_sdma_complete
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_datascope.c_query_formats.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_datascope.c_query_formats.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @query_formats], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @query_formats(ptr noundef %0) #0 { %2 = tail call i32 @ff_draw_supported_pixel_formats(i32 noundef 0) #2 %3 = tail call i32 @ff_set_common_formats(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @ff_set_common_formats(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_draw_supported_pixel_formats(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/FFmpeg/libavfilter/extr_vf_datascope.c_query_formats.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_datascope.c_query_formats.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 @query_formats], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @query_formats(ptr noundef %0) #0 { %2 = tail call i32 @ff_draw_supported_pixel_formats(i32 noundef 0) #2 %3 = tail call i32 @ff_set_common_formats(ptr noundef %0, i32 noundef %2) #2 ret i32 %3 } declare i32 @ff_set_common_formats(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ff_draw_supported_pixel_formats(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)"}
FFmpeg_libavfilter_extr_vf_datascope.c_query_formats
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_ddt.c_ddt_bp_create.c' source_filename = "AnghaBench/zfs/module/zfs/extr_ddt.c_ddt_bp_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" @DMU_OT_DEDUP = dso_local local_unnamed_addr global i32 0, align 4 @ZFS_HOST_BYTEORDER = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ddt_bp_create(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @BP_ZERO(ptr noundef %3) #2 %6 = icmp eq ptr %2, null br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4, !tbaa !5 %9 = tail call i32 @ddt_bp_fill(ptr noundef nonnull %2, ptr noundef %3, i32 noundef %8) #2 br label %10 10: ; preds = %7, %4 %11 = load i32, ptr %1, align 4, !tbaa !10 store i32 %11, ptr %3, align 4, !tbaa !12 %12 = tail call i32 @DDK_GET_LSIZE(ptr noundef nonnull %1) #2 %13 = tail call i32 @BP_SET_LSIZE(ptr noundef nonnull %3, i32 noundef %12) #2 %14 = tail call i32 @DDK_GET_PSIZE(ptr noundef nonnull %1) #2 %15 = tail call i32 @BP_SET_PSIZE(ptr noundef nonnull %3, i32 noundef %14) #2 %16 = tail call i32 @DDK_GET_COMPRESS(ptr noundef nonnull %1) #2 %17 = tail call i32 @BP_SET_COMPRESS(ptr noundef nonnull %3, i32 noundef %16) #2 %18 = tail call i32 @DDK_GET_CRYPT(ptr noundef nonnull %1) #2 %19 = tail call i32 @BP_SET_CRYPT(ptr noundef nonnull %3, i32 noundef %18) #2 %20 = tail call i32 @BP_SET_FILL(ptr noundef nonnull %3, i32 noundef 1) #2 %21 = tail call i32 @BP_SET_CHECKSUM(ptr noundef nonnull %3, i32 noundef %0) #2 %22 = load i32, ptr @DMU_OT_DEDUP, align 4, !tbaa !14 %23 = tail call i32 @BP_SET_TYPE(ptr noundef nonnull %3, i32 noundef %22) #2 %24 = tail call i32 @BP_SET_LEVEL(ptr noundef nonnull %3, i32 noundef 0) #2 %25 = tail call i32 @BP_SET_DEDUP(ptr noundef nonnull %3, i32 noundef 1) #2 %26 = load i32, ptr @ZFS_HOST_BYTEORDER, align 4, !tbaa !14 %27 = tail call i32 @BP_SET_BYTEORDER(ptr noundef nonnull %3, i32 noundef %26) #2 ret void } declare i32 @BP_ZERO(ptr noundef) local_unnamed_addr #1 declare i32 @ddt_bp_fill(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_LSIZE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_LSIZE(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_PSIZE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_PSIZE(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_COMPRESS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_COMPRESS(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_CRYPT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_CRYPT(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_FILL(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_CHECKSUM(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_TYPE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_LEVEL(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_DEDUP(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_BYTEORDER(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_24__", !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_25__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_26__", !7, i64 0} !14 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/zfs/module/zfs/extr_ddt.c_ddt_bp_create.c' source_filename = "AnghaBench/zfs/module/zfs/extr_ddt.c_ddt_bp_create.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DMU_OT_DEDUP = common local_unnamed_addr global i32 0, align 4 @ZFS_HOST_BYTEORDER = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ddt_bp_create(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = tail call i32 @BP_ZERO(ptr noundef %3) #2 %6 = icmp eq ptr %2, null br i1 %6, label %10, label %7 7: ; preds = %4 %8 = load i32, ptr %2, align 4, !tbaa !6 %9 = tail call i32 @ddt_bp_fill(ptr noundef nonnull %2, ptr noundef %3, i32 noundef %8) #2 br label %10 10: ; preds = %7, %4 %11 = load i32, ptr %1, align 4, !tbaa !11 store i32 %11, ptr %3, align 4, !tbaa !13 %12 = tail call i32 @DDK_GET_LSIZE(ptr noundef nonnull %1) #2 %13 = tail call i32 @BP_SET_LSIZE(ptr noundef nonnull %3, i32 noundef %12) #2 %14 = tail call i32 @DDK_GET_PSIZE(ptr noundef nonnull %1) #2 %15 = tail call i32 @BP_SET_PSIZE(ptr noundef nonnull %3, i32 noundef %14) #2 %16 = tail call i32 @DDK_GET_COMPRESS(ptr noundef nonnull %1) #2 %17 = tail call i32 @BP_SET_COMPRESS(ptr noundef nonnull %3, i32 noundef %16) #2 %18 = tail call i32 @DDK_GET_CRYPT(ptr noundef nonnull %1) #2 %19 = tail call i32 @BP_SET_CRYPT(ptr noundef nonnull %3, i32 noundef %18) #2 %20 = tail call i32 @BP_SET_FILL(ptr noundef nonnull %3, i32 noundef 1) #2 %21 = tail call i32 @BP_SET_CHECKSUM(ptr noundef nonnull %3, i32 noundef %0) #2 %22 = load i32, ptr @DMU_OT_DEDUP, align 4, !tbaa !15 %23 = tail call i32 @BP_SET_TYPE(ptr noundef nonnull %3, i32 noundef %22) #2 %24 = tail call i32 @BP_SET_LEVEL(ptr noundef nonnull %3, i32 noundef 0) #2 %25 = tail call i32 @BP_SET_DEDUP(ptr noundef nonnull %3, i32 noundef 1) #2 %26 = load i32, ptr @ZFS_HOST_BYTEORDER, align 4, !tbaa !15 %27 = tail call i32 @BP_SET_BYTEORDER(ptr noundef nonnull %3, i32 noundef %26) #2 ret void } declare i32 @BP_ZERO(ptr noundef) local_unnamed_addr #1 declare i32 @ddt_bp_fill(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_LSIZE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_LSIZE(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_PSIZE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_PSIZE(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_COMPRESS(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_COMPRESS(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_CRYPT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DDK_GET_CRYPT(ptr noundef) local_unnamed_addr #1 declare i32 @BP_SET_FILL(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_CHECKSUM(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_TYPE(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_LEVEL(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_DEDUP(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @BP_SET_BYTEORDER(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_24__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_25__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_26__", !8, i64 0} !15 = !{!8, !8, i64 0}
zfs_module_zfs_extr_ddt.c_ddt_bp_create
; ModuleID = 'AnghaBench/libgit2/tests/diff/extr_index.c_do_conflicted_diff.c' source_filename = "AnghaBench/libgit2/tests/diff/extr_index.c_do_conflicted_diff.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_11__ = type { i32, i32, i64 } %struct.TYPE_10__ = type { ptr, i32, i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32 } @.str = private unnamed_addr constant [12 x i8] c"26a125ee1bf\00", align 1 @g_repo = dso_local local_unnamed_addr global i32 0, align 4 @GIT_DIFF_OPTIONS_INIT = dso_local local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"staged_changes\00", align 1 @GIT_FILEMODE_BLOB = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"d427e0b2e138501a3d15cc376077a3631e15bd46\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"ee3fa1b8c00aff7fe02065fdb50864bb0d932ccf\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"2bd0a343aeef7a2cf0d158478966a6e587ff3863\00", align 1 @diff_file_cb = dso_local local_unnamed_addr global i32 0, align 4 @diff_binary_cb = dso_local local_unnamed_addr global i32 0, align 4 @diff_hunk_cb = dso_local local_unnamed_addr global i32 0, align 4 @diff_line_cb = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @do_conflicted_diff], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @do_conflicted_diff(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca %struct.TYPE_11__, align 8 %4 = alloca %struct.TYPE_10__, align 8 %5 = alloca %struct.TYPE_10__, align 8 %6 = alloca %struct.TYPE_10__, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = load i32, ptr @g_repo, align 4, !tbaa !5 %10 = tail call ptr @resolve_commit_oid_to_tree(i32 noundef %9, ptr noundef nonnull @.str) #5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) @GIT_DIFF_OPTIONS_INIT, i64 16, i1 false), !tbaa.struct !9 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5 %11 = getelementptr inbounds i8, ptr %4, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 16, i1 false) call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5 %12 = getelementptr inbounds i8, ptr %5, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 16, i1 false) call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5 %13 = getelementptr inbounds i8, ptr %6, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %13, i8 0, i64 16, i1 false) call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5 store ptr null, ptr %7, align 8, !tbaa !12 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5 %14 = tail call i32 @cl_assert(ptr noundef %10) #5 store i32 1, ptr %3, align 8, !tbaa !14 %15 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 1 store i32 1, ptr %15, align 4, !tbaa !16 %16 = getelementptr inbounds %struct.TYPE_11__, ptr %3, i64 0, i32 2 %17 = load i64, ptr %16, align 8, !tbaa !17 %18 = or i64 %17, %1 store i64 %18, ptr %16, align 8, !tbaa !17 %19 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #5 %20 = load i32, ptr @g_repo, align 4, !tbaa !5 %21 = call i32 @git_repository_index(ptr noundef nonnull %8, i32 noundef %20) #5 %22 = call i32 @cl_git_pass(i32 noundef %21) #5 store ptr @.str.1, ptr %6, align 8, !tbaa !18 store ptr @.str.1, ptr %5, align 8, !tbaa !18 store ptr @.str.1, ptr %4, align 8, !tbaa !18 %23 = load i32, ptr @GIT_FILEMODE_BLOB, align 4, !tbaa !5 %24 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 2 store i32 %23, ptr %24, align 4, !tbaa !21 %25 = getelementptr inbounds %struct.TYPE_10__, ptr %5, i64 0, i32 2 store i32 %23, ptr %25, align 4, !tbaa !21 %26 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 2 store i32 %23, ptr %26, align 4, !tbaa !21 %27 = getelementptr inbounds %struct.TYPE_10__, ptr %4, i64 0, i32 1 %28 = call i32 @git_oid_fromstr(ptr noundef nonnull %27, ptr noundef nonnull @.str.2) #5 %29 = getelementptr inbounds %struct.TYPE_10__, ptr %5, i64 0, i32 1 %30 = call i32 @git_oid_fromstr(ptr noundef nonnull %29, ptr noundef nonnull @.str.3) #5 %31 = getelementptr inbounds %struct.TYPE_10__, ptr %6, i64 0, i32 1 %32 = call i32 @git_oid_fromstr(ptr noundef nonnull %31, ptr noundef nonnull @.str.4) #5 %33 = load ptr, ptr %8, align 8, !tbaa !12 %34 = call i32 @git_index_conflict_add(ptr noundef %33, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #5 %35 = call i32 @cl_git_pass(i32 noundef %34) #5 %36 = load i32, ptr @g_repo, align 4, !tbaa !5 %37 = load ptr, ptr %8, align 8, !tbaa !12 %38 = call i32 @git_diff_tree_to_index(ptr noundef nonnull %7, i32 noundef %36, ptr noundef %10, ptr noundef %37, ptr noundef nonnull %3) #5 %39 = call i32 @cl_git_pass(i32 noundef %38) #5 %40 = load ptr, ptr %7, align 8, !tbaa !12 %41 = load i32, ptr @diff_file_cb, align 4, !tbaa !5 %42 = load i32, ptr @diff_binary_cb, align 4, !tbaa !5 %43 = load i32, ptr @diff_hunk_cb, align 4, !tbaa !5 %44 = load i32, ptr @diff_line_cb, align 4, !tbaa !5 %45 = call i32 @git_diff_foreach(ptr noundef %40, i32 noundef %41, i32 noundef %42, i32 noundef %43, i32 noundef %44, ptr noundef %0) #5 %46 = call i32 @cl_git_pass(i32 noundef %45) #5 %47 = load ptr, ptr %7, align 8, !tbaa !12 %48 = call i32 @git_diff_free(ptr noundef %47) #5 %49 = call i32 @git_tree_free(ptr noundef %10) #5 %50 = load ptr, ptr %8, align 8, !tbaa !12 %51 = call i32 @git_index_free(ptr noundef %50) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @resolve_commit_oid_to_tree(i32 noundef, 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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 declare i32 @cl_assert(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_index(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_oid_fromstr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_index_conflict_add(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_diff_tree_to_index(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_diff_foreach(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_diff_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_tree_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_index_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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 8, !10} !10 = !{!11, !11, i64 0} !11 = !{!"long", !7, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!15, !6, i64 0} !15 = !{!"TYPE_11__", !6, i64 0, !6, i64 4, !11, i64 8} !16 = !{!15, !6, i64 4} !17 = !{!15, !11, i64 8} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_10__", !13, i64 0, !6, i64 8, !6, i64 12, !20, i64 16} !20 = !{!"TYPE_9__", !6, i64 0} !21 = !{!19, !6, i64 12}
; ModuleID = 'AnghaBench/libgit2/tests/diff/extr_index.c_do_conflicted_diff.c' source_filename = "AnghaBench/libgit2/tests/diff/extr_index.c_do_conflicted_diff.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_11__ = type { i32, i32, i64 } %struct.TYPE_10__ = type { ptr, i32, i32, %struct.TYPE_9__ } %struct.TYPE_9__ = type { i32 } @.str = private unnamed_addr constant [12 x i8] c"26a125ee1bf\00", align 1 @g_repo = common local_unnamed_addr global i32 0, align 4 @GIT_DIFF_OPTIONS_INIT = common local_unnamed_addr global %struct.TYPE_11__ zeroinitializer, align 8 @.str.1 = private unnamed_addr constant [15 x i8] c"staged_changes\00", align 1 @GIT_FILEMODE_BLOB = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [41 x i8] c"d427e0b2e138501a3d15cc376077a3631e15bd46\00", align 1 @.str.3 = private unnamed_addr constant [41 x i8] c"ee3fa1b8c00aff7fe02065fdb50864bb0d932ccf\00", align 1 @.str.4 = private unnamed_addr constant [41 x i8] c"2bd0a343aeef7a2cf0d158478966a6e587ff3863\00", align 1 @diff_file_cb = common local_unnamed_addr global i32 0, align 4 @diff_binary_cb = common local_unnamed_addr global i32 0, align 4 @diff_hunk_cb = common local_unnamed_addr global i32 0, align 4 @diff_line_cb = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @do_conflicted_diff], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @do_conflicted_diff(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca %struct.TYPE_11__, align 8 %4 = alloca %struct.TYPE_10__, align 8 %5 = alloca %struct.TYPE_10__, align 8 %6 = alloca %struct.TYPE_10__, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = load i32, ptr @g_repo, align 4, !tbaa !6 %10 = tail call ptr @resolve_commit_oid_to_tree(i32 noundef %9, ptr noundef nonnull @.str) #5 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(16) @GIT_DIFF_OPTIONS_INIT, i64 16, i1 false), !tbaa.struct !10 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5 %11 = getelementptr inbounds i8, ptr %4, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, i8 0, i64 16, i1 false) call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5 %12 = getelementptr inbounds i8, ptr %5, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 16, i1 false) call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5 %13 = getelementptr inbounds i8, ptr %6, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %13, i8 0, i64 16, i1 false) call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5 store ptr null, ptr %7, align 8, !tbaa !13 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5 %14 = tail call i32 @cl_assert(ptr noundef %10) #5 store <2 x i32> <i32 1, i32 1>, ptr %3, align 8, !tbaa !6 %15 = getelementptr inbounds i8, ptr %3, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !15 %17 = or i64 %16, %1 store i64 %17, ptr %15, align 8, !tbaa !15 %18 = tail call i32 @memset(ptr noundef %0, i32 noundef 0, i32 noundef 4) #5 %19 = load i32, ptr @g_repo, align 4, !tbaa !6 %20 = call i32 @git_repository_index(ptr noundef nonnull %8, i32 noundef %19) #5 %21 = call i32 @cl_git_pass(i32 noundef %20) #5 store ptr @.str.1, ptr %6, align 8, !tbaa !17 store ptr @.str.1, ptr %5, align 8, !tbaa !17 store ptr @.str.1, ptr %4, align 8, !tbaa !17 %22 = load i32, ptr @GIT_FILEMODE_BLOB, align 4, !tbaa !6 %23 = getelementptr inbounds i8, ptr %6, i64 12 store i32 %22, ptr %23, align 4, !tbaa !20 %24 = getelementptr inbounds i8, ptr %5, i64 12 store i32 %22, ptr %24, align 4, !tbaa !20 %25 = getelementptr inbounds i8, ptr %4, i64 12 store i32 %22, ptr %25, align 4, !tbaa !20 %26 = call i32 @git_oid_fromstr(ptr noundef nonnull %11, ptr noundef nonnull @.str.2) #5 %27 = call i32 @git_oid_fromstr(ptr noundef nonnull %12, ptr noundef nonnull @.str.3) #5 %28 = call i32 @git_oid_fromstr(ptr noundef nonnull %13, ptr noundef nonnull @.str.4) #5 %29 = load ptr, ptr %8, align 8, !tbaa !13 %30 = call i32 @git_index_conflict_add(ptr noundef %29, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %6) #5 %31 = call i32 @cl_git_pass(i32 noundef %30) #5 %32 = load i32, ptr @g_repo, align 4, !tbaa !6 %33 = load ptr, ptr %8, align 8, !tbaa !13 %34 = call i32 @git_diff_tree_to_index(ptr noundef nonnull %7, i32 noundef %32, ptr noundef %10, ptr noundef %33, ptr noundef nonnull %3) #5 %35 = call i32 @cl_git_pass(i32 noundef %34) #5 %36 = load ptr, ptr %7, align 8, !tbaa !13 %37 = load i32, ptr @diff_file_cb, align 4, !tbaa !6 %38 = load i32, ptr @diff_binary_cb, align 4, !tbaa !6 %39 = load i32, ptr @diff_hunk_cb, align 4, !tbaa !6 %40 = load i32, ptr @diff_line_cb, align 4, !tbaa !6 %41 = call i32 @git_diff_foreach(ptr noundef %36, i32 noundef %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, ptr noundef %0) #5 %42 = call i32 @cl_git_pass(i32 noundef %41) #5 %43 = load ptr, ptr %7, align 8, !tbaa !13 %44 = call i32 @git_diff_free(ptr noundef %43) #5 %45 = call i32 @git_tree_free(ptr noundef %10) #5 %46 = load ptr, ptr %8, align 8, !tbaa !13 %47 = call i32 @git_index_free(ptr noundef %46) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @resolve_commit_oid_to_tree(i32 noundef, 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 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4 declare i32 @cl_assert(ptr noundef) local_unnamed_addr #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @cl_git_pass(i32 noundef) local_unnamed_addr #2 declare i32 @git_repository_index(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @git_oid_fromstr(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_index_conflict_add(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_diff_tree_to_index(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_diff_foreach(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @git_diff_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_tree_free(ptr noundef) local_unnamed_addr #2 declare i32 @git_index_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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{i64 0, i64 4, !6, i64 4, i64 4, !6, i64 8, i64 8, !11} !11 = !{!12, !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !12, i64 8} !16 = !{!"TYPE_11__", !7, i64 0, !7, i64 4, !12, i64 8} !17 = !{!18, !14, i64 0} !18 = !{!"TYPE_10__", !14, i64 0, !7, i64 8, !7, i64 12, !19, i64 16} !19 = !{!"TYPE_9__", !7, i64 0} !20 = !{!18, !7, i64 12}
libgit2_tests_diff_extr_index.c_do_conflicted_diff
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-main.c_xgbe_netdev_event.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-main.c_xgbe_netdev_event.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NOTIFY_DONE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xgbe_netdev_event], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @xgbe_netdev_event(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @netdev_notifier_info_to_dev(ptr noundef %2) #2 %5 = tail call ptr @netdev_priv(ptr noundef %4) #2 %6 = load i64, ptr %4, align 8, !tbaa !5 %7 = tail call i64 (...) @xgbe_get_netdev_ops() #2 %8 = icmp eq i64 %6, %7 %9 = icmp eq i64 %1, 128 %10 = and i1 %9, %8 br i1 %10, label %11, label %13 11: ; preds = %3 %12 = tail call i32 @xgbe_debugfs_rename(ptr noundef %5) #2 br label %13 13: ; preds = %11, %3 %14 = load i32, ptr @NOTIFY_DONE, align 4, !tbaa !10 ret i32 %14 } declare ptr @netdev_notifier_info_to_dev(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @xgbe_get_netdev_ops(...) local_unnamed_addr #1 declare i32 @xgbe_debugfs_rename(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 = !{!"net_device", !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}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-main.c_xgbe_netdev_event.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/amd/xgbe/extr_xgbe-main.c_xgbe_netdev_event.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NOTIFY_DONE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xgbe_netdev_event], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @xgbe_netdev_event(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2) #0 { %4 = tail call ptr @netdev_notifier_info_to_dev(ptr noundef %2) #2 %5 = tail call ptr @netdev_priv(ptr noundef %4) #2 %6 = load i64, ptr %4, align 8, !tbaa !6 %7 = tail call i64 @xgbe_get_netdev_ops() #2 %8 = icmp eq i64 %6, %7 %9 = icmp eq i64 %1, 128 %10 = and i1 %9, %8 br i1 %10, label %11, label %13 11: ; preds = %3 %12 = tail call i32 @xgbe_debugfs_rename(ptr noundef %5) #2 br label %13 13: ; preds = %11, %3 %14 = load i32, ptr @NOTIFY_DONE, align 4, !tbaa !11 ret i32 %14 } declare ptr @netdev_notifier_info_to_dev(ptr noundef) local_unnamed_addr #1 declare ptr @netdev_priv(ptr noundef) local_unnamed_addr #1 declare i64 @xgbe_get_netdev_ops(...) local_unnamed_addr #1 declare i32 @xgbe_debugfs_rename(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 = !{!"net_device", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
linux_drivers_net_ethernet_amd_xgbe_extr_xgbe-main.c_xgbe_netdev_event
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_read_ring_length.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_read_ring_length.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @iio_read_ring_length(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %3 %8 = tail call i32 %5(ptr noundef nonnull %4) #2 %9 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %8) #2 br label %10 10: ; preds = %7, %3 %11 = phi i32 [ %9, %7 ], [ 0, %3 ] ret i32 %11 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"iio_ring_buffer", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_read_ring_length.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/staging/iio/extr_industrialio-ring.c_iio_read_ring_length.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @iio_read_ring_length(ptr noundef %0, ptr nocapture noundef readnone %1, ptr noundef %2) local_unnamed_addr #0 { %4 = tail call ptr @dev_get_drvdata(ptr noundef %0) #2 %5 = load ptr, ptr %4, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %10, label %7 7: ; preds = %3 %8 = tail call i32 %5(ptr noundef nonnull %4) #2 %9 = tail call i32 @sprintf(ptr noundef %2, ptr noundef nonnull @.str, i32 noundef %8) #2 br label %10 10: ; preds = %7, %3 %11 = phi i32 [ %9, %7 ], [ 0, %3 ] ret i32 %11 } declare ptr @dev_get_drvdata(ptr noundef) local_unnamed_addr #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"iio_ring_buffer", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_staging_iio_extr_industrialio-ring.c_iio_read_ring_length
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_sr.c_sr_packet.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_sr.c_sr_packet.c" target datalayout = "e-m:e-p270:32:32-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.packet_command = type { i64, i32 } @IOCTL_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @sr_packet], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @sr_packet(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !5 %4 = icmp slt i64 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = load i64, ptr @IOCTL_TIMEOUT, align 8, !tbaa !11 store i64 %6, ptr %1, align 8, !tbaa !5 br label %7 7: ; preds = %5, %2 %8 = load i32, ptr %0, align 4, !tbaa !12 %9 = tail call i32 @sr_do_ioctl(i32 noundef %8, ptr noundef nonnull %1) #2 %10 = getelementptr inbounds %struct.packet_command, ptr %1, i64 0, i32 1 %11 = load i32, ptr %10, align 8, !tbaa !14 ret i32 %11 } declare i32 @sr_do_ioctl(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 = !{!"packet_command", !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 = !{!13, !10, i64 0} !13 = !{!"cdrom_device_info", !10, i64 0} !14 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/scsi/extr_sr.c_sr_packet.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/scsi/extr_sr.c_sr_packet.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IOCTL_TIMEOUT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @sr_packet], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @sr_packet(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i64, ptr %1, align 8, !tbaa !6 %4 = icmp slt i64 %3, 1 br i1 %4, label %5, label %7 5: ; preds = %2 %6 = load i64, ptr @IOCTL_TIMEOUT, align 8, !tbaa !12 store i64 %6, ptr %1, align 8, !tbaa !6 br label %7 7: ; preds = %5, %2 %8 = load i32, ptr %0, align 4, !tbaa !13 %9 = tail call i32 @sr_do_ioctl(i32 noundef %8, ptr noundef nonnull %1) #2 %10 = getelementptr inbounds i8, ptr %1, i64 8 %11 = load i32, ptr %10, align 8, !tbaa !15 ret i32 %11 } declare i32 @sr_do_ioctl(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 = !{!"packet_command", !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 = !{!14, !11, i64 0} !14 = !{!"cdrom_device_info", !11, i64 0} !15 = !{!7, !11, i64 8}
fastsocket_kernel_drivers_scsi_extr_sr.c_sr_packet
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_file.c_file_fsinfo.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_file.c_file_fsinfo.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"file system failed\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"total: %d, used:%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"file system error\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @file_fsinfo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @file_fsinfo(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i64 @vfs_fsinfo(ptr noundef nonnull @.str, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %24 8: ; preds = %1 %9 = load i32, ptr %2, align 4, !tbaa !5 %10 = load i32, ptr %3, align 4, !tbaa !5 %11 = call i32 @NODE_DBG(ptr noundef nonnull @.str.2, i32 noundef %9, i32 noundef %10) #3 %12 = load i32, ptr %2, align 4, !tbaa !5 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %13, %12 br i1 %14, label %15, label %17 15: ; preds = %8 %16 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.3) #3 br label %24 17: ; preds = %8 %18 = sub nsw i32 %12, %13 %19 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %18) #3 %20 = load i32, ptr %3, align 4, !tbaa !5 %21 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %20) #3 %22 = load i32, ptr %2, align 4, !tbaa !5 %23 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %22) #3 br label %24 24: ; preds = %17, %15, %6 %25 = phi i32 [ %7, %6 ], [ %16, %15 ], [ 3, %17 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @vfs_fsinfo(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NODE_DBG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/nodemcu-firmware/app/modules/extr_file.c_file_fsinfo.c' source_filename = "AnghaBench/nodemcu-firmware/app/modules/extr_file.c_file_fsinfo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [19 x i8] c"file system failed\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"total: %d, used:%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"file system error\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @file_fsinfo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @file_fsinfo(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = call i64 @vfs_fsinfo(ptr noundef nonnull @.str, ptr noundef nonnull %2, ptr noundef nonnull %3) #3 %5 = icmp eq i64 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.1) #3 br label %24 8: ; preds = %1 %9 = load i32, ptr %2, align 4, !tbaa !6 %10 = load i32, ptr %3, align 4, !tbaa !6 %11 = call i32 @NODE_DBG(ptr noundef nonnull @.str.2, i32 noundef %9, i32 noundef %10) #3 %12 = load i32, ptr %2, align 4, !tbaa !6 %13 = load i32, ptr %3, align 4 %14 = icmp sgt i32 %13, %12 br i1 %14, label %15, label %17 15: ; preds = %8 %16 = call i32 @luaL_error(ptr noundef %0, ptr noundef nonnull @.str.3) #3 br label %24 17: ; preds = %8 %18 = sub nsw i32 %12, %13 %19 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %18) #3 %20 = load i32, ptr %3, align 4, !tbaa !6 %21 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %20) #3 %22 = load i32, ptr %2, align 4, !tbaa !6 %23 = call i32 @lua_pushinteger(ptr noundef %0, i32 noundef %22) #3 br label %24 24: ; preds = %17, %15, %6 %25 = phi i32 [ %7, %6 ], [ %16, %15 ], [ 3, %17 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 ret i32 %25 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @vfs_fsinfo(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @luaL_error(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @NODE_DBG(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushinteger(ptr noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
nodemcu-firmware_app_modules_extr_file.c_file_fsinfo
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson03/3/bl4ckout31/src/extr_timer.c_handle_timer_irq.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/3/bl4ckout31/src/extr_timer.c_handle_timer_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" @interval = dso_local local_unnamed_addr global i64 0, align 8 @curVal = dso_local local_unnamed_addr global i32 0, align 4 @TIMER_C1 = dso_local local_unnamed_addr global i32 0, align 4 @TIMER_CS = dso_local local_unnamed_addr global i32 0, align 4 @TIMER_CS_M1 = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Timer interrupt received\0A\0D\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @handle_timer_irq() local_unnamed_addr #0 { %1 = load i64, ptr @interval, align 8, !tbaa !5 %2 = load i32, ptr @curVal, align 4, !tbaa !9 %3 = trunc i64 %1 to i32 %4 = add i32 %2, %3 store i32 %4, ptr @curVal, align 4, !tbaa !9 %5 = load i32, ptr @TIMER_C1, align 4, !tbaa !9 %6 = tail call i32 @put32(i32 noundef %5, i32 noundef %4) #2 %7 = load i32, ptr @TIMER_CS, align 4, !tbaa !9 %8 = load i32, ptr @TIMER_CS_M1, align 4, !tbaa !9 %9 = tail call i32 @put32(i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @printf(ptr noundef nonnull @.str) #2 ret void } declare i32 @put32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @printf(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, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/raspberry-pi-os/exercises/lesson03/3/bl4ckout31/src/extr_timer.c_handle_timer_irq.c' source_filename = "AnghaBench/raspberry-pi-os/exercises/lesson03/3/bl4ckout31/src/extr_timer.c_handle_timer_irq.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @interval = common local_unnamed_addr global i64 0, align 8 @curVal = common local_unnamed_addr global i32 0, align 4 @TIMER_C1 = common local_unnamed_addr global i32 0, align 4 @TIMER_CS = common local_unnamed_addr global i32 0, align 4 @TIMER_CS_M1 = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [27 x i8] c"Timer interrupt received\0A\0D\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @handle_timer_irq() local_unnamed_addr #0 { %1 = load i64, ptr @interval, align 8, !tbaa !6 %2 = load i32, ptr @curVal, align 4, !tbaa !10 %3 = trunc i64 %1 to i32 %4 = add i32 %2, %3 store i32 %4, ptr @curVal, align 4, !tbaa !10 %5 = load i32, ptr @TIMER_C1, align 4, !tbaa !10 %6 = tail call i32 @put32(i32 noundef %5, i32 noundef %4) #2 %7 = load i32, ptr @TIMER_CS, align 4, !tbaa !10 %8 = load i32, ptr @TIMER_CS_M1, align 4, !tbaa !10 %9 = tail call i32 @put32(i32 noundef %7, i32 noundef %8) #2 %10 = tail call i32 @printf(ptr noundef nonnull @.str) #2 ret void } declare i32 @put32(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @printf(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, !11, i64 0} !11 = !{!"int", !8, i64 0}
raspberry-pi-os_exercises_lesson03_3_bl4ckout31_src_extr_timer.c_handle_timer_irq
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/i2c/other/extr_ak4114.c_snd_ak4114_spdif_pget.c' source_filename = "AnghaBench/fastsocket/kernel/sound/i2c/other/extr_ak4114.c_snd_ak4114_spdif_pget.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AK4114_REG_Pc0 = dso_local local_unnamed_addr global i32 0, align 4 @AK4114_REG_Pc1 = dso_local local_unnamed_addr global i32 0, align 4 @AK4114_REG_Pd0 = dso_local local_unnamed_addr global i32 0, align 4 @AK4114_REG_Pd1 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ak4114_spdif_pget], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @snd_ak4114_spdif_pget(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load ptr, ptr %1, align 8, !tbaa !5 store i32 63730, ptr %4, align 4, !tbaa !12 %5 = getelementptr inbounds i32, ptr %4, i64 1 store i32 19999, ptr %5, align 4, !tbaa !12 %6 = load i32, ptr @AK4114_REG_Pc0, align 4, !tbaa !12 %7 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %6) #2 %8 = load i32, ptr @AK4114_REG_Pc1, align 4, !tbaa !12 %9 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %8) #2 %10 = shl i32 %9, 8 %11 = or i32 %10, %7 %12 = and i32 %11, 65535 %13 = load ptr, ptr %1, align 8, !tbaa !5 %14 = getelementptr inbounds i32, ptr %13, i64 2 store i32 %12, ptr %14, align 4, !tbaa !12 %15 = load i32, ptr @AK4114_REG_Pd0, align 4, !tbaa !12 %16 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %15) #2 %17 = load i32, ptr @AK4114_REG_Pd1, align 4, !tbaa !12 %18 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %17) #2 %19 = shl i32 %18, 8 %20 = or i32 %19, %16 %21 = and i32 %20, 65535 %22 = load ptr, ptr %1, align 8, !tbaa !5 %23 = getelementptr inbounds i32, ptr %22, i64 3 store i32 %21, ptr %23, align 4, !tbaa !12 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @reg_read(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, !9, i64 0} !6 = !{!"snd_ctl_elem_value", !7, i64 0} !7 = !{!"TYPE_4__", !8, i64 0} !8 = !{!"TYPE_3__", !9, i64 0} !9 = !{!"any pointer", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!13, !13, i64 0} !13 = !{!"int", !10, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/sound/i2c/other/extr_ak4114.c_snd_ak4114_spdif_pget.c' source_filename = "AnghaBench/fastsocket/kernel/sound/i2c/other/extr_ak4114.c_snd_ak4114_spdif_pget.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AK4114_REG_Pc0 = common local_unnamed_addr global i32 0, align 4 @AK4114_REG_Pc1 = common local_unnamed_addr global i32 0, align 4 @AK4114_REG_Pd0 = common local_unnamed_addr global i32 0, align 4 @AK4114_REG_Pd1 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_ak4114_spdif_pget], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @snd_ak4114_spdif_pget(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = tail call ptr @snd_kcontrol_chip(ptr noundef %0) #2 %4 = load ptr, ptr %1, align 8, !tbaa !6 store <2 x i32> <i32 63730, i32 19999>, ptr %4, align 4, !tbaa !13 %5 = load i32, ptr @AK4114_REG_Pc0, align 4, !tbaa !13 %6 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %5) #2 %7 = load i32, ptr @AK4114_REG_Pc1, align 4, !tbaa !13 %8 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %7) #2 %9 = shl i32 %8, 8 %10 = or i32 %9, %6 %11 = and i32 %10, 65535 %12 = load ptr, ptr %1, align 8, !tbaa !6 %13 = getelementptr inbounds i8, ptr %12, i64 8 store i32 %11, ptr %13, align 4, !tbaa !13 %14 = load i32, ptr @AK4114_REG_Pd0, align 4, !tbaa !13 %15 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %14) #2 %16 = load i32, ptr @AK4114_REG_Pd1, align 4, !tbaa !13 %17 = tail call i32 @reg_read(ptr noundef %3, i32 noundef %16) #2 %18 = shl i32 %17, 8 %19 = or i32 %18, %15 %20 = and i32 %19, 65535 %21 = load ptr, ptr %1, align 8, !tbaa !6 %22 = getelementptr inbounds i8, ptr %21, i64 12 store i32 %20, ptr %22, align 4, !tbaa !13 ret i32 0 } declare ptr @snd_kcontrol_chip(ptr noundef) local_unnamed_addr #1 declare i32 @reg_read(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, !10, i64 0} !7 = !{!"snd_ctl_elem_value", !8, i64 0} !8 = !{!"TYPE_4__", !9, i64 0} !9 = !{!"TYPE_3__", !10, i64 0} !10 = !{!"any pointer", !11, i64 0} !11 = !{!"omnipotent char", !12, i64 0} !12 = !{!"Simple C/C++ TBAA"} !13 = !{!14, !14, i64 0} !14 = !{!"int", !11, i64 0}
fastsocket_kernel_sound_i2c_other_extr_ak4114.c_snd_ak4114_spdif_pget
; ModuleID = 'AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_send_change_request.c' source_filename = "AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_send_change_request.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { ptr } @MBOX_SEND_CHANGE_REQUEST = dso_local local_unnamed_addr global i32 0, align 4 @MBLOGALL = dso_local local_unnamed_addr global i32 0, align 4 @MBOX_COMMAND_COMPLETE = dso_local local_unnamed_addr global i32 0, align 4 @ISP_LOGWARN = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Chan %d Send Change Request: 0x%x\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @isp_send_change_request], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @isp_send_change_request(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i32, ptr @MBOX_SEND_CHANGE_REQUEST, align 4, !tbaa !5 %5 = load i32, ptr @MBLOGALL, align 4, !tbaa !5 %6 = call i32 @MBSINIT(ptr noundef nonnull %3, i32 noundef %4, i32 noundef %5, i32 noundef 500000) #3 %7 = load ptr, ptr %3, align 8, !tbaa !9 %8 = getelementptr inbounds i32, ptr %7, i64 1 store i32 3, ptr %8, align 4, !tbaa !5 %9 = getelementptr inbounds i32, ptr %7, i64 9 store i32 %1, ptr %9, align 4, !tbaa !5 %10 = call i32 @isp_mboxcmd(ptr noundef %0, ptr noundef nonnull %3) #3 %11 = load ptr, ptr %3, align 8, !tbaa !9 %12 = load i32, ptr %11, align 4, !tbaa !5 %13 = load i32, ptr @MBOX_COMMAND_COMPLETE, align 4, !tbaa !5 %14 = icmp eq i32 %12, %13 br i1 %14, label %18, label %15 15: ; preds = %2 %16 = load i32, ptr @ISP_LOGWARN, align 4, !tbaa !5 %17 = call i32 @isp_prt(ptr noundef %0, i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %12) #3 br label %18 18: ; preds = %2, %15 %19 = phi i32 [ -1, %15 ], [ 0, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @MBSINIT(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @isp_mboxcmd(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @isp_prt(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !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_4__", !11, i64 0} !11 = !{!"any pointer", !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_send_change_request.c' source_filename = "AnghaBench/freebsd/sys/dev/isp/extr_isp.c_isp_send_change_request.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_4__ = type { ptr } @MBOX_SEND_CHANGE_REQUEST = common local_unnamed_addr global i32 0, align 4 @MBLOGALL = common local_unnamed_addr global i32 0, align 4 @MBOX_COMMAND_COMPLETE = common local_unnamed_addr global i32 0, align 4 @ISP_LOGWARN = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [34 x i8] c"Chan %d Send Change Request: 0x%x\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @isp_send_change_request], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @isp_send_change_request(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca %struct.TYPE_4__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 %4 = load i32, ptr @MBOX_SEND_CHANGE_REQUEST, align 4, !tbaa !6 %5 = load i32, ptr @MBLOGALL, align 4, !tbaa !6 %6 = call i32 @MBSINIT(ptr noundef nonnull %3, i32 noundef %4, i32 noundef %5, i32 noundef 500000) #3 %7 = load ptr, ptr %3, align 8, !tbaa !10 %8 = getelementptr inbounds i8, ptr %7, i64 4 store i32 3, ptr %8, align 4, !tbaa !6 %9 = getelementptr inbounds i8, ptr %7, i64 36 store i32 %1, ptr %9, align 4, !tbaa !6 %10 = call i32 @isp_mboxcmd(ptr noundef %0, ptr noundef nonnull %3) #3 %11 = load ptr, ptr %3, align 8, !tbaa !10 %12 = load i32, ptr %11, align 4, !tbaa !6 %13 = load i32, ptr @MBOX_COMMAND_COMPLETE, align 4, !tbaa !6 %14 = icmp eq i32 %12, %13 br i1 %14, label %18, label %15 15: ; preds = %2 %16 = load i32, ptr @ISP_LOGWARN, align 4, !tbaa !6 %17 = call i32 @isp_prt(ptr noundef %0, i32 noundef %16, ptr noundef nonnull @.str, i32 noundef %1, i32 noundef %12) #3 br label %18 18: ; preds = %2, %15 %19 = phi i32 [ -1, %15 ], [ 0, %2 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %19 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @MBSINIT(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @isp_mboxcmd(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @isp_prt(ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !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_4__", !12, i64 0} !12 = !{!"any pointer", !8, i64 0}
freebsd_sys_dev_isp_extr_isp.c_isp_send_change_request
; ModuleID = 'AnghaBench/8cc/extr_gen.c_emit_builtin_return_address.c' source_filename = "AnghaBench/8cc/extr_gen.c_emit_builtin_return_address.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"r11\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"mov #rbp, #r11\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"test #rax, #rax\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"jz %s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"mov (#r11), #r11\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"sub $1, #rax\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"mov 8(#r11), #rax\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @emit_builtin_return_address], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @emit_builtin_return_address(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @push(ptr noundef nonnull @.str) #2 %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @vec_len(i32 noundef %3) #2 %5 = icmp eq i32 %4, 1 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !5 %9 = tail call i32 @vec_head(i32 noundef %8) #2 %10 = tail call i32 @emit_expr(i32 noundef %9) #2 %11 = tail call ptr (...) @make_label() #2 %12 = tail call ptr (...) @make_label() #2 %13 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.1) #2 %14 = tail call i32 @emit_label(ptr noundef %11) #2 %15 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.2) #2 %16 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.3, ptr noundef %12) #2 %17 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.4) #2 %18 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.5) #2 %19 = tail call i32 @emit_jmp(ptr noundef %11) #2 %20 = tail call i32 @emit_label(ptr noundef %12) #2 %21 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.6) #2 %22 = tail call i32 @pop(ptr noundef nonnull @.str) #2 ret void } declare i32 @push(ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @vec_len(i32 noundef) local_unnamed_addr #1 declare i32 @emit_expr(i32 noundef) local_unnamed_addr #1 declare i32 @vec_head(i32 noundef) local_unnamed_addr #1 declare ptr @make_label(...) local_unnamed_addr #1 declare i32 @emit(ptr noundef, ...) local_unnamed_addr #1 declare i32 @emit_label(ptr noundef) local_unnamed_addr #1 declare i32 @emit_jmp(ptr noundef) local_unnamed_addr #1 declare i32 @pop(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 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/8cc/extr_gen.c_emit_builtin_return_address.c' source_filename = "AnghaBench/8cc/extr_gen.c_emit_builtin_return_address.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"r11\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"mov #rbp, #r11\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"test #rax, #rax\00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"jz %s\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"mov (#r11), #r11\00", align 1 @.str.5 = private unnamed_addr constant [13 x i8] c"sub $1, #rax\00", align 1 @.str.6 = private unnamed_addr constant [18 x i8] c"mov 8(#r11), #rax\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @emit_builtin_return_address], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @emit_builtin_return_address(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @push(ptr noundef nonnull @.str) #2 %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @vec_len(i32 noundef %3) #2 %5 = icmp eq i32 %4, 1 %6 = zext i1 %5 to i32 %7 = tail call i32 @assert(i32 noundef %6) #2 %8 = load i32, ptr %0, align 4, !tbaa !6 %9 = tail call i32 @vec_head(i32 noundef %8) #2 %10 = tail call i32 @emit_expr(i32 noundef %9) #2 %11 = tail call ptr @make_label() #2 %12 = tail call ptr @make_label() #2 %13 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.1) #2 %14 = tail call i32 @emit_label(ptr noundef %11) #2 %15 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.2) #2 %16 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.3, ptr noundef %12) #2 %17 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.4) #2 %18 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.5) #2 %19 = tail call i32 @emit_jmp(ptr noundef %11) #2 %20 = tail call i32 @emit_label(ptr noundef %12) #2 %21 = tail call i32 (ptr, ...) @emit(ptr noundef nonnull @.str.6) #2 %22 = tail call i32 @pop(ptr noundef nonnull @.str) #2 ret void } declare i32 @push(ptr noundef) local_unnamed_addr #1 declare i32 @assert(i32 noundef) local_unnamed_addr #1 declare i32 @vec_len(i32 noundef) local_unnamed_addr #1 declare i32 @emit_expr(i32 noundef) local_unnamed_addr #1 declare i32 @vec_head(i32 noundef) local_unnamed_addr #1 declare ptr @make_label(...) local_unnamed_addr #1 declare i32 @emit(ptr noundef, ...) local_unnamed_addr #1 declare i32 @emit_label(ptr noundef) local_unnamed_addr #1 declare i32 @emit_jmp(ptr noundef) local_unnamed_addr #1 declare i32 @pop(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 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
8cc_extr_gen.c_emit_builtin_return_address
; ModuleID = 'AnghaBench/goaccess/src/extr_websocket.c_strtoupper.c' source_filename = "AnghaBench/goaccess/src/extr_websocket.c_strtoupper.c" target datalayout = "e-m:e-p270:32:32-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 @strtoupper], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef ptr @strtoupper(ptr noundef returned %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !5 %5 = icmp eq i8 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %3, %6 %7 = phi ptr [ %10, %6 ], [ %0, %3 ] %8 = phi i8 [ %11, %6 ], [ %4, %3 ] %9 = tail call signext i8 @toupper(i8 noundef signext %8) #2 store i8 %9, ptr %7, align 1, !tbaa !5 %10 = getelementptr inbounds i8, ptr %7, i64 1 %11 = load i8, ptr %10, align 1, !tbaa !5 %12 = icmp eq i8 %11, 0 br i1 %12, label %13, label %6, !llvm.loop !8 13: ; preds = %6, %1, %3 ret ptr %0 } declare signext i8 @toupper(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 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/goaccess/src/extr_websocket.c_strtoupper.c' source_filename = "AnghaBench/goaccess/src/extr_websocket.c_strtoupper.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 @strtoupper], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef ptr @strtoupper(ptr noundef returned %0) #0 { %2 = icmp eq ptr %0, null br i1 %2, label %13, label %3 3: ; preds = %1 %4 = load i8, ptr %0, align 1, !tbaa !6 %5 = icmp eq i8 %4, 0 br i1 %5, label %13, label %6 6: ; preds = %3, %6 %7 = phi ptr [ %10, %6 ], [ %0, %3 ] %8 = phi i8 [ %11, %6 ], [ %4, %3 ] %9 = tail call signext i8 @toupper(i8 noundef signext %8) #2 store i8 %9, ptr %7, align 1, !tbaa !6 %10 = getelementptr inbounds i8, ptr %7, i64 1 %11 = load i8, ptr %10, align 1, !tbaa !6 %12 = icmp eq i8 %11, 0 br i1 %12, label %13, label %6, !llvm.loop !9 13: ; preds = %6, %1, %3 ret ptr %0 } declare signext i8 @toupper(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 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
goaccess_src_extr_websocket.c_strtoupper
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/edp/extr_edp.xml.h_REG_EDP_PHY_LN_PD_CTL.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/edp/extr_edp.xml.h_REG_EDP_PHY_LN_PD_CTL.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @REG_EDP_PHY_LN_PD_CTL], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @REG_EDP_PHY_LN_PD_CTL(i32 noundef %0) #0 { %2 = shl nsw i32 %0, 6 %3 = add nsw i32 %2, 1028 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/msm/edp/extr_edp.xml.h_REG_EDP_PHY_LN_PD_CTL.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/msm/edp/extr_edp.xml.h_REG_EDP_PHY_LN_PD_CTL.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 @REG_EDP_PHY_LN_PD_CTL], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 -2147482620, -2147483648) i32 @REG_EDP_PHY_LN_PD_CTL(i32 noundef %0) #0 { %2 = shl nsw i32 %0, 6 %3 = add nsw i32 %2, 1028 ret i32 %3 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_gpu_drm_msm_edp_extr_edp.xml.h_REG_EDP_PHY_LN_PD_CTL
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_device_fsm.c_ccw_device_trigger_reprobe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_device_fsm.c_ccw_device_trigger_reprobe.c" target datalayout = "e-m:e-p270:32:32-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.ccw_device = type { ptr, %struct.TYPE_10__ } %struct.TYPE_10__ = type { i32 } %struct.subchannel = type { i32, i32, i32, %struct.TYPE_7__ } %struct.TYPE_7__ = type { %struct.TYPE_6__ } %struct.TYPE_6__ = type { i32, i64 } %struct.TYPE_9__ = type { i64, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i64 } @DEV_STATE_DISCONNECTED = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local void @ccw_device_trigger_reprobe(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr %2, align 8, !tbaa !12 %4 = load i64, ptr @DEV_STATE_DISCONNECTED, align 8, !tbaa !16 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %34 6: ; preds = %1 %7 = getelementptr inbounds %struct.ccw_device, ptr %0, i64 0, i32 1 %8 = load i32, ptr %7, align 8, !tbaa !17 %9 = tail call ptr @to_subchannel(i32 noundef %8) #2 %10 = tail call i64 @cio_update_schib(ptr noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %34 12: ; preds = %6 %13 = getelementptr inbounds %struct.subchannel, ptr %9, i64 0, i32 3 %14 = load i32, ptr %13, align 8, !tbaa !18 %15 = getelementptr inbounds %struct.subchannel, ptr %9, i64 0, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !22 %17 = and i32 %16, %14 store i32 %17, ptr %9, align 8, !tbaa !23 %18 = tail call i32 @io_subchannel_init_config(ptr noundef nonnull %9) #2 %19 = tail call i64 @cio_commit_config(ptr noundef nonnull %9) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %12 %22 = getelementptr inbounds %struct.subchannel, ptr %9, i64 0, i32 3, i32 0, i32 1 %23 = load i64, ptr %22, align 8, !tbaa !24 %24 = load ptr, ptr %0, align 8, !tbaa !5 %25 = getelementptr inbounds %struct.TYPE_9__, ptr %24, i64 0, i32 1 %26 = load i64, ptr %25, align 8, !tbaa !25 %27 = icmp eq i64 %23, %26 br i1 %27, label %32, label %28 28: ; preds = %21 %29 = getelementptr inbounds %struct.subchannel, ptr %9, i64 0, i32 2 %30 = load i32, ptr %29, align 8, !tbaa !26 %31 = tail call i32 @css_schedule_eval(i32 noundef %30) #2 br label %34 32: ; preds = %21 %33 = tail call i32 @ccw_device_start_id(ptr noundef nonnull %0, i32 noundef 0) #2 br label %34 34: ; preds = %28, %32, %12, %6, %1 ret void } declare ptr @to_subchannel(i32 noundef) local_unnamed_addr #1 declare i64 @cio_update_schib(ptr noundef) local_unnamed_addr #1 declare i32 @io_subchannel_init_config(ptr noundef) local_unnamed_addr #1 declare i64 @cio_commit_config(ptr noundef) local_unnamed_addr #1 declare i32 @css_schedule_eval(i32 noundef) local_unnamed_addr #1 declare i32 @ccw_device_start_id(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 = !{!"ccw_device", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"TYPE_10__", !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_9__", !14, i64 0, !15, i64 8} !14 = !{!"long", !8, i64 0} !15 = !{!"TYPE_8__", !14, i64 0} !16 = !{!14, !14, i64 0} !17 = !{!6, !11, i64 8} !18 = !{!19, !11, i64 16} !19 = !{!"subchannel", !11, i64 0, !11, i64 4, !11, i64 8, !20, i64 16} !20 = !{!"TYPE_7__", !21, i64 0} !21 = !{!"TYPE_6__", !11, i64 0, !14, i64 8} !22 = !{!19, !11, i64 4} !23 = !{!19, !11, i64 0} !24 = !{!19, !14, i64 24} !25 = !{!13, !14, i64 8} !26 = !{!19, !11, i64 8}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_device_fsm.c_ccw_device_trigger_reprobe.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/s390/cio/extr_device_fsm.c_ccw_device_trigger_reprobe.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DEV_STATE_DISCONNECTED = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @ccw_device_trigger_reprobe(ptr noundef %0) local_unnamed_addr #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr %2, align 8, !tbaa !13 %4 = load i64, ptr @DEV_STATE_DISCONNECTED, align 8, !tbaa !17 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %34 6: ; preds = %1 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load i32, ptr %7, align 8, !tbaa !18 %9 = tail call ptr @to_subchannel(i32 noundef %8) #2 %10 = tail call i64 @cio_update_schib(ptr noundef %9) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %34 12: ; preds = %6 %13 = getelementptr inbounds i8, ptr %9, i64 16 %14 = load i32, ptr %13, align 8, !tbaa !19 %15 = getelementptr inbounds i8, ptr %9, i64 4 %16 = load i32, ptr %15, align 4, !tbaa !23 %17 = and i32 %16, %14 store i32 %17, ptr %9, align 8, !tbaa !24 %18 = tail call i32 @io_subchannel_init_config(ptr noundef nonnull %9) #2 %19 = tail call i64 @cio_commit_config(ptr noundef nonnull %9) #2 %20 = icmp eq i64 %19, 0 br i1 %20, label %21, label %34 21: ; preds = %12 %22 = getelementptr inbounds i8, ptr %9, i64 24 %23 = load i64, ptr %22, align 8, !tbaa !25 %24 = load ptr, ptr %0, align 8, !tbaa !6 %25 = getelementptr inbounds i8, ptr %24, i64 8 %26 = load i64, ptr %25, align 8, !tbaa !26 %27 = icmp eq i64 %23, %26 br i1 %27, label %32, label %28 28: ; preds = %21 %29 = getelementptr inbounds i8, ptr %9, i64 8 %30 = load i32, ptr %29, align 8, !tbaa !27 %31 = tail call i32 @css_schedule_eval(i32 noundef %30) #2 br label %34 32: ; preds = %21 %33 = tail call i32 @ccw_device_start_id(ptr noundef nonnull %0, i32 noundef 0) #2 br label %34 34: ; preds = %28, %32, %12, %6, %1 ret void } declare ptr @to_subchannel(i32 noundef) local_unnamed_addr #1 declare i64 @cio_update_schib(ptr noundef) local_unnamed_addr #1 declare i32 @io_subchannel_init_config(ptr noundef) local_unnamed_addr #1 declare i64 @cio_commit_config(ptr noundef) local_unnamed_addr #1 declare i32 @css_schedule_eval(i32 noundef) local_unnamed_addr #1 declare i32 @ccw_device_start_id(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 = !{!"ccw_device", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"TYPE_10__", !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_9__", !15, i64 0, !16, i64 8} !15 = !{!"long", !9, i64 0} !16 = !{!"TYPE_8__", !15, i64 0} !17 = !{!15, !15, i64 0} !18 = !{!7, !12, i64 8} !19 = !{!20, !12, i64 16} !20 = !{!"subchannel", !12, i64 0, !12, i64 4, !12, i64 8, !21, i64 16} !21 = !{!"TYPE_7__", !22, i64 0} !22 = !{!"TYPE_6__", !12, i64 0, !15, i64 8} !23 = !{!20, !12, i64 4} !24 = !{!20, !12, i64 0} !25 = !{!20, !15, i64 24} !26 = !{!14, !15, i64 8} !27 = !{!20, !12, i64 8}
fastsocket_kernel_drivers_s390_cio_extr_device_fsm.c_ccw_device_trigger_reprobe
; ModuleID = 'AnghaBench/linux/drivers/ide/extr_ide-atapi.c_ide_read_ireason.c' source_filename = "AnghaBench/linux/drivers/ide/extr_ide-atapi.c_ide_read_ireason.c" target datalayout = "e-m:e-p270:32:32-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.ide_taskfile = type { i32 } @IDE_VALID_NSECT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ide_read_ireason], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @ide_read_ireason(ptr noundef %0) #0 { %2 = alloca %struct.ide_taskfile, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !10 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = load i32, ptr @IDE_VALID_NSECT, align 4, !tbaa !14 %7 = call i32 %5(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef %6) #2 %8 = load i32, ptr %2, align 4, !tbaa !16 %9 = and i32 %8, 3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #2 ret i32 %9 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_7__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_6__", !7, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!17, !15, i64 0} !17 = !{!"ide_taskfile", !15, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/ide/extr_ide-atapi.c_ide_read_ireason.c' source_filename = "AnghaBench/linux/drivers/ide/extr_ide-atapi.c_ide_read_ireason.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.ide_taskfile = type { i32 } @IDE_VALID_NSECT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ide_read_ireason], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 4) i32 @ide_read_ireason(ptr noundef %0) #0 { %2 = alloca %struct.ide_taskfile, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load i32, ptr @IDE_VALID_NSECT, align 4, !tbaa !15 %7 = call i32 %5(ptr noundef nonnull %0, ptr noundef nonnull %2, i32 noundef %6) #2 %8 = load i32, ptr %2, align 4, !tbaa !17 %9 = and i32 %8, 3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #2 ret i32 %9 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !8, i64 0} !12 = !{!"TYPE_7__", !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_6__", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!18, !16, i64 0} !18 = !{!"ide_taskfile", !16, i64 0}
linux_drivers_ide_extr_ide-atapi.c_ide_read_ireason
; ModuleID = 'AnghaBench/RetroArch/input/drivers/extr_qnx_input.c_qnx_input_state.c' source_filename = "AnghaBench/RetroArch/input/drivers/extr_qnx_input.c_qnx_input_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" @RETRO_DEVICE_ID_JOYPAD_MASK = dso_local local_unnamed_addr global i32 0, align 4 @RARCH_FIRST_CUSTOM_BIND = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qnx_input_state], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qnx_input_state(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { switch i32 %4, label %41 [ i32 130, label %8 i32 129, label %35 i32 128, label %37 i32 131, label %37 ] 8: ; preds = %7 %9 = load i32, ptr @RETRO_DEVICE_ID_JOYPAD_MASK, align 4, !tbaa !5 %10 = icmp eq i32 %9, %6 br i1 %10, label %11, label %29 11: ; preds = %8 %12 = load i32, ptr @RARCH_FIRST_CUSTOM_BIND, align 4, !tbaa !5 %13 = icmp eq i32 %12, 0 br i1 %13, label %42, label %14 14: ; preds = %11 %15 = zext i32 %3 to i64 %16 = getelementptr inbounds ptr, ptr %2, i64 %15 br label %17 17: ; preds = %14, %17 %18 = phi i32 [ 0, %14 ], [ %25, %17 ] %19 = phi i32 [ 0, %14 ], [ %26, %17 ] %20 = load ptr, ptr %16, align 8, !tbaa !9 %21 = tail call i32 @qnx_is_pressed(ptr noundef %0, i32 noundef %1, i32 noundef %3, ptr noundef %20, i32 noundef %19) #2 %22 = icmp eq i32 %21, 0 %23 = shl nuw i32 1, %19 %24 = select i1 %22, i32 0, i32 %23 %25 = or i32 %24, %18 %26 = add nuw i32 %19, 1 %27 = load i32, ptr @RARCH_FIRST_CUSTOM_BIND, align 4, !tbaa !5 %28 = icmp ult i32 %26, %27 br i1 %28, label %17, label %42, !llvm.loop !11 29: ; preds = %8 %30 = zext i32 %3 to i64 %31 = getelementptr inbounds ptr, ptr %2, i64 %30 %32 = load ptr, ptr %31, align 8, !tbaa !9 %33 = tail call i32 @qnx_is_pressed(ptr noundef %0, i32 noundef %1, i32 noundef %3, ptr noundef %32, i32 noundef %6) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %41, label %42 35: ; preds = %7 %36 = tail call i32 @qnx_keyboard_pressed(ptr noundef %0, i32 noundef %6) #2 br label %42 37: ; preds = %7, %7 %38 = icmp eq i32 %4, 131 %39 = zext i1 %38 to i32 %40 = tail call i32 @qnx_pointer_input_state(ptr noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef %39) #2 br label %42 41: ; preds = %7, %29 br label %42 42: ; preds = %17, %11, %29, %41, %37, %35 %43 = phi i32 [ 0, %41 ], [ %40, %37 ], [ %36, %35 ], [ 1, %29 ], [ 0, %11 ], [ %25, %17 ] ret i32 %43 } declare i32 @qnx_is_pressed(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qnx_keyboard_pressed(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qnx_pointer_input_state(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/input/drivers/extr_qnx_input.c_qnx_input_state.c' source_filename = "AnghaBench/RetroArch/input/drivers/extr_qnx_input.c_qnx_input_state.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @RETRO_DEVICE_ID_JOYPAD_MASK = common local_unnamed_addr global i32 0, align 4 @RARCH_FIRST_CUSTOM_BIND = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qnx_input_state], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qnx_input_state(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6) #0 { switch i32 %4, label %41 [ i32 130, label %8 i32 129, label %35 i32 128, label %37 i32 131, label %37 ] 8: ; preds = %7 %9 = load i32, ptr @RETRO_DEVICE_ID_JOYPAD_MASK, align 4, !tbaa !6 %10 = icmp eq i32 %9, %6 br i1 %10, label %11, label %29 11: ; preds = %8 %12 = load i32, ptr @RARCH_FIRST_CUSTOM_BIND, align 4, !tbaa !6 %13 = icmp eq i32 %12, 0 br i1 %13, label %42, label %14 14: ; preds = %11 %15 = zext i32 %3 to i64 %16 = getelementptr inbounds ptr, ptr %2, i64 %15 br label %17 17: ; preds = %14, %17 %18 = phi i32 [ 0, %14 ], [ %25, %17 ] %19 = phi i32 [ 0, %14 ], [ %26, %17 ] %20 = load ptr, ptr %16, align 8, !tbaa !10 %21 = tail call i32 @qnx_is_pressed(ptr noundef %0, i32 noundef %1, i32 noundef %3, ptr noundef %20, i32 noundef %19) #2 %22 = icmp eq i32 %21, 0 %23 = shl nuw i32 1, %19 %24 = select i1 %22, i32 0, i32 %23 %25 = or i32 %24, %18 %26 = add nuw i32 %19, 1 %27 = load i32, ptr @RARCH_FIRST_CUSTOM_BIND, align 4, !tbaa !6 %28 = icmp ult i32 %26, %27 br i1 %28, label %17, label %42, !llvm.loop !12 29: ; preds = %8 %30 = zext i32 %3 to i64 %31 = getelementptr inbounds ptr, ptr %2, i64 %30 %32 = load ptr, ptr %31, align 8, !tbaa !10 %33 = tail call i32 @qnx_is_pressed(ptr noundef %0, i32 noundef %1, i32 noundef %3, ptr noundef %32, i32 noundef %6) #2 %34 = icmp eq i32 %33, 0 br i1 %34, label %41, label %42 35: ; preds = %7 %36 = tail call i32 @qnx_keyboard_pressed(ptr noundef %0, i32 noundef %6) #2 br label %42 37: ; preds = %7, %7 %38 = icmp eq i32 %4, 131 %39 = zext i1 %38 to i32 %40 = tail call i32 @qnx_pointer_input_state(ptr noundef %0, i32 noundef %5, i32 noundef %6, i32 noundef %39) #2 br label %42 41: ; preds = %7, %29 br label %42 42: ; preds = %17, %11, %29, %41, %37, %35 %43 = phi i32 [ 0, %41 ], [ %40, %37 ], [ %36, %35 ], [ 1, %29 ], [ 0, %11 ], [ %25, %17 ] ret i32 %43 } declare i32 @qnx_is_pressed(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qnx_keyboard_pressed(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @qnx_pointer_input_state(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
RetroArch_input_drivers_extr_qnx_input.c_qnx_input_state
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_resume_path_from_idx.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_resume_path_from_idx.c" target datalayout = "e-m:e-p270:32:32-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 @resume_path_from_idx], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @resume_path_from_idx(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_hda_get_path_from_idx(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i32, ptr %3, align 4, !tbaa !5 %7 = tail call i32 @snd_hda_activate_path(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %6, i32 noundef 0) #2 br label %8 8: ; preds = %5, %2 ret void } declare ptr @snd_hda_get_path_from_idx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hda_activate_path(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"nid_path", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_resume_path_from_idx.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_hda_generic.c_resume_path_from_idx.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 @resume_path_from_idx], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @resume_path_from_idx(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call ptr @snd_hda_get_path_from_idx(ptr noundef %0, i32 noundef %1) #2 %4 = icmp eq ptr %3, null br i1 %4, label %8, label %5 5: ; preds = %2 %6 = load i32, ptr %3, align 4, !tbaa !6 %7 = tail call i32 @snd_hda_activate_path(ptr noundef %0, ptr noundef nonnull %3, i32 noundef %6, i32 noundef 0) #2 br label %8 8: ; preds = %5, %2 ret void } declare ptr @snd_hda_get_path_from_idx(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @snd_hda_activate_path(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"nid_path", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
linux_sound_pci_hda_extr_hda_generic.c_resume_path_from_idx
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/extr_kallsyms.c_optimize_result.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/extr_kallsyms.c_optimize_result.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @best_table_len = dso_local local_unnamed_addr global ptr null, align 8 @best_table = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @optimize_result], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @optimize_result() #0 { %1 = load ptr, ptr @best_table_len, align 8, !tbaa !5 br label %2 2: ; preds = %0, %22 %3 = phi ptr [ %1, %0 ], [ %23, %22 ] %4 = phi i64 [ 255, %0 ], [ %24, %22 ] %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %2 %9 = tail call i32 (...) @find_best_token() #2 %10 = load ptr, ptr @best_table_len, align 8, !tbaa !5 %11 = getelementptr inbounds i32, ptr %10, i64 %4 store i32 2, ptr %11, align 4, !tbaa !9 %12 = and i32 %9, 255 %13 = load ptr, ptr @best_table, align 8, !tbaa !5 %14 = getelementptr inbounds ptr, ptr %13, i64 %4 %15 = load ptr, ptr %14, align 8, !tbaa !5 store i32 %12, ptr %15, align 4, !tbaa !9 %16 = lshr i32 %9, 8 %17 = and i32 %16, 255 %18 = getelementptr inbounds i32, ptr %15, i64 1 store i32 %17, ptr %18, align 4, !tbaa !9 %19 = trunc i64 %4 to i32 %20 = tail call i32 @compress_symbols(ptr noundef nonnull %15, i32 noundef %19) #2 %21 = load ptr, ptr @best_table_len, align 8, !tbaa !5 br label %22 22: ; preds = %2, %8 %23 = phi ptr [ %3, %2 ], [ %21, %8 ] %24 = add nsw i64 %4, -1 %25 = icmp eq i64 %4, 0 br i1 %25, label %26, label %2, !llvm.loop !11 26: ; preds = %22 ret void } declare i32 @find_best_token(...) local_unnamed_addr #1 declare i32 @compress_symbols(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 = !{!"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 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/fastsocket/kernel/scripts/extr_kallsyms.c_optimize_result.c' source_filename = "AnghaBench/fastsocket/kernel/scripts/extr_kallsyms.c_optimize_result.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @best_table_len = common local_unnamed_addr global ptr null, align 8 @best_table = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @optimize_result], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @optimize_result() #0 { %1 = load ptr, ptr @best_table_len, align 8, !tbaa !6 br label %2 2: ; preds = %0, %22 %3 = phi ptr [ %1, %0 ], [ %23, %22 ] %4 = phi i64 [ 255, %0 ], [ %24, %22 ] %5 = getelementptr inbounds i32, ptr %3, i64 %4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %22 8: ; preds = %2 %9 = tail call i32 @find_best_token() #2 %10 = load ptr, ptr @best_table_len, align 8, !tbaa !6 %11 = getelementptr inbounds i32, ptr %10, i64 %4 store i32 2, ptr %11, align 4, !tbaa !10 %12 = and i32 %9, 255 %13 = load ptr, ptr @best_table, align 8, !tbaa !6 %14 = getelementptr inbounds ptr, ptr %13, i64 %4 %15 = load ptr, ptr %14, align 8, !tbaa !6 store i32 %12, ptr %15, align 4, !tbaa !10 %16 = lshr i32 %9, 8 %17 = and i32 %16, 255 %18 = getelementptr inbounds i8, ptr %15, i64 4 store i32 %17, ptr %18, align 4, !tbaa !10 %19 = trunc nuw nsw i64 %4 to i32 %20 = tail call i32 @compress_symbols(ptr noundef nonnull %15, i32 noundef %19) #2 %21 = load ptr, ptr @best_table_len, align 8, !tbaa !6 br label %22 22: ; preds = %2, %8 %23 = phi ptr [ %3, %2 ], [ %21, %8 ] %24 = add nsw i64 %4, -1 %25 = icmp eq i64 %4, 0 br i1 %25, label %26, label %2, !llvm.loop !12 26: ; preds = %22 ret void } declare i32 @find_best_token(...) local_unnamed_addr #1 declare i32 @compress_symbols(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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
fastsocket_kernel_scripts_extr_kallsyms.c_optimize_result
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_item_destroy.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_item_destroy.c" target datalayout = "e-m:e-p270:32:32-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 @obs_data_item_destroy], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @obs_data_item_destroy(ptr noundef %0) #0 { %2 = tail call i32 @item_data_release(ptr noundef %0) #2 %3 = tail call i32 @item_default_data_release(ptr noundef %0) #2 %4 = tail call i32 @item_autoselect_data_release(ptr noundef %0) #2 %5 = tail call i32 @obs_data_item_detach(ptr noundef %0) #2 %6 = tail call i32 @bfree(ptr noundef %0) #2 ret void } declare i32 @item_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @item_default_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @item_autoselect_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @obs_data_item_detach(ptr noundef) local_unnamed_addr #1 declare i32 @bfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_item_destroy.c' source_filename = "AnghaBench/obs-studio/libobs/extr_obs-data.c_obs_data_item_destroy.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 @obs_data_item_destroy], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @obs_data_item_destroy(ptr noundef %0) #0 { %2 = tail call i32 @item_data_release(ptr noundef %0) #2 %3 = tail call i32 @item_default_data_release(ptr noundef %0) #2 %4 = tail call i32 @item_autoselect_data_release(ptr noundef %0) #2 %5 = tail call i32 @obs_data_item_detach(ptr noundef %0) #2 %6 = tail call i32 @bfree(ptr noundef %0) #2 ret void } declare i32 @item_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @item_default_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @item_autoselect_data_release(ptr noundef) local_unnamed_addr #1 declare i32 @obs_data_item_detach(ptr noundef) local_unnamed_addr #1 declare i32 @bfree(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)"}
obs-studio_libobs_extr_obs-data.c_obs_data_item_destroy
; ModuleID = 'AnghaBench/http-parser/extr_test.c_parse_pause.c' source_filename = "AnghaBench/http-parser/extr_test.c_parse_pause.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @settings_pause = dso_local local_unnamed_addr global i32 0, align 4 @currently_parsing_eof = dso_local local_unnamed_addr global i32 0, align 4 @current_pause_parser = dso_local local_unnamed_addr global ptr null, align 8 @parser = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i64 @parse_pause(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @settings_pause, align 4, !tbaa !5 store i32 %4, ptr %3, align 4, !tbaa !5 %5 = icmp eq i64 %1, 0 %6 = zext i1 %5 to i32 store i32 %6, ptr @currently_parsing_eof, align 4, !tbaa !5 store ptr %3, ptr @current_pause_parser, align 8, !tbaa !9 %7 = call i64 @http_parser_execute(ptr noundef nonnull @parser, ptr noundef nonnull %3, ptr noundef %0, i64 noundef %1) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i64 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @http_parser_execute(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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/http-parser/extr_test.c_parse_pause.c' source_filename = "AnghaBench/http-parser/extr_test.c_parse_pause.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @settings_pause = common local_unnamed_addr global i32 0, align 4 @currently_parsing_eof = common local_unnamed_addr global i32 0, align 4 @current_pause_parser = common local_unnamed_addr global ptr null, align 8 @parser = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @parse_pause(ptr noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = load i32, ptr @settings_pause, align 4, !tbaa !6 store i32 %4, ptr %3, align 4, !tbaa !6 %5 = icmp eq i64 %1, 0 %6 = zext i1 %5 to i32 store i32 %6, ptr @currently_parsing_eof, align 4, !tbaa !6 store ptr %3, ptr @current_pause_parser, align 8, !tbaa !10 %7 = call i64 @http_parser_execute(ptr noundef nonnull @parser, ptr noundef nonnull %3, ptr noundef %0, i64 noundef %1) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret i64 %7 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @http_parser_execute(ptr noundef, ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"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}
http-parser_extr_test.c_parse_pause
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_gpio_micmute_update.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_gpio_micmute_update.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.alc_spec = type { %struct.TYPE_4__, i32 } %struct.TYPE_4__ = type { %struct.TYPE_3__ } %struct.TYPE_3__ = type { i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @alc_gpio_micmute_update], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @alc_gpio_micmute_update(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = getelementptr inbounds %struct.alc_spec, ptr %2, i64 0, i32 1 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = load i32, ptr %2, align 4, !tbaa !15 %6 = tail call i32 @alc_update_gpio_led(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @alc_update_gpio_led(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"hda_codec", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !14, i64 4} !11 = !{!"alc_spec", !12, i64 0, !14, i64 4} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_3__", !14, i64 0} !14 = !{!"int", !8, i64 0} !15 = !{!11, !14, i64 0}
; ModuleID = 'AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_gpio_micmute_update.c' source_filename = "AnghaBench/linux/sound/pci/hda/extr_patch_realtek.c_alc_gpio_micmute_update.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 @alc_gpio_micmute_update], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @alc_gpio_micmute_update(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = getelementptr inbounds i8, ptr %2, i64 4 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load i32, ptr %2, align 4, !tbaa !16 %6 = tail call i32 @alc_update_gpio_led(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %5) #2 ret void } declare i32 @alc_update_gpio_led(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"hda_codec", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !15, i64 4} !12 = !{!"alc_spec", !13, i64 0, !15, i64 4} !13 = !{!"TYPE_4__", !14, i64 0} !14 = !{!"TYPE_3__", !15, i64 0} !15 = !{!"int", !9, i64 0} !16 = !{!12, !15, i64 0}
linux_sound_pci_hda_extr_patch_realtek.c_alc_gpio_micmute_update
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_int_aeu_translate.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_int_aeu_translate.c" target datalayout = "e-m:e-p270:32:32-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.aeu_invert_reg_bit = type { i32 } @ATTENTION_BB_DIFFERENT = dso_local local_unnamed_addr global i32 0, align 4 @aeu_descs_special = dso_local local_unnamed_addr global ptr null, align 8 @ATTENTION_BB_MASK = dso_local local_unnamed_addr global i64 0, align 8 @ATTENTION_BB_SHIFT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @ecore_int_aeu_translate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @ecore_int_aeu_translate(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @ECORE_IS_BB(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %19, label %6 6: ; preds = %2 %7 = load i32, ptr %1, align 4, !tbaa !10 %8 = load i32, ptr @ATTENTION_BB_DIFFERENT, align 4, !tbaa !12 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %19, label %11 11: ; preds = %6 %12 = load ptr, ptr @aeu_descs_special, align 8, !tbaa !13 %13 = sext i32 %7 to i64 %14 = load i64, ptr @ATTENTION_BB_MASK, align 8, !tbaa !15 %15 = and i64 %14, %13 %16 = load i64, ptr @ATTENTION_BB_SHIFT, align 8, !tbaa !15 %17 = lshr i64 %15, %16 %18 = getelementptr inbounds %struct.aeu_invert_reg_bit, ptr %12, i64 %17 br label %19 19: ; preds = %6, %2, %11 %20 = phi ptr [ %18, %11 ], [ %1, %2 ], [ %1, %6 ] ret ptr %20 } declare i32 @ECORE_IS_BB(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 = !{!"ecore_hwfn", !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 = !{!"aeu_invert_reg_bit", !7, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_int_aeu_translate.c' source_filename = "AnghaBench/freebsd/sys/dev/qlnx/qlnxe/extr_ecore_int.c_ecore_int_aeu_translate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.aeu_invert_reg_bit = type { i32 } @ATTENTION_BB_DIFFERENT = common local_unnamed_addr global i32 0, align 4 @aeu_descs_special = common local_unnamed_addr global ptr null, align 8 @ATTENTION_BB_MASK = common local_unnamed_addr global i64 0, align 8 @ATTENTION_BB_SHIFT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @ecore_int_aeu_translate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @ecore_int_aeu_translate(ptr nocapture noundef readonly %0, ptr noundef readonly %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @ECORE_IS_BB(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %19, label %6 6: ; preds = %2 %7 = load i32, ptr %1, align 4, !tbaa !11 %8 = load i32, ptr @ATTENTION_BB_DIFFERENT, align 4, !tbaa !13 %9 = and i32 %8, %7 %10 = icmp eq i32 %9, 0 br i1 %10, label %19, label %11 11: ; preds = %6 %12 = load ptr, ptr @aeu_descs_special, align 8, !tbaa !14 %13 = sext i32 %7 to i64 %14 = load i64, ptr @ATTENTION_BB_MASK, align 8, !tbaa !16 %15 = and i64 %14, %13 %16 = load i64, ptr @ATTENTION_BB_SHIFT, align 8, !tbaa !16 %17 = lshr i64 %15, %16 %18 = getelementptr inbounds %struct.aeu_invert_reg_bit, ptr %12, i64 %17 br label %19 19: ; preds = %6, %2, %11 %20 = phi ptr [ %18, %11 ], [ %1, %2 ], [ %1, %6 ] ret ptr %20 } declare i32 @ECORE_IS_BB(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 = !{!"ecore_hwfn", !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 = !{!"aeu_invert_reg_bit", !8, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"any pointer", !9, i64 0} !16 = !{!17, !17, i64 0} !17 = !{!"long", !9, i64 0}
freebsd_sys_dev_qlnx_qlnxe_extr_ecore_int.c_ecore_int_aeu_translate
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_SynchroShiftConfig.c' source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_SynchroShiftConfig.c" target datalayout = "e-m:e-p270:32:32-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, i64 } @ERROR = dso_local local_unnamed_addr global i64 0, align 8 @RTC = dso_local local_unnamed_addr global ptr null, align 8 @RTC_ISR_SHPF = dso_local local_unnamed_addr global i32 0, align 4 @RESET = dso_local local_unnamed_addr global i32 0, align 4 @SHPF_TIMEOUT = dso_local local_unnamed_addr global i64 0, align 8 @RTC_CR_REFCKON = dso_local local_unnamed_addr global i32 0, align 4 @SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i64 @RTC_SynchroShiftConfig(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @IS_RTC_SHIFT_ADD1S(i64 noundef %0) #2 %4 = tail call i32 @assert_param(i32 noundef %3) #2 %5 = tail call i32 @IS_RTC_SHIFT_SUBFS(i64 noundef %1) #2 %6 = tail call i32 @assert_param(i32 noundef %5) #2 %7 = load ptr, ptr @RTC, align 8, !tbaa !5 store i32 83, ptr %7, align 8, !tbaa !9 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = load i32, ptr @RTC_ISR_SHPF, align 4, !tbaa !14 %11 = and i32 %10, %9 %12 = load i32, ptr @RESET, align 4, !tbaa !14 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %31 14: ; preds = %2 %15 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 2 %16 = load i32, ptr %15, align 8, !tbaa !15 %17 = load i32, ptr @RTC_CR_REFCKON, align 4, !tbaa !14 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, %12 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = or i64 %1, %0 %22 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i64 0, i32 3 store i64 %21, ptr %22, align 8, !tbaa !16 %23 = tail call i64 (...) @RTC_WaitForSynchro() #2 %24 = load i64, ptr @ERROR, align 8, !tbaa !17 %25 = icmp eq i64 %23, %24 %26 = load i64, ptr @SUCCESS, align 8 %27 = select i1 %25, i64 %24, i64 %26 %28 = load ptr, ptr @RTC, align 8, !tbaa !5 br label %33 29: ; preds = %14 %30 = load i64, ptr @ERROR, align 8, !tbaa !17 br label %33 31: ; preds = %2 %32 = load i64, ptr @ERROR, align 8, !tbaa !17 br label %33 33: ; preds = %20, %29, %31 %34 = phi ptr [ %7, %29 ], [ %7, %31 ], [ %28, %20 ] %35 = phi i64 [ %30, %29 ], [ %32, %31 ], [ %27, %20 ] store i32 255, ptr %34, align 8, !tbaa !9 ret i64 %35 } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_RTC_SHIFT_ADD1S(i64 noundef) local_unnamed_addr #1 declare i32 @IS_RTC_SHIFT_SUBFS(i64 noundef) local_unnamed_addr #1 declare i64 @RTC_WaitForSynchro(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, !12, i64 16} !11 = !{!"int", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!10, !11, i64 4} !14 = !{!11, !11, i64 0} !15 = !{!10, !11, i64 8} !16 = !{!10, !12, i64 16} !17 = !{!12, !12, i64 0}
; ModuleID = 'AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_SynchroShiftConfig.c' source_filename = "AnghaBench/anypixel/firmware/controller/ThirdParty/SPL/src/extr_stm32f4xx_rtc.c_RTC_SynchroShiftConfig.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ERROR = common local_unnamed_addr global i64 0, align 8 @RTC = common local_unnamed_addr global ptr null, align 8 @RTC_ISR_SHPF = common local_unnamed_addr global i32 0, align 4 @RESET = common local_unnamed_addr global i32 0, align 4 @SHPF_TIMEOUT = common local_unnamed_addr global i64 0, align 8 @RTC_CR_REFCKON = common local_unnamed_addr global i32 0, align 4 @SUCCESS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i64 @RTC_SynchroShiftConfig(i64 noundef %0, i64 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @IS_RTC_SHIFT_ADD1S(i64 noundef %0) #2 %4 = tail call i32 @assert_param(i32 noundef %3) #2 %5 = tail call i32 @IS_RTC_SHIFT_SUBFS(i64 noundef %1) #2 %6 = tail call i32 @assert_param(i32 noundef %5) #2 %7 = load ptr, ptr @RTC, align 8, !tbaa !6 store i32 83, ptr %7, align 8, !tbaa !10 %8 = getelementptr inbounds i8, ptr %7, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !14 %10 = load i32, ptr @RTC_ISR_SHPF, align 4, !tbaa !15 %11 = and i32 %10, %9 %12 = load i32, ptr @RESET, align 4, !tbaa !15 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %31 14: ; preds = %2 %15 = getelementptr inbounds i8, ptr %7, i64 8 %16 = load i32, ptr %15, align 8, !tbaa !16 %17 = load i32, ptr @RTC_CR_REFCKON, align 4, !tbaa !15 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, %12 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = or i64 %1, %0 %22 = getelementptr inbounds i8, ptr %7, i64 16 store i64 %21, ptr %22, align 8, !tbaa !17 %23 = tail call i64 @RTC_WaitForSynchro() #2 %24 = load i64, ptr @ERROR, align 8, !tbaa !18 %25 = icmp eq i64 %23, %24 %26 = load i64, ptr @SUCCESS, align 8 %27 = select i1 %25, i64 %24, i64 %26 %28 = load ptr, ptr @RTC, align 8, !tbaa !6 br label %33 29: ; preds = %14 %30 = load i64, ptr @ERROR, align 8, !tbaa !18 br label %33 31: ; preds = %2 %32 = load i64, ptr @ERROR, align 8, !tbaa !18 br label %33 33: ; preds = %20, %29, %31 %34 = phi ptr [ %7, %29 ], [ %7, %31 ], [ %28, %20 ] %35 = phi i64 [ %30, %29 ], [ %32, %31 ], [ %27, %20 ] store i32 255, ptr %34, align 8, !tbaa !10 ret i64 %35 } declare i32 @assert_param(i32 noundef) local_unnamed_addr #1 declare i32 @IS_RTC_SHIFT_ADD1S(i64 noundef) local_unnamed_addr #1 declare i32 @IS_RTC_SHIFT_SUBFS(i64 noundef) local_unnamed_addr #1 declare i64 @RTC_WaitForSynchro(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, !13, i64 16} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 4} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 8} !17 = !{!11, !13, i64 16} !18 = !{!13, !13, i64 0}
anypixel_firmware_controller_ThirdParty_SPL_src_extr_stm32f4xx_rtc.c_RTC_SynchroShiftConfig
; ModuleID = 'AnghaBench/linux/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_pro_rate.c' source_filename = "AnghaBench/linux/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_pro_rate.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.snd_ice1712 = type { i32, i32, %struct.TYPE_9__, ptr, %struct.TYPE_6__, i32 } %struct.TYPE_9__ = type { %struct.TYPE_8__ } %struct.TYPE_8__ = type { ptr } %struct.TYPE_6__ = type { ptr } %struct.TYPE_10__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { ptr } @PLAYBACK_CONTROL = dso_local local_unnamed_addr global i32 0, align 4 @ICE1712_CAPTURE_START_SHADOW = dso_local local_unnamed_addr global i32 0, align 4 @ICE1712_PLAYBACK_PAUSE = dso_local local_unnamed_addr global i32 0, align 4 @ICE1712_PLAYBACK_START = dso_local local_unnamed_addr global i32 0, align 4 @RATE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_ice1712_set_pro_rate], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @snd_ice1712_set_pro_rate(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { switch i32 %1, label %16 [ i32 8000, label %18 i32 9600, label %4 i32 11025, label %5 i32 12000, label %6 i32 16000, label %7 i32 22050, label %8 i32 24000, label %9 i32 32000, label %10 i32 44100, label %11 i32 48000, label %12 i32 64000, label %13 i32 88200, label %14 i32 96000, label %15 ] 4: ; preds = %3 br label %18 5: ; preds = %3 br label %18 6: ; preds = %3 br label %18 7: ; preds = %3 br label %18 8: ; preds = %3 br label %18 9: ; preds = %3 br label %18 10: ; preds = %3 br label %18 11: ; preds = %3 br label %18 12: ; preds = %3 br label %18 13: ; preds = %3 br label %18 14: ; preds = %3 br label %18 15: ; preds = %3 br label %18 16: ; preds = %3 %17 = tail call i32 (...) @snd_BUG() #2 br label %18 18: ; preds = %3, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4 %19 = phi i8 [ 0, %16 ], [ 7, %15 ], [ 11, %14 ], [ 15, %13 ], [ 0, %12 ], [ 8, %11 ], [ 4, %10 ], [ 1, %9 ], [ 9, %8 ], [ 5, %7 ], [ 2, %6 ], [ 10, %5 ], [ 3, %4 ], [ 6, %3 ] %20 = phi i32 [ 48000, %16 ], [ %1, %15 ], [ %1, %14 ], [ %1, %13 ], [ %1, %12 ], [ %1, %11 ], [ %1, %10 ], [ %1, %9 ], [ %1, %8 ], [ %1, %7 ], [ %1, %6 ], [ %1, %5 ], [ %1, %4 ], [ %1, %3 ] %21 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 5 %22 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %21, i64 noundef undef) #2 %23 = load i32, ptr @PLAYBACK_CONTROL, align 4, !tbaa !5 %24 = tail call i32 @ICEMT(ptr noundef %0, i32 noundef %23) #2 %25 = tail call i32 @inb(i32 noundef %24) #2 %26 = load i32, ptr @ICE1712_CAPTURE_START_SHADOW, align 4, !tbaa !5 %27 = load i32, ptr @ICE1712_PLAYBACK_PAUSE, align 4, !tbaa !5 %28 = or i32 %27, %26 %29 = load i32, ptr @ICE1712_PLAYBACK_START, align 4, !tbaa !5 %30 = or i32 %28, %29 %31 = and i32 %30, %25 %32 = icmp eq i32 %31, 0 br i1 %32, label %35, label %33 33: ; preds = %40, %37, %18 %34 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 br label %84 35: ; preds = %18 %36 = icmp eq i32 %2, 0 br i1 %36, label %37, label %40 37: ; preds = %35 %38 = tail call i64 @is_pro_rate_locked(ptr noundef %0) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %33 40: ; preds = %37, %35 %41 = load i32, ptr @RATE, align 4, !tbaa !5 %42 = tail call i32 @ICEMT(ptr noundef %0, i32 noundef %41) #2 %43 = tail call i32 @inb(i32 noundef %42) #2 %44 = trunc i32 %43 to i8 %45 = icmp eq i8 %19, %44 %46 = select i1 %36, i1 %45, i1 false br i1 %46, label %33, label %47 47: ; preds = %40 store i32 %20, ptr %0, align 8, !tbaa !9 %48 = load i32, ptr @RATE, align 4, !tbaa !5 %49 = tail call i32 @ICEMT(ptr noundef nonnull %0, i32 noundef %48) #2 %50 = tail call i32 @outb(i8 noundef zeroext %19, i32 noundef %49) #2 %51 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 %52 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 4 %53 = load ptr, ptr %52, align 8, !tbaa !15 %54 = icmp eq ptr %53, null br i1 %54, label %57, label %55 55: ; preds = %47 %56 = tail call i32 %53(ptr noundef nonnull %0, i32 noundef %20) #2 br label %57 57: ; preds = %55, %47 %58 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 1 %59 = load i32, ptr %58, align 4, !tbaa !16 %60 = icmp eq i32 %59, 0 br i1 %60, label %78, label %61 61: ; preds = %57 %62 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 3 br label %63 63: ; preds = %61, %73 %64 = phi i32 [ %59, %61 ], [ %74, %73 ] %65 = phi i64 [ 0, %61 ], [ %75, %73 ] %66 = load ptr, ptr %62, align 8, !tbaa !17 %67 = getelementptr inbounds %struct.TYPE_10__, ptr %66, i64 %65 %68 = load ptr, ptr %67, align 8, !tbaa !18 %69 = icmp eq ptr %68, null br i1 %69, label %73, label %70 70: ; preds = %63 %71 = tail call i32 %68(ptr noundef nonnull %67, i32 noundef %20) #2 %72 = load i32, ptr %58, align 4, !tbaa !16 br label %73 73: ; preds = %63, %70 %74 = phi i32 [ %64, %63 ], [ %72, %70 ] %75 = add nuw nsw i64 %65, 1 %76 = zext i32 %74 to i64 %77 = icmp ult i64 %75, %76 br i1 %77, label %63, label %78, !llvm.loop !21 78: ; preds = %73, %57 %79 = getelementptr inbounds %struct.snd_ice1712, ptr %0, i64 0, i32 2 %80 = load ptr, ptr %79, align 8, !tbaa !23 %81 = icmp eq ptr %80, null br i1 %81, label %84, label %82 82: ; preds = %78 %83 = tail call i32 %80(ptr noundef nonnull %0, i32 noundef %20) #2 br label %84 84: ; preds = %78, %82, %33 ret void } declare i32 @snd_BUG(...) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @ICEMT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @is_pro_rate_locked(ptr noundef) local_unnamed_addr #1 declare i32 @outb(i8 noundef zeroext, 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 = !{!"snd_ice1712", !6, i64 0, !6, i64 4, !11, i64 8, !13, i64 16, !14, i64 24, !6, i64 32} !11 = !{!"TYPE_9__", !12, i64 0} !12 = !{!"TYPE_8__", !13, i64 0} !13 = !{!"any pointer", !7, i64 0} !14 = !{!"TYPE_6__", !13, i64 0} !15 = !{!10, !13, i64 24} !16 = !{!10, !6, i64 4} !17 = !{!10, !13, i64 16} !18 = !{!19, !13, i64 0} !19 = !{!"TYPE_10__", !20, i64 0} !20 = !{!"TYPE_7__", !13, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!10, !13, i64 8}
; ModuleID = 'AnghaBench/linux/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_pro_rate.c' source_filename = "AnghaBench/linux/sound/pci/ice1712/extr_ice1712.c_snd_ice1712_set_pro_rate.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_10__ = type { %struct.TYPE_7__ } %struct.TYPE_7__ = type { ptr } @PLAYBACK_CONTROL = common local_unnamed_addr global i32 0, align 4 @ICE1712_CAPTURE_START_SHADOW = common local_unnamed_addr global i32 0, align 4 @ICE1712_PLAYBACK_PAUSE = common local_unnamed_addr global i32 0, align 4 @ICE1712_PLAYBACK_START = common local_unnamed_addr global i32 0, align 4 @RATE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @snd_ice1712_set_pro_rate], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @snd_ice1712_set_pro_rate(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { switch i32 %1, label %16 [ i32 8000, label %18 i32 9600, label %4 i32 11025, label %5 i32 12000, label %6 i32 16000, label %7 i32 22050, label %8 i32 24000, label %9 i32 32000, label %10 i32 44100, label %11 i32 48000, label %12 i32 64000, label %13 i32 88200, label %14 i32 96000, label %15 ] 4: ; preds = %3 br label %18 5: ; preds = %3 br label %18 6: ; preds = %3 br label %18 7: ; preds = %3 br label %18 8: ; preds = %3 br label %18 9: ; preds = %3 br label %18 10: ; preds = %3 br label %18 11: ; preds = %3 br label %18 12: ; preds = %3 br label %18 13: ; preds = %3 br label %18 14: ; preds = %3 br label %18 15: ; preds = %3 br label %18 16: ; preds = %3 %17 = tail call i32 @snd_BUG() #2 br label %18 18: ; preds = %3, %16, %15, %14, %13, %12, %11, %10, %9, %8, %7, %6, %5, %4 %19 = phi i8 [ 0, %16 ], [ 7, %15 ], [ 11, %14 ], [ 15, %13 ], [ 0, %12 ], [ 8, %11 ], [ 4, %10 ], [ 1, %9 ], [ 9, %8 ], [ 5, %7 ], [ 2, %6 ], [ 10, %5 ], [ 3, %4 ], [ 6, %3 ] %20 = phi i32 [ 48000, %16 ], [ %1, %15 ], [ %1, %14 ], [ %1, %13 ], [ %1, %12 ], [ %1, %11 ], [ %1, %10 ], [ %1, %9 ], [ %1, %8 ], [ %1, %7 ], [ %1, %6 ], [ %1, %5 ], [ %1, %4 ], [ %1, %3 ] %21 = getelementptr inbounds i8, ptr %0, i64 32 %22 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %21, i64 noundef undef) #2 %23 = load i32, ptr @PLAYBACK_CONTROL, align 4, !tbaa !6 %24 = tail call i32 @ICEMT(ptr noundef %0, i32 noundef %23) #2 %25 = tail call i32 @inb(i32 noundef %24) #2 %26 = load i32, ptr @ICE1712_CAPTURE_START_SHADOW, align 4, !tbaa !6 %27 = load i32, ptr @ICE1712_PLAYBACK_PAUSE, align 4, !tbaa !6 %28 = or i32 %27, %26 %29 = load i32, ptr @ICE1712_PLAYBACK_START, align 4, !tbaa !6 %30 = or i32 %28, %29 %31 = and i32 %30, %25 %32 = icmp eq i32 %31, 0 br i1 %32, label %35, label %33 33: ; preds = %40, %37, %18 %34 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 br label %84 35: ; preds = %18 %36 = icmp eq i32 %2, 0 br i1 %36, label %37, label %40 37: ; preds = %35 %38 = tail call i64 @is_pro_rate_locked(ptr noundef %0) #2 %39 = icmp eq i64 %38, 0 br i1 %39, label %40, label %33 40: ; preds = %37, %35 %41 = load i32, ptr @RATE, align 4, !tbaa !6 %42 = tail call i32 @ICEMT(ptr noundef %0, i32 noundef %41) #2 %43 = tail call i32 @inb(i32 noundef %42) #2 %44 = trunc i32 %43 to i8 %45 = icmp eq i8 %19, %44 %46 = select i1 %36, i1 %45, i1 false br i1 %46, label %33, label %47 47: ; preds = %40 store i32 %20, ptr %0, align 8, !tbaa !10 %48 = load i32, ptr @RATE, align 4, !tbaa !6 %49 = tail call i32 @ICEMT(ptr noundef nonnull %0, i32 noundef %48) #2 %50 = tail call i32 @outb(i8 noundef zeroext %19, i32 noundef %49) #2 %51 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %21, i64 noundef undef) #2 %52 = getelementptr inbounds i8, ptr %0, i64 24 %53 = load ptr, ptr %52, align 8, !tbaa !16 %54 = icmp eq ptr %53, null br i1 %54, label %57, label %55 55: ; preds = %47 %56 = tail call i32 %53(ptr noundef nonnull %0, i32 noundef %20) #2 br label %57 57: ; preds = %55, %47 %58 = getelementptr inbounds i8, ptr %0, i64 4 %59 = load i32, ptr %58, align 4, !tbaa !17 %60 = icmp eq i32 %59, 0 br i1 %60, label %78, label %61 61: ; preds = %57 %62 = getelementptr inbounds i8, ptr %0, i64 16 br label %63 63: ; preds = %61, %73 %64 = phi i32 [ %59, %61 ], [ %74, %73 ] %65 = phi i64 [ 0, %61 ], [ %75, %73 ] %66 = load ptr, ptr %62, align 8, !tbaa !18 %67 = getelementptr inbounds %struct.TYPE_10__, ptr %66, i64 %65 %68 = load ptr, ptr %67, align 8, !tbaa !19 %69 = icmp eq ptr %68, null br i1 %69, label %73, label %70 70: ; preds = %63 %71 = tail call i32 %68(ptr noundef nonnull %67, i32 noundef %20) #2 %72 = load i32, ptr %58, align 4, !tbaa !17 br label %73 73: ; preds = %63, %70 %74 = phi i32 [ %64, %63 ], [ %72, %70 ] %75 = add nuw nsw i64 %65, 1 %76 = zext i32 %74 to i64 %77 = icmp ult i64 %75, %76 br i1 %77, label %63, label %78, !llvm.loop !22 78: ; preds = %73, %57 %79 = getelementptr inbounds i8, ptr %0, i64 8 %80 = load ptr, ptr %79, align 8, !tbaa !24 %81 = icmp eq ptr %80, null br i1 %81, label %84, label %82 82: ; preds = %78 %83 = tail call i32 %80(ptr noundef nonnull %0, i32 noundef %20) #2 br label %84 84: ; preds = %78, %82, %33 ret void } declare i32 @snd_BUG(...) local_unnamed_addr #1 declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @inb(i32 noundef) local_unnamed_addr #1 declare i32 @ICEMT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i64 @is_pro_rate_locked(ptr noundef) local_unnamed_addr #1 declare i32 @outb(i8 noundef zeroext, 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 = !{!"snd_ice1712", !7, i64 0, !7, i64 4, !12, i64 8, !14, i64 16, !15, i64 24, !7, i64 32} !12 = !{!"TYPE_9__", !13, i64 0} !13 = !{!"TYPE_8__", !14, i64 0} !14 = !{!"any pointer", !8, i64 0} !15 = !{!"TYPE_6__", !14, i64 0} !16 = !{!11, !14, i64 24} !17 = !{!11, !7, i64 4} !18 = !{!11, !14, i64 16} !19 = !{!20, !14, i64 0} !20 = !{!"TYPE_10__", !21, i64 0} !21 = !{!"TYPE_7__", !14, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"} !24 = !{!11, !14, i64 8}
linux_sound_pci_ice1712_extr_ice1712.c_snd_ice1712_set_pro_rate
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/tests/extr_isctest.c_cleanup_managers.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/tests/extr_isctest.c_cleanup_managers.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @socketmgr = dso_local global ptr null, align 8 @taskmgr = dso_local global ptr null, align 8 @timermgr = dso_local global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @cleanup_managers], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @cleanup_managers() #0 { %1 = load ptr, ptr @socketmgr, align 8, !tbaa !5 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @isc_socketmgr_destroy(ptr noundef nonnull @socketmgr) #2 br label %5 5: ; preds = %3, %0 %6 = load ptr, ptr @taskmgr, align 8, !tbaa !5 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @isc_taskmgr_destroy(ptr noundef nonnull @taskmgr) #2 br label %10 10: ; preds = %8, %5 %11 = load ptr, ptr @timermgr, align 8, !tbaa !5 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10 %14 = tail call i32 @isc_timermgr_destroy(ptr noundef nonnull @timermgr) #2 br label %15 15: ; preds = %13, %10 ret void } declare i32 @isc_socketmgr_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @isc_taskmgr_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @isc_timermgr_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/lib/isc/tests/extr_isctest.c_cleanup_managers.c' source_filename = "AnghaBench/freebsd/contrib/ntp/lib/isc/tests/extr_isctest.c_cleanup_managers.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @socketmgr = common global ptr null, align 8 @taskmgr = common global ptr null, align 8 @timermgr = common global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @cleanup_managers], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @cleanup_managers() #0 { %1 = load ptr, ptr @socketmgr, align 8, !tbaa !6 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @isc_socketmgr_destroy(ptr noundef nonnull @socketmgr) #2 br label %5 5: ; preds = %3, %0 %6 = load ptr, ptr @taskmgr, align 8, !tbaa !6 %7 = icmp eq ptr %6, null br i1 %7, label %10, label %8 8: ; preds = %5 %9 = tail call i32 @isc_taskmgr_destroy(ptr noundef nonnull @taskmgr) #2 br label %10 10: ; preds = %8, %5 %11 = load ptr, ptr @timermgr, align 8, !tbaa !6 %12 = icmp eq ptr %11, null br i1 %12, label %15, label %13 13: ; preds = %10 %14 = tail call i32 @isc_timermgr_destroy(ptr noundef nonnull @timermgr) #2 br label %15 15: ; preds = %13, %10 ret void } declare i32 @isc_socketmgr_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @isc_taskmgr_destroy(ptr noundef) local_unnamed_addr #1 declare i32 @isc_timermgr_destroy(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_ntp_lib_isc_tests_extr_isctest.c_cleanup_managers
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_lock_res_inode.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_lock_res_inode.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ocfs2_lock_res_inode], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal ptr @ocfs2_lock_res_inode(ptr noundef %0) #0 { %2 = tail call i32 @ocfs2_is_inode_lock(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #2 %6 = load i64, ptr %0, align 8, !tbaa !5 %7 = inttoptr i64 %6 to ptr ret ptr %7 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_is_inode_lock(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 = !{!"ocfs2_lock_res", !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_lock_res_inode.c' source_filename = "AnghaBench/fastsocket/kernel/fs/ocfs2/extr_dlmglue.c_ocfs2_lock_res_inode.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ocfs2_lock_res_inode], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal ptr @ocfs2_lock_res_inode(ptr noundef %0) #0 { %2 = tail call i32 @ocfs2_is_inode_lock(ptr noundef %0) #2 %3 = icmp eq i32 %2, 0 %4 = zext i1 %3 to i32 %5 = tail call i32 @BUG_ON(i32 noundef %4) #2 %6 = load i64, ptr %0, align 8, !tbaa !6 %7 = inttoptr i64 %6 to ptr ret ptr %7 } declare i32 @BUG_ON(i32 noundef) local_unnamed_addr #1 declare i32 @ocfs2_is_inode_lock(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 = !{!"ocfs2_lock_res", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_ocfs2_extr_dlmglue.c_ocfs2_lock_res_inode
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-integrity.c_section_mac.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-integrity.c_section_mac.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.dm_integrity_c = type { i32, i32 } @JOURNAL_MAC_SIZE = dso_local local_unnamed_addr global i32 0, align 4 @desc = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [18 x i8] c"crypto_shash_init\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"crypto_shash_update\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"crypto_shash_final\00", align 1 @HASH_MAX_DIGESTSIZE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"digest_size\00", align 1 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @section_mac], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @section_mac(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr @desc, align 8, !tbaa !5 %5 = getelementptr inbounds %struct.dm_integrity_c, ptr %0, i64 0, i32 1 %6 = load i32, ptr %5, align 4, !tbaa !9 %7 = tail call i32 @SHASH_DESC_ON_STACK(ptr noundef %4, i32 noundef %6) #3 %8 = load i32, ptr %5, align 4, !tbaa !9 %9 = load ptr, ptr @desc, align 8, !tbaa !5 store i32 %8, ptr %9, align 4, !tbaa !12 %10 = tail call i32 @crypto_shash_init(ptr noundef nonnull %9) #3 %11 = tail call i64 @unlikely(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr %0, align 4, !tbaa !14 %15 = icmp eq i32 %14, 0 br i1 %15, label %31, label %22 16: ; preds = %3 %17 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #3 br label %78 18: ; preds = %22 %19 = add nuw i32 %23, 1 %20 = load i32, ptr %0, align 4, !tbaa !14 %21 = icmp ult i32 %19, %20 br i1 %21, label %22, label %31, !llvm.loop !15 22: ; preds = %13, %18 %23 = phi i32 [ %19, %18 ], [ 0, %13 ] %24 = tail call ptr @access_journal_entry(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %23) #3 %25 = load ptr, ptr @desc, align 8, !tbaa !5 %26 = tail call i32 @crypto_shash_update(ptr noundef %25, ptr noundef %24, i32 noundef 4) #3 %27 = tail call i64 @unlikely(i32 noundef %26) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %18, label %29 29: ; preds = %22 %30 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %26) #3 br label %78 31: ; preds = %18, %13 %32 = load i32, ptr %5, align 4, !tbaa !9 %33 = tail call i32 @crypto_shash_digestsize(i32 noundef %32) #3 %34 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !17 %35 = icmp ule i32 %33, %34 %36 = zext i1 %35 to i32 %37 = tail call i64 @likely(i32 noundef %36) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %52, label %39 39: ; preds = %31 %40 = load ptr, ptr @desc, align 8, !tbaa !5 %41 = tail call i32 @crypto_shash_final(ptr noundef %40, ptr noundef %2) #3 %42 = tail call i64 @unlikely(i32 noundef %41) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %39 %45 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %41) #3 br label %78 46: ; preds = %39 %47 = zext i32 %33 to i64 %48 = getelementptr inbounds i32, ptr %2, i64 %47 %49 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !17 %50 = sub i32 %49, %33 %51 = tail call i32 @memset(ptr noundef %48, i32 noundef 0, i32 noundef %50) #3 br label %81 52: ; preds = %31 %53 = load i32, ptr @HASH_MAX_DIGESTSIZE, align 4, !tbaa !17 %54 = zext i32 %53 to i64 %55 = tail call ptr @llvm.stacksave.p0() %56 = alloca i32, i64 %54, align 16 %57 = zext i32 %33 to i64 %58 = shl nuw nsw i64 %54, 2 %59 = icmp ult i64 %58, %57 %60 = zext i1 %59 to i32 %61 = tail call i64 @WARN_ON(i32 noundef %60) #3 %62 = icmp eq i64 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %52 %64 = load i32, ptr @EINVAL, align 4, !tbaa !17 %65 = sub nsw i32 0, %64 %66 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %65) #3 br label %74 67: ; preds = %52 %68 = load ptr, ptr @desc, align 8, !tbaa !5 %69 = call i32 @crypto_shash_final(ptr noundef %68, ptr noundef nonnull %56) #3 %70 = call i64 @unlikely(i32 noundef %69) #3 %71 = icmp eq i64 %70, 0 br i1 %71, label %75, label %72 72: ; preds = %67 %73 = call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %69) #3 br label %74 74: ; preds = %63, %72 call void @llvm.stackrestore.p0(ptr %55) br label %78 75: ; preds = %67 %76 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !17 %77 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %56, i32 noundef %76) #3 call void @llvm.stackrestore.p0(ptr %55) br label %81 78: ; preds = %74, %29, %44, %16 %79 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !17 %80 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %79) #3 br label %81 81: ; preds = %75, %46, %78 ret void } declare i32 @SHASH_DESC_ON_STACK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_init(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @dm_integrity_io_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @access_journal_entry(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_digestsize(i32 noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_final(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="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 } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 4} !10 = !{!"dm_integrity_c", !11, i64 0, !11, i64 4} !11 = !{!"int", !7, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_8__", !11, i64 0} !14 = !{!10, !11, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"} !17 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/md/extr_dm-integrity.c_section_mac.c' source_filename = "AnghaBench/linux/drivers/md/extr_dm-integrity.c_section_mac.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @JOURNAL_MAC_SIZE = common local_unnamed_addr global i32 0, align 4 @desc = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [18 x i8] c"crypto_shash_init\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"crypto_shash_update\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"crypto_shash_final\00", align 1 @HASH_MAX_DIGESTSIZE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [12 x i8] c"digest_size\00", align 1 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @section_mac], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @section_mac(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = load ptr, ptr @desc, align 8, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 4 %6 = load i32, ptr %5, align 4, !tbaa !10 %7 = tail call i32 @SHASH_DESC_ON_STACK(ptr noundef %4, i32 noundef %6) #3 %8 = load i32, ptr %5, align 4, !tbaa !10 %9 = load ptr, ptr @desc, align 8, !tbaa !6 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = tail call i32 @crypto_shash_init(ptr noundef nonnull %9) #3 %11 = tail call i64 @unlikely(i32 noundef %10) #3 %12 = icmp eq i64 %11, 0 br i1 %12, label %13, label %16 13: ; preds = %3 %14 = load i32, ptr %0, align 4, !tbaa !15 %15 = icmp eq i32 %14, 0 br i1 %15, label %31, label %22 16: ; preds = %3 %17 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str, i32 noundef %10) #3 br label %78 18: ; preds = %22 %19 = add nuw i32 %23, 1 %20 = load i32, ptr %0, align 4, !tbaa !15 %21 = icmp ult i32 %19, %20 br i1 %21, label %22, label %31, !llvm.loop !16 22: ; preds = %13, %18 %23 = phi i32 [ %19, %18 ], [ 0, %13 ] %24 = tail call ptr @access_journal_entry(ptr noundef nonnull %0, i32 noundef %1, i32 noundef %23) #3 %25 = load ptr, ptr @desc, align 8, !tbaa !6 %26 = tail call i32 @crypto_shash_update(ptr noundef %25, ptr noundef %24, i32 noundef 4) #3 %27 = tail call i64 @unlikely(i32 noundef %26) #3 %28 = icmp eq i64 %27, 0 br i1 %28, label %18, label %29 29: ; preds = %22 %30 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.1, i32 noundef %26) #3 br label %78 31: ; preds = %18, %13 %32 = load i32, ptr %5, align 4, !tbaa !10 %33 = tail call i32 @crypto_shash_digestsize(i32 noundef %32) #3 %34 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !18 %35 = icmp ule i32 %33, %34 %36 = zext i1 %35 to i32 %37 = tail call i64 @likely(i32 noundef %36) #3 %38 = icmp eq i64 %37, 0 br i1 %38, label %52, label %39 39: ; preds = %31 %40 = load ptr, ptr @desc, align 8, !tbaa !6 %41 = tail call i32 @crypto_shash_final(ptr noundef %40, ptr noundef %2) #3 %42 = tail call i64 @unlikely(i32 noundef %41) #3 %43 = icmp eq i64 %42, 0 br i1 %43, label %46, label %44 44: ; preds = %39 %45 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %41) #3 br label %78 46: ; preds = %39 %47 = zext i32 %33 to i64 %48 = getelementptr inbounds i32, ptr %2, i64 %47 %49 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !18 %50 = sub i32 %49, %33 %51 = tail call i32 @memset(ptr noundef %48, i32 noundef 0, i32 noundef %50) #3 br label %81 52: ; preds = %31 %53 = load i32, ptr @HASH_MAX_DIGESTSIZE, align 4, !tbaa !18 %54 = zext i32 %53 to i64 %55 = tail call ptr @llvm.stacksave.p0() %56 = alloca i32, i64 %54, align 4 %57 = zext i32 %33 to i64 %58 = shl nuw nsw i64 %54, 2 %59 = icmp ult i64 %58, %57 %60 = zext i1 %59 to i32 %61 = tail call i64 @WARN_ON(i32 noundef %60) #3 %62 = icmp eq i64 %61, 0 br i1 %62, label %67, label %63 63: ; preds = %52 %64 = load i32, ptr @EINVAL, align 4, !tbaa !18 %65 = sub nsw i32 0, %64 %66 = tail call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.3, i32 noundef %65) #3 br label %74 67: ; preds = %52 %68 = load ptr, ptr @desc, align 8, !tbaa !6 %69 = call i32 @crypto_shash_final(ptr noundef %68, ptr noundef nonnull %56) #3 %70 = call i64 @unlikely(i32 noundef %69) #3 %71 = icmp eq i64 %70, 0 br i1 %71, label %75, label %72 72: ; preds = %67 %73 = call i32 @dm_integrity_io_error(ptr noundef nonnull %0, ptr noundef nonnull @.str.2, i32 noundef %69) #3 br label %74 74: ; preds = %63, %72 call void @llvm.stackrestore.p0(ptr %55) br label %78 75: ; preds = %67 %76 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !18 %77 = call i32 @memcpy(ptr noundef %2, ptr noundef nonnull %56, i32 noundef %76) #3 call void @llvm.stackrestore.p0(ptr %55) br label %81 78: ; preds = %74, %29, %44, %16 %79 = load i32, ptr @JOURNAL_MAC_SIZE, align 4, !tbaa !18 %80 = call i32 @memset(ptr noundef %2, i32 noundef 0, i32 noundef %79) #3 br label %81 81: ; preds = %75, %46, %78 ret void } declare i32 @SHASH_DESC_ON_STACK(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_init(ptr noundef) local_unnamed_addr #1 declare i64 @unlikely(i32 noundef) local_unnamed_addr #1 declare i32 @dm_integrity_io_error(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @access_journal_entry(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_update(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_digestsize(i32 noundef) local_unnamed_addr #1 declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @crypto_shash_final(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave.p0() #2 declare i64 @WARN_ON(i32 noundef) local_unnamed_addr #1 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore.p0(ptr) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 4} !11 = !{!"dm_integrity_c", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"TYPE_8__", !12, i64 0} !15 = !{!11, !12, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"} !18 = !{!12, !12, i64 0}
linux_drivers_md_extr_dm-integrity.c_section_mac
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_offload.c_nfp_bpf_map_delete_elem.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_offload.c_nfp_bpf_map_delete_elem.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @BPF_MAP_TYPE_ARRAY = dso_local local_unnamed_addr global i64 0, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nfp_bpf_map_delete_elem], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nfp_bpf_map_delete_elem(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !5 %4 = load i64, ptr @BPF_MAP_TYPE_ARRAY, align 8, !tbaa !11 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !12 %8 = sub nsw i32 0, %7 br label %11 9: ; preds = %2 %10 = tail call i32 @nfp_bpf_ctrl_del_entry(ptr noundef nonnull %0, ptr noundef %1) #2 br label %11 11: ; preds = %9, %6 %12 = phi i32 [ %8, %6 ], [ %10, %9 ] ret i32 %12 } declare i32 @nfp_bpf_ctrl_del_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !8, i64 0} !6 = !{!"bpf_offloaded_map", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_offload.c_nfp_bpf_map_delete_elem.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/netronome/nfp/bpf/extr_offload.c_nfp_bpf_map_delete_elem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BPF_MAP_TYPE_ARRAY = common local_unnamed_addr global i64 0, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nfp_bpf_map_delete_elem], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @nfp_bpf_map_delete_elem(ptr noundef %0, ptr noundef %1) #0 { %3 = load i64, ptr %0, align 8, !tbaa !6 %4 = load i64, ptr @BPF_MAP_TYPE_ARRAY, align 8, !tbaa !12 %5 = icmp eq i64 %3, %4 br i1 %5, label %6, label %9 6: ; preds = %2 %7 = load i32, ptr @EINVAL, align 4, !tbaa !13 %8 = sub nsw i32 0, %7 br label %11 9: ; preds = %2 %10 = tail call i32 @nfp_bpf_ctrl_del_entry(ptr noundef nonnull %0, ptr noundef %1) #2 br label %11 11: ; preds = %9, %6 %12 = phi i32 [ %8, %6 ], [ %10, %9 ] ret i32 %12 } declare i32 @nfp_bpf_ctrl_del_entry(ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !9, i64 0} !7 = !{!"bpf_offloaded_map", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"long", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!9, !9, i64 0} !13 = !{!14, !14, i64 0} !14 = !{!"int", !10, i64 0}
linux_drivers_net_ethernet_netronome_nfp_bpf_extr_offload.c_nfp_bpf_map_delete_elem
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_tuner_attach.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_tuner_attach.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.rtl28xxu_dev = type { i32, i32 } @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @qt1010_attach = dso_local local_unnamed_addr global i32 0, align 4 @rtl28xxu_qt1010_config = dso_local global i32 0, align 4 @mt2060_attach = dso_local local_unnamed_addr global i32 0, align 4 @rtl28xxu_mt2060_config = dso_local global i32 0, align 4 @mxl5005s_attach = dso_local local_unnamed_addr global i32 0, align 4 @rtl28xxu_mxl5005s_config = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"unknown tuner %d\0A\00", align 1 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"failed=%d\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @rtl2831u_tuner_attach], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @rtl2831u_tuner_attach(ptr noundef %0) #0 { %2 = tail call ptr @adap_to_d(ptr noundef %0) #2 %3 = tail call ptr @d_to_priv(ptr noundef %2) #2 %4 = load ptr, ptr %2, align 8, !tbaa !5 %5 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %4, ptr noundef nonnull @.str) #2 %6 = load i32, ptr %3, align 4, !tbaa !10 switch i32 %6, label %28 [ i32 128, label %7 i32 130, label %14 i32 129, label %21 ] 7: ; preds = %1 %8 = load i32, ptr @qt1010_attach, align 4, !tbaa !13 %9 = load ptr, ptr %0, align 8, !tbaa !14 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %3, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !16 %13 = tail call ptr (i32, i32, i32, ptr, ...) @dvb_attach(i32 noundef %8, i32 noundef %10, i32 noundef %12, ptr noundef nonnull @rtl28xxu_qt1010_config) #2 br label %31 14: ; preds = %1 %15 = load i32, ptr @mt2060_attach, align 4, !tbaa !13 %16 = load ptr, ptr %0, align 8, !tbaa !14 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %3, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !16 %20 = tail call ptr (i32, i32, i32, ptr, ...) @dvb_attach(i32 noundef %15, i32 noundef %17, i32 noundef %19, ptr noundef nonnull @rtl28xxu_mt2060_config, i32 noundef 1220) #2 br label %31 21: ; preds = %1 %22 = load i32, ptr @mxl5005s_attach, align 4, !tbaa !13 %23 = load ptr, ptr %0, align 8, !tbaa !14 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = getelementptr inbounds %struct.rtl28xxu_dev, ptr %3, i64 0, i32 1 %26 = load i32, ptr %25, align 4, !tbaa !16 %27 = tail call ptr (i32, i32, i32, ptr, ...) @dvb_attach(i32 noundef %22, i32 noundef %24, i32 noundef %26, ptr noundef nonnull @rtl28xxu_mxl5005s_config) #2 br label %31 28: ; preds = %1 %29 = load ptr, ptr %2, align 8, !tbaa !5 %30 = tail call i32 @dev_err(ptr noundef %29, ptr noundef nonnull @.str.1, i32 noundef %6) #2 br label %34 31: ; preds = %21, %14, %7 %32 = phi ptr [ %27, %21 ], [ %20, %14 ], [ %13, %7 ] %33 = icmp eq ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %28, %31 %35 = load i32, ptr @ENODEV, align 4, !tbaa !13 %36 = sub nsw i32 0, %35 %37 = load ptr, ptr %2, align 8, !tbaa !5 %38 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %37, ptr noundef nonnull @.str.2, i32 noundef %36) #2 br label %39 39: ; preds = %31, %34 %40 = phi i32 [ %36, %34 ], [ 0, %31 ] ret i32 %40 } declare ptr @adap_to_d(ptr noundef) local_unnamed_addr #1 declare ptr @d_to_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @dvb_attach(i32 noundef, i32 noundef, i32 noundef, ptr 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, !7, i64 0} !6 = !{!"dvb_usb_device", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"rtl28xxu_dev", !12, i64 0, !12, i64 4} !12 = !{!"int", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !7, i64 0} !15 = !{!"dvb_usb_adapter", !7, i64 0} !16 = !{!11, !12, i64 4}
; ModuleID = 'AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_tuner_attach.c' source_filename = "AnghaBench/linux/drivers/media/usb/dvb-usb-v2/extr_rtl28xxu.c_rtl2831u_tuner_attach.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @qt1010_attach = common local_unnamed_addr global i32 0, align 4 @rtl28xxu_qt1010_config = common global i32 0, align 4 @mt2060_attach = common local_unnamed_addr global i32 0, align 4 @rtl28xxu_mt2060_config = common global i32 0, align 4 @mxl5005s_attach = common local_unnamed_addr global i32 0, align 4 @rtl28xxu_mxl5005s_config = common global i32 0, align 4 @.str.1 = private unnamed_addr constant [18 x i8] c"unknown tuner %d\0A\00", align 1 @ENODEV = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"failed=%d\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @rtl2831u_tuner_attach], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @rtl2831u_tuner_attach(ptr noundef %0) #0 { %2 = tail call ptr @adap_to_d(ptr noundef %0) #2 %3 = tail call ptr @d_to_priv(ptr noundef %2) #2 %4 = load ptr, ptr %2, align 8, !tbaa !6 %5 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %4, ptr noundef nonnull @.str) #2 %6 = load i32, ptr %3, align 4, !tbaa !11 switch i32 %6, label %28 [ i32 128, label %7 i32 130, label %14 i32 129, label %21 ] 7: ; preds = %1 %8 = load i32, ptr @qt1010_attach, align 4, !tbaa !14 %9 = load ptr, ptr %0, align 8, !tbaa !15 %10 = load i32, ptr %9, align 4, !tbaa !14 %11 = getelementptr inbounds i8, ptr %3, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !17 %13 = tail call ptr (i32, i32, i32, ptr, ...) @dvb_attach(i32 noundef %8, i32 noundef %10, i32 noundef %12, ptr noundef nonnull @rtl28xxu_qt1010_config) #2 br label %31 14: ; preds = %1 %15 = load i32, ptr @mt2060_attach, align 4, !tbaa !14 %16 = load ptr, ptr %0, align 8, !tbaa !15 %17 = load i32, ptr %16, align 4, !tbaa !14 %18 = getelementptr inbounds i8, ptr %3, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !17 %20 = tail call ptr (i32, i32, i32, ptr, ...) @dvb_attach(i32 noundef %15, i32 noundef %17, i32 noundef %19, ptr noundef nonnull @rtl28xxu_mt2060_config, i32 noundef 1220) #2 br label %31 21: ; preds = %1 %22 = load i32, ptr @mxl5005s_attach, align 4, !tbaa !14 %23 = load ptr, ptr %0, align 8, !tbaa !15 %24 = load i32, ptr %23, align 4, !tbaa !14 %25 = getelementptr inbounds i8, ptr %3, i64 4 %26 = load i32, ptr %25, align 4, !tbaa !17 %27 = tail call ptr (i32, i32, i32, ptr, ...) @dvb_attach(i32 noundef %22, i32 noundef %24, i32 noundef %26, ptr noundef nonnull @rtl28xxu_mxl5005s_config) #2 br label %31 28: ; preds = %1 %29 = load ptr, ptr %2, align 8, !tbaa !6 %30 = tail call i32 @dev_err(ptr noundef %29, ptr noundef nonnull @.str.1, i32 noundef %6) #2 br label %34 31: ; preds = %21, %14, %7 %32 = phi ptr [ %27, %21 ], [ %20, %14 ], [ %13, %7 ] %33 = icmp eq ptr %32, null br i1 %33, label %34, label %39 34: ; preds = %28, %31 %35 = load i32, ptr @ENODEV, align 4, !tbaa !14 %36 = sub nsw i32 0, %35 %37 = load ptr, ptr %2, align 8, !tbaa !6 %38 = tail call i32 (ptr, ptr, ...) @dev_dbg(ptr noundef %37, ptr noundef nonnull @.str.2, i32 noundef %36) #2 br label %39 39: ; preds = %31, %34 %40 = phi i32 [ %36, %34 ], [ 0, %31 ] ret i32 %40 } declare ptr @adap_to_d(ptr noundef) local_unnamed_addr #1 declare ptr @d_to_priv(ptr noundef) local_unnamed_addr #1 declare i32 @dev_dbg(ptr noundef, ptr noundef, ...) local_unnamed_addr #1 declare ptr @dvb_attach(i32 noundef, i32 noundef, i32 noundef, ptr 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, !8, i64 0} !7 = !{!"dvb_usb_device", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"rtl28xxu_dev", !13, i64 0, !13, i64 4} !13 = !{!"int", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !8, i64 0} !16 = !{!"dvb_usb_adapter", !8, i64 0} !17 = !{!12, !13, i64 4}
linux_drivers_media_usb_dvb-usb-v2_extr_rtl28xxu.c_rtl2831u_tuner_attach