IR_x86
string
IR_arm
string
filename
string
; ModuleID = 'AnghaBench/linux/drivers/staging/isdn/avm/extr_t1isa.c_t1isa_add_card.c' source_filename = "AnghaBench/linux/drivers/staging/isdn/avm/extr_t1isa.c_t1isa_add_card.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, i64 } %struct.TYPE_8__ = type { i32, ptr } @MAX_CARDS = dso_local local_unnamed_addr global i32 0, align 4 @isa_dev = dso_local local_unnamed_addr global ptr null, align 8 @ENODEV = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @t1isa_add_card], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @t1isa_add_card(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @MAX_CARDS, align 4, !tbaa !5 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %33 5: ; preds = %2 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 2 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %1, i64 0, i32 1 %8 = load ptr, ptr @isa_dev, align 8, !tbaa !9 br label %9 9: ; preds = %5, %27 %10 = phi i32 [ %3, %5 ], [ %28, %27 ] %11 = phi ptr [ %8, %5 ], [ %29, %27 ] %12 = phi i64 [ 0, %5 ], [ %30, %27 ] %13 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %12, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !11 %15 = load i64, ptr %14, align 8, !tbaa !13 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %27 17: ; preds = %9 %18 = load i64, ptr %6, align 8, !tbaa !16 store i64 %18, ptr %14, align 8, !tbaa !13 %19 = load i32, ptr %7, align 4, !tbaa !18 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %12 store i32 %19, ptr %20, align 8, !tbaa !19 %21 = load i32, ptr %1, align 8, !tbaa !20 %22 = tail call i64 @t1isa_probe(ptr noundef nonnull %20, i32 noundef %21) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %36, label %24 24: ; preds = %17 %25 = load ptr, ptr @isa_dev, align 8, !tbaa !9 %26 = load i32, ptr @MAX_CARDS, align 4, !tbaa !5 br label %27 27: ; preds = %24, %9 %28 = phi i32 [ %26, %24 ], [ %10, %9 ] %29 = phi ptr [ %25, %24 ], [ %11, %9 ] %30 = add nuw nsw i64 %12, 1 %31 = sext i32 %28 to i64 %32 = icmp slt i64 %30, %31 br i1 %32, label %9, label %33, !llvm.loop !21 33: ; preds = %27, %2 %34 = load i32, ptr @ENODEV, align 4, !tbaa !5 %35 = sub nsw i32 0, %34 br label %36 36: ; preds = %17, %33 %37 = phi i32 [ %35, %33 ], [ 0, %17 ] ret i32 %37 } declare i64 @t1isa_probe(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !10, i64 8} !12 = !{!"TYPE_8__", !6, i64 0, !10, i64 8} !13 = !{!14, !15, i64 0} !14 = !{!"TYPE_6__", !15, i64 0} !15 = !{!"long", !7, i64 0} !16 = !{!17, !15, i64 8} !17 = !{!"TYPE_7__", !6, i64 0, !6, i64 4, !15, i64 8} !18 = !{!17, !6, i64 4} !19 = !{!12, !6, i64 0} !20 = !{!17, !6, i64 0} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/staging/isdn/avm/extr_t1isa.c_t1isa_add_card.c' source_filename = "AnghaBench/linux/drivers/staging/isdn/avm/extr_t1isa.c_t1isa_add_card.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32, ptr } @MAX_CARDS = common local_unnamed_addr global i32 0, align 4 @isa_dev = common local_unnamed_addr global ptr null, align 8 @ENODEV = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @t1isa_add_card], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @t1isa_add_card(ptr nocapture readnone %0, ptr nocapture noundef readonly %1) #0 { %3 = load i32, ptr @MAX_CARDS, align 4, !tbaa !6 %4 = icmp sgt i32 %3, 0 br i1 %4, label %5, label %33 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %1, i64 8 %7 = getelementptr inbounds i8, ptr %1, i64 4 %8 = load ptr, ptr @isa_dev, align 8, !tbaa !10 br label %9 9: ; preds = %5, %27 %10 = phi i32 [ %3, %5 ], [ %28, %27 ] %11 = phi ptr [ %8, %5 ], [ %29, %27 ] %12 = phi i64 [ 0, %5 ], [ %30, %27 ] %13 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %12, i32 1 %14 = load ptr, ptr %13, align 8, !tbaa !12 %15 = load i64, ptr %14, align 8, !tbaa !14 %16 = icmp eq i64 %15, 0 br i1 %16, label %17, label %27 17: ; preds = %9 %18 = load i64, ptr %6, align 8, !tbaa !17 store i64 %18, ptr %14, align 8, !tbaa !14 %19 = load i32, ptr %7, align 4, !tbaa !19 %20 = getelementptr inbounds %struct.TYPE_8__, ptr %11, i64 %12 store i32 %19, ptr %20, align 8, !tbaa !20 %21 = load i32, ptr %1, align 8, !tbaa !21 %22 = tail call i64 @t1isa_probe(ptr noundef nonnull %20, i32 noundef %21) #2 %23 = icmp eq i64 %22, 0 br i1 %23, label %36, label %24 24: ; preds = %17 %25 = load ptr, ptr @isa_dev, align 8, !tbaa !10 %26 = load i32, ptr @MAX_CARDS, align 4, !tbaa !6 br label %27 27: ; preds = %24, %9 %28 = phi i32 [ %26, %24 ], [ %10, %9 ] %29 = phi ptr [ %25, %24 ], [ %11, %9 ] %30 = add nuw nsw i64 %12, 1 %31 = sext i32 %28 to i64 %32 = icmp slt i64 %30, %31 br i1 %32, label %9, label %33, !llvm.loop !22 33: ; preds = %27, %2 %34 = load i32, ptr @ENODEV, align 4, !tbaa !6 %35 = sub nsw i32 0, %34 br label %36 36: ; preds = %17, %33 %37 = phi i32 [ %35, %33 ], [ 0, %17 ] ret i32 %37 } declare i64 @t1isa_probe(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !11, i64 8} !13 = !{!"TYPE_8__", !7, i64 0, !11, i64 8} !14 = !{!15, !16, i64 0} !15 = !{!"TYPE_6__", !16, i64 0} !16 = !{!"long", !8, i64 0} !17 = !{!18, !16, i64 8} !18 = !{!"TYPE_7__", !7, i64 0, !7, i64 4, !16, i64 8} !19 = !{!18, !7, i64 4} !20 = !{!13, !7, i64 0} !21 = !{!18, !7, i64 0} !22 = distinct !{!22, !23} !23 = !{!"llvm.loop.mustprogress"}
linux_drivers_staging_isdn_avm_extr_t1isa.c_t1isa_add_card
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_lineno.c_dwarf_srcfiles.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_lineno.c_dwarf_srcfiles.c" target datalayout = "e-m:e-p270:32:32-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_17__ = type { ptr, ptr } %struct.TYPE_15__ = type { ptr, i32, i64 } %struct.TYPE_16__ = type { ptr, ptr } @DW_DLE_ARGUMENT = dso_local local_unnamed_addr global i32 0, align 4 @DW_DLV_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @DW_AT_stmt_list = dso_local local_unnamed_addr global i32 0, align 4 @DW_DLE_NO_ENTRY = dso_local local_unnamed_addr global i32 0, align 4 @DW_DLV_NO_ENTRY = dso_local local_unnamed_addr global i32 0, align 4 @DW_DLE_NONE = dso_local local_unnamed_addr global i64 0, align 8 @DW_DLV_OK = dso_local local_unnamed_addr global i32 0, align 4 @DW_DLE_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @lf_next = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @dwarf_srcfiles(ptr noundef %0, ptr noundef writeonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %0, null br i1 %5, label %12, label %6 6: ; preds = %4 %7 = getelementptr inbounds %struct.TYPE_17__, ptr %0, i64 0, i32 1 %8 = load ptr, ptr %7, align 8, !tbaa !5 %9 = icmp eq ptr %1, null %10 = icmp eq ptr %2, null %11 = or i1 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %4, %6 %13 = phi ptr [ %8, %6 ], [ null, %4 ] %14 = load i32, ptr @DW_DLE_ARGUMENT, align 4, !tbaa !10 %15 = tail call i32 @DWARF_SET_ERROR(ptr noundef %13, ptr noundef %3, i32 noundef %14) #2 br label %88 16: ; preds = %6 %17 = load i32, ptr @DW_AT_stmt_list, align 4, !tbaa !10 %18 = tail call ptr @_dwarf_attr_find(ptr noundef nonnull %0, i32 noundef %17) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr @DW_DLE_NO_ENTRY, align 4, !tbaa !10 %22 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %21) #2 br label %88 23: ; preds = %16 %24 = load ptr, ptr %0, align 8, !tbaa !12 %25 = load ptr, ptr %24, align 8, !tbaa !13 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %39 27: ; preds = %23 %28 = load ptr, ptr %18, align 8, !tbaa !15 %29 = load i32, ptr %28, align 4, !tbaa !17 %30 = tail call i64 @_dwarf_lineno_init(ptr noundef nonnull %0, i32 noundef %29, ptr noundef %3) #2 %31 = load i64, ptr @DW_DLE_NONE, align 8, !tbaa !19 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %88 33: ; preds = %27 %34 = load ptr, ptr %24, align 8, !tbaa !13 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr @DW_DLE_NO_ENTRY, align 4, !tbaa !10 %38 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %37) #2 br label %88 39: ; preds = %23, %33 %40 = phi ptr [ %34, %33 ], [ %25, %23 ] %41 = getelementptr inbounds %struct.TYPE_15__, ptr %40, i64 0, i32 2 %42 = load i64, ptr %41, align 8, !tbaa !21 %43 = trunc i64 %42 to i32 store i32 %43, ptr %2, align 4, !tbaa !10 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %39 %46 = load i32, ptr @DW_DLE_NO_ENTRY, align 4, !tbaa !10 %47 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %46) #2 br label %88 48: ; preds = %39 %49 = load ptr, ptr %40, align 8, !tbaa !23 %50 = icmp eq ptr %49, null br i1 %50, label %52, label %51 51: ; preds = %48 store ptr %49, ptr %1, align 8, !tbaa !24 br label %88 52: ; preds = %48 %53 = shl i32 %43, 3 %54 = tail call ptr @malloc(i32 noundef %53) #2 store ptr %54, ptr %40, align 8, !tbaa !23 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %59 56: ; preds = %52 %57 = load i32, ptr @DW_DLE_MEMORY, align 4, !tbaa !10 %58 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %57) #2 br label %88 59: ; preds = %52 %60 = getelementptr inbounds %struct.TYPE_15__, ptr %40, i64 0, i32 1 %61 = tail call ptr @STAILQ_FIRST(ptr noundef nonnull %60) #2 %62 = load i32, ptr %2, align 4, !tbaa !10 %63 = icmp sgt i32 %62, 0 %64 = icmp ne ptr %61, null %65 = select i1 %63, i1 %64, i1 false br i1 %65, label %66, label %86 66: ; preds = %59, %74 %67 = phi i64 [ %78, %74 ], [ 0, %59 ] %68 = phi ptr [ %80, %74 ], [ %61, %59 ] %69 = load ptr, ptr %68, align 8, !tbaa !25 %70 = icmp eq ptr %69, null br i1 %70, label %71, label %74 71: ; preds = %66 %72 = getelementptr inbounds %struct.TYPE_16__, ptr %68, i64 0, i32 1 %73 = load ptr, ptr %72, align 8, !tbaa !27 br label %74 74: ; preds = %66, %71 %75 = phi ptr [ %73, %71 ], [ %69, %66 ] %76 = load ptr, ptr %40, align 8, !tbaa !23 %77 = getelementptr inbounds ptr, ptr %76, i64 %67 store ptr %75, ptr %77, align 8, !tbaa !24 %78 = add nuw nsw i64 %67, 1 %79 = load i32, ptr @lf_next, align 4, !tbaa !10 %80 = tail call ptr @STAILQ_NEXT(ptr noundef nonnull %68, i32 noundef %79) #2 %81 = load i32, ptr %2, align 4, !tbaa !10 %82 = sext i32 %81 to i64 %83 = icmp slt i64 %78, %82 %84 = icmp ne ptr %80, null %85 = select i1 %83, i1 %84, i1 false br i1 %85, label %66, label %86, !llvm.loop !28 86: ; preds = %74, %59 %87 = load ptr, ptr %40, align 8, !tbaa !23 store ptr %87, ptr %1, align 8, !tbaa !24 br label %88 88: ; preds = %27, %86, %56, %51, %45, %36, %20, %12 %89 = phi ptr [ @DW_DLV_ERROR, %12 ], [ @DW_DLV_NO_ENTRY, %20 ], [ @DW_DLV_NO_ENTRY, %36 ], [ @DW_DLV_NO_ENTRY, %45 ], [ @DW_DLV_OK, %51 ], [ @DW_DLV_ERROR, %56 ], [ @DW_DLV_OK, %86 ], [ @DW_DLV_ERROR, %27 ] %90 = load i32, ptr %89, align 4, !tbaa !10 ret i32 %90 } declare i32 @DWARF_SET_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @_dwarf_attr_find(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @_dwarf_lineno_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare ptr @STAILQ_FIRST(ptr noundef) local_unnamed_addr #1 declare ptr @STAILQ_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, !7, i64 8} !6 = !{!"TYPE_17__", !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, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!6, !7, i64 0} !13 = !{!14, !7, i64 0} !14 = !{!"TYPE_18__", !7, i64 0} !15 = !{!16, !7, i64 0} !16 = !{!"TYPE_19__", !7, i64 0} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_14__", !11, i64 0} !19 = !{!20, !20, i64 0} !20 = !{!"long", !8, i64 0} !21 = !{!22, !20, i64 16} !22 = !{!"TYPE_15__", !7, i64 0, !11, i64 8, !20, i64 16} !23 = !{!22, !7, i64 0} !24 = !{!7, !7, i64 0} !25 = !{!26, !7, i64 0} !26 = !{!"TYPE_16__", !7, i64 0, !7, i64 8} !27 = !{!26, !7, i64 8} !28 = distinct !{!28, !29} !29 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_lineno.c_dwarf_srcfiles.c' source_filename = "AnghaBench/freebsd/contrib/elftoolchain/libdwarf/extr_dwarf_lineno.c_dwarf_srcfiles.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @DW_DLE_ARGUMENT = common local_unnamed_addr global i32 0, align 4 @DW_DLV_ERROR = common local_unnamed_addr global i32 0, align 4 @DW_AT_stmt_list = common local_unnamed_addr global i32 0, align 4 @DW_DLE_NO_ENTRY = common local_unnamed_addr global i32 0, align 4 @DW_DLV_NO_ENTRY = common local_unnamed_addr global i32 0, align 4 @DW_DLE_NONE = common local_unnamed_addr global i64 0, align 8 @DW_DLV_OK = common local_unnamed_addr global i32 0, align 4 @DW_DLE_MEMORY = common local_unnamed_addr global i32 0, align 4 @lf_next = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @dwarf_srcfiles(ptr noundef %0, ptr noundef writeonly %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 { %5 = icmp eq ptr %0, null br i1 %5, label %12, label %6 6: ; preds = %4 %7 = getelementptr inbounds i8, ptr %0, i64 8 %8 = load ptr, ptr %7, align 8, !tbaa !6 %9 = icmp eq ptr %1, null %10 = icmp eq ptr %2, null %11 = or i1 %9, %10 br i1 %11, label %12, label %16 12: ; preds = %4, %6 %13 = phi ptr [ %8, %6 ], [ null, %4 ] %14 = load i32, ptr @DW_DLE_ARGUMENT, align 4, !tbaa !11 %15 = tail call i32 @DWARF_SET_ERROR(ptr noundef %13, ptr noundef %3, i32 noundef %14) #2 br label %88 16: ; preds = %6 %17 = load i32, ptr @DW_AT_stmt_list, align 4, !tbaa !11 %18 = tail call ptr @_dwarf_attr_find(ptr noundef nonnull %0, i32 noundef %17) #2 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %23 20: ; preds = %16 %21 = load i32, ptr @DW_DLE_NO_ENTRY, align 4, !tbaa !11 %22 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %21) #2 br label %88 23: ; preds = %16 %24 = load ptr, ptr %0, align 8, !tbaa !13 %25 = load ptr, ptr %24, align 8, !tbaa !14 %26 = icmp eq ptr %25, null br i1 %26, label %27, label %39 27: ; preds = %23 %28 = load ptr, ptr %18, align 8, !tbaa !16 %29 = load i32, ptr %28, align 4, !tbaa !18 %30 = tail call i64 @_dwarf_lineno_init(ptr noundef nonnull %0, i32 noundef %29, ptr noundef %3) #2 %31 = load i64, ptr @DW_DLE_NONE, align 8, !tbaa !20 %32 = icmp eq i64 %30, %31 br i1 %32, label %33, label %88 33: ; preds = %27 %34 = load ptr, ptr %24, align 8, !tbaa !14 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %39 36: ; preds = %33 %37 = load i32, ptr @DW_DLE_NO_ENTRY, align 4, !tbaa !11 %38 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %37) #2 br label %88 39: ; preds = %23, %33 %40 = phi ptr [ %34, %33 ], [ %25, %23 ] %41 = getelementptr inbounds i8, ptr %40, i64 16 %42 = load i64, ptr %41, align 8, !tbaa !22 %43 = trunc i64 %42 to i32 store i32 %43, ptr %2, align 4, !tbaa !11 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %48 45: ; preds = %39 %46 = load i32, ptr @DW_DLE_NO_ENTRY, align 4, !tbaa !11 %47 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %46) #2 br label %88 48: ; preds = %39 %49 = load ptr, ptr %40, align 8, !tbaa !24 %50 = icmp eq ptr %49, null br i1 %50, label %52, label %51 51: ; preds = %48 store ptr %49, ptr %1, align 8, !tbaa !25 br label %88 52: ; preds = %48 %53 = shl i32 %43, 3 %54 = tail call ptr @malloc(i32 noundef %53) #2 store ptr %54, ptr %40, align 8, !tbaa !24 %55 = icmp eq ptr %54, null br i1 %55, label %56, label %59 56: ; preds = %52 %57 = load i32, ptr @DW_DLE_MEMORY, align 4, !tbaa !11 %58 = tail call i32 @DWARF_SET_ERROR(ptr noundef %8, ptr noundef %3, i32 noundef %57) #2 br label %88 59: ; preds = %52 %60 = getelementptr inbounds i8, ptr %40, i64 8 %61 = tail call ptr @STAILQ_FIRST(ptr noundef nonnull %60) #2 %62 = load i32, ptr %2, align 4, !tbaa !11 %63 = icmp sgt i32 %62, 0 %64 = icmp ne ptr %61, null %65 = select i1 %63, i1 %64, i1 false br i1 %65, label %66, label %86 66: ; preds = %59, %74 %67 = phi i64 [ %78, %74 ], [ 0, %59 ] %68 = phi ptr [ %80, %74 ], [ %61, %59 ] %69 = load ptr, ptr %68, align 8, !tbaa !26 %70 = icmp eq ptr %69, null br i1 %70, label %71, label %74 71: ; preds = %66 %72 = getelementptr inbounds i8, ptr %68, i64 8 %73 = load ptr, ptr %72, align 8, !tbaa !28 br label %74 74: ; preds = %66, %71 %75 = phi ptr [ %73, %71 ], [ %69, %66 ] %76 = load ptr, ptr %40, align 8, !tbaa !24 %77 = getelementptr inbounds ptr, ptr %76, i64 %67 store ptr %75, ptr %77, align 8, !tbaa !25 %78 = add nuw nsw i64 %67, 1 %79 = load i32, ptr @lf_next, align 4, !tbaa !11 %80 = tail call ptr @STAILQ_NEXT(ptr noundef nonnull %68, i32 noundef %79) #2 %81 = load i32, ptr %2, align 4, !tbaa !11 %82 = sext i32 %81 to i64 %83 = icmp slt i64 %78, %82 %84 = icmp ne ptr %80, null %85 = select i1 %83, i1 %84, i1 false br i1 %85, label %66, label %86, !llvm.loop !29 86: ; preds = %74, %59 %87 = load ptr, ptr %40, align 8, !tbaa !24 store ptr %87, ptr %1, align 8, !tbaa !25 br label %88 88: ; preds = %27, %86, %56, %51, %45, %36, %20, %12 %89 = phi ptr [ @DW_DLV_ERROR, %12 ], [ @DW_DLV_NO_ENTRY, %20 ], [ @DW_DLV_NO_ENTRY, %36 ], [ @DW_DLV_NO_ENTRY, %45 ], [ @DW_DLV_OK, %51 ], [ @DW_DLV_ERROR, %56 ], [ @DW_DLV_OK, %86 ], [ @DW_DLV_ERROR, %27 ] %90 = load i32, ptr %89, align 4, !tbaa !11 ret i32 %90 } declare i32 @DWARF_SET_ERROR(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @_dwarf_attr_find(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @_dwarf_lineno_init(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare ptr @malloc(i32 noundef) local_unnamed_addr #1 declare ptr @STAILQ_FIRST(ptr noundef) local_unnamed_addr #1 declare ptr @STAILQ_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, !8, i64 8} !7 = !{!"TYPE_17__", !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, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!7, !8, i64 0} !14 = !{!15, !8, i64 0} !15 = !{!"TYPE_18__", !8, i64 0} !16 = !{!17, !8, i64 0} !17 = !{!"TYPE_19__", !8, i64 0} !18 = !{!19, !12, i64 0} !19 = !{!"TYPE_14__", !12, i64 0} !20 = !{!21, !21, i64 0} !21 = !{!"long", !9, i64 0} !22 = !{!23, !21, i64 16} !23 = !{!"TYPE_15__", !8, i64 0, !12, i64 8, !21, i64 16} !24 = !{!23, !8, i64 0} !25 = !{!8, !8, i64 0} !26 = !{!27, !8, i64 0} !27 = !{!"TYPE_16__", !8, i64 0, !8, i64 8} !28 = !{!27, !8, i64 8} !29 = distinct !{!29, !30} !30 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_elftoolchain_libdwarf_extr_dwarf_lineno.c_dwarf_srcfiles
; ModuleID = 'AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_xld.c_PBI_XLD_votrax_busy_callback.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_xld.c_PBI_XLD_votrax_busy_callback.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @votrax_latch = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"votrax IRQ generated\0A\00", align 1 @VOICE_MASK = dso_local local_unnamed_addr global i32 0, align 4 @PBI_IRQ = dso_local local_unnamed_addr global i32 0, align 4 @POKEY_OFFSET_IRQEN = dso_local local_unnamed_addr global i32 0, align 4 @POKEY_IRQEN = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @PBI_XLD_votrax_busy_callback(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 0 br i1 %2, label %3, label %14 3: ; preds = %1 %4 = load i32, ptr @votrax_latch, align 4, !tbaa !5 %5 = and i32 %4, 128 %6 = icmp eq i32 %5, 0 br i1 %6, label %25, label %7 7: ; preds = %3 %8 = tail call i32 @printf(ptr noundef nonnull @.str) #2 %9 = tail call i32 @D(i32 noundef %8) #2 %10 = tail call i32 (...) @CPU_GenerateIRQ() #2 %11 = load i32, ptr @VOICE_MASK, align 4, !tbaa !5 %12 = load i32, ptr @PBI_IRQ, align 4, !tbaa !5 %13 = or i32 %12, %11 store i32 %13, ptr @PBI_IRQ, align 4, !tbaa !5 br label %25 14: ; preds = %1 %15 = load i32, ptr @PBI_IRQ, align 4, !tbaa !5 %16 = load i32, ptr @VOICE_MASK, align 4, !tbaa !5 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %14 %20 = xor i32 %16, -1 %21 = and i32 %15, %20 store i32 %21, ptr @PBI_IRQ, align 4, !tbaa !5 %22 = load i32, ptr @POKEY_OFFSET_IRQEN, align 4, !tbaa !5 %23 = load i32, ptr @POKEY_IRQEN, align 4, !tbaa !5 %24 = tail call i32 @POKEY_PutByte(i32 noundef %22, i32 noundef %23) #2 br label %25 25: ; preds = %3, %14, %19, %7 ret void } declare i32 @D(i32 noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @CPU_GenerateIRQ(...) local_unnamed_addr #1 declare i32 @POKEY_PutByte(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/Provenance/Cores/Atari800/atari800-src/extr_pbi_xld.c_PBI_XLD_votrax_busy_callback.c' source_filename = "AnghaBench/Provenance/Cores/Atari800/atari800-src/extr_pbi_xld.c_PBI_XLD_votrax_busy_callback.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @votrax_latch = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"votrax IRQ generated\0A\00", align 1 @VOICE_MASK = common local_unnamed_addr global i32 0, align 4 @PBI_IRQ = common local_unnamed_addr global i32 0, align 4 @POKEY_OFFSET_IRQEN = common local_unnamed_addr global i32 0, align 4 @POKEY_IRQEN = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @PBI_XLD_votrax_busy_callback(i32 noundef %0) local_unnamed_addr #0 { %2 = icmp eq i32 %0, 0 br i1 %2, label %3, label %14 3: ; preds = %1 %4 = load i32, ptr @votrax_latch, align 4, !tbaa !6 %5 = and i32 %4, 128 %6 = icmp eq i32 %5, 0 br i1 %6, label %25, label %7 7: ; preds = %3 %8 = tail call i32 @printf(ptr noundef nonnull @.str) #2 %9 = tail call i32 @D(i32 noundef %8) #2 %10 = tail call i32 @CPU_GenerateIRQ() #2 %11 = load i32, ptr @VOICE_MASK, align 4, !tbaa !6 %12 = load i32, ptr @PBI_IRQ, align 4, !tbaa !6 %13 = or i32 %12, %11 store i32 %13, ptr @PBI_IRQ, align 4, !tbaa !6 br label %25 14: ; preds = %1 %15 = load i32, ptr @PBI_IRQ, align 4, !tbaa !6 %16 = load i32, ptr @VOICE_MASK, align 4, !tbaa !6 %17 = and i32 %16, %15 %18 = icmp eq i32 %17, 0 br i1 %18, label %25, label %19 19: ; preds = %14 %20 = xor i32 %16, -1 %21 = and i32 %15, %20 store i32 %21, ptr @PBI_IRQ, align 4, !tbaa !6 %22 = load i32, ptr @POKEY_OFFSET_IRQEN, align 4, !tbaa !6 %23 = load i32, ptr @POKEY_IRQEN, align 4, !tbaa !6 %24 = tail call i32 @POKEY_PutByte(i32 noundef %22, i32 noundef %23) #2 br label %25 25: ; preds = %3, %14, %19, %7 ret void } declare i32 @D(i32 noundef) local_unnamed_addr #1 declare i32 @printf(ptr noundef) local_unnamed_addr #1 declare i32 @CPU_GenerateIRQ(...) local_unnamed_addr #1 declare i32 @POKEY_PutByte(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"}
Provenance_Cores_Atari800_atari800-src_extr_pbi_xld.c_PBI_XLD_votrax_busy_callback
; ModuleID = 'AnghaBench/freebsd/tools/tools/umastat/extr_umastat.c_uma_print_bucketlist.c' source_filename = "AnghaBench/freebsd/tools/tools/umastat/extr_umastat.c_uma_print_bucketlist.c" target datalayout = "e-m:e-p270:32:32-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.uma_bucket = type { i32, i64 } @.str = private unnamed_addr constant [7 x i8] c"%s%s {\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"uma_print_bucketlist: %s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\0A%s \00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @ub_link = dso_local local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [43 x i8] c"%s}; // total cnt %ju, total entries %ju\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @uma_print_bucketlist], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @uma_print_bucketlist(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.uma_bucket, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5 %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3, ptr noundef %2) %7 = tail call ptr @LIST_FIRST(ptr noundef %1) #5 %8 = icmp eq ptr %7, null br i1 %8, label %38, label %9 9: ; preds = %4 %10 = getelementptr inbounds %struct.uma_bucket, ptr %5, i64 0, i32 1 br label %11 11: ; preds = %9, %26 %12 = phi ptr [ %7, %9 ], [ %36, %26 ] %13 = phi i32 [ 0, %9 ], [ %34, %26 ] %14 = phi i64 [ 0, %9 ], [ %33, %26 ] %15 = phi i64 [ 0, %9 ], [ %30, %26 ] %16 = call i32 @kread(ptr noundef %0, ptr noundef nonnull %12, ptr noundef nonnull %5, i32 noundef 16, i32 noundef 0) #5 %17 = icmp eq i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %11 %19 = call i32 @kvm_geterr(ptr noundef %0) #5 %20 = call i32 @errx(i32 noundef -1, ptr noundef nonnull @.str.1, i32 noundef %19) #5 br label %21 21: ; preds = %18, %11 %22 = and i32 %13, 1 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %3) br label %26 26: ; preds = %24, %21 %27 = call i32 @uma_print_bucket(ptr noundef nonnull %5, ptr noundef nonnull @.str.3) #5 %28 = call i32 @putchar(i32 32) %29 = load i64, ptr %10, align 8, !tbaa !5 %30 = add nsw i64 %29, %15 %31 = load i32, ptr %5, align 8, !tbaa !11 %32 = sext i32 %31 to i64 %33 = add nsw i64 %14, %32 %34 = add nuw nsw i32 %13, 1 %35 = load i32, ptr @ub_link, align 4, !tbaa !12 %36 = call ptr @LIST_NEXT(ptr noundef nonnull %5, i32 noundef %35) #5 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %11, !llvm.loop !13 38: ; preds = %26, %4 %39 = phi i64 [ 0, %4 ], [ %30, %26 ] %40 = phi i64 [ 0, %4 ], [ %33, %26 ] %41 = call i32 @putchar(i32 10) %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %3, i64 noundef %40, i64 noundef %39) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare ptr @LIST_FIRST(ptr noundef) local_unnamed_addr #3 declare i32 @kread(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @errx(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @kvm_geterr(ptr noundef) local_unnamed_addr #3 declare i32 @uma_print_bucket(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @LIST_NEXT(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 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { nofree nounwind } 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, !10, i64 8} !6 = !{!"uma_bucket", !7, i64 0, !10, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!7, !7, i64 0} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/tools/tools/umastat/extr_umastat.c_uma_print_bucketlist.c' source_filename = "AnghaBench/freebsd/tools/tools/umastat/extr_umastat.c_uma_print_bucketlist.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.uma_bucket = type { i32, i64 } @.str = private unnamed_addr constant [7 x i8] c"%s%s {\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"uma_print_bucketlist: %s\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"\0A%s \00", align 1 @.str.3 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @ub_link = common local_unnamed_addr global i32 0, align 4 @.str.6 = private unnamed_addr constant [43 x i8] c"%s}; // total cnt %ju, total entries %ju\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @uma_print_bucketlist], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @uma_print_bucketlist(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca %struct.uma_bucket, align 8 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5 %6 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %3, ptr noundef %2) %7 = tail call ptr @LIST_FIRST(ptr noundef %1) #5 %8 = icmp eq ptr %7, null br i1 %8, label %38, label %9 9: ; preds = %4 %10 = getelementptr inbounds i8, ptr %5, i64 8 br label %11 11: ; preds = %9, %26 %12 = phi ptr [ %7, %9 ], [ %36, %26 ] %13 = phi i32 [ 0, %9 ], [ %34, %26 ] %14 = phi i64 [ 0, %9 ], [ %33, %26 ] %15 = phi i64 [ 0, %9 ], [ %30, %26 ] %16 = call i32 @kread(ptr noundef %0, ptr noundef nonnull %12, ptr noundef nonnull %5, i32 noundef 16, i32 noundef 0) #5 %17 = icmp eq i32 %16, 0 br i1 %17, label %21, label %18 18: ; preds = %11 %19 = call i32 @kvm_geterr(ptr noundef %0) #5 %20 = call i32 @errx(i32 noundef -1, ptr noundef nonnull @.str.1, i32 noundef %19) #5 br label %21 21: ; preds = %18, %11 %22 = and i32 %13, 1 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %21 %25 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %3) br label %26 26: ; preds = %24, %21 %27 = call i32 @uma_print_bucket(ptr noundef nonnull %5, ptr noundef nonnull @.str.3) #5 %28 = call i32 @putchar(i32 32) %29 = load i64, ptr %10, align 8, !tbaa !6 %30 = add nsw i64 %29, %15 %31 = load i32, ptr %5, align 8, !tbaa !12 %32 = sext i32 %31 to i64 %33 = add nsw i64 %14, %32 %34 = add nuw nsw i32 %13, 1 %35 = load i32, ptr @ub_link, align 4, !tbaa !13 %36 = call ptr @LIST_NEXT(ptr noundef nonnull %5, i32 noundef %35) #5 %37 = icmp eq ptr %36, null br i1 %37, label %38, label %11, !llvm.loop !14 38: ; preds = %26, %4 %39 = phi i64 [ 0, %4 ], [ %30, %26 ] %40 = phi i64 [ 0, %4 ], [ %33, %26 ] %41 = call i32 @putchar(i32 10) %42 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, ptr noundef %3, i64 noundef %40, i64 noundef %39) call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nofree nounwind declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2 declare ptr @LIST_FIRST(ptr noundef) local_unnamed_addr #3 declare i32 @kread(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 declare i32 @errx(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @kvm_geterr(ptr noundef) local_unnamed_addr #3 declare i32 @uma_print_bucket(ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @LIST_NEXT(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 ; Function Attrs: nofree nounwind declare noundef i32 @putchar(i32 noundef) local_unnamed_addr #4 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { nofree nounwind "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #4 = { nofree nounwind } 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, !11, i64 8} !7 = !{!"uma_bucket", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
freebsd_tools_tools_umastat_extr_umastat.c_uma_print_bucketlist
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_ce.c_ath10k_ce_dest_ring_size_set.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_ce.c_ath10k_ce_dest_ring_size_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" @llvm.compiler.used = appending global [1 x ptr] [ptr @ath10k_ce_dest_ring_size_set], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @ath10k_ce_dest_ring_size_set(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !5 %5 = load i64, ptr %4, align 8, !tbaa !10 %6 = add nsw i64 %5, %1 %7 = tail call i32 @ath10k_ce_write32(ptr noundef nonnull %0, i64 noundef %6, i32 noundef %2) #2 ret void } declare i32 @ath10k_ce_write32(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"ath10k", !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 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_ce.c_ath10k_ce_dest_ring_size_set.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath10k/extr_ce.c_ath10k_ce_dest_ring_size_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 @ath10k_ce_dest_ring_size_set], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @ath10k_ce_dest_ring_size_set(ptr noundef %0, i64 noundef %1, i32 noundef %2) #0 { %4 = load ptr, ptr %0, align 8, !tbaa !6 %5 = load i64, ptr %4, align 8, !tbaa !11 %6 = add nsw i64 %5, %1 %7 = tail call i32 @ath10k_ce_write32(ptr noundef nonnull %0, i64 noundef %6, i32 noundef %2) #2 ret void } declare i32 @ath10k_ce_write32(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"ath10k", !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 = !{!"long", !9, i64 0}
linux_drivers_net_wireless_ath_ath10k_extr_ce.c_ath10k_ce_dest_ring_size_set
; ModuleID = 'AnghaBench/linux/fs/extr_nsfs.c_nsfs_init_fs_context.c' source_filename = "AnghaBench/linux/fs/extr_nsfs.c_nsfs_init_fs_context.c" target datalayout = "e-m:e-p270:32:32-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.pseudo_fs_context = type { ptr, ptr } @NSFS_MAGIC = dso_local local_unnamed_addr global i32 0, align 4 @ENOMEM = dso_local local_unnamed_addr global i32 0, align 4 @nsfs_ops = dso_local global i32 0, align 4 @ns_dentry_operations = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @nsfs_init_fs_context], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @nsfs_init_fs_context(ptr noundef %0) #0 { %2 = load i32, ptr @NSFS_MAGIC, align 4, !tbaa !5 %3 = tail call ptr @init_pseudo(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !5 %7 = sub nsw i32 0, %6 br label %10 8: ; preds = %1 %9 = getelementptr inbounds %struct.pseudo_fs_context, ptr %3, i64 0, i32 1 store ptr @nsfs_ops, ptr %9, align 8, !tbaa !9 store ptr @ns_dentry_operations, ptr %3, align 8, !tbaa !12 br label %10 10: ; preds = %8, %5 %11 = phi i32 [ 0, %8 ], [ %7, %5 ] ret i32 %11 } declare ptr @init_pseudo(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !11, i64 8} !10 = !{!"pseudo_fs_context", !11, i64 0, !11, i64 8} !11 = !{!"any pointer", !7, i64 0} !12 = !{!10, !11, i64 0}
; ModuleID = 'AnghaBench/linux/fs/extr_nsfs.c_nsfs_init_fs_context.c' source_filename = "AnghaBench/linux/fs/extr_nsfs.c_nsfs_init_fs_context.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NSFS_MAGIC = common local_unnamed_addr global i32 0, align 4 @ENOMEM = common local_unnamed_addr global i32 0, align 4 @nsfs_ops = common global i32 0, align 4 @ns_dentry_operations = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @nsfs_init_fs_context], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @nsfs_init_fs_context(ptr noundef %0) #0 { %2 = load i32, ptr @NSFS_MAGIC, align 4, !tbaa !6 %3 = tail call ptr @init_pseudo(ptr noundef %0, i32 noundef %2) #2 %4 = icmp eq ptr %3, null br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr @ENOMEM, align 4, !tbaa !6 %7 = sub nsw i32 0, %6 br label %10 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %3, i64 8 store ptr @nsfs_ops, ptr %9, align 8, !tbaa !10 store ptr @ns_dentry_operations, ptr %3, align 8, !tbaa !13 br label %10 10: ; preds = %8, %5 %11 = phi i32 [ 0, %8 ], [ %7, %5 ] ret i32 %11 } declare ptr @init_pseudo(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 8} !11 = !{!"pseudo_fs_context", !12, i64 0, !12, i64 8} !12 = !{!"any pointer", !8, i64 0} !13 = !{!11, !12, i64 0}
linux_fs_extr_nsfs.c_nsfs_init_fs_context
; ModuleID = 'AnghaBench/linux/net/tipc/extr_msg.h_msg_orignode.c' source_filename = "AnghaBench/linux/net/tipc/extr_msg.h_msg_orignode.c" target datalayout = "e-m:e-p270:32:32-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 @msg_orignode], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @msg_orignode(ptr noundef %0) #0 { %2 = tail call i32 @msg_short(ptr noundef %0) #2 %3 = tail call i64 @likely(i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @msg_prevnode(ptr noundef %0) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @msg_word(ptr noundef %0, i32 noundef 6) #2 br label %9 9: ; preds = %7, %5 %10 = phi i32 [ %6, %5 ], [ %8, %7 ] ret i32 %10 } declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @msg_short(ptr noundef) local_unnamed_addr #1 declare i32 @msg_prevnode(ptr noundef) local_unnamed_addr #1 declare i32 @msg_word(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/net/tipc/extr_msg.h_msg_orignode.c' source_filename = "AnghaBench/linux/net/tipc/extr_msg.h_msg_orignode.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 @msg_orignode], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @msg_orignode(ptr noundef %0) #0 { %2 = tail call i32 @msg_short(ptr noundef %0) #2 %3 = tail call i64 @likely(i32 noundef %2) #2 %4 = icmp eq i64 %3, 0 br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @msg_prevnode(ptr noundef %0) #2 br label %9 7: ; preds = %1 %8 = tail call i32 @msg_word(ptr noundef %0, i32 noundef 6) #2 br label %9 9: ; preds = %7, %5 %10 = phi i32 [ %6, %5 ], [ %8, %7 ] ret i32 %10 } declare i64 @likely(i32 noundef) local_unnamed_addr #1 declare i32 @msg_short(ptr noundef) local_unnamed_addr #1 declare i32 @msg_prevnode(ptr noundef) local_unnamed_addr #1 declare i32 @msg_word(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_net_tipc_extr_msg.h_msg_orignode
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rep-cache.c_svn_fs_x__set_rep_reference.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rep-cache.c_svn_fs_x__set_rep_reference.c" target datalayout = "e-m:e-p270:32:32-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_26__ = type { i32, i32 } %struct.TYPE_22__ = type { i64, i64, %struct.TYPE_21__, i32, i32 } %struct.TYPE_21__ = type { i64, i64 } %struct.TYPE_23__ = type { i32, i32 } @svn_checksum_sha1 = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_BAD_CHECKSUM_KIND = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [65 x i8] c"Only SHA1 checksums can be used as keys in the rep_cache table.\0A\00", align 1 @STMT_SET_REP = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"siiii\00", align 1 @SVN_ERR_SQLITE_CONSTRAINT = dso_local local_unnamed_addr global i64 0, align 8 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @svn_fs_x__set_rep_reference(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_26__, align 4 %6 = alloca ptr, align 8 %7 = load ptr, ptr %0, align 8, !tbaa !5 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = load i32, ptr @svn_checksum_sha1, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.TYPE_26__, ptr %5, i64 0, i32 1 store i32 %8, ptr %9, align 4, !tbaa !12 %10 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 4 %11 = load i32, ptr %10, align 4, !tbaa !14 store i32 %11, ptr %5, align 4, !tbaa !18 %12 = getelementptr inbounds %struct.TYPE_23__, ptr %7, i64 0, i32 1 %13 = load i32, ptr %12, align 4, !tbaa !19 %14 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %13) #3 %15 = load i32, ptr %7, align 4, !tbaa !21 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %3 %18 = tail call i32 @svn_fs_x__open_rep_cache(ptr noundef nonnull %0, ptr noundef %2) #3 %19 = tail call i32 @SVN_ERR(i32 noundef %18) #3 br label %20 20: ; preds = %17, %3 %21 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 3 %22 = load i32, ptr %21, align 8, !tbaa !22 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i32, ptr @SVN_ERR_BAD_CHECKSUM_KIND, align 4, !tbaa !10 %26 = tail call i32 @_(ptr noundef nonnull @.str) #3 %27 = tail call ptr @svn_error_create(i32 noundef %25, ptr noundef null, i32 noundef %26) #3 br label %63 28: ; preds = %20 %29 = load i32, ptr %7, align 4, !tbaa !21 %30 = load i32, ptr @STMT_SET_REP, align 4, !tbaa !10 %31 = call i32 @svn_sqlite__get_statement(ptr noundef nonnull %4, i32 noundef %29, i32 noundef %30) #3 %32 = call i32 @SVN_ERR(i32 noundef %31) #3 %33 = load ptr, ptr %4, align 8, !tbaa !23 %34 = call i32 @svn_checksum_to_cstring(ptr noundef nonnull %5, ptr noundef %2) #3 %35 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 2 %36 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 2, i32 1 %37 = load i64, ptr %36, align 8, !tbaa !24 %38 = trunc i64 %37 to i32 %39 = load i64, ptr %35, align 8, !tbaa !25 %40 = trunc i64 %39 to i32 %41 = getelementptr inbounds %struct.TYPE_22__, ptr %1, i64 0, i32 1 %42 = load i64, ptr %41, align 8, !tbaa !26 %43 = trunc i64 %42 to i32 %44 = load i64, ptr %1, align 8, !tbaa !27 %45 = trunc i64 %44 to i32 %46 = call i32 @svn_sqlite__bindf(ptr noundef %33, ptr noundef nonnull @.str.1, i32 noundef %34, i32 noundef %38, i32 noundef %40, i32 noundef %43, i32 noundef %45) #3 %47 = call i32 @SVN_ERR(i32 noundef %46) #3 %48 = load ptr, ptr %4, align 8, !tbaa !23 %49 = call ptr @svn_sqlite__insert(ptr noundef null, ptr noundef %48) #3 %50 = icmp eq ptr %49, null br i1 %50, label %61, label %51 51: ; preds = %28 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %52 = load i64, ptr %49, align 8, !tbaa !28 %53 = load i64, ptr @SVN_ERR_SQLITE_CONSTRAINT, align 8, !tbaa !30 %54 = icmp eq i64 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %51 %56 = call i32 @svn_error_clear(ptr noundef nonnull %49) #3 %57 = call i32 @svn_fs_x__get_rep_reference(ptr noundef nonnull %6, ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef %2, ptr noundef %2) #3 %58 = call i32 @SVN_ERR(i32 noundef %57) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 br label %61 59: ; preds = %51 %60 = call ptr @svn_error_trace(ptr noundef nonnull %49) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 br label %63 61: ; preds = %55, %28 %62 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !23 br label %63 63: ; preds = %59, %61, %24 %64 = phi ptr [ %62, %61 ], [ %60, %59 ], [ %27, %24 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %64 } ; 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_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__open_rep_cache(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 declare i32 @svn_sqlite__get_statement(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_sqlite__bindf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_checksum_to_cstring(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_sqlite__insert(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__get_rep_reference(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_24__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"TYPE_26__", !11, i64 0, !11, i64 4} !14 = !{!15, !11, i64 36} !15 = !{!"TYPE_22__", !16, i64 0, !16, i64 8, !17, i64 16, !11, i64 32, !11, i64 36} !16 = !{!"long", !8, i64 0} !17 = !{!"TYPE_21__", !16, i64 0, !16, i64 8} !18 = !{!13, !11, i64 0} !19 = !{!20, !11, i64 4} !20 = !{!"TYPE_23__", !11, i64 0, !11, i64 4} !21 = !{!20, !11, i64 0} !22 = !{!15, !11, i64 32} !23 = !{!7, !7, i64 0} !24 = !{!15, !16, i64 24} !25 = !{!15, !16, i64 16} !26 = !{!15, !16, i64 8} !27 = !{!15, !16, i64 0} !28 = !{!29, !16, i64 0} !29 = !{!"TYPE_25__", !16, i64 0} !30 = !{!16, !16, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rep-cache.c_svn_fs_x__set_rep_reference.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_x/extr_rep-cache.c_svn_fs_x__set_rep_reference.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_26__ = type { i32, i32 } @svn_checksum_sha1 = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_BAD_CHECKSUM_KIND = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [65 x i8] c"Only SHA1 checksums can be used as keys in the rep_cache table.\0A\00", align 1 @STMT_SET_REP = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [6 x i8] c"siiii\00", align 1 @SVN_ERR_SQLITE_CONSTRAINT = common local_unnamed_addr global i64 0, align 8 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @svn_fs_x__set_rep_reference(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = alloca ptr, align 8 %5 = alloca %struct.TYPE_26__, align 4 %6 = alloca ptr, align 8 %7 = load ptr, ptr %0, align 8, !tbaa !6 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3 %8 = load i32, ptr @svn_checksum_sha1, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %5, i64 4 store i32 %8, ptr %9, align 4, !tbaa !13 %10 = getelementptr inbounds i8, ptr %1, i64 36 %11 = load i32, ptr %10, align 4, !tbaa !15 store i32 %11, ptr %5, align 4, !tbaa !19 %12 = getelementptr inbounds i8, ptr %7, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !20 %14 = tail call i32 @SVN_ERR_ASSERT(i32 noundef %13) #3 %15 = load i32, ptr %7, align 4, !tbaa !22 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %20 17: ; preds = %3 %18 = tail call i32 @svn_fs_x__open_rep_cache(ptr noundef nonnull %0, ptr noundef %2) #3 %19 = tail call i32 @SVN_ERR(i32 noundef %18) #3 br label %20 20: ; preds = %17, %3 %21 = getelementptr inbounds i8, ptr %1, i64 32 %22 = load i32, ptr %21, align 8, !tbaa !23 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i32, ptr @SVN_ERR_BAD_CHECKSUM_KIND, align 4, !tbaa !11 %26 = tail call i32 @_(ptr noundef nonnull @.str) #3 %27 = tail call ptr @svn_error_create(i32 noundef %25, ptr noundef null, i32 noundef %26) #3 br label %63 28: ; preds = %20 %29 = load i32, ptr %7, align 4, !tbaa !22 %30 = load i32, ptr @STMT_SET_REP, align 4, !tbaa !11 %31 = call i32 @svn_sqlite__get_statement(ptr noundef nonnull %4, i32 noundef %29, i32 noundef %30) #3 %32 = call i32 @SVN_ERR(i32 noundef %31) #3 %33 = load ptr, ptr %4, align 8, !tbaa !24 %34 = call i32 @svn_checksum_to_cstring(ptr noundef nonnull %5, ptr noundef %2) #3 %35 = getelementptr inbounds i8, ptr %1, i64 16 %36 = getelementptr inbounds i8, ptr %1, i64 24 %37 = load i64, ptr %36, align 8, !tbaa !25 %38 = trunc i64 %37 to i32 %39 = load i64, ptr %35, align 8, !tbaa !26 %40 = trunc i64 %39 to i32 %41 = getelementptr inbounds i8, ptr %1, i64 8 %42 = load i64, ptr %41, align 8, !tbaa !27 %43 = trunc i64 %42 to i32 %44 = load i64, ptr %1, align 8, !tbaa !28 %45 = trunc i64 %44 to i32 %46 = call i32 @svn_sqlite__bindf(ptr noundef %33, ptr noundef nonnull @.str.1, i32 noundef %34, i32 noundef %38, i32 noundef %40, i32 noundef %43, i32 noundef %45) #3 %47 = call i32 @SVN_ERR(i32 noundef %46) #3 %48 = load ptr, ptr %4, align 8, !tbaa !24 %49 = call ptr @svn_sqlite__insert(ptr noundef null, ptr noundef %48) #3 %50 = icmp eq ptr %49, null br i1 %50, label %61, label %51 51: ; preds = %28 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3 %52 = load i64, ptr %49, align 8, !tbaa !29 %53 = load i64, ptr @SVN_ERR_SQLITE_CONSTRAINT, align 8, !tbaa !31 %54 = icmp eq i64 %52, %53 br i1 %54, label %55, label %59 55: ; preds = %51 %56 = call i32 @svn_error_clear(ptr noundef nonnull %49) #3 %57 = call i32 @svn_fs_x__get_rep_reference(ptr noundef nonnull %6, ptr noundef nonnull %0, ptr noundef nonnull %5, ptr noundef %2, ptr noundef %2) #3 %58 = call i32 @SVN_ERR(i32 noundef %57) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 br label %61 59: ; preds = %51 %60 = call ptr @svn_error_trace(ptr noundef nonnull %49) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3 br label %63 61: ; preds = %55, %28 %62 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !24 br label %63 63: ; preds = %59, %61, %24 %64 = phi ptr [ %62, %61 ], [ %60, %59 ], [ %27, %24 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3 ret ptr %64 } ; 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_ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__open_rep_cache(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 declare i32 @svn_sqlite__get_statement(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_sqlite__bindf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @svn_checksum_to_cstring(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_sqlite__insert(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2 declare i32 @svn_fs_x__get_rep_reference(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_24__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 4} !14 = !{!"TYPE_26__", !12, i64 0, !12, i64 4} !15 = !{!16, !12, i64 36} !16 = !{!"TYPE_22__", !17, i64 0, !17, i64 8, !18, i64 16, !12, i64 32, !12, i64 36} !17 = !{!"long", !9, i64 0} !18 = !{!"TYPE_21__", !17, i64 0, !17, i64 8} !19 = !{!14, !12, i64 0} !20 = !{!21, !12, i64 4} !21 = !{!"TYPE_23__", !12, i64 0, !12, i64 4} !22 = !{!21, !12, i64 0} !23 = !{!16, !12, i64 32} !24 = !{!8, !8, i64 0} !25 = !{!16, !17, i64 24} !26 = !{!16, !17, i64 16} !27 = !{!16, !17, i64 8} !28 = !{!16, !17, i64 0} !29 = !{!30, !17, i64 0} !30 = !{!"TYPE_25__", !17, i64 0} !31 = !{!17, !17, i64 0}
freebsd_contrib_subversion_subversion_libsvn_fs_x_extr_rep-cache.c_svn_fs_x__set_rep_reference
; ModuleID = 'AnghaBench/systemd/src/import/extr_importd.c_property_get_progress.c' source_filename = "AnghaBench/systemd/src/import/extr_importd.c_property_get_progress.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"d\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @property_get_progress], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @property_get_progress(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr noundef %4, ptr noundef %5, ptr nocapture readnone %6) #0 { %8 = tail call i32 @assert(ptr noundef %0) #2 %9 = tail call i32 @assert(ptr noundef %4) #2 %10 = tail call i32 @assert(ptr noundef %5) #2 %11 = tail call i32 @transfer_percent_as_double(ptr noundef %5) #2 %12 = tail call i32 @sd_bus_message_append(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %11) #2 ret i32 %12 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @sd_bus_message_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @transfer_percent_as_double(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/systemd/src/import/extr_importd.c_property_get_progress.c' source_filename = "AnghaBench/systemd/src/import/extr_importd.c_property_get_progress.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"d\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @property_get_progress], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @property_get_progress(ptr noundef %0, ptr nocapture readnone %1, ptr nocapture readnone %2, ptr nocapture readnone %3, ptr noundef %4, ptr noundef %5, ptr nocapture readnone %6) #0 { %8 = tail call i32 @assert(ptr noundef %0) #2 %9 = tail call i32 @assert(ptr noundef %4) #2 %10 = tail call i32 @assert(ptr noundef %5) #2 %11 = tail call i32 @transfer_percent_as_double(ptr noundef %5) #2 %12 = tail call i32 @sd_bus_message_append(ptr noundef %4, ptr noundef nonnull @.str, i32 noundef %11) #2 ret i32 %12 } declare i32 @assert(ptr noundef) local_unnamed_addr #1 declare i32 @sd_bus_message_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @transfer_percent_as_double(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
systemd_src_import_extr_importd.c_property_get_progress
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_reschedule.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_reschedule.c" target datalayout = "e-m:e-p270:32:32-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.serial = type { i32, i32, i32 } @push_event = dso_local local_unnamed_addr global i32 0, align 4 @fd_event = dso_local local_unnamed_addr global i32 0, align 4 @gdb_stdlog = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"[fd%d->fd-scheduled]\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"[fd%d->timer-scheduled]\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @reschedule], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @reschedule(ptr noundef %0) #0 { %2 = tail call i64 @serial_is_async_p(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %49, label %4 4: ; preds = %1 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = getelementptr inbounds %struct.serial, ptr %0, i64 0, i32 2 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = icmp eq i32 %7, 0 switch i32 %5, label %25 [ i32 129, label %9 i32 128, label %16 ] 9: ; preds = %4 br i1 %8, label %32, label %10 10: ; preds = %9 %11 = getelementptr inbounds %struct.serial, ptr %0, i64 0, i32 1 %12 = load i32, ptr %11, align 4, !tbaa !11 %13 = tail call i32 @delete_file_handler(i32 noundef %12) #2 %14 = load i32, ptr @push_event, align 4, !tbaa !12 %15 = tail call i32 @create_timer(i32 noundef 0, i32 noundef %14, ptr noundef nonnull %0) #2 br label %32 16: ; preds = %4 br i1 %8, label %17, label %22 17: ; preds = %16 %18 = getelementptr inbounds %struct.serial, ptr %0, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !11 %20 = load i32, ptr @fd_event, align 4, !tbaa !12 %21 = tail call i32 @add_file_handler(i32 noundef %19, i32 noundef %20, ptr noundef nonnull %0) #2 br label %32 22: ; preds = %16 %23 = load i32, ptr @push_event, align 4, !tbaa !12 %24 = tail call i32 @create_timer(i32 noundef 0, i32 noundef %23, ptr noundef nonnull %0) #2 br label %32 25: ; preds = %4 br i1 %8, label %26, label %32 26: ; preds = %25 %27 = tail call i32 @delete_timer(i32 noundef %5) #2 %28 = getelementptr inbounds %struct.serial, ptr %0, i64 0, i32 1 %29 = load i32, ptr %28, align 4, !tbaa !11 %30 = load i32, ptr @fd_event, align 4, !tbaa !12 %31 = tail call i32 @add_file_handler(i32 noundef %29, i32 noundef %30, ptr noundef nonnull %0) #2 br label %32 32: ; preds = %25, %9, %26, %17, %22, %10 %33 = phi i32 [ 129, %26 ], [ 129, %17 ], [ %24, %22 ], [ %15, %10 ], [ 129, %9 ], [ %5, %25 ] %34 = tail call i64 @serial_debug_p(ptr noundef nonnull %0) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %48, label %36 36: ; preds = %32 %37 = icmp eq i32 %33, 129 %38 = load i32, ptr %0, align 4, !tbaa !5 %39 = icmp eq i32 %38, 129 br i1 %37, label %40, label %41 40: ; preds = %36 br i1 %39, label %48, label %42 41: ; preds = %36 br i1 %39, label %42, label %48 42: ; preds = %41, %40 %43 = phi ptr [ @.str, %40 ], [ @.str.1, %41 ] %44 = load i32, ptr @gdb_stdlog, align 4, !tbaa !12 %45 = getelementptr inbounds %struct.serial, ptr %0, i64 0, i32 1 %46 = load i32, ptr %45, align 4, !tbaa !11 %47 = tail call i32 @fprintf_unfiltered(i32 noundef %44, ptr noundef nonnull %43, i32 noundef %46) #2 br label %48 48: ; preds = %42, %40, %41, %32 store i32 %33, ptr %0, align 4, !tbaa !5 br label %49 49: ; preds = %48, %1 ret void } declare i64 @serial_is_async_p(ptr noundef) local_unnamed_addr #1 declare i32 @delete_file_handler(i32 noundef) local_unnamed_addr #1 declare i32 @create_timer(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_file_handler(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @delete_timer(i32 noundef) local_unnamed_addr #1 declare i64 @serial_debug_p(ptr noundef) local_unnamed_addr #1 declare i32 @fprintf_unfiltered(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 = !{!"serial", !7, i64 0, !7, i64 4, !7, i64 8} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 4} !12 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_reschedule.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_ser-unix.c_reschedule.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @push_event = common local_unnamed_addr global i32 0, align 4 @fd_event = common local_unnamed_addr global i32 0, align 4 @gdb_stdlog = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"[fd%d->fd-scheduled]\0A\00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"[fd%d->timer-scheduled]\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @reschedule], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @reschedule(ptr noundef %0) #0 { %2 = tail call i64 @serial_is_async_p(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %49, label %4 4: ; preds = %1 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = icmp eq i32 %7, 0 switch i32 %5, label %25 [ i32 129, label %9 i32 128, label %16 ] 9: ; preds = %4 br i1 %8, label %32, label %10 10: ; preds = %9 %11 = getelementptr inbounds i8, ptr %0, i64 4 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = tail call i32 @delete_file_handler(i32 noundef %12) #2 %14 = load i32, ptr @push_event, align 4, !tbaa !13 %15 = tail call i32 @create_timer(i32 noundef 0, i32 noundef %14, ptr noundef nonnull %0) #2 br label %32 16: ; preds = %4 br i1 %8, label %17, label %22 17: ; preds = %16 %18 = getelementptr inbounds i8, ptr %0, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !12 %20 = load i32, ptr @fd_event, align 4, !tbaa !13 %21 = tail call i32 @add_file_handler(i32 noundef %19, i32 noundef %20, ptr noundef nonnull %0) #2 br label %32 22: ; preds = %16 %23 = load i32, ptr @push_event, align 4, !tbaa !13 %24 = tail call i32 @create_timer(i32 noundef 0, i32 noundef %23, ptr noundef nonnull %0) #2 br label %32 25: ; preds = %4 br i1 %8, label %26, label %32 26: ; preds = %25 %27 = tail call i32 @delete_timer(i32 noundef %5) #2 %28 = getelementptr inbounds i8, ptr %0, i64 4 %29 = load i32, ptr %28, align 4, !tbaa !12 %30 = load i32, ptr @fd_event, align 4, !tbaa !13 %31 = tail call i32 @add_file_handler(i32 noundef %29, i32 noundef %30, ptr noundef nonnull %0) #2 br label %32 32: ; preds = %25, %9, %26, %17, %22, %10 %33 = phi i32 [ 129, %26 ], [ 129, %17 ], [ %24, %22 ], [ %15, %10 ], [ 129, %9 ], [ %5, %25 ] %34 = tail call i64 @serial_debug_p(ptr noundef nonnull %0) #2 %35 = icmp eq i64 %34, 0 br i1 %35, label %48, label %36 36: ; preds = %32 %37 = icmp eq i32 %33, 129 %38 = load i32, ptr %0, align 4, !tbaa !6 %39 = icmp eq i32 %38, 129 br i1 %37, label %40, label %41 40: ; preds = %36 br i1 %39, label %48, label %42 41: ; preds = %36 br i1 %39, label %42, label %48 42: ; preds = %41, %40 %43 = phi ptr [ @.str, %40 ], [ @.str.1, %41 ] %44 = load i32, ptr @gdb_stdlog, align 4, !tbaa !13 %45 = getelementptr inbounds i8, ptr %0, i64 4 %46 = load i32, ptr %45, align 4, !tbaa !12 %47 = tail call i32 @fprintf_unfiltered(i32 noundef %44, ptr noundef nonnull %43, i32 noundef %46) #2 br label %48 48: ; preds = %42, %40, %41, %32 store i32 %33, ptr %0, align 4, !tbaa !6 br label %49 49: ; preds = %48, %1 ret void } declare i64 @serial_is_async_p(ptr noundef) local_unnamed_addr #1 declare i32 @delete_file_handler(i32 noundef) local_unnamed_addr #1 declare i32 @create_timer(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_file_handler(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @delete_timer(i32 noundef) local_unnamed_addr #1 declare i64 @serial_debug_p(ptr noundef) local_unnamed_addr #1 declare i32 @fprintf_unfiltered(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 = !{!"serial", !8, i64 0, !8, i64 4, !8, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 4} !13 = !{!8, !8, i64 0}
freebsd_contrib_gdb_gdb_extr_ser-unix.c_reschedule
; ModuleID = 'AnghaBench/freebsd/contrib/binutils/gas/config/extr_obj-coff.c_coff_pop_insert.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_obj-coff.c_coff_pop_insert.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @coff_pseudo_table = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @coff_pop_insert], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @coff_pop_insert() #0 { %1 = load i32, ptr @coff_pseudo_table, align 4, !tbaa !5 %2 = tail call i32 @pop_insert(i32 noundef %1) #2 ret void } declare i32 @pop_insert(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/contrib/binutils/gas/config/extr_obj-coff.c_coff_pop_insert.c' source_filename = "AnghaBench/freebsd/contrib/binutils/gas/config/extr_obj-coff.c_coff_pop_insert.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @coff_pseudo_table = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @coff_pop_insert], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @coff_pop_insert() #0 { %1 = load i32, ptr @coff_pseudo_table, align 4, !tbaa !6 %2 = tail call i32 @pop_insert(i32 noundef %1) #2 ret void } declare i32 @pop_insert(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_contrib_binutils_gas_config_extr_obj-coff.c_coff_pop_insert
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_decrypt_internal.c' source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_decrypt_internal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.debug_expect = type { i64 } @VARHDRSZ = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @decrypt_internal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @decrypt_internal(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca %struct.debug_expect, align 8 %10 = load i32, ptr @VARHDRSZ, align 4, !tbaa !5 %11 = zext i32 %10 to i64 %12 = alloca i32, i64 %11, align 16 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !9 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 %13 = call i32 @init_work(ptr noundef nonnull %8, i32 noundef %1, ptr noundef %5, ptr noundef nonnull %9) #3 %14 = call i64 @VARDATA_ANY(ptr noundef %2) #3 %15 = inttoptr i64 %14 to ptr %16 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef %2) #3 %17 = call ptr @mbuf_create_from_data(ptr noundef %15, i32 noundef %16) #3 %18 = call i64 @VARSIZE_ANY(ptr noundef %2) #3 %19 = add nsw i64 %18, 2048 %20 = call ptr @mbuf_create(i64 noundef %19) #3 %21 = load i32, ptr @VARHDRSZ, align 4, !tbaa !5 %22 = call i32 @mbuf_append(ptr noundef %20, ptr noundef nonnull %12, i32 noundef %21) #3 %23 = icmp eq i32 %0, 0 br i1 %23, label %37, label %24 24: ; preds = %6 %25 = icmp eq ptr %4, null br i1 %25, label %30, label %26 26: ; preds = %24 %27 = call i64 @VARDATA_ANY(ptr noundef nonnull %4) #3 %28 = inttoptr i64 %27 to ptr %29 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef nonnull %4) #3 br label %30 30: ; preds = %26, %24 %31 = phi ptr [ %28, %26 ], [ null, %24 ] %32 = phi i32 [ %29, %26 ], [ 0, %24 ] %33 = call ptr @create_mbuf_from_vardata(ptr noundef %3) #3 %34 = load ptr, ptr %8, align 8, !tbaa !9 %35 = call i32 @pgp_set_pubkey(ptr noundef %34, ptr noundef %33, ptr noundef %31, i32 noundef %32, i32 noundef 1) #3 %36 = call i32 @mbuf_free(ptr noundef %33) #3 br label %43 37: ; preds = %6 %38 = load ptr, ptr %8, align 8, !tbaa !9 %39 = call i64 @VARDATA_ANY(ptr noundef %3) #3 %40 = inttoptr i64 %39 to ptr %41 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef %3) #3 %42 = call i32 @pgp_set_symkey(ptr noundef %38, ptr noundef %40, i32 noundef %41) #3 br label %43 43: ; preds = %37, %30 %44 = phi i32 [ %35, %30 ], [ %42, %37 ] %45 = icmp sgt i32 %44, -1 br i1 %45, label %46, label %58 46: ; preds = %43 %47 = load ptr, ptr %8, align 8, !tbaa !9 %48 = call i32 @pgp_decrypt(ptr noundef %47, ptr noundef %17, ptr noundef %20) #3 %49 = load i64, ptr %9, align 8, !tbaa !11 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %46 %52 = load ptr, ptr %8, align 8, !tbaa !9 %53 = call i32 @check_expect(ptr noundef %52, ptr noundef nonnull %9) #3 br label %54 54: ; preds = %51, %46 %55 = load ptr, ptr %8, align 8, !tbaa !9 %56 = call i32 @pgp_get_unicode_mode(ptr noundef %55) #3 %57 = icmp ne i32 %56, 0 br label %58 58: ; preds = %54, %43 %59 = phi i1 [ %57, %54 ], [ false, %43 ] %60 = phi i32 [ %48, %54 ], [ %44, %43 ] %61 = call i32 @mbuf_free(ptr noundef %17) #3 %62 = load ptr, ptr %8, align 8, !tbaa !9 %63 = call i32 @pgp_free(ptr noundef %62) #3 %64 = icmp eq i32 %60, 0 br i1 %64, label %69, label %65 65: ; preds = %58 %66 = call i32 @px_set_debug_handler(ptr noundef null) #3 %67 = call i32 @mbuf_free(ptr noundef %20) #3 %68 = call i32 @px_THROW_ERROR(i32 noundef %60) #3 br label %69 69: ; preds = %65, %58 %70 = call i32 @mbuf_steal_data(ptr noundef %20, ptr noundef nonnull %7) #3 %71 = call i32 @mbuf_free(ptr noundef %20) #3 %72 = load ptr, ptr %7, align 8, !tbaa !9 %73 = call i32 @SET_VARSIZE(ptr noundef %72, i32 noundef %70) #3 %74 = icmp ne i32 %1, 0 %75 = select i1 %74, i1 %59, i1 false br i1 %75, label %76, label %81 76: ; preds = %69 %77 = call ptr @convert_from_utf8(ptr noundef %72) #3 %78 = icmp eq ptr %77, %72 br i1 %78, label %81, label %79 79: ; preds = %76 %80 = call i32 @clear_and_pfree(ptr noundef %72) #3 br label %81 81: ; preds = %76, %79, %69 %82 = phi ptr [ %72, %69 ], [ %77, %79 ], [ %72, %76 ] %83 = call i32 @px_set_debug_handler(ptr noundef null) #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 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @init_work(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @mbuf_create_from_data(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @VARDATA_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @VARSIZE_ANY_EXHDR(ptr noundef) local_unnamed_addr #2 declare ptr @mbuf_create(i64 noundef) local_unnamed_addr #2 declare i64 @VARSIZE_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @mbuf_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @create_mbuf_from_vardata(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_set_pubkey(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @pgp_set_symkey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pgp_decrypt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @check_expect(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pgp_get_unicode_mode(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_free(ptr noundef) local_unnamed_addr #2 declare i32 @px_set_debug_handler(ptr noundef) local_unnamed_addr #2 declare i32 @px_THROW_ERROR(i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_steal_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SET_VARSIZE(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @convert_from_utf8(ptr noundef) local_unnamed_addr #2 declare i32 @clear_and_pfree(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"debug_expect", !13, i64 0} !13 = !{!"long", !7, i64 0}
; ModuleID = 'AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_decrypt_internal.c' source_filename = "AnghaBench/postgres/contrib/pgcrypto/extr_pgp-pgsql.c_decrypt_internal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.debug_expect = type { i64 } @VARHDRSZ = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @decrypt_internal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @decrypt_internal(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 { %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca %struct.debug_expect, align 8 %10 = load i32, ptr @VARHDRSZ, align 4, !tbaa !6 %11 = zext i32 %10 to i64 %12 = alloca i32, i64 %11, align 4 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #3 store ptr null, ptr %8, align 8, !tbaa !10 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #3 %13 = call i32 @init_work(ptr noundef nonnull %8, i32 noundef %1, ptr noundef %5, ptr noundef nonnull %9) #3 %14 = call i64 @VARDATA_ANY(ptr noundef %2) #3 %15 = inttoptr i64 %14 to ptr %16 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef %2) #3 %17 = call ptr @mbuf_create_from_data(ptr noundef %15, i32 noundef %16) #3 %18 = call i64 @VARSIZE_ANY(ptr noundef %2) #3 %19 = add nsw i64 %18, 2048 %20 = call ptr @mbuf_create(i64 noundef %19) #3 %21 = load i32, ptr @VARHDRSZ, align 4, !tbaa !6 %22 = call i32 @mbuf_append(ptr noundef %20, ptr noundef nonnull %12, i32 noundef %21) #3 %23 = icmp eq i32 %0, 0 br i1 %23, label %37, label %24 24: ; preds = %6 %25 = icmp eq ptr %4, null br i1 %25, label %30, label %26 26: ; preds = %24 %27 = call i64 @VARDATA_ANY(ptr noundef nonnull %4) #3 %28 = inttoptr i64 %27 to ptr %29 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef nonnull %4) #3 br label %30 30: ; preds = %26, %24 %31 = phi ptr [ %28, %26 ], [ null, %24 ] %32 = phi i32 [ %29, %26 ], [ 0, %24 ] %33 = call ptr @create_mbuf_from_vardata(ptr noundef %3) #3 %34 = load ptr, ptr %8, align 8, !tbaa !10 %35 = call i32 @pgp_set_pubkey(ptr noundef %34, ptr noundef %33, ptr noundef %31, i32 noundef %32, i32 noundef 1) #3 %36 = call i32 @mbuf_free(ptr noundef %33) #3 br label %43 37: ; preds = %6 %38 = load ptr, ptr %8, align 8, !tbaa !10 %39 = call i64 @VARDATA_ANY(ptr noundef %3) #3 %40 = inttoptr i64 %39 to ptr %41 = call i32 @VARSIZE_ANY_EXHDR(ptr noundef %3) #3 %42 = call i32 @pgp_set_symkey(ptr noundef %38, ptr noundef %40, i32 noundef %41) #3 br label %43 43: ; preds = %37, %30 %44 = phi i32 [ %35, %30 ], [ %42, %37 ] %45 = icmp sgt i32 %44, -1 br i1 %45, label %46, label %58 46: ; preds = %43 %47 = load ptr, ptr %8, align 8, !tbaa !10 %48 = call i32 @pgp_decrypt(ptr noundef %47, ptr noundef %17, ptr noundef %20) #3 %49 = load i64, ptr %9, align 8, !tbaa !12 %50 = icmp eq i64 %49, 0 br i1 %50, label %54, label %51 51: ; preds = %46 %52 = load ptr, ptr %8, align 8, !tbaa !10 %53 = call i32 @check_expect(ptr noundef %52, ptr noundef nonnull %9) #3 br label %54 54: ; preds = %51, %46 %55 = load ptr, ptr %8, align 8, !tbaa !10 %56 = call i32 @pgp_get_unicode_mode(ptr noundef %55) #3 %57 = icmp ne i32 %56, 0 br label %58 58: ; preds = %54, %43 %59 = phi i1 [ %57, %54 ], [ false, %43 ] %60 = phi i32 [ %48, %54 ], [ %44, %43 ] %61 = call i32 @mbuf_free(ptr noundef %17) #3 %62 = load ptr, ptr %8, align 8, !tbaa !10 %63 = call i32 @pgp_free(ptr noundef %62) #3 %64 = icmp eq i32 %60, 0 br i1 %64, label %69, label %65 65: ; preds = %58 %66 = call i32 @px_set_debug_handler(ptr noundef null) #3 %67 = call i32 @mbuf_free(ptr noundef %20) #3 %68 = call i32 @px_THROW_ERROR(i32 noundef %60) #3 br label %69 69: ; preds = %65, %58 %70 = call i32 @mbuf_steal_data(ptr noundef %20, ptr noundef nonnull %7) #3 %71 = call i32 @mbuf_free(ptr noundef %20) #3 %72 = load ptr, ptr %7, align 8, !tbaa !10 %73 = call i32 @SET_VARSIZE(ptr noundef %72, i32 noundef %70) #3 %74 = icmp ne i32 %1, 0 %75 = select i1 %74, i1 %59, i1 false br i1 %75, label %76, label %81 76: ; preds = %69 %77 = call ptr @convert_from_utf8(ptr noundef %72) #3 %78 = icmp eq ptr %77, %72 br i1 %78, label %81, label %79 79: ; preds = %76 %80 = call i32 @clear_and_pfree(ptr noundef %72) #3 br label %81 81: ; preds = %76, %79, %69 %82 = phi ptr [ %72, %69 ], [ %77, %79 ], [ %72, %76 ] %83 = call i32 @px_set_debug_handler(ptr noundef null) #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 %82 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @init_work(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @mbuf_create_from_data(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @VARDATA_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @VARSIZE_ANY_EXHDR(ptr noundef) local_unnamed_addr #2 declare ptr @mbuf_create(i64 noundef) local_unnamed_addr #2 declare i64 @VARSIZE_ANY(ptr noundef) local_unnamed_addr #2 declare i32 @mbuf_append(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @create_mbuf_from_vardata(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_set_pubkey(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @pgp_set_symkey(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @pgp_decrypt(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @check_expect(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pgp_get_unicode_mode(ptr noundef) local_unnamed_addr #2 declare i32 @pgp_free(ptr noundef) local_unnamed_addr #2 declare i32 @px_set_debug_handler(ptr noundef) local_unnamed_addr #2 declare i32 @px_THROW_ERROR(i32 noundef) local_unnamed_addr #2 declare i32 @mbuf_steal_data(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @SET_VARSIZE(ptr noundef, i32 noundef) local_unnamed_addr #2 declare ptr @convert_from_utf8(ptr noundef) local_unnamed_addr #2 declare i32 @clear_and_pfree(ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"debug_expect", !14, i64 0} !14 = !{!"long", !8, i64 0}
postgres_contrib_pgcrypto_extr_pgp-pgsql.c_decrypt_internal
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_v360.c_equirect_to_xyz.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_v360.c_equirect_to_xyz.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @M_PI = dso_local local_unnamed_addr global float 0.000000e+00, align 4 @M_PI_2 = dso_local local_unnamed_addr global float 0.000000e+00, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @equirect_to_xyz], section "llvm.metadata" ; Function Attrs: mustprogress nofree nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: write) uwtable define internal void @equirect_to_xyz(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef writeonly %5) #0 { %7 = sitofp i32 %1 to float %8 = fmul float %7, 2.000000e+00 %9 = sitofp i32 %3 to float %10 = fdiv float %8, %9 %11 = fadd float %10, -1.000000e+00 %12 = load float, ptr @M_PI, align 4, !tbaa !5 %13 = fmul float %11, %12 %14 = sitofp i32 %2 to float %15 = fmul float %14, 2.000000e+00 %16 = sitofp i32 %4 to float %17 = fdiv float %15, %16 %18 = fadd float %17, -1.000000e+00 %19 = load float, ptr @M_PI_2, align 4, !tbaa !5 %20 = fmul float %18, %19 %21 = tail call float @sinf(float noundef %13) #2 %22 = tail call float @cosf(float noundef %13) #2 %23 = tail call float @sinf(float noundef %20) #2 %24 = tail call float @cosf(float noundef %20) #2 %25 = fmul float %21, %24 store float %25, ptr %5, align 4, !tbaa !5 %26 = fneg float %23 %27 = getelementptr inbounds float, ptr %5, i64 1 store float %26, ptr %27, align 4, !tbaa !5 %28 = fneg float %24 %29 = fmul float %22, %28 %30 = getelementptr inbounds float, ptr %5, i64 2 store float %29, ptr %30, align 4, !tbaa !5 ret void } ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) declare float @sinf(float noundef) local_unnamed_addr #1 ; Function Attrs: mustprogress nofree nounwind willreturn memory(write) declare float @cosf(float noundef) local_unnamed_addr #1 attributes #0 = { mustprogress nofree nounwind willreturn memory(readwrite, argmem: write, inaccessiblemem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"float", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/FFmpeg/libavfilter/extr_vf_v360.c_equirect_to_xyz.c' source_filename = "AnghaBench/FFmpeg/libavfilter/extr_vf_v360.c_equirect_to_xyz.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @M_PI = common local_unnamed_addr global float 0.000000e+00, align 4 @M_PI_2 = common local_unnamed_addr global float 0.000000e+00, align 4 @llvm.used = appending global [1 x ptr] [ptr @equirect_to_xyz], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) define internal void @equirect_to_xyz(ptr nocapture readnone %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr nocapture noundef writeonly %5) #0 { %7 = sitofp i32 %1 to float %8 = fmul float %7, 2.000000e+00 %9 = sitofp i32 %3 to float %10 = fdiv float %8, %9 %11 = fadd float %10, -1.000000e+00 %12 = load float, ptr @M_PI, align 4, !tbaa !6 %13 = fmul float %11, %12 %14 = sitofp i32 %2 to float %15 = fmul float %14, 2.000000e+00 %16 = sitofp i32 %4 to float %17 = fdiv float %15, %16 %18 = fadd float %17, -1.000000e+00 %19 = load float, ptr @M_PI_2, align 4, !tbaa !6 %20 = fmul float %18, %19 %21 = tail call float @llvm.sin.f32(float %13) %22 = tail call float @llvm.cos.f32(float %13) %23 = tail call float @llvm.sin.f32(float %20) %24 = tail call float @llvm.cos.f32(float %20) %25 = fmul float %21, %24 store float %25, ptr %5, align 4, !tbaa !6 %26 = fneg float %23 %27 = getelementptr inbounds i8, ptr %5, i64 4 store float %26, ptr %27, align 4, !tbaa !6 %28 = fneg float %24 %29 = fmul float %22, %28 %30 = getelementptr inbounds i8, ptr %5, i64 8 store float %29, ptr %30, align 4, !tbaa !6 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.sin.f32(float) #1 ; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) declare float @llvm.cos.f32(float) #1 attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: write, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"float", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
FFmpeg_libavfilter_extr_vf_v360.c_equirect_to_xyz
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_pre_reset_hw.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_pre_reset_hw.c" target datalayout = "e-m:e-p270:32:32-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.rt2x00_dev = type { ptr, ptr } %struct.rt2800_drv_data = type { i32, ptr } %struct.data_queue = type { i32, ptr } %struct.queue_entry = type { i32 } @WCID_START = dso_local local_unnamed_addr global i32 0, align 4 @WCID_END = dso_local local_unnamed_addr global i32 0, align 4 @ENTRY_BCN_ASSIGNED = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @rt2800_pre_reset_hw(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds %struct.rt2x00_dev, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %0, align 8, !tbaa !10 %5 = load i32, ptr @WCID_START, align 4, !tbaa !11 %6 = load i32, ptr @WCID_END, align 4, !tbaa !11 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = getelementptr inbounds %struct.rt2800_drv_data, ptr %3, i64 0, i32 1 br label %15 10: ; preds = %15, %1 %11 = load i32, ptr %4, align 8, !tbaa !13 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %37 13: ; preds = %10 %14 = getelementptr inbounds %struct.data_queue, ptr %4, i64 0, i32 1 br label %27 15: ; preds = %8, %15 %16 = phi i32 [ %5, %8 ], [ %24, %15 ] %17 = load ptr, ptr %9, align 8, !tbaa !15 %18 = load i32, ptr @WCID_START, align 4, !tbaa !11 %19 = sub nsw i32 %16, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %17, i64 %20 store ptr null, ptr %21, align 8, !tbaa !17 %22 = load i32, ptr %3, align 8, !tbaa !18 %23 = tail call i32 @__clear_bit(i32 noundef %19, i32 noundef %22) #2 %24 = add nsw i32 %16, 1 %25 = load i32, ptr @WCID_END, align 4, !tbaa !11 %26 = icmp slt i32 %24, %25 br i1 %26, label %15, label %10, !llvm.loop !19 27: ; preds = %13, %27 %28 = phi i64 [ 0, %13 ], [ %33, %27 ] %29 = load ptr, ptr %14, align 8, !tbaa !21 %30 = getelementptr inbounds %struct.queue_entry, ptr %29, i64 %28 %31 = load i32, ptr @ENTRY_BCN_ASSIGNED, align 4, !tbaa !11 %32 = tail call i32 @clear_bit(i32 noundef %31, ptr noundef %30) #2 %33 = add nuw nsw i64 %28, 1 %34 = load i32, ptr %4, align 8, !tbaa !13 %35 = sext i32 %34 to i64 %36 = icmp slt i64 %33, %35 br i1 %36, label %27, label %37, !llvm.loop !22 37: ; preds = %27, %10 ret void } declare i32 @__clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @clear_bit(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 8} !6 = !{!"rt2x00_dev", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"data_queue", !12, i64 0, !7, i64 8} !15 = !{!16, !7, i64 8} !16 = !{!"rt2800_drv_data", !12, i64 0, !7, i64 8} !17 = !{!7, !7, i64 0} !18 = !{!16, !12, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!14, !7, i64 8} !22 = distinct !{!22, !20}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_pre_reset_hw.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ralink/rt2x00/extr_rt2800lib.c_rt2800_pre_reset_hw.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.queue_entry = type { i32 } @WCID_START = common local_unnamed_addr global i32 0, align 4 @WCID_END = common local_unnamed_addr global i32 0, align 4 @ENTRY_BCN_ASSIGNED = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @rt2800_pre_reset_hw(ptr nocapture noundef readonly %0) local_unnamed_addr #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %0, align 8, !tbaa !11 %5 = load i32, ptr @WCID_START, align 4, !tbaa !12 %6 = load i32, ptr @WCID_END, align 4, !tbaa !12 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %10 8: ; preds = %1 %9 = getelementptr inbounds i8, ptr %3, i64 8 br label %15 10: ; preds = %15, %1 %11 = load i32, ptr %4, align 8, !tbaa !14 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %37 13: ; preds = %10 %14 = getelementptr inbounds i8, ptr %4, i64 8 br label %27 15: ; preds = %8, %15 %16 = phi i32 [ %5, %8 ], [ %24, %15 ] %17 = load ptr, ptr %9, align 8, !tbaa !16 %18 = load i32, ptr @WCID_START, align 4, !tbaa !12 %19 = sub nsw i32 %16, %18 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds ptr, ptr %17, i64 %20 store ptr null, ptr %21, align 8, !tbaa !18 %22 = load i32, ptr %3, align 8, !tbaa !19 %23 = tail call i32 @__clear_bit(i32 noundef %19, i32 noundef %22) #2 %24 = add nsw i32 %16, 1 %25 = load i32, ptr @WCID_END, align 4, !tbaa !12 %26 = icmp slt i32 %24, %25 br i1 %26, label %15, label %10, !llvm.loop !20 27: ; preds = %13, %27 %28 = phi i64 [ 0, %13 ], [ %33, %27 ] %29 = load ptr, ptr %14, align 8, !tbaa !22 %30 = getelementptr inbounds %struct.queue_entry, ptr %29, i64 %28 %31 = load i32, ptr @ENTRY_BCN_ASSIGNED, align 4, !tbaa !12 %32 = tail call i32 @clear_bit(i32 noundef %31, ptr noundef %30) #2 %33 = add nuw nsw i64 %28, 1 %34 = load i32, ptr %4, align 8, !tbaa !14 %35 = sext i32 %34 to i64 %36 = icmp slt i64 %33, %35 br i1 %36, label %27, label %37, !llvm.loop !23 37: ; preds = %27, %10 ret void } declare i32 @__clear_bit(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @clear_bit(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 8} !7 = !{!"rt2x00_dev", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"int", !9, i64 0} !14 = !{!15, !13, i64 0} !15 = !{!"data_queue", !13, i64 0, !8, i64 8} !16 = !{!17, !8, i64 8} !17 = !{!"rt2800_drv_data", !13, i64 0, !8, i64 8} !18 = !{!8, !8, i64 0} !19 = !{!17, !13, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!15, !8, i64 8} !23 = distinct !{!23, !21}
linux_drivers_net_wireless_ralink_rt2x00_extr_rt2800lib.c_rt2800_pre_reset_hw
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_set_target_input.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_set_target_input.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.psb_intel_sdvo_set_target_input_args = type { i32 } @SDVO_CMD_SET_TARGET_INPUT = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @psb_intel_sdvo_set_target_input], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @psb_intel_sdvo_set_target_input(ptr noundef %0) #0 { %2 = alloca %struct.psb_intel_sdvo_set_target_input_args, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4 %3 = load i32, ptr @SDVO_CMD_SET_TARGET_INPUT, align 4, !tbaa !5 %4 = call i32 @psb_intel_sdvo_set_value(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 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 declare i32 @psb_intel_sdvo_set_value(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, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_set_target_input.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/gma500/extr_psb_intel_sdvo.c_psb_intel_sdvo_set_target_input.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.psb_intel_sdvo_set_target_input_args = type { i32 } @SDVO_CMD_SET_TARGET_INPUT = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @psb_intel_sdvo_set_target_input], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @psb_intel_sdvo_set_target_input(ptr noundef %0) #0 { %2 = alloca %struct.psb_intel_sdvo_set_target_input_args, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3 store i32 0, ptr %2, align 4 %3 = load i32, ptr @SDVO_CMD_SET_TARGET_INPUT, align 4, !tbaa !6 %4 = call i32 @psb_intel_sdvo_set_value(ptr noundef %0, i32 noundef %3, ptr noundef nonnull %2, i32 noundef 4) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3 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 declare i32 @psb_intel_sdvo_set_value(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, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_gma500_extr_psb_intel_sdvo.c_psb_intel_sdvo_set_target_input
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_dcb_82598.c_ixgbe_dcb_hw_config_82598.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_dcb_82598.c_ixgbe_dcb_hw_config_82598.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @ixgbe_dcb_hw_config_82598(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @ixgbe_dcb_config_rx_arbiter_82598(ptr noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %5) #2 %8 = tail call i32 @ixgbe_dcb_config_tx_desc_arbiter_82598(ptr noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 %9 = tail call i32 @ixgbe_dcb_config_tx_data_arbiter_82598(ptr noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 %10 = tail call i32 @ixgbe_dcb_config_pfc_82598(ptr noundef %0, i32 noundef %1) #2 %11 = tail call i32 @ixgbe_dcb_config_tc_stats_82598(ptr noundef %0) #2 ret i32 0 } declare i32 @ixgbe_dcb_config_rx_arbiter_82598(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_tx_desc_arbiter_82598(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_tx_data_arbiter_82598(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_pfc_82598(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_tc_stats_82598(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/ixgbe/extr_ixgbe_dcb_82598.c_ixgbe_dcb_hw_config_82598.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/ixgbe/extr_ixgbe_dcb_82598.c_ixgbe_dcb_hw_config_82598.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @ixgbe_dcb_hw_config_82598(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 { %7 = tail call i32 @ixgbe_dcb_config_rx_arbiter_82598(ptr noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %5) #2 %8 = tail call i32 @ixgbe_dcb_config_tx_desc_arbiter_82598(ptr noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 %9 = tail call i32 @ixgbe_dcb_config_tx_data_arbiter_82598(ptr noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 %10 = tail call i32 @ixgbe_dcb_config_pfc_82598(ptr noundef %0, i32 noundef %1) #2 %11 = tail call i32 @ixgbe_dcb_config_tc_stats_82598(ptr noundef %0) #2 ret i32 0 } declare i32 @ixgbe_dcb_config_rx_arbiter_82598(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_tx_desc_arbiter_82598(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_tx_data_arbiter_82598(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_pfc_82598(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @ixgbe_dcb_config_tc_stats_82598(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_ixgbe_extr_ixgbe_dcb_82598.c_ixgbe_dcb_hw_config_82598
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_xlat.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_xlat.c" target datalayout = "e-m:e-p270:32:32-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.nvbios_init = type { i64, ptr } @.str = private unnamed_addr constant [84 x i8] c"INIT_XLAT\09R[0x%06x] &= 0x%08x |= (X%02x((R[0x%06x] %s 0x%02x) & 0x%02x) << 0x%02x)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"<<\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c">>\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @init_xlat], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @init_xlat(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.nvbios_init, ptr %0, i64 0, i32 1 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load ptr, ptr %3, align 8, !tbaa !11 %5 = load ptr, ptr %4, align 8, !tbaa !13 %6 = load i64, ptr %0, align 8, !tbaa !15 %7 = add nsw i64 %6, 1 %8 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !15 %10 = add nsw i64 %9, 5 %11 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %10) #2 %12 = load i64, ptr %0, align 8, !tbaa !15 %13 = add nsw i64 %12, 6 %14 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !15 %16 = add nsw i64 %15, 7 %17 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %16) #2 %18 = load i64, ptr %0, align 8, !tbaa !15 %19 = add nsw i64 %18, 8 %20 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %19) #2 %21 = load i64, ptr %0, align 8, !tbaa !15 %22 = add nsw i64 %21, 12 %23 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %22) #2 %24 = load i64, ptr %0, align 8, !tbaa !15 %25 = add nsw i64 %24, 16 %26 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %25) #2 %27 = and i32 %11, 128 %28 = icmp eq i32 %27, 0 %29 = select i1 %28, ptr @.str.2, ptr @.str.1 %30 = sub nsw i32 256, %11 %31 = select i1 %28, i32 %11, i32 %30 %32 = tail call i32 @trace(ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %23, i32 noundef %17, i32 noundef %8, ptr noundef nonnull %29, i32 noundef %31, i32 noundef %14, i32 noundef %26) #2 %33 = load i64, ptr %0, align 8, !tbaa !15 %34 = add nsw i64 %33, 17 store i64 %34, ptr %0, align 8, !tbaa !15 %35 = tail call i32 @init_rd32(ptr noundef nonnull %0, i32 noundef %8) #2 %36 = tail call i32 @init_shift(i32 noundef %35, i32 noundef %11) #2 %37 = and i32 %36, %14 %38 = tail call i32 @init_xlat_(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %37) #2 %39 = shl i32 %38, %26 %40 = xor i32 %23, -1 %41 = tail call i32 @init_mask(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %40, i32 noundef %39) #2 ret void } declare i32 @nvbios_rd32(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @nvbios_rd08(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @trace(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_shift(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_xlat_(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_mask(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, !10, i64 8} !6 = !{!"nvbios_init", !7, i64 0, !10, i64 8} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"any pointer", !8, i64 0} !11 = !{!12, !10, i64 0} !12 = !{!"TYPE_4__", !10, i64 0} !13 = !{!14, !10, i64 0} !14 = !{!"TYPE_3__", !10, i64 0} !15 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_xlat.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/extr_init.c_init_xlat.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 [84 x i8] c"INIT_XLAT\09R[0x%06x] &= 0x%08x |= (X%02x((R[0x%06x] %s 0x%02x) & 0x%02x) << 0x%02x)\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"<<\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c">>\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @init_xlat], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @init_xlat(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 8 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load ptr, ptr %3, align 8, !tbaa !12 %5 = load ptr, ptr %4, align 8, !tbaa !14 %6 = load i64, ptr %0, align 8, !tbaa !16 %7 = add nsw i64 %6, 1 %8 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %7) #2 %9 = load i64, ptr %0, align 8, !tbaa !16 %10 = add nsw i64 %9, 5 %11 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %10) #2 %12 = load i64, ptr %0, align 8, !tbaa !16 %13 = add nsw i64 %12, 6 %14 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %13) #2 %15 = load i64, ptr %0, align 8, !tbaa !16 %16 = add nsw i64 %15, 7 %17 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %16) #2 %18 = load i64, ptr %0, align 8, !tbaa !16 %19 = add nsw i64 %18, 8 %20 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %19) #2 %21 = load i64, ptr %0, align 8, !tbaa !16 %22 = add nsw i64 %21, 12 %23 = tail call i32 @nvbios_rd32(ptr noundef %5, i64 noundef %22) #2 %24 = load i64, ptr %0, align 8, !tbaa !16 %25 = add nsw i64 %24, 16 %26 = tail call i32 @nvbios_rd08(ptr noundef %5, i64 noundef %25) #2 %27 = and i32 %11, 128 %28 = icmp eq i32 %27, 0 %29 = select i1 %28, ptr @.str.2, ptr @.str.1 %30 = sub nsw i32 256, %11 %31 = select i1 %28, i32 %11, i32 %30 %32 = tail call i32 @trace(ptr noundef nonnull @.str, i32 noundef %20, i32 noundef %23, i32 noundef %17, i32 noundef %8, ptr noundef nonnull %29, i32 noundef %31, i32 noundef %14, i32 noundef %26) #2 %33 = load i64, ptr %0, align 8, !tbaa !16 %34 = add nsw i64 %33, 17 store i64 %34, ptr %0, align 8, !tbaa !16 %35 = tail call i32 @init_rd32(ptr noundef nonnull %0, i32 noundef %8) #2 %36 = tail call i32 @init_shift(i32 noundef %35, i32 noundef %11) #2 %37 = and i32 %36, %14 %38 = tail call i32 @init_xlat_(ptr noundef nonnull %0, i32 noundef %17, i32 noundef %37) #2 %39 = shl i32 %38, %26 %40 = xor i32 %23, -1 %41 = tail call i32 @init_mask(ptr noundef nonnull %0, i32 noundef %20, i32 noundef %40, i32 noundef %39) #2 ret void } declare i32 @nvbios_rd32(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @nvbios_rd08(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @trace(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_shift(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_rd32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_xlat_(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @init_mask(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, !11, i64 8} !7 = !{!"nvbios_init", !8, i64 0, !11, i64 8} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"TYPE_4__", !11, i64 0} !14 = !{!15, !11, i64 0} !15 = !{!"TYPE_3__", !11, i64 0} !16 = !{!7, !8, i64 0}
linux_drivers_gpu_drm_nouveau_nvkm_subdev_bios_extr_init.c_init_xlat
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_tnc.c_eap_tnc_build_start.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_tnc.c_eap_tnc_build_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EAP_VENDOR_IETF = dso_local local_unnamed_addr global i32 0, align 4 @EAP_TYPE_TNC = dso_local local_unnamed_addr global i32 0, align 4 @EAP_CODE_REQUEST = dso_local local_unnamed_addr global i32 0, align 4 @MSG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"EAP-TNC: Failed to allocate memory for request\00", align 1 @FAIL = dso_local local_unnamed_addr global i32 0, align 4 @EAP_TNC_FLAGS_START = dso_local local_unnamed_addr global i32 0, align 4 @EAP_TNC_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @CONTINUE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @eap_tnc_build_start], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @eap_tnc_build_start(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @EAP_VENDOR_IETF, align 4, !tbaa !5 %5 = load i32, ptr @EAP_TYPE_TNC, align 4, !tbaa !5 %6 = load i32, ptr @EAP_CODE_REQUEST, align 4, !tbaa !5 %7 = tail call ptr @eap_msg_alloc(i32 noundef %4, i32 noundef %5, i32 noundef 1, i32 noundef %6, i32 noundef %2) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr @MSG_ERROR, align 4, !tbaa !5 %11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str) #2 br label %17 12: ; preds = %3 %13 = load i32, ptr @EAP_TNC_FLAGS_START, align 4, !tbaa !5 %14 = load i32, ptr @EAP_TNC_VERSION, align 4, !tbaa !5 %15 = or i32 %14, %13 %16 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %7, i32 noundef %15) #2 br label %17 17: ; preds = %12, %9 %18 = phi ptr [ @CONTINUE, %12 ], [ @FAIL, %9 ] %19 = load i32, ptr %18, align 4, !tbaa !5 %20 = tail call i32 @eap_tnc_set_state(ptr noundef %1, i32 noundef %19) #2 ret ptr %7 } declare ptr @eap_msg_alloc(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @eap_tnc_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_tnc.c_eap_tnc_build_start.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_eap_server_tnc.c_eap_tnc_build_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EAP_VENDOR_IETF = common local_unnamed_addr global i32 0, align 4 @EAP_TYPE_TNC = common local_unnamed_addr global i32 0, align 4 @EAP_CODE_REQUEST = common local_unnamed_addr global i32 0, align 4 @MSG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [47 x i8] c"EAP-TNC: Failed to allocate memory for request\00", align 1 @FAIL = common local_unnamed_addr global i32 0, align 4 @EAP_TNC_FLAGS_START = common local_unnamed_addr global i32 0, align 4 @EAP_TNC_VERSION = common local_unnamed_addr global i32 0, align 4 @CONTINUE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @eap_tnc_build_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @eap_tnc_build_start(ptr nocapture readnone %0, ptr noundef %1, i32 noundef %2) #0 { %4 = load i32, ptr @EAP_VENDOR_IETF, align 4, !tbaa !6 %5 = load i32, ptr @EAP_TYPE_TNC, align 4, !tbaa !6 %6 = load i32, ptr @EAP_CODE_REQUEST, align 4, !tbaa !6 %7 = tail call ptr @eap_msg_alloc(i32 noundef %4, i32 noundef %5, i32 noundef 1, i32 noundef %6, i32 noundef %2) #2 %8 = icmp eq ptr %7, null br i1 %8, label %9, label %12 9: ; preds = %3 %10 = load i32, ptr @MSG_ERROR, align 4, !tbaa !6 %11 = tail call i32 @wpa_printf(i32 noundef %10, ptr noundef nonnull @.str) #2 br label %17 12: ; preds = %3 %13 = load i32, ptr @EAP_TNC_FLAGS_START, align 4, !tbaa !6 %14 = load i32, ptr @EAP_TNC_VERSION, align 4, !tbaa !6 %15 = or i32 %14, %13 %16 = tail call i32 @wpabuf_put_u8(ptr noundef nonnull %7, i32 noundef %15) #2 br label %17 17: ; preds = %12, %9 %18 = phi ptr [ @CONTINUE, %12 ], [ @FAIL, %9 ] %19 = load i32, ptr %18, align 4, !tbaa !6 %20 = tail call i32 @eap_tnc_set_state(ptr noundef %1, i32 noundef %19) #2 ret ptr %7 } declare ptr @eap_msg_alloc(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpa_printf(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @eap_tnc_set_state(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_u8(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_wpa_src_eap_server_extr_eap_server_tnc.c_eap_tnc_build_start
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_group.c_p2p_group_notif_noa.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_group.c_p2p_group_notif_noa.c" target datalayout = "e-m:e-p270:32:32-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.p2p_group = type { i32, ptr } ; Function Attrs: nounwind uwtable define dso_local noundef i32 @p2p_group_notif_noa(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null %5 = getelementptr inbounds %struct.p2p_group, ptr %0, i64 0, i32 1 %6 = load ptr, ptr %5, align 8, !tbaa !5 br i1 %4, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @wpabuf_free(ptr noundef %6) #2 store ptr null, ptr %5, align 8, !tbaa !5 br label %24 9: ; preds = %3 %10 = icmp eq ptr %6, null br i1 %10, label %21, label %11 11: ; preds = %9 %12 = tail call i64 @wpabuf_size(ptr noundef nonnull %6) #2 %13 = icmp ult i64 %12, %2 %14 = load ptr, ptr %5, align 8, !tbaa !5 br i1 %13, label %15, label %17 15: ; preds = %11 %16 = tail call i32 @wpabuf_free(ptr noundef %14) #2 store ptr null, ptr %5, align 8, !tbaa !5 br label %21 17: ; preds = %11 store i64 0, ptr %14, align 8, !tbaa !11 %18 = tail call i32 @wpabuf_put_data(ptr noundef nonnull %14, ptr noundef nonnull %1, i64 noundef %2) #2 %19 = load ptr, ptr %5, align 8, !tbaa !5 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %9, %15, %17 %22 = tail call ptr @wpabuf_alloc_copy(ptr noundef nonnull %1, i64 noundef %2) #2 store ptr %22, ptr %5, align 8, !tbaa !5 %23 = icmp eq ptr %22, null br i1 %23, label %26, label %24 24: ; preds = %17, %21, %7 store i32 1, ptr %0, align 8, !tbaa !14 %25 = tail call i32 @p2p_group_update_ies(ptr noundef nonnull %0) #2 br label %26 26: ; preds = %21, %24 %27 = phi i32 [ 0, %24 ], [ -1, %21 ] ret i32 %27 } declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #1 declare i64 @wpabuf_size(ptr noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_data(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @wpabuf_alloc_copy(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @p2p_group_update_ies(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 = !{!"p2p_group", !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_5__", !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_group.c_p2p_group_notif_noa.c' source_filename = "AnghaBench/freebsd/contrib/wpa/src/p2p/extr_p2p_group.c_p2p_group_notif_noa.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -1, 1) i32 @p2p_group_notif_noa(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = icmp eq ptr %1, null %5 = getelementptr inbounds i8, ptr %0, i64 8 %6 = load ptr, ptr %5, align 8, !tbaa !6 br i1 %4, label %7, label %9 7: ; preds = %3 %8 = tail call i32 @wpabuf_free(ptr noundef %6) #2 store ptr null, ptr %5, align 8, !tbaa !6 br label %24 9: ; preds = %3 %10 = icmp eq ptr %6, null br i1 %10, label %21, label %11 11: ; preds = %9 %12 = tail call i64 @wpabuf_size(ptr noundef nonnull %6) #2 %13 = icmp ult i64 %12, %2 %14 = load ptr, ptr %5, align 8, !tbaa !6 br i1 %13, label %15, label %17 15: ; preds = %11 %16 = tail call i32 @wpabuf_free(ptr noundef %14) #2 store ptr null, ptr %5, align 8, !tbaa !6 br label %21 17: ; preds = %11 store i64 0, ptr %14, align 8, !tbaa !12 %18 = tail call i32 @wpabuf_put_data(ptr noundef nonnull %14, ptr noundef nonnull %1, i64 noundef %2) #2 %19 = load ptr, ptr %5, align 8, !tbaa !6 %20 = icmp eq ptr %19, null br i1 %20, label %21, label %24 21: ; preds = %9, %15, %17 %22 = tail call ptr @wpabuf_alloc_copy(ptr noundef nonnull %1, i64 noundef %2) #2 store ptr %22, ptr %5, align 8, !tbaa !6 %23 = icmp eq ptr %22, null br i1 %23, label %26, label %24 24: ; preds = %17, %21, %7 store i32 1, ptr %0, align 8, !tbaa !15 %25 = tail call i32 @p2p_group_update_ies(ptr noundef nonnull %0) #2 br label %26 26: ; preds = %21, %24 %27 = phi i32 [ 0, %24 ], [ -1, %21 ] ret i32 %27 } declare i32 @wpabuf_free(ptr noundef) local_unnamed_addr #1 declare i64 @wpabuf_size(ptr noundef) local_unnamed_addr #1 declare i32 @wpabuf_put_data(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare ptr @wpabuf_alloc_copy(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @p2p_group_update_ies(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 = !{!"p2p_group", !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_5__", !14, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!7, !8, i64 0}
freebsd_contrib_wpa_src_p2p_extr_p2p_group.c_p2p_group_notif_noa
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress_thread.c_wake_one_timeout.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress_thread.c_wake_one_timeout.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.cond_wait = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @wake_one_timeout], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @wake_one_timeout(i32 %0, i16 signext %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !5 %5 = tail call i32 @EVLOCK_LOCK(i32 noundef %4, i32 noundef 0) #2 %6 = getelementptr inbounds %struct.cond_wait, ptr %2, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !10 %8 = tail call i32 @EVTHREAD_COND_SIGNAL(i32 noundef %7) #2 %9 = load i32, ptr %2, align 4, !tbaa !5 %10 = tail call i32 @EVLOCK_UNLOCK(i32 noundef %9, i32 noundef 0) #2 ret void } declare i32 @EVLOCK_LOCK(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EVTHREAD_COND_SIGNAL(i32 noundef) local_unnamed_addr #1 declare i32 @EVLOCK_UNLOCK(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 = !{!"cond_wait", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress_thread.c_wake_one_timeout.c' source_filename = "AnghaBench/freebsd/contrib/ntp/sntp/libevent/test/extr_regress_thread.c_wake_one_timeout.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 @wake_one_timeout], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @wake_one_timeout(i32 %0, i16 signext %1, ptr nocapture noundef readonly %2) #0 { %4 = load i32, ptr %2, align 4, !tbaa !6 %5 = tail call i32 @EVLOCK_LOCK(i32 noundef %4, i32 noundef 0) #2 %6 = getelementptr inbounds i8, ptr %2, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !11 %8 = tail call i32 @EVTHREAD_COND_SIGNAL(i32 noundef %7) #2 %9 = load i32, ptr %2, align 4, !tbaa !6 %10 = tail call i32 @EVLOCK_UNLOCK(i32 noundef %9, i32 noundef 0) #2 ret void } declare i32 @EVLOCK_LOCK(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @EVTHREAD_COND_SIGNAL(i32 noundef) local_unnamed_addr #1 declare i32 @EVLOCK_UNLOCK(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 = !{!"cond_wait", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4}
freebsd_contrib_ntp_sntp_libevent_test_extr_regress_thread.c_wake_one_timeout
; ModuleID = 'AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_MovePageDown_ML.c' source_filename = "AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_MovePageDown_ML.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_9__ = type { i16, i16, i32, %struct.TYPE_8__ } %struct.TYPE_8__ = type { i16, i16 } @EF_AFTER_WRAP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @EDIT_MovePageDown_ML], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @EDIT_MovePageDown_ML(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = load i16, ptr %0, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 1 %6 = load i16, ptr %5, align 2, !tbaa !12 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %7 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 2 %8 = load i32, ptr %7, align 4, !tbaa !13 %9 = load i32, ptr @EF_AFTER_WRAP, align 4, !tbaa !14 %10 = and i32 %9, %8 store i32 %10, ptr %3, align 4, !tbaa !14 %11 = tail call i32 @EDIT_EM_PosFromChar(ptr noundef nonnull %0, i16 noundef signext %6, i32 noundef %10) #3 %12 = tail call i64 @LOWORD(i32 noundef %11) #3 %13 = trunc i64 %12 to i16 %14 = tail call i64 @HIWORD(i32 noundef %11) #3 %15 = trunc i64 %14 to i16 %16 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3 %17 = load i16, ptr %16, align 4, !tbaa !15 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %0, i64 0, i32 3, i32 1 %19 = load i16, ptr %18, align 2, !tbaa !16 %20 = add i16 %17, %15 %21 = sub i16 %20, %19 %22 = call signext i16 @EDIT_CharFromPos(ptr noundef nonnull %0, i16 noundef signext %13, i16 noundef signext %21, ptr noundef nonnull %3) #3 %23 = icmp eq i32 %1, 0 %24 = select i1 %23, i16 %22, i16 %4 %25 = load i32, ptr %3, align 4, !tbaa !14 %26 = call i32 @EDIT_EM_SetSel(ptr noundef nonnull %0, i16 noundef signext %24, i16 noundef signext %22, i32 noundef %25) #3 %27 = call i32 @EDIT_EM_ScrollCaret(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EDIT_EM_PosFromChar(ptr noundef, i16 noundef signext, i32 noundef) local_unnamed_addr #2 declare i64 @LOWORD(i32 noundef) local_unnamed_addr #2 declare i64 @HIWORD(i32 noundef) local_unnamed_addr #2 declare signext i16 @EDIT_CharFromPos(ptr noundef, i16 noundef signext, i16 noundef signext, ptr noundef) local_unnamed_addr #2 declare i32 @EDIT_EM_SetSel(ptr noundef, i16 noundef signext, i16 noundef signext, i32 noundef) local_unnamed_addr #2 declare i32 @EDIT_EM_ScrollCaret(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_9__", !7, i64 0, !7, i64 2, !10, i64 4, !11, i64 8} !7 = !{!"short", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!"TYPE_8__", !7, i64 0, !7, i64 2} !12 = !{!6, !7, i64 2} !13 = !{!6, !10, i64 4} !14 = !{!10, !10, i64 0} !15 = !{!6, !7, i64 8} !16 = !{!6, !7, i64 10}
; ModuleID = 'AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_MovePageDown_ML.c' source_filename = "AnghaBench/reactos/win32ss/user/user32/controls/extr_edit.c_EDIT_MovePageDown_ML.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EF_AFTER_WRAP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @EDIT_MovePageDown_ML], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @EDIT_MovePageDown_ML(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = load i16, ptr %0, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %0, i64 2 %6 = load i16, ptr %5, align 2, !tbaa !13 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %7 = getelementptr inbounds i8, ptr %0, i64 4 %8 = load i32, ptr %7, align 4, !tbaa !14 %9 = load i32, ptr @EF_AFTER_WRAP, align 4, !tbaa !15 %10 = and i32 %9, %8 store i32 %10, ptr %3, align 4, !tbaa !15 %11 = tail call i32 @EDIT_EM_PosFromChar(ptr noundef nonnull %0, i16 noundef signext %6, i32 noundef %10) #3 %12 = tail call i64 @LOWORD(i32 noundef %11) #3 %13 = trunc i64 %12 to i16 %14 = tail call i64 @HIWORD(i32 noundef %11) #3 %15 = trunc i64 %14 to i16 %16 = getelementptr inbounds i8, ptr %0, i64 8 %17 = load i16, ptr %16, align 4, !tbaa !16 %18 = getelementptr inbounds i8, ptr %0, i64 10 %19 = load i16, ptr %18, align 2, !tbaa !17 %20 = add i16 %17, %15 %21 = sub i16 %20, %19 %22 = call signext i16 @EDIT_CharFromPos(ptr noundef nonnull %0, i16 noundef signext %13, i16 noundef signext %21, ptr noundef nonnull %3) #3 %23 = icmp eq i32 %1, 0 %24 = select i1 %23, i16 %22, i16 %4 %25 = load i32, ptr %3, align 4, !tbaa !15 %26 = call i32 @EDIT_EM_SetSel(ptr noundef nonnull %0, i16 noundef signext %24, i16 noundef signext %22, i32 noundef %25) #3 %27 = call i32 @EDIT_EM_ScrollCaret(ptr noundef nonnull %0) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @EDIT_EM_PosFromChar(ptr noundef, i16 noundef signext, i32 noundef) local_unnamed_addr #2 declare i64 @LOWORD(i32 noundef) local_unnamed_addr #2 declare i64 @HIWORD(i32 noundef) local_unnamed_addr #2 declare signext i16 @EDIT_CharFromPos(ptr noundef, i16 noundef signext, i16 noundef signext, ptr noundef) local_unnamed_addr #2 declare i32 @EDIT_EM_SetSel(ptr noundef, i16 noundef signext, i16 noundef signext, i32 noundef) local_unnamed_addr #2 declare i32 @EDIT_EM_ScrollCaret(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_9__", !8, i64 0, !8, i64 2, !11, i64 4, !12, i64 8} !8 = !{!"short", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!"TYPE_8__", !8, i64 0, !8, i64 2} !13 = !{!7, !8, i64 2} !14 = !{!7, !11, i64 4} !15 = !{!11, !11, i64 0} !16 = !{!7, !8, i64 8} !17 = !{!7, !8, i64 10}
reactos_win32ss_user_user32_controls_extr_edit.c_EDIT_MovePageDown_ML
; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_7101_set_link_led.c' source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_7101_set_link_led.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MDIO_PMA_DEVAD = dso_local local_unnamed_addr global i32 0, align 4 @MDIO_PMA_REG_7107_LINK_LED_CNTL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @elink_7101_set_link_led], section "llvm.metadata" @switch.table.elink_7101_set_link_led = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 2], align 4 ; Function Attrs: nounwind uwtable define internal void @elink_7101_set_link_led(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !5 %5 = add i32 %2, -129 %6 = icmp ult i32 %5, 3 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = zext nneg i32 %5 to i64 %9 = getelementptr inbounds [3 x i32], ptr @switch.table.elink_7101_set_link_led, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 br label %11 11: ; preds = %7, %3 %12 = phi i32 [ 0, %3 ], [ %10, %7 ] %13 = load i32, ptr @MDIO_PMA_DEVAD, align 4, !tbaa !10 %14 = load i32, ptr @MDIO_PMA_REG_7107_LINK_LED_CNTL, align 4, !tbaa !10 %15 = tail call i32 @elink_cl45_write(ptr noundef %4, ptr noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef %12) #2 ret void } declare i32 @elink_cl45_write(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"elink_params", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_7101_set_link_led.c' source_filename = "AnghaBench/freebsd/sys/dev/bxe/extr_bxe_elink.c_elink_7101_set_link_led.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MDIO_PMA_DEVAD = common local_unnamed_addr global i32 0, align 4 @MDIO_PMA_REG_7107_LINK_LED_CNTL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @elink_7101_set_link_led], section "llvm.metadata" @switch.table.elink_7101_set_link_led = private unnamed_addr constant [3 x i32] [i32 1, i32 2, i32 2], align 4 ; Function Attrs: nounwind ssp uwtable(sync) define internal void @elink_7101_set_link_led(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = load ptr, ptr %1, align 8, !tbaa !6 %5 = add i32 %2, -129 %6 = icmp ult i32 %5, 3 br i1 %6, label %7, label %11 7: ; preds = %3 %8 = zext nneg i32 %5 to i64 %9 = getelementptr inbounds [3 x i32], ptr @switch.table.elink_7101_set_link_led, i64 0, i64 %8 %10 = load i32, ptr %9, align 4 br label %11 11: ; preds = %7, %3 %12 = phi i32 [ 0, %3 ], [ %10, %7 ] %13 = load i32, ptr @MDIO_PMA_DEVAD, align 4, !tbaa !11 %14 = load i32, ptr @MDIO_PMA_REG_7107_LINK_LED_CNTL, align 4, !tbaa !11 %15 = tail call i32 @elink_cl45_write(ptr noundef %4, ptr noundef %0, i32 noundef %13, i32 noundef %14, i32 noundef %12) #2 ret void } declare i32 @elink_cl45_write(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"elink_params", !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}
freebsd_sys_dev_bxe_extr_bxe_elink.c_elink_7101_set_link_led
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_dir.c_gfs2_dir_readahead.c' source_filename = "AnghaBench/linux/fs/gfs2/extr_dir.c_gfs2_dir_readahead.c" target datalayout = "e-m:e-p270:32:32-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.gfs2_inode = type { ptr, ptr } @MAX_RA_BLOCKS = dso_local local_unnamed_addr global i32 0, align 4 @end_buffer_read_sync = dso_local local_unnamed_addr global i32 0, align 4 @REQ_OP_READ = dso_local local_unnamed_addr global i32 0, align 4 @REQ_RAHEAD = dso_local local_unnamed_addr global i32 0, align 4 @REQ_META = dso_local local_unnamed_addr global i32 0, align 4 @REQ_PRIO = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @gfs2_dir_readahead], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gfs2_dir_readahead(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = tail call ptr @GFS2_I(ptr noundef %0) #2 %6 = getelementptr inbounds %struct.gfs2_inode, ptr %5, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !5 %8 = load i32, ptr @MAX_RA_BLOCKS, align 4, !tbaa !10 %9 = add i32 %8, %2 %10 = load i32, ptr %3, align 4, !tbaa !12 %11 = icmp ult i32 %9, %10 br i1 %11, label %55, label %12 12: ; preds = %4 %13 = tail call i32 @max(i32 noundef %2, i32 noundef %10) #2 store i32 %13, ptr %3, align 4, !tbaa !12 %14 = load i32, ptr @MAX_RA_BLOCKS, align 4, !tbaa !10 %15 = icmp eq i32 %14, 0 br i1 %15, label %55, label %16 16: ; preds = %12, %51 %17 = phi i32 [ %52, %51 ], [ 0, %12 ] %18 = phi i64 [ %26, %51 ], [ 0, %12 ] %19 = load i32, ptr %3, align 4, !tbaa !12 %20 = icmp ult i32 %19, %1 br i1 %20, label %21, label %55 21: ; preds = %16 %22 = load ptr, ptr %5, align 8, !tbaa !14 %23 = zext i32 %19 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4, !tbaa !10 %26 = tail call i64 @be64_to_cpu(i32 noundef %25) #2 %27 = load i32, ptr %3, align 4, !tbaa !12 %28 = add i32 %27, 1 store i32 %28, ptr %3, align 4, !tbaa !12 %29 = icmp eq i64 %26, %18 br i1 %29, label %51, label %30 30: ; preds = %21 %31 = tail call ptr @gfs2_getbuf(ptr noundef %7, i64 noundef %26, i32 noundef 1) #2 %32 = tail call i64 @trylock_buffer(ptr noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %49, label %34 34: ; preds = %30 %35 = tail call i64 @buffer_uptodate(ptr noundef %31) #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = tail call i32 @unlock_buffer(ptr noundef %31) #2 %39 = tail call i32 @brelse(ptr noundef %31) #2 br label %51 40: ; preds = %34 %41 = load i32, ptr @end_buffer_read_sync, align 4, !tbaa !10 store i32 %41, ptr %31, align 4, !tbaa !15 %42 = load i32, ptr @REQ_OP_READ, align 4, !tbaa !10 %43 = load i32, ptr @REQ_RAHEAD, align 4, !tbaa !10 %44 = load i32, ptr @REQ_META, align 4, !tbaa !10 %45 = or i32 %44, %43 %46 = load i32, ptr @REQ_PRIO, align 4, !tbaa !10 %47 = or i32 %45, %46 %48 = tail call i32 @submit_bh(i32 noundef %42, i32 noundef %47, ptr noundef nonnull %31) #2 br label %51 49: ; preds = %30 %50 = tail call i32 @brelse(ptr noundef %31) #2 br label %51 51: ; preds = %21, %49, %40, %37 %52 = add nuw i32 %17, 1 %53 = load i32, ptr @MAX_RA_BLOCKS, align 4, !tbaa !10 %54 = icmp ult i32 %52, %53 br i1 %54, label %16, label %55, !llvm.loop !17 55: ; preds = %16, %51, %12, %4 ret void } declare ptr @GFS2_I(ptr noundef) local_unnamed_addr #1 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @be64_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @gfs2_getbuf(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @trylock_buffer(ptr noundef) local_unnamed_addr #1 declare i64 @buffer_uptodate(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @brelse(ptr noundef) local_unnamed_addr #1 declare i32 @submit_bh(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 8} !6 = !{!"gfs2_inode", !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, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 0} !13 = !{!"file_ra_state", !11, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"buffer_head", !11, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/fs/gfs2/extr_dir.c_gfs2_dir_readahead.c' source_filename = "AnghaBench/linux/fs/gfs2/extr_dir.c_gfs2_dir_readahead.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_RA_BLOCKS = common local_unnamed_addr global i32 0, align 4 @end_buffer_read_sync = common local_unnamed_addr global i32 0, align 4 @REQ_OP_READ = common local_unnamed_addr global i32 0, align 4 @REQ_RAHEAD = common local_unnamed_addr global i32 0, align 4 @REQ_META = common local_unnamed_addr global i32 0, align 4 @REQ_PRIO = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @gfs2_dir_readahead], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gfs2_dir_readahead(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr nocapture noundef %3) #0 { %5 = tail call ptr @GFS2_I(ptr noundef %0) #2 %6 = getelementptr inbounds i8, ptr %5, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !6 %8 = load i32, ptr @MAX_RA_BLOCKS, align 4, !tbaa !11 %9 = add i32 %8, %2 %10 = load i32, ptr %3, align 4, !tbaa !13 %11 = icmp ult i32 %9, %10 br i1 %11, label %55, label %12 12: ; preds = %4 %13 = tail call i32 @max(i32 noundef %2, i32 noundef %10) #2 store i32 %13, ptr %3, align 4, !tbaa !13 %14 = load i32, ptr @MAX_RA_BLOCKS, align 4, !tbaa !11 %15 = icmp eq i32 %14, 0 br i1 %15, label %55, label %16 16: ; preds = %12, %51 %17 = phi i32 [ %52, %51 ], [ 0, %12 ] %18 = phi i64 [ %26, %51 ], [ 0, %12 ] %19 = load i32, ptr %3, align 4, !tbaa !13 %20 = icmp ult i32 %19, %1 br i1 %20, label %21, label %55 21: ; preds = %16 %22 = load ptr, ptr %5, align 8, !tbaa !15 %23 = zext i32 %19 to i64 %24 = getelementptr inbounds i32, ptr %22, i64 %23 %25 = load i32, ptr %24, align 4, !tbaa !11 %26 = tail call i64 @be64_to_cpu(i32 noundef %25) #2 %27 = load i32, ptr %3, align 4, !tbaa !13 %28 = add i32 %27, 1 store i32 %28, ptr %3, align 4, !tbaa !13 %29 = icmp eq i64 %26, %18 br i1 %29, label %51, label %30 30: ; preds = %21 %31 = tail call ptr @gfs2_getbuf(ptr noundef %7, i64 noundef %26, i32 noundef 1) #2 %32 = tail call i64 @trylock_buffer(ptr noundef %31) #2 %33 = icmp eq i64 %32, 0 br i1 %33, label %49, label %34 34: ; preds = %30 %35 = tail call i64 @buffer_uptodate(ptr noundef %31) #2 %36 = icmp eq i64 %35, 0 br i1 %36, label %40, label %37 37: ; preds = %34 %38 = tail call i32 @unlock_buffer(ptr noundef %31) #2 %39 = tail call i32 @brelse(ptr noundef %31) #2 br label %51 40: ; preds = %34 %41 = load i32, ptr @end_buffer_read_sync, align 4, !tbaa !11 store i32 %41, ptr %31, align 4, !tbaa !16 %42 = load i32, ptr @REQ_OP_READ, align 4, !tbaa !11 %43 = load i32, ptr @REQ_RAHEAD, align 4, !tbaa !11 %44 = load i32, ptr @REQ_META, align 4, !tbaa !11 %45 = or i32 %44, %43 %46 = load i32, ptr @REQ_PRIO, align 4, !tbaa !11 %47 = or i32 %45, %46 %48 = tail call i32 @submit_bh(i32 noundef %42, i32 noundef %47, ptr noundef nonnull %31) #2 br label %51 49: ; preds = %30 %50 = tail call i32 @brelse(ptr noundef %31) #2 br label %51 51: ; preds = %21, %49, %40, %37 %52 = add nuw i32 %17, 1 %53 = load i32, ptr @MAX_RA_BLOCKS, align 4, !tbaa !11 %54 = icmp ult i32 %52, %53 br i1 %54, label %16, label %55, !llvm.loop !18 55: ; preds = %16, %51, %12, %4 ret void } declare ptr @GFS2_I(ptr noundef) local_unnamed_addr #1 declare i32 @max(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @be64_to_cpu(i32 noundef) local_unnamed_addr #1 declare ptr @gfs2_getbuf(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @trylock_buffer(ptr noundef) local_unnamed_addr #1 declare i64 @buffer_uptodate(ptr noundef) local_unnamed_addr #1 declare i32 @unlock_buffer(ptr noundef) local_unnamed_addr #1 declare i32 @brelse(ptr noundef) local_unnamed_addr #1 declare i32 @submit_bh(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 8} !7 = !{!"gfs2_inode", !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, !12, i64 0} !12 = !{!"int", !9, i64 0} !13 = !{!14, !12, i64 0} !14 = !{!"file_ra_state", !12, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!17, !12, i64 0} !17 = !{!"buffer_head", !12, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
linux_fs_gfs2_extr_dir.c_gfs2_dir_readahead
; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_file.c_h2o_file_register_configurator.c' source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_file.c_h2o_file_register_configurator.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_4__ = type { i32, i32 } %struct.st_h2o_file_configurator_t = type { %struct.TYPE_4__, ptr, ptr } @on_config_enter = dso_local local_unnamed_addr global i32 0, align 4 @on_config_exit = dso_local local_unnamed_addr global i32 0, align 4 @h2o_file_default_index_files = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"file.dir\00", align 1 @H2O_CONFIGURATOR_FLAG_PATH = dso_local local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR = dso_local local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_DEFERRED = dso_local local_unnamed_addr global i32 0, align 4 @on_config_dir = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"file.file\00", align 1 @on_config_file = dso_local local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"file.index\00", align 1 @H2O_CONFIGURATOR_FLAG_ALL_LEVELS = dso_local local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_EXTENSION = dso_local local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_EXPECT_SEQUENCE = dso_local local_unnamed_addr global i32 0, align 4 @on_config_index = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"file.etag\00", align 1 @on_config_etag = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [21 x i8] c"file.send-compressed\00", align 1 @on_config_send_compressed = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [15 x i8] c"file.send-gzip\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"file.dirlisting\00", align 1 @on_config_dir_listing = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @h2o_file_register_configurator(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @h2o_configurator_create(ptr noundef %0, i32 noundef 24) #2 %3 = inttoptr i64 %2 to ptr %4 = load i32, ptr @on_config_enter, align 4, !tbaa !5 %5 = getelementptr inbounds %struct.TYPE_4__, ptr %3, i64 0, i32 1 store i32 %4, ptr %5, align 4, !tbaa !9 %6 = load i32, ptr @on_config_exit, align 4, !tbaa !5 store i32 %6, ptr %3, align 8, !tbaa !13 %7 = getelementptr inbounds %struct.st_h2o_file_configurator_t, ptr %3, i64 0, i32 2 %8 = load ptr, ptr %7, align 8, !tbaa !14 %9 = getelementptr inbounds %struct.st_h2o_file_configurator_t, ptr %3, i64 0, i32 1 store ptr %8, ptr %9, align 8, !tbaa !15 %10 = load i32, ptr @h2o_file_default_index_files, align 4, !tbaa !5 store i32 %10, ptr %8, align 4, !tbaa !16 %11 = load i32, ptr @H2O_CONFIGURATOR_FLAG_PATH, align 4, !tbaa !5 %12 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !5 %13 = or i32 %12, %11 %14 = load i32, ptr @H2O_CONFIGURATOR_FLAG_DEFERRED, align 4, !tbaa !5 %15 = or i32 %13, %14 %16 = load i32, ptr @on_config_dir, align 4, !tbaa !5 %17 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @H2O_CONFIGURATOR_FLAG_PATH, align 4, !tbaa !5 %19 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !5 %20 = or i32 %19, %18 %21 = load i32, ptr @H2O_CONFIGURATOR_FLAG_DEFERRED, align 4, !tbaa !5 %22 = or i32 %20, %21 %23 = load i32, ptr @on_config_file, align 4, !tbaa !5 %24 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !5 %26 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !5 %27 = xor i32 %26, -1 %28 = and i32 %25, %27 %29 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SEQUENCE, align 4, !tbaa !5 %30 = or i32 %28, %29 %31 = load i32, ptr @on_config_index, align 4, !tbaa !5 %32 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef %30, i32 noundef %31) #2 %33 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !5 %34 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !5 %35 = xor i32 %34, -1 %36 = and i32 %33, %35 %37 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !5 %38 = or i32 %36, %37 %39 = load i32, ptr @on_config_etag, align 4, !tbaa !5 %40 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.3, i32 noundef %38, i32 noundef %39) #2 %41 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !5 %42 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !5 %43 = xor i32 %42, -1 %44 = and i32 %41, %43 %45 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !5 %46 = or i32 %44, %45 %47 = load i32, ptr @on_config_send_compressed, align 4, !tbaa !5 %48 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef %46, i32 noundef %47) #2 %49 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !5 %50 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !5 %51 = xor i32 %50, -1 %52 = and i32 %49, %51 %53 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !5 %54 = or i32 %52, %53 %55 = load i32, ptr @on_config_send_compressed, align 4, !tbaa !5 %56 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.5, i32 noundef %54, i32 noundef %55) #2 %57 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !5 %58 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !5 %59 = xor i32 %58, -1 %60 = and i32 %57, %59 %61 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !5 %62 = or i32 %60, %61 %63 = load i32, ptr @on_config_dir_listing, align 4, !tbaa !5 %64 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.6, i32 noundef %62, i32 noundef %63) #2 ret void } declare i64 @h2o_configurator_create(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @h2o_configurator_define_command(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"} !9 = !{!10, !6, i64 4} !10 = !{!"st_h2o_file_configurator_t", !11, i64 0, !12, i64 8, !12, i64 16} !11 = !{!"TYPE_4__", !6, i64 0, !6, i64 4} !12 = !{!"any pointer", !7, i64 0} !13 = !{!10, !6, i64 0} !14 = !{!10, !12, i64 16} !15 = !{!10, !12, i64 8} !16 = !{!17, !6, i64 0} !17 = !{!"TYPE_3__", !6, i64 0}
; ModuleID = 'AnghaBench/h2o/lib/handler/configurator/extr_file.c_h2o_file_register_configurator.c' source_filename = "AnghaBench/h2o/lib/handler/configurator/extr_file.c_h2o_file_register_configurator.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @on_config_enter = common local_unnamed_addr global i32 0, align 4 @on_config_exit = common local_unnamed_addr global i32 0, align 4 @h2o_file_default_index_files = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [9 x i8] c"file.dir\00", align 1 @H2O_CONFIGURATOR_FLAG_PATH = common local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR = common local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_DEFERRED = common local_unnamed_addr global i32 0, align 4 @on_config_dir = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [10 x i8] c"file.file\00", align 1 @on_config_file = common local_unnamed_addr global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"file.index\00", align 1 @H2O_CONFIGURATOR_FLAG_ALL_LEVELS = common local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_EXTENSION = common local_unnamed_addr global i32 0, align 4 @H2O_CONFIGURATOR_FLAG_EXPECT_SEQUENCE = common local_unnamed_addr global i32 0, align 4 @on_config_index = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [10 x i8] c"file.etag\00", align 1 @on_config_etag = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [21 x i8] c"file.send-compressed\00", align 1 @on_config_send_compressed = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [15 x i8] c"file.send-gzip\00", align 1 @.str.6 = private unnamed_addr constant [16 x i8] c"file.dirlisting\00", align 1 @on_config_dir_listing = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @h2o_file_register_configurator(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @h2o_configurator_create(ptr noundef %0, i32 noundef 24) #2 %3 = inttoptr i64 %2 to ptr %4 = load i32, ptr @on_config_enter, align 4, !tbaa !6 %5 = getelementptr inbounds i8, ptr %3, i64 4 store i32 %4, ptr %5, align 4, !tbaa !10 %6 = load i32, ptr @on_config_exit, align 4, !tbaa !6 store i32 %6, ptr %3, align 8, !tbaa !14 %7 = getelementptr inbounds i8, ptr %3, i64 16 %8 = load ptr, ptr %7, align 8, !tbaa !15 %9 = getelementptr inbounds i8, ptr %3, i64 8 store ptr %8, ptr %9, align 8, !tbaa !16 %10 = load i32, ptr @h2o_file_default_index_files, align 4, !tbaa !6 store i32 %10, ptr %8, align 4, !tbaa !17 %11 = load i32, ptr @H2O_CONFIGURATOR_FLAG_PATH, align 4, !tbaa !6 %12 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !6 %13 = or i32 %12, %11 %14 = load i32, ptr @H2O_CONFIGURATOR_FLAG_DEFERRED, align 4, !tbaa !6 %15 = or i32 %13, %14 %16 = load i32, ptr @on_config_dir, align 4, !tbaa !6 %17 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str, i32 noundef %15, i32 noundef %16) #2 %18 = load i32, ptr @H2O_CONFIGURATOR_FLAG_PATH, align 4, !tbaa !6 %19 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !6 %20 = or i32 %19, %18 %21 = load i32, ptr @H2O_CONFIGURATOR_FLAG_DEFERRED, align 4, !tbaa !6 %22 = or i32 %20, %21 %23 = load i32, ptr @on_config_file, align 4, !tbaa !6 %24 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.1, i32 noundef %22, i32 noundef %23) #2 %25 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !6 %26 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !6 %27 = xor i32 %26, -1 %28 = and i32 %25, %27 %29 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SEQUENCE, align 4, !tbaa !6 %30 = or i32 %28, %29 %31 = load i32, ptr @on_config_index, align 4, !tbaa !6 %32 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.2, i32 noundef %30, i32 noundef %31) #2 %33 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !6 %34 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !6 %35 = xor i32 %34, -1 %36 = and i32 %33, %35 %37 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !6 %38 = or i32 %36, %37 %39 = load i32, ptr @on_config_etag, align 4, !tbaa !6 %40 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.3, i32 noundef %38, i32 noundef %39) #2 %41 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !6 %42 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !6 %43 = xor i32 %42, -1 %44 = and i32 %41, %43 %45 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !6 %46 = or i32 %44, %45 %47 = load i32, ptr @on_config_send_compressed, align 4, !tbaa !6 %48 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.4, i32 noundef %46, i32 noundef %47) #2 %49 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !6 %50 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !6 %51 = xor i32 %50, -1 %52 = and i32 %49, %51 %53 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !6 %54 = or i32 %52, %53 %55 = load i32, ptr @on_config_send_compressed, align 4, !tbaa !6 %56 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.5, i32 noundef %54, i32 noundef %55) #2 %57 = load i32, ptr @H2O_CONFIGURATOR_FLAG_ALL_LEVELS, align 4, !tbaa !6 %58 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXTENSION, align 4, !tbaa !6 %59 = xor i32 %58, -1 %60 = and i32 %57, %59 %61 = load i32, ptr @H2O_CONFIGURATOR_FLAG_EXPECT_SCALAR, align 4, !tbaa !6 %62 = or i32 %60, %61 %63 = load i32, ptr @on_config_dir_listing, align 4, !tbaa !6 %64 = tail call i32 @h2o_configurator_define_command(ptr noundef nonnull %3, ptr noundef nonnull @.str.6, i32 noundef %62, i32 noundef %63) #2 ret void } declare i64 @h2o_configurator_create(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @h2o_configurator_define_command(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"} !10 = !{!11, !7, i64 4} !11 = !{!"st_h2o_file_configurator_t", !12, i64 0, !13, i64 8, !13, i64 16} !12 = !{!"TYPE_4__", !7, i64 0, !7, i64 4} !13 = !{!"any pointer", !8, i64 0} !14 = !{!11, !7, i64 0} !15 = !{!11, !13, i64 16} !16 = !{!11, !13, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_3__", !7, i64 0}
h2o_lib_handler_configurator_extr_file.c_h2o_file_register_configurator
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_free.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_free.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.ucc_fast_private = type { i64, i64, i64 } ; Function Attrs: nounwind uwtable define dso_local void @ucc_fast_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %22, label %3 3: ; preds = %1 %4 = getelementptr inbounds %struct.ucc_fast_private, ptr %0, i64 0, i32 2 %5 = load i64, ptr %4, align 8, !tbaa !5 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @qe_muram_free(i64 noundef %5) #2 br label %9 9: ; preds = %7, %3 %10 = getelementptr inbounds %struct.ucc_fast_private, ptr %0, i64 0, i32 1 %11 = load i64, ptr %10, align 8, !tbaa !10 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 @qe_muram_free(i64 noundef %11) #2 br label %15 15: ; preds = %13, %9 %16 = load i64, ptr %0, align 8, !tbaa !11 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %15 %19 = tail call i32 @iounmap(i64 noundef %16) #2 br label %20 20: ; preds = %18, %15 %21 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %22 22: ; preds = %1, %20 ret void } declare i32 @qe_muram_free(i64 noundef) local_unnamed_addr #1 declare i32 @iounmap(i64 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 16} !6 = !{!"ucc_fast_private", !7, i64 0, !7, i64 8, !7, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 8} !11 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_free.c' source_filename = "AnghaBench/fastsocket/kernel/arch/powerpc/sysdev/qe_lib/extr_ucc_fast.c_ucc_fast_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 @ucc_fast_free(ptr noundef %0) local_unnamed_addr #0 { %2 = icmp eq ptr %0, null br i1 %2, label %22, label %3 3: ; preds = %1 %4 = getelementptr inbounds i8, ptr %0, i64 16 %5 = load i64, ptr %4, align 8, !tbaa !6 %6 = icmp eq i64 %5, 0 br i1 %6, label %9, label %7 7: ; preds = %3 %8 = tail call i32 @qe_muram_free(i64 noundef %5) #2 br label %9 9: ; preds = %7, %3 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load i64, ptr %10, align 8, !tbaa !11 %12 = icmp eq i64 %11, 0 br i1 %12, label %15, label %13 13: ; preds = %9 %14 = tail call i32 @qe_muram_free(i64 noundef %11) #2 br label %15 15: ; preds = %13, %9 %16 = load i64, ptr %0, align 8, !tbaa !12 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %15 %19 = tail call i32 @iounmap(i64 noundef %16) #2 br label %20 20: ; preds = %18, %15 %21 = tail call i32 @kfree(ptr noundef nonnull %0) #2 br label %22 22: ; preds = %1, %20 ret void } declare i32 @qe_muram_free(i64 noundef) local_unnamed_addr #1 declare i32 @iounmap(i64 noundef) local_unnamed_addr #1 declare i32 @kfree(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 16} !7 = !{!"ucc_fast_private", !8, i64 0, !8, i64 8, !8, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 8} !12 = !{!7, !8, i64 0}
fastsocket_kernel_arch_powerpc_sysdev_qe_lib_extr_ucc_fast.c_ucc_fast_free
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_thermal_get_temperature.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_thermal_get_temperature.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32 } @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Invalid sensor for retrieving temp\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @navi10_thermal_get_temperature], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @navi10_thermal_get_temperature(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2) #0 { %4 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = icmp eq ptr %2, null br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !5 %8 = sub nsw i32 0, %7 br label %31 9: ; preds = %3 %10 = call i32 @navi10_get_metrics_table(ptr noundef %0, ptr noundef nonnull %4) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %31 12: ; preds = %9 switch i32 %1, label %27 [ i32 129, label %13 i32 130, label %17 i32 128, label %22 ] 13: ; preds = %12 %14 = load i32, ptr %4, align 4, !tbaa !9 %15 = load i32, ptr @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES, align 4, !tbaa !5 %16 = mul nsw i32 %15, %14 store i32 %16, ptr %2, align 4, !tbaa !5 br label %31 17: ; preds = %12 %18 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 1 %19 = load i32, ptr %18, align 4, !tbaa !11 %20 = load i32, ptr @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES, align 4, !tbaa !5 %21 = mul nsw i32 %20, %19 store i32 %21, ptr %2, align 4, !tbaa !5 br label %31 22: ; preds = %12 %23 = getelementptr inbounds %struct.TYPE_3__, ptr %4, i64 0, i32 2 %24 = load i32, ptr %23, align 4, !tbaa !12 %25 = load i32, ptr @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES, align 4, !tbaa !5 %26 = mul nsw i32 %25, %24 store i32 %26, ptr %2, align 4, !tbaa !5 br label %31 27: ; preds = %12 %28 = call i32 @pr_err(ptr noundef nonnull @.str) #3 %29 = load i32, ptr @EINVAL, align 4, !tbaa !5 %30 = sub nsw i32 0, %29 br label %31 31: ; preds = %13, %17, %22, %9, %27, %6 %32 = phi i32 [ %30, %27 ], [ %8, %6 ], [ %10, %9 ], [ 0, %22 ], [ 0, %17 ], [ 0, %13 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %32 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @navi10_get_metrics_table(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_3__", !6, i64 0, !6, i64 4, !6, i64 8} !11 = !{!10, !6, i64 4} !12 = !{!10, !6, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_thermal_get_temperature.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/extr_navi10_ppt.c_navi10_thermal_get_temperature.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, i32 } @EINVAL = common local_unnamed_addr global i32 0, align 4 @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [36 x i8] c"Invalid sensor for retrieving temp\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @navi10_thermal_get_temperature], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @navi10_thermal_get_temperature(ptr noundef %0, i32 noundef %1, ptr noundef writeonly %2) #0 { %4 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #3 %5 = icmp eq ptr %2, null br i1 %5, label %6, label %9 6: ; preds = %3 %7 = load i32, ptr @EINVAL, align 4, !tbaa !6 %8 = sub nsw i32 0, %7 br label %31 9: ; preds = %3 %10 = call i32 @navi10_get_metrics_table(ptr noundef %0, ptr noundef nonnull %4) #3 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %31 12: ; preds = %9 switch i32 %1, label %27 [ i32 129, label %13 i32 130, label %17 i32 128, label %22 ] 13: ; preds = %12 %14 = load i32, ptr %4, align 4, !tbaa !10 %15 = load i32, ptr @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES, align 4, !tbaa !6 %16 = mul nsw i32 %15, %14 store i32 %16, ptr %2, align 4, !tbaa !6 br label %31 17: ; preds = %12 %18 = getelementptr inbounds i8, ptr %4, i64 4 %19 = load i32, ptr %18, align 4, !tbaa !12 %20 = load i32, ptr @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES, align 4, !tbaa !6 %21 = mul nsw i32 %20, %19 store i32 %21, ptr %2, align 4, !tbaa !6 br label %31 22: ; preds = %12 %23 = getelementptr inbounds i8, ptr %4, i64 8 %24 = load i32, ptr %23, align 4, !tbaa !13 %25 = load i32, ptr @SMU_TEMPERATURE_UNITS_PER_CENTIGRADES, align 4, !tbaa !6 %26 = mul nsw i32 %25, %24 store i32 %26, ptr %2, align 4, !tbaa !6 br label %31 27: ; preds = %12 %28 = call i32 @pr_err(ptr noundef nonnull @.str) #3 %29 = load i32, ptr @EINVAL, align 4, !tbaa !6 %30 = sub nsw i32 0, %29 br label %31 31: ; preds = %13, %17, %22, %9, %27, %6 %32 = phi i32 [ %30, %27 ], [ %8, %6 ], [ %10, %9 ], [ 0, %22 ], [ 0, %17 ], [ 0, %13 ] call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #3 ret i32 %32 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @navi10_get_metrics_table(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @pr_err(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8} !12 = !{!11, !7, i64 4} !13 = !{!11, !7, i64 8}
linux_drivers_gpu_drm_amd_powerplay_extr_navi10_ppt.c_navi10_thermal_get_temperature
; ModuleID = 'AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_APPLE_texture_range.c' source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_APPLE_texture_range.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @GLAD_GL_APPLE_texture_range = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"glTextureRangeAPPLE\00", align 1 @glad_glTextureRangeAPPLE = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [31 x i8] c"glGetTexParameterPointervAPPLE\00", align 1 @glad_glGetTexParameterPointervAPPLE = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @load_GL_APPLE_texture_range], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @load_GL_APPLE_texture_range(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @GLAD_GL_APPLE_texture_range, align 4, !tbaa !5 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call i64 %0(ptr noundef nonnull @.str) #1 store i64 %5, ptr @glad_glTextureRangeAPPLE, align 8, !tbaa !9 %6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1 store i64 %6, ptr @glad_glGetTexParameterPointervAPPLE, align 8, !tbaa !9 br label %7 7: ; 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.c_load_GL_APPLE_texture_range.c' source_filename = "AnghaBench/obs-studio/deps/glad/src/extr_glad.c_load_GL_APPLE_texture_range.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @GLAD_GL_APPLE_texture_range = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"glTextureRangeAPPLE\00", align 1 @glad_glTextureRangeAPPLE = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [31 x i8] c"glGetTexParameterPointervAPPLE\00", align 1 @glad_glGetTexParameterPointervAPPLE = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @load_GL_APPLE_texture_range], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @load_GL_APPLE_texture_range(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr @GLAD_GL_APPLE_texture_range, align 4, !tbaa !6 %3 = icmp eq i32 %2, 0 br i1 %3, label %7, label %4 4: ; preds = %1 %5 = tail call i64 %0(ptr noundef nonnull @.str) #1 store i64 %5, ptr @glad_glTextureRangeAPPLE, align 8, !tbaa !10 %6 = tail call i64 %0(ptr noundef nonnull @.str.1) #1 store i64 %6, ptr @glad_glGetTexParameterPointervAPPLE, align 8, !tbaa !10 br label %7 7: ; 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.c_load_GL_APPLE_texture_range
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_mevent.c_mevent_kq_fflags.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_mevent.c_mevent_kq_fflags.c" target datalayout = "e-m:e-p270:32:32-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 @mevent_kq_fflags], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal noundef i32 @mevent_kq_fflags(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/bhyve/extr_mevent.c_mevent_kq_fflags.c' source_filename = "AnghaBench/freebsd/usr.sbin/bhyve/extr_mevent.c_mevent_kq_fflags.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 @mevent_kq_fflags], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal noundef i32 @mevent_kq_fflags(ptr nocapture readnone %0) #0 { ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_usr.sbin_bhyve_extr_mevent.c_mevent_kq_fflags
; ModuleID = 'AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-fade-to-color.c_fade_to_color_get_name.c' source_filename = "AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-fade-to-color.c_fade_to_color_get_name.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"FadeToColorTransition\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @fade_to_color_get_name], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @fade_to_color_get_name(ptr noundef %0) #0 { %2 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2 %3 = tail call ptr @obs_module_text(ptr noundef nonnull @.str) #2 ret ptr %3 } declare i32 @UNUSED_PARAMETER(ptr noundef) local_unnamed_addr #1 declare ptr @obs_module_text(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/obs-studio/plugins/obs-transitions/extr_transition-fade-to-color.c_fade_to_color_get_name.c' source_filename = "AnghaBench/obs-studio/plugins/obs-transitions/extr_transition-fade-to-color.c_fade_to_color_get_name.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [22 x i8] c"FadeToColorTransition\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @fade_to_color_get_name], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @fade_to_color_get_name(ptr noundef %0) #0 { %2 = tail call i32 @UNUSED_PARAMETER(ptr noundef %0) #2 %3 = tail call ptr @obs_module_text(ptr noundef nonnull @.str) #2 ret ptr %3 } declare i32 @UNUSED_PARAMETER(ptr noundef) local_unnamed_addr #1 declare ptr @obs_module_text(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)"}
obs-studio_plugins_obs-transitions_extr_transition-fade-to-color.c_fade_to_color_get_name
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-rm-dma.c_ccio_free_consistent.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-rm-dma.c_ccio_free_consistent.c" target datalayout = "e-m:e-p270:32:32-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 @ccio_free_consistent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ccio_free_consistent(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2, i32 %3) #0 { %5 = ptrtoint ptr %2 to i64 %6 = tail call i32 @get_order(i64 noundef %1) #2 %7 = tail call i32 @free_pages(i64 noundef %5, i32 noundef %6) #2 ret void } declare i32 @free_pages(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_order(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/parisc/extr_ccio-rm-dma.c_ccio_free_consistent.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/parisc/extr_ccio-rm-dma.c_ccio_free_consistent.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 @ccio_free_consistent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ccio_free_consistent(ptr nocapture readnone %0, i64 noundef %1, ptr noundef %2, i32 %3) #0 { %5 = ptrtoint ptr %2 to i64 %6 = tail call i32 @get_order(i64 noundef %1) #2 %7 = tail call i32 @free_pages(i64 noundef %5, i32 noundef %6) #2 ret void } declare i32 @free_pages(i64 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @get_order(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_parisc_extr_ccio-rm-dma.c_ccio_free_consistent
; ModuleID = 'AnghaBench/linux/sound/core/extr_compress_offload.c_snd_compr_pause.c' source_filename = "AnghaBench/linux/sound/core/extr_compress_offload.c_snd_compr_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" %struct.snd_compr_stream = type { ptr, ptr } @SNDRV_PCM_STATE_RUNNING = dso_local local_unnamed_addr global i64 0, align 8 @EPERM = dso_local local_unnamed_addr global i32 0, align 4 @SNDRV_PCM_TRIGGER_PAUSE_PUSH = dso_local local_unnamed_addr global i32 0, align 4 @SNDRV_PCM_STATE_PAUSED = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @snd_compr_pause], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @snd_compr_pause(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load i64, ptr %2, align 8, !tbaa !10 %4 = load i64, ptr @SNDRV_PCM_STATE_RUNNING, align 8, !tbaa !13 %5 = icmp eq i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EPERM, align 4, !tbaa !14 %8 = sub nsw i32 0, %7 br label %19 9: ; preds = %1 %10 = getelementptr inbounds %struct.snd_compr_stream, ptr %0, i64 0, i32 1 %11 = load ptr, ptr %10, align 8, !tbaa !16 %12 = load ptr, ptr %11, align 8, !tbaa !17 %13 = load i32, ptr @SNDRV_PCM_TRIGGER_PAUSE_PUSH, align 4, !tbaa !14 %14 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef %13) #1 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i64, ptr @SNDRV_PCM_STATE_PAUSED, align 8, !tbaa !13 %18 = load ptr, ptr %0, align 8, !tbaa !5 store i64 %17, ptr %18, align 8, !tbaa !10 br label %19 19: ; preds = %9, %16, %6 %20 = phi i32 [ %8, %6 ], [ 0, %16 ], [ %14, %9 ] ret i32 %20 } attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!"snd_compr_stream", !7, i64 0, !7, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !8, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!15, !15, i64 0} !15 = !{!"int", !8, i64 0} !16 = !{!6, !7, i64 8} !17 = !{!18, !7, i64 0} !18 = !{!"TYPE_3__", !7, i64 0}
; ModuleID = 'AnghaBench/linux/sound/core/extr_compress_offload.c_snd_compr_pause.c' source_filename = "AnghaBench/linux/sound/core/extr_compress_offload.c_snd_compr_pause.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SNDRV_PCM_STATE_RUNNING = common local_unnamed_addr global i64 0, align 8 @EPERM = common local_unnamed_addr global i32 0, align 4 @SNDRV_PCM_TRIGGER_PAUSE_PUSH = common local_unnamed_addr global i32 0, align 4 @SNDRV_PCM_STATE_PAUSED = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @snd_compr_pause], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @snd_compr_pause(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load i64, ptr %2, align 8, !tbaa !11 %4 = load i64, ptr @SNDRV_PCM_STATE_RUNNING, align 8, !tbaa !14 %5 = icmp eq i64 %3, %4 br i1 %5, label %9, label %6 6: ; preds = %1 %7 = load i32, ptr @EPERM, align 4, !tbaa !15 %8 = sub nsw i32 0, %7 br label %19 9: ; preds = %1 %10 = getelementptr inbounds i8, ptr %0, i64 8 %11 = load ptr, ptr %10, align 8, !tbaa !17 %12 = load ptr, ptr %11, align 8, !tbaa !18 %13 = load i32, ptr @SNDRV_PCM_TRIGGER_PAUSE_PUSH, align 4, !tbaa !15 %14 = tail call i32 %12(ptr noundef nonnull %0, i32 noundef %13) #1 %15 = icmp eq i32 %14, 0 br i1 %15, label %16, label %19 16: ; preds = %9 %17 = load i64, ptr @SNDRV_PCM_STATE_PAUSED, align 8, !tbaa !14 %18 = load ptr, ptr %0, align 8, !tbaa !6 store i64 %17, ptr %18, align 8, !tbaa !11 br label %19 19: ; preds = %9, %16, %6 %20 = phi i32 [ %8, %6 ], [ 0, %16 ], [ %14, %9 ] ret i32 %20 } attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!"snd_compr_stream", !8, i64 0, !8, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !9, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !16, i64 0} !16 = !{!"int", !9, i64 0} !17 = !{!7, !8, i64 8} !18 = !{!19, !8, i64 0} !19 = !{!"TYPE_3__", !8, i64 0}
linux_sound_core_extr_compress_offload.c_snd_compr_pause
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_s6sy761.c_s6sy761_report_coordinates.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_s6sy761.c_s6sy761_report_coordinates.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @S6SY761_MASK_Z = dso_local local_unnamed_addr global i32 0, align 4 @S6SY761_MASK_X = dso_local local_unnamed_addr global i32 0, align 4 @S6SY761_MASK_Y = dso_local local_unnamed_addr global i32 0, align 4 @MT_TOOL_FINGER = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_X = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_Y = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_TOUCH_MAJOR = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_TOUCH_MINOR = dso_local local_unnamed_addr global i32 0, align 4 @ABS_MT_PRESSURE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @s6sy761_report_coordinates], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @s6sy761_report_coordinates(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i32, ptr %1, i64 4 %5 = load i32, ptr %4, align 4, !tbaa !5 %6 = getelementptr inbounds i32, ptr %1, i64 5 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = getelementptr inbounds i32, ptr %1, i64 6 %9 = load i32, ptr %8, align 4, !tbaa !5 %10 = load i32, ptr @S6SY761_MASK_Z, align 4, !tbaa !5 %11 = and i32 %10, %9 %12 = getelementptr inbounds i32, ptr %1, i64 1 %13 = load i32, ptr %12, align 4, !tbaa !5 %14 = shl i32 %13, 3 %15 = getelementptr inbounds i32, ptr %1, i64 3 %16 = load i32, ptr %15, align 4, !tbaa !5 %17 = load i32, ptr @S6SY761_MASK_X, align 4, !tbaa !5 %18 = and i32 %17, %16 %19 = ashr i32 %18, 4 %20 = or i32 %19, %14 %21 = getelementptr inbounds i32, ptr %1, i64 2 %22 = load i32, ptr %21, align 4, !tbaa !5 %23 = shl i32 %22, 3 %24 = load i32, ptr @S6SY761_MASK_Y, align 4, !tbaa !5 %25 = and i32 %24, %16 %26 = or i32 %25, %23 %27 = load i32, ptr %0, align 4, !tbaa !9 %28 = tail call i32 @input_mt_slot(i32 noundef %27, i32 noundef %2) #2 %29 = load i32, ptr %0, align 4, !tbaa !9 %30 = load i32, ptr @MT_TOOL_FINGER, align 4, !tbaa !5 %31 = tail call i32 @input_mt_report_slot_state(i32 noundef %29, i32 noundef %30, i32 noundef 1) #2 %32 = load i32, ptr %0, align 4, !tbaa !9 %33 = load i32, ptr @ABS_MT_POSITION_X, align 4, !tbaa !5 %34 = tail call i32 @input_report_abs(i32 noundef %32, i32 noundef %33, i32 noundef %20) #2 %35 = load i32, ptr %0, align 4, !tbaa !9 %36 = load i32, ptr @ABS_MT_POSITION_Y, align 4, !tbaa !5 %37 = tail call i32 @input_report_abs(i32 noundef %35, i32 noundef %36, i32 noundef %26) #2 %38 = load i32, ptr %0, align 4, !tbaa !9 %39 = load i32, ptr @ABS_MT_TOUCH_MAJOR, align 4, !tbaa !5 %40 = tail call i32 @input_report_abs(i32 noundef %38, i32 noundef %39, i32 noundef %5) #2 %41 = load i32, ptr %0, align 4, !tbaa !9 %42 = load i32, ptr @ABS_MT_TOUCH_MINOR, align 4, !tbaa !5 %43 = tail call i32 @input_report_abs(i32 noundef %41, i32 noundef %42, i32 noundef %7) #2 %44 = load i32, ptr %0, align 4, !tbaa !9 %45 = load i32, ptr @ABS_MT_PRESSURE, align 4, !tbaa !5 %46 = tail call i32 @input_report_abs(i32 noundef %44, i32 noundef %45, i32 noundef %11) #2 %47 = load i32, ptr %0, align 4, !tbaa !9 %48 = tail call i32 @input_sync(i32 noundef %47) #2 ret void } declare i32 @input_mt_slot(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_mt_report_slot_state(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_report_abs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_sync(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 = !{!"s6sy761_data", !6, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/input/touchscreen/extr_s6sy761.c_s6sy761_report_coordinates.c' source_filename = "AnghaBench/linux/drivers/input/touchscreen/extr_s6sy761.c_s6sy761_report_coordinates.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @S6SY761_MASK_Z = common local_unnamed_addr global i32 0, align 4 @S6SY761_MASK_X = common local_unnamed_addr global i32 0, align 4 @S6SY761_MASK_Y = common local_unnamed_addr global i32 0, align 4 @MT_TOOL_FINGER = common local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_X = common local_unnamed_addr global i32 0, align 4 @ABS_MT_POSITION_Y = common local_unnamed_addr global i32 0, align 4 @ABS_MT_TOUCH_MAJOR = common local_unnamed_addr global i32 0, align 4 @ABS_MT_TOUCH_MINOR = common local_unnamed_addr global i32 0, align 4 @ABS_MT_PRESSURE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @s6sy761_report_coordinates], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @s6sy761_report_coordinates(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i32 noundef %2) #0 { %4 = getelementptr inbounds i8, ptr %1, i64 16 %5 = load i32, ptr %4, align 4, !tbaa !6 %6 = getelementptr inbounds i8, ptr %1, i64 20 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = getelementptr inbounds i8, ptr %1, i64 24 %9 = load i32, ptr %8, align 4, !tbaa !6 %10 = load i32, ptr @S6SY761_MASK_Z, align 4, !tbaa !6 %11 = and i32 %10, %9 %12 = getelementptr inbounds i8, ptr %1, i64 4 %13 = load i32, ptr %12, align 4, !tbaa !6 %14 = shl i32 %13, 3 %15 = getelementptr inbounds i8, ptr %1, i64 12 %16 = load i32, ptr %15, align 4, !tbaa !6 %17 = load i32, ptr @S6SY761_MASK_X, align 4, !tbaa !6 %18 = and i32 %17, %16 %19 = ashr i32 %18, 4 %20 = or i32 %19, %14 %21 = getelementptr inbounds i8, ptr %1, i64 8 %22 = load i32, ptr %21, align 4, !tbaa !6 %23 = shl i32 %22, 3 %24 = load i32, ptr @S6SY761_MASK_Y, align 4, !tbaa !6 %25 = and i32 %24, %16 %26 = or i32 %25, %23 %27 = load i32, ptr %0, align 4, !tbaa !10 %28 = tail call i32 @input_mt_slot(i32 noundef %27, i32 noundef %2) #2 %29 = load i32, ptr %0, align 4, !tbaa !10 %30 = load i32, ptr @MT_TOOL_FINGER, align 4, !tbaa !6 %31 = tail call i32 @input_mt_report_slot_state(i32 noundef %29, i32 noundef %30, i32 noundef 1) #2 %32 = load i32, ptr %0, align 4, !tbaa !10 %33 = load i32, ptr @ABS_MT_POSITION_X, align 4, !tbaa !6 %34 = tail call i32 @input_report_abs(i32 noundef %32, i32 noundef %33, i32 noundef %20) #2 %35 = load i32, ptr %0, align 4, !tbaa !10 %36 = load i32, ptr @ABS_MT_POSITION_Y, align 4, !tbaa !6 %37 = tail call i32 @input_report_abs(i32 noundef %35, i32 noundef %36, i32 noundef %26) #2 %38 = load i32, ptr %0, align 4, !tbaa !10 %39 = load i32, ptr @ABS_MT_TOUCH_MAJOR, align 4, !tbaa !6 %40 = tail call i32 @input_report_abs(i32 noundef %38, i32 noundef %39, i32 noundef %5) #2 %41 = load i32, ptr %0, align 4, !tbaa !10 %42 = load i32, ptr @ABS_MT_TOUCH_MINOR, align 4, !tbaa !6 %43 = tail call i32 @input_report_abs(i32 noundef %41, i32 noundef %42, i32 noundef %7) #2 %44 = load i32, ptr %0, align 4, !tbaa !10 %45 = load i32, ptr @ABS_MT_PRESSURE, align 4, !tbaa !6 %46 = tail call i32 @input_report_abs(i32 noundef %44, i32 noundef %45, i32 noundef %11) #2 %47 = load i32, ptr %0, align 4, !tbaa !10 %48 = tail call i32 @input_sync(i32 noundef %47) #2 ret void } declare i32 @input_mt_slot(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_mt_report_slot_state(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_report_abs(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @input_sync(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 = !{!"s6sy761_data", !7, i64 0}
linux_drivers_input_touchscreen_extr_s6sy761.c_s6sy761_report_coordinates
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_provider.c_set_netdevs.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_provider.c_set_netdevs.c" target datalayout = "e-m:e-p270:32:32-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 } @llvm.compiler.used = appending global [1 x ptr] [ptr @set_netdevs], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @set_netdevs(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds %struct.TYPE_2__, ptr %1, i64 0, i32 1 br label %4 4: ; preds = %9, %2 %5 = phi i64 [ %13, %9 ], [ 0, %2 ] %6 = load i32, ptr %1, align 8, !tbaa !5 %7 = sext i32 %6 to i64 %8 = icmp slt i64 %5, %7 br i1 %8, label %9, label %17 9: ; preds = %4 %10 = load ptr, ptr %3, align 8, !tbaa !12 %11 = getelementptr inbounds i32, ptr %10, i64 %5 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = add nuw nsw i64 %5, 1 %14 = trunc i64 %13 to i32 %15 = tail call i32 @ib_device_set_netdev(ptr noundef %0, i32 noundef %12, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %4, label %17, !llvm.loop !14 17: ; preds = %4, %9 %18 = phi i32 [ %15, %9 ], [ 0, %4 ] ret i32 %18 } declare i32 @ib_device_set_netdev(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, !8, i64 0} !6 = !{!"cxio_rdev", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0, !11, i64 8} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"any pointer", !9, i64 0} !12 = !{!6, !11, i64 8} !13 = !{!8, !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_provider.c_set_netdevs.c' source_filename = "AnghaBench/linux/drivers/infiniband/hw/cxgb3/extr_iwch_provider.c_set_netdevs.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 @set_netdevs], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @set_netdevs(ptr noundef %0, ptr nocapture noundef readonly %1) #0 { %3 = getelementptr inbounds i8, ptr %1, i64 8 br label %4 4: ; preds = %9, %2 %5 = phi i64 [ %13, %9 ], [ 0, %2 ] %6 = load i32, ptr %1, align 8, !tbaa !6 %7 = sext i32 %6 to i64 %8 = icmp slt i64 %5, %7 br i1 %8, label %9, label %17 9: ; preds = %4 %10 = load ptr, ptr %3, align 8, !tbaa !13 %11 = getelementptr inbounds i32, ptr %10, i64 %5 %12 = load i32, ptr %11, align 4, !tbaa !14 %13 = add nuw nsw i64 %5, 1 %14 = trunc nuw i64 %13 to i32 %15 = tail call i32 @ib_device_set_netdev(ptr noundef %0, i32 noundef %12, i32 noundef %14) #2 %16 = icmp eq i32 %15, 0 br i1 %16, label %4, label %17, !llvm.loop !15 17: ; preds = %4, %9 %18 = phi i32 [ %15, %9 ], [ 0, %4 ] ret i32 %18 } declare i32 @ib_device_set_netdev(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, !9, i64 0} !7 = !{!"cxio_rdev", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0, !12, i64 8} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"} !12 = !{!"any pointer", !10, i64 0} !13 = !{!7, !12, i64 8} !14 = !{!9, !9, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
linux_drivers_infiniband_hw_cxgb3_extr_iwch_provider.c_set_netdevs
; ModuleID = 'AnghaBench/linux/fs/nls/extr_nls_iso8859-14.c_char2uni.c' source_filename = "AnghaBench/linux/fs/nls/extr_nls_iso8859-14.c_char2uni.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @charset2uni = dso_local local_unnamed_addr global ptr null, align 8 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @char2uni], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable define internal i32 @char2uni(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr @charset2uni, align 8, !tbaa !5 %5 = load i8, ptr %0, align 1, !tbaa !9 %6 = zext i8 %5 to i64 %7 = getelementptr inbounds i32, ptr %4, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !10 store i32 %8, ptr %2, align 4, !tbaa !10 %9 = icmp eq i32 %8, 0 %10 = load i32, ptr @EINVAL, align 4 %11 = sub nsw i32 0, %10 %12 = select i1 %9, i32 %11, i32 1 ret i32 %12 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!7, !7, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/linux/fs/nls/extr_nls_iso8859-14.c_char2uni.c' source_filename = "AnghaBench/linux/fs/nls/extr_nls_iso8859-14.c_char2uni.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @charset2uni = common local_unnamed_addr global ptr null, align 8 @EINVAL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @char2uni], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal range(i32 -2147483647, -2147483648) i32 @char2uni(ptr nocapture noundef readonly %0, i32 %1, ptr nocapture noundef writeonly %2) #0 { %4 = load ptr, ptr @charset2uni, align 8, !tbaa !6 %5 = load i8, ptr %0, align 1, !tbaa !10 %6 = zext i8 %5 to i64 %7 = getelementptr inbounds i32, ptr %4, i64 %6 %8 = load i32, ptr %7, align 4, !tbaa !11 store i32 %8, ptr %2, align 4, !tbaa !11 %9 = icmp eq i32 %8, 0 %10 = load i32, ptr @EINVAL, align 4 %11 = sub nsw i32 0, %10 %12 = select i1 %9, i32 %11, i32 1 ret i32 %12 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!8, !8, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"int", !8, i64 0}
linux_fs_nls_extr_nls_iso8859-14.c_char2uni
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_multicast.c_osm_mgrp_box_delete.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_multicast.c_osm_mgrp_box_delete.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @list_item = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @osm_mgrp_box_delete(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @cl_qlist_count(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %12, label %4 4: ; preds = %1, %4 %5 = phi ptr [ %8, %4 ], [ undef, %1 ] %6 = tail call i32 @cl_qlist_remove_head(ptr noundef %0) #2 %7 = load i32, ptr @list_item, align 4, !tbaa !5 %8 = tail call ptr @cl_item_obj(i32 noundef %6, ptr noundef %5, i32 noundef %7) #2 %9 = tail call i32 @mgrp_delete(ptr noundef %8) #2 %10 = tail call i64 @cl_qlist_count(ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %4, !llvm.loop !9 12: ; preds = %4, %1 %13 = tail call i32 @mgrp_box_delete(ptr noundef %0) #2 ret void } declare i64 @cl_qlist_count(ptr noundef) local_unnamed_addr #1 declare ptr @cl_item_obj(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cl_qlist_remove_head(ptr noundef) local_unnamed_addr #1 declare i32 @mgrp_delete(ptr noundef) local_unnamed_addr #1 declare i32 @mgrp_box_delete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10} !10 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_multicast.c_osm_mgrp_box_delete.c' source_filename = "AnghaBench/freebsd/contrib/ofed/opensm/opensm/extr_osm_multicast.c_osm_mgrp_box_delete.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @list_item = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @osm_mgrp_box_delete(ptr noundef %0) local_unnamed_addr #0 { %2 = tail call i64 @cl_qlist_count(ptr noundef %0) #2 %3 = icmp eq i64 %2, 0 br i1 %3, label %12, label %4 4: ; preds = %1, %4 %5 = phi ptr [ %8, %4 ], [ undef, %1 ] %6 = tail call i32 @cl_qlist_remove_head(ptr noundef %0) #2 %7 = load i32, ptr @list_item, align 4, !tbaa !6 %8 = tail call ptr @cl_item_obj(i32 noundef %6, ptr noundef %5, i32 noundef %7) #2 %9 = tail call i32 @mgrp_delete(ptr noundef %8) #2 %10 = tail call i64 @cl_qlist_count(ptr noundef %0) #2 %11 = icmp eq i64 %10, 0 br i1 %11, label %12, label %4, !llvm.loop !10 12: ; preds = %4, %1 %13 = tail call i32 @mgrp_box_delete(ptr noundef %0) #2 ret void } declare i64 @cl_qlist_count(ptr noundef) local_unnamed_addr #1 declare ptr @cl_item_obj(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cl_qlist_remove_head(ptr noundef) local_unnamed_addr #1 declare i32 @mgrp_delete(ptr noundef) local_unnamed_addr #1 declare i32 @mgrp_box_delete(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ofed_opensm_opensm_extr_osm_multicast.c_osm_mgrp_box_delete
; ModuleID = 'AnghaBench/linux/arch/x86/crypto/extr_camellia_glue.c___camellia_setkey.c' source_filename = "AnghaBench/linux/arch/x86/crypto/extr_camellia_glue.c___camellia_setkey.c" target datalayout = "e-m:e-p270:32:32-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.camellia_ctx = type { i32, i32 } @CRYPTO_TFM_RES_BAD_KEY_LEN = dso_local local_unnamed_addr global i32 0, align 4 @EINVAL = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @__camellia_setkey(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { switch i32 %2, label %5 [ i32 32, label %11 i32 24, label %11 i32 16, label %11 ] 5: ; preds = %4 %6 = load i32, ptr @CRYPTO_TFM_RES_BAD_KEY_LEN, align 4, !tbaa !5 %7 = load i32, ptr %3, align 4, !tbaa !5 %8 = or i32 %7, %6 store i32 %8, ptr %3, align 4, !tbaa !5 %9 = load i32, ptr @EINVAL, align 4, !tbaa !5 %10 = sub nsw i32 0, %9 br label %24 11: ; preds = %4, %4, %4 store i32 %2, ptr %0, align 4, !tbaa !9 switch i32 %2, label %24 [ i32 16, label %12 i32 24, label %16 i32 32, label %20 ] 12: ; preds = %11 %13 = getelementptr inbounds %struct.camellia_ctx, ptr %0, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !11 %15 = tail call i32 @camellia_setup128(ptr noundef %1, i32 noundef %14) #2 br label %24 16: ; preds = %11 %17 = getelementptr inbounds %struct.camellia_ctx, ptr %0, i64 0, i32 1 %18 = load i32, ptr %17, align 4, !tbaa !11 %19 = tail call i32 @camellia_setup192(ptr noundef %1, i32 noundef %18) #2 br label %24 20: ; preds = %11 %21 = getelementptr inbounds %struct.camellia_ctx, ptr %0, i64 0, i32 1 %22 = load i32, ptr %21, align 4, !tbaa !11 %23 = tail call i32 @camellia_setup256(ptr noundef %1, i32 noundef %22) #2 br label %24 24: ; preds = %12, %16, %20, %11, %5 %25 = phi i32 [ %10, %5 ], [ 0, %11 ], [ 0, %20 ], [ 0, %16 ], [ 0, %12 ] ret i32 %25 } declare i32 @camellia_setup128(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @camellia_setup192(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @camellia_setup256(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"camellia_ctx", !6, i64 0, !6, i64 4} !11 = !{!10, !6, i64 4}
; ModuleID = 'AnghaBench/linux/arch/x86/crypto/extr_camellia_glue.c___camellia_setkey.c' source_filename = "AnghaBench/linux/arch/x86/crypto/extr_camellia_glue.c___camellia_setkey.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CRYPTO_TFM_RES_BAD_KEY_LEN = common local_unnamed_addr global i32 0, align 4 @EINVAL = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 -2147483647, -2147483648) i32 @__camellia_setkey(ptr nocapture noundef %0, ptr noundef %1, i32 noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 { switch i32 %2, label %5 [ i32 32, label %11 i32 24, label %11 i32 16, label %11 ] 5: ; preds = %4 %6 = load i32, ptr @CRYPTO_TFM_RES_BAD_KEY_LEN, align 4, !tbaa !6 %7 = load i32, ptr %3, align 4, !tbaa !6 %8 = or i32 %7, %6 store i32 %8, ptr %3, align 4, !tbaa !6 %9 = load i32, ptr @EINVAL, align 4, !tbaa !6 %10 = sub nsw i32 0, %9 br label %24 11: ; preds = %4, %4, %4 store i32 %2, ptr %0, align 4, !tbaa !10 switch i32 %2, label %24 [ i32 16, label %12 i32 24, label %16 i32 32, label %20 ] 12: ; preds = %11 %13 = getelementptr inbounds i8, ptr %0, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !12 %15 = tail call i32 @camellia_setup128(ptr noundef %1, i32 noundef %14) #2 br label %24 16: ; preds = %11 %17 = getelementptr inbounds i8, ptr %0, i64 4 %18 = load i32, ptr %17, align 4, !tbaa !12 %19 = tail call i32 @camellia_setup192(ptr noundef %1, i32 noundef %18) #2 br label %24 20: ; preds = %11 %21 = getelementptr inbounds i8, ptr %0, i64 4 %22 = load i32, ptr %21, align 4, !tbaa !12 %23 = tail call i32 @camellia_setup256(ptr noundef %1, i32 noundef %22) #2 br label %24 24: ; preds = %12, %16, %20, %11, %5 %25 = phi i32 [ %10, %5 ], [ 0, %11 ], [ 0, %20 ], [ 0, %16 ], [ 0, %12 ] ret i32 %25 } declare i32 @camellia_setup128(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @camellia_setup192(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @camellia_setup256(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"camellia_ctx", !7, i64 0, !7, i64 4} !12 = !{!11, !7, i64 4}
linux_arch_x86_crypto_extr_camellia_glue.c___camellia_setkey
; ModuleID = 'AnghaBench/numpy/numpy/random/src/legacy/extr_legacy-distributions.c_legacy_lognormal.c' source_filename = "AnghaBench/numpy/numpy/random/src/legacy/extr_legacy-distributions.c_legacy_lognormal.c" target datalayout = "e-m:e-p270:32:32-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 double @legacy_lognormal(ptr noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @legacy_normal(ptr noundef %0, double noundef %1, double noundef %2) #2 %5 = tail call double @exp(i32 noundef %4) #2 ret double %5 } declare double @exp(i32 noundef) local_unnamed_addr #1 declare i32 @legacy_normal(ptr noundef, double noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/numpy/numpy/random/src/legacy/extr_legacy-distributions.c_legacy_lognormal.c' source_filename = "AnghaBench/numpy/numpy/random/src/legacy/extr_legacy-distributions.c_legacy_lognormal.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 double @legacy_lognormal(ptr noundef %0, double noundef %1, double noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @legacy_normal(ptr noundef %0, double noundef %1, double noundef %2) #2 %5 = tail call double @exp(i32 noundef %4) #2 ret double %5 } declare double @exp(i32 noundef) local_unnamed_addr #1 declare i32 @legacy_normal(ptr noundef, double noundef, double noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
numpy_numpy_random_src_legacy_extr_legacy-distributions.c_legacy_lognormal
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_list.c_list_internal.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_list.c_list_internal.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_25__ = type { ptr, ptr, ptr, ptr, ptr } %struct.TYPE_24__ = type { i32, i32 } @SVN_DIRENT_KIND = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @SVN_ERR_RA_NOT_IMPLEMENTED = dso_local local_unnamed_addr global i64 0, align 8 @list_receiver = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_UNSUPPORTED_FEATURE = dso_local local_unnamed_addr global i32 0, align 4 @SVN_ERR_FS_NOT_FOUND = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"URL '%s' non-existent in revision %ld\00", align 1 @svn_node_dir = dso_local local_unnamed_addr global i64 0, align 8 @svn_depth_files = dso_local local_unnamed_addr global i32 0, align 4 @svn_depth_immediates = dso_local local_unnamed_addr global i32 0, align 4 @svn_depth_infinity = dso_local local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @list_internal], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @list_internal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i64 noundef %6, i64 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #0 { %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca %struct.TYPE_25__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #3 %21 = icmp eq i64 %7, 0 br i1 %21, label %24, label %22 22: ; preds = %14 %23 = tail call ptr @apr_hash_make(ptr noundef %13) #3 br label %24 24: ; preds = %14, %22 %25 = phi ptr [ %23, %22 ], [ null, %14 ] %26 = load i32, ptr @SVN_DIRENT_KIND, align 4, !tbaa !5 %27 = or i32 %26, %5 %28 = call i32 @svn_client__ra_session_from_path2(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef %0, ptr noundef null, ptr noundef %1, ptr noundef %2, ptr noundef %12, ptr noundef %13) #3 %29 = call i32 @SVN_ERR(i32 noundef %28) #3 %30 = load ptr, ptr %16, align 8, !tbaa !9 %31 = call ptr @svn_client__pathrev_fspath(ptr noundef %30, ptr noundef %13) #3 %32 = icmp eq i64 %6, 0 br i1 %32, label %45, label %33 33: ; preds = %24 %34 = load ptr, ptr %15, align 8, !tbaa !9 %35 = call ptr @svn_ra_get_locks2(ptr noundef %34, ptr noundef nonnull %18, ptr noundef nonnull @.str, i32 noundef %4, ptr noundef %13) #3 %36 = icmp eq ptr %35, null br i1 %36, label %46, label %37 37: ; preds = %33 %38 = load i64, ptr %35, align 8, !tbaa !11 %39 = load i64, ptr @SVN_ERR_RA_NOT_IMPLEMENTED, align 8, !tbaa !14 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @svn_error_clear(ptr noundef nonnull %35) #3 store ptr null, ptr %18, align 8, !tbaa !9 br label %46 43: ; preds = %37 %44 = call ptr @svn_error_trace(ptr noundef nonnull %35) #3 br label %126 45: ; preds = %24 store ptr null, ptr %18, align 8, !tbaa !9 br label %46 46: ; preds = %33, %41, %45 br i1 %21, label %47, label %65 47: ; preds = %46 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #3 %48 = getelementptr inbounds %struct.TYPE_25__, ptr %20, i64 0, i32 4 store ptr %11, ptr %48, align 8, !tbaa !15 %49 = getelementptr inbounds %struct.TYPE_25__, ptr %20, i64 0, i32 3 store ptr %12, ptr %49, align 8, !tbaa !17 %50 = getelementptr inbounds %struct.TYPE_25__, ptr %20, i64 0, i32 2 store ptr %10, ptr %50, align 8, !tbaa !18 %51 = load ptr, ptr %18, align 8, !tbaa !9 %52 = getelementptr inbounds %struct.TYPE_25__, ptr %20, i64 0, i32 1 store ptr %51, ptr %52, align 8, !tbaa !19 store ptr %31, ptr %20, align 8, !tbaa !20 %53 = load ptr, ptr %15, align 8, !tbaa !9 %54 = load ptr, ptr %16, align 8, !tbaa !9 %55 = load i32, ptr %54, align 4, !tbaa !21 %56 = load i32, ptr @list_receiver, align 4, !tbaa !5 %57 = call ptr @svn_ra_list(ptr noundef %53, ptr noundef nonnull @.str, i32 noundef %55, ptr noundef %3, i32 noundef %4, i32 noundef %27, i32 noundef %56, ptr noundef nonnull %20, ptr noundef %13) #3 %58 = load i32, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 4, !tbaa !5 %59 = call i64 @svn_error_find_cause(ptr noundef %57, i32 noundef %58) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %63 61: ; preds = %47 %62 = call ptr @svn_error_trace(ptr noundef %57) #3 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #3 br label %126 63: ; preds = %47 %64 = call i32 @svn_error_clear(ptr noundef %57) #3 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #3 br label %65 65: ; preds = %63, %46 %66 = load ptr, ptr %15, align 8, !tbaa !9 %67 = load ptr, ptr %16, align 8, !tbaa !9 %68 = load i32, ptr %67, align 4, !tbaa !21 %69 = call i32 @svn_ra_stat(ptr noundef %66, ptr noundef nonnull @.str, i32 noundef %68, ptr noundef nonnull %17, ptr noundef %13) #3 %70 = call i32 @SVN_ERR(i32 noundef %69) #3 %71 = load ptr, ptr %17, align 8, !tbaa !9 %72 = icmp eq ptr %71, null br i1 %72, label %73, label %81 73: ; preds = %65 %74 = load i32, ptr @SVN_ERR_FS_NOT_FOUND, align 4, !tbaa !5 %75 = call i32 @_(ptr noundef nonnull @.str.1) #3 %76 = load ptr, ptr %16, align 8, !tbaa !9 %77 = getelementptr inbounds %struct.TYPE_24__, ptr %76, i64 0, i32 1 %78 = load i32, ptr %77, align 4, !tbaa !23 %79 = load i32, ptr %76, align 4, !tbaa !21 %80 = call ptr @svn_error_createf(i32 noundef %74, ptr noundef null, i32 noundef %75, i32 noundef %78, i32 noundef %79) #3 br label %126 81: ; preds = %65 %82 = call i32 @svn_membuf__create(ptr noundef nonnull %19, i32 noundef 256, ptr noundef %13) #3 %83 = call i32 @svn_dirent_dirname(ptr noundef %31, ptr noundef %13) #3 %84 = call i64 @match_patterns(i32 noundef %83, ptr noundef %3, ptr noundef nonnull %19) #3 %85 = icmp eq i64 %84, 0 br i1 %85, label %96, label %86 86: ; preds = %81 %87 = load ptr, ptr %17, align 8, !tbaa !9 %88 = load ptr, ptr %18, align 8, !tbaa !9 %89 = icmp eq ptr %88, null br i1 %89, label %92, label %90 90: ; preds = %86 %91 = call ptr @svn_hash_gets(ptr noundef nonnull %88, ptr noundef %31) #3 br label %92 92: ; preds = %86, %90 %93 = phi ptr [ %91, %90 ], [ null, %86 ] %94 = call i32 %10(ptr noundef %11, ptr noundef nonnull @.str, ptr noundef %87, ptr noundef %93, ptr noundef %31, ptr noundef %8, ptr noundef %9, ptr noundef %13) #3 %95 = call i32 @SVN_ERR(i32 noundef %94) #3 br label %96 96: ; preds = %92, %81 %97 = load ptr, ptr %17, align 8, !tbaa !9 %98 = load i64, ptr %97, align 8, !tbaa !24 %99 = load i64, ptr @svn_node_dir, align 8, !tbaa !14 %100 = icmp eq i64 %98, %99 br i1 %100, label %101, label %117 101: ; preds = %96 %102 = load i32, ptr @svn_depth_files, align 4, !tbaa !5 %103 = icmp eq i32 %102, %4 %104 = load i32, ptr @svn_depth_immediates, align 4 %105 = icmp eq i32 %104, %4 %106 = select i1 %103, i1 true, i1 %105 %107 = load i32, ptr @svn_depth_infinity, align 4 %108 = icmp eq i32 %107, %4 %109 = select i1 %106, i1 true, i1 %108 br i1 %109, label %110, label %117 110: ; preds = %101 %111 = load ptr, ptr %16, align 8, !tbaa !9 %112 = load i32, ptr %111, align 4, !tbaa !21 %113 = load ptr, ptr %15, align 8, !tbaa !9 %114 = load ptr, ptr %18, align 8, !tbaa !9 %115 = call i32 @get_dir_contents(i32 noundef %27, ptr noundef nonnull @.str, i32 noundef %112, ptr noundef %113, ptr noundef %114, ptr noundef %31, ptr noundef %3, i32 noundef %4, ptr noundef %12, ptr noundef %25, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef nonnull %19, ptr noundef %13, ptr noundef %13) #3 %116 = call i32 @SVN_ERR(i32 noundef %115) #3 br label %117 117: ; preds = %101, %110, %96 br i1 %21, label %124, label %118 118: ; preds = %117 %119 = call i64 @apr_hash_count(ptr noundef %25) #3 %120 = icmp eq i64 %119, 0 br i1 %120, label %124, label %121 121: ; preds = %118 %122 = call i32 @list_externals(ptr noundef %25, ptr noundef %3, i32 noundef %4, i32 noundef %27, i64 noundef %6, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #3 %123 = call i32 @SVN_ERR(i32 noundef %122) #3 br label %124 124: ; preds = %121, %118, %117 %125 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !9 br label %126 126: ; preds = %61, %124, %73, %43 %127 = phi ptr [ %125, %124 ], [ %80, %73 ], [ %44, %43 ], [ %62, %61 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3 ret ptr %127 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @apr_hash_make(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_client__ra_session_from_path2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_client__pathrev_fspath(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_ra_get_locks2(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2 declare ptr @svn_ra_list(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @svn_error_find_cause(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 declare i32 @svn_ra_stat(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 declare i32 @svn_membuf__create(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @match_patterns(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_dirent_dirname(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_hash_gets(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_dir_contents(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @apr_hash_count(ptr noundef) local_unnamed_addr #2 declare i32 @list_externals(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"any pointer", !7, i64 0} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_22__", !13, i64 0} !13 = !{!"long", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!16, !10, i64 32} !16 = !{!"TYPE_25__", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32} !17 = !{!16, !10, i64 24} !18 = !{!16, !10, i64 16} !19 = !{!16, !10, i64 8} !20 = !{!16, !10, i64 0} !21 = !{!22, !6, i64 0} !22 = !{!"TYPE_24__", !6, i64 0, !6, i64 4} !23 = !{!22, !6, i64 4} !24 = !{!25, !13, i64 0} !25 = !{!"TYPE_23__", !13, i64 0}
; ModuleID = 'AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_list.c_list_internal.c' source_filename = "AnghaBench/freebsd/contrib/subversion/subversion/libsvn_client/extr_list.c_list_internal.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_25__ = type { ptr, ptr, ptr, ptr, ptr } @SVN_DIRENT_KIND = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @SVN_ERR_RA_NOT_IMPLEMENTED = common local_unnamed_addr global i64 0, align 8 @list_receiver = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_UNSUPPORTED_FEATURE = common local_unnamed_addr global i32 0, align 4 @SVN_ERR_FS_NOT_FOUND = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [38 x i8] c"URL '%s' non-existent in revision %ld\00", align 1 @svn_node_dir = common local_unnamed_addr global i64 0, align 8 @svn_depth_files = common local_unnamed_addr global i32 0, align 4 @svn_depth_immediates = common local_unnamed_addr global i32 0, align 4 @svn_depth_infinity = common local_unnamed_addr global i32 0, align 4 @SVN_NO_ERROR = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @list_internal], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @list_internal(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i64 noundef %6, i64 noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #0 { %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca ptr, align 8 %19 = alloca i32, align 4 %20 = alloca %struct.TYPE_25__, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #3 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #3 %21 = icmp eq i64 %7, 0 br i1 %21, label %24, label %22 22: ; preds = %14 %23 = tail call ptr @apr_hash_make(ptr noundef %13) #3 br label %24 24: ; preds = %14, %22 %25 = phi ptr [ %23, %22 ], [ null, %14 ] %26 = load i32, ptr @SVN_DIRENT_KIND, align 4, !tbaa !6 %27 = or i32 %26, %5 %28 = call i32 @svn_client__ra_session_from_path2(ptr noundef nonnull %15, ptr noundef nonnull %16, ptr noundef %0, ptr noundef null, ptr noundef %1, ptr noundef %2, ptr noundef %12, ptr noundef %13) #3 %29 = call i32 @SVN_ERR(i32 noundef %28) #3 %30 = load ptr, ptr %16, align 8, !tbaa !10 %31 = call ptr @svn_client__pathrev_fspath(ptr noundef %30, ptr noundef %13) #3 %32 = icmp eq i64 %6, 0 br i1 %32, label %45, label %33 33: ; preds = %24 %34 = load ptr, ptr %15, align 8, !tbaa !10 %35 = call ptr @svn_ra_get_locks2(ptr noundef %34, ptr noundef nonnull %18, ptr noundef nonnull @.str, i32 noundef %4, ptr noundef %13) #3 %36 = icmp eq ptr %35, null br i1 %36, label %46, label %37 37: ; preds = %33 %38 = load i64, ptr %35, align 8, !tbaa !12 %39 = load i64, ptr @SVN_ERR_RA_NOT_IMPLEMENTED, align 8, !tbaa !15 %40 = icmp eq i64 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = call i32 @svn_error_clear(ptr noundef nonnull %35) #3 store ptr null, ptr %18, align 8, !tbaa !10 br label %46 43: ; preds = %37 %44 = call ptr @svn_error_trace(ptr noundef nonnull %35) #3 br label %126 45: ; preds = %24 store ptr null, ptr %18, align 8, !tbaa !10 br label %46 46: ; preds = %33, %41, %45 br i1 %21, label %47, label %65 47: ; preds = %46 call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #3 %48 = getelementptr inbounds i8, ptr %20, i64 32 store ptr %11, ptr %48, align 8, !tbaa !16 %49 = getelementptr inbounds i8, ptr %20, i64 24 store ptr %12, ptr %49, align 8, !tbaa !18 %50 = getelementptr inbounds i8, ptr %20, i64 16 store ptr %10, ptr %50, align 8, !tbaa !19 %51 = load ptr, ptr %18, align 8, !tbaa !10 %52 = getelementptr inbounds i8, ptr %20, i64 8 store ptr %51, ptr %52, align 8, !tbaa !20 store ptr %31, ptr %20, align 8, !tbaa !21 %53 = load ptr, ptr %15, align 8, !tbaa !10 %54 = load ptr, ptr %16, align 8, !tbaa !10 %55 = load i32, ptr %54, align 4, !tbaa !22 %56 = load i32, ptr @list_receiver, align 4, !tbaa !6 %57 = call ptr @svn_ra_list(ptr noundef %53, ptr noundef nonnull @.str, i32 noundef %55, ptr noundef %3, i32 noundef %4, i32 noundef %27, i32 noundef %56, ptr noundef nonnull %20, ptr noundef %13) #3 %58 = load i32, ptr @SVN_ERR_UNSUPPORTED_FEATURE, align 4, !tbaa !6 %59 = call i64 @svn_error_find_cause(ptr noundef %57, i32 noundef %58) #3 %60 = icmp eq i64 %59, 0 br i1 %60, label %61, label %63 61: ; preds = %47 %62 = call ptr @svn_error_trace(ptr noundef %57) #3 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #3 br label %126 63: ; preds = %47 %64 = call i32 @svn_error_clear(ptr noundef %57) #3 call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #3 br label %65 65: ; preds = %63, %46 %66 = load ptr, ptr %15, align 8, !tbaa !10 %67 = load ptr, ptr %16, align 8, !tbaa !10 %68 = load i32, ptr %67, align 4, !tbaa !22 %69 = call i32 @svn_ra_stat(ptr noundef %66, ptr noundef nonnull @.str, i32 noundef %68, ptr noundef nonnull %17, ptr noundef %13) #3 %70 = call i32 @SVN_ERR(i32 noundef %69) #3 %71 = load ptr, ptr %17, align 8, !tbaa !10 %72 = icmp eq ptr %71, null br i1 %72, label %73, label %81 73: ; preds = %65 %74 = load i32, ptr @SVN_ERR_FS_NOT_FOUND, align 4, !tbaa !6 %75 = call i32 @_(ptr noundef nonnull @.str.1) #3 %76 = load ptr, ptr %16, align 8, !tbaa !10 %77 = getelementptr inbounds i8, ptr %76, i64 4 %78 = load i32, ptr %77, align 4, !tbaa !24 %79 = load i32, ptr %76, align 4, !tbaa !22 %80 = call ptr @svn_error_createf(i32 noundef %74, ptr noundef null, i32 noundef %75, i32 noundef %78, i32 noundef %79) #3 br label %126 81: ; preds = %65 %82 = call i32 @svn_membuf__create(ptr noundef nonnull %19, i32 noundef 256, ptr noundef %13) #3 %83 = call i32 @svn_dirent_dirname(ptr noundef %31, ptr noundef %13) #3 %84 = call i64 @match_patterns(i32 noundef %83, ptr noundef %3, ptr noundef nonnull %19) #3 %85 = icmp eq i64 %84, 0 br i1 %85, label %96, label %86 86: ; preds = %81 %87 = load ptr, ptr %17, align 8, !tbaa !10 %88 = load ptr, ptr %18, align 8, !tbaa !10 %89 = icmp eq ptr %88, null br i1 %89, label %92, label %90 90: ; preds = %86 %91 = call ptr @svn_hash_gets(ptr noundef nonnull %88, ptr noundef %31) #3 br label %92 92: ; preds = %86, %90 %93 = phi ptr [ %91, %90 ], [ null, %86 ] %94 = call i32 %10(ptr noundef %11, ptr noundef nonnull @.str, ptr noundef %87, ptr noundef %93, ptr noundef %31, ptr noundef %8, ptr noundef %9, ptr noundef %13) #3 %95 = call i32 @SVN_ERR(i32 noundef %94) #3 br label %96 96: ; preds = %92, %81 %97 = load ptr, ptr %17, align 8, !tbaa !10 %98 = load i64, ptr %97, align 8, !tbaa !25 %99 = load i64, ptr @svn_node_dir, align 8, !tbaa !15 %100 = icmp eq i64 %98, %99 br i1 %100, label %101, label %117 101: ; preds = %96 %102 = load i32, ptr @svn_depth_files, align 4, !tbaa !6 %103 = icmp eq i32 %102, %4 %104 = load i32, ptr @svn_depth_immediates, align 4 %105 = icmp eq i32 %104, %4 %106 = select i1 %103, i1 true, i1 %105 %107 = load i32, ptr @svn_depth_infinity, align 4 %108 = icmp eq i32 %107, %4 %109 = select i1 %106, i1 true, i1 %108 br i1 %109, label %110, label %117 110: ; preds = %101 %111 = load ptr, ptr %16, align 8, !tbaa !10 %112 = load i32, ptr %111, align 4, !tbaa !22 %113 = load ptr, ptr %15, align 8, !tbaa !10 %114 = load ptr, ptr %18, align 8, !tbaa !10 %115 = call i32 @get_dir_contents(i32 noundef %27, ptr noundef nonnull @.str, i32 noundef %112, ptr noundef %113, ptr noundef %114, ptr noundef %31, ptr noundef %3, i32 noundef %4, ptr noundef %12, ptr noundef %25, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef nonnull %19, ptr noundef %13, ptr noundef %13) #3 %116 = call i32 @SVN_ERR(i32 noundef %115) #3 br label %117 117: ; preds = %101, %110, %96 br i1 %21, label %124, label %118 118: ; preds = %117 %119 = call i64 @apr_hash_count(ptr noundef %25) #3 %120 = icmp eq i64 %119, 0 br i1 %120, label %124, label %121 121: ; preds = %118 %122 = call i32 @list_externals(ptr noundef %25, ptr noundef %3, i32 noundef %4, i32 noundef %27, i64 noundef %6, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13) #3 %123 = call i32 @SVN_ERR(i32 noundef %122) #3 br label %124 124: ; preds = %121, %118, %117 %125 = load ptr, ptr @SVN_NO_ERROR, align 8, !tbaa !10 br label %126 126: ; preds = %61, %124, %73, %43 %127 = phi ptr [ %125, %124 ], [ %80, %73 ], [ %44, %43 ], [ %62, %61 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #3 ret ptr %127 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @apr_hash_make(ptr noundef) local_unnamed_addr #2 declare i32 @SVN_ERR(i32 noundef) local_unnamed_addr #2 declare i32 @svn_client__ra_session_from_path2(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_client__pathrev_fspath(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_ra_get_locks2(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_error_clear(ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_trace(ptr noundef) local_unnamed_addr #2 declare ptr @svn_ra_list(ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @svn_error_find_cause(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 declare i32 @svn_ra_stat(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_error_createf(i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @_(ptr noundef) local_unnamed_addr #2 declare i32 @svn_membuf__create(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i64 @match_patterns(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @svn_dirent_dirname(ptr noundef, ptr noundef) local_unnamed_addr #2 declare ptr @svn_hash_gets(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @get_dir_contents(i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @apr_hash_count(ptr noundef) local_unnamed_addr #2 declare i32 @list_externals(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !14, i64 0} !13 = !{!"TYPE_22__", !14, i64 0} !14 = !{!"long", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!17, !11, i64 32} !17 = !{!"TYPE_25__", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32} !18 = !{!17, !11, i64 24} !19 = !{!17, !11, i64 16} !20 = !{!17, !11, i64 8} !21 = !{!17, !11, i64 0} !22 = !{!23, !7, i64 0} !23 = !{!"TYPE_24__", !7, i64 0, !7, i64 4} !24 = !{!23, !7, i64 4} !25 = !{!26, !14, i64 0} !26 = !{!"TYPE_23__", !14, i64 0}
freebsd_contrib_subversion_subversion_libsvn_client_extr_list.c_list_internal
; ModuleID = 'AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_randomFunc.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_randomFunc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LARGEST_INT64 = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @randomFunc], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @randomFunc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @UNUSED_PARAMETER2(i32 noundef %1, ptr noundef %2) #3 %6 = call i32 @sqlite3_randomness(i32 noundef 4, ptr noundef nonnull %4) #3 %7 = load i32, ptr %4, align 4, !tbaa !5 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load i32, ptr @LARGEST_INT64, align 4, !tbaa !5 %11 = and i32 %10, %7 %12 = sub nsw i32 0, %11 store i32 %12, ptr %4, align 4, !tbaa !5 br label %13 13: ; preds = %9, %3 %14 = phi i32 [ %12, %9 ], [ %7, %3 ] %15 = call i32 @sqlite3_result_int64(ptr noundef %0, i32 noundef %14) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @UNUSED_PARAMETER2(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_randomness(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_result_int64(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/poco/Data/SQLite/src/extr_sqlite3.c_randomFunc.c' source_filename = "AnghaBench/poco/Data/SQLite/src/extr_sqlite3.c_randomFunc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LARGEST_INT64 = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @randomFunc], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @randomFunc(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = tail call i32 @UNUSED_PARAMETER2(i32 noundef %1, ptr noundef %2) #3 %6 = call i32 @sqlite3_randomness(i32 noundef 4, ptr noundef nonnull %4) #3 %7 = load i32, ptr %4, align 4, !tbaa !6 %8 = icmp slt i32 %7, 0 br i1 %8, label %9, label %13 9: ; preds = %3 %10 = load i32, ptr @LARGEST_INT64, align 4, !tbaa !6 %11 = and i32 %10, %7 %12 = sub nsw i32 0, %11 store i32 %12, ptr %4, align 4, !tbaa !6 br label %13 13: ; preds = %9, %3 %14 = phi i32 [ %12, %9 ], [ %7, %3 ] %15 = call i32 @sqlite3_result_int64(ptr noundef %0, i32 noundef %14) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @UNUSED_PARAMETER2(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_randomness(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @sqlite3_result_int64(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"}
poco_Data_SQLite_src_extr_sqlite3.c_randomFunc
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_swab.c_TIFFSwabArrayOfLong.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_swab.c_TIFFSwabArrayOfLong.c" target datalayout = "e-m:e-p270:32:32-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 @TIFFSwabArrayOfLong(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(i32 noundef 1) #2 %4 = icmp sgt i32 %1, 0 br i1 %4, label %5, label %40 5: ; preds = %2 %6 = and i32 %1, 3 %7 = icmp eq i32 %6, 0 br i1 %7, label %18, label %8 8: ; preds = %5, %8 %9 = phi ptr [ %15, %8 ], [ %0, %5 ] %10 = phi i32 [ %12, %8 ], [ %1, %5 ] %11 = phi i32 [ %16, %8 ], [ 0, %5 ] %12 = add nsw i32 %10, -1 %13 = load <4 x i8>, ptr %9, align 1, !tbaa !5 %14 = shufflevector <4 x i8> %13, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i8> %14, ptr %9, align 1, !tbaa !5 %15 = getelementptr inbounds i32, ptr %9, i64 1 %16 = add i32 %11, 1 %17 = icmp eq i32 %16, %6 br i1 %17, label %18, label %8, !llvm.loop !8 18: ; preds = %8, %5 %19 = phi ptr [ %0, %5 ], [ %15, %8 ] %20 = phi i32 [ %1, %5 ], [ %12, %8 ] %21 = icmp ult i32 %1, 4 br i1 %21, label %40, label %22 22: ; preds = %18, %22 %23 = phi ptr [ %37, %22 ], [ %19, %18 ] %24 = phi i32 [ %34, %22 ], [ %20, %18 ] %25 = load <4 x i8>, ptr %23, align 1, !tbaa !5 %26 = shufflevector <4 x i8> %25, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i8> %26, ptr %23, align 1, !tbaa !5 %27 = getelementptr inbounds i32, ptr %23, i64 1 %28 = load <4 x i8>, ptr %27, align 1, !tbaa !5 %29 = shufflevector <4 x i8> %28, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i8> %29, ptr %27, align 1, !tbaa !5 %30 = getelementptr inbounds i32, ptr %23, i64 2 %31 = load <4 x i8>, ptr %30, align 1, !tbaa !5 %32 = shufflevector <4 x i8> %31, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i8> %32, ptr %30, align 1, !tbaa !5 %33 = getelementptr inbounds i32, ptr %23, i64 3 %34 = add nsw i32 %24, -4 %35 = load <4 x i8>, ptr %33, align 1, !tbaa !5 %36 = shufflevector <4 x i8> %35, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i8> %36, ptr %33, align 1, !tbaa !5 %37 = getelementptr inbounds i32, ptr %23, i64 4 %38 = add i32 %24, -5 %39 = icmp ult i32 %38, -2 br i1 %39, label %22, label %40, !llvm.loop !10 40: ; preds = %18, %22, %2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = distinct !{!8, !9} !9 = !{!"llvm.loop.unroll.disable"} !10 = distinct !{!10, !11} !11 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_swab.c_TIFFSwabArrayOfLong.c' source_filename = "AnghaBench/reactos/dll/3rdparty/libtiff/extr_tif_swab.c_TIFFSwabArrayOfLong.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 @TIFFSwabArrayOfLong(ptr nocapture noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @assert(i32 noundef 1) #2 %4 = icmp sgt i32 %1, 0 br i1 %4, label %5, label %67 5: ; preds = %2 %6 = zext nneg i32 %1 to i64 %7 = icmp ult i32 %1, 8 br i1 %7, label %56, label %8 8: ; preds = %5 %9 = icmp ult i32 %1, 32 br i1 %9, label %33, label %10 10: ; preds = %8 %11 = and i64 %6, 2147483616 br label %12 12: ; preds = %12, %10 %13 = phi i64 [ 0, %10 ], [ %22, %12 ] %14 = shl i64 %13, 2 %15 = or disjoint i64 %14, 64 %16 = getelementptr i8, ptr %0, i64 %14 %17 = getelementptr i8, ptr %0, i64 %15 %18 = load <64 x i8>, ptr %16, align 1, !tbaa !6 %19 = load <64 x i8>, ptr %17, align 1, !tbaa !6 %20 = shufflevector <64 x i8> %18, <64 x i8> poison, <64 x i32> <i32 3, i32 2, i32 1, i32 0, i32 7, i32 6, i32 5, i32 4, i32 11, i32 10, i32 9, i32 8, i32 15, i32 14, i32 13, i32 12, i32 19, i32 18, i32 17, i32 16, i32 23, i32 22, i32 21, i32 20, i32 27, i32 26, i32 25, i32 24, i32 31, i32 30, i32 29, i32 28, i32 35, i32 34, i32 33, i32 32, i32 39, i32 38, i32 37, i32 36, i32 43, i32 42, i32 41, i32 40, i32 47, i32 46, i32 45, i32 44, i32 51, i32 50, i32 49, i32 48, i32 55, i32 54, i32 53, i32 52, i32 59, i32 58, i32 57, i32 56, i32 63, i32 62, i32 61, i32 60> store <64 x i8> %20, ptr %16, align 1, !tbaa !6 %21 = shufflevector <64 x i8> %19, <64 x i8> poison, <64 x i32> <i32 3, i32 2, i32 1, i32 0, i32 7, i32 6, i32 5, i32 4, i32 11, i32 10, i32 9, i32 8, i32 15, i32 14, i32 13, i32 12, i32 19, i32 18, i32 17, i32 16, i32 23, i32 22, i32 21, i32 20, i32 27, i32 26, i32 25, i32 24, i32 31, i32 30, i32 29, i32 28, i32 35, i32 34, i32 33, i32 32, i32 39, i32 38, i32 37, i32 36, i32 43, i32 42, i32 41, i32 40, i32 47, i32 46, i32 45, i32 44, i32 51, i32 50, i32 49, i32 48, i32 55, i32 54, i32 53, i32 52, i32 59, i32 58, i32 57, i32 56, i32 63, i32 62, i32 61, i32 60> store <64 x i8> %21, ptr %17, align 1, !tbaa !6 %22 = add nuw i64 %13, 32 %23 = icmp eq i64 %22, %11 br i1 %23, label %24, label %12, !llvm.loop !9 24: ; preds = %12 %25 = icmp eq i64 %11, %6 br i1 %25, label %67, label %26 26: ; preds = %24 %27 = trunc nuw nsw i64 %11 to i32 %28 = sub nsw i32 %1, %27 %29 = shl nuw nsw i64 %11, 2 %30 = getelementptr i8, ptr %0, i64 %29 %31 = and i64 %6, 24 %32 = icmp eq i64 %31, 0 br i1 %32, label %56, label %33 33: ; preds = %8, %26 %34 = phi i64 [ %11, %26 ], [ 0, %8 ] %35 = and i64 %6, 2147483640 %36 = shl nuw nsw i64 %35, 2 %37 = getelementptr i8, ptr %0, i64 %36 %38 = trunc nuw nsw i64 %35 to i32 %39 = sub nsw i32 %1, %38 br label %40 40: ; preds = %40, %33 %41 = phi i64 [ %34, %33 ], [ %52, %40 ] %42 = shl i64 %41, 2 %43 = getelementptr i8, ptr %0, i64 %42 %44 = load <32 x i8>, ptr %43, align 1, !tbaa !6 %45 = shufflevector <32 x i8> %44, <32 x i8> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28> %46 = shufflevector <32 x i8> %44, <32 x i8> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29> %47 = shufflevector <32 x i8> %44, <32 x i8> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30> %48 = shufflevector <32 x i8> %44, <32 x i8> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31> %49 = shufflevector <8 x i8> %48, <8 x i8> %47, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15> %50 = shufflevector <8 x i8> %46, <8 x i8> %45, <16 x i32> <i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10, i32 11, i32 12, i32 13, i32 14, i32 15> %51 = shufflevector <16 x i8> %49, <16 x i8> %50, <32 x i32> <i32 0, i32 8, i32 16, i32 24, i32 1, i32 9, i32 17, i32 25, i32 2, i32 10, i32 18, i32 26, i32 3, i32 11, i32 19, i32 27, i32 4, i32 12, i32 20, i32 28, i32 5, i32 13, i32 21, i32 29, i32 6, i32 14, i32 22, i32 30, i32 7, i32 15, i32 23, i32 31> store <32 x i8> %51, ptr %43, align 1, !tbaa !6 %52 = add nuw i64 %41, 8 %53 = icmp eq i64 %52, %35 br i1 %53, label %54, label %40, !llvm.loop !13 54: ; preds = %40 %55 = icmp eq i64 %35, %6 br i1 %55, label %67, label %56 56: ; preds = %54, %5, %26 %57 = phi ptr [ %0, %5 ], [ %30, %26 ], [ %37, %54 ] %58 = phi i32 [ %1, %5 ], [ %28, %26 ], [ %39, %54 ] br label %59 59: ; preds = %56, %59 %60 = phi ptr [ %65, %59 ], [ %57, %56 ] %61 = phi i32 [ %62, %59 ], [ %58, %56 ] %62 = add nsw i32 %61, -1 %63 = load <4 x i8>, ptr %60, align 1, !tbaa !6 %64 = shufflevector <4 x i8> %63, <4 x i8> poison, <4 x i32> <i32 3, i32 2, i32 1, i32 0> store <4 x i8> %64, ptr %60, align 1, !tbaa !6 %65 = getelementptr inbounds i8, ptr %60, i64 4 %66 = icmp ugt i32 %61, 1 br i1 %66, label %59, label %67, !llvm.loop !14 67: ; preds = %59, %24, %54, %2 ret void } declare i32 @assert(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !11, !12} !14 = distinct !{!14, !10, !12, !11}
reactos_dll_3rdparty_libtiff_extr_tif_swab.c_TIFFSwabArrayOfLong
; ModuleID = 'AnghaBench/libgit2/tests/refs/branches/extr_ishead.c_test_refs_branches_ishead__cleanup.c' source_filename = "AnghaBench/libgit2/tests/refs/branches/extr_ishead.c_test_refs_branches_ishead__cleanup.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @branch = dso_local local_unnamed_addr global ptr null, align 8 @repo = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind uwtable define dso_local void @test_refs_branches_ishead__cleanup() local_unnamed_addr #0 { %1 = load ptr, ptr @branch, align 8, !tbaa !5 %2 = tail call i32 @git_reference_free(ptr noundef %1) #2 store ptr null, ptr @branch, align 8, !tbaa !5 %3 = tail call i32 (...) @cl_git_sandbox_cleanup() #2 store ptr null, ptr @repo, align 8, !tbaa !5 ret void } declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #1 declare i32 @cl_git_sandbox_cleanup(...) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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/libgit2/tests/refs/branches/extr_ishead.c_test_refs_branches_ishead__cleanup.c' source_filename = "AnghaBench/libgit2/tests/refs/branches/extr_ishead.c_test_refs_branches_ishead__cleanup.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @branch = common local_unnamed_addr global ptr null, align 8 @repo = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define void @test_refs_branches_ishead__cleanup() local_unnamed_addr #0 { %1 = load ptr, ptr @branch, align 8, !tbaa !6 %2 = tail call i32 @git_reference_free(ptr noundef %1) #2 store ptr null, ptr @branch, align 8, !tbaa !6 %3 = tail call i32 @cl_git_sandbox_cleanup() #2 store ptr null, ptr @repo, align 8, !tbaa !6 ret void } declare i32 @git_reference_free(ptr noundef) local_unnamed_addr #1 declare i32 @cl_git_sandbox_cleanup(...) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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"}
libgit2_tests_refs_branches_extr_ishead.c_test_refs_branches_ishead__cleanup
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_ble_32.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_ble_32.c" target datalayout = "e-m:e-p270:32:32-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_IR = dso_local local_unnamed_addr global i32 0, align 4 @CYC_BCC_NOTAKE_B = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @m68k_op_ble_32], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @m68k_op_ble_32() #0 { %1 = tail call i64 (...) @COND_LE() #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %7, label %3 3: ; preds = %0 %4 = load i32, ptr @REG_IR, align 4, !tbaa !5 %5 = tail call i32 @MASK_OUT_ABOVE_8(i32 noundef %4) #2 %6 = tail call i32 @m68ki_branch_8(i32 noundef %5) #2 br label %10 7: ; preds = %0 %8 = load i32, ptr @CYC_BCC_NOTAKE_B, align 4, !tbaa !5 %9 = tail call i32 @USE_CYCLES(i32 noundef %8) #2 br label %10 10: ; preds = %7, %3 ret void } declare i64 @COND_LE(...) local_unnamed_addr #1 declare i32 @m68ki_branch_8(i32 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_8(i32 noundef) local_unnamed_addr #1 declare i32 @USE_CYCLES(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_ble_32.c' source_filename = "AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/m68k/extr_m68kops.h_m68k_op_ble_32.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @REG_IR = common local_unnamed_addr global i32 0, align 4 @CYC_BCC_NOTAKE_B = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @m68k_op_ble_32], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @m68k_op_ble_32() #0 { %1 = tail call i64 @COND_LE() #2 %2 = icmp eq i64 %1, 0 br i1 %2, label %7, label %3 3: ; preds = %0 %4 = load i32, ptr @REG_IR, align 4, !tbaa !6 %5 = tail call i32 @MASK_OUT_ABOVE_8(i32 noundef %4) #2 %6 = tail call i32 @m68ki_branch_8(i32 noundef %5) #2 br label %10 7: ; preds = %0 %8 = load i32, ptr @CYC_BCC_NOTAKE_B, align 4, !tbaa !6 %9 = tail call i32 @USE_CYCLES(i32 noundef %8) #2 br label %10 10: ; preds = %7, %3 ret void } declare i64 @COND_LE(...) local_unnamed_addr #1 declare i32 @m68ki_branch_8(i32 noundef) local_unnamed_addr #1 declare i32 @MASK_OUT_ABOVE_8(i32 noundef) local_unnamed_addr #1 declare i32 @USE_CYCLES(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
Provenance_Cores_Genesis-Plus-GX_PVGenesis_Genesis_GenesisCore_genplusgx_source_m68k_extr_m68kops.h_m68k_op_ble_32
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-e7000.c__initialize_remote_e7000.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-e7000.c__initialize_remote_e7000.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @e7000_ops = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"e7000\00", align 1 @class_obscure = dso_local local_unnamed_addr global i32 0, align 4 @e7000_command = dso_local local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Send a command to the e7000 monitor.\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"ftplogin\00", align 1 @e7000_login_command = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [42 x i8] c"Login to machine and change to directory.\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"ftpload\00", align 1 @e7000_ftp_command = dso_local local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [55 x i8] c"Fetch and load a file from previously described place.\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"drain\00", align 1 @e7000_drain_command = dso_local local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [34 x i8] c"Drain pending e7000 text buffers.\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"usehardbreakpoints\00", align 1 @no_class = dso_local local_unnamed_addr global i32 0, align 4 @var_integer = dso_local local_unnamed_addr global i32 0, align 4 @use_hard_breakpoints = dso_local global i32 0, align 4 @.str.9 = private unnamed_addr constant [54 x i8] c"Set use of hardware breakpoints for all breakpoints.\0A\00", align 1 @setlist = dso_local global i32 0, align 4 @showlist = dso_local global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @_initialize_remote_e7000() local_unnamed_addr #0 { %1 = tail call i32 (...) @init_e7000_ops() #2 %2 = tail call i32 @add_target(ptr noundef nonnull @e7000_ops) #2 %3 = load i32, ptr @class_obscure, align 4, !tbaa !5 %4 = load i32, ptr @e7000_command, align 4, !tbaa !5 %5 = tail call i32 @add_com(ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str.1) #2 %6 = load i32, ptr @class_obscure, align 4, !tbaa !5 %7 = load i32, ptr @e7000_login_command, align 4, !tbaa !5 %8 = tail call i32 @add_com(ptr noundef nonnull @.str.2, i32 noundef %6, i32 noundef %7, ptr noundef nonnull @.str.3) #2 %9 = load i32, ptr @class_obscure, align 4, !tbaa !5 %10 = load i32, ptr @e7000_ftp_command, align 4, !tbaa !5 %11 = tail call i32 @add_com(ptr noundef nonnull @.str.4, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str.5) #2 %12 = load i32, ptr @class_obscure, align 4, !tbaa !5 %13 = load i32, ptr @e7000_drain_command, align 4, !tbaa !5 %14 = tail call i32 @add_com(ptr noundef nonnull @.str.6, i32 noundef %12, i32 noundef %13, ptr noundef nonnull @.str.7) #2 %15 = load i32, ptr @no_class, align 4, !tbaa !5 %16 = load i32, ptr @var_integer, align 4, !tbaa !5 %17 = tail call i32 @add_set_cmd(ptr noundef nonnull @.str.8, i32 noundef %15, i32 noundef %16, ptr noundef nonnull @use_hard_breakpoints, ptr noundef nonnull @.str.9, ptr noundef nonnull @setlist) #2 %18 = tail call i32 @add_show_from_set(i32 noundef %17, ptr noundef nonnull @showlist) #2 ret void } declare i32 @init_e7000_ops(...) local_unnamed_addr #1 declare i32 @add_target(ptr noundef) local_unnamed_addr #1 declare i32 @add_com(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_show_from_set(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_set_cmd(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-e7000.c__initialize_remote_e7000.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_remote-e7000.c__initialize_remote_e7000.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @e7000_ops = common global i32 0, align 4 @.str = private unnamed_addr constant [6 x i8] c"e7000\00", align 1 @class_obscure = common local_unnamed_addr global i32 0, align 4 @e7000_command = common local_unnamed_addr global i32 0, align 4 @.str.1 = private unnamed_addr constant [37 x i8] c"Send a command to the e7000 monitor.\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"ftplogin\00", align 1 @e7000_login_command = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [42 x i8] c"Login to machine and change to directory.\00", align 1 @.str.4 = private unnamed_addr constant [8 x i8] c"ftpload\00", align 1 @e7000_ftp_command = common local_unnamed_addr global i32 0, align 4 @.str.5 = private unnamed_addr constant [55 x i8] c"Fetch and load a file from previously described place.\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"drain\00", align 1 @e7000_drain_command = common local_unnamed_addr global i32 0, align 4 @.str.7 = private unnamed_addr constant [34 x i8] c"Drain pending e7000 text buffers.\00", align 1 @.str.8 = private unnamed_addr constant [19 x i8] c"usehardbreakpoints\00", align 1 @no_class = common local_unnamed_addr global i32 0, align 4 @var_integer = common local_unnamed_addr global i32 0, align 4 @use_hard_breakpoints = common global i32 0, align 4 @.str.9 = private unnamed_addr constant [54 x i8] c"Set use of hardware breakpoints for all breakpoints.\0A\00", align 1 @setlist = common global i32 0, align 4 @showlist = common global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @_initialize_remote_e7000() local_unnamed_addr #0 { %1 = tail call i32 @init_e7000_ops() #2 %2 = tail call i32 @add_target(ptr noundef nonnull @e7000_ops) #2 %3 = load i32, ptr @class_obscure, align 4, !tbaa !6 %4 = load i32, ptr @e7000_command, align 4, !tbaa !6 %5 = tail call i32 @add_com(ptr noundef nonnull @.str, i32 noundef %3, i32 noundef %4, ptr noundef nonnull @.str.1) #2 %6 = load i32, ptr @class_obscure, align 4, !tbaa !6 %7 = load i32, ptr @e7000_login_command, align 4, !tbaa !6 %8 = tail call i32 @add_com(ptr noundef nonnull @.str.2, i32 noundef %6, i32 noundef %7, ptr noundef nonnull @.str.3) #2 %9 = load i32, ptr @class_obscure, align 4, !tbaa !6 %10 = load i32, ptr @e7000_ftp_command, align 4, !tbaa !6 %11 = tail call i32 @add_com(ptr noundef nonnull @.str.4, i32 noundef %9, i32 noundef %10, ptr noundef nonnull @.str.5) #2 %12 = load i32, ptr @class_obscure, align 4, !tbaa !6 %13 = load i32, ptr @e7000_drain_command, align 4, !tbaa !6 %14 = tail call i32 @add_com(ptr noundef nonnull @.str.6, i32 noundef %12, i32 noundef %13, ptr noundef nonnull @.str.7) #2 %15 = load i32, ptr @no_class, align 4, !tbaa !6 %16 = load i32, ptr @var_integer, align 4, !tbaa !6 %17 = tail call i32 @add_set_cmd(ptr noundef nonnull @.str.8, i32 noundef %15, i32 noundef %16, ptr noundef nonnull @use_hard_breakpoints, ptr noundef nonnull @.str.9, ptr noundef nonnull @setlist) #2 %18 = tail call i32 @add_show_from_set(i32 noundef %17, ptr noundef nonnull @showlist) #2 ret void } declare i32 @init_e7000_ops(...) local_unnamed_addr #1 declare i32 @add_target(ptr noundef) local_unnamed_addr #1 declare i32 @add_com(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_show_from_set(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @add_set_cmd(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gdb_gdb_extr_remote-e7000.c__initialize_remote_e7000
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ctld/extr_ctld.c_target_set_redirection.c' source_filename = "AnghaBench/freebsd/usr.sbin/ctld/extr_ctld.c_target_set_redirection.c" target datalayout = "e-m:e-p270:32:32-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.target = type { ptr, i32 } @.str = private unnamed_addr constant [64 x i8] c"cannot set redirection to \22%s\22 for target \22%s\22; already defined\00", align 1 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @target_set_redirection(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %2 %6 = getelementptr inbounds %struct.target, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 8, !tbaa !11 %8 = tail call i32 @log_warnx(ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %7) #2 br label %11 9: ; preds = %2 %10 = tail call ptr @checked_strdup(ptr noundef %1) #2 store ptr %10, ptr %0, align 8, !tbaa !5 br label %11 11: ; preds = %9, %5 %12 = phi i32 [ 1, %5 ], [ 0, %9 ] ret i32 %12 } declare i32 @log_warnx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @checked_strdup(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 = !{!"target", !7, i64 0, !10, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ctld/extr_ctld.c_target_set_redirection.c' source_filename = "AnghaBench/freebsd/usr.sbin/ctld/extr_ctld.c_target_set_redirection.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 [64 x i8] c"cannot set redirection to \22%s\22 for target \22%s\22; already defined\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @target_set_redirection(ptr nocapture noundef %0, ptr noundef %1) local_unnamed_addr #0 { %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %9, label %5 5: ; preds = %2 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load i32, ptr %6, align 8, !tbaa !12 %8 = tail call i32 @log_warnx(ptr noundef nonnull @.str, ptr noundef %1, i32 noundef %7) #2 br label %11 9: ; preds = %2 %10 = tail call ptr @checked_strdup(ptr noundef %1) #2 store ptr %10, ptr %0, align 8, !tbaa !6 br label %11 11: ; preds = %9, %5 %12 = phi i32 [ 1, %5 ], [ 0, %9 ] ret i32 %12 } declare i32 @log_warnx(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @checked_strdup(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 = !{!"target", !8, i64 0, !11, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8}
freebsd_usr.sbin_ctld_extr_ctld.c_target_set_redirection
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/apphelp/extr_layerapi.c_delete_file.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/apphelp/extr_layerapi.c_delete_file.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MAX_PATH = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @delete_file], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @delete_file(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @MAX_PATH, align 4, !tbaa !5 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 16 %6 = call i32 @PathCombineA(ptr noundef nonnull %5, i32 noundef %0, i32 noundef %1) #2 %7 = call i32 @DeleteFileA(ptr noundef nonnull %5) #2 ret i32 %7 } declare i32 @PathCombineA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DeleteFileA(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/reactos/modules/rostests/apitests/apphelp/extr_layerapi.c_delete_file.c' source_filename = "AnghaBench/reactos/modules/rostests/apitests/apphelp/extr_layerapi.c_delete_file.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_PATH = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @delete_file], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @delete_file(i32 noundef %0, i32 noundef %1) #0 { %3 = load i32, ptr @MAX_PATH, align 4, !tbaa !6 %4 = zext i32 %3 to i64 %5 = alloca i8, i64 %4, align 1 %6 = call i32 @PathCombineA(ptr noundef nonnull %5, i32 noundef %0, i32 noundef %1) #2 %7 = call i32 @DeleteFileA(ptr noundef nonnull %5) #2 ret i32 %7 } declare i32 @PathCombineA(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DeleteFileA(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"}
reactos_modules_rostests_apitests_apphelp_extr_layerapi.c_delete_file
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_time.c_ngx_http_lua_ffi_utctime.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_time.c_ngx_http_lua_ffi_utctime.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i32, i32, i32, i32, i32 } @.str = private unnamed_addr constant [30 x i8] c"%04d-%02d-%02d %02d:%02d:%02d\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @ngx_http_lua_ffi_utctime(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3 %3 = tail call i32 (...) @ngx_time() #3 %4 = call i32 @ngx_gmtime(i32 noundef %3, ptr noundef nonnull %2) #3 %5 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 5 %6 = load i32, ptr %5, align 4, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 4 %8 = load i32, ptr %7, align 4, !tbaa !10 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 3 %10 = load i32, ptr %9, align 4, !tbaa !11 %11 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 2 %12 = load i32, ptr %11, align 4, !tbaa !12 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %2, i64 0, i32 1 %14 = load i32, ptr %13, align 4, !tbaa !13 %15 = load i32, ptr %2, align 4, !tbaa !14 %16 = call i32 @ngx_sprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %15) #3 call void @llvm.lifetime.end.p0(i64 24, 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 @ngx_gmtime(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ngx_time(...) local_unnamed_addr #2 declare i32 @ngx_sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 20} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 16} !11 = !{!6, !7, i64 12} !12 = !{!6, !7, i64 8} !13 = !{!6, !7, i64 4} !14 = !{!6, !7, i64 0}
; ModuleID = 'AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_time.c_ngx_http_lua_ffi_utctime.c' source_filename = "AnghaBench/tengine/modules/ngx_http_lua_module/src/extr_ngx_http_lua_time.c_ngx_http_lua_ffi_utctime.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, i32, i32, i32, i32 } @.str = private unnamed_addr constant [30 x i8] c"%04d-%02d-%02d %02d:%02d:%02d\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @ngx_http_lua_ffi_utctime(ptr noundef %0) local_unnamed_addr #0 { %2 = alloca %struct.TYPE_3__, align 4 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #3 %3 = tail call i32 @ngx_time() #3 %4 = call i32 @ngx_gmtime(i32 noundef %3, ptr noundef nonnull %2) #3 %5 = getelementptr inbounds i8, ptr %2, i64 20 %6 = load i32, ptr %5, align 4, !tbaa !6 %7 = getelementptr inbounds i8, ptr %2, i64 16 %8 = load i32, ptr %7, align 4, !tbaa !11 %9 = getelementptr inbounds i8, ptr %2, i64 12 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = getelementptr inbounds i8, ptr %2, i64 8 %12 = load i32, ptr %11, align 4, !tbaa !13 %13 = getelementptr inbounds i8, ptr %2, i64 4 %14 = load i32, ptr %13, align 4, !tbaa !14 %15 = load i32, ptr %2, align 4, !tbaa !15 %16 = call i32 @ngx_sprintf(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %6, i32 noundef %8, i32 noundef %10, i32 noundef %12, i32 noundef %14, i32 noundef %15) #3 call void @llvm.lifetime.end.p0(i64 24, 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 @ngx_gmtime(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @ngx_time(...) local_unnamed_addr #2 declare i32 @ngx_sprintf(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 20} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 16} !12 = !{!7, !8, i64 12} !13 = !{!7, !8, i64 8} !14 = !{!7, !8, i64 4} !15 = !{!7, !8, i64 0}
tengine_modules_ngx_http_lua_module_src_extr_ngx_http_lua_time.c_ngx_http_lua_ffi_utctime
; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_session.c_ensure_useragent.c' source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_session.c_ensure_useragent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, i64, i32, i32 } @__const.ensure_useragent.info = private unnamed_addr constant %struct.TYPE_3__ { i32 24, i64 0, i32 0, i32 0 }, align 8 @ensure_useragent.formatW = internal constant [66 x i8] c"Mozilla/4.0 (compatible; MSIE 8.0; Windows %s%d.%d; %sTrident/5.0\00", align 16 @ensure_useragent.post_platform_keyW = internal constant [89 x i8] c"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\5.0\\User Agent\\Post Platform\00", align 16 @ensure_useragent.ntW = internal constant [4 x i8] c"NT \00", align 1 @ensure_useragent.win64W = internal constant [13 x i8] c"Win64; x64; \00", align 1 @ensure_useragent.emptyW = internal constant [1 x i8] zeroinitializer, align 1 @user_agent = dso_local local_unnamed_addr global ptr null, align 8 @VER_PLATFORM_WIN32_NT = dso_local local_unnamed_addr global i64 0, align 8 @HKEY_LOCAL_MACHINE = dso_local local_unnamed_addr global i32 0, align 4 @ERROR_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [21 x i8] c"Using user agent %s\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @ensure_useragent], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ensure_useragent() #0 { %1 = alloca %struct.TYPE_3__, align 8 %2 = alloca [512 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) @__const.ensure_useragent.info, i64 24, i1 false) call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %5 = load ptr, ptr @user_agent, align 8, !tbaa !5 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %83 7: ; preds = %0 %8 = call i32 @GetVersionExW(ptr noundef nonnull %1) #4 %9 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 1 %10 = load i64, ptr %9, align 8, !tbaa !9 %11 = load i64, ptr @VER_PLATFORM_WIN32_NT, align 8, !tbaa !13 %12 = icmp eq i64 %10, %11 %13 = select i1 %12, ptr @ensure_useragent.ntW, ptr @ensure_useragent.emptyW %14 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 3 %15 = load i32, ptr %14, align 4, !tbaa !14 %16 = getelementptr inbounds %struct.TYPE_3__, ptr %1, i64 0, i32 2 %17 = load i32, ptr %16, align 8, !tbaa !15 %18 = call i32 @sprintfW(ptr noundef nonnull %2, ptr noundef nonnull @ensure_useragent.formatW, ptr noundef nonnull %13, i32 noundef %15, i32 noundef %17, ptr noundef nonnull @ensure_useragent.win64W) #4 %19 = call i64 @strlenW(ptr noundef nonnull %2) #4 %20 = add i64 %19, 40 %21 = call ptr @heap_alloc(i64 noundef %20) #4 %22 = icmp eq ptr %21, null br i1 %22, label %83, label %23 23: ; preds = %7 %24 = call i32 @memcpy(ptr noundef nonnull %21, ptr noundef nonnull %2, i64 noundef %19) #4 %25 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !16 %26 = call i64 @RegOpenKeyW(i32 noundef %25, ptr noundef nonnull @ensure_useragent.post_platform_keyW, ptr noundef nonnull %3) #4 %27 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %75 29: ; preds = %23 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %30 = call i64 @ARRAY_SIZE(ptr noundef nonnull %2) #4 store i64 %30, ptr %4, align 8, !tbaa !13 %31 = load i32, ptr %3, align 4, !tbaa !16 %32 = call i64 @RegEnumValueW(i32 noundef %31, i64 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #4 %33 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13 %34 = icmp eq i64 %32, %33 br i1 %34, label %35, label %70 35: ; preds = %29, %53 %36 = phi ptr [ %55, %53 ], [ %21, %29 ] %37 = phi i64 [ %54, %53 ], [ %20, %29 ] %38 = phi i64 [ %64, %53 ], [ %19, %29 ] %39 = phi i64 [ %40, %53 ], [ 0, %29 ] %40 = add nuw nsw i64 %39, 1 %41 = load i64, ptr %4, align 8, !tbaa !13 %42 = add i64 %38, 3 %43 = add i64 %42, %41 %44 = icmp ult i64 %43, %37 br i1 %44, label %53, label %45 45: ; preds = %35 %46 = shl i64 %37, 1 %47 = add i64 %41, %46 %48 = call ptr @heap_realloc(ptr noundef %36, i64 noundef %47) #4 %49 = icmp eq ptr %48, null br i1 %49, label %70, label %50 50: ; preds = %45 %51 = load i64, ptr %4, align 8, !tbaa !13 %52 = add i64 %51, %46 br label %53 53: ; preds = %50, %35 %54 = phi i64 [ %52, %50 ], [ %37, %35 ] %55 = phi ptr [ %48, %50 ], [ %36, %35 ] %56 = add i64 %38, 1 %57 = getelementptr inbounds i8, ptr %55, i64 %38 store i8 59, ptr %57, align 1, !tbaa !17 %58 = add i64 %38, 2 %59 = getelementptr inbounds i8, ptr %55, i64 %56 store i8 32, ptr %59, align 1, !tbaa !17 %60 = getelementptr inbounds i8, ptr %55, i64 %58 %61 = load i64, ptr %4, align 8, !tbaa !13 %62 = call i32 @memcpy(ptr noundef %60, ptr noundef nonnull %2, i64 noundef %61) #4 %63 = load i64, ptr %4, align 8, !tbaa !13 %64 = add i64 %63, %58 %65 = call i64 @ARRAY_SIZE(ptr noundef nonnull %2) #4 store i64 %65, ptr %4, align 8, !tbaa !13 %66 = load i32, ptr %3, align 4, !tbaa !16 %67 = call i64 @RegEnumValueW(i32 noundef %66, i64 noundef %40, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #4 %68 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !13 %69 = icmp eq i64 %67, %68 br i1 %69, label %35, label %70 70: ; preds = %53, %45, %29 %71 = phi i64 [ %19, %29 ], [ %38, %45 ], [ %64, %53 ] %72 = phi ptr [ %21, %29 ], [ %36, %45 ], [ %55, %53 ] %73 = load i32, ptr %3, align 4, !tbaa !16 %74 = call i32 @RegCloseKey(i32 noundef %73) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %75 75: ; preds = %70, %23 %76 = phi i64 [ %71, %70 ], [ %19, %23 ] %77 = phi ptr [ %72, %70 ], [ %21, %23 ] %78 = add i64 %76, 1 %79 = getelementptr inbounds i8, ptr %77, i64 %76 store i8 41, ptr %79, align 1, !tbaa !17 %80 = getelementptr inbounds i8, ptr %77, i64 %78 store i8 0, ptr %80, align 1, !tbaa !17 store ptr %77, ptr @user_agent, align 8, !tbaa !5 %81 = call i32 @debugstr_w(ptr noundef %77) #4 %82 = call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %81) #4 br label %83 83: ; preds = %7, %0, %75 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 @GetVersionExW(ptr noundef) local_unnamed_addr #3 declare i32 @sprintfW(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @strlenW(ptr noundef) local_unnamed_addr #3 declare ptr @heap_alloc(i64 noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 declare i64 @RegOpenKeyW(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3 declare i64 @RegEnumValueW(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @heap_realloc(ptr noundef, i64 noundef) local_unnamed_addr #3 declare i32 @RegCloseKey(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 declare i32 @TRACE(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { 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 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !12, i64 8} !10 = !{!"TYPE_3__", !11, i64 0, !12, i64 8, !11, i64 16, !11, i64 20} !11 = !{!"int", !7, i64 0} !12 = !{!"long", !7, i64 0} !13 = !{!12, !12, i64 0} !14 = !{!10, !11, i64 20} !15 = !{!10, !11, i64 16} !16 = !{!11, !11, i64 0} !17 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/reactos/dll/win32/urlmon/extr_session.c_ensure_useragent.c' source_filename = "AnghaBench/reactos/dll/win32/urlmon/extr_session.c_ensure_useragent.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, i64, i32, i32 } @__const.ensure_useragent.info = private unnamed_addr constant %struct.TYPE_3__ { i32 24, i64 0, i32 0, i32 0 }, align 8 @ensure_useragent.formatW = internal constant [66 x i8] c"Mozilla/4.0 (compatible; MSIE 8.0; Windows %s%d.%d; %sTrident/5.0\00", align 1 @ensure_useragent.post_platform_keyW = internal constant [89 x i8] c"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\5.0\\User Agent\\Post Platform\00", align 1 @ensure_useragent.ntW = internal constant [4 x i8] c"NT \00", align 1 @ensure_useragent.win64W = internal constant [13 x i8] c"Win64; x64; \00", align 1 @ensure_useragent.emptyW = internal constant [1 x i8] zeroinitializer, align 1 @user_agent = common local_unnamed_addr global ptr null, align 8 @VER_PLATFORM_WIN32_NT = common local_unnamed_addr global i64 0, align 8 @HKEY_LOCAL_MACHINE = common local_unnamed_addr global i32 0, align 4 @ERROR_SUCCESS = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [21 x i8] c"Using user agent %s\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @ensure_useragent], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ensure_useragent() #0 { %1 = alloca %struct.TYPE_3__, align 8 %2 = alloca [512 x i8], align 1 %3 = alloca i32, align 4 %4 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) @__const.ensure_useragent.info, i64 24, i1 false) call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 %5 = load ptr, ptr @user_agent, align 8, !tbaa !6 %6 = icmp eq ptr %5, null br i1 %6, label %7, label %83 7: ; preds = %0 %8 = call i32 @GetVersionExW(ptr noundef nonnull %1) #4 %9 = getelementptr inbounds i8, ptr %1, i64 8 %10 = load i64, ptr %9, align 8, !tbaa !10 %11 = load i64, ptr @VER_PLATFORM_WIN32_NT, align 8, !tbaa !14 %12 = icmp eq i64 %10, %11 %13 = select i1 %12, ptr @ensure_useragent.ntW, ptr @ensure_useragent.emptyW %14 = getelementptr inbounds i8, ptr %1, i64 20 %15 = load i32, ptr %14, align 4, !tbaa !15 %16 = getelementptr inbounds i8, ptr %1, i64 16 %17 = load i32, ptr %16, align 8, !tbaa !16 %18 = call i32 @sprintfW(ptr noundef nonnull %2, ptr noundef nonnull @ensure_useragent.formatW, ptr noundef nonnull %13, i32 noundef %15, i32 noundef %17, ptr noundef nonnull @ensure_useragent.win64W) #4 %19 = call i64 @strlenW(ptr noundef nonnull %2) #4 %20 = add i64 %19, 40 %21 = call ptr @heap_alloc(i64 noundef %20) #4 %22 = icmp eq ptr %21, null br i1 %22, label %83, label %23 23: ; preds = %7 %24 = call i32 @memcpy(ptr noundef nonnull %21, ptr noundef nonnull %2, i64 noundef %19) #4 %25 = load i32, ptr @HKEY_LOCAL_MACHINE, align 4, !tbaa !17 %26 = call i64 @RegOpenKeyW(i32 noundef %25, ptr noundef nonnull @ensure_useragent.post_platform_keyW, ptr noundef nonnull %3) #4 %27 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !14 %28 = icmp eq i64 %26, %27 br i1 %28, label %29, label %75 29: ; preds = %23 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4 %30 = call i64 @ARRAY_SIZE(ptr noundef nonnull %2) #4 store i64 %30, ptr %4, align 8, !tbaa !14 %31 = load i32, ptr %3, align 4, !tbaa !17 %32 = call i64 @RegEnumValueW(i32 noundef %31, i64 noundef 0, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #4 %33 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !14 %34 = icmp eq i64 %32, %33 br i1 %34, label %35, label %70 35: ; preds = %29, %53 %36 = phi ptr [ %55, %53 ], [ %21, %29 ] %37 = phi i64 [ %54, %53 ], [ %20, %29 ] %38 = phi i64 [ %64, %53 ], [ %19, %29 ] %39 = phi i64 [ %40, %53 ], [ 0, %29 ] %40 = add nuw nsw i64 %39, 1 %41 = load i64, ptr %4, align 8, !tbaa !14 %42 = add i64 %38, 3 %43 = add i64 %42, %41 %44 = icmp ult i64 %43, %37 br i1 %44, label %53, label %45 45: ; preds = %35 %46 = shl i64 %37, 1 %47 = add i64 %41, %46 %48 = call ptr @heap_realloc(ptr noundef %36, i64 noundef %47) #4 %49 = icmp eq ptr %48, null br i1 %49, label %70, label %50 50: ; preds = %45 %51 = load i64, ptr %4, align 8, !tbaa !14 %52 = add i64 %51, %46 br label %53 53: ; preds = %50, %35 %54 = phi i64 [ %52, %50 ], [ %37, %35 ] %55 = phi ptr [ %48, %50 ], [ %36, %35 ] %56 = add i64 %38, 1 %57 = getelementptr inbounds i8, ptr %55, i64 %38 store i8 59, ptr %57, align 1, !tbaa !18 %58 = add i64 %38, 2 %59 = getelementptr inbounds i8, ptr %55, i64 %56 store i8 32, ptr %59, align 1, !tbaa !18 %60 = getelementptr inbounds i8, ptr %55, i64 %58 %61 = load i64, ptr %4, align 8, !tbaa !14 %62 = call i32 @memcpy(ptr noundef %60, ptr noundef nonnull %2, i64 noundef %61) #4 %63 = load i64, ptr %4, align 8, !tbaa !14 %64 = add i64 %63, %58 %65 = call i64 @ARRAY_SIZE(ptr noundef nonnull %2) #4 store i64 %65, ptr %4, align 8, !tbaa !14 %66 = load i32, ptr %3, align 4, !tbaa !17 %67 = call i64 @RegEnumValueW(i32 noundef %66, i64 noundef %40, ptr noundef nonnull %2, ptr noundef nonnull %4, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null) #4 %68 = load i64, ptr @ERROR_SUCCESS, align 8, !tbaa !14 %69 = icmp eq i64 %67, %68 br i1 %69, label %35, label %70 70: ; preds = %53, %45, %29 %71 = phi i64 [ %19, %29 ], [ %38, %45 ], [ %64, %53 ] %72 = phi ptr [ %21, %29 ], [ %36, %45 ], [ %55, %53 ] %73 = load i32, ptr %3, align 4, !tbaa !17 %74 = call i32 @RegCloseKey(i32 noundef %73) #4 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4 br label %75 75: ; preds = %70, %23 %76 = phi i64 [ %71, %70 ], [ %19, %23 ] %77 = phi ptr [ %72, %70 ], [ %21, %23 ] %78 = add i64 %76, 1 %79 = getelementptr inbounds i8, ptr %77, i64 %76 store i8 41, ptr %79, align 1, !tbaa !18 %80 = getelementptr inbounds i8, ptr %77, i64 %78 store i8 0, ptr %80, align 1, !tbaa !18 store ptr %77, ptr @user_agent, align 8, !tbaa !6 %81 = call i32 @debugstr_w(ptr noundef %77) #4 %82 = call i32 @TRACE(ptr noundef nonnull @.str, i32 noundef %81) #4 br label %83 83: ; preds = %7, %0, %75 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #4 call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #4 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 ; 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 @GetVersionExW(ptr noundef) local_unnamed_addr #3 declare i32 @sprintfW(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #3 declare i64 @strlenW(ptr noundef) local_unnamed_addr #3 declare ptr @heap_alloc(i64 noundef) local_unnamed_addr #3 declare i32 @memcpy(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #3 declare i64 @RegOpenKeyW(i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare i64 @ARRAY_SIZE(ptr noundef) local_unnamed_addr #3 declare i64 @RegEnumValueW(i32 noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3 declare ptr @heap_realloc(ptr noundef, i64 noundef) local_unnamed_addr #3 declare i32 @RegCloseKey(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 declare i32 @TRACE(ptr noundef, i32 noundef) local_unnamed_addr #3 declare i32 @debugstr_w(ptr noundef) local_unnamed_addr #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { 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 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !13, i64 8} !11 = !{!"TYPE_3__", !12, i64 0, !13, i64 8, !12, i64 16, !12, i64 20} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!11, !12, i64 20} !16 = !{!11, !12, i64 16} !17 = !{!12, !12, i64 0} !18 = !{!8, !8, i64 0}
reactos_dll_win32_urlmon_extr_session.c_ensure_useragent
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_fscache.h_nfs_fscache_invalidate.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_fscache.h_nfs_fscache_invalidate.c" target datalayout = "e-m:e-p270:32:32-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 @nfs_fscache_invalidate], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal void @nfs_fscache_invalidate(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/nfs/extr_fscache.h_nfs_fscache_invalidate.c' source_filename = "AnghaBench/fastsocket/kernel/fs/nfs/extr_fscache.h_nfs_fscache_invalidate.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 @nfs_fscache_invalidate], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal void @nfs_fscache_invalidate(ptr nocapture readnone %0) #0 { ret void } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_fs_nfs_extr_fscache.h_nfs_fscache_invalidate
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_session.c_session_tty_list.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_session.c_session_tty_list.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { i32, ptr, i64 } @session_tty_list.buf = internal global [1024 x i8] zeroinitializer, align 16 @sessions_nalloc = dso_local local_unnamed_addr global i32 0, align 4 @sessions = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [6 x i8] c"/dev/\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"notty\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @session_tty_list], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef nonnull ptr @session_tty_list() #0 { store i8 0, ptr @session_tty_list.buf, align 16, !tbaa !5 %1 = load i32, ptr @sessions_nalloc, align 4, !tbaa !8 %2 = icmp sgt i32 %1, 0 br i1 %2, label %3, label %50 3: ; preds = %0 %4 = load ptr, ptr @sessions, align 8, !tbaa !10 br label %5 5: ; preds = %3, %41 %6 = phi i32 [ %1, %3 ], [ %42, %41 ] %7 = phi ptr [ %4, %3 ], [ %43, %41 ] %8 = phi i64 [ 0, %3 ], [ %44, %41 ] %9 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8, i32 2 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = icmp eq i64 %10, 0 br i1 %11, label %41, label %12 12: ; preds = %5 %13 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8 %14 = load i32, ptr %13, align 8, !tbaa !15 %15 = icmp eq i32 %14, -1 br i1 %15, label %41, label %16 16: ; preds = %12 %17 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8, i32 1 %18 = load ptr, ptr %17, align 8, !tbaa !16 %19 = tail call i64 @strncmp(ptr noundef %18, ptr noundef nonnull @.str, i32 noundef 5) #2 %20 = icmp eq i64 %19, 0 %21 = load ptr, ptr %17, align 8, !tbaa !16 br i1 %20, label %29, label %22 22: ; preds = %16 %23 = tail call ptr @strrchr(ptr noundef %21, i8 noundef signext 47) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %22 %26 = load ptr, ptr %17, align 8, !tbaa !16 br label %31 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %23, i64 1 br label %31 29: ; preds = %16 %30 = getelementptr inbounds i8, ptr %21, i64 5 br label %31 31: ; preds = %25, %27, %29 %32 = phi ptr [ %30, %29 ], [ %26, %25 ], [ %28, %27 ] %33 = load i8, ptr @session_tty_list.buf, align 16, !tbaa !5 %34 = icmp eq i8 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %31 %36 = tail call i32 @strlcat(ptr noundef nonnull @session_tty_list.buf, ptr noundef nonnull @.str.1, i32 noundef 1024) #2 br label %37 37: ; preds = %35, %31 %38 = tail call i32 @strlcat(ptr noundef nonnull @session_tty_list.buf, ptr noundef %32, i32 noundef 1024) #2 %39 = load ptr, ptr @sessions, align 8, !tbaa !10 %40 = load i32, ptr @sessions_nalloc, align 4, !tbaa !8 br label %41 41: ; preds = %37, %12, %5 %42 = phi i32 [ %40, %37 ], [ %6, %12 ], [ %6, %5 ] %43 = phi ptr [ %39, %37 ], [ %7, %12 ], [ %7, %5 ] %44 = add nuw nsw i64 %8, 1 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %44, %45 br i1 %46, label %5, label %47, !llvm.loop !17 47: ; preds = %41 %48 = load i8, ptr @session_tty_list.buf, align 16, !tbaa !5 %49 = icmp eq i8 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %0, %47 %51 = tail call i32 @strlcpy(ptr noundef nonnull @session_tty_list.buf, ptr noundef nonnull @.str.2, i32 noundef 1024) #2 br label %52 52: ; preds = %50, %47 ret ptr @session_tty_list.buf } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"omnipotent char", !7, i64 0} !7 = !{!"Simple C/C++ TBAA"} !8 = !{!9, !9, i64 0} !9 = !{!"int", !6, i64 0} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !6, i64 0} !12 = !{!13, !14, i64 16} !13 = !{!"TYPE_3__", !9, i64 0, !11, i64 8, !14, i64 16} !14 = !{!"long", !6, i64 0} !15 = !{!13, !9, i64 0} !16 = !{!13, !11, i64 8} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/crypto/openssh/extr_session.c_session_tty_list.c' source_filename = "AnghaBench/freebsd/crypto/openssh/extr_session.c_session_tty_list.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, ptr, i64 } @session_tty_list.buf = internal global [1024 x i8] zeroinitializer, align 1 @sessions_nalloc = common local_unnamed_addr global i32 0, align 4 @sessions = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [6 x i8] c"/dev/\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c",\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"notty\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @session_tty_list], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef nonnull ptr @session_tty_list() #0 { store i8 0, ptr @session_tty_list.buf, align 1, !tbaa !6 %1 = load i32, ptr @sessions_nalloc, align 4, !tbaa !9 %2 = icmp sgt i32 %1, 0 br i1 %2, label %3, label %50 3: ; preds = %0 %4 = load ptr, ptr @sessions, align 8, !tbaa !11 br label %5 5: ; preds = %3, %41 %6 = phi i32 [ %1, %3 ], [ %42, %41 ] %7 = phi ptr [ %4, %3 ], [ %43, %41 ] %8 = phi i64 [ 0, %3 ], [ %44, %41 ] %9 = getelementptr inbounds %struct.TYPE_3__, ptr %7, i64 %8 %10 = getelementptr inbounds i8, ptr %9, i64 16 %11 = load i64, ptr %10, align 8, !tbaa !13 %12 = icmp eq i64 %11, 0 br i1 %12, label %41, label %13 13: ; preds = %5 %14 = load i32, ptr %9, align 8, !tbaa !16 %15 = icmp eq i32 %14, -1 br i1 %15, label %41, label %16 16: ; preds = %13 %17 = getelementptr inbounds i8, ptr %9, i64 8 %18 = load ptr, ptr %17, align 8, !tbaa !17 %19 = tail call i64 @strncmp(ptr noundef %18, ptr noundef nonnull @.str, i32 noundef 5) #2 %20 = icmp eq i64 %19, 0 %21 = load ptr, ptr %17, align 8, !tbaa !17 br i1 %20, label %29, label %22 22: ; preds = %16 %23 = tail call ptr @strrchr(ptr noundef %21, i8 noundef signext 47) #2 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %27 25: ; preds = %22 %26 = load ptr, ptr %17, align 8, !tbaa !17 br label %31 27: ; preds = %22 %28 = getelementptr inbounds i8, ptr %23, i64 1 br label %31 29: ; preds = %16 %30 = getelementptr inbounds i8, ptr %21, i64 5 br label %31 31: ; preds = %25, %27, %29 %32 = phi ptr [ %30, %29 ], [ %26, %25 ], [ %28, %27 ] %33 = load i8, ptr @session_tty_list.buf, align 1, !tbaa !6 %34 = icmp eq i8 %33, 0 br i1 %34, label %37, label %35 35: ; preds = %31 %36 = tail call i32 @strlcat(ptr noundef nonnull @session_tty_list.buf, ptr noundef nonnull @.str.1, i32 noundef 1024) #2 br label %37 37: ; preds = %35, %31 %38 = tail call i32 @strlcat(ptr noundef nonnull @session_tty_list.buf, ptr noundef %32, i32 noundef 1024) #2 %39 = load ptr, ptr @sessions, align 8, !tbaa !11 %40 = load i32, ptr @sessions_nalloc, align 4, !tbaa !9 br label %41 41: ; preds = %37, %13, %5 %42 = phi i32 [ %40, %37 ], [ %6, %13 ], [ %6, %5 ] %43 = phi ptr [ %39, %37 ], [ %7, %13 ], [ %7, %5 ] %44 = add nuw nsw i64 %8, 1 %45 = sext i32 %42 to i64 %46 = icmp slt i64 %44, %45 br i1 %46, label %5, label %47, !llvm.loop !18 47: ; preds = %41 %48 = load i8, ptr @session_tty_list.buf, align 1, !tbaa !6 %49 = icmp eq i8 %48, 0 br i1 %49, label %50, label %52 50: ; preds = %0, %47 %51 = tail call i32 @strlcpy(ptr noundef nonnull @session_tty_list.buf, ptr noundef nonnull @.str.2, i32 noundef 1024) #2 br label %52 52: ; preds = %50, %47 ret ptr @session_tty_list.buf } declare i64 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare ptr @strrchr(ptr noundef, i8 noundef signext) local_unnamed_addr #1 declare i32 @strlcat(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strlcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !7, i64 0} !13 = !{!14, !15, i64 16} !14 = !{!"TYPE_3__", !10, i64 0, !12, i64 8, !15, i64 16} !15 = !{!"long", !7, i64 0} !16 = !{!14, !10, i64 0} !17 = !{!14, !12, i64 8} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"}
freebsd_crypto_openssh_extr_session.c_session_tty_list
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_15344.c_get_exploit_state_ptr.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_15344.c_get_exploit_state_ptr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @exp_state = dso_local local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable define dso_local noundef i32 @get_exploit_state_ptr(ptr noundef %0) local_unnamed_addr #0 { store ptr %0, ptr @exp_state, align 8, !tbaa !5 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/exploitdb/exploits/linux/local/extr_15344.c_get_exploit_state_ptr.c' source_filename = "AnghaBench/exploitdb/exploits/linux/local/extr_15344.c_get_exploit_state_ptr.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @exp_state = common local_unnamed_addr global ptr null, align 8 ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) define noundef i32 @get_exploit_state_ptr(ptr noundef %0) local_unnamed_addr #0 { store ptr %0, ptr @exp_state, align 8, !tbaa !6 ret i32 0 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
exploitdb_exploits_linux_local_extr_15344.c_get_exploit_state_ptr
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_vc1testenc.c_vc1test_write_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_vc1testenc.c_vc1test_write_header.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_10__ = type { %struct.TYPE_7__, ptr } %struct.TYPE_7__ = type { i32, i32 } %struct.TYPE_8__ = type { ptr, ptr } %struct.TYPE_9__ = type { i64, i32, i32, i32 } @AV_CODEC_ID_WMV3 = dso_local local_unnamed_addr global i64 0, align 8 @AV_LOG_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Only WMV3 is accepted!\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @vc1test_write_header], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @vc1test_write_header(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 %3 = load ptr, ptr %2, align 8, !tbaa !10 %4 = getelementptr inbounds %struct.TYPE_10__, ptr %3, i64 0, i32 1 %5 = load ptr, ptr %4, align 8, !tbaa !11 %6 = getelementptr inbounds %struct.TYPE_8__, ptr %0, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !15 %8 = load i64, ptr %5, align 8, !tbaa !16 %9 = load i64, ptr @AV_CODEC_ID_WMV3, align 8, !tbaa !19 %10 = icmp eq i64 %8, %9 br i1 %10, label %14, label %11 11: ; preds = %1 %12 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !20 %13 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull @.str) #2 br label %46 14: ; preds = %1 %15 = tail call i32 @avio_wl24(ptr noundef %7, i32 noundef 0) #2 %16 = tail call i32 @avio_w8(ptr noundef %7, i32 noundef 197) #2 %17 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef 4) #2 %18 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 3 %19 = load i32, ptr %18, align 8, !tbaa !21 %20 = tail call i32 @avio_write(ptr noundef %7, i32 noundef %19, i32 noundef 4) #2 %21 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 1 %22 = load i32, ptr %21, align 8, !tbaa !22 %23 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef %22) #2 %24 = getelementptr inbounds %struct.TYPE_9__, ptr %5, i64 0, i32 2 %25 = load i32, ptr %24, align 4, !tbaa !23 %26 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef %25) #2 %27 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef 12) #2 %28 = tail call i32 @avio_wl24(ptr noundef %7, i32 noundef 0) #2 %29 = tail call i32 @avio_w8(ptr noundef %7, i32 noundef 128) #2 %30 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef 0) #2 %31 = load ptr, ptr %0, align 8, !tbaa !5 %32 = load ptr, ptr %31, align 8, !tbaa !10 %33 = load i32, ptr %32, align 8, !tbaa !24 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %14 %36 = getelementptr inbounds %struct.TYPE_7__, ptr %32, i64 0, i32 1 %37 = load i32, ptr %36, align 4, !tbaa !25 %38 = icmp eq i32 %37, 1 br i1 %38, label %40, label %39 39: ; preds = %35, %14 br label %40 40: ; preds = %35, %39 %41 = phi i32 [ -1, %39 ], [ %33, %35 ] %42 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef %41) #2 %43 = load ptr, ptr %0, align 8, !tbaa !5 %44 = load ptr, ptr %43, align 8, !tbaa !10 %45 = tail call i32 @avpriv_set_pts_info(ptr noundef %44, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #2 br label %46 46: ; preds = %40, %11 %47 = phi i32 [ -1, %11 ], [ 0, %40 ] ret i32 %47 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @avio_wl24(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_w8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_wl32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avpriv_set_pts_info(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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, i64 8} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!12, !7, i64 8} !12 = !{!"TYPE_10__", !13, i64 0, !7, i64 8} !13 = !{!"TYPE_7__", !14, i64 0, !14, i64 4} !14 = !{!"int", !8, i64 0} !15 = !{!6, !7, i64 8} !16 = !{!17, !18, i64 0} !17 = !{!"TYPE_9__", !18, i64 0, !14, i64 8, !14, i64 12, !14, i64 16} !18 = !{!"long", !8, i64 0} !19 = !{!18, !18, i64 0} !20 = !{!14, !14, i64 0} !21 = !{!17, !14, i64 16} !22 = !{!17, !14, i64 8} !23 = !{!17, !14, i64 12} !24 = !{!12, !14, i64 0} !25 = !{!12, !14, i64 4}
; ModuleID = 'AnghaBench/FFmpeg/libavformat/extr_vc1testenc.c_vc1test_write_header.c' source_filename = "AnghaBench/FFmpeg/libavformat/extr_vc1testenc.c_vc1test_write_header.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AV_CODEC_ID_WMV3 = common local_unnamed_addr global i64 0, align 8 @AV_LOG_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [24 x i8] c"Only WMV3 is accepted!\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @vc1test_write_header], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 -1, 1) i32 @vc1test_write_header(ptr noundef %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 %3 = load ptr, ptr %2, align 8, !tbaa !11 %4 = getelementptr inbounds i8, ptr %3, i64 8 %5 = load ptr, ptr %4, align 8, !tbaa !12 %6 = getelementptr inbounds i8, ptr %0, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !16 %8 = load i64, ptr %5, align 8, !tbaa !17 %9 = load i64, ptr @AV_CODEC_ID_WMV3, align 8, !tbaa !20 %10 = icmp eq i64 %8, %9 br i1 %10, label %14, label %11 11: ; preds = %1 %12 = load i32, ptr @AV_LOG_ERROR, align 4, !tbaa !21 %13 = tail call i32 @av_log(ptr noundef nonnull %0, i32 noundef %12, ptr noundef nonnull @.str) #2 br label %46 14: ; preds = %1 %15 = tail call i32 @avio_wl24(ptr noundef %7, i32 noundef 0) #2 %16 = tail call i32 @avio_w8(ptr noundef %7, i32 noundef 197) #2 %17 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef 4) #2 %18 = getelementptr inbounds i8, ptr %5, i64 16 %19 = load i32, ptr %18, align 8, !tbaa !22 %20 = tail call i32 @avio_write(ptr noundef %7, i32 noundef %19, i32 noundef 4) #2 %21 = getelementptr inbounds i8, ptr %5, i64 8 %22 = load i32, ptr %21, align 8, !tbaa !23 %23 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef %22) #2 %24 = getelementptr inbounds i8, ptr %5, i64 12 %25 = load i32, ptr %24, align 4, !tbaa !24 %26 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef %25) #2 %27 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef 12) #2 %28 = tail call i32 @avio_wl24(ptr noundef %7, i32 noundef 0) #2 %29 = tail call i32 @avio_w8(ptr noundef %7, i32 noundef 128) #2 %30 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef 0) #2 %31 = load ptr, ptr %0, align 8, !tbaa !6 %32 = load ptr, ptr %31, align 8, !tbaa !11 %33 = load i32, ptr %32, align 8, !tbaa !25 %34 = icmp eq i32 %33, 0 br i1 %34, label %39, label %35 35: ; preds = %14 %36 = getelementptr inbounds i8, ptr %32, i64 4 %37 = load i32, ptr %36, align 4, !tbaa !26 %38 = icmp eq i32 %37, 1 br i1 %38, label %40, label %39 39: ; preds = %35, %14 br label %40 40: ; preds = %35, %39 %41 = phi i32 [ -1, %39 ], [ %33, %35 ] %42 = tail call i32 @avio_wl32(ptr noundef %7, i32 noundef %41) #2 %43 = load ptr, ptr %0, align 8, !tbaa !6 %44 = load ptr, ptr %43, align 8, !tbaa !11 %45 = tail call i32 @avpriv_set_pts_info(ptr noundef %44, i32 noundef 32, i32 noundef 1, i32 noundef 1000) #2 br label %46 46: ; preds = %40, %11 %47 = phi i32 [ -1, %11 ], [ 0, %40 ] ret i32 %47 } declare i32 @av_log(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @avio_wl24(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_w8(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_wl32(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avio_write(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @avpriv_set_pts_info(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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, i64 8} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!13, !8, i64 8} !13 = !{!"TYPE_10__", !14, i64 0, !8, i64 8} !14 = !{!"TYPE_7__", !15, i64 0, !15, i64 4} !15 = !{!"int", !9, i64 0} !16 = !{!7, !8, i64 8} !17 = !{!18, !19, i64 0} !18 = !{!"TYPE_9__", !19, i64 0, !15, i64 8, !15, i64 12, !15, i64 16} !19 = !{!"long", !9, i64 0} !20 = !{!19, !19, i64 0} !21 = !{!15, !15, i64 0} !22 = !{!18, !15, i64 16} !23 = !{!18, !15, i64 8} !24 = !{!18, !15, i64 12} !25 = !{!13, !15, i64 0} !26 = !{!13, !15, i64 4}
FFmpeg_libavformat_extr_vc1testenc.c_vc1test_write_header
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_alloc.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_alloc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @MMAL_PORT_TYPE_CLOCK = dso_local local_unnamed_addr global i32 0, align 4 @MMAL_SUCCESS = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local ptr @mmal_ports_clock_alloc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @MMAL_PORT_TYPE_CLOCK, align 4, !tbaa !5 %6 = add i32 %2, 4 %7 = tail call ptr @mmal_ports_alloc(ptr noundef %0, i32 noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %39, label %9 9: ; preds = %4 %10 = icmp eq i32 %1, 0 br i1 %10, label %39, label %11 11: ; preds = %9 %12 = zext i32 %1 to i64 br label %13 13: ; preds = %11, %20 %14 = phi i64 [ 0, %11 ], [ %21, %20 ] %15 = getelementptr inbounds ptr, ptr %7, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !9 %17 = tail call i64 @mmal_port_clock_setup(ptr noundef %16, i32 noundef %2, i32 noundef %3) #2 %18 = load i64, ptr @MMAL_SUCCESS, align 8, !tbaa !11 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %13 %21 = add nuw nsw i64 %14, 1 %22 = icmp eq i64 %21, %12 br i1 %22, label %39, label %13, !llvm.loop !13 23: ; preds = %13 %24 = trunc i64 %14 to i32 %25 = icmp eq i32 %24, %1 br i1 %25, label %39, label %26 26: ; preds = %23 %27 = icmp eq i32 %24, 0 br i1 %27, label %37, label %28 28: ; preds = %26 %29 = and i64 %14, 4294967295 br label %30 30: ; preds = %28, %30 %31 = phi i64 [ 0, %28 ], [ %35, %30 ] %32 = getelementptr inbounds ptr, ptr %7, i64 %31 %33 = load ptr, ptr %32, align 8, !tbaa !9 %34 = tail call i32 @mmal_port_clock_free(ptr noundef %33) #2 %35 = add nuw nsw i64 %31, 1 %36 = icmp eq i64 %35, %29 br i1 %36, label %37, label %30, !llvm.loop !15 37: ; preds = %30, %26 %38 = tail call i32 @vcos_free(ptr noundef nonnull %7) #2 br label %39 39: ; preds = %20, %9, %23, %4, %37 %40 = phi ptr [ null, %37 ], [ null, %4 ], [ %7, %23 ], [ %7, %9 ], [ %7, %20 ] ret ptr %40 } declare ptr @mmal_ports_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @mmal_port_clock_setup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mmal_port_clock_free(ptr noundef) local_unnamed_addr #1 declare i32 @vcos_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"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} !13 = distinct !{!13, !14} !14 = !{!"llvm.loop.mustprogress"} !15 = distinct !{!15, !14}
; ModuleID = 'AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_alloc.c' source_filename = "AnghaBench/RetroArch/gfx/include/userland/interface/mmal/core/extr_mmal_port_clock.c_mmal_ports_clock_alloc.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MMAL_PORT_TYPE_CLOCK = common local_unnamed_addr global i32 0, align 4 @MMAL_SUCCESS = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define ptr @mmal_ports_clock_alloc(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = load i32, ptr @MMAL_PORT_TYPE_CLOCK, align 4, !tbaa !6 %6 = add i32 %2, 4 %7 = tail call ptr @mmal_ports_alloc(ptr noundef %0, i32 noundef %1, i32 noundef %5, i32 noundef %6) #2 %8 = icmp eq ptr %7, null br i1 %8, label %39, label %9 9: ; preds = %4 %10 = icmp eq i32 %1, 0 br i1 %10, label %39, label %11 11: ; preds = %9 %12 = zext i32 %1 to i64 br label %13 13: ; preds = %11, %20 %14 = phi i64 [ 0, %11 ], [ %21, %20 ] %15 = getelementptr inbounds ptr, ptr %7, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !10 %17 = tail call i64 @mmal_port_clock_setup(ptr noundef %16, i32 noundef %2, i32 noundef %3) #2 %18 = load i64, ptr @MMAL_SUCCESS, align 8, !tbaa !12 %19 = icmp eq i64 %17, %18 br i1 %19, label %20, label %23 20: ; preds = %13 %21 = add nuw nsw i64 %14, 1 %22 = icmp eq i64 %21, %12 br i1 %22, label %39, label %13, !llvm.loop !14 23: ; preds = %13 %24 = trunc nuw i64 %14 to i32 %25 = icmp eq i32 %24, %1 br i1 %25, label %39, label %26 26: ; preds = %23 %27 = icmp eq i64 %14, 0 br i1 %27, label %37, label %28 28: ; preds = %26 %29 = and i64 %14, 4294967295 br label %30 30: ; preds = %28, %30 %31 = phi i64 [ 0, %28 ], [ %35, %30 ] %32 = getelementptr inbounds ptr, ptr %7, i64 %31 %33 = load ptr, ptr %32, align 8, !tbaa !10 %34 = tail call i32 @mmal_port_clock_free(ptr noundef %33) #2 %35 = add nuw nsw i64 %31, 1 %36 = icmp eq i64 %35, %29 br i1 %36, label %37, label %30, !llvm.loop !16 37: ; preds = %30, %26 %38 = tail call i32 @vcos_free(ptr noundef nonnull %7) #2 br label %39 39: ; preds = %20, %9, %23, %4, %37 %40 = phi ptr [ null, %37 ], [ null, %4 ], [ %7, %23 ], [ %7, %9 ], [ %7, %20 ] ret ptr %40 } declare ptr @mmal_ports_alloc(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @mmal_port_clock_setup(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @mmal_port_clock_free(ptr noundef) local_unnamed_addr #1 declare i32 @vcos_free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!13, !13, i64 0} !13 = !{!"long", !8, i64 0} !14 = distinct !{!14, !15} !15 = !{!"llvm.loop.mustprogress"} !16 = distinct !{!16, !15}
RetroArch_gfx_include_userland_interface_mmal_core_extr_mmal_port_clock.c_mmal_ports_clock_alloc
; ModuleID = 'AnghaBench/redis/deps/lua/src/extr_lua_cjson.c_lua_cjson_new.c' source_filename = "AnghaBench/redis/deps/lua/src/extr_lua_cjson.c_lua_cjson_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_3__ = type { ptr, ptr } @.str = private unnamed_addr constant [7 x i8] c"encode\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"decode\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"encode_sparse_array\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"encode_max_depth\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"decode_max_depth\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"encode_number_precision\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"encode_keep_buffer\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"encode_invalid_numbers\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"decode_invalid_numbers\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"new\00", align 1 @__const.lua_cjson_new.reg = private unnamed_addr constant [11 x %struct.TYPE_3__] [%struct.TYPE_3__ { ptr @.str, ptr @json_encode }, %struct.TYPE_3__ { ptr @.str.1, ptr @json_decode }, %struct.TYPE_3__ { ptr @.str.2, ptr @json_cfg_encode_sparse_array }, %struct.TYPE_3__ { ptr @.str.3, ptr @json_cfg_encode_max_depth }, %struct.TYPE_3__ { ptr @.str.4, ptr @json_cfg_decode_max_depth }, %struct.TYPE_3__ { ptr @.str.5, ptr @json_cfg_encode_number_precision }, %struct.TYPE_3__ { ptr @.str.6, ptr @json_cfg_encode_keep_buffer }, %struct.TYPE_3__ { ptr @.str.7, ptr @json_cfg_encode_invalid_numbers }, %struct.TYPE_3__ { ptr @.str.8, ptr @json_cfg_decode_invalid_numbers }, %struct.TYPE_3__ { ptr @.str.9, ptr @lua_cjson_new }, %struct.TYPE_3__ zeroinitializer], align 16 @.str.10 = private unnamed_addr constant [5 x i8] c"null\00", align 1 @CJSON_MODNAME = dso_local local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [6 x i8] c"_NAME\00", align 1 @CJSON_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [9 x i8] c"_VERSION\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @lua_cjson_new], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @lua_cjson_new(ptr noundef %0) #0 { %2 = alloca [11 x %struct.TYPE_3__], align 16 call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(176) %2, ptr noundef nonnull align 16 dereferenceable(176) @__const.lua_cjson_new.reg, i64 176, i1 false) %3 = tail call i32 (...) @fpconv_init() #4 %4 = tail call i32 @lua_newtable(ptr noundef %0) #4 %5 = tail call i32 @json_create_config(ptr noundef %0) #4 %6 = call i32 @luaL_setfuncs(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 1) #4 %7 = call i32 @lua_pushlightuserdata(ptr noundef %0, ptr noundef null) #4 %8 = call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str.10) #4 %9 = load i32, ptr @CJSON_MODNAME, align 4, !tbaa !5 %10 = call i32 @lua_pushliteral(ptr noundef %0, i32 noundef %9) #4 %11 = call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str.11) #4 %12 = load i32, ptr @CJSON_VERSION, align 4, !tbaa !5 %13 = call i32 @lua_pushliteral(ptr noundef %0, i32 noundef %12) #4 %14 = call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str.12) #4 call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %2) #4 ret i32 1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @json_encode(ptr noundef) #2 declare i32 @json_decode(ptr noundef) #2 declare i32 @json_cfg_encode_sparse_array(ptr noundef) #2 declare i32 @json_cfg_encode_max_depth(ptr noundef) #2 declare i32 @json_cfg_decode_max_depth(ptr noundef) #2 declare i32 @json_cfg_encode_number_precision(ptr noundef) #2 declare i32 @json_cfg_encode_keep_buffer(ptr noundef) #2 declare i32 @json_cfg_encode_invalid_numbers(ptr noundef) #2 declare i32 @json_cfg_decode_invalid_numbers(ptr noundef) #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @fpconv_init(...) local_unnamed_addr #2 declare i32 @lua_newtable(ptr noundef) local_unnamed_addr #2 declare i32 @json_create_config(ptr noundef) local_unnamed_addr #2 declare i32 @luaL_setfuncs(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushlightuserdata(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_pushliteral(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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/redis/deps/lua/src/extr_lua_cjson.c_lua_cjson_new.c' source_filename = "AnghaBench/redis/deps/lua/src/extr_lua_cjson.c_lua_cjson_new.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 } @.str = private unnamed_addr constant [7 x i8] c"encode\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"decode\00", align 1 @.str.2 = private unnamed_addr constant [20 x i8] c"encode_sparse_array\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"encode_max_depth\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"decode_max_depth\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"encode_number_precision\00", align 1 @.str.6 = private unnamed_addr constant [19 x i8] c"encode_keep_buffer\00", align 1 @.str.7 = private unnamed_addr constant [23 x i8] c"encode_invalid_numbers\00", align 1 @.str.8 = private unnamed_addr constant [23 x i8] c"decode_invalid_numbers\00", align 1 @.str.9 = private unnamed_addr constant [4 x i8] c"new\00", align 1 @__const.lua_cjson_new.reg = private unnamed_addr constant [11 x %struct.TYPE_3__] [%struct.TYPE_3__ { ptr @.str, ptr @json_encode }, %struct.TYPE_3__ { ptr @.str.1, ptr @json_decode }, %struct.TYPE_3__ { ptr @.str.2, ptr @json_cfg_encode_sparse_array }, %struct.TYPE_3__ { ptr @.str.3, ptr @json_cfg_encode_max_depth }, %struct.TYPE_3__ { ptr @.str.4, ptr @json_cfg_decode_max_depth }, %struct.TYPE_3__ { ptr @.str.5, ptr @json_cfg_encode_number_precision }, %struct.TYPE_3__ { ptr @.str.6, ptr @json_cfg_encode_keep_buffer }, %struct.TYPE_3__ { ptr @.str.7, ptr @json_cfg_encode_invalid_numbers }, %struct.TYPE_3__ { ptr @.str.8, ptr @json_cfg_decode_invalid_numbers }, %struct.TYPE_3__ { ptr @.str.9, ptr @lua_cjson_new }, %struct.TYPE_3__ zeroinitializer], align 8 @.str.10 = private unnamed_addr constant [5 x i8] c"null\00", align 1 @CJSON_MODNAME = common local_unnamed_addr global i32 0, align 4 @.str.11 = private unnamed_addr constant [6 x i8] c"_NAME\00", align 1 @CJSON_VERSION = common local_unnamed_addr global i32 0, align 4 @.str.12 = private unnamed_addr constant [9 x i8] c"_VERSION\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @lua_cjson_new], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @lua_cjson_new(ptr noundef %0) #0 { %2 = alloca [11 x %struct.TYPE_3__], align 8 call void @llvm.lifetime.start.p0(i64 176, ptr nonnull %2) #4 call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(176) %2, ptr noundef nonnull align 8 dereferenceable(176) @__const.lua_cjson_new.reg, i64 176, i1 false) %3 = tail call i32 @fpconv_init() #4 %4 = tail call i32 @lua_newtable(ptr noundef %0) #4 %5 = tail call i32 @json_create_config(ptr noundef %0) #4 %6 = call i32 @luaL_setfuncs(ptr noundef %0, ptr noundef nonnull %2, i32 noundef 1) #4 %7 = call i32 @lua_pushlightuserdata(ptr noundef %0, ptr noundef null) #4 %8 = call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str.10) #4 %9 = load i32, ptr @CJSON_MODNAME, align 4, !tbaa !6 %10 = call i32 @lua_pushliteral(ptr noundef %0, i32 noundef %9) #4 %11 = call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str.11) #4 %12 = load i32, ptr @CJSON_VERSION, align 4, !tbaa !6 %13 = call i32 @lua_pushliteral(ptr noundef %0, i32 noundef %12) #4 %14 = call i32 @lua_setfield(ptr noundef %0, i32 noundef -2, ptr noundef nonnull @.str.12) #4 call void @llvm.lifetime.end.p0(i64 176, ptr nonnull %2) #4 ret i32 1 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @json_encode(ptr noundef) #2 declare i32 @json_decode(ptr noundef) #2 declare i32 @json_cfg_encode_sparse_array(ptr noundef) #2 declare i32 @json_cfg_encode_max_depth(ptr noundef) #2 declare i32 @json_cfg_decode_max_depth(ptr noundef) #2 declare i32 @json_cfg_encode_number_precision(ptr noundef) #2 declare i32 @json_cfg_encode_keep_buffer(ptr noundef) #2 declare i32 @json_cfg_encode_invalid_numbers(ptr noundef) #2 declare i32 @json_cfg_decode_invalid_numbers(ptr noundef) #2 ; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3 declare i32 @fpconv_init(...) local_unnamed_addr #2 declare i32 @lua_newtable(ptr noundef) local_unnamed_addr #2 declare i32 @json_create_config(ptr noundef) local_unnamed_addr #2 declare i32 @luaL_setfuncs(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @lua_pushlightuserdata(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_setfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @lua_pushliteral(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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
redis_deps_lua_src_extr_lua_cjson.c_lua_cjson_new
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba6120.c_qib_6120_setup_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba6120.c_qib_6120_setup_reset.c" target datalayout = "e-m:e-p270:32:32-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.qib_devdata = type { i32, i32, i32, ptr, i32, ptr, i64, i32 } %struct.TYPE_2__ = type { i32, i64, i64, i64 } @.str = private unnamed_addr constant [30 x i8] c"Resetting InfiniPath unit %u\0A\00", align 1 @QIB_INITTED = dso_local local_unnamed_addr global i32 0, align 4 @QIB_PRESENT = dso_local local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_C_RESET = dso_local local_unnamed_addr global i32 0, align 4 @kr_control = dso_local local_unnamed_addr global i64 0, align 8 @kr_revision = dso_local local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [61 x i8] c"Reset failed to setup PCIe or interrupts; continuing anyway\0A\00", align 1 @kr_gpio_mask = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @qib_6120_setup_reset], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @qib_6120_setup_reset(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = call i32 @qib_pcie_getcmd(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #4 %6 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 7 %7 = load i32, ptr %6, align 8, !tbaa !5 %8 = call i32 (ptr, ptr, ...) @qib_dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #4 %9 = call i32 @qib_6120_set_intr_state(ptr noundef %0, i32 noundef 0) #4 %10 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 3 %11 = load ptr, ptr %10, align 8, !tbaa !12 %12 = getelementptr inbounds %struct.TYPE_2__, ptr %11, i64 0, i32 1 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false) %13 = load i32, ptr @QIB_INITTED, align 4, !tbaa !13 %14 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !13 %15 = or i32 %14, %13 %16 = xor i32 %15, -1 %17 = load i32, ptr %0, align 8, !tbaa !14 %18 = and i32 %17, %16 store i32 %18, ptr %0, align 8, !tbaa !14 %19 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 6 store i64 0, ptr %19, align 8, !tbaa !15 %20 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 1 %21 = load i32, ptr %20, align 4, !tbaa !16 %22 = load i32, ptr @QLOGIC_IB_C_RESET, align 4, !tbaa !13 %23 = or i32 %22, %21 %24 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 5 %25 = load ptr, ptr %24, align 8, !tbaa !17 %26 = load i64, ptr @kr_control, align 8, !tbaa !18 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = call i32 @writeq(i32 noundef %23, ptr noundef %27) #4 %29 = call i32 (...) @mb() #4 %30 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 2 %31 = call i32 @msleep(i32 noundef 5000) #4 %32 = load i32, ptr %2, align 4, !tbaa !13 %33 = load i32, ptr %3, align 4, !tbaa !13 %34 = load i32, ptr %4, align 4, !tbaa !13 %35 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33, i32 noundef %34) #4 %36 = load ptr, ptr %24, align 8, !tbaa !17 %37 = load i64, ptr @kr_revision, align 8, !tbaa !18 %38 = getelementptr inbounds i32, ptr %36, i64 %37 %39 = call i32 @readq(ptr noundef %38) #4 %40 = load i32, ptr %30, align 8, !tbaa !19 %41 = icmp eq i32 %39, %40 br i1 %41, label %90, label %42, !llvm.loop !20 42: ; preds = %1 %43 = call i32 @msleep(i32 noundef 7000) #4 %44 = load i32, ptr %2, align 4, !tbaa !13 %45 = load i32, ptr %3, align 4, !tbaa !13 %46 = load i32, ptr %4, align 4, !tbaa !13 %47 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45, i32 noundef %46) #4 %48 = load ptr, ptr %24, align 8, !tbaa !17 %49 = load i64, ptr @kr_revision, align 8, !tbaa !18 %50 = getelementptr inbounds i32, ptr %48, i64 %49 %51 = call i32 @readq(ptr noundef %50) #4 %52 = load i32, ptr %30, align 8, !tbaa !19 %53 = icmp eq i32 %51, %52 br i1 %53, label %90, label %54, !llvm.loop !20 54: ; preds = %42 %55 = call i32 @msleep(i32 noundef 9000) #4 %56 = load i32, ptr %2, align 4, !tbaa !13 %57 = load i32, ptr %3, align 4, !tbaa !13 %58 = load i32, ptr %4, align 4, !tbaa !13 %59 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %57, i32 noundef %58) #4 %60 = load ptr, ptr %24, align 8, !tbaa !17 %61 = load i64, ptr @kr_revision, align 8, !tbaa !18 %62 = getelementptr inbounds i32, ptr %60, i64 %61 %63 = call i32 @readq(ptr noundef %62) #4 %64 = load i32, ptr %30, align 8, !tbaa !19 %65 = icmp eq i32 %63, %64 br i1 %65, label %90, label %66, !llvm.loop !20 66: ; preds = %54 %67 = call i32 @msleep(i32 noundef 11000) #4 %68 = load i32, ptr %2, align 4, !tbaa !13 %69 = load i32, ptr %3, align 4, !tbaa !13 %70 = load i32, ptr %4, align 4, !tbaa !13 %71 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %69, i32 noundef %70) #4 %72 = load ptr, ptr %24, align 8, !tbaa !17 %73 = load i64, ptr @kr_revision, align 8, !tbaa !18 %74 = getelementptr inbounds i32, ptr %72, i64 %73 %75 = call i32 @readq(ptr noundef %74) #4 %76 = load i32, ptr %30, align 8, !tbaa !19 %77 = icmp eq i32 %75, %76 br i1 %77, label %90, label %78, !llvm.loop !20 78: ; preds = %66 %79 = call i32 @msleep(i32 noundef 13000) #4 %80 = load i32, ptr %2, align 4, !tbaa !13 %81 = load i32, ptr %3, align 4, !tbaa !13 %82 = load i32, ptr %4, align 4, !tbaa !13 %83 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %80, i32 noundef %81, i32 noundef %82) #4 %84 = load ptr, ptr %24, align 8, !tbaa !17 %85 = load i64, ptr @kr_revision, align 8, !tbaa !18 %86 = getelementptr inbounds i32, ptr %84, i64 %85 %87 = call i32 @readq(ptr noundef %86) #4 %88 = load i32, ptr %30, align 8, !tbaa !19 %89 = icmp eq i32 %87, %88 br i1 %89, label %90, label %110, !llvm.loop !20 90: ; preds = %78, %66, %54, %42, %1 %91 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !13 %92 = load i32, ptr %0, align 8, !tbaa !14 %93 = or i32 %92, %91 store i32 %93, ptr %0, align 8, !tbaa !14 %94 = call i32 @qib_reinit_intr(ptr noundef nonnull %0) #4 %95 = icmp eq i32 %94, 0 br i1 %95, label %110, label %96 96: ; preds = %90 %97 = getelementptr inbounds %struct.qib_devdata, ptr %0, i64 0, i32 4 %98 = load i32, ptr %97, align 8, !tbaa !22 %99 = call i64 @qib_pcie_params(ptr noundef nonnull %0, i32 noundef %98, ptr noundef null, ptr noundef null) #4 %100 = icmp eq i64 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %96 %102 = call i32 (ptr, ptr, ...) @qib_dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #4 br label %103 103: ; preds = %101, %96 %104 = call i32 @qib_6120_init_hwerrors(ptr noundef nonnull %0) #4 %105 = load i32, ptr @kr_gpio_mask, align 4, !tbaa !13 %106 = load ptr, ptr %10, align 8, !tbaa !12 %107 = load i32, ptr %106, align 8, !tbaa !23 %108 = call i32 @qib_write_kreg(ptr noundef nonnull %0, i32 noundef %105, i32 noundef %107) #4 %109 = call i32 @qib_6120_init_hwerrors(ptr noundef nonnull %0) #4 br label %110 110: ; preds = %78, %103, %90 %111 = phi i32 [ %94, %103 ], [ 0, %90 ], [ 0, %78 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %111 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @qib_pcie_getcmd(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qib_dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @qib_6120_set_intr_state(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @writeq(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mb(...) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 declare i32 @qib_pcie_reenable(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @readq(ptr noundef) local_unnamed_addr #2 declare i32 @qib_reinit_intr(ptr noundef) local_unnamed_addr #2 declare i64 @qib_pcie_params(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qib_6120_init_hwerrors(ptr noundef) local_unnamed_addr #2 declare i32 @qib_write_kreg(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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 48} !6 = !{!"qib_devdata", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !7, i64 24, !10, i64 32, !11, i64 40, !7, 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, !10, i64 16} !13 = !{!7, !7, i64 0} !14 = !{!6, !7, i64 0} !15 = !{!6, !11, i64 40} !16 = !{!6, !7, i64 4} !17 = !{!6, !10, i64 32} !18 = !{!11, !11, i64 0} !19 = !{!6, !7, i64 8} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!6, !7, i64 24} !23 = !{!24, !7, i64 0} !24 = !{!"TYPE_2__", !7, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba6120.c_qib_6120_setup_reset.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/infiniband/hw/qib/extr_qib_iba6120.c_qib_6120_setup_reset.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 [30 x i8] c"Resetting InfiniPath unit %u\0A\00", align 1 @QIB_INITTED = common local_unnamed_addr global i32 0, align 4 @QIB_PRESENT = common local_unnamed_addr global i32 0, align 4 @QLOGIC_IB_C_RESET = common local_unnamed_addr global i32 0, align 4 @kr_control = common local_unnamed_addr global i64 0, align 8 @kr_revision = common local_unnamed_addr global i64 0, align 8 @.str.1 = private unnamed_addr constant [61 x i8] c"Reset failed to setup PCIe or interrupts; continuing anyway\0A\00", align 1 @kr_gpio_mask = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @qib_6120_setup_reset], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @qib_6120_setup_reset(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4 %5 = call i32 @qib_pcie_getcmd(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #4 %6 = getelementptr inbounds i8, ptr %0, i64 48 %7 = load i32, ptr %6, align 8, !tbaa !6 %8 = call i32 (ptr, ptr, ...) @qib_dev_err(ptr noundef %0, ptr noundef nonnull @.str, i32 noundef %7) #4 %9 = call i32 @qib_6120_set_intr_state(ptr noundef %0, i32 noundef 0) #4 %10 = getelementptr inbounds i8, ptr %0, i64 16 %11 = load ptr, ptr %10, align 8, !tbaa !13 %12 = getelementptr inbounds i8, ptr %11, i64 8 call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, i8 0, i64 24, i1 false) %13 = load i32, ptr @QIB_INITTED, align 4, !tbaa !14 %14 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !14 %15 = or i32 %14, %13 %16 = xor i32 %15, -1 %17 = load i32, ptr %0, align 8, !tbaa !15 %18 = and i32 %17, %16 store i32 %18, ptr %0, align 8, !tbaa !15 %19 = getelementptr inbounds i8, ptr %0, i64 40 store i64 0, ptr %19, align 8, !tbaa !16 %20 = getelementptr inbounds i8, ptr %0, i64 4 %21 = load i32, ptr %20, align 4, !tbaa !17 %22 = load i32, ptr @QLOGIC_IB_C_RESET, align 4, !tbaa !14 %23 = or i32 %22, %21 %24 = getelementptr inbounds i8, ptr %0, i64 32 %25 = load ptr, ptr %24, align 8, !tbaa !18 %26 = load i64, ptr @kr_control, align 8, !tbaa !19 %27 = getelementptr inbounds i32, ptr %25, i64 %26 %28 = call i32 @writeq(i32 noundef %23, ptr noundef %27) #4 %29 = call i32 @mb() #4 %30 = getelementptr inbounds i8, ptr %0, i64 8 %31 = call i32 @msleep(i32 noundef 5000) #4 %32 = load i32, ptr %2, align 4, !tbaa !14 %33 = load i32, ptr %3, align 4, !tbaa !14 %34 = load i32, ptr %4, align 4, !tbaa !14 %35 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %32, i32 noundef %33, i32 noundef %34) #4 %36 = load ptr, ptr %24, align 8, !tbaa !18 %37 = load i64, ptr @kr_revision, align 8, !tbaa !19 %38 = getelementptr inbounds i32, ptr %36, i64 %37 %39 = call i32 @readq(ptr noundef %38) #4 %40 = load i32, ptr %30, align 8, !tbaa !20 %41 = icmp eq i32 %39, %40 br i1 %41, label %90, label %42, !llvm.loop !21 42: ; preds = %1 %43 = call i32 @msleep(i32 noundef 7000) #4 %44 = load i32, ptr %2, align 4, !tbaa !14 %45 = load i32, ptr %3, align 4, !tbaa !14 %46 = load i32, ptr %4, align 4, !tbaa !14 %47 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %45, i32 noundef %46) #4 %48 = load ptr, ptr %24, align 8, !tbaa !18 %49 = load i64, ptr @kr_revision, align 8, !tbaa !19 %50 = getelementptr inbounds i32, ptr %48, i64 %49 %51 = call i32 @readq(ptr noundef %50) #4 %52 = load i32, ptr %30, align 8, !tbaa !20 %53 = icmp eq i32 %51, %52 br i1 %53, label %90, label %54, !llvm.loop !21 54: ; preds = %42 %55 = call i32 @msleep(i32 noundef 9000) #4 %56 = load i32, ptr %2, align 4, !tbaa !14 %57 = load i32, ptr %3, align 4, !tbaa !14 %58 = load i32, ptr %4, align 4, !tbaa !14 %59 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %57, i32 noundef %58) #4 %60 = load ptr, ptr %24, align 8, !tbaa !18 %61 = load i64, ptr @kr_revision, align 8, !tbaa !19 %62 = getelementptr inbounds i32, ptr %60, i64 %61 %63 = call i32 @readq(ptr noundef %62) #4 %64 = load i32, ptr %30, align 8, !tbaa !20 %65 = icmp eq i32 %63, %64 br i1 %65, label %90, label %66, !llvm.loop !21 66: ; preds = %54 %67 = call i32 @msleep(i32 noundef 11000) #4 %68 = load i32, ptr %2, align 4, !tbaa !14 %69 = load i32, ptr %3, align 4, !tbaa !14 %70 = load i32, ptr %4, align 4, !tbaa !14 %71 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %68, i32 noundef %69, i32 noundef %70) #4 %72 = load ptr, ptr %24, align 8, !tbaa !18 %73 = load i64, ptr @kr_revision, align 8, !tbaa !19 %74 = getelementptr inbounds i32, ptr %72, i64 %73 %75 = call i32 @readq(ptr noundef %74) #4 %76 = load i32, ptr %30, align 8, !tbaa !20 %77 = icmp eq i32 %75, %76 br i1 %77, label %90, label %78, !llvm.loop !21 78: ; preds = %66 %79 = call i32 @msleep(i32 noundef 13000) #4 %80 = load i32, ptr %2, align 4, !tbaa !14 %81 = load i32, ptr %3, align 4, !tbaa !14 %82 = load i32, ptr %4, align 4, !tbaa !14 %83 = call i32 @qib_pcie_reenable(ptr noundef nonnull %0, i32 noundef %80, i32 noundef %81, i32 noundef %82) #4 %84 = load ptr, ptr %24, align 8, !tbaa !18 %85 = load i64, ptr @kr_revision, align 8, !tbaa !19 %86 = getelementptr inbounds i32, ptr %84, i64 %85 %87 = call i32 @readq(ptr noundef %86) #4 %88 = load i32, ptr %30, align 8, !tbaa !20 %89 = icmp eq i32 %87, %88 br i1 %89, label %90, label %110, !llvm.loop !21 90: ; preds = %78, %66, %54, %42, %1 %91 = load i32, ptr @QIB_PRESENT, align 4, !tbaa !14 %92 = load i32, ptr %0, align 8, !tbaa !15 %93 = or i32 %92, %91 store i32 %93, ptr %0, align 8, !tbaa !15 %94 = call i32 @qib_reinit_intr(ptr noundef nonnull %0) #4 %95 = icmp eq i32 %94, 0 br i1 %95, label %110, label %96 96: ; preds = %90 %97 = getelementptr inbounds i8, ptr %0, i64 24 %98 = load i32, ptr %97, align 8, !tbaa !23 %99 = call i64 @qib_pcie_params(ptr noundef nonnull %0, i32 noundef %98, ptr noundef null, ptr noundef null) #4 %100 = icmp eq i64 %99, 0 br i1 %100, label %103, label %101 101: ; preds = %96 %102 = call i32 (ptr, ptr, ...) @qib_dev_err(ptr noundef nonnull %0, ptr noundef nonnull @.str.1) #4 br label %103 103: ; preds = %101, %96 %104 = call i32 @qib_6120_init_hwerrors(ptr noundef nonnull %0) #4 %105 = load i32, ptr @kr_gpio_mask, align 4, !tbaa !14 %106 = load ptr, ptr %10, align 8, !tbaa !13 %107 = load i32, ptr %106, align 8, !tbaa !24 %108 = call i32 @qib_write_kreg(ptr noundef nonnull %0, i32 noundef %105, i32 noundef %107) #4 %109 = call i32 @qib_6120_init_hwerrors(ptr noundef nonnull %0) #4 br label %110 110: ; preds = %78, %103, %90 %111 = phi i32 [ %94, %103 ], [ 0, %90 ], [ 0, %78 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4 ret i32 %111 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @qib_pcie_getcmd(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qib_dev_err(ptr noundef, ptr noundef, ...) local_unnamed_addr #2 declare i32 @qib_6120_set_intr_state(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @writeq(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mb(...) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 declare i32 @qib_pcie_reenable(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @readq(ptr noundef) local_unnamed_addr #2 declare i32 @qib_reinit_intr(ptr noundef) local_unnamed_addr #2 declare i64 @qib_pcie_params(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @qib_6120_init_hwerrors(ptr noundef) local_unnamed_addr #2 declare i32 @qib_write_kreg(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 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 48} !7 = !{!"qib_devdata", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !8, i64 24, !11, i64 32, !12, i64 40, !8, 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, !11, i64 16} !14 = !{!8, !8, i64 0} !15 = !{!7, !8, i64 0} !16 = !{!7, !12, i64 40} !17 = !{!7, !8, i64 4} !18 = !{!7, !11, i64 32} !19 = !{!12, !12, i64 0} !20 = !{!7, !8, i64 8} !21 = distinct !{!21, !22} !22 = !{!"llvm.loop.mustprogress"} !23 = !{!7, !8, i64 24} !24 = !{!25, !8, i64 0} !25 = !{!"TYPE_2__", !8, i64 0, !12, i64 8, !12, i64 16, !12, i64 24}
fastsocket_kernel_drivers_infiniband_hw_qib_extr_qib_iba6120.c_qib_6120_setup_reset
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_core.c_ath6kl_core_rx_complete.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_core.c_ath6kl_core_rx_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" ; Function Attrs: nounwind uwtable define dso_local void @ath6kl_core_rx_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @ath6kl_htc_rx_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @ath6kl_htc_rx_complete(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_core.c_ath6kl_core_rx_complete.c' source_filename = "AnghaBench/linux/drivers/net/wireless/ath/ath6kl/extr_core.c_ath6kl_core_rx_complete.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 @ath6kl_core_rx_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @ath6kl_htc_rx_complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) #2 ret void } declare i32 @ath6kl_htc_rx_complete(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
linux_drivers_net_wireless_ath_ath6kl_extr_core.c_ath6kl_core_rx_complete
; ModuleID = 'AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_CLbj94.c' source_filename = "AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_CLbj94.c" target datalayout = "e-m:e-p270:32:32-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 @CLbj94], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable define internal void @CLbj94(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !5 store i64 -1, ptr %2, align 8, !tbaa !10 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_5__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_CLbj94.c' source_filename = "AnghaBench/freebsd/sys/dev/ce/extr_tau32-ddk.c_CLbj94.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 @CLbj94], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) define internal void @CLbj94(ptr nocapture noundef readonly %0) #0 { %2 = load ptr, ptr %0, align 8, !tbaa !6 store i64 -1, ptr %2, align 8, !tbaa !11 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(write, argmem: readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_5__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"long", !9, i64 0}
freebsd_sys_dev_ce_extr_tau32-ddk.c_CLbj94
; ModuleID = 'AnghaBench/esp-idf/tools/kconfig/lxdialog/extr_menubox.c_print_buttons.c' source_filename = "AnghaBench/esp-idf/tools/kconfig/lxdialog/extr_menubox.c_print_buttons.c" target datalayout = "e-m:e-p270:32:32-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 [7 x i8] c"Select\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" Exit \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c" Help \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c" Save \00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c" Load \00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @print_buttons], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @print_buttons(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = sdiv i32 %2, 2 %6 = add nsw i32 %5, -28 %7 = add nsw i32 %1, -2 %8 = tail call i32 @gettext(ptr noundef nonnull @.str) #2 %9 = icmp eq i32 %3, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @print_button(ptr noundef %0, i32 noundef %8, i32 noundef %7, i32 noundef %6, i32 noundef %10) #2 %12 = tail call i32 @gettext(ptr noundef nonnull @.str.1) #2 %13 = add nsw i32 %5, -16 %14 = icmp eq i32 %3, 1 %15 = zext i1 %14 to i32 %16 = tail call i32 @print_button(ptr noundef %0, i32 noundef %12, i32 noundef %7, i32 noundef %13, i32 noundef %15) #2 %17 = tail call i32 @gettext(ptr noundef nonnull @.str.2) #2 %18 = add nsw i32 %5, -4 %19 = icmp eq i32 %3, 2 %20 = zext i1 %19 to i32 %21 = tail call i32 @print_button(ptr noundef %0, i32 noundef %17, i32 noundef %7, i32 noundef %18, i32 noundef %20) #2 %22 = tail call i32 @gettext(ptr noundef nonnull @.str.3) #2 %23 = add nsw i32 %5, 8 %24 = icmp eq i32 %3, 3 %25 = zext i1 %24 to i32 %26 = tail call i32 @print_button(ptr noundef %0, i32 noundef %22, i32 noundef %7, i32 noundef %23, i32 noundef %25) #2 %27 = tail call i32 @gettext(ptr noundef nonnull @.str.4) #2 %28 = add nsw i32 %5, 20 %29 = icmp eq i32 %3, 4 %30 = zext i1 %29 to i32 %31 = tail call i32 @print_button(ptr noundef %0, i32 noundef %27, i32 noundef %7, i32 noundef %28, i32 noundef %30) #2 %32 = add nsw i32 %5, -27 %33 = mul nsw i32 %3, 12 %34 = add nsw i32 %32, %33 %35 = tail call i32 @wmove(ptr noundef %0, i32 noundef %7, i32 noundef %34) #2 %36 = tail call i32 @wrefresh(ptr noundef %0) #2 ret void } declare i32 @print_button(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gettext(ptr noundef) local_unnamed_addr #1 declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wrefresh(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/esp-idf/tools/kconfig/lxdialog/extr_menubox.c_print_buttons.c' source_filename = "AnghaBench/esp-idf/tools/kconfig/lxdialog/extr_menubox.c_print_buttons.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 [7 x i8] c"Select\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c" Exit \00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c" Help \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c" Save \00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c" Load \00", align 1 @llvm.used = appending global [1 x ptr] [ptr @print_buttons], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @print_buttons(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = sdiv i32 %2, 2 %6 = add nsw i32 %5, -28 %7 = add nsw i32 %1, -2 %8 = tail call i32 @gettext(ptr noundef nonnull @.str) #2 %9 = icmp eq i32 %3, 0 %10 = zext i1 %9 to i32 %11 = tail call i32 @print_button(ptr noundef %0, i32 noundef %8, i32 noundef %7, i32 noundef %6, i32 noundef %10) #2 %12 = tail call i32 @gettext(ptr noundef nonnull @.str.1) #2 %13 = add nsw i32 %5, -16 %14 = icmp eq i32 %3, 1 %15 = zext i1 %14 to i32 %16 = tail call i32 @print_button(ptr noundef %0, i32 noundef %12, i32 noundef %7, i32 noundef %13, i32 noundef %15) #2 %17 = tail call i32 @gettext(ptr noundef nonnull @.str.2) #2 %18 = add nsw i32 %5, -4 %19 = icmp eq i32 %3, 2 %20 = zext i1 %19 to i32 %21 = tail call i32 @print_button(ptr noundef %0, i32 noundef %17, i32 noundef %7, i32 noundef %18, i32 noundef %20) #2 %22 = tail call i32 @gettext(ptr noundef nonnull @.str.3) #2 %23 = add nsw i32 %5, 8 %24 = icmp eq i32 %3, 3 %25 = zext i1 %24 to i32 %26 = tail call i32 @print_button(ptr noundef %0, i32 noundef %22, i32 noundef %7, i32 noundef %23, i32 noundef %25) #2 %27 = tail call i32 @gettext(ptr noundef nonnull @.str.4) #2 %28 = add nsw i32 %5, 20 %29 = icmp eq i32 %3, 4 %30 = zext i1 %29 to i32 %31 = tail call i32 @print_button(ptr noundef %0, i32 noundef %27, i32 noundef %7, i32 noundef %28, i32 noundef %30) #2 %32 = add nsw i32 %5, -27 %33 = mul nsw i32 %3, 12 %34 = add nsw i32 %32, %33 %35 = tail call i32 @wmove(ptr noundef %0, i32 noundef %7, i32 noundef %34) #2 %36 = tail call i32 @wrefresh(ptr noundef %0) #2 ret void } declare i32 @print_button(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @gettext(ptr noundef) local_unnamed_addr #1 declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @wrefresh(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)"}
esp-idf_tools_kconfig_lxdialog_extr_menubox.c_print_buttons
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_rt_secret_rebuild_oneshot.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_rt_secret_rebuild_oneshot.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ip_rt_secret_interval = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @rt_secret_rebuild_oneshot], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @rt_secret_rebuild_oneshot(ptr noundef %0) #0 { %2 = tail call i32 @del_timer_sync(ptr noundef %0) #2 %3 = tail call i32 @rt_cache_invalidate(ptr noundef %0) #2 %4 = load i64, ptr @ip_rt_secret_interval, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 4, !tbaa !9 %8 = trunc i64 %4 to i32 %9 = add i32 %7, %8 store i32 %9, ptr %0, align 4, !tbaa !9 %10 = tail call i32 @add_timer(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %6, %1 ret void } declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1 declare i32 @rt_cache_invalidate(ptr noundef) local_unnamed_addr #1 declare i32 @add_timer(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, !13, i64 0} !10 = !{!"net", !11, i64 0} !11 = !{!"TYPE_4__", !12, i64 0} !12 = !{!"TYPE_5__", !13, i64 0} !13 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_rt_secret_rebuild_oneshot.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv4/extr_route.c_rt_secret_rebuild_oneshot.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ip_rt_secret_interval = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @rt_secret_rebuild_oneshot], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @rt_secret_rebuild_oneshot(ptr noundef %0) #0 { %2 = tail call i32 @del_timer_sync(ptr noundef %0) #2 %3 = tail call i32 @rt_cache_invalidate(ptr noundef %0) #2 %4 = load i64, ptr @ip_rt_secret_interval, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %11, label %6 6: ; preds = %1 %7 = load i32, ptr %0, align 4, !tbaa !10 %8 = trunc i64 %4 to i32 %9 = add i32 %7, %8 store i32 %9, ptr %0, align 4, !tbaa !10 %10 = tail call i32 @add_timer(ptr noundef nonnull %0) #2 br label %11 11: ; preds = %6, %1 ret void } declare i32 @del_timer_sync(ptr noundef) local_unnamed_addr #1 declare i32 @rt_cache_invalidate(ptr noundef) local_unnamed_addr #1 declare i32 @add_timer(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, !14, i64 0} !11 = !{!"net", !12, i64 0} !12 = !{!"TYPE_4__", !13, i64 0} !13 = !{!"TYPE_5__", !14, i64 0} !14 = !{!"int", !8, i64 0}
fastsocket_kernel_net_ipv4_extr_route.c_rt_secret_rebuild_oneshot
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_dump_results.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_dump_results.c" target datalayout = "e-m:e-p270:32:32-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.sa_query_result = type { i32, i32 } @llvm.compiler.used = appending global [1 x ptr] [ptr @dump_results], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @dump_results(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = icmp eq i32 %4, 0 br i1 %5, label %15, label %6 6: ; preds = %3 %7 = getelementptr inbounds %struct.sa_query_result, ptr %0, i64 0, i32 1 br label %8 8: ; preds = %6, %8 %9 = phi i32 [ 0, %6 ], [ %12, %8 ] %10 = load i32, ptr %7, align 4, !tbaa !10 %11 = tail call ptr @sa_get_query_rec(i32 noundef %10, i32 noundef %9) #2 tail call void %1(ptr noundef %11, ptr noundef %2) #2 %12 = add nuw i32 %9, 1 %13 = load i32, ptr %0, align 4, !tbaa !5 %14 = icmp ult i32 %12, %13 br i1 %14, label %8, label %15, !llvm.loop !11 15: ; preds = %8, %3 ret void } declare ptr @sa_get_query_rec(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 = !{!"sa_query_result", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 4} !11 = distinct !{!11, !12} !12 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_dump_results.c' source_filename = "AnghaBench/freebsd/contrib/ofed/infiniband-diags/src/extr_saquery.c_dump_results.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 @dump_results], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @dump_results(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2) #0 { %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = icmp eq i32 %4, 0 br i1 %5, label %15, label %6 6: ; preds = %3 %7 = getelementptr inbounds i8, ptr %0, i64 4 br label %8 8: ; preds = %6, %8 %9 = phi i32 [ 0, %6 ], [ %12, %8 ] %10 = load i32, ptr %7, align 4, !tbaa !11 %11 = tail call ptr @sa_get_query_rec(i32 noundef %10, i32 noundef %9) #2 tail call void %1(ptr noundef %11, ptr noundef %2) #2 %12 = add nuw i32 %9, 1 %13 = load i32, ptr %0, align 4, !tbaa !6 %14 = icmp ult i32 %12, %13 br i1 %14, label %8, label %15, !llvm.loop !12 15: ; preds = %8, %3 ret void } declare ptr @sa_get_query_rec(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 = !{!"sa_query_result", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 4} !12 = distinct !{!12, !13} !13 = !{!"llvm.loop.mustprogress"}
freebsd_contrib_ofed_infiniband-diags_src_extr_saquery.c_dump_results
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_n_gsm.c_gsm_dlci_data_kick.c' source_filename = "AnghaBench/linux/drivers/tty/extr_n_gsm.c_gsm_dlci_data_kick.c" target datalayout = "e-m:e-p270:32:32-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.gsm_dlci = type { ptr, i64, i64 } %struct.TYPE_4__ = type { i64, i32 } @TX_THRESH_LO = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @gsm_dlci_data_kick], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @gsm_dlci_data_kick(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.gsm_dlci, ptr %0, i64 0, i32 2 %3 = load i64, ptr %2, align 8, !tbaa !5 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %31 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !11 %7 = getelementptr inbounds %struct.TYPE_4__, ptr %6, i64 0, i32 1 %8 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %7, i64 noundef undef) #2 %9 = load ptr, ptr %0, align 8, !tbaa !11 %10 = load i64, ptr %9, align 8, !tbaa !12 %11 = load i64, ptr @TX_THRESH_LO, align 8, !tbaa !15 %12 = icmp slt i64 %10, %11 %13 = icmp eq i64 %10, 0 br i1 %13, label %14, label %22 14: ; preds = %5 %15 = getelementptr inbounds %struct.gsm_dlci, ptr %0, i64 0, i32 1 %16 = load i64, ptr %15, align 8, !tbaa !16 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = tail call i32 @gsm_dlci_data_output_framed(ptr noundef nonnull %9, ptr noundef nonnull %0) #2 br label %22 20: ; preds = %14 %21 = tail call i32 @gsm_dlci_data_output(ptr noundef nonnull %9, ptr noundef nonnull %0) #2 br label %22 22: ; preds = %18, %20, %5 %23 = load ptr, ptr %0, align 8, !tbaa !11 br i1 %12, label %24, label %27 24: ; preds = %22 %25 = tail call i32 @gsm_dlci_data_sweep(ptr noundef %23) #2 %26 = load ptr, ptr %0, align 8, !tbaa !11 br label %27 27: ; preds = %24, %22 %28 = phi ptr [ %26, %24 ], [ %23, %22 ] %29 = getelementptr inbounds %struct.TYPE_4__, ptr %28, i64 0, i32 1 %30 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %29, i64 noundef undef) #2 br label %31 31: ; preds = %1, %27 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @gsm_dlci_data_output_framed(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gsm_dlci_data_output(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gsm_dlci_data_sweep(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !10, i64 16} !6 = !{!"gsm_dlci", !7, i64 0, !10, i64 8, !10, i64 16} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!6, !7, i64 0} !12 = !{!13, !10, i64 0} !13 = !{!"TYPE_4__", !10, i64 0, !14, i64 8} !14 = !{!"int", !8, i64 0} !15 = !{!10, !10, i64 0} !16 = !{!6, !10, i64 8}
; ModuleID = 'AnghaBench/linux/drivers/tty/extr_n_gsm.c_gsm_dlci_data_kick.c' source_filename = "AnghaBench/linux/drivers/tty/extr_n_gsm.c_gsm_dlci_data_kick.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @TX_THRESH_LO = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @gsm_dlci_data_kick], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @gsm_dlci_data_kick(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 16 %3 = load i64, ptr %2, align 8, !tbaa !6 %4 = icmp eq i64 %3, 0 br i1 %4, label %5, label %31 5: ; preds = %1 %6 = load ptr, ptr %0, align 8, !tbaa !12 %7 = getelementptr inbounds i8, ptr %6, i64 8 %8 = tail call i32 @spin_lock_irqsave(ptr noundef nonnull %7, i64 noundef undef) #2 %9 = load ptr, ptr %0, align 8, !tbaa !12 %10 = load i64, ptr %9, align 8, !tbaa !13 %11 = load i64, ptr @TX_THRESH_LO, align 8, !tbaa !16 %12 = icmp slt i64 %10, %11 %13 = icmp eq i64 %10, 0 br i1 %13, label %14, label %22 14: ; preds = %5 %15 = getelementptr inbounds i8, ptr %0, i64 8 %16 = load i64, ptr %15, align 8, !tbaa !17 %17 = icmp eq i64 %16, 0 br i1 %17, label %20, label %18 18: ; preds = %14 %19 = tail call i32 @gsm_dlci_data_output_framed(ptr noundef nonnull %9, ptr noundef nonnull %0) #2 br label %22 20: ; preds = %14 %21 = tail call i32 @gsm_dlci_data_output(ptr noundef nonnull %9, ptr noundef nonnull %0) #2 br label %22 22: ; preds = %18, %20, %5 %23 = load ptr, ptr %0, align 8, !tbaa !12 br i1 %12, label %24, label %27 24: ; preds = %22 %25 = tail call i32 @gsm_dlci_data_sweep(ptr noundef %23) #2 %26 = load ptr, ptr %0, align 8, !tbaa !12 br label %27 27: ; preds = %24, %22 %28 = phi ptr [ %26, %24 ], [ %23, %22 ] %29 = getelementptr inbounds i8, ptr %28, i64 8 %30 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull %29, i64 noundef undef) #2 br label %31 31: ; preds = %1, %27 ret void } declare i32 @spin_lock_irqsave(ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @gsm_dlci_data_output_framed(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gsm_dlci_data_output(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @gsm_dlci_data_sweep(ptr noundef) local_unnamed_addr #1 declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !11, i64 16} !7 = !{!"gsm_dlci", !8, i64 0, !11, i64 8, !11, i64 16} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!7, !8, i64 0} !13 = !{!14, !11, i64 0} !14 = !{!"TYPE_4__", !11, i64 0, !15, i64 8} !15 = !{!"int", !9, i64 0} !16 = !{!11, !11, i64 0} !17 = !{!7, !11, i64 8}
linux_drivers_tty_extr_n_gsm.c_gsm_dlci_data_kick
; ModuleID = 'AnghaBench/freebsd/contrib/mtree/extr_getid.c_gi_endpwent.c' source_filename = "AnghaBench/freebsd/contrib/mtree/extr_getid.c_gi_endpwent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @_pw_filesdone = dso_local local_unnamed_addr global i64 0, align 8 @_pw_fp = dso_local local_unnamed_addr global ptr null, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @gi_endpwent], section "llvm.metadata" ; Function Attrs: nofree nounwind uwtable define internal void @gi_endpwent() #0 { store i64 0, ptr @_pw_filesdone, align 8, !tbaa !5 %1 = load ptr, ptr @_pw_fp, align 8, !tbaa !9 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @fclose(ptr noundef nonnull %1) store ptr null, ptr @_pw_fp, align 8, !tbaa !9 br label %5 5: ; preds = %3, %0 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @fclose(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)"} !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}
; ModuleID = 'AnghaBench/freebsd/contrib/mtree/extr_getid.c_gi_endpwent.c' source_filename = "AnghaBench/freebsd/contrib/mtree/extr_getid.c_gi_endpwent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @_pw_filesdone = common local_unnamed_addr global i64 0, align 8 @_pw_fp = common local_unnamed_addr global ptr null, align 8 @llvm.used = appending global [1 x ptr] [ptr @gi_endpwent], section "llvm.metadata" ; Function Attrs: nofree nounwind ssp uwtable(sync) define internal void @gi_endpwent() #0 { store i64 0, ptr @_pw_filesdone, align 8, !tbaa !6 %1 = load ptr, ptr @_pw_fp, align 8, !tbaa !10 %2 = icmp eq ptr %1, null br i1 %2, label %5, label %3 3: ; preds = %0 %4 = tail call i32 @fclose(ptr noundef nonnull %1) store ptr null, ptr @_pw_fp, align 8, !tbaa !10 br label %5 5: ; preds = %3, %0 ret void } ; Function Attrs: nofree nounwind declare noundef i32 @fclose(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)"} !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}
freebsd_contrib_mtree_extr_getid.c_gi_endpwent
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_ds1620.c_netwinder_unlock.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_ds1620.c_netwinder_unlock.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @nw_gpio_lock = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @netwinder_unlock], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @netwinder_unlock(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !5 %3 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @nw_gpio_lock, i64 noundef %2) #2 ret void } declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/char/extr_ds1620.c_netwinder_unlock.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/char/extr_ds1620.c_netwinder_unlock.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @nw_gpio_lock = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @netwinder_unlock], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @netwinder_unlock(ptr nocapture noundef readonly %0) #0 { %2 = load i64, ptr %0, align 8, !tbaa !6 %3 = tail call i32 @spin_unlock_irqrestore(ptr noundef nonnull @nw_gpio_lock, i64 noundef %2) #2 ret void } declare i32 @spin_unlock_irqrestore(ptr noundef, i64 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_char_extr_ds1620.c_netwinder_unlock
; ModuleID = 'AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_push_frag_opts.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_push_frag_opts.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @NEXTHDR_DEST = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @ipv6_push_frag_opts(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %1, align 8, !tbaa !5 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i32, ptr @NEXTHDR_DEST, align 4, !tbaa !10 %8 = tail call i32 @ipv6_push_exthdr(ptr noundef %0, ptr noundef %2, i32 noundef %7, i64 noundef %4) #2 br label %9 9: ; preds = %6, %3 ret void } declare i32 @ipv6_push_exthdr(ptr noundef, ptr 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, !7, i64 0} !6 = !{!"ipv6_txoptions", !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/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_push_frag_opts.c' source_filename = "AnghaBench/fastsocket/kernel/net/ipv6/extr_exthdrs.c_ipv6_push_frag_opts.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @NEXTHDR_DEST = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @ipv6_push_frag_opts(ptr noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i64, ptr %1, align 8, !tbaa !6 %5 = icmp eq i64 %4, 0 br i1 %5, label %9, label %6 6: ; preds = %3 %7 = load i32, ptr @NEXTHDR_DEST, align 4, !tbaa !11 %8 = tail call i32 @ipv6_push_exthdr(ptr noundef %0, ptr noundef %2, i32 noundef %7, i64 noundef %4) #2 br label %9 9: ; preds = %6, %3 ret void } declare i32 @ipv6_push_exthdr(ptr noundef, ptr 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, !8, i64 0} !7 = !{!"ipv6_txoptions", !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}
fastsocket_kernel_net_ipv6_extr_exthdrs.c_ipv6_push_frag_opts
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_6pack.c_sp_get.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_6pack.c_sp_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" @disc_data_lock = dso_local global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @sp_get], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal ptr @sp_get(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @read_lock(ptr noundef nonnull @disc_data_lock) #2 %3 = load ptr, ptr %0, align 8, !tbaa !5 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @atomic_inc(ptr noundef nonnull %3) #2 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @read_unlock(ptr noundef nonnull @disc_data_lock) #2 ret ptr %3 } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"tty_struct", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_6pack.c_sp_get.c' source_filename = "AnghaBench/fastsocket/kernel/drivers/net/hamradio/extr_6pack.c_sp_get.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @disc_data_lock = common global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @sp_get], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal ptr @sp_get(ptr nocapture noundef readonly %0) #0 { %2 = tail call i32 @read_lock(ptr noundef nonnull @disc_data_lock) #2 %3 = load ptr, ptr %0, align 8, !tbaa !6 %4 = icmp eq ptr %3, null br i1 %4, label %7, label %5 5: ; preds = %1 %6 = tail call i32 @atomic_inc(ptr noundef nonnull %3) #2 br label %7 7: ; preds = %5, %1 %8 = tail call i32 @read_unlock(ptr noundef nonnull @disc_data_lock) #2 ret ptr %3 } declare i32 @read_lock(ptr noundef) local_unnamed_addr #1 declare i32 @atomic_inc(ptr noundef) local_unnamed_addr #1 declare i32 @read_unlock(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"tty_struct", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_drivers_net_hamradio_extr_6pack.c_sp_get
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_buffer.c___lock_buffer.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_buffer.c___lock_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" @BH_Lock = dso_local local_unnamed_addr global i32 0, align 4 @sync_buffer = dso_local local_unnamed_addr global i32 0, align 4 @TASK_UNINTERRUPTIBLE = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @__lock_buffer(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @BH_Lock, align 4, !tbaa !5 %3 = load i32, ptr @sync_buffer, align 4, !tbaa !5 %4 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !5 %5 = tail call i32 @wait_on_bit_lock(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 ret void } declare i32 @wait_on_bit_lock(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/fastsocket/kernel/fs/extr_buffer.c___lock_buffer.c' source_filename = "AnghaBench/fastsocket/kernel/fs/extr_buffer.c___lock_buffer.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @BH_Lock = common local_unnamed_addr global i32 0, align 4 @sync_buffer = common local_unnamed_addr global i32 0, align 4 @TASK_UNINTERRUPTIBLE = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @__lock_buffer(ptr noundef %0) local_unnamed_addr #0 { %2 = load i32, ptr @BH_Lock, align 4, !tbaa !6 %3 = load i32, ptr @sync_buffer, align 4, !tbaa !6 %4 = load i32, ptr @TASK_UNINTERRUPTIBLE, align 4, !tbaa !6 %5 = tail call i32 @wait_on_bit_lock(ptr noundef %0, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 ret void } declare i32 @wait_on_bit_lock(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
fastsocket_kernel_fs_extr_buffer.c___lock_buffer
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_process_1byte_op.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_process_1byte_op.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_7__ = type { i32, i32, i32, i32, ptr, i32, i32, ptr, i64, i32 } @X86R_AL = dso_local local_unnamed_addr global i32 0, align 4 @OT_CONSTANT = dso_local local_unnamed_addr global i32 0, align 4 @OT_QWORD = dso_local local_unnamed_addr global i32 0, align 4 @OT_MEMORY = dso_local local_unnamed_addr global i32 0, align 4 @OT_REGALL = dso_local local_unnamed_addr global i32 0, align 4 @OT_DWORD = dso_local local_unnamed_addr global i32 0, align 4 @OT_BYTE = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Error: mismatched operand sizes\0A\00", align 1 @ST8_MIN = dso_local local_unnamed_addr global i32 0, align 4 @ST8_MAX = dso_local local_unnamed_addr global i32 0, align 4 @X86R_UNDEFINED = dso_local local_unnamed_addr global i32 0, align 4 @X86R_EBP = dso_local local_unnamed_addr global i32 0, align 4 @X86R_ESP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @process_1byte_op], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @process_1byte_op(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @is_valid_registers(ptr noundef %2) #2 %6 = load ptr, ptr %2, align 8, !tbaa !5 %7 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 9 %8 = load i32, ptr %7, align 8, !tbaa !10 %9 = icmp eq i32 %8, 0 br i1 %9, label %345, label %10 10: ; preds = %4 %11 = load i32, ptr %6, align 8, !tbaa !14 %12 = load i32, ptr @X86R_AL, align 4, !tbaa !15 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %28 14: ; preds = %10 %15 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 1 %16 = load i32, ptr %15, align 4, !tbaa !16 %17 = load i32, ptr @OT_CONSTANT, align 4, !tbaa !15 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %14 %21 = add nsw i32 %3, 4 store i32 %21, ptr %1, align 4, !tbaa !15 %22 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 2 %23 = load i32, ptr %22, align 8, !tbaa !17 %24 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 3 %25 = load i32, ptr %24, align 4, !tbaa !18 %26 = mul nsw i32 %25, %23 %27 = getelementptr inbounds i32, ptr %1, i64 1 store i32 %26, ptr %27, align 4, !tbaa !15 br label %345 28: ; preds = %14, %10 %29 = load i32, ptr %0, align 4, !tbaa !19 %30 = icmp eq i32 %29, 64 br i1 %30, label %31, label %54 31: ; preds = %28 %32 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1 %33 = load i32, ptr %32, align 4, !tbaa !16 %34 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 1 %35 = load i32, ptr %34, align 4, !tbaa !16 %36 = and i32 %35, %33 %37 = icmp eq i32 %36, 0 br i1 %37, label %345, label %38 38: ; preds = %31 %39 = load i32, ptr @OT_QWORD, align 4, !tbaa !15 %40 = or i32 %35, %33 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %54, label %43 43: ; preds = %38 %44 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 8 %45 = load i64, ptr %44, align 8, !tbaa !21 %46 = icmp ne i64 %45, 0 %47 = zext i1 %46 to i32 %48 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 8 %49 = load i64, ptr %48, align 8, !tbaa !21 %50 = icmp eq i64 %49, 0 %51 = or disjoint i32 %47, 4 %52 = select i1 %50, i32 %47, i32 %51 %53 = or disjoint i32 %52, 72 store i32 %53, ptr %1, align 4, !tbaa !15 br label %54 54: ; preds = %28, %43, %38 %55 = phi i32 [ 1, %43 ], [ 0, %38 ], [ 0, %28 ] %56 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 1 %57 = load i32, ptr %56, align 4, !tbaa !16 %58 = load i32, ptr @OT_MEMORY, align 4, !tbaa !15 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 %61 = load i32, ptr @OT_REGALL, align 4, !tbaa !15 br i1 %60, label %139, label %62 62: ; preds = %54 %63 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 1 %64 = load i32, ptr %63, align 4, !tbaa !16 %65 = and i32 %61, %64 %66 = icmp eq i32 %65, 0 br i1 %66, label %139, label %67 67: ; preds = %62 %68 = load i32, ptr %0, align 4, !tbaa !19 %69 = icmp eq i32 %68, 64 br i1 %69, label %70, label %82 70: ; preds = %67 %71 = load i32, ptr @OT_DWORD, align 4, !tbaa !15 %72 = and i32 %71, %57 %73 = icmp eq i32 %72, 0 %74 = and i32 %71, %64 %75 = icmp eq i32 %74, 0 %76 = or i1 %73, %75 br i1 %76, label %82, label %77 77: ; preds = %70 %78 = add nuw nsw i32 %55, 1 %79 = zext nneg i32 %55 to i64 %80 = getelementptr inbounds i32, ptr %1, i64 %79 store i32 103, ptr %80, align 4, !tbaa !15 %81 = load i32, ptr %56, align 4, !tbaa !16 br label %82 82: ; preds = %77, %70, %67 %83 = phi i32 [ %81, %77 ], [ %57, %70 ], [ %57, %67 ] %84 = phi i32 [ %78, %77 ], [ %55, %70 ], [ %55, %67 ] %85 = load i32, ptr @OT_BYTE, align 4, !tbaa !15 %86 = and i32 %85, %83 %87 = icmp eq i32 %86, 0 br i1 %87, label %92, label %88 88: ; preds = %82 %89 = load i32, ptr %63, align 4, !tbaa !16 %90 = and i32 %89, %85 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %106 92: ; preds = %88, %82 %93 = load i32, ptr @OT_DWORD, align 4, !tbaa !15 %94 = load i32, ptr @OT_QWORD, align 4, !tbaa !15 %95 = or i32 %94, %93 %96 = and i32 %95, %83 %97 = icmp eq i32 %96, 0 br i1 %97, label %104, label %98 98: ; preds = %92 %99 = load i32, ptr %63, align 4, !tbaa !16 %100 = and i32 %99, %95 %101 = icmp eq i32 %100, 0 br i1 %101, label %104, label %102 102: ; preds = %98 %103 = add nsw i32 %3, 1 br label %106 104: ; preds = %98, %92 %105 = tail call i32 @eprintf(ptr noundef nonnull @.str) #2 br label %345 106: ; preds = %88, %102 %107 = phi i32 [ %103, %102 ], [ %3, %88 ] %108 = zext nneg i32 %84 to i64 %109 = getelementptr inbounds i32, ptr %1, i64 %108 store i32 %107, ptr %109, align 4, !tbaa !15 %110 = add nuw nsw i32 %84, 1 %111 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1 %112 = load i32, ptr %111, align 8, !tbaa !14 %113 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 4 %114 = load ptr, ptr %113, align 8, !tbaa !22 %115 = load i32, ptr %114, align 4, !tbaa !15 %116 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 5 %117 = load i32, ptr %116, align 8, !tbaa !23 %118 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 6 %119 = load i32, ptr %118, align 4, !tbaa !24 %120 = mul nsw i32 %119, %117 %121 = icmp eq i32 %115, -1 br i1 %121, label %287, label %122 122: ; preds = %106 %123 = icmp eq i32 %120, 0 br i1 %123, label %131, label %124 124: ; preds = %122 %125 = load i32, ptr @ST8_MIN, align 4, !tbaa !15 %126 = icmp slt i32 %120, %125 %127 = load i32, ptr @ST8_MAX, align 4 %128 = icmp sgt i32 %120, %127 %129 = select i1 %126, i1 true, i1 %128 %130 = select i1 %129, i32 128, i32 64 br label %287 131: ; preds = %122 %132 = getelementptr inbounds i32, ptr %114, i64 1 %133 = load i32, ptr %132, align 4, !tbaa !15 %134 = load i32, ptr @X86R_UNDEFINED, align 4, !tbaa !15 %135 = icmp eq i32 %133, %134 %136 = shl i32 %133, 3 %137 = select i1 %135, i32 %115, i32 4 %138 = select i1 %135, i32 0, i32 %136 br label %287 139: ; preds = %62, %54 %140 = and i32 %61, %57 %141 = icmp eq i32 %140, 0 br i1 %141, label %287, label %142 142: ; preds = %139 %143 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 1 %144 = load i32, ptr %143, align 4, !tbaa !16 %145 = and i32 %144, %58 %146 = icmp eq i32 %145, 0 br i1 %146, label %240, label %147 147: ; preds = %142 %148 = load i32, ptr @OT_BYTE, align 4, !tbaa !15 %149 = and i32 %148, %57 %150 = icmp eq i32 %149, 0 %151 = and i32 %148, %144 %152 = icmp eq i32 %151, 0 %153 = or i1 %150, %152 br i1 %153, label %154, label %165 154: ; preds = %147 %155 = load i32, ptr @OT_DWORD, align 4, !tbaa !15 %156 = load i32, ptr @OT_QWORD, align 4, !tbaa !15 %157 = or i32 %156, %155 %158 = and i32 %157, %57 %159 = icmp eq i32 %158, 0 %160 = and i32 %157, %144 %161 = icmp eq i32 %160, 0 %162 = or i1 %159, %161 br i1 %162, label %163, label %165 163: ; preds = %154 %164 = tail call i32 @eprintf(ptr noundef nonnull @.str) #2 br label %345 165: ; preds = %154, %147 %166 = phi i32 [ 2, %147 ], [ 3, %154 ] %167 = add nsw i32 %166, %3 %168 = zext nneg i32 %55 to i64 %169 = getelementptr inbounds i32, ptr %1, i64 %168 store i32 %167, ptr %169, align 4, !tbaa !15 %170 = add nuw nsw i32 %55, 1 %171 = load i32, ptr %6, align 8, !tbaa !14 %172 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 4 %173 = load ptr, ptr %172, align 8, !tbaa !22 %174 = load i32, ptr %173, align 4, !tbaa !15 %175 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 7 %176 = load ptr, ptr %175, align 8, !tbaa !25 %177 = load i32, ptr %176, align 4, !tbaa !15 %178 = icmp sgt i32 %177, 1 br i1 %178, label %179, label %226 179: ; preds = %165 %180 = getelementptr inbounds i32, ptr %173, i64 1 %181 = load i32, ptr %180, align 4, !tbaa !15 %182 = load i32, ptr @X86R_UNDEFINED, align 4, !tbaa !15 %183 = icmp eq i32 %181, %182 %184 = shl i32 %171, 3 %185 = or disjoint i32 %184, 4 %186 = or disjoint i32 %55, 2 %187 = zext nneg i32 %170 to i64 %188 = getelementptr inbounds i32, ptr %1, i64 %187 store i32 %185, ptr %188, align 4, !tbaa !15 %189 = load i32, ptr %176, align 4, !tbaa !15 %190 = tail call i32 @getsib(i32 noundef %189) #2 %191 = shl i32 %190, 6 %192 = load ptr, ptr %2, align 8, !tbaa !5 %193 = getelementptr inbounds %struct.TYPE_7__, ptr %192, i64 1, i32 4 %194 = load ptr, ptr %193, align 8, !tbaa !22 %195 = load i32, ptr %194, align 4, !tbaa !15 %196 = shl i32 %195, 3 br i1 %183, label %205, label %197 197: ; preds = %179 %198 = getelementptr inbounds i32, ptr %194, i64 1 %199 = load i32, ptr %198, align 4, !tbaa !15 %200 = or i32 %191, %199 %201 = or i32 %200, %196 %202 = add nuw nsw i32 %55, 3 %203 = zext nneg i32 %186 to i64 %204 = getelementptr inbounds i32, ptr %1, i64 %203 store i32 %201, ptr %204, align 4, !tbaa !15 br label %345 205: ; preds = %179 %206 = or i32 %191, %196 %207 = or disjoint i32 %206, 5 %208 = zext nneg i32 %186 to i64 %209 = getelementptr inbounds i32, ptr %1, i64 %208 store i32 %207, ptr %209, align 4, !tbaa !15 %210 = getelementptr inbounds %struct.TYPE_7__, ptr %192, i64 1, i32 5 %211 = load i32, ptr %210, align 8, !tbaa !23 %212 = getelementptr inbounds %struct.TYPE_7__, ptr %192, i64 1, i32 6 %213 = load i32, ptr %212, align 4, !tbaa !24 %214 = mul nsw i32 %213, %211 %215 = or disjoint i32 %55, 4 %216 = zext nneg i32 %55 to i64 %217 = getelementptr i32, ptr %1, i64 %216 %218 = getelementptr i32, ptr %217, i64 3 store i32 %214, ptr %218, align 4, !tbaa !15 %219 = zext nneg i32 %215 to i64 %220 = getelementptr inbounds i32, ptr %1, i64 %219 store i32 0, ptr %220, align 4, !tbaa !15 %221 = or disjoint i32 %55, 6 %222 = getelementptr i32, ptr %217, i64 5 store i32 0, ptr %222, align 4, !tbaa !15 %223 = add nuw nsw i32 %55, 7 %224 = zext nneg i32 %221 to i64 %225 = getelementptr inbounds i32, ptr %1, i64 %224 store i32 0, ptr %225, align 4, !tbaa !15 br label %345 226: ; preds = %165 %227 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 5 %228 = load i32, ptr %227, align 8, !tbaa !23 %229 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 6 %230 = load i32, ptr %229, align 4, !tbaa !24 %231 = mul nsw i32 %230, %228 %232 = icmp eq i32 %231, 0 br i1 %232, label %287, label %233 233: ; preds = %226 %234 = load i32, ptr @ST8_MIN, align 4, !tbaa !15 %235 = icmp slt i32 %231, %234 %236 = load i32, ptr @ST8_MAX, align 4 %237 = icmp sgt i32 %231, %236 %238 = select i1 %235, i1 true, i1 %237 %239 = select i1 %238, i32 128, i32 64 br label %287 240: ; preds = %142 %241 = and i32 %144, %61 %242 = icmp eq i32 %241, 0 br i1 %242, label %287, label %243 243: ; preds = %240 %244 = load i32, ptr @OT_BYTE, align 4, !tbaa !15 %245 = and i32 %244, %57 %246 = icmp eq i32 %245, 0 %247 = and i32 %244, %144 %248 = icmp eq i32 %247, 0 %249 = or i1 %246, %248 br i1 %249, label %250, label %259 250: ; preds = %243 %251 = load i32, ptr @OT_DWORD, align 4, !tbaa !15 %252 = and i32 %251, %57 %253 = icmp eq i32 %252, 0 %254 = and i32 %251, %144 %255 = icmp eq i32 %254, 0 %256 = or i1 %253, %255 br i1 %256, label %264, label %257 257: ; preds = %250 %258 = add nsw i32 %3, 1 br label %259 259: ; preds = %243, %257 %260 = phi i32 [ %258, %257 ], [ %3, %243 ] %261 = add nuw nsw i32 %55, 1 %262 = zext nneg i32 %55 to i64 %263 = getelementptr inbounds i32, ptr %1, i64 %262 store i32 %260, ptr %263, align 4, !tbaa !15 br label %264 264: ; preds = %259, %250 %265 = phi i32 [ %55, %250 ], [ %261, %259 ] %266 = load i32, ptr %0, align 4, !tbaa !19 %267 = icmp eq i32 %266, 64 br i1 %267, label %268, label %282 268: ; preds = %264 %269 = load i32, ptr %56, align 4, !tbaa !16 %270 = load i32, ptr @OT_QWORD, align 4, !tbaa !15 %271 = and i32 %270, %269 %272 = icmp eq i32 %271, 0 br i1 %272, label %282, label %273 273: ; preds = %268 %274 = load i32, ptr %143, align 4, !tbaa !16 %275 = and i32 %274, %270 %276 = icmp eq i32 %275, 0 br i1 %276, label %282, label %277 277: ; preds = %273 %278 = add nsw i32 %3, 1 %279 = add nuw nsw i32 %265, 1 %280 = zext nneg i32 %265 to i64 %281 = getelementptr inbounds i32, ptr %1, i64 %280 store i32 %278, ptr %281, align 4, !tbaa !15 br label %282 282: ; preds = %268, %273, %277, %264 %283 = phi i32 [ %279, %277 ], [ %265, %273 ], [ %265, %268 ], [ %265, %264 ] %284 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1 %285 = load i32, ptr %284, align 8, !tbaa !14 %286 = load i32, ptr %6, align 8, !tbaa !14 br label %287 287: ; preds = %233, %124, %131, %106, %139, %240, %282, %226 %288 = phi i32 [ %170, %226 ], [ %283, %282 ], [ %55, %240 ], [ %55, %139 ], [ %110, %106 ], [ %110, %131 ], [ %110, %124 ], [ %170, %233 ] %289 = phi i1 [ false, %226 ], [ false, %282 ], [ false, %240 ], [ false, %139 ], [ false, %106 ], [ false, %131 ], [ %129, %124 ], [ %238, %233 ] %290 = phi i32 [ 0, %226 ], [ 192, %282 ], [ 0, %240 ], [ 0, %139 ], [ 0, %106 ], [ 0, %131 ], [ %130, %124 ], [ %239, %233 ] %291 = phi i32 [ %171, %226 ], [ %285, %282 ], [ 0, %240 ], [ 0, %139 ], [ %112, %106 ], [ %112, %131 ], [ %112, %124 ], [ %171, %233 ] %292 = phi i32 [ %174, %226 ], [ %286, %282 ], [ 0, %240 ], [ 0, %139 ], [ 5, %106 ], [ %137, %131 ], [ %115, %124 ], [ %174, %233 ] %293 = phi i1 [ false, %226 ], [ false, %282 ], [ false, %240 ], [ false, %139 ], [ true, %106 ], [ false, %131 ], [ false, %124 ], [ false, %233 ] %294 = phi i32 [ 0, %226 ], [ 0, %282 ], [ 0, %240 ], [ 0, %139 ], [ %120, %106 ], [ %138, %131 ], [ %120, %124 ], [ %231, %233 ] %295 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 0, i32 4 %296 = load ptr, ptr %295, align 8, !tbaa !22 %297 = load i32, ptr %296, align 4, !tbaa !15 %298 = load i32, ptr @X86R_EBP, align 4, !tbaa !15 %299 = icmp eq i32 %297, %298 br i1 %299, label %305, label %300 300: ; preds = %287 %301 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 4 %302 = load ptr, ptr %301, align 8, !tbaa !22 %303 = load i32, ptr %302, align 4, !tbaa !15 %304 = icmp eq i32 %303, %298 br i1 %304, label %305, label %306 305: ; preds = %300, %287 br label %306 306: ; preds = %305, %300 %307 = phi i1 [ true, %305 ], [ false, %300 ] %308 = shl i32 %291, 3 %309 = or i32 %308, %290 %310 = or i32 %309, %292 %311 = add nuw nsw i32 %288, 1 %312 = zext nneg i32 %288 to i64 %313 = getelementptr inbounds i32, ptr %1, i64 %312 store i32 %310, ptr %313, align 4, !tbaa !15 %314 = load i32, ptr %296, align 4, !tbaa !15 %315 = load i32, ptr @X86R_ESP, align 4, !tbaa !15 %316 = icmp eq i32 %314, %315 br i1 %316, label %322, label %317 317: ; preds = %306 %318 = getelementptr inbounds %struct.TYPE_7__, ptr %6, i64 1, i32 4 %319 = load ptr, ptr %318, align 8, !tbaa !22 %320 = load i32, ptr %319, align 4, !tbaa !15 %321 = icmp eq i32 %320, %315 br i1 %321, label %322, label %326 322: ; preds = %317, %306 %323 = add nuw nsw i32 %288, 2 %324 = zext nneg i32 %311 to i64 %325 = getelementptr inbounds i32, ptr %1, i64 %324 store i32 36, ptr %325, align 4, !tbaa !15 br label %326 326: ; preds = %322, %317 %327 = phi i32 [ %323, %322 ], [ %311, %317 ] %328 = icmp ne i32 %294, 0 %329 = or i1 %328, %307 %330 = or i1 %293, %329 br i1 %330, label %331, label %345 331: ; preds = %326 %332 = add nuw nsw i32 %327, 1 %333 = zext nneg i32 %327 to i64 %334 = getelementptr inbounds i32, ptr %1, i64 %333 store i32 %294, ptr %334, align 4, !tbaa !15 %335 = or i1 %289, %293 br i1 %335, label %336, label %345 336: ; preds = %331 %337 = ashr i32 %294, 8 %338 = zext nneg i32 %332 to i64 %339 = getelementptr inbounds i32, ptr %1, i64 %338 store i32 %337, ptr %339, align 4, !tbaa !15 %340 = ashr i32 %294, 16 %341 = getelementptr i32, ptr %334, i64 2 store i32 %340, ptr %341, align 4, !tbaa !15 %342 = ashr i32 %294, 24 %343 = add nuw nsw i32 %327, 4 %344 = getelementptr i32, ptr %334, i64 3 store i32 %342, ptr %344, align 4, !tbaa !15 br label %345 345: ; preds = %326, %331, %336, %31, %4, %205, %197, %163, %104, %20 %346 = phi i32 [ 2, %20 ], [ -1, %104 ], [ %202, %197 ], [ %223, %205 ], [ -1, %163 ], [ -1, %4 ], [ -1, %31 ], [ %343, %336 ], [ %332, %331 ], [ %327, %326 ] ret i32 %346 } declare i32 @is_valid_registers(ptr noundef) local_unnamed_addr #1 declare i32 @eprintf(ptr noundef) local_unnamed_addr #1 declare i32 @getsib(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_9__", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !12, i64 48} !11 = !{!"TYPE_7__", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !7, i64 16, !12, i64 24, !12, i64 28, !7, i64 32, !13, i64 40, !12, i64 48} !12 = !{!"int", !8, i64 0} !13 = !{!"long", !8, i64 0} !14 = !{!11, !12, i64 0} !15 = !{!12, !12, i64 0} !16 = !{!11, !12, i64 4} !17 = !{!11, !12, i64 8} !18 = !{!11, !12, i64 12} !19 = !{!20, !12, i64 0} !20 = !{!"TYPE_8__", !12, i64 0} !21 = !{!11, !13, i64 40} !22 = !{!11, !7, i64 16} !23 = !{!11, !12, i64 24} !24 = !{!11, !12, i64 28} !25 = !{!11, !7, i64 32}
; ModuleID = 'AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_process_1byte_op.c' source_filename = "AnghaBench/radare2/libr/asm/p/extr_asm_x86_nz.c_process_1byte_op.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @X86R_AL = common local_unnamed_addr global i32 0, align 4 @OT_CONSTANT = common local_unnamed_addr global i32 0, align 4 @OT_QWORD = common local_unnamed_addr global i32 0, align 4 @OT_MEMORY = common local_unnamed_addr global i32 0, align 4 @OT_REGALL = common local_unnamed_addr global i32 0, align 4 @OT_DWORD = common local_unnamed_addr global i32 0, align 4 @OT_BYTE = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [33 x i8] c"Error: mismatched operand sizes\0A\00", align 1 @ST8_MIN = common local_unnamed_addr global i32 0, align 4 @ST8_MAX = common local_unnamed_addr global i32 0, align 4 @X86R_UNDEFINED = common local_unnamed_addr global i32 0, align 4 @X86R_EBP = common local_unnamed_addr global i32 0, align 4 @X86R_ESP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @process_1byte_op], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @process_1byte_op(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2, i32 noundef %3) #0 { %5 = tail call i32 @is_valid_registers(ptr noundef %2) #2 %6 = load ptr, ptr %2, align 8, !tbaa !6 %7 = getelementptr inbounds i8, ptr %6, i64 104 %8 = load i32, ptr %7, align 8, !tbaa !11 %9 = icmp eq i32 %8, 0 br i1 %9, label %340, label %10 10: ; preds = %4 %11 = load i32, ptr %6, align 8, !tbaa !15 %12 = load i32, ptr @X86R_AL, align 4, !tbaa !16 %13 = icmp eq i32 %11, %12 br i1 %13, label %14, label %28 14: ; preds = %10 %15 = getelementptr inbounds i8, ptr %6, i64 60 %16 = load i32, ptr %15, align 4, !tbaa !17 %17 = load i32, ptr @OT_CONSTANT, align 4, !tbaa !16 %18 = and i32 %17, %16 %19 = icmp eq i32 %18, 0 br i1 %19, label %28, label %20 20: ; preds = %14 %21 = add nsw i32 %3, 4 store i32 %21, ptr %1, align 4, !tbaa !16 %22 = getelementptr inbounds i8, ptr %6, i64 64 %23 = load i32, ptr %22, align 8, !tbaa !18 %24 = getelementptr inbounds i8, ptr %6, i64 68 %25 = load i32, ptr %24, align 4, !tbaa !19 %26 = mul nsw i32 %25, %23 %27 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %26, ptr %27, align 4, !tbaa !16 br label %340 28: ; preds = %14, %10 %29 = load i32, ptr %0, align 4, !tbaa !20 %30 = icmp eq i32 %29, 64 br i1 %30, label %31, label %54 31: ; preds = %28 %32 = getelementptr inbounds i8, ptr %6, i64 4 %33 = load i32, ptr %32, align 4, !tbaa !17 %34 = getelementptr inbounds i8, ptr %6, i64 60 %35 = load i32, ptr %34, align 4, !tbaa !17 %36 = and i32 %35, %33 %37 = icmp eq i32 %36, 0 br i1 %37, label %340, label %38 38: ; preds = %31 %39 = load i32, ptr @OT_QWORD, align 4, !tbaa !16 %40 = or i32 %35, %33 %41 = and i32 %40, %39 %42 = icmp eq i32 %41, 0 br i1 %42, label %54, label %43 43: ; preds = %38 %44 = getelementptr inbounds i8, ptr %6, i64 40 %45 = load i64, ptr %44, align 8, !tbaa !22 %46 = icmp ne i64 %45, 0 %47 = zext i1 %46 to i32 %48 = getelementptr inbounds i8, ptr %6, i64 96 %49 = load i64, ptr %48, align 8, !tbaa !22 %50 = icmp eq i64 %49, 0 %51 = or disjoint i32 %47, 4 %52 = select i1 %50, i32 %47, i32 %51 %53 = or disjoint i32 %52, 72 store i32 %53, ptr %1, align 4, !tbaa !16 br label %54 54: ; preds = %28, %43, %38 %55 = phi i32 [ 1, %43 ], [ 0, %38 ], [ 0, %28 ] %56 = getelementptr inbounds i8, ptr %6, i64 4 %57 = load i32, ptr %56, align 4, !tbaa !17 %58 = load i32, ptr @OT_MEMORY, align 4, !tbaa !16 %59 = and i32 %58, %57 %60 = icmp eq i32 %59, 0 %61 = load i32, ptr @OT_REGALL, align 4, !tbaa !16 br i1 %60, label %139, label %62 62: ; preds = %54 %63 = getelementptr inbounds i8, ptr %6, i64 60 %64 = load i32, ptr %63, align 4, !tbaa !17 %65 = and i32 %61, %64 %66 = icmp eq i32 %65, 0 br i1 %66, label %139, label %67 67: ; preds = %62 %68 = load i32, ptr %0, align 4, !tbaa !20 %69 = icmp eq i32 %68, 64 br i1 %69, label %70, label %82 70: ; preds = %67 %71 = load i32, ptr @OT_DWORD, align 4, !tbaa !16 %72 = and i32 %71, %57 %73 = icmp eq i32 %72, 0 %74 = and i32 %71, %64 %75 = icmp eq i32 %74, 0 %76 = or i1 %73, %75 br i1 %76, label %82, label %77 77: ; preds = %70 %78 = add nuw nsw i32 %55, 1 %79 = zext nneg i32 %55 to i64 %80 = getelementptr inbounds i32, ptr %1, i64 %79 store i32 103, ptr %80, align 4, !tbaa !16 %81 = load i32, ptr %56, align 4, !tbaa !17 br label %82 82: ; preds = %77, %70, %67 %83 = phi i32 [ %81, %77 ], [ %57, %70 ], [ %57, %67 ] %84 = phi i32 [ %78, %77 ], [ %55, %70 ], [ %55, %67 ] %85 = load i32, ptr @OT_BYTE, align 4, !tbaa !16 %86 = and i32 %85, %83 %87 = icmp eq i32 %86, 0 br i1 %87, label %92, label %88 88: ; preds = %82 %89 = load i32, ptr %63, align 4, !tbaa !17 %90 = and i32 %89, %85 %91 = icmp eq i32 %90, 0 br i1 %91, label %92, label %106 92: ; preds = %88, %82 %93 = load i32, ptr @OT_DWORD, align 4, !tbaa !16 %94 = load i32, ptr @OT_QWORD, align 4, !tbaa !16 %95 = or i32 %94, %93 %96 = and i32 %95, %83 %97 = icmp eq i32 %96, 0 br i1 %97, label %104, label %98 98: ; preds = %92 %99 = load i32, ptr %63, align 4, !tbaa !17 %100 = and i32 %99, %95 %101 = icmp eq i32 %100, 0 br i1 %101, label %104, label %102 102: ; preds = %98 %103 = add nsw i32 %3, 1 br label %106 104: ; preds = %98, %92 %105 = tail call i32 @eprintf(ptr noundef nonnull @.str) #2 br label %340 106: ; preds = %88, %102 %107 = phi i32 [ %103, %102 ], [ %3, %88 ] %108 = zext nneg i32 %84 to i64 %109 = getelementptr inbounds i32, ptr %1, i64 %108 store i32 %107, ptr %109, align 4, !tbaa !16 %110 = add nuw nsw i32 %84, 1 %111 = getelementptr inbounds i8, ptr %6, i64 56 %112 = load i32, ptr %111, align 8, !tbaa !15 %113 = getelementptr inbounds i8, ptr %6, i64 16 %114 = load ptr, ptr %113, align 8, !tbaa !23 %115 = load i32, ptr %114, align 4, !tbaa !16 %116 = getelementptr inbounds i8, ptr %6, i64 24 %117 = load i32, ptr %116, align 8, !tbaa !24 %118 = getelementptr inbounds i8, ptr %6, i64 28 %119 = load i32, ptr %118, align 4, !tbaa !25 %120 = mul nsw i32 %119, %117 %121 = icmp eq i32 %115, -1 br i1 %121, label %282, label %122 122: ; preds = %106 %123 = icmp eq i32 %120, 0 br i1 %123, label %131, label %124 124: ; preds = %122 %125 = load i32, ptr @ST8_MIN, align 4, !tbaa !16 %126 = icmp slt i32 %120, %125 %127 = load i32, ptr @ST8_MAX, align 4 %128 = icmp sgt i32 %120, %127 %129 = select i1 %126, i1 true, i1 %128 %130 = select i1 %129, i32 128, i32 64 br label %282 131: ; preds = %122 %132 = getelementptr inbounds i8, ptr %114, i64 4 %133 = load i32, ptr %132, align 4, !tbaa !16 %134 = load i32, ptr @X86R_UNDEFINED, align 4, !tbaa !16 %135 = icmp eq i32 %133, %134 %136 = shl i32 %133, 3 %137 = select i1 %135, i32 %115, i32 4 %138 = select i1 %135, i32 0, i32 %136 br label %282 139: ; preds = %62, %54 %140 = and i32 %61, %57 %141 = icmp eq i32 %140, 0 br i1 %141, label %282, label %142 142: ; preds = %139 %143 = getelementptr inbounds i8, ptr %6, i64 60 %144 = load i32, ptr %143, align 4, !tbaa !17 %145 = and i32 %144, %58 %146 = icmp eq i32 %145, 0 br i1 %146, label %235, label %147 147: ; preds = %142 %148 = load i32, ptr @OT_BYTE, align 4, !tbaa !16 %149 = and i32 %148, %57 %150 = icmp eq i32 %149, 0 %151 = and i32 %148, %144 %152 = icmp eq i32 %151, 0 %153 = or i1 %150, %152 br i1 %153, label %154, label %165 154: ; preds = %147 %155 = load i32, ptr @OT_DWORD, align 4, !tbaa !16 %156 = load i32, ptr @OT_QWORD, align 4, !tbaa !16 %157 = or i32 %156, %155 %158 = and i32 %157, %57 %159 = icmp eq i32 %158, 0 %160 = and i32 %157, %144 %161 = icmp eq i32 %160, 0 %162 = or i1 %159, %161 br i1 %162, label %163, label %165 163: ; preds = %154 %164 = tail call i32 @eprintf(ptr noundef nonnull @.str) #2 br label %340 165: ; preds = %154, %147 %166 = phi i32 [ 2, %147 ], [ 3, %154 ] %167 = add nsw i32 %166, %3 %168 = zext nneg i32 %55 to i64 %169 = getelementptr inbounds i32, ptr %1, i64 %168 store i32 %167, ptr %169, align 4, !tbaa !16 %170 = add nuw nsw i32 %55, 1 %171 = load i32, ptr %6, align 8, !tbaa !15 %172 = getelementptr inbounds i8, ptr %6, i64 72 %173 = load ptr, ptr %172, align 8, !tbaa !23 %174 = load i32, ptr %173, align 4, !tbaa !16 %175 = getelementptr inbounds i8, ptr %6, i64 88 %176 = load ptr, ptr %175, align 8, !tbaa !26 %177 = load i32, ptr %176, align 4, !tbaa !16 %178 = icmp sgt i32 %177, 1 br i1 %178, label %179, label %221 179: ; preds = %165 %180 = getelementptr inbounds i8, ptr %173, i64 4 %181 = load i32, ptr %180, align 4, !tbaa !16 %182 = load i32, ptr @X86R_UNDEFINED, align 4, !tbaa !16 %183 = icmp eq i32 %181, %182 %184 = shl i32 %171, 3 %185 = or disjoint i32 %184, 4 %186 = or disjoint i32 %55, 2 %187 = zext nneg i32 %170 to i64 %188 = getelementptr inbounds i32, ptr %1, i64 %187 store i32 %185, ptr %188, align 4, !tbaa !16 %189 = load i32, ptr %176, align 4, !tbaa !16 %190 = tail call i32 @getsib(i32 noundef %189) #2 %191 = shl i32 %190, 6 %192 = load ptr, ptr %2, align 8, !tbaa !6 %193 = getelementptr inbounds i8, ptr %192, i64 72 %194 = load ptr, ptr %193, align 8, !tbaa !23 %195 = load i32, ptr %194, align 4, !tbaa !16 %196 = shl i32 %195, 3 br i1 %183, label %205, label %197 197: ; preds = %179 %198 = getelementptr inbounds i8, ptr %194, i64 4 %199 = load i32, ptr %198, align 4, !tbaa !16 %200 = or i32 %191, %199 %201 = or i32 %200, %196 %202 = add nuw nsw i32 %55, 3 %203 = zext nneg i32 %186 to i64 %204 = getelementptr inbounds i32, ptr %1, i64 %203 store i32 %201, ptr %204, align 4, !tbaa !16 br label %340 205: ; preds = %179 %206 = or i32 %191, %196 %207 = or disjoint i32 %206, 5 %208 = zext nneg i32 %186 to i64 %209 = getelementptr inbounds i32, ptr %1, i64 %208 store i32 %207, ptr %209, align 4, !tbaa !16 %210 = getelementptr inbounds i8, ptr %192, i64 80 %211 = load i32, ptr %210, align 8, !tbaa !24 %212 = getelementptr inbounds i8, ptr %192, i64 84 %213 = load i32, ptr %212, align 4, !tbaa !25 %214 = mul nsw i32 %213, %211 %215 = or disjoint i32 %55, 4 %216 = getelementptr inbounds i8, ptr %169, i64 12 store i32 %214, ptr %216, align 4, !tbaa !16 %217 = zext nneg i32 %215 to i64 %218 = getelementptr inbounds i32, ptr %1, i64 %217 store i32 0, ptr %218, align 4, !tbaa !16 %219 = getelementptr inbounds i8, ptr %169, i64 20 %220 = add nuw nsw i32 %55, 7 store <2 x i32> zeroinitializer, ptr %219, align 4, !tbaa !16 br label %340 221: ; preds = %165 %222 = getelementptr inbounds i8, ptr %6, i64 80 %223 = load i32, ptr %222, align 8, !tbaa !24 %224 = getelementptr inbounds i8, ptr %6, i64 84 %225 = load i32, ptr %224, align 4, !tbaa !25 %226 = mul nsw i32 %225, %223 %227 = icmp eq i32 %226, 0 br i1 %227, label %282, label %228 228: ; preds = %221 %229 = load i32, ptr @ST8_MIN, align 4, !tbaa !16 %230 = icmp slt i32 %226, %229 %231 = load i32, ptr @ST8_MAX, align 4 %232 = icmp sgt i32 %226, %231 %233 = select i1 %230, i1 true, i1 %232 %234 = select i1 %233, i32 128, i32 64 br label %282 235: ; preds = %142 %236 = and i32 %144, %61 %237 = icmp eq i32 %236, 0 br i1 %237, label %282, label %238 238: ; preds = %235 %239 = load i32, ptr @OT_BYTE, align 4, !tbaa !16 %240 = and i32 %239, %57 %241 = icmp eq i32 %240, 0 %242 = and i32 %239, %144 %243 = icmp eq i32 %242, 0 %244 = or i1 %241, %243 br i1 %244, label %245, label %254 245: ; preds = %238 %246 = load i32, ptr @OT_DWORD, align 4, !tbaa !16 %247 = and i32 %246, %57 %248 = icmp eq i32 %247, 0 %249 = and i32 %246, %144 %250 = icmp eq i32 %249, 0 %251 = or i1 %248, %250 br i1 %251, label %259, label %252 252: ; preds = %245 %253 = add nsw i32 %3, 1 br label %254 254: ; preds = %238, %252 %255 = phi i32 [ %253, %252 ], [ %3, %238 ] %256 = add nuw nsw i32 %55, 1 %257 = zext nneg i32 %55 to i64 %258 = getelementptr inbounds i32, ptr %1, i64 %257 store i32 %255, ptr %258, align 4, !tbaa !16 br label %259 259: ; preds = %254, %245 %260 = phi i32 [ %55, %245 ], [ %256, %254 ] %261 = load i32, ptr %0, align 4, !tbaa !20 %262 = icmp eq i32 %261, 64 br i1 %262, label %263, label %277 263: ; preds = %259 %264 = load i32, ptr %56, align 4, !tbaa !17 %265 = load i32, ptr @OT_QWORD, align 4, !tbaa !16 %266 = and i32 %265, %264 %267 = icmp eq i32 %266, 0 br i1 %267, label %277, label %268 268: ; preds = %263 %269 = load i32, ptr %143, align 4, !tbaa !17 %270 = and i32 %269, %265 %271 = icmp eq i32 %270, 0 br i1 %271, label %277, label %272 272: ; preds = %268 %273 = add nsw i32 %3, 1 %274 = add nuw nsw i32 %260, 1 %275 = zext nneg i32 %260 to i64 %276 = getelementptr inbounds i32, ptr %1, i64 %275 store i32 %273, ptr %276, align 4, !tbaa !16 br label %277 277: ; preds = %263, %268, %272, %259 %278 = phi i32 [ %274, %272 ], [ %260, %268 ], [ %260, %263 ], [ %260, %259 ] %279 = getelementptr inbounds i8, ptr %6, i64 56 %280 = load i32, ptr %279, align 8, !tbaa !15 %281 = load i32, ptr %6, align 8, !tbaa !15 br label %282 282: ; preds = %228, %124, %131, %106, %139, %235, %277, %221 %283 = phi i32 [ %170, %221 ], [ %278, %277 ], [ %55, %235 ], [ %55, %139 ], [ %110, %106 ], [ %110, %131 ], [ %110, %124 ], [ %170, %228 ] %284 = phi i1 [ false, %221 ], [ false, %277 ], [ false, %235 ], [ false, %139 ], [ false, %106 ], [ false, %131 ], [ %129, %124 ], [ %233, %228 ] %285 = phi i32 [ 0, %221 ], [ 192, %277 ], [ 0, %235 ], [ 0, %139 ], [ 0, %106 ], [ 0, %131 ], [ %130, %124 ], [ %234, %228 ] %286 = phi i32 [ %171, %221 ], [ %280, %277 ], [ 0, %235 ], [ 0, %139 ], [ %112, %106 ], [ %112, %131 ], [ %112, %124 ], [ %171, %228 ] %287 = phi i32 [ %174, %221 ], [ %281, %277 ], [ 0, %235 ], [ 0, %139 ], [ 5, %106 ], [ %137, %131 ], [ %115, %124 ], [ %174, %228 ] %288 = phi i1 [ false, %221 ], [ false, %277 ], [ false, %235 ], [ false, %139 ], [ true, %106 ], [ false, %131 ], [ false, %124 ], [ false, %228 ] %289 = phi i32 [ 0, %221 ], [ 0, %277 ], [ 0, %235 ], [ 0, %139 ], [ %120, %106 ], [ %138, %131 ], [ %120, %124 ], [ %226, %228 ] %290 = getelementptr inbounds i8, ptr %6, i64 16 %291 = load ptr, ptr %290, align 8, !tbaa !23 %292 = load i32, ptr %291, align 4, !tbaa !16 %293 = load i32, ptr @X86R_EBP, align 4, !tbaa !16 %294 = icmp eq i32 %292, %293 br i1 %294, label %300, label %295 295: ; preds = %282 %296 = getelementptr inbounds i8, ptr %6, i64 72 %297 = load ptr, ptr %296, align 8, !tbaa !23 %298 = load i32, ptr %297, align 4, !tbaa !16 %299 = icmp eq i32 %298, %293 br i1 %299, label %300, label %301 300: ; preds = %295, %282 br label %301 301: ; preds = %300, %295 %302 = phi i1 [ true, %300 ], [ false, %295 ] %303 = shl i32 %286, 3 %304 = or i32 %303, %285 %305 = or i32 %304, %287 %306 = add nuw nsw i32 %283, 1 %307 = zext nneg i32 %283 to i64 %308 = getelementptr inbounds i32, ptr %1, i64 %307 store i32 %305, ptr %308, align 4, !tbaa !16 %309 = load i32, ptr %291, align 4, !tbaa !16 %310 = load i32, ptr @X86R_ESP, align 4, !tbaa !16 %311 = icmp eq i32 %309, %310 br i1 %311, label %317, label %312 312: ; preds = %301 %313 = getelementptr inbounds i8, ptr %6, i64 72 %314 = load ptr, ptr %313, align 8, !tbaa !23 %315 = load i32, ptr %314, align 4, !tbaa !16 %316 = icmp eq i32 %315, %310 br i1 %316, label %317, label %321 317: ; preds = %312, %301 %318 = add nuw nsw i32 %283, 2 %319 = zext nneg i32 %306 to i64 %320 = getelementptr inbounds i32, ptr %1, i64 %319 store i32 36, ptr %320, align 4, !tbaa !16 br label %321 321: ; preds = %317, %312 %322 = phi i32 [ %318, %317 ], [ %306, %312 ] %323 = icmp ne i32 %289, 0 %324 = or i1 %323, %302 %325 = or i1 %288, %324 br i1 %325, label %326, label %340 326: ; preds = %321 %327 = add nuw nsw i32 %322, 1 %328 = zext nneg i32 %322 to i64 %329 = getelementptr inbounds i32, ptr %1, i64 %328 store i32 %289, ptr %329, align 4, !tbaa !16 %330 = or i1 %284, %288 br i1 %330, label %331, label %340 331: ; preds = %326 %332 = ashr i32 %289, 8 %333 = zext nneg i32 %327 to i64 %334 = getelementptr inbounds i32, ptr %1, i64 %333 store i32 %332, ptr %334, align 4, !tbaa !16 %335 = insertelement <2 x i32> poison, i32 %289, i64 0 %336 = shufflevector <2 x i32> %335, <2 x i32> poison, <2 x i32> zeroinitializer %337 = ashr <2 x i32> %336, <i32 16, i32 24> %338 = getelementptr i8, ptr %329, i64 8 %339 = add nuw nsw i32 %322, 4 store <2 x i32> %337, ptr %338, align 4, !tbaa !16 br label %340 340: ; preds = %321, %326, %331, %31, %4, %205, %197, %163, %104, %20 %341 = phi i32 [ 2, %20 ], [ -1, %104 ], [ %202, %197 ], [ %220, %205 ], [ -1, %163 ], [ -1, %4 ], [ -1, %31 ], [ %339, %331 ], [ %327, %326 ], [ %322, %321 ] ret i32 %341 } declare i32 @is_valid_registers(ptr noundef) local_unnamed_addr #1 declare i32 @eprintf(ptr noundef) local_unnamed_addr #1 declare i32 @getsib(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_9__", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !13, i64 48} !12 = !{!"TYPE_7__", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !8, i64 16, !13, i64 24, !13, i64 28, !8, i64 32, !14, i64 40, !13, i64 48} !13 = !{!"int", !9, i64 0} !14 = !{!"long", !9, i64 0} !15 = !{!12, !13, i64 0} !16 = !{!13, !13, i64 0} !17 = !{!12, !13, i64 4} !18 = !{!12, !13, i64 8} !19 = !{!12, !13, i64 12} !20 = !{!21, !13, i64 0} !21 = !{!"TYPE_8__", !13, i64 0} !22 = !{!12, !14, i64 40} !23 = !{!12, !8, i64 16} !24 = !{!12, !13, i64 24} !25 = !{!12, !13, i64 28} !26 = !{!12, !8, i64 32}
radare2_libr_asm_p_extr_asm_x86_nz.c_process_1byte_op
; ModuleID = 'AnghaBench/freebsd/contrib/sendmail/libsmdb/extr_smdb.c_smdb_malloc_database.c' source_filename = "AnghaBench/freebsd/contrib/sendmail/libsmdb/extr_smdb.c_smdb_malloc_database.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @smdb_malloc_database() local_unnamed_addr #0 { %1 = tail call i64 @malloc(i32 noundef 4) #2 %2 = inttoptr i64 %1 to ptr %3 = icmp eq i64 %1, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @memset(ptr noundef nonnull %2, i8 noundef signext 0, i32 noundef 4) #2 br label %6 6: ; preds = %4, %0 ret ptr %2 } declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/contrib/sendmail/libsmdb/extr_smdb.c_smdb_malloc_database.c' source_filename = "AnghaBench/freebsd/contrib/sendmail/libsmdb/extr_smdb.c_smdb_malloc_database.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 @smdb_malloc_database() local_unnamed_addr #0 { %1 = tail call i64 @malloc(i32 noundef 4) #2 %2 = inttoptr i64 %1 to ptr %3 = icmp eq i64 %1, 0 br i1 %3, label %6, label %4 4: ; preds = %0 %5 = tail call i32 @memset(ptr noundef nonnull %2, i8 noundef signext 0, i32 noundef 4) #2 br label %6 6: ; preds = %4, %0 ret ptr %2 } declare i64 @malloc(i32 noundef) local_unnamed_addr #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_contrib_sendmail_libsmdb_extr_smdb.c_smdb_malloc_database
; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec4.h_vec4_maxf.c' source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec4.h_vec4_maxf.c" target datalayout = "e-m:e-p270:32:32-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 @vec4_maxf], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @vec4_maxf(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, float noundef %2) #0 { %4 = load i32, ptr %1, align 4, !tbaa !5 %5 = tail call i32 @_mm_set1_ps(float noundef %2) #2 %6 = tail call i32 @_mm_max_ps(i32 noundef %4, i32 noundef %5) #2 store i32 %6, ptr %0, align 4, !tbaa !5 ret void } declare i32 @_mm_max_ps(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_mm_set1_ps(float 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 = !{!"vec4", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec4.h_vec4_maxf.c' source_filename = "AnghaBench/obs-studio/libobs/audio-monitoring/win32/extr_....graphicsvec4.h_vec4_maxf.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 @vec4_maxf], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @vec4_maxf(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, float noundef %2) #0 { %4 = load i32, ptr %1, align 4, !tbaa !6 %5 = tail call i32 @_mm_set1_ps(float noundef %2) #2 %6 = tail call i32 @_mm_max_ps(i32 noundef %4, i32 noundef %5) #2 store i32 %6, ptr %0, align 4, !tbaa !6 ret void } declare i32 @_mm_max_ps(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @_mm_set1_ps(float 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 = !{!"vec4", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
obs-studio_libobs_audio-monitoring_win32_extr_....graphicsvec4.h_vec4_maxf
; ModuleID = 'AnghaBench/php-src/ext/standard/extr_var.c_php_add_var_hash.c' source_filename = "AnghaBench/php-src/ext/standard/extr_var.c_php_add_var_hash.c" target datalayout = "e-m:e-p270:32:32-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 } @IS_OBJECT = dso_local local_unnamed_addr global i64 0, align 8 @llvm.compiler.used = appending global [1 x ptr] [ptr @php_add_var_hash], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal i32 @php_add_var_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = tail call i64 @Z_ISREF_P(ptr noundef %1) #3 %5 = load i32, ptr %0, align 4, !tbaa !5 %6 = add nsw i32 %5, 1 store i32 %6, ptr %0, align 4, !tbaa !5 %7 = icmp eq i64 %4, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = tail call i64 @Z_TYPE_P(ptr noundef %1) #3 %10 = load i64, ptr @IS_OBJECT, align 8, !tbaa !10 %11 = icmp eq i64 %9, %10 br i1 %11, label %19, label %38 12: ; preds = %2 %13 = tail call ptr @Z_REFVAL_P(ptr noundef %1) #3 %14 = tail call i64 @Z_TYPE_P(ptr noundef %13) #3 %15 = load i64, ptr @IS_OBJECT, align 8, !tbaa !10 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = tail call ptr @Z_REFVAL_P(ptr noundef %1) #3 br label %19 19: ; preds = %8, %17, %12 %20 = phi ptr [ %18, %17 ], [ %1, %12 ], [ %1, %8 ] %21 = tail call i64 @Z_COUNTED_P(ptr noundef %20) #3 %22 = getelementptr inbounds %struct.TYPE_3__, ptr %0, i64 0, i32 1 %23 = tail call ptr @zend_hash_index_find(ptr noundef nonnull %22, i64 noundef %21) #3 %24 = icmp eq ptr %23, null br i1 %24, label %31, label %25 25: ; preds = %19 br i1 %7, label %29, label %26 26: ; preds = %25 %27 = load i32, ptr %0, align 4, !tbaa !5 %28 = add nsw i32 %27, -1 store i32 %28, ptr %0, align 4, !tbaa !5 br label %29 29: ; preds = %26, %25 %30 = tail call i32 @Z_LVAL_P(ptr noundef nonnull %23) #3 br label %38 31: ; preds = %19 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %32 = load i32, ptr %0, align 4, !tbaa !5 %33 = call i32 @ZVAL_LONG(ptr noundef nonnull %3, i32 noundef %32) #3 %34 = call i32 @zend_hash_index_add_new(ptr noundef nonnull %22, i64 noundef %21, ptr noundef nonnull %3) #3 %35 = add nsw i64 %21, 1 %36 = call i32 @zend_hash_index_add_new(ptr noundef nonnull %22, i64 noundef %35, ptr noundef %20) #3 %37 = call i32 @Z_ADDREF_P(ptr noundef %20) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %38 38: ; preds = %8, %31, %29 %39 = phi i32 [ %30, %29 ], [ 0, %31 ], [ 0, %8 ] ret i32 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @Z_ISREF_P(ptr noundef) local_unnamed_addr #2 declare i64 @Z_TYPE_P(ptr noundef) local_unnamed_addr #2 declare ptr @Z_REFVAL_P(ptr noundef) local_unnamed_addr #2 declare i64 @Z_COUNTED_P(ptr noundef) local_unnamed_addr #2 declare ptr @zend_hash_index_find(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @Z_LVAL_P(ptr noundef) local_unnamed_addr #2 declare i32 @ZVAL_LONG(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zend_hash_index_add_new(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Z_ADDREF_P(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"TYPE_3__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0}
; ModuleID = 'AnghaBench/php-src/ext/standard/extr_var.c_php_add_var_hash.c' source_filename = "AnghaBench/php-src/ext/standard/extr_var.c_php_add_var_hash.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @IS_OBJECT = common local_unnamed_addr global i64 0, align 8 @llvm.used = appending global [1 x ptr] [ptr @php_add_var_hash], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal i32 @php_add_var_hash(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = tail call i64 @Z_ISREF_P(ptr noundef %1) #3 %5 = load i32, ptr %0, align 4, !tbaa !6 %6 = add nsw i32 %5, 1 store i32 %6, ptr %0, align 4, !tbaa !6 %7 = icmp eq i64 %4, 0 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = tail call i64 @Z_TYPE_P(ptr noundef %1) #3 %10 = load i64, ptr @IS_OBJECT, align 8, !tbaa !11 %11 = icmp eq i64 %9, %10 br i1 %11, label %19, label %38 12: ; preds = %2 %13 = tail call ptr @Z_REFVAL_P(ptr noundef %1) #3 %14 = tail call i64 @Z_TYPE_P(ptr noundef %13) #3 %15 = load i64, ptr @IS_OBJECT, align 8, !tbaa !11 %16 = icmp eq i64 %14, %15 br i1 %16, label %17, label %19 17: ; preds = %12 %18 = tail call ptr @Z_REFVAL_P(ptr noundef %1) #3 br label %19 19: ; preds = %8, %17, %12 %20 = phi ptr [ %18, %17 ], [ %1, %12 ], [ %1, %8 ] %21 = tail call i64 @Z_COUNTED_P(ptr noundef %20) #3 %22 = getelementptr inbounds i8, ptr %0, i64 4 %23 = tail call ptr @zend_hash_index_find(ptr noundef nonnull %22, i64 noundef %21) #3 %24 = icmp eq ptr %23, null br i1 %24, label %31, label %25 25: ; preds = %19 br i1 %7, label %29, label %26 26: ; preds = %25 %27 = load i32, ptr %0, align 4, !tbaa !6 %28 = add nsw i32 %27, -1 store i32 %28, ptr %0, align 4, !tbaa !6 br label %29 29: ; preds = %26, %25 %30 = tail call i32 @Z_LVAL_P(ptr noundef nonnull %23) #3 br label %38 31: ; preds = %19 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %32 = load i32, ptr %0, align 4, !tbaa !6 %33 = call i32 @ZVAL_LONG(ptr noundef nonnull %3, i32 noundef %32) #3 %34 = call i32 @zend_hash_index_add_new(ptr noundef nonnull %22, i64 noundef %21, ptr noundef nonnull %3) #3 %35 = add nsw i64 %21, 1 %36 = call i32 @zend_hash_index_add_new(ptr noundef nonnull %22, i64 noundef %35, ptr noundef %20) #3 %37 = call i32 @Z_ADDREF_P(ptr noundef %20) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 br label %38 38: ; preds = %8, %31, %29 %39 = phi i32 [ %30, %29 ], [ 0, %31 ], [ 0, %8 ] ret i32 %39 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i64 @Z_ISREF_P(ptr noundef) local_unnamed_addr #2 declare i64 @Z_TYPE_P(ptr noundef) local_unnamed_addr #2 declare ptr @Z_REFVAL_P(ptr noundef) local_unnamed_addr #2 declare i64 @Z_COUNTED_P(ptr noundef) local_unnamed_addr #2 declare ptr @zend_hash_index_find(ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @Z_LVAL_P(ptr noundef) local_unnamed_addr #2 declare i32 @ZVAL_LONG(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @zend_hash_index_add_new(ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @Z_ADDREF_P(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"TYPE_3__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"long", !9, i64 0}
php-src_ext_standard_extr_var.c_php_add_var_hash
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_true.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_true.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local ptr @_WLocale_true(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @_Locale_true(ptr noundef %0) #2 %5 = tail call ptr @_ToWChar(i32 noundef %4, ptr noundef %1, i64 noundef %2) #2 ret ptr %5 } declare ptr @_ToWChar(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_Locale_true(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_true.c' source_filename = "AnghaBench/reactos/sdk/lib/3rdparty/stlport/src/c_locale_glibc/extr_c_locale_glibc2.c__WLocale_true.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 @_WLocale_true(ptr noundef %0, ptr noundef %1, i64 noundef %2) local_unnamed_addr #0 { %4 = tail call i32 @_Locale_true(ptr noundef %0) #2 %5 = tail call ptr @_ToWChar(i32 noundef %4, ptr noundef %1, i64 noundef %2) #2 ret ptr %5 } declare ptr @_ToWChar(i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #1 declare i32 @_Locale_true(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
reactos_sdk_lib_3rdparty_stlport_src_c_locale_glibc_extr_c_locale_glibc2.c__WLocale_true
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_wait.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_wait.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @LIMA_GEM_WAIT_WRITE = dso_local local_unnamed_addr global i32 0, align 4 @ETIME = dso_local local_unnamed_addr global i64 0, align 8 @ETIMEDOUT = dso_local local_unnamed_addr global i64 0, align 8 @EBUSY = dso_local local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind uwtable define dso_local i32 @lima_gem_wait(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %2, 0 br i1 %5, label %23, label %6 6: ; preds = %4 %7 = load i32, ptr @LIMA_GEM_WAIT_WRITE, align 4, !tbaa !5 %8 = and i32 %7, %2 %9 = tail call i64 @drm_timeout_abs_to_jiffies(i32 noundef %3) #2 %10 = tail call i64 @drm_gem_dma_resv_wait(ptr noundef %0, i32 noundef %1, i32 noundef %8, i64 noundef %9) #2 %11 = load i64, ptr @ETIME, align 8, !tbaa !9 %12 = sub nsw i64 0, %11 %13 = icmp eq i64 %10, %12 br i1 %13, label %14, label %20 14: ; preds = %6 %15 = icmp eq i64 %9, 0 %16 = load i64, ptr @ETIMEDOUT, align 8 %17 = load i64, ptr @EBUSY, align 8 %18 = select i1 %15, i64 %17, i64 %16 %19 = sub nsw i64 0, %18 br label %20 20: ; preds = %14, %6 %21 = phi i64 [ %19, %14 ], [ %10, %6 ] %22 = trunc i64 %21 to i32 br label %23 23: ; preds = %4, %20 %24 = phi i32 [ %22, %20 ], [ 0, %4 ] ret i32 %24 } declare i64 @drm_timeout_abs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i64 @drm_gem_dma_resv_wait(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, !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/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_wait.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/lima/extr_lima_gem.c_lima_gem_wait.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @LIMA_GEM_WAIT_WRITE = common local_unnamed_addr global i32 0, align 4 @ETIME = common local_unnamed_addr global i64 0, align 8 @ETIMEDOUT = common local_unnamed_addr global i64 0, align 8 @EBUSY = common local_unnamed_addr global i64 0, align 8 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @lima_gem_wait(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 { %5 = icmp eq i32 %2, 0 br i1 %5, label %23, label %6 6: ; preds = %4 %7 = load i32, ptr @LIMA_GEM_WAIT_WRITE, align 4, !tbaa !6 %8 = and i32 %7, %2 %9 = tail call i64 @drm_timeout_abs_to_jiffies(i32 noundef %3) #2 %10 = tail call i64 @drm_gem_dma_resv_wait(ptr noundef %0, i32 noundef %1, i32 noundef %8, i64 noundef %9) #2 %11 = load i64, ptr @ETIME, align 8, !tbaa !10 %12 = sub nsw i64 0, %11 %13 = icmp eq i64 %10, %12 br i1 %13, label %14, label %20 14: ; preds = %6 %15 = icmp eq i64 %9, 0 %16 = load i64, ptr @ETIMEDOUT, align 8 %17 = load i64, ptr @EBUSY, align 8 %18 = select i1 %15, i64 %17, i64 %16 %19 = sub nsw i64 0, %18 br label %20 20: ; preds = %14, %6 %21 = phi i64 [ %19, %14 ], [ %10, %6 ] %22 = trunc i64 %21 to i32 br label %23 23: ; preds = %4, %20 %24 = phi i32 [ %22, %20 ], [ 0, %4 ] ret i32 %24 } declare i64 @drm_timeout_abs_to_jiffies(i32 noundef) local_unnamed_addr #1 declare i64 @drm_gem_dma_resv_wait(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, !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}
linux_drivers_gpu_drm_lima_extr_lima_gem.c_lima_gem_wait
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_frame_address_end.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_frame_address_end.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @annotation_level = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"\0A\1A\1Aframe-address-end\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local void @annotate_frame_address_end() local_unnamed_addr #0 { %1 = load i32, ptr @annotation_level, align 4, !tbaa !5 %2 = icmp eq i32 %1, 2 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = tail call i32 @printf_filtered(ptr noundef nonnull @.str) #2 br label %5 5: ; preds = %3, %0 ret void } declare i32 @printf_filtered(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_frame_address_end.c' source_filename = "AnghaBench/freebsd/contrib/gdb/gdb/extr_annotate.c_annotate_frame_address_end.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @annotation_level = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"\0A\1A\1Aframe-address-end\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define void @annotate_frame_address_end() local_unnamed_addr #0 { %1 = load i32, ptr @annotation_level, align 4, !tbaa !6 %2 = icmp eq i32 %1, 2 br i1 %2, label %3, label %5 3: ; preds = %0 %4 = tail call i32 @printf_filtered(ptr noundef nonnull @.str) #2 br label %5 5: ; preds = %3, %0 ret void } declare i32 @printf_filtered(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
freebsd_contrib_gdb_gdb_extr_annotate.c_annotate_frame_address_end
; ModuleID = 'AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_agp_i830_deinstall_gatt.c' source_filename = "AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_agp_i830_deinstall_gatt.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AGP_I810_PGTBL_CTL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @agp_i830_deinstall_gatt], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @agp_i830_deinstall_gatt(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !5 %4 = load i32, ptr %3, align 4, !tbaa !10 %5 = load i32, ptr @AGP_I810_PGTBL_CTL, align 4, !tbaa !10 %6 = tail call i32 @bus_read_4(i32 noundef %4, i32 noundef %5) #2 %7 = and i32 %6, -2 %8 = load ptr, ptr %2, align 8, !tbaa !5 %9 = load i32, ptr %8, align 4, !tbaa !10 %10 = load i32, ptr @AGP_I810_PGTBL_CTL, align 4, !tbaa !10 %11 = tail call i32 @bus_write_4(i32 noundef %9, i32 noundef %10, i32 noundef %7) #2 ret void } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_read_4(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_write_4(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 = !{!"agp_i810_softc", !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_agp_i830_deinstall_gatt.c' source_filename = "AnghaBench/freebsd/sys/dev/agp/extr_agp_i810.c_agp_i830_deinstall_gatt.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AGP_I810_PGTBL_CTL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @agp_i830_deinstall_gatt], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @agp_i830_deinstall_gatt(i32 noundef %0) #0 { %2 = tail call ptr @device_get_softc(i32 noundef %0) #2 %3 = load ptr, ptr %2, align 8, !tbaa !6 %4 = load i32, ptr %3, align 4, !tbaa !11 %5 = load i32, ptr @AGP_I810_PGTBL_CTL, align 4, !tbaa !11 %6 = tail call i32 @bus_read_4(i32 noundef %4, i32 noundef %5) #2 %7 = and i32 %6, -2 %8 = load ptr, ptr %2, align 8, !tbaa !6 %9 = load i32, ptr %8, align 4, !tbaa !11 %10 = load i32, ptr @AGP_I810_PGTBL_CTL, align 4, !tbaa !11 %11 = tail call i32 @bus_write_4(i32 noundef %9, i32 noundef %10, i32 noundef %7) #2 ret void } declare ptr @device_get_softc(i32 noundef) local_unnamed_addr #1 declare i32 @bus_read_4(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @bus_write_4(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"agp_i810_softc", !8, i64 0} !8 = !{!"any pointer", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"int", !9, i64 0}
freebsd_sys_dev_agp_extr_agp_i810.c_agp_i830_deinstall_gatt
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_set_user.c' source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_set_user.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @msg_set_user], section "llvm.metadata" ; Function Attrs: inlinehint nounwind uwtable define internal void @msg_set_user(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @msg_set_bits(ptr noundef %0, i32 noundef 0, i32 noundef 25, i32 noundef 15, i32 noundef %1) #2 ret void } declare i32 @msg_set_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_set_user.c' source_filename = "AnghaBench/fastsocket/kernel/net/tipc/extr_msg.h_msg_set_user.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 @msg_set_user], section "llvm.metadata" ; Function Attrs: inlinehint nounwind ssp uwtable(sync) define internal void @msg_set_user(ptr noundef %0, i32 noundef %1) #0 { %3 = tail call i32 @msg_set_bits(ptr noundef %0, i32 noundef 0, i32 noundef 25, i32 noundef 15, i32 noundef %1) #2 ret void } declare i32 @msg_set_bits(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { inlinehint nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_net_tipc_extr_msg.h_msg_set_user
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_inb_scbram.c' source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_inb_scbram.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @AHD_PCIX_SCBRAM_RD_BUG = dso_local local_unnamed_addr global i32 0, align 4 @MODE_PTR = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local i32 @ahd_inb_scbram(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @ahd_inb(ptr noundef %0, i32 noundef %1) #2 %4 = load i32, ptr %0, align 4, !tbaa !5 %5 = load i32, ptr @AHD_PCIX_SCBRAM_RD_BUG, align 4, !tbaa !10 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr @MODE_PTR, align 4, !tbaa !10 %10 = tail call i32 @ahd_inb(ptr noundef nonnull %0, i32 noundef %9) #2 br label %11 11: ; preds = %8, %2 ret i32 %3 } declare i32 @ahd_inb(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 = !{!"ahd_softc", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_inb_scbram.c' source_filename = "AnghaBench/linux/drivers/scsi/aic7xxx/extr_aic79xx_core.c_ahd_inb_scbram.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @AHD_PCIX_SCBRAM_RD_BUG = common local_unnamed_addr global i32 0, align 4 @MODE_PTR = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @ahd_inb_scbram(ptr noundef %0, i32 noundef %1) local_unnamed_addr #0 { %3 = tail call i32 @ahd_inb(ptr noundef %0, i32 noundef %1) #2 %4 = load i32, ptr %0, align 4, !tbaa !6 %5 = load i32, ptr @AHD_PCIX_SCBRAM_RD_BUG, align 4, !tbaa !11 %6 = and i32 %5, %4 %7 = icmp eq i32 %6, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr @MODE_PTR, align 4, !tbaa !11 %10 = tail call i32 @ahd_inb(ptr noundef nonnull %0, i32 noundef %9) #2 br label %11 11: ; preds = %8, %2 ret i32 %3 } declare i32 @ahd_inb(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 = !{!"ahd_softc", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0}
linux_drivers_scsi_aic7xxx_extr_aic79xx_core.c_ahd_inb_scbram
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/scsi/extr_virtio_scsi.c_vtscsi_modevent.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/scsi/extr_virtio_scsi.c_vtscsi_modevent.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @EOPNOTSUPP = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @vtscsi_modevent], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable define internal i32 @vtscsi_modevent(i32 %0, i32 noundef %1, ptr nocapture readnone %2) #0 { %4 = and i32 %1, -4 %5 = icmp eq i32 %4, 128 %6 = load i32, ptr @EOPNOTSUPP, align 4 %7 = select i1 %5, i32 0, i32 %6 ret i32 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/virtio/scsi/extr_virtio_scsi.c_vtscsi_modevent.c' source_filename = "AnghaBench/freebsd/sys/dev/virtio/scsi/extr_virtio_scsi.c_vtscsi_modevent.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EOPNOTSUPP = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @vtscsi_modevent], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) define internal i32 @vtscsi_modevent(i32 %0, i32 noundef %1, ptr nocapture readnone %2) #0 { %4 = and i32 %1, -4 %5 = icmp eq i32 %4, 128 %6 = load i32, ptr @EOPNOTSUPP, align 4 %7 = select i1 %5, i32 0, i32 %6 ret i32 %7 } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(read, argmem: none, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_virtio_scsi_extr_virtio_scsi.c_vtscsi_modevent
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_dlil.c_ifnet_detacher_thread_func.c' source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_dlil.c_ifnet_detacher_thread_func.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @ifnet_delayed_run = dso_local global i32 0, align 4 @dlil_ifnet_lock = dso_local global i32 0, align 4 @PZERO = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"ifnet_detacher\00", align 1 @ifnet_detacher_thread_cont = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @ifnet_detacher_thread_func], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ifnet_detacher_thread_func(ptr nocapture readnone %0, i32 %1) #0 { %3 = tail call i32 (...) @dlil_if_lock() #2 %4 = load i64, ptr @PZERO, align 8, !tbaa !5 %5 = add nsw i64 %4, -1 %6 = load i32, ptr @ifnet_detacher_thread_cont, align 4, !tbaa !9 %7 = tail call i32 @msleep0(ptr noundef nonnull @ifnet_delayed_run, ptr noundef nonnull @dlil_ifnet_lock, i64 noundef %5, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %6) #2 %8 = tail call i32 (...) @dlil_if_unlock() #2 %9 = tail call i32 @VERIFY(i32 noundef 0) #2 ret void } declare i32 @dlil_if_lock(...) local_unnamed_addr #1 declare i32 @msleep0(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dlil_if_unlock(...) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0}
; ModuleID = 'AnghaBench/darwin-xnu/bsd/net/extr_dlil.c_ifnet_detacher_thread_func.c' source_filename = "AnghaBench/darwin-xnu/bsd/net/extr_dlil.c_ifnet_detacher_thread_func.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ifnet_delayed_run = common global i32 0, align 4 @dlil_ifnet_lock = common global i32 0, align 4 @PZERO = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [15 x i8] c"ifnet_detacher\00", align 1 @ifnet_detacher_thread_cont = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @ifnet_detacher_thread_func], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ifnet_detacher_thread_func(ptr nocapture readnone %0, i32 %1) #0 { %3 = tail call i32 @dlil_if_lock() #2 %4 = load i64, ptr @PZERO, align 8, !tbaa !6 %5 = add nsw i64 %4, -1 %6 = load i32, ptr @ifnet_detacher_thread_cont, align 4, !tbaa !10 %7 = tail call i32 @msleep0(ptr noundef nonnull @ifnet_delayed_run, ptr noundef nonnull @dlil_ifnet_lock, i64 noundef %5, ptr noundef nonnull @.str, i32 noundef 0, i32 noundef %6) #2 %8 = tail call i32 @dlil_if_unlock() #2 %9 = tail call i32 @VERIFY(i32 noundef 0) #2 ret void } declare i32 @dlil_if_lock(...) local_unnamed_addr #1 declare i32 @msleep0(ptr noundef, ptr noundef, i64 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @dlil_if_unlock(...) local_unnamed_addr #1 declare i32 @VERIFY(i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0}
darwin-xnu_bsd_net_extr_dlil.c_ifnet_detacher_thread_func
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/smumgr/extr_smu8_smumgr.c_smu8_is_dpm_running.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/smumgr/extr_smu8_smumgr.c_smu8_is_dpm_running.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @SMU_EnabledFeatureScoreboard_SclkDpmOn = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @smu8_is_dpm_running], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @smu8_is_dpm_running(ptr noundef %0) #0 { %2 = load i32, ptr @SMU_EnabledFeatureScoreboard_SclkDpmOn, align 4, !tbaa !5 %3 = tail call i64 @smu8_dpm_check_smu_features(ptr noundef %0, i32 noundef %2) #2 %4 = icmp ne i64 %3, 0 %5 = zext i1 %4 to i32 ret i32 %5 } declare i64 @smu8_dpm_check_smu_features(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/amd/powerplay/smumgr/extr_smu8_smumgr.c_smu8_is_dpm_running.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/amd/powerplay/smumgr/extr_smu8_smumgr.c_smu8_is_dpm_running.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @SMU_EnabledFeatureScoreboard_SclkDpmOn = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @smu8_is_dpm_running], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @smu8_is_dpm_running(ptr noundef %0) #0 { %2 = load i32, ptr @SMU_EnabledFeatureScoreboard_SclkDpmOn, align 4, !tbaa !6 %3 = tail call i64 @smu8_dpm_check_smu_features(ptr noundef %0, i32 noundef %2) #2 %4 = icmp ne i64 %3, 0 %5 = zext i1 %4 to i32 ret i32 %5 } declare i64 @smu8_dpm_check_smu_features(ptr noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_amd_powerplay_smumgr_extr_smu8_smumgr.c_smu8_is_dpm_running
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_instance_ue_count_show.c' source_filename = "AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_instance_ue_count_show.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @instance_ue_count_show], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @instance_ue_count_show(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !5 %4 = tail call i32 @sprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %3) #2 ret i32 %4 } 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 = !{!"edac_device_instance", !7, i64 0} !7 = !{!"TYPE_2__", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_instance_ue_count_show.c' source_filename = "AnghaBench/linux/drivers/edac/extr_edac_device_sysfs.c_instance_ue_count_show.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [4 x i8] c"%u\0A\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @instance_ue_count_show], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @instance_ue_count_show(ptr nocapture noundef readonly %0, ptr noundef %1) #0 { %3 = load i32, ptr %0, align 4, !tbaa !6 %4 = tail call i32 @sprintf(ptr noundef %1, ptr noundef nonnull @.str, i32 noundef %3) #2 ret i32 %4 } 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 = !{!"edac_device_instance", !8, i64 0} !8 = !{!"TYPE_2__", !9, i64 0} !9 = !{!"int", !10, i64 0} !10 = !{!"omnipotent char", !11, i64 0} !11 = !{!"Simple C/C++ TBAA"}
linux_drivers_edac_extr_edac_device_sysfs.c_instance_ue_count_show
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_common.c_ixgbe_calculate_checksum.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_common.c_ixgbe_calculate_checksum.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable define dso_local i64 @ixgbe_calculate_checksum(ptr noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %40, label %4 4: ; preds = %2 %5 = icmp eq i64 %1, 0 br i1 %5, label %37, label %6 6: ; preds = %4 %7 = icmp ult i64 %1, 4 br i1 %7, label %26, label %8 8: ; preds = %6 %9 = and i64 %1, -4 br label %10 10: ; preds = %10, %8 %11 = phi i64 [ 0, %8 ], [ %20, %10 ] %12 = phi <2 x i64> [ zeroinitializer, %8 ], [ %18, %10 ] %13 = phi <2 x i64> [ zeroinitializer, %8 ], [ %19, %10 ] %14 = getelementptr inbounds i64, ptr %0, i64 %11 %15 = getelementptr inbounds i64, ptr %14, i64 2 %16 = load <2 x i64>, ptr %14, align 8, !tbaa !5 %17 = load <2 x i64>, ptr %15, align 8, !tbaa !5 %18 = add <2 x i64> %16, %12 %19 = add <2 x i64> %17, %13 %20 = add nuw i64 %11, 4 %21 = icmp eq i64 %20, %9 br i1 %21, label %22, label %10, !llvm.loop !9 22: ; preds = %10 %23 = add <2 x i64> %19, %18 %24 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %23) %25 = icmp eq i64 %9, %1 br i1 %25, label %37, label %26 26: ; preds = %6, %22 %27 = phi i64 [ 0, %6 ], [ %24, %22 ] %28 = phi i64 [ 0, %6 ], [ %9, %22 ] br label %29 29: ; preds = %26, %29 %30 = phi i64 [ %34, %29 ], [ %27, %26 ] %31 = phi i64 [ %35, %29 ], [ %28, %26 ] %32 = getelementptr inbounds i64, ptr %0, i64 %31 %33 = load i64, ptr %32, align 8, !tbaa !5 %34 = add nsw i64 %33, %30 %35 = add nuw i64 %31, 1 %36 = icmp eq i64 %35, %1 br i1 %36, label %37, label %29, !llvm.loop !13 37: ; preds = %29, %22, %4 %38 = phi i64 [ 0, %4 ], [ %24, %22 ], [ %34, %29 ] %39 = sub nsw i64 0, %38 br label %40 40: ; preds = %2, %37 %41 = phi i64 [ %39, %37 ], [ 0, %2 ] ret i64 %41 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #1 attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"long", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = distinct !{!9, !10, !11, !12} !10 = !{!"llvm.loop.mustprogress"} !11 = !{!"llvm.loop.isvectorized", i32 1} !12 = !{!"llvm.loop.unroll.runtime.disable"} !13 = distinct !{!13, !10, !12, !11}
; ModuleID = 'AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_common.c_ixgbe_calculate_checksum.c' source_filename = "AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_common.c_ixgbe_calculate_checksum.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) define range(i64 -9223372036854775807, -9223372036854775808) i64 @ixgbe_calculate_checksum(ptr noundef readonly %0, i64 noundef %1) local_unnamed_addr #0 { %3 = icmp eq ptr %0, null br i1 %3, label %50, label %4 4: ; preds = %2 %5 = icmp eq i64 %1, 0 br i1 %5, label %47, label %6 6: ; preds = %4 %7 = icmp ult i64 %1, 8 br i1 %7, label %36, label %8 8: ; preds = %6 %9 = and i64 %1, -8 br label %10 10: ; preds = %10, %8 %11 = phi i64 [ 0, %8 ], [ %28, %10 ] %12 = phi <2 x i64> [ zeroinitializer, %8 ], [ %24, %10 ] %13 = phi <2 x i64> [ zeroinitializer, %8 ], [ %25, %10 ] %14 = phi <2 x i64> [ zeroinitializer, %8 ], [ %26, %10 ] %15 = phi <2 x i64> [ zeroinitializer, %8 ], [ %27, %10 ] %16 = getelementptr inbounds i64, ptr %0, i64 %11 %17 = getelementptr inbounds i8, ptr %16, i64 16 %18 = getelementptr inbounds i8, ptr %16, i64 32 %19 = getelementptr inbounds i8, ptr %16, i64 48 %20 = load <2 x i64>, ptr %16, align 8, !tbaa !6 %21 = load <2 x i64>, ptr %17, align 8, !tbaa !6 %22 = load <2 x i64>, ptr %18, align 8, !tbaa !6 %23 = load <2 x i64>, ptr %19, align 8, !tbaa !6 %24 = add <2 x i64> %20, %12 %25 = add <2 x i64> %21, %13 %26 = add <2 x i64> %22, %14 %27 = add <2 x i64> %23, %15 %28 = add nuw i64 %11, 8 %29 = icmp eq i64 %28, %9 br i1 %29, label %30, label %10, !llvm.loop !10 30: ; preds = %10 %31 = add <2 x i64> %25, %24 %32 = add <2 x i64> %26, %31 %33 = add <2 x i64> %27, %32 %34 = tail call i64 @llvm.vector.reduce.add.v2i64(<2 x i64> %33) %35 = icmp eq i64 %9, %1 br i1 %35, label %47, label %36 36: ; preds = %30, %6 %37 = phi i64 [ 0, %6 ], [ %34, %30 ] %38 = phi i64 [ 0, %6 ], [ %9, %30 ] br label %39 39: ; preds = %36, %39 %40 = phi i64 [ %44, %39 ], [ %37, %36 ] %41 = phi i64 [ %45, %39 ], [ %38, %36 ] %42 = getelementptr inbounds i64, ptr %0, i64 %41 %43 = load i64, ptr %42, align 8, !tbaa !6 %44 = add nsw i64 %43, %40 %45 = add nuw i64 %41, 1 %46 = icmp eq i64 %45, %1 br i1 %46, label %47, label %39, !llvm.loop !14 47: ; preds = %39, %30, %4 %48 = phi i64 [ 0, %4 ], [ %34, %30 ], [ %44, %39 ] %49 = sub nsw i64 0, %48 br label %50 50: ; preds = %2, %47 %51 = phi i64 [ %49, %47 ], [ 0, %2 ] ret i64 %51 } ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i64 @llvm.vector.reduce.add.v2i64(<2 x i64>) #1 attributes #0 = { nofree norecurse nosync nounwind ssp memory(argmem: read) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = distinct !{!10, !11, !12, !13} !11 = !{!"llvm.loop.mustprogress"} !12 = !{!"llvm.loop.isvectorized", i32 1} !13 = !{!"llvm.loop.unroll.runtime.disable"} !14 = distinct !{!14, !11, !13, !12}
linux_drivers_net_ethernet_intel_ixgbe_extr_ixgbe_common.c_ixgbe_calculate_checksum
; ModuleID = 'AnghaBench/radare2/libr/egg/rlcc/extr_rlcc.c_main.c' source_filename = "AnghaBench/radare2/libr/egg/rlcc/extr_rlcc.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_9__ = type { ptr, ptr } %struct.TYPE_10__ = type { i32, i32, i32, ptr } @.str = private unnamed_addr constant [6 x i8] c"ident\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"number\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"character\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"string\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"factor\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"term\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"lexp\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"stmt\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"exp\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"vartype\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"typeident\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"decls\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"args\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"body\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"linecomment\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"asm\00", align 1 @.str.17 = private unnamed_addr constant [10 x i8] c"procedure\00", align 1 @.str.18 = private unnamed_addr constant [11 x i8] c"cprocedure\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"sigdef\00", align 1 @.str.20 = private unnamed_addr constant [8 x i8] c"sigbody\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"includes\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"smallc\00", align 1 @MPCA_LANG_DEFAULT = dso_local local_unnamed_addr global i32 0, align 4 @.str.23 = private unnamed_addr constant [2957 x i8] c" ident : /[a-zA-Z_][a-zA-Z0-9_]*/ ; \0A number : /[0-9]+/ ; \0A character : /'.'/ ; \0A string : /\22(\\\\.|[^\22])*\22/ ; \0A \0A factor : '(' <lexp> ')' \0A | <number> \0A | <character> \0A | <string> \0A | <ident> '(' <lexp>? (',' <lexp>)* ')' \0A | <ident> ; \0A \0A term : <factor> (('*' | '/' | '%') <factor>)* ; \0A lexp : <term> (('+' | '-') <term>)* ; \0A \0A stmt : '{' <stmt>* '}' \0A | \22while\22 '(' <exp> ')' <stmt> \0A | \22if\22 '(' <exp> ')' <stmt> \0A | <ident> '=' <lexp> ';' \0A | \22print\22 '(' <lexp>? ')' ';' \0A | \22return\22 <lexp>? ';' \0A | <ident> '(' (<number>|<ident>|<string>)? (',' (<string>|<number>|<ident>))* ')' ';' ; \0A \0A exp : <lexp> '>' <lexp> \0A | <lexp> '<' <lexp> \0A | <lexp> \22>=\22 <lexp> \0A | <lexp> \22<=\22 <lexp> \0A | <lexp> \22!=\22 <lexp> \0A | <lexp> \22==\22 <lexp> ; \0A \0A vartype : (\22int\22 | \22char\22) ; \0A typeident : <vartype> <ident> ; \0A decls : (<typeident> ';')* ; \0A args : <typeident>? (',' <typeident>)* ; \0A body : '{' <decls> <stmt>* '}' ; \0A comment : /\\/\\*([^\\*])*\\*\\// ; \0A linecomment : /\\/\\/([^\\n])*/ ; \0A asm : /\\:([^\\n])*/ ; \0A procedure : <ident> '@' \22global\22 '(' <number>? ')' <body> ; \0A cprocedure : <vartype> <ident> '(' <args> ')' <body> ; \0A sigdef : <ident> '@' <ident> '(' <number> ')' ';' ; \0A sigbody : '@' <ident> '(' <number> ')' ';' ; \0A includes : (\22#include\22 <string>)* ; \0A smallc : /^/ (<comment>|<asm>|<linecomment>|<sigdef>|<sigbody>|<procedure>|<cprocedure>)* <includes> <decls> /$/ ; \0A\00", align 1 @stderr = dso_local local_unnamed_addr global i32 0, align 4 @.str.24 = private unnamed_addr constant [20 x i8] c"; TAG = %s (%s)\0A\00", align 1 @.str.25 = private unnamed_addr constant [8 x i8] c"<stdin>\00", align 1 @stdin = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_9__, align 8 %4 = alloca %struct.TYPE_9__, align 8 %5 = tail call ptr @mpc_new(ptr noundef nonnull @.str) #4 %6 = tail call ptr @mpc_new(ptr noundef nonnull @.str.1) #4 %7 = tail call ptr @mpc_new(ptr noundef nonnull @.str.2) #4 %8 = tail call ptr @mpc_new(ptr noundef nonnull @.str.3) #4 %9 = tail call ptr @mpc_new(ptr noundef nonnull @.str.4) #4 %10 = tail call ptr @mpc_new(ptr noundef nonnull @.str.5) #4 %11 = tail call ptr @mpc_new(ptr noundef nonnull @.str.6) #4 %12 = tail call ptr @mpc_new(ptr noundef nonnull @.str.7) #4 %13 = tail call ptr @mpc_new(ptr noundef nonnull @.str.8) #4 %14 = tail call ptr @mpc_new(ptr noundef nonnull @.str.9) #4 %15 = tail call ptr @mpc_new(ptr noundef nonnull @.str.10) #4 %16 = tail call ptr @mpc_new(ptr noundef nonnull @.str.11) #4 %17 = tail call ptr @mpc_new(ptr noundef nonnull @.str.12) #4 %18 = tail call ptr @mpc_new(ptr noundef nonnull @.str.13) #4 %19 = tail call ptr @mpc_new(ptr noundef nonnull @.str.14) #4 %20 = tail call ptr @mpc_new(ptr noundef nonnull @.str.15) #4 %21 = tail call ptr @mpc_new(ptr noundef nonnull @.str.16) #4 %22 = tail call ptr @mpc_new(ptr noundef nonnull @.str.17) #4 %23 = tail call ptr @mpc_new(ptr noundef nonnull @.str.18) #4 %24 = tail call ptr @mpc_new(ptr noundef nonnull @.str.19) #4 %25 = tail call ptr @mpc_new(ptr noundef nonnull @.str.20) #4 %26 = tail call ptr @mpc_new(ptr noundef nonnull @.str.21) #4 %27 = tail call ptr @mpc_new(ptr noundef nonnull @.str.22) #4 %28 = load i32, ptr @MPCA_LANG_DEFAULT, align 4, !tbaa !5 %29 = tail call ptr @mpca_lang(i32 noundef %28, ptr noundef nonnull @.str.23, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef null) #4 %30 = icmp eq ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %2 %32 = tail call i32 @mpc_err_print(ptr noundef nonnull %29) #4 %33 = tail call i32 @mpc_err_delete(ptr noundef nonnull %29) #4 %34 = tail call i32 @exit(i32 noundef 1) #5 unreachable 35: ; preds = %2 %36 = icmp sgt i32 %0, 1 br i1 %36, label %37, label %78 37: ; preds = %35 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 %38 = getelementptr inbounds ptr, ptr %1, i64 1 %39 = load ptr, ptr %38, align 8, !tbaa !9 %40 = call i64 @mpc_parse_contents(ptr noundef %39, ptr noundef %27, ptr noundef nonnull %3) #4 %41 = icmp eq i64 %40, 0 br i1 %41, label %72, label %42 42: ; preds = %37 %43 = getelementptr inbounds %struct.TYPE_9__, ptr %3, i64 0, i32 1 %44 = load ptr, ptr %43, align 8, !tbaa !11 %45 = load i32, ptr @stderr, align 4, !tbaa !5 %46 = call i32 @mpc_ast_print_to(ptr noundef %44, i32 noundef %45) #4 %47 = load ptr, ptr %43, align 8, !tbaa !11 %48 = load i32, ptr %47, align 8, !tbaa !13 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %69 50: ; preds = %42 %51 = getelementptr inbounds %struct.TYPE_10__, ptr %47, i64 0, i32 3 br label %52 52: ; preds = %50, %52 %53 = phi i64 [ 0, %50 ], [ %63, %52 ] %54 = load ptr, ptr %51, align 8, !tbaa !15 %55 = getelementptr inbounds ptr, ptr %54, i64 %53 %56 = load ptr, ptr %55, align 8, !tbaa !9 %57 = getelementptr inbounds %struct.TYPE_10__, ptr %56, i64 0, i32 2 %58 = load i32, ptr %57, align 8, !tbaa !16 %59 = getelementptr inbounds %struct.TYPE_10__, ptr %56, i64 0, i32 1 %60 = load i32, ptr %59, align 4, !tbaa !17 %61 = call i32 @eprintf(ptr noundef nonnull @.str.24, i32 noundef %58, i32 noundef %60) #4 %62 = call i32 @processNode(ptr noundef %56) #4 %63 = add nuw nsw i64 %53, 1 %64 = load i32, ptr %47, align 8, !tbaa !13 %65 = sext i32 %64 to i64 %66 = icmp slt i64 %63, %65 br i1 %66, label %52, label %67, !llvm.loop !18 67: ; preds = %52 %68 = load ptr, ptr %43, align 8, !tbaa !11 br label %69 69: ; preds = %67, %42 %70 = phi ptr [ %68, %67 ], [ %47, %42 ] %71 = call i32 @mpc_ast_delete(ptr noundef %70) #4 br label %77 72: ; preds = %37 %73 = load ptr, ptr %3, align 8, !tbaa !20 %74 = call i32 @mpc_err_print(ptr noundef %73) #4 %75 = load ptr, ptr %3, align 8, !tbaa !20 %76 = call i32 @mpc_err_delete(ptr noundef %75) #4 br label %77 77: ; preds = %72, %69 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 br label %94 78: ; preds = %35 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 %79 = load i32, ptr @stdin, align 4, !tbaa !5 %80 = call i64 @mpc_parse_pipe(ptr noundef nonnull @.str.25, i32 noundef %79, ptr noundef %27, ptr noundef nonnull %4) #4 %81 = icmp eq i64 %80, 0 br i1 %81, label %88, label %82 82: ; preds = %78 %83 = getelementptr inbounds %struct.TYPE_9__, ptr %4, i64 0, i32 1 %84 = load ptr, ptr %83, align 8, !tbaa !11 %85 = call i32 @mpc_ast_print(ptr noundef %84) #4 %86 = load ptr, ptr %83, align 8, !tbaa !11 %87 = call i32 @mpc_ast_delete(ptr noundef %86) #4 br label %93 88: ; preds = %78 %89 = load ptr, ptr %4, align 8, !tbaa !20 %90 = call i32 @mpc_err_print(ptr noundef %89) #4 %91 = load ptr, ptr %4, align 8, !tbaa !20 %92 = call i32 @mpc_err_delete(ptr noundef %91) #4 br label %93 93: ; preds = %88, %82 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 br label %94 94: ; preds = %93, %77 %95 = call i32 @mpc_cleanup(i32 noundef 17, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %26, ptr noundef %27) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mpc_new(ptr noundef) local_unnamed_addr #2 declare ptr @mpca_lang(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpc_err_print(ptr noundef) local_unnamed_addr #2 declare i32 @mpc_err_delete(ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 declare i64 @mpc_parse_contents(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpc_ast_print_to(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @eprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @processNode(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @mpc_ast_delete(ptr noundef) local_unnamed_addr #2 declare i64 @mpc_parse_pipe(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpc_ast_print(ptr noundef) local_unnamed_addr #2 declare i32 @mpc_cleanup(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="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 = !{!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, !10, i64 8} !12 = !{!"TYPE_9__", !10, i64 0, !10, i64 8} !13 = !{!14, !6, i64 0} !14 = !{!"TYPE_10__", !6, i64 0, !6, i64 4, !6, i64 8, !10, i64 16} !15 = !{!14, !10, i64 16} !16 = !{!14, !6, i64 8} !17 = !{!14, !6, i64 4} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!12, !10, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/egg/rlcc/extr_rlcc.c_main.c' source_filename = "AnghaBench/radare2/libr/egg/rlcc/extr_rlcc.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_9__ = type { ptr, ptr } @.str = private unnamed_addr constant [6 x i8] c"ident\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"number\00", align 1 @.str.2 = private unnamed_addr constant [10 x i8] c"character\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"string\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"factor\00", align 1 @.str.5 = private unnamed_addr constant [5 x i8] c"term\00", align 1 @.str.6 = private unnamed_addr constant [5 x i8] c"lexp\00", align 1 @.str.7 = private unnamed_addr constant [5 x i8] c"stmt\00", align 1 @.str.8 = private unnamed_addr constant [4 x i8] c"exp\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"vartype\00", align 1 @.str.10 = private unnamed_addr constant [10 x i8] c"typeident\00", align 1 @.str.11 = private unnamed_addr constant [6 x i8] c"decls\00", align 1 @.str.12 = private unnamed_addr constant [5 x i8] c"args\00", align 1 @.str.13 = private unnamed_addr constant [5 x i8] c"body\00", align 1 @.str.14 = private unnamed_addr constant [8 x i8] c"comment\00", align 1 @.str.15 = private unnamed_addr constant [12 x i8] c"linecomment\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"asm\00", align 1 @.str.17 = private unnamed_addr constant [10 x i8] c"procedure\00", align 1 @.str.18 = private unnamed_addr constant [11 x i8] c"cprocedure\00", align 1 @.str.19 = private unnamed_addr constant [7 x i8] c"sigdef\00", align 1 @.str.20 = private unnamed_addr constant [8 x i8] c"sigbody\00", align 1 @.str.21 = private unnamed_addr constant [9 x i8] c"includes\00", align 1 @.str.22 = private unnamed_addr constant [7 x i8] c"smallc\00", align 1 @MPCA_LANG_DEFAULT = common local_unnamed_addr global i32 0, align 4 @.str.23 = private unnamed_addr constant [2957 x i8] c" ident : /[a-zA-Z_][a-zA-Z0-9_]*/ ; \0A number : /[0-9]+/ ; \0A character : /'.'/ ; \0A string : /\22(\\\\.|[^\22])*\22/ ; \0A \0A factor : '(' <lexp> ')' \0A | <number> \0A | <character> \0A | <string> \0A | <ident> '(' <lexp>? (',' <lexp>)* ')' \0A | <ident> ; \0A \0A term : <factor> (('*' | '/' | '%') <factor>)* ; \0A lexp : <term> (('+' | '-') <term>)* ; \0A \0A stmt : '{' <stmt>* '}' \0A | \22while\22 '(' <exp> ')' <stmt> \0A | \22if\22 '(' <exp> ')' <stmt> \0A | <ident> '=' <lexp> ';' \0A | \22print\22 '(' <lexp>? ')' ';' \0A | \22return\22 <lexp>? ';' \0A | <ident> '(' (<number>|<ident>|<string>)? (',' (<string>|<number>|<ident>))* ')' ';' ; \0A \0A exp : <lexp> '>' <lexp> \0A | <lexp> '<' <lexp> \0A | <lexp> \22>=\22 <lexp> \0A | <lexp> \22<=\22 <lexp> \0A | <lexp> \22!=\22 <lexp> \0A | <lexp> \22==\22 <lexp> ; \0A \0A vartype : (\22int\22 | \22char\22) ; \0A typeident : <vartype> <ident> ; \0A decls : (<typeident> ';')* ; \0A args : <typeident>? (',' <typeident>)* ; \0A body : '{' <decls> <stmt>* '}' ; \0A comment : /\\/\\*([^\\*])*\\*\\// ; \0A linecomment : /\\/\\/([^\\n])*/ ; \0A asm : /\\:([^\\n])*/ ; \0A procedure : <ident> '@' \22global\22 '(' <number>? ')' <body> ; \0A cprocedure : <vartype> <ident> '(' <args> ')' <body> ; \0A sigdef : <ident> '@' <ident> '(' <number> ')' ';' ; \0A sigbody : '@' <ident> '(' <number> ')' ';' ; \0A includes : (\22#include\22 <string>)* ; \0A smallc : /^/ (<comment>|<asm>|<linecomment>|<sigdef>|<sigbody>|<procedure>|<cprocedure>)* <includes> <decls> /$/ ; \0A\00", align 1 @stderr = common local_unnamed_addr global i32 0, align 4 @.str.24 = private unnamed_addr constant [20 x i8] c"; TAG = %s (%s)\0A\00", align 1 @.str.25 = private unnamed_addr constant [8 x i8] c"<stdin>\00", align 1 @stdin = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 { %3 = alloca %struct.TYPE_9__, align 8 %4 = alloca %struct.TYPE_9__, align 8 %5 = tail call ptr @mpc_new(ptr noundef nonnull @.str) #4 %6 = tail call ptr @mpc_new(ptr noundef nonnull @.str.1) #4 %7 = tail call ptr @mpc_new(ptr noundef nonnull @.str.2) #4 %8 = tail call ptr @mpc_new(ptr noundef nonnull @.str.3) #4 %9 = tail call ptr @mpc_new(ptr noundef nonnull @.str.4) #4 %10 = tail call ptr @mpc_new(ptr noundef nonnull @.str.5) #4 %11 = tail call ptr @mpc_new(ptr noundef nonnull @.str.6) #4 %12 = tail call ptr @mpc_new(ptr noundef nonnull @.str.7) #4 %13 = tail call ptr @mpc_new(ptr noundef nonnull @.str.8) #4 %14 = tail call ptr @mpc_new(ptr noundef nonnull @.str.9) #4 %15 = tail call ptr @mpc_new(ptr noundef nonnull @.str.10) #4 %16 = tail call ptr @mpc_new(ptr noundef nonnull @.str.11) #4 %17 = tail call ptr @mpc_new(ptr noundef nonnull @.str.12) #4 %18 = tail call ptr @mpc_new(ptr noundef nonnull @.str.13) #4 %19 = tail call ptr @mpc_new(ptr noundef nonnull @.str.14) #4 %20 = tail call ptr @mpc_new(ptr noundef nonnull @.str.15) #4 %21 = tail call ptr @mpc_new(ptr noundef nonnull @.str.16) #4 %22 = tail call ptr @mpc_new(ptr noundef nonnull @.str.17) #4 %23 = tail call ptr @mpc_new(ptr noundef nonnull @.str.18) #4 %24 = tail call ptr @mpc_new(ptr noundef nonnull @.str.19) #4 %25 = tail call ptr @mpc_new(ptr noundef nonnull @.str.20) #4 %26 = tail call ptr @mpc_new(ptr noundef nonnull @.str.21) #4 %27 = tail call ptr @mpc_new(ptr noundef nonnull @.str.22) #4 %28 = load i32, ptr @MPCA_LANG_DEFAULT, align 4, !tbaa !6 %29 = tail call ptr @mpca_lang(i32 noundef %28, ptr noundef nonnull @.str.23, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %20, ptr noundef %21, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, ptr noundef null) #4 %30 = icmp eq ptr %29, null br i1 %30, label %35, label %31 31: ; preds = %2 %32 = tail call i32 @mpc_err_print(ptr noundef nonnull %29) #4 %33 = tail call i32 @mpc_err_delete(ptr noundef nonnull %29) #4 %34 = tail call i32 @exit(i32 noundef 1) #5 unreachable 35: ; preds = %2 %36 = icmp sgt i32 %0, 1 br i1 %36, label %37, label %78 37: ; preds = %35 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4 %38 = getelementptr inbounds i8, ptr %1, i64 8 %39 = load ptr, ptr %38, align 8, !tbaa !10 %40 = call i64 @mpc_parse_contents(ptr noundef %39, ptr noundef %27, ptr noundef nonnull %3) #4 %41 = icmp eq i64 %40, 0 br i1 %41, label %72, label %42 42: ; preds = %37 %43 = getelementptr inbounds i8, ptr %3, i64 8 %44 = load ptr, ptr %43, align 8, !tbaa !12 %45 = load i32, ptr @stderr, align 4, !tbaa !6 %46 = call i32 @mpc_ast_print_to(ptr noundef %44, i32 noundef %45) #4 %47 = load ptr, ptr %43, align 8, !tbaa !12 %48 = load i32, ptr %47, align 8, !tbaa !14 %49 = icmp sgt i32 %48, 0 br i1 %49, label %50, label %69 50: ; preds = %42 %51 = getelementptr inbounds i8, ptr %47, i64 16 br label %52 52: ; preds = %50, %52 %53 = phi i64 [ 0, %50 ], [ %63, %52 ] %54 = load ptr, ptr %51, align 8, !tbaa !16 %55 = getelementptr inbounds ptr, ptr %54, i64 %53 %56 = load ptr, ptr %55, align 8, !tbaa !10 %57 = getelementptr inbounds i8, ptr %56, i64 8 %58 = load i32, ptr %57, align 8, !tbaa !17 %59 = getelementptr inbounds i8, ptr %56, i64 4 %60 = load i32, ptr %59, align 4, !tbaa !18 %61 = call i32 @eprintf(ptr noundef nonnull @.str.24, i32 noundef %58, i32 noundef %60) #4 %62 = call i32 @processNode(ptr noundef %56) #4 %63 = add nuw nsw i64 %53, 1 %64 = load i32, ptr %47, align 8, !tbaa !14 %65 = sext i32 %64 to i64 %66 = icmp slt i64 %63, %65 br i1 %66, label %52, label %67, !llvm.loop !19 67: ; preds = %52 %68 = load ptr, ptr %43, align 8, !tbaa !12 br label %69 69: ; preds = %67, %42 %70 = phi ptr [ %68, %67 ], [ %47, %42 ] %71 = call i32 @mpc_ast_delete(ptr noundef %70) #4 br label %77 72: ; preds = %37 %73 = load ptr, ptr %3, align 8, !tbaa !21 %74 = call i32 @mpc_err_print(ptr noundef %73) #4 %75 = load ptr, ptr %3, align 8, !tbaa !21 %76 = call i32 @mpc_err_delete(ptr noundef %75) #4 br label %77 77: ; preds = %72, %69 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4 br label %94 78: ; preds = %35 call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #4 %79 = load i32, ptr @stdin, align 4, !tbaa !6 %80 = call i64 @mpc_parse_pipe(ptr noundef nonnull @.str.25, i32 noundef %79, ptr noundef %27, ptr noundef nonnull %4) #4 %81 = icmp eq i64 %80, 0 br i1 %81, label %88, label %82 82: ; preds = %78 %83 = getelementptr inbounds i8, ptr %4, i64 8 %84 = load ptr, ptr %83, align 8, !tbaa !12 %85 = call i32 @mpc_ast_print(ptr noundef %84) #4 %86 = load ptr, ptr %83, align 8, !tbaa !12 %87 = call i32 @mpc_ast_delete(ptr noundef %86) #4 br label %93 88: ; preds = %78 %89 = load ptr, ptr %4, align 8, !tbaa !21 %90 = call i32 @mpc_err_print(ptr noundef %89) #4 %91 = load ptr, ptr %4, align 8, !tbaa !21 %92 = call i32 @mpc_err_delete(ptr noundef %91) #4 br label %93 93: ; preds = %88, %82 call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #4 br label %94 94: ; preds = %93, %77 %95 = call i32 @mpc_cleanup(i32 noundef 17, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %12, ptr noundef %13, ptr noundef %14, ptr noundef %15, ptr noundef %16, ptr noundef %17, ptr noundef %18, ptr noundef %19, ptr noundef %22, ptr noundef %23, ptr noundef %24, ptr noundef %26, ptr noundef %27) #4 ret i32 0 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare ptr @mpc_new(ptr noundef) local_unnamed_addr #2 declare ptr @mpca_lang(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpc_err_print(ptr noundef) local_unnamed_addr #2 declare i32 @mpc_err_delete(ptr noundef) local_unnamed_addr #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) local_unnamed_addr #3 declare i64 @mpc_parse_contents(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpc_ast_print_to(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @eprintf(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @processNode(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 declare i32 @mpc_ast_delete(ptr noundef) local_unnamed_addr #2 declare i64 @mpc_parse_pipe(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @mpc_ast_print(ptr noundef) local_unnamed_addr #2 declare i32 @mpc_cleanup(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+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 = !{!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, !11, i64 8} !13 = !{!"TYPE_9__", !11, i64 0, !11, i64 8} !14 = !{!15, !7, i64 0} !15 = !{!"TYPE_10__", !7, i64 0, !7, i64 4, !7, i64 8, !11, i64 16} !16 = !{!15, !11, i64 16} !17 = !{!15, !7, i64 8} !18 = !{!15, !7, i64 4} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!13, !11, i64 0}
radare2_libr_egg_rlcc_extr_rlcc.c_main
; ModuleID = 'AnghaBench/disque/src/extr_disque-check-aof.c_readString.c' source_filename = "AnghaBench/disque/src/extr_disque-check-aof.c_readString.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local noundef i32 @readString(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %1, align 8, !tbaa !5 %4 = call i32 @readLong(ptr noundef %0, i8 noundef signext 36, ptr noundef nonnull %3) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %26, label %6 6: ; preds = %2 %7 = load i64, ptr %3, align 8, !tbaa !9 %8 = add nsw i64 %7, 2 store i64 %8, ptr %3, align 8, !tbaa !9 %9 = call i64 @malloc(i64 noundef %8) #3 %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %1, align 8, !tbaa !5 %11 = load i64, ptr %3, align 8, !tbaa !9 %12 = call i32 @readBytes(ptr noundef %0, ptr noundef %10, i64 noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %26, label %14 14: ; preds = %6 %15 = load ptr, ptr %1, align 8, !tbaa !5 %16 = load i64, ptr %3, align 8, !tbaa !9 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -2 %19 = call i32 @consumeNewline(ptr noundef nonnull %18) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %14 %22 = load ptr, ptr %1, align 8, !tbaa !5 %23 = load i64, ptr %3, align 8, !tbaa !9 %24 = getelementptr i8, ptr %22, i64 %23 %25 = getelementptr i8, ptr %24, i64 -2 store i8 0, ptr %25, align 1, !tbaa !11 br label %26 26: ; preds = %14, %6, %2, %21 %27 = phi i32 [ 1, %21 ], [ 0, %2 ], [ 0, %6 ], [ 0, %14 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @readLong(ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #2 declare i64 @malloc(i64 noundef) local_unnamed_addr #2 declare i32 @readBytes(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @consumeNewline(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 = !{!7, !7, i64 0}
; ModuleID = 'AnghaBench/disque/src/extr_disque-check-aof.c_readString.c' source_filename = "AnghaBench/disque/src/extr_disque-check-aof.c_readString.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" ; Function Attrs: nounwind ssp uwtable(sync) define range(i32 0, 2) i32 @readString(ptr noundef %0, ptr nocapture noundef %1) local_unnamed_addr #0 { %3 = alloca i64, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3 store ptr null, ptr %1, align 8, !tbaa !6 %4 = call i32 @readLong(ptr noundef %0, i8 noundef signext 36, ptr noundef nonnull %3) #3 %5 = icmp eq i32 %4, 0 br i1 %5, label %26, label %6 6: ; preds = %2 %7 = load i64, ptr %3, align 8, !tbaa !10 %8 = add nsw i64 %7, 2 store i64 %8, ptr %3, align 8, !tbaa !10 %9 = call i64 @malloc(i64 noundef %8) #3 %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %1, align 8, !tbaa !6 %11 = load i64, ptr %3, align 8, !tbaa !10 %12 = call i32 @readBytes(ptr noundef %0, ptr noundef %10, i64 noundef %11) #3 %13 = icmp eq i32 %12, 0 br i1 %13, label %26, label %14 14: ; preds = %6 %15 = load ptr, ptr %1, align 8, !tbaa !6 %16 = load i64, ptr %3, align 8, !tbaa !10 %17 = getelementptr inbounds i8, ptr %15, i64 %16 %18 = getelementptr inbounds i8, ptr %17, i64 -2 %19 = call i32 @consumeNewline(ptr noundef nonnull %18) #3 %20 = icmp eq i32 %19, 0 br i1 %20, label %26, label %21 21: ; preds = %14 %22 = load ptr, ptr %1, align 8, !tbaa !6 %23 = load i64, ptr %3, align 8, !tbaa !10 %24 = getelementptr i8, ptr %22, i64 %23 %25 = getelementptr i8, ptr %24, i64 -2 store i8 0, ptr %25, align 1, !tbaa !12 br label %26 26: ; preds = %14, %6, %2, %21 %27 = phi i32 [ 1, %21 ], [ 0, %2 ], [ 0, %6 ], [ 0, %14 ] call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3 ret i32 %27 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @readLong(ptr noundef, i8 noundef signext, ptr noundef) local_unnamed_addr #2 declare i64 @malloc(i64 noundef) local_unnamed_addr #2 declare i32 @readBytes(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2 declare i32 @consumeNewline(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 = !{!8, !8, i64 0}
disque_src_extr_disque-check-aof.c_readString
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_cls_route.c_route4_hash_iif.c' source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_cls_route.c_route4_hash_iif.c" target datalayout = "e-m:e-p270:32:32-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 @route4_hash_iif], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable define internal i32 @route4_hash_iif(i32 noundef %0) #0 { %2 = lshr i32 %0, 16 %3 = and i32 %2, 15 %4 = or disjoint i32 %3, 16 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind willreturn memory(none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/fastsocket/kernel/net/sched/extr_cls_route.c_route4_hash_iif.c' source_filename = "AnghaBench/fastsocket/kernel/net/sched/extr_cls_route.c_route4_hash_iif.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 @route4_hash_iif], section "llvm.metadata" ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) define internal range(i32 16, 32) i32 @route4_hash_iif(i32 noundef %0) #0 { %2 = lshr i32 %0, 16 %3 = and i32 %2, 15 %4 = or disjoint i32 %3, 16 ret i32 %4 } attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind ssp willreturn memory(none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
fastsocket_kernel_net_sched_extr_cls_route.c_route4_hash_iif
; ModuleID = 'AnghaBench/linux/fs/autofs/extr_inode.c_parse_options.c' source_filename = "AnghaBench/linux/fs/autofs/extr_inode.c_parse_options.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.inode = type { i32, i32 } %struct.autofs_sb_info = type { i32, i32, i32, i32, i32 } @MAX_OPT_ARGS = dso_local local_unnamed_addr global i32 0, align 4 @AUTOFS_MIN_PROTO_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @AUTOFS_MAX_PROTO_VERSION = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c",\00", align 1 @tokens = dso_local local_unnamed_addr global i32 0, align 4 @AUTOFS_SBI_STRICTEXPIRE = dso_local local_unnamed_addr global i32 0, align 4 @AUTOFS_SBI_IGNORE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @parse_options], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @parse_options(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %6, align 8, !tbaa !5 %9 = load i32, ptr @MAX_OPT_ARGS, align 4, !tbaa !9 %10 = zext i32 %9 to i64 %11 = alloca i32, i64 %10, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 store i32 -1, ptr %8, align 4, !tbaa !9 %12 = tail call i32 (...) @current_uid() #3 %13 = getelementptr inbounds %struct.inode, ptr %1, i64 0, i32 1 store i32 %12, ptr %13, align 4, !tbaa !11 %14 = tail call i32 (...) @current_gid() #3 store i32 %14, ptr %1, align 4, !tbaa !13 %15 = load i32, ptr @AUTOFS_MIN_PROTO_VERSION, align 4, !tbaa !9 store i32 %15, ptr %4, align 4, !tbaa !14 %16 = load i32, ptr @AUTOFS_MAX_PROTO_VERSION, align 4, !tbaa !9 %17 = getelementptr inbounds %struct.autofs_sb_info, ptr %4, i64 0, i32 1 store i32 %16, ptr %17, align 4, !tbaa !16 %18 = getelementptr inbounds %struct.autofs_sb_info, ptr %4, i64 0, i32 2 store i32 -1, ptr %18, align 4, !tbaa !17 %19 = icmp eq ptr %0, null br i1 %19, label %93, label %20 20: ; preds = %5 %21 = call ptr @strsep(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3 %22 = icmp eq ptr %21, null br i1 %22, label %90, label %23 23: ; preds = %20 %24 = getelementptr inbounds %struct.autofs_sb_info, ptr %4, i64 0, i32 3 %25 = getelementptr inbounds %struct.autofs_sb_info, ptr %4, i64 0, i32 4 br label %26 26: ; preds = %23, %87 %27 = phi ptr [ %21, %23 ], [ %88, %87 ] %28 = load i8, ptr %27, align 1, !tbaa !18 %29 = icmp eq i8 %28, 0 br i1 %29, label %87, label %30, !llvm.loop !19 30: ; preds = %26 %31 = load i32, ptr @tokens, align 4, !tbaa !9 %32 = call i32 @match_token(ptr noundef nonnull %27, i32 noundef %31, ptr noundef nonnull %11) #3 switch i32 %32, label %93 [ i32 137, label %33 i32 128, label %38 i32 136, label %48 i32 130, label %58 i32 132, label %63 i32 133, label %68 i32 134, label %73 i32 138, label %75 i32 131, label %77 i32 129, label %79 i32 135, label %83 ] 33: ; preds = %30 %34 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %8) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %93 36: ; preds = %33 %37 = load i32, ptr %8, align 4, !tbaa !9 store i32 %37, ptr %18, align 4, !tbaa !17 br label %87 38: ; preds = %30 %39 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %93 41: ; preds = %38 %42 = call i32 (...) @current_user_ns() #3 %43 = load i32, ptr %7, align 4, !tbaa !9 %44 = call i32 @make_kuid(i32 noundef %42, i32 noundef %43) #3 %45 = call i32 @uid_valid(i32 noundef %44) #3 %46 = icmp eq i32 %45, 0 br i1 %46, label %93, label %47 47: ; preds = %41 store i32 %44, ptr %13, align 4, !tbaa !11 br label %87 48: ; preds = %30 %49 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %93 51: ; preds = %48 %52 = call i32 (...) @current_user_ns() #3 %53 = load i32, ptr %7, align 4, !tbaa !9 %54 = call i32 @make_kgid(i32 noundef %52, i32 noundef %53) #3 %55 = call i32 @gid_valid(i32 noundef %54) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %93, label %57 57: ; preds = %51 store i32 %54, ptr %1, align 4, !tbaa !13 br label %87 58: ; preds = %30 %59 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %93 61: ; preds = %58 %62 = load i32, ptr %7, align 4, !tbaa !9 store i32 %62, ptr %2, align 4, !tbaa !9 store i32 1, ptr %3, align 4, !tbaa !9 br label %87 63: ; preds = %30 %64 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %93 66: ; preds = %63 %67 = load i32, ptr %7, align 4, !tbaa !9 store i32 %67, ptr %4, align 4, !tbaa !14 br label %87 68: ; preds = %30 %69 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %93 71: ; preds = %68 %72 = load i32, ptr %7, align 4, !tbaa !9 store i32 %72, ptr %17, align 4, !tbaa !16 br label %87 73: ; preds = %30 %74 = call i32 @set_autofs_type_indirect(ptr noundef nonnull %25) #3 br label %87 75: ; preds = %30 %76 = call i32 @set_autofs_type_direct(ptr noundef nonnull %25) #3 br label %87 77: ; preds = %30 %78 = call i32 @set_autofs_type_offset(ptr noundef nonnull %25) #3 br label %87 79: ; preds = %30 %80 = load i32, ptr @AUTOFS_SBI_STRICTEXPIRE, align 4, !tbaa !9 %81 = load i32, ptr %24, align 4, !tbaa !21 %82 = or i32 %81, %80 store i32 %82, ptr %24, align 4, !tbaa !21 br label %87 83: ; preds = %30 %84 = load i32, ptr @AUTOFS_SBI_IGNORE, align 4, !tbaa !9 %85 = load i32, ptr %24, align 4, !tbaa !21 %86 = or i32 %85, %84 store i32 %86, ptr %24, align 4, !tbaa !21 br label %87 87: ; preds = %36, %47, %57, %61, %66, %71, %73, %75, %77, %79, %83, %26 %88 = call ptr @strsep(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %26 90: ; preds = %87, %20 %91 = load i32, ptr %18, align 4, !tbaa !17 %92 = lshr i32 %91, 31 br label %93 93: ; preds = %30, %68, %63, %58, %51, %48, %41, %38, %33, %5, %90 %94 = phi i32 [ %92, %90 ], [ 1, %5 ], [ 1, %33 ], [ 1, %38 ], [ 1, %41 ], [ 1, %48 ], [ 1, %51 ], [ 1, %58 ], [ 1, %63 ], [ 1, %68 ], [ 1, %30 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 ret i32 %94 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @current_uid(...) local_unnamed_addr #2 declare i32 @current_gid(...) local_unnamed_addr #2 declare ptr @strsep(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @match_token(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @match_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @make_kuid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @current_user_ns(...) local_unnamed_addr #2 declare i32 @uid_valid(i32 noundef) local_unnamed_addr #2 declare i32 @make_kgid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gid_valid(i32 noundef) local_unnamed_addr #2 declare i32 @set_autofs_type_indirect(ptr noundef) local_unnamed_addr #2 declare i32 @set_autofs_type_direct(ptr noundef) local_unnamed_addr #2 declare i32 @set_autofs_type_offset(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"int", !7, i64 0} !11 = !{!12, !10, i64 4} !12 = !{!"inode", !10, i64 0, !10, i64 4} !13 = !{!12, !10, i64 0} !14 = !{!15, !10, i64 0} !15 = !{!"autofs_sb_info", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16} !16 = !{!15, !10, i64 4} !17 = !{!15, !10, i64 8} !18 = !{!7, !7, i64 0} !19 = distinct !{!19, !20} !20 = !{!"llvm.loop.mustprogress"} !21 = !{!15, !10, i64 12}
; ModuleID = 'AnghaBench/linux/fs/autofs/extr_inode.c_parse_options.c' source_filename = "AnghaBench/linux/fs/autofs/extr_inode.c_parse_options.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @MAX_OPT_ARGS = common local_unnamed_addr global i32 0, align 4 @AUTOFS_MIN_PROTO_VERSION = common local_unnamed_addr global i32 0, align 4 @AUTOFS_MAX_PROTO_VERSION = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c",\00", align 1 @tokens = common local_unnamed_addr global i32 0, align 4 @AUTOFS_SBI_STRICTEXPIRE = common local_unnamed_addr global i32 0, align 4 @AUTOFS_SBI_IGNORE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @parse_options], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @parse_options(ptr noundef %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef writeonly %2, ptr nocapture noundef writeonly %3, ptr noundef %4) #0 { %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %6, align 8, !tbaa !6 %9 = load i32, ptr @MAX_OPT_ARGS, align 4, !tbaa !10 %10 = zext i32 %9 to i64 %11 = alloca i32, i64 %10, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3 store i32 -1, ptr %8, align 4, !tbaa !10 %12 = tail call i32 @current_uid() #3 %13 = getelementptr inbounds i8, ptr %1, i64 4 store i32 %12, ptr %13, align 4, !tbaa !12 %14 = tail call i32 @current_gid() #3 store i32 %14, ptr %1, align 4, !tbaa !14 %15 = load i32, ptr @AUTOFS_MIN_PROTO_VERSION, align 4, !tbaa !10 store i32 %15, ptr %4, align 4, !tbaa !15 %16 = load i32, ptr @AUTOFS_MAX_PROTO_VERSION, align 4, !tbaa !10 %17 = getelementptr inbounds i8, ptr %4, i64 4 store i32 %16, ptr %17, align 4, !tbaa !17 %18 = getelementptr inbounds i8, ptr %4, i64 8 store i32 -1, ptr %18, align 4, !tbaa !18 %19 = icmp eq ptr %0, null br i1 %19, label %93, label %20 20: ; preds = %5 %21 = call ptr @strsep(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3 %22 = icmp eq ptr %21, null br i1 %22, label %90, label %23 23: ; preds = %20 %24 = getelementptr inbounds i8, ptr %4, i64 12 %25 = getelementptr inbounds i8, ptr %4, i64 16 br label %26 26: ; preds = %23, %87 %27 = phi ptr [ %21, %23 ], [ %88, %87 ] %28 = load i8, ptr %27, align 1, !tbaa !19 %29 = icmp eq i8 %28, 0 br i1 %29, label %87, label %30, !llvm.loop !20 30: ; preds = %26 %31 = load i32, ptr @tokens, align 4, !tbaa !10 %32 = call i32 @match_token(ptr noundef nonnull %27, i32 noundef %31, ptr noundef nonnull %11) #3 switch i32 %32, label %93 [ i32 137, label %33 i32 128, label %38 i32 136, label %48 i32 130, label %58 i32 132, label %63 i32 133, label %68 i32 134, label %73 i32 138, label %75 i32 131, label %77 i32 129, label %79 i32 135, label %83 ] 33: ; preds = %30 %34 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %8) #3 %35 = icmp eq i32 %34, 0 br i1 %35, label %36, label %93 36: ; preds = %33 %37 = load i32, ptr %8, align 4, !tbaa !10 store i32 %37, ptr %18, align 4, !tbaa !18 br label %87 38: ; preds = %30 %39 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %40 = icmp eq i32 %39, 0 br i1 %40, label %41, label %93 41: ; preds = %38 %42 = call i32 @current_user_ns() #3 %43 = load i32, ptr %7, align 4, !tbaa !10 %44 = call i32 @make_kuid(i32 noundef %42, i32 noundef %43) #3 %45 = call i32 @uid_valid(i32 noundef %44) #3 %46 = icmp eq i32 %45, 0 br i1 %46, label %93, label %47 47: ; preds = %41 store i32 %44, ptr %13, align 4, !tbaa !12 br label %87 48: ; preds = %30 %49 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %93 51: ; preds = %48 %52 = call i32 @current_user_ns() #3 %53 = load i32, ptr %7, align 4, !tbaa !10 %54 = call i32 @make_kgid(i32 noundef %52, i32 noundef %53) #3 %55 = call i32 @gid_valid(i32 noundef %54) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %93, label %57 57: ; preds = %51 store i32 %54, ptr %1, align 4, !tbaa !14 br label %87 58: ; preds = %30 %59 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %60 = icmp eq i32 %59, 0 br i1 %60, label %61, label %93 61: ; preds = %58 %62 = load i32, ptr %7, align 4, !tbaa !10 store i32 %62, ptr %2, align 4, !tbaa !10 store i32 1, ptr %3, align 4, !tbaa !10 br label %87 63: ; preds = %30 %64 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %65 = icmp eq i32 %64, 0 br i1 %65, label %66, label %93 66: ; preds = %63 %67 = load i32, ptr %7, align 4, !tbaa !10 store i32 %67, ptr %4, align 4, !tbaa !15 br label %87 68: ; preds = %30 %69 = call i32 @match_int(ptr noundef nonnull %11, ptr noundef nonnull %7) #3 %70 = icmp eq i32 %69, 0 br i1 %70, label %71, label %93 71: ; preds = %68 %72 = load i32, ptr %7, align 4, !tbaa !10 store i32 %72, ptr %17, align 4, !tbaa !17 br label %87 73: ; preds = %30 %74 = call i32 @set_autofs_type_indirect(ptr noundef nonnull %25) #3 br label %87 75: ; preds = %30 %76 = call i32 @set_autofs_type_direct(ptr noundef nonnull %25) #3 br label %87 77: ; preds = %30 %78 = call i32 @set_autofs_type_offset(ptr noundef nonnull %25) #3 br label %87 79: ; preds = %30 %80 = load i32, ptr @AUTOFS_SBI_STRICTEXPIRE, align 4, !tbaa !10 %81 = load i32, ptr %24, align 4, !tbaa !22 %82 = or i32 %81, %80 store i32 %82, ptr %24, align 4, !tbaa !22 br label %87 83: ; preds = %30 %84 = load i32, ptr @AUTOFS_SBI_IGNORE, align 4, !tbaa !10 %85 = load i32, ptr %24, align 4, !tbaa !22 %86 = or i32 %85, %84 store i32 %86, ptr %24, align 4, !tbaa !22 br label %87 87: ; preds = %36, %47, %57, %61, %66, %71, %73, %75, %77, %79, %83, %26 %88 = call ptr @strsep(ptr noundef nonnull %6, ptr noundef nonnull @.str) #3 %89 = icmp eq ptr %88, null br i1 %89, label %90, label %26 90: ; preds = %87, %20 %91 = load i32, ptr %18, align 4, !tbaa !18 %92 = lshr i32 %91, 31 br label %93 93: ; preds = %30, %68, %63, %58, %51, %48, %41, %38, %33, %5, %90 %94 = phi i32 [ %92, %90 ], [ 1, %5 ], [ 1, %33 ], [ 1, %38 ], [ 1, %41 ], [ 1, %48 ], [ 1, %51 ], [ 1, %58 ], [ 1, %63 ], [ 1, %68 ], [ 1, %30 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3 ret i32 %94 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @current_uid(...) local_unnamed_addr #2 declare i32 @current_gid(...) local_unnamed_addr #2 declare ptr @strsep(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @match_token(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @match_int(ptr noundef, ptr noundef) local_unnamed_addr #2 declare i32 @make_kuid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @current_user_ns(...) local_unnamed_addr #2 declare i32 @uid_valid(i32 noundef) local_unnamed_addr #2 declare i32 @make_kgid(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @gid_valid(i32 noundef) local_unnamed_addr #2 declare i32 @set_autofs_type_indirect(ptr noundef) local_unnamed_addr #2 declare i32 @set_autofs_type_direct(ptr noundef) local_unnamed_addr #2 declare i32 @set_autofs_type_offset(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"int", !8, i64 0} !12 = !{!13, !11, i64 4} !13 = !{!"inode", !11, i64 0, !11, i64 4} !14 = !{!13, !11, i64 0} !15 = !{!16, !11, i64 0} !16 = !{!"autofs_sb_info", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !11, i64 16} !17 = !{!16, !11, i64 4} !18 = !{!16, !11, i64 8} !19 = !{!8, !8, i64 0} !20 = distinct !{!20, !21} !21 = !{!"llvm.loop.mustprogress"} !22 = !{!16, !11, i64 12}
linux_fs_autofs_extr_inode.c_parse_options
; ModuleID = 'AnghaBench/RetroArch/input/drivers_joypad/extr_android_joypad.c_android_joypad_destroy.c' source_filename = "AnghaBench/RetroArch/input/drivers_joypad/extr_android_joypad.c_android_joypad_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" %struct.android_app = type { ptr, ptr } @g_android = dso_local local_unnamed_addr global i64 0, align 8 @DEFAULT_MAX_PADS = dso_local local_unnamed_addr global i32 0, align 4 @MAX_AXIS = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @android_joypad_destroy], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable define internal void @android_joypad_destroy() #0 { %1 = load i64, ptr @g_android, align 8, !tbaa !5 %2 = inttoptr i64 %1 to ptr %3 = load i32, ptr @DEFAULT_MAX_PADS, align 4, !tbaa !9 %4 = icmp eq i32 %3, 0 br i1 %4, label %48, label %5 5: ; preds = %0 %6 = getelementptr inbounds %struct.android_app, ptr %2, i64 0, i32 1 %7 = load ptr, ptr %6, align 8, !tbaa !11 %8 = load i32, ptr @MAX_AXIS, align 4, !tbaa !9 %9 = icmp eq i32 %8, 0 %10 = zext i32 %8 to i64 %11 = shl nuw nsw i64 %10, 3 %12 = zext i32 %3 to i64 %13 = and i64 %12, 1 %14 = icmp eq i32 %3, 1 br i1 %14, label %38, label %15 15: ; preds = %5 %16 = and i64 %12, 4294967294 br label %17 17: ; preds = %34, %15 %18 = phi i64 [ 0, %15 ], [ %35, %34 ] %19 = phi i64 [ 0, %15 ], [ %36, %34 ] %20 = getelementptr inbounds ptr, ptr %7, i64 %18 %21 = load ptr, ptr %20, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %21, i8 0, i64 16, i1 false), !tbaa !5 br i1 %9, label %26, label %22 22: ; preds = %17 %23 = load ptr, ptr %2, align 8, !tbaa !15 %24 = getelementptr inbounds ptr, ptr %23, i64 %18 %25 = load ptr, ptr %24, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr align 8 %25, i8 0, i64 %11, i1 false), !tbaa !5 br label %26 26: ; preds = %22, %17 %27 = or disjoint i64 %18, 1 %28 = getelementptr inbounds ptr, ptr %7, i64 %27 %29 = load ptr, ptr %28, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %29, i8 0, i64 16, i1 false), !tbaa !5 br i1 %9, label %34, label %30 30: ; preds = %26 %31 = load ptr, ptr %2, align 8, !tbaa !15 %32 = getelementptr inbounds ptr, ptr %31, i64 %27 %33 = load ptr, ptr %32, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr align 8 %33, i8 0, i64 %11, i1 false), !tbaa !5 br label %34 34: ; preds = %30, %26 %35 = add nuw nsw i64 %18, 2 %36 = add i64 %19, 2 %37 = icmp eq i64 %36, %16 br i1 %37, label %38, label %17, !llvm.loop !16 38: ; preds = %34, %5 %39 = phi i64 [ 0, %5 ], [ %35, %34 ] %40 = icmp eq i64 %13, 0 br i1 %40, label %48, label %41 41: ; preds = %38 %42 = getelementptr inbounds ptr, ptr %7, i64 %39 %43 = load ptr, ptr %42, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %43, i8 0, i64 16, i1 false), !tbaa !5 br i1 %9, label %48, label %44 44: ; preds = %41 %45 = load ptr, ptr %2, align 8, !tbaa !15 %46 = getelementptr inbounds ptr, ptr %45, i64 %39 %47 = load ptr, ptr %46, align 8, !tbaa !14 tail call void @llvm.memset.p0.i64(ptr align 8 %47, i8 0, i64 %11, i1 false), !tbaa !5 br label %48 48: ; preds = %38, %44, %41, %0 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", 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 = !{!"android_app", !13, i64 0, !13, i64 8} !13 = !{!"any pointer", !7, i64 0} !14 = !{!13, !13, i64 0} !15 = !{!12, !13, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/RetroArch/input/drivers_joypad/extr_android_joypad.c_android_joypad_destroy.c' source_filename = "AnghaBench/RetroArch/input/drivers_joypad/extr_android_joypad.c_android_joypad_destroy.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @g_android = common local_unnamed_addr global i64 0, align 8 @DEFAULT_MAX_PADS = common local_unnamed_addr global i32 0, align 4 @MAX_AXIS = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @android_joypad_destroy], section "llvm.metadata" ; Function Attrs: nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) define internal void @android_joypad_destroy() #0 { %1 = load i64, ptr @g_android, align 8, !tbaa !6 %2 = inttoptr i64 %1 to ptr %3 = load i32, ptr @DEFAULT_MAX_PADS, align 4, !tbaa !10 %4 = icmp eq i32 %3, 0 br i1 %4, label %24, label %5 5: ; preds = %0 %6 = getelementptr inbounds i8, ptr %2, i64 8 %7 = load ptr, ptr %6, align 8, !tbaa !12 %8 = load i32, ptr @MAX_AXIS, align 4, !tbaa !10 %9 = icmp eq i32 %8, 0 %10 = zext i32 %8 to i64 %11 = shl nuw nsw i64 %10, 3 %12 = zext i32 %3 to i64 br label %13 13: ; preds = %5, %21 %14 = phi i64 [ 0, %5 ], [ %22, %21 ] %15 = getelementptr inbounds ptr, ptr %7, i64 %14 %16 = load ptr, ptr %15, align 8, !tbaa !15 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %16, i8 0, i64 16, i1 false), !tbaa !6 br i1 %9, label %21, label %17 17: ; preds = %13 %18 = load ptr, ptr %2, align 8, !tbaa !16 %19 = getelementptr inbounds ptr, ptr %18, i64 %14 %20 = load ptr, ptr %19, align 8, !tbaa !15 tail call void @llvm.memset.p0.i64(ptr align 8 %20, i8 0, i64 %11, i1 false), !tbaa !6 br label %21 21: ; preds = %17, %13 %22 = add nuw nsw i64 %14, 1 %23 = icmp eq i64 %22, %12 br i1 %23, label %24, label %13, !llvm.loop !17 24: ; preds = %21, %0 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 attributes #0 = { nofree norecurse nosync nounwind ssp memory(readwrite, inaccessiblemem: none) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"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 = !{!"android_app", !14, i64 0, !14, i64 8} !14 = !{!"any pointer", !8, i64 0} !15 = !{!14, !14, i64 0} !16 = !{!13, !14, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"}
RetroArch_input_drivers_joypad_extr_android_joypad.c_android_joypad_destroy
; ModuleID = 'AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_release_confighook.c' source_filename = "AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_release_confighook.c" target datalayout = "e-m:e-p270:32:32-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.xenbusb_softc = type { i64, i32, i32, i32 } @.str = private unnamed_addr constant [31 x i8] c"Connecting device count error\0A\00", align 1 @XBS_ATTACH_CH_ACTIVE = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @xenbusb_release_confighook], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @xenbusb_release_confighook(ptr noundef %0) #0 { %2 = getelementptr inbounds %struct.xenbusb_softc, ptr %0, i64 0, i32 2 %3 = tail call i32 @mtx_lock(ptr noundef nonnull %2) #2 %4 = load i64, ptr %0, align 8, !tbaa !5 %5 = icmp sgt i64 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @KASSERT(i32 noundef %6, ptr noundef nonnull @.str) #2 %8 = load i64, ptr %0, align 8, !tbaa !5 %9 = add nsw i64 %8, -1 store i64 %9, ptr %0, align 8, !tbaa !5 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %1 %12 = getelementptr inbounds %struct.xenbusb_softc, ptr %0, i64 0, i32 1 %13 = load i32, ptr %12, align 8, !tbaa !11 %14 = load i32, ptr @XBS_ATTACH_CH_ACTIVE, align 4, !tbaa !12 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %11 %18 = xor i32 %14, -1 %19 = and i32 %13, %18 store i32 %19, ptr %12, align 8, !tbaa !11 %20 = tail call i32 @mtx_unlock(ptr noundef nonnull %2) #2 %21 = getelementptr inbounds %struct.xenbusb_softc, ptr %0, i64 0, i32 3 %22 = tail call i32 @config_intrhook_disestablish(ptr noundef nonnull %21) #2 br label %25 23: ; preds = %11, %1 %24 = tail call i32 @mtx_unlock(ptr noundef nonnull %2) #2 br label %25 25: ; preds = %23, %17 ret void } declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @config_intrhook_disestablish(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 = !{!"xenbusb_softc", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16} !7 = !{!"long", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"int", !8, i64 0} !11 = !{!6, !10, i64 8} !12 = !{!10, !10, i64 0}
; ModuleID = 'AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_release_confighook.c' source_filename = "AnghaBench/freebsd/sys/xen/xenbus/extr_xenbusb.c_xenbusb_release_confighook.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 [31 x i8] c"Connecting device count error\0A\00", align 1 @XBS_ATTACH_CH_ACTIVE = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @xenbusb_release_confighook], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @xenbusb_release_confighook(ptr noundef %0) #0 { %2 = getelementptr inbounds i8, ptr %0, i64 12 %3 = tail call i32 @mtx_lock(ptr noundef nonnull %2) #2 %4 = load i64, ptr %0, align 8, !tbaa !6 %5 = icmp sgt i64 %4, 0 %6 = zext i1 %5 to i32 %7 = tail call i32 @KASSERT(i32 noundef %6, ptr noundef nonnull @.str) #2 %8 = load i64, ptr %0, align 8, !tbaa !6 %9 = add nsw i64 %8, -1 store i64 %9, ptr %0, align 8, !tbaa !6 %10 = icmp eq i64 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %1 %12 = getelementptr inbounds i8, ptr %0, i64 8 %13 = load i32, ptr %12, align 8, !tbaa !12 %14 = load i32, ptr @XBS_ATTACH_CH_ACTIVE, align 4, !tbaa !13 %15 = and i32 %14, %13 %16 = icmp eq i32 %15, 0 br i1 %16, label %23, label %17 17: ; preds = %11 %18 = xor i32 %14, -1 %19 = and i32 %13, %18 store i32 %19, ptr %12, align 8, !tbaa !12 %20 = tail call i32 @mtx_unlock(ptr noundef nonnull %2) #2 %21 = getelementptr inbounds i8, ptr %0, i64 16 %22 = tail call i32 @config_intrhook_disestablish(ptr noundef nonnull %21) #2 br label %25 23: ; preds = %11, %1 %24 = tail call i32 @mtx_unlock(ptr noundef nonnull %2) #2 br label %25 25: ; preds = %23, %17 ret void } declare i32 @mtx_lock(ptr noundef) local_unnamed_addr #1 declare i32 @KASSERT(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @mtx_unlock(ptr noundef) local_unnamed_addr #1 declare i32 @config_intrhook_disestablish(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 = !{!"xenbusb_softc", !8, i64 0, !11, i64 8, !11, i64 12, !11, i64 16} !8 = !{!"long", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"int", !9, i64 0} !12 = !{!7, !11, i64 8} !13 = !{!11, !11, i64 0}
freebsd_sys_xen_xenbus_extr_xenbusb.c_xenbusb_release_confighook
; ModuleID = 'AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_loadjitmodule.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_loadjitmodule.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @.str = private unnamed_addr constant [8 x i8] c"require\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"jit.\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"module \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"start\00", align 1 @progname = dso_local local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [54 x i8] c"unknown luaJIT command or jit.* modules not installed\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @loadjitmodule], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @loadjitmodule(ptr noundef %0) #0 { %2 = tail call i32 @lua_getglobal(ptr noundef %0, ptr noundef nonnull @.str) #2 %3 = tail call i32 @lua_pushliteral(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %4 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -3) #2 %5 = tail call i32 @lua_concat(ptr noundef %0, i32 noundef 2) #2 %6 = tail call i64 @lua_pcall(ptr noundef %0, i32 noundef 1, i32 noundef 1, i32 noundef 0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %16, label %8 8: ; preds = %1 %9 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %8 %12 = tail call i32 @strncmp(ptr noundef nonnull %9, ptr noundef nonnull @.str.2, i32 noundef 7) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %20, label %14 14: ; preds = %8, %11 %15 = tail call i32 @report(ptr noundef %0, i32 noundef 1) #2 br label %25 16: ; preds = %1 %17 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef -1, ptr noundef nonnull @.str.3) #2 %18 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %11, %16 %21 = load i32, ptr @progname, align 4, !tbaa !5 %22 = tail call i32 @l_message(i32 noundef %21, ptr noundef nonnull @.str.4) #2 br label %25 23: ; preds = %16 %24 = tail call i32 @lua_remove(ptr noundef %0, i32 noundef -2) #2 br label %25 25: ; preds = %14, %23, %20 %26 = phi i32 [ 1, %20 ], [ 0, %23 ], [ %15, %14 ] ret i32 %26 } declare i32 @lua_getglobal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushliteral(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_concat(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @lua_isnil(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l_message(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_remove(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/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_loadjitmodule.c' source_filename = "AnghaBench/xLua/build/luajit-2.1.0b2/src/extr_luajit.c_loadjitmodule.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @.str = private unnamed_addr constant [8 x i8] c"require\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"jit.\00", align 1 @.str.2 = private unnamed_addr constant [8 x i8] c"module \00", align 1 @.str.3 = private unnamed_addr constant [6 x i8] c"start\00", align 1 @progname = common local_unnamed_addr global i32 0, align 4 @.str.4 = private unnamed_addr constant [54 x i8] c"unknown luaJIT command or jit.* modules not installed\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @loadjitmodule], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @loadjitmodule(ptr noundef %0) #0 { %2 = tail call i32 @lua_getglobal(ptr noundef %0, ptr noundef nonnull @.str) #2 %3 = tail call i32 @lua_pushliteral(ptr noundef %0, ptr noundef nonnull @.str.1) #2 %4 = tail call i32 @lua_pushvalue(ptr noundef %0, i32 noundef -3) #2 %5 = tail call i32 @lua_concat(ptr noundef %0, i32 noundef 2) #2 %6 = tail call i64 @lua_pcall(ptr noundef %0, i32 noundef 1, i32 noundef 1, i32 noundef 0) #2 %7 = icmp eq i64 %6, 0 br i1 %7, label %16, label %8 8: ; preds = %1 %9 = tail call ptr @lua_tostring(ptr noundef %0, i32 noundef -1) #2 %10 = icmp eq ptr %9, null br i1 %10, label %14, label %11 11: ; preds = %8 %12 = tail call i32 @strncmp(ptr noundef nonnull %9, ptr noundef nonnull @.str.2, i32 noundef 7) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %20, label %14 14: ; preds = %8, %11 %15 = tail call i32 @report(ptr noundef %0, i32 noundef 1) #2 br label %25 16: ; preds = %1 %17 = tail call i32 @lua_getfield(ptr noundef %0, i32 noundef -1, ptr noundef nonnull @.str.3) #2 %18 = tail call i64 @lua_isnil(ptr noundef %0, i32 noundef -1) #2 %19 = icmp eq i64 %18, 0 br i1 %19, label %23, label %20 20: ; preds = %11, %16 %21 = load i32, ptr @progname, align 4, !tbaa !6 %22 = tail call i32 @l_message(i32 noundef %21, ptr noundef nonnull @.str.4) #2 br label %25 23: ; preds = %16 %24 = tail call i32 @lua_remove(ptr noundef %0, i32 noundef -2) #2 br label %25 25: ; preds = %14, %23, %20 %26 = phi i32 [ 1, %20 ], [ 0, %23 ], [ %15, %14 ] ret i32 %26 } declare i32 @lua_getglobal(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushliteral(ptr noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_pushvalue(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_concat(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i64 @lua_pcall(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare ptr @lua_tostring(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @report(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @lua_getfield(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 declare i64 @lua_isnil(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @l_message(i32 noundef, ptr noundef) local_unnamed_addr #1 declare i32 @lua_remove(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"}
xLua_build_luajit-2.1.0b2_src_extr_luajit.c_loadjitmodule
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_syncmap.c_igt_syncmap_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_syncmap.c_igt_syncmap_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @igt_syncmap_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @igt_syncmap_init(ptr nocapture readnone %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr inttoptr (i64 -1 to ptr), ptr %2, align 8, !tbaa !5 %3 = call i32 @i915_syncmap_init(ptr noundef nonnull %2) #3 %4 = call i32 @check_syncmap_free(ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 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 declare i32 @i915_syncmap_init(ptr noundef) local_unnamed_addr #2 declare i32 @check_syncmap_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_syncmap.c_igt_syncmap_init.c' source_filename = "AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_i915_syncmap.c_igt_syncmap_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @igt_syncmap_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @igt_syncmap_init(ptr nocapture readnone %0) #0 { %2 = alloca ptr, align 8 call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #3 store ptr inttoptr (i64 -1 to ptr), ptr %2, align 8, !tbaa !6 %3 = call i32 @i915_syncmap_init(ptr noundef nonnull %2) #3 %4 = call i32 @check_syncmap_free(ptr noundef nonnull %2) #3 call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #3 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 declare i32 @i915_syncmap_init(ptr noundef) local_unnamed_addr #2 declare i32 @check_syncmap_free(ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
linux_drivers_gpu_drm_i915_selftests_extr_i915_syncmap.c_igt_syncmap_init
; ModuleID = 'AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_init.c' source_filename = "AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_init.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @llvm.compiler.used = appending global [1 x ptr] [ptr @ale_init], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @ale_init(ptr noundef %0) #0 { %2 = tail call i32 @ALE_LOCK(ptr noundef %0) #2 %3 = tail call i32 @ale_init_locked(ptr noundef %0) #2 %4 = tail call i32 @ALE_UNLOCK(ptr noundef %0) #2 ret void } declare i32 @ALE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ale_init_locked(ptr noundef) local_unnamed_addr #1 declare i32 @ALE_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"}
; ModuleID = 'AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_init.c' source_filename = "AnghaBench/freebsd/sys/dev/ale/extr_if_ale.c_ale_init.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @llvm.used = appending global [1 x ptr] [ptr @ale_init], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @ale_init(ptr noundef %0) #0 { %2 = tail call i32 @ALE_LOCK(ptr noundef %0) #2 %3 = tail call i32 @ale_init_locked(ptr noundef %0) #2 %4 = tail call i32 @ALE_UNLOCK(ptr noundef %0) #2 ret void } declare i32 @ALE_LOCK(ptr noundef) local_unnamed_addr #1 declare i32 @ale_init_locked(ptr noundef) local_unnamed_addr #1 declare i32 @ALE_UNLOCK(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"}
freebsd_sys_dev_ale_extr_if_ale.c_ale_init
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_ShowTimerList.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_ShowTimerList.c" target datalayout = "e-m:e-p270:32:32-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 @ShowTimerList], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal noundef i32 @ShowTimerList(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = tail call i32 @timer_Show(i32 noundef 0, i32 noundef %2) #2 ret i32 0 } declare i32 @timer_Show(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 = !{!"cmdargs", !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_ShowTimerList.c' source_filename = "AnghaBench/freebsd/usr.sbin/ppp/extr_command.c_ShowTimerList.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 @ShowTimerList], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal noundef i32 @ShowTimerList(ptr nocapture noundef readonly %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = tail call i32 @timer_Show(i32 noundef 0, i32 noundef %2) #2 ret i32 0 } declare i32 @timer_Show(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 = !{!"cmdargs", !8, i64 0} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"}
freebsd_usr.sbin_ppp_extr_command.c_ShowTimerList
; ModuleID = 'AnghaBench/radare2/libr/debug/p/native/extr_w32.c_w32_reg_write.c' source_filename = "AnghaBench/radare2/libr/debug/p/native/extr_w32.c_w32_reg_write.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.TYPE_8__ = type { i32 } %struct.TYPE_7__ = type { i32, i32 } @CONTEXT_ALL = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @w32_reg_write], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @w32_reg_write(ptr nocapture noundef readonly %0, i32 %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.TYPE_8__, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %6 = getelementptr inbounds %struct.TYPE_7__, ptr %0, i64 0, i32 1 %7 = load i32, ptr %6, align 4, !tbaa !5 %8 = load i32, ptr %0, align 4, !tbaa !10 %9 = tail call i32 @w32_open_thread(i32 noundef %7, i32 noundef %8) #4 %10 = load i32, ptr @CONTEXT_ALL, align 4, !tbaa !11 store i32 %10, ptr %5, align 16, !tbaa !12 %11 = call i32 @GetThreadContext(i32 noundef %9, ptr noundef nonnull %5) #4 %12 = call i32 @llvm.umin.i32(i32 %3, i32 4) %13 = call i32 @memcpy(ptr noundef nonnull %5, ptr noundef %2, i32 noundef %12) #4 %14 = call i64 @SetThreadContext(i32 noundef %9, ptr noundef nonnull %5) #4 %15 = icmp ne i64 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @CloseHandle(i32 noundef %9) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @w32_open_thread(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetThreadContext(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @SetThreadContext(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CloseHandle(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, i32) #3 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 4} !6 = !{!"TYPE_7__", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!6, !7, i64 0} !11 = !{!7, !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_8__", !7, i64 0}
; ModuleID = 'AnghaBench/radare2/libr/debug/p/native/extr_w32.c_w32_reg_write.c' source_filename = "AnghaBench/radare2/libr/debug/p/native/extr_w32.c_w32_reg_write.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_8__ = type { i32 } @CONTEXT_ALL = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @w32_reg_write], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal range(i32 0, 2) i32 @w32_reg_write(ptr nocapture noundef readonly %0, i32 %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca %struct.TYPE_8__, align 16 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4 %6 = getelementptr inbounds i8, ptr %0, i64 4 %7 = load i32, ptr %6, align 4, !tbaa !6 %8 = load i32, ptr %0, align 4, !tbaa !11 %9 = tail call i32 @w32_open_thread(i32 noundef %7, i32 noundef %8) #4 %10 = load i32, ptr @CONTEXT_ALL, align 4, !tbaa !12 store i32 %10, ptr %5, align 16, !tbaa !13 %11 = call i32 @GetThreadContext(i32 noundef %9, ptr noundef nonnull %5) #4 %12 = call i32 @llvm.umin.i32(i32 %3, i32 4) %13 = call i32 @memcpy(ptr noundef nonnull %5, ptr noundef %2, i32 noundef %12) #4 %14 = call i64 @SetThreadContext(i32 noundef %9, ptr noundef nonnull %5) #4 %15 = icmp ne i64 %14, 0 %16 = zext i1 %15 to i32 %17 = call i32 @CloseHandle(i32 noundef %9) #4 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4 ret i32 %16 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @w32_open_thread(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @GetThreadContext(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2 declare i64 @SetThreadContext(i32 noundef, ptr noundef) local_unnamed_addr #2 declare i32 @CloseHandle(i32 noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 ; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none) declare i32 @llvm.umin.i32(i32, i32) #3 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) } attributes #4 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 4} !7 = !{!"TYPE_7__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!7, !8, i64 0} !12 = !{!8, !8, i64 0} !13 = !{!14, !8, i64 0} !14 = !{!"TYPE_8__", !8, i64 0}
radare2_libr_debug_p_native_extr_w32.c_w32_reg_write
; ModuleID = 'AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_start.c' source_filename = "AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_start.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_17__ = type { i32 (...)* } %struct.TYPE_12__ = type { i64 } %struct.TYPE_15__ = type { i32, i32, double, double, i32, i32, i64, i64, i64, i64, i32, %struct.TYPE_16__* } %struct.TYPE_16__ = type { i32, %struct.TYPE_14__ } %struct.TYPE_14__ = type { i32 (i32)*, i32 (i32, i32, i32)*, %struct.TYPE_13__, i32 (i32, i8*)* } %struct.TYPE_13__ = type { i32 (i32)* } @INT_MAX = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [72 x i8] c"'init' must be called before 'start. See documentation in env_c_api.h'\0A\00", align 1 @re = dso_local local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 8 @clc = dso_local local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 8 @CA_ACTIVE = dso_local local_unnamed_addr global i64 0, align 8 @EAGAIN = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32 (i8*, i32, i32)* @dmlab_start to i8*)], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @dmlab_start(i8* noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 0 %5 = add nsw i32 %2, 1 %6 = load i32, i32* @INT_MAX, align 4 %7 = add nsw i32 %5, %6 %8 = select i1 %4, i32 %7, i32 %2 %9 = bitcast i8* %0 to %struct.TYPE_15__* %10 = getelementptr inbounds i8, i8* %0, i64 72 %11 = bitcast i8* %10 to %struct.TYPE_16__** %12 = load %struct.TYPE_16__*, %struct.TYPE_16__** %11, align 8, !tbaa !5 %13 = getelementptr inbounds i8, i8* %0, i64 64 %14 = bitcast i8* %13 to i32* %15 = load i32, i32* %14, align 8, !tbaa !13 %16 = icmp eq i32 %15, 0 br i1 %16, label %17, label %23 17: ; preds = %3 %18 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 1, i32 3 %19 = load i32 (i32, i8*)*, i32 (i32, i8*)** %18, align 8, !tbaa !14 %20 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 0 %21 = load i32, i32* %20, align 8, !tbaa !18 %22 = tail call i32 %19(i32 noundef %21, i8* noundef getelementptr inbounds ([72 x i8], [72 x i8]* @.str, i64 0, i64 0)) #3 br label %105 23: ; preds = %3 %24 = bitcast i8* %0 to i32* store i32 0, i32* %24, align 8, !tbaa !19 %25 = getelementptr inbounds i8, i8* %0, i64 56 %26 = bitcast i8* %25 to i64* %27 = load i64, i64* %26, align 8, !tbaa !20 %28 = icmp eq i64 %27, 0 br i1 %28, label %45, label %29 29: ; preds = %23 %30 = load i32 (...)*, i32 (...)** getelementptr inbounds (%struct.TYPE_17__, %struct.TYPE_17__* @re, i64 0, i32 0), align 8, !tbaa !21 %31 = tail call i32 (...) %30() #3 %32 = tail call i32 @connecting(%struct.TYPE_15__* noundef nonnull %9) #3 %33 = icmp eq i32 %32, 0 br i1 %33, label %34, label %105 34: ; preds = %29 %35 = getelementptr inbounds i8, i8* %0, i64 4 %36 = bitcast i8* %35 to i32* %37 = load i32, i32* %36, align 4, !tbaa !23 %38 = icmp eq i32 %37, 0 br i1 %38, label %39, label %105 39: ; preds = %34 %40 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 1, i32 0 %41 = load i32 (i32)*, i32 (i32)** %40, align 8, !tbaa !24 %42 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 0 %43 = load i32, i32* %42, align 8, !tbaa !18 %44 = tail call i32 %41(i32 noundef %43) #3 store i32 1, i32* %36, align 4, !tbaa !23 br label %105 45: ; preds = %23 %46 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 1, i32 2, i32 0 %47 = load i32 (i32)*, i32 (i32)** %46, align 8, !tbaa !25 %48 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 0 %49 = load i32, i32* %48, align 8, !tbaa !18 %50 = tail call i32 %47(i32 noundef %49) #3 %51 = getelementptr inbounds i8, i8* %0, i64 48 %52 = bitcast i8* %51 to i64* store i64 0, i64* %52, align 8, !tbaa !26 %53 = getelementptr inbounds i8, i8* %0, i64 8 %54 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 1, i32 1 call void @llvm.memset.p0i8.i64(i8* noundef nonnull align 8 dereferenceable(16) %53, i8 0, i64 16, i1 false) %55 = load i32 (i32, i32, i32)*, i32 (i32, i32, i32)** %54, align 8, !tbaa !27 %56 = load i32, i32* %48, align 8, !tbaa !18 %57 = tail call i32 %55(i32 noundef %56, i32 noundef %1, i32 noundef %8) #3 %58 = icmp eq i32 %57, 0 br i1 %58, label %59, label %105 59: ; preds = %45 %60 = getelementptr inbounds i8, i8* %0, i64 24 %61 = bitcast i8* %60 to i32* %62 = load i32, i32* %61, align 8, !tbaa !28 %63 = icmp eq i32 %62, 0 br i1 %63, label %64, label %68 64: ; preds = %59 %65 = tail call i32 @first_start(%struct.TYPE_15__* noundef nonnull %9) #3 %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %105 67: ; preds = %64 store i32 1, i32* %61, align 8, !tbaa !28 br label %68 68: ; preds = %67, %59 %69 = load i32 (...)*, i32 (...)** getelementptr inbounds (%struct.TYPE_17__, %struct.TYPE_17__* @re, i64 0, i32 0), align 8, !tbaa !21 %70 = tail call i32 (...) %69() #3 %71 = getelementptr inbounds i8, i8* %0, i64 32 %72 = bitcast i8* %71 to i64* %73 = load i64, i64* %72, align 8, !tbaa !29 %74 = icmp eq i64 %73, 0 br i1 %74, label %77, label %75 75: ; preds = %68 %76 = tail call i32 @connect_client(%struct.TYPE_15__* noundef nonnull %9) #3 br label %94 77: ; preds = %68 %78 = getelementptr inbounds i8, i8* %0, i64 40 %79 = bitcast i8* %78 to i64* %80 = load i64, i64* %79, align 8, !tbaa !30 %81 = icmp eq i64 %80, 0 br i1 %81, label %85, label %82 82: ; preds = %77 %83 = tail call i32 @start_server(%struct.TYPE_15__* noundef nonnull %9) #3 %84 = icmp eq i32 %83, 0 br i1 %84, label %105, label %94 85: ; preds = %77 %86 = tail call i32 @load_map(%struct.TYPE_15__* noundef nonnull %9) #3 %87 = icmp eq i32 %86, 0 br i1 %87, label %105, label %88 88: ; preds = %85 %89 = getelementptr inbounds %struct.TYPE_16__, %struct.TYPE_16__* %12, i64 0, i32 1, i32 0 %90 = load i32 (i32)*, i32 (i32)** %89, align 8, !tbaa !24 %91 = load i32, i32* %48, align 8, !tbaa !18 %92 = tail call i32 %90(i32 noundef %91) #3 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %105 94: ; preds = %82, %88, %75 %95 = getelementptr inbounds i8, i8* %0, i64 28 %96 = bitcast i8* %95 to i32* store i32 0, i32* %96, align 4, !tbaa !31 %97 = load i64, i64* %72, align 8, !tbaa !29 %98 = icmp eq i64 %97, 0 br i1 %98, label %105, label %99 99: ; preds = %94 %100 = load i64, i64* getelementptr inbounds (%struct.TYPE_12__, %struct.TYPE_12__* @clc, i64 0, i32 0), align 8, !tbaa !32 %101 = load i64, i64* @CA_ACTIVE, align 8, !tbaa !34 %102 = icmp slt i64 %100, %101 %103 = load i32, i32* @EAGAIN, align 4 %104 = select i1 %102, i32 %103, i32 0 br label %105 105: ; preds = %99, %45, %82, %85, %88, %94, %64, %29, %34, %39, %17 %106 = phi i32 [ 1, %17 ], [ 0, %34 ], [ %44, %39 ], [ %32, %29 ], [ %104, %99 ], [ %57, %45 ], [ 1, %82 ], [ 1, %85 ], [ 1, %88 ], [ 0, %94 ], [ %65, %64 ] ret i32 %106 } declare i32 @connecting(%struct.TYPE_15__* noundef) local_unnamed_addr #1 declare i32 @first_start(%struct.TYPE_15__* noundef) local_unnamed_addr #1 declare i32 @connect_client(%struct.TYPE_15__* noundef) local_unnamed_addr #1 declare i32 @start_server(%struct.TYPE_15__* noundef) local_unnamed_addr #1 declare i32 @load_map(%struct.TYPE_15__* noundef) local_unnamed_addr #1 ; Function Attrs: argmemonly nofree nounwind willreturn writeonly declare void @llvm.memset.p0i8.i64(i8* nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind uwtable "frame-pointer"="none" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="none" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { argmemonly nofree nounwind willreturn writeonly } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 7, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{!"Ubuntu clang version 14.0.0-1ubuntu1.1"} !5 = !{!6, !12, i64 72} !6 = !{!"TYPE_15__", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 28, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !7, i64 64, !12, i64 72} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"double", !8, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!"any pointer", !8, i64 0} !13 = !{!6, !7, i64 64} !14 = !{!15, !12, i64 32} !15 = !{!"TYPE_16__", !7, i64 0, !16, i64 8} !16 = !{!"TYPE_14__", !12, i64 0, !12, i64 8, !17, i64 16, !12, i64 24} !17 = !{!"TYPE_13__", !12, i64 0} !18 = !{!15, !7, i64 0} !19 = !{!6, !7, i64 0} !20 = !{!6, !11, i64 56} !21 = !{!22, !12, i64 0} !22 = !{!"TYPE_17__", !12, i64 0} !23 = !{!6, !7, i64 4} !24 = !{!15, !12, i64 8} !25 = !{!15, !12, i64 24} !26 = !{!6, !11, i64 48} !27 = !{!15, !12, i64 16} !28 = !{!6, !7, i64 24} !29 = !{!6, !11, i64 32} !30 = !{!6, !11, i64 40} !31 = !{!6, !7, i64 28} !32 = !{!33, !11, i64 0} !33 = !{!"TYPE_12__", !11, i64 0} !34 = !{!11, !11, i64 0}
; ModuleID = 'AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_start.c' source_filename = "AnghaBench/lab/engine/code/deepmind/extr_dmlab_connect.c_dmlab_start.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_17__ = type { ptr } %struct.TYPE_12__ = type { i64 } @INT_MAX = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [72 x i8] c"'init' must be called before 'start. See documentation in env_c_api.h'\0A\00", align 1 @re = common local_unnamed_addr global %struct.TYPE_17__ zeroinitializer, align 8 @clc = common local_unnamed_addr global %struct.TYPE_12__ zeroinitializer, align 8 @CA_ACTIVE = common local_unnamed_addr global i64 0, align 8 @EAGAIN = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @dmlab_start], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @dmlab_start(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = icmp slt i32 %2, 0 %5 = add nsw i32 %2, 1 %6 = load i32, ptr @INT_MAX, align 4 %7 = add nsw i32 %5, %6 %8 = select i1 %4, i32 %7, i32 %2 %9 = getelementptr inbounds i8, ptr %0, i64 72 %10 = load ptr, ptr %9, align 8, !tbaa !6 %11 = getelementptr inbounds i8, ptr %0, i64 64 %12 = load i32, ptr %11, align 8, !tbaa !14 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %19 14: ; preds = %3 %15 = getelementptr inbounds i8, ptr %10, i64 32 %16 = load ptr, ptr %15, align 8, !tbaa !15 %17 = load i32, ptr %10, align 8, !tbaa !19 %18 = tail call i32 %16(i32 noundef %17, ptr noundef nonnull @.str) #3 br label %91 19: ; preds = %3 store i32 0, ptr %0, align 8, !tbaa !20 %20 = getelementptr inbounds i8, ptr %0, i64 56 %21 = load i64, ptr %20, align 8, !tbaa !21 %22 = icmp eq i64 %21, 0 br i1 %22, label %37, label %23 23: ; preds = %19 %24 = load ptr, ptr @re, align 8, !tbaa !22 %25 = tail call i32 %24() #3 %26 = tail call i32 @connecting(ptr noundef nonnull %0) #3 %27 = icmp eq i32 %26, 0 br i1 %27, label %28, label %91 28: ; preds = %23 %29 = getelementptr inbounds i8, ptr %0, i64 4 %30 = load i32, ptr %29, align 4, !tbaa !24 %31 = icmp eq i32 %30, 0 br i1 %31, label %32, label %91 32: ; preds = %28 %33 = getelementptr inbounds i8, ptr %10, i64 8 %34 = load ptr, ptr %33, align 8, !tbaa !25 %35 = load i32, ptr %10, align 8, !tbaa !19 %36 = tail call i32 %34(i32 noundef %35) #3 store i32 1, ptr %29, align 4, !tbaa !24 br label %91 37: ; preds = %19 %38 = getelementptr inbounds i8, ptr %10, i64 8 %39 = getelementptr inbounds i8, ptr %10, i64 24 %40 = load ptr, ptr %39, align 8, !tbaa !26 %41 = load i32, ptr %10, align 8, !tbaa !19 %42 = tail call i32 %40(i32 noundef %41) #3 %43 = getelementptr inbounds i8, ptr %0, i64 48 store i64 0, ptr %43, align 8, !tbaa !27 %44 = getelementptr inbounds i8, ptr %0, i64 8 %45 = getelementptr inbounds i8, ptr %10, i64 16 tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %44, i8 0, i64 16, i1 false) %46 = load ptr, ptr %45, align 8, !tbaa !28 %47 = load i32, ptr %10, align 8, !tbaa !19 %48 = tail call i32 %46(i32 noundef %47, i32 noundef %1, i32 noundef %8) #3 %49 = icmp eq i32 %48, 0 br i1 %49, label %50, label %91 50: ; preds = %37 %51 = getelementptr inbounds i8, ptr %0, i64 24 %52 = load i32, ptr %51, align 8, !tbaa !29 %53 = icmp eq i32 %52, 0 br i1 %53, label %54, label %58 54: ; preds = %50 %55 = tail call i32 @first_start(ptr noundef nonnull %0) #3 %56 = icmp eq i32 %55, 0 br i1 %56, label %57, label %91 57: ; preds = %54 store i32 1, ptr %51, align 8, !tbaa !29 br label %58 58: ; preds = %57, %50 %59 = load ptr, ptr @re, align 8, !tbaa !22 %60 = tail call i32 %59() #3 %61 = getelementptr inbounds i8, ptr %0, i64 32 %62 = load i64, ptr %61, align 8, !tbaa !30 %63 = icmp eq i64 %62, 0 br i1 %63, label %66, label %64 64: ; preds = %58 %65 = tail call i32 @connect_client(ptr noundef nonnull %0) #3 br label %81 66: ; preds = %58 %67 = getelementptr inbounds i8, ptr %0, i64 40 %68 = load i64, ptr %67, align 8, !tbaa !31 %69 = icmp eq i64 %68, 0 br i1 %69, label %73, label %70 70: ; preds = %66 %71 = tail call i32 @start_server(ptr noundef nonnull %0) #3 %72 = icmp eq i32 %71, 0 br i1 %72, label %91, label %81 73: ; preds = %66 %74 = tail call i32 @load_map(ptr noundef nonnull %0) #3 %75 = icmp eq i32 %74, 0 br i1 %75, label %91, label %76 76: ; preds = %73 %77 = load ptr, ptr %38, align 8, !tbaa !25 %78 = load i32, ptr %10, align 8, !tbaa !19 %79 = tail call i32 %77(i32 noundef %78) #3 %80 = icmp eq i32 %79, 0 br i1 %80, label %81, label %91 81: ; preds = %70, %76, %64 %82 = getelementptr inbounds i8, ptr %0, i64 28 store i32 0, ptr %82, align 4, !tbaa !32 %83 = load i64, ptr %61, align 8, !tbaa !30 %84 = icmp eq i64 %83, 0 br i1 %84, label %91, label %85 85: ; preds = %81 %86 = load i64, ptr @clc, align 8, !tbaa !33 %87 = load i64, ptr @CA_ACTIVE, align 8, !tbaa !35 %88 = icmp slt i64 %86, %87 %89 = load i32, ptr @EAGAIN, align 4 %90 = select i1 %88, i32 %89, i32 0 br label %91 91: ; preds = %85, %37, %70, %73, %76, %81, %54, %23, %28, %32, %14 %92 = phi i32 [ 1, %14 ], [ 0, %28 ], [ %36, %32 ], [ %26, %23 ], [ %90, %85 ], [ %48, %37 ], [ 1, %70 ], [ 1, %73 ], [ 1, %76 ], [ 0, %81 ], [ %55, %54 ] ret i32 %92 } declare i32 @connecting(ptr noundef) local_unnamed_addr #1 declare i32 @first_start(ptr noundef) local_unnamed_addr #1 declare i32 @connect_client(ptr noundef) local_unnamed_addr #1 declare i32 @start_server(ptr noundef) local_unnamed_addr #1 declare i32 @load_map(ptr noundef) local_unnamed_addr #1 ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !13, i64 72} !7 = !{!"TYPE_15__", !8, i64 0, !8, i64 4, !11, i64 8, !11, i64 16, !8, i64 24, !8, i64 28, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !8, i64 64, !13, i64 72} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"double", !9, i64 0} !12 = !{!"long", !9, i64 0} !13 = !{!"any pointer", !9, i64 0} !14 = !{!7, !8, i64 64} !15 = !{!16, !13, i64 32} !16 = !{!"TYPE_16__", !8, i64 0, !17, i64 8} !17 = !{!"TYPE_14__", !13, i64 0, !13, i64 8, !18, i64 16, !13, i64 24} !18 = !{!"TYPE_13__", !13, i64 0} !19 = !{!16, !8, i64 0} !20 = !{!7, !8, i64 0} !21 = !{!7, !12, i64 56} !22 = !{!23, !13, i64 0} !23 = !{!"TYPE_17__", !13, i64 0} !24 = !{!7, !8, i64 4} !25 = !{!16, !13, i64 8} !26 = !{!16, !13, i64 24} !27 = !{!7, !12, i64 48} !28 = !{!16, !13, i64 16} !29 = !{!7, !8, i64 24} !30 = !{!7, !12, i64 32} !31 = !{!7, !12, i64 40} !32 = !{!7, !8, i64 28} !33 = !{!34, !12, i64 0} !34 = !{!"TYPE_12__", !12, i64 0} !35 = !{!12, !12, i64 0}
lab_engine_code_deepmind_extr_dmlab_connect.c_dmlab_start
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_ibreakenable_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_ibreakenable_Slot_inst_encode.c" target datalayout = "e-m:e-p270:32:32-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 @Opcode_rsr_ibreakenable_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable define internal void @Opcode_rsr_ibreakenable_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 221184, ptr %0, align 4, !tbaa !5 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: write) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_ibreakenable_Slot_inst_encode.c' source_filename = "AnghaBench/radare2/libr/asm/arch/xtensa/gnu/extr_xtensa-modules.c_Opcode_rsr_ibreakenable_Slot_inst_encode.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 @Opcode_rsr_ibreakenable_Slot_inst_encode], section "llvm.metadata" ; Function Attrs: mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) define internal void @Opcode_rsr_ibreakenable_Slot_inst_encode(ptr nocapture noundef writeonly %0) #0 { store i32 221184, ptr %0, align 4, !tbaa !6 ret void } attributes #0 = { mustprogress nofree norecurse nosync nounwind ssp willreturn memory(argmem: write) uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
radare2_libr_asm_arch_xtensa_gnu_extr_xtensa-modules.c_Opcode_rsr_ibreakenable_Slot_inst_encode
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_frommem.c_RosSymCreateFromMem.c' source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_frommem.c_RosSymCreateFromMem.c" target datalayout = "e-m:e-p270:32:32-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_12__ = type { i32, i32, i32, %struct.TYPE_11__, i32 } %struct.TYPE_11__ = type { i32 } @FALSE = dso_local local_unnamed_addr global i32 0, align 4 @IMAGE_SIZEOF_SHORT_NAME = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Image doesn't have a valid DOS header\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Image doesn't have a valid PE header\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Image doesn't have valid section headers\0A\00", align 1 @ROSSYM_SECTION_NAME = dso_local local_unnamed_addr global i32 0, align 4 @TRUE = dso_local local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"No %s section found\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Invalid %s section\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Bad %s section virtual size!\0A\00", align 1 ; Function Attrs: nounwind uwtable define dso_local i32 @RosSymCreateFromMem(i64 noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @FALSE, align 4, !tbaa !5 %5 = load i32, ptr @IMAGE_SIZEOF_SHORT_NAME, align 4, !tbaa !5 %6 = zext i32 %5 to i64 %7 = alloca i32, i64 %6, align 16 %8 = inttoptr i64 %0 to ptr %9 = sext i32 %1 to i64 %10 = icmp ult i32 %1, 4 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = tail call i32 @ROSSYM_IS_VALID_DOS_HEADER(ptr noundef %8) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11, %3 %15 = tail call i32 @DPRINT1(ptr noundef nonnull @.str) #2 %16 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %98 17: ; preds = %11 %18 = load i32, ptr %8, align 4, !tbaa !9 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %8, i64 %19 %21 = add nsw i64 %19, 4 %22 = icmp ugt i64 %21, %9 br i1 %22, label %26, label %23 23: ; preds = %17 %24 = tail call i32 @ROSSYM_IS_VALID_NT_HEADERS(ptr noundef nonnull %20) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23, %17 %27 = tail call i32 @DPRINT1(ptr noundef nonnull @.str.1) #2 %28 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %98 29: ; preds = %23 %30 = tail call ptr @IMAGE_FIRST_SECTION(ptr noundef nonnull %20) #2 %31 = load i32, ptr %20, align 4, !tbaa !11 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %30, i64 %32 %34 = ptrtoint ptr %33 to i64 %35 = sub i64 %34, %0 %36 = trunc i64 %35 to i32 %37 = icmp sgt i32 %36, %1 br i1 %37, label %38, label %41 38: ; preds = %29 %39 = tail call i32 @DPRINT1(ptr noundef nonnull @.str.2) #2 %40 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %98 41: ; preds = %29 %42 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !5 %43 = load i32, ptr @IMAGE_SIZEOF_SHORT_NAME, align 4, !tbaa !5 %44 = call i32 @strncpy(ptr noundef nonnull %7, i32 noundef %42, i32 noundef %43) #2 %45 = load i32, ptr %20, align 4, !tbaa !11 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %63 47: ; preds = %41, %57 %48 = phi ptr [ %58, %57 ], [ %30, %41 ] %49 = phi i64 [ %59, %57 ], [ 0, %41 ] %50 = getelementptr inbounds %struct.TYPE_12__, ptr %48, i64 0, i32 4 %51 = load i32, ptr %50, align 4, !tbaa !14 %52 = load i32, ptr @IMAGE_SIZEOF_SHORT_NAME, align 4, !tbaa !5 %53 = call i64 @memcmp(ptr noundef nonnull %7, i32 noundef %51, i32 noundef %52) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %47 %56 = load i32, ptr @TRUE, align 4, !tbaa !5 br label %63 57: ; preds = %47 %58 = getelementptr inbounds %struct.TYPE_12__, ptr %48, i64 1 %59 = add nuw nsw i64 %49, 1 %60 = load i32, ptr %20, align 4, !tbaa !11 %61 = sext i32 %60 to i64 %62 = icmp slt i64 %59, %61 br i1 %62, label %47, label %63, !llvm.loop !17 63: ; preds = %57, %41, %55 %64 = phi ptr [ %48, %55 ], [ %30, %41 ], [ %58, %57 ] %65 = phi i32 [ %56, %55 ], [ %4, %41 ], [ %4, %57 ] %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %71 67: ; preds = %63 %68 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !5 %69 = call i32 @DPRINT(ptr noundef nonnull @.str.3, i32 noundef %68) #2 %70 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %98 71: ; preds = %63 %72 = load i32, ptr %64, align 4, !tbaa !19 %73 = getelementptr inbounds %struct.TYPE_12__, ptr %64, i64 0, i32 1 %74 = load i32, ptr %73, align 4, !tbaa !20 %75 = add nsw i32 %74, %72 %76 = icmp sgt i32 %75, %1 %77 = icmp ult i32 %74, 4 %78 = or i1 %77, %76 br i1 %78, label %79, label %83 79: ; preds = %71 %80 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !5 %81 = call i32 @DPRINT(ptr noundef nonnull @.str.4, i32 noundef %80) #2 %82 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %98 83: ; preds = %71 %84 = getelementptr inbounds %struct.TYPE_12__, ptr %64, i64 0, i32 2 %85 = load i32, ptr %84, align 4, !tbaa !21 %86 = getelementptr inbounds %struct.TYPE_12__, ptr %64, i64 0, i32 3 %87 = load i32, ptr %86, align 4, !tbaa !22 %88 = add nsw i32 %87, %85 %89 = icmp sgt i32 %88, %1 br i1 %89, label %90, label %94 90: ; preds = %83 %91 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !5 %92 = call i32 @DPRINT(ptr noundef nonnull @.str.5, i32 noundef %91) #2 %93 = load i32, ptr @FALSE, align 4, !tbaa !5 br label %98 94: ; preds = %83 %95 = sext i32 %85 to i64 %96 = getelementptr inbounds i8, ptr %8, i64 %95 %97 = call i32 @RosSymCreateFromRaw(ptr noundef nonnull %96, i32 noundef %74, ptr noundef %2) #2 br label %98 98: ; preds = %94, %90, %79, %67, %38, %26, %14 %99 = phi i32 [ %16, %14 ], [ %28, %26 ], [ %40, %38 ], [ %82, %79 ], [ %93, %90 ], [ %97, %94 ], [ %70, %67 ] ret i32 %99 } declare i32 @ROSSYM_IS_VALID_DOS_HEADER(ptr noundef) local_unnamed_addr #1 declare i32 @DPRINT1(ptr noundef) local_unnamed_addr #1 declare i32 @ROSSYM_IS_VALID_NT_HEADERS(ptr noundef) local_unnamed_addr #1 declare ptr @IMAGE_FIRST_SECTION(ptr noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RosSymCreateFromRaw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !6, i64 0} !10 = !{!"TYPE_14__", !6, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_13__", !13, i64 0} !13 = !{!"TYPE_10__", !6, i64 0} !14 = !{!15, !6, i64 16} !15 = !{!"TYPE_12__", !6, i64 0, !6, i64 4, !6, i64 8, !16, i64 12, !6, i64 16} !16 = !{!"TYPE_11__", !6, i64 0} !17 = distinct !{!17, !18} !18 = !{!"llvm.loop.mustprogress"} !19 = !{!15, !6, i64 0} !20 = !{!15, !6, i64 4} !21 = !{!15, !6, i64 8} !22 = !{!15, !6, i64 12}
; ModuleID = 'AnghaBench/reactos/sdk/lib/rossym/extr_frommem.c_RosSymCreateFromMem.c' source_filename = "AnghaBench/reactos/sdk/lib/rossym/extr_frommem.c_RosSymCreateFromMem.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" %struct.TYPE_12__ = type { i32, i32, i32, %struct.TYPE_11__, i32 } %struct.TYPE_11__ = type { i32 } @FALSE = common local_unnamed_addr global i32 0, align 4 @IMAGE_SIZEOF_SHORT_NAME = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [39 x i8] c"Image doesn't have a valid DOS header\0A\00", align 1 @.str.1 = private unnamed_addr constant [38 x i8] c"Image doesn't have a valid PE header\0A\00", align 1 @.str.2 = private unnamed_addr constant [42 x i8] c"Image doesn't have valid section headers\0A\00", align 1 @ROSSYM_SECTION_NAME = common local_unnamed_addr global i32 0, align 4 @TRUE = common local_unnamed_addr global i32 0, align 4 @.str.3 = private unnamed_addr constant [21 x i8] c"No %s section found\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Invalid %s section\0A\00", align 1 @.str.5 = private unnamed_addr constant [30 x i8] c"Bad %s section virtual size!\0A\00", align 1 ; Function Attrs: nounwind ssp uwtable(sync) define i32 @RosSymCreateFromMem(i64 noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 { %4 = load i32, ptr @FALSE, align 4, !tbaa !6 %5 = load i32, ptr @IMAGE_SIZEOF_SHORT_NAME, align 4, !tbaa !6 %6 = zext i32 %5 to i64 %7 = alloca i32, i64 %6, align 4 %8 = inttoptr i64 %0 to ptr %9 = sext i32 %1 to i64 %10 = icmp ult i32 %1, 4 br i1 %10, label %14, label %11 11: ; preds = %3 %12 = tail call i32 @ROSSYM_IS_VALID_DOS_HEADER(ptr noundef %8) #2 %13 = icmp eq i32 %12, 0 br i1 %13, label %14, label %17 14: ; preds = %11, %3 %15 = tail call i32 @DPRINT1(ptr noundef nonnull @.str) #2 %16 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %98 17: ; preds = %11 %18 = load i32, ptr %8, align 4, !tbaa !10 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %8, i64 %19 %21 = add nsw i64 %19, 4 %22 = icmp ugt i64 %21, %9 br i1 %22, label %26, label %23 23: ; preds = %17 %24 = tail call i32 @ROSSYM_IS_VALID_NT_HEADERS(ptr noundef nonnull %20) #2 %25 = icmp eq i32 %24, 0 br i1 %25, label %26, label %29 26: ; preds = %23, %17 %27 = tail call i32 @DPRINT1(ptr noundef nonnull @.str.1) #2 %28 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %98 29: ; preds = %23 %30 = tail call ptr @IMAGE_FIRST_SECTION(ptr noundef nonnull %20) #2 %31 = load i32, ptr %20, align 4, !tbaa !12 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %30, i64 %32 %34 = ptrtoint ptr %33 to i64 %35 = sub i64 %34, %0 %36 = trunc i64 %35 to i32 %37 = icmp sgt i32 %36, %1 br i1 %37, label %38, label %41 38: ; preds = %29 %39 = tail call i32 @DPRINT1(ptr noundef nonnull @.str.2) #2 %40 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %98 41: ; preds = %29 %42 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !6 %43 = load i32, ptr @IMAGE_SIZEOF_SHORT_NAME, align 4, !tbaa !6 %44 = call i32 @strncpy(ptr noundef nonnull %7, i32 noundef %42, i32 noundef %43) #2 %45 = load i32, ptr %20, align 4, !tbaa !12 %46 = icmp sgt i32 %45, 0 br i1 %46, label %47, label %63 47: ; preds = %41, %57 %48 = phi ptr [ %58, %57 ], [ %30, %41 ] %49 = phi i64 [ %59, %57 ], [ 0, %41 ] %50 = getelementptr inbounds i8, ptr %48, i64 16 %51 = load i32, ptr %50, align 4, !tbaa !15 %52 = load i32, ptr @IMAGE_SIZEOF_SHORT_NAME, align 4, !tbaa !6 %53 = call i64 @memcmp(ptr noundef nonnull %7, i32 noundef %51, i32 noundef %52) #2 %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %57 55: ; preds = %47 %56 = load i32, ptr @TRUE, align 4, !tbaa !6 br label %63 57: ; preds = %47 %58 = getelementptr inbounds i8, ptr %48, i64 20 %59 = add nuw nsw i64 %49, 1 %60 = load i32, ptr %20, align 4, !tbaa !12 %61 = sext i32 %60 to i64 %62 = icmp slt i64 %59, %61 br i1 %62, label %47, label %63, !llvm.loop !18 63: ; preds = %57, %41, %55 %64 = phi ptr [ %48, %55 ], [ %30, %41 ], [ %58, %57 ] %65 = phi i32 [ %56, %55 ], [ %4, %41 ], [ %4, %57 ] %66 = icmp eq i32 %65, 0 br i1 %66, label %67, label %71 67: ; preds = %63 %68 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !6 %69 = call i32 @DPRINT(ptr noundef nonnull @.str.3, i32 noundef %68) #2 %70 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %98 71: ; preds = %63 %72 = load i32, ptr %64, align 4, !tbaa !20 %73 = getelementptr inbounds i8, ptr %64, i64 4 %74 = load i32, ptr %73, align 4, !tbaa !21 %75 = add nsw i32 %74, %72 %76 = icmp sgt i32 %75, %1 %77 = icmp ult i32 %74, 4 %78 = or i1 %77, %76 br i1 %78, label %79, label %83 79: ; preds = %71 %80 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !6 %81 = call i32 @DPRINT(ptr noundef nonnull @.str.4, i32 noundef %80) #2 %82 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %98 83: ; preds = %71 %84 = getelementptr inbounds i8, ptr %64, i64 8 %85 = load i32, ptr %84, align 4, !tbaa !22 %86 = getelementptr inbounds i8, ptr %64, i64 12 %87 = load i32, ptr %86, align 4, !tbaa !23 %88 = add nsw i32 %87, %85 %89 = icmp sgt i32 %88, %1 br i1 %89, label %90, label %94 90: ; preds = %83 %91 = load i32, ptr @ROSSYM_SECTION_NAME, align 4, !tbaa !6 %92 = call i32 @DPRINT(ptr noundef nonnull @.str.5, i32 noundef %91) #2 %93 = load i32, ptr @FALSE, align 4, !tbaa !6 br label %98 94: ; preds = %83 %95 = sext i32 %85 to i64 %96 = getelementptr inbounds i8, ptr %8, i64 %95 %97 = call i32 @RosSymCreateFromRaw(ptr noundef nonnull %96, i32 noundef %74, ptr noundef %2) #2 br label %98 98: ; preds = %94, %90, %79, %67, %38, %26, %14 %99 = phi i32 [ %16, %14 ], [ %28, %26 ], [ %40, %38 ], [ %82, %79 ], [ %93, %90 ], [ %97, %94 ], [ %70, %67 ] ret i32 %99 } declare i32 @ROSSYM_IS_VALID_DOS_HEADER(ptr noundef) local_unnamed_addr #1 declare i32 @DPRINT1(ptr noundef) local_unnamed_addr #1 declare i32 @ROSSYM_IS_VALID_NT_HEADERS(ptr noundef) local_unnamed_addr #1 declare ptr @IMAGE_FIRST_SECTION(ptr noundef) local_unnamed_addr #1 declare i32 @strncpy(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i64 @memcmp(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @DPRINT(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @RosSymCreateFromRaw(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !7, i64 0} !11 = !{!"TYPE_14__", !7, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_13__", !14, i64 0} !14 = !{!"TYPE_10__", !7, i64 0} !15 = !{!16, !7, i64 16} !16 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8, !17, i64 12, !7, i64 16} !17 = !{!"TYPE_11__", !7, i64 0} !18 = distinct !{!18, !19} !19 = !{!"llvm.loop.mustprogress"} !20 = !{!16, !7, i64 0} !21 = !{!16, !7, i64 4} !22 = !{!16, !7, i64 8} !23 = !{!16, !7, i64 12}
reactos_sdk_lib_rossym_extr_frommem.c_RosSymCreateFromMem
; ModuleID = 'AnghaBench/libgit2/tests/diff/extr_patch.c_check_removal_cb.c' source_filename = "AnghaBench/libgit2/tests/diff/extr_patch.c_check_removal_cb.c" target datalayout = "e-m:e-p270:32:32-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 } %struct.TYPE_12__ = type { i32, i32, i32, i32 } %struct.TYPE_13__ = type { i32, %struct.TYPE_10__, %struct.TYPE_9__ } %struct.TYPE_10__ = type { i32 } %struct.TYPE_9__ = type { i32 } @EXPECTED_HEADER = dso_local local_unnamed_addr global ptr null, align 8 @EXPECTED_HUNK = dso_local local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [11 x i8] c"subdir.txt\00", align 1 @GIT_DELTA_DELETED = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @check_removal_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @check_removal_cb(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef readonly %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !5 switch i32 %5, label %48 [ i32 129, label %6 i32 128, label %14 i32 131, label %19 i32 130, label %19 ] 6: ; preds = %4 %7 = load ptr, ptr @EXPECTED_HEADER, align 8, !tbaa !10 %8 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 1 %9 = load i32, ptr %8, align 4, !tbaa !12 %10 = tail call i32 @cl_assert_equal_s(ptr noundef %7, i32 noundef %9) #2 %11 = icmp eq ptr %1, null %12 = zext i1 %11 to i32 %13 = tail call i32 @cl_assert(i32 noundef %12) #2 br label %38 14: ; preds = %4 %15 = load ptr, ptr @EXPECTED_HUNK, align 8, !tbaa !10 %16 = getelementptr inbounds %struct.TYPE_11__, ptr %2, i64 0, i32 1 %17 = load i32, ptr %16, align 4, !tbaa !12 %18 = tail call i32 @cl_assert_equal_s(ptr noundef %15, i32 noundef %17) #2 br label %23 19: ; preds = %4, %4 %20 = icmp eq ptr %3, null br i1 %20, label %23, label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4, !tbaa !13 br label %48 23: ; preds = %19, %14 %24 = icmp ne ptr %1, null %25 = zext i1 %24 to i32 %26 = tail call i32 @cl_assert(i32 noundef %25) #2 %27 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 3 %28 = load i32, ptr %27, align 4, !tbaa !14 %29 = tail call i32 @cl_assert_equal_i(i32 noundef 1, i32 noundef %28) #2 %30 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 2 %31 = load i32, ptr %30, align 4, !tbaa !16 %32 = tail call i32 @cl_assert_equal_i(i32 noundef 2, i32 noundef %31) #2 %33 = getelementptr inbounds %struct.TYPE_12__, ptr %1, i64 0, i32 1 %34 = load i32, ptr %33, align 4, !tbaa !17 %35 = tail call i32 @cl_assert_equal_i(i32 noundef 0, i32 noundef %34) #2 %36 = load i32, ptr %1, align 4, !tbaa !18 %37 = tail call i32 @cl_assert_equal_i(i32 noundef 0, i32 noundef %36) #2 br label %38 38: ; preds = %23, %6 %39 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 2 %40 = load i32, ptr %39, align 4, !tbaa !19 %41 = tail call i32 @cl_assert_equal_s(ptr noundef nonnull @.str, i32 noundef %40) #2 %42 = getelementptr inbounds %struct.TYPE_13__, ptr %0, i64 0, i32 1 %43 = load i32, ptr %42, align 4, !tbaa !23 %44 = tail call i32 @cl_assert_equal_s(ptr noundef nonnull @.str, i32 noundef %43) #2 %45 = load i32, ptr @GIT_DELTA_DELETED, align 4, !tbaa !13 %46 = load i32, ptr %0, align 4, !tbaa !24 %47 = tail call i32 @cl_assert_equal_i(i32 noundef %45, i32 noundef %46) #2 br label %48 48: ; preds = %4, %38, %21 %49 = phi i32 [ %22, %21 ], [ 0, %38 ], [ -1, %4 ] ret i32 %49 } declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cl_assert(i32 noundef) local_unnamed_addr #1 declare i32 @cl_assert_equal_i(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_11__", !7, i64 0, !7, i64 4} !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 = !{!6, !7, i64 4} !13 = !{!7, !7, i64 0} !14 = !{!15, !7, i64 12} !15 = !{!"TYPE_12__", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12} !16 = !{!15, !7, i64 8} !17 = !{!15, !7, i64 4} !18 = !{!15, !7, i64 0} !19 = !{!20, !7, i64 8} !20 = !{!"TYPE_13__", !7, i64 0, !21, i64 4, !22, i64 8} !21 = !{!"TYPE_10__", !7, i64 0} !22 = !{!"TYPE_9__", !7, i64 0} !23 = !{!20, !7, i64 4} !24 = !{!20, !7, i64 0}
; ModuleID = 'AnghaBench/libgit2/tests/diff/extr_patch.c_check_removal_cb.c' source_filename = "AnghaBench/libgit2/tests/diff/extr_patch.c_check_removal_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @EXPECTED_HEADER = common local_unnamed_addr global ptr null, align 8 @EXPECTED_HUNK = common local_unnamed_addr global ptr null, align 8 @.str = private unnamed_addr constant [11 x i8] c"subdir.txt\00", align 1 @GIT_DELTA_DELETED = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @check_removal_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @check_removal_cb(ptr nocapture noundef readonly %0, ptr noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef readonly %3) #0 { %5 = load i32, ptr %2, align 4, !tbaa !6 switch i32 %5, label %48 [ i32 129, label %6 i32 128, label %14 i32 131, label %19 i32 130, label %19 ] 6: ; preds = %4 %7 = load ptr, ptr @EXPECTED_HEADER, align 8, !tbaa !11 %8 = getelementptr inbounds i8, ptr %2, i64 4 %9 = load i32, ptr %8, align 4, !tbaa !13 %10 = tail call i32 @cl_assert_equal_s(ptr noundef %7, i32 noundef %9) #2 %11 = icmp eq ptr %1, null %12 = zext i1 %11 to i32 %13 = tail call i32 @cl_assert(i32 noundef %12) #2 br label %38 14: ; preds = %4 %15 = load ptr, ptr @EXPECTED_HUNK, align 8, !tbaa !11 %16 = getelementptr inbounds i8, ptr %2, i64 4 %17 = load i32, ptr %16, align 4, !tbaa !13 %18 = tail call i32 @cl_assert_equal_s(ptr noundef %15, i32 noundef %17) #2 br label %23 19: ; preds = %4, %4 %20 = icmp eq ptr %3, null br i1 %20, label %23, label %21 21: ; preds = %19 %22 = load i32, ptr %3, align 4, !tbaa !14 br label %48 23: ; preds = %19, %14 %24 = icmp ne ptr %1, null %25 = zext i1 %24 to i32 %26 = tail call i32 @cl_assert(i32 noundef %25) #2 %27 = getelementptr inbounds i8, ptr %1, i64 12 %28 = load i32, ptr %27, align 4, !tbaa !15 %29 = tail call i32 @cl_assert_equal_i(i32 noundef 1, i32 noundef %28) #2 %30 = getelementptr inbounds i8, ptr %1, i64 8 %31 = load i32, ptr %30, align 4, !tbaa !17 %32 = tail call i32 @cl_assert_equal_i(i32 noundef 2, i32 noundef %31) #2 %33 = getelementptr inbounds i8, ptr %1, i64 4 %34 = load i32, ptr %33, align 4, !tbaa !18 %35 = tail call i32 @cl_assert_equal_i(i32 noundef 0, i32 noundef %34) #2 %36 = load i32, ptr %1, align 4, !tbaa !19 %37 = tail call i32 @cl_assert_equal_i(i32 noundef 0, i32 noundef %36) #2 br label %38 38: ; preds = %23, %6 %39 = getelementptr inbounds i8, ptr %0, i64 8 %40 = load i32, ptr %39, align 4, !tbaa !20 %41 = tail call i32 @cl_assert_equal_s(ptr noundef nonnull @.str, i32 noundef %40) #2 %42 = getelementptr inbounds i8, ptr %0, i64 4 %43 = load i32, ptr %42, align 4, !tbaa !24 %44 = tail call i32 @cl_assert_equal_s(ptr noundef nonnull @.str, i32 noundef %43) #2 %45 = load i32, ptr @GIT_DELTA_DELETED, align 4, !tbaa !14 %46 = load i32, ptr %0, align 4, !tbaa !25 %47 = tail call i32 @cl_assert_equal_i(i32 noundef %45, i32 noundef %46) #2 br label %48 48: ; preds = %4, %38, %21 %49 = phi i32 [ %22, %21 ], [ 0, %38 ], [ -1, %4 ] ret i32 %49 } declare i32 @cl_assert_equal_s(ptr noundef, i32 noundef) local_unnamed_addr #1 declare i32 @cl_assert(i32 noundef) local_unnamed_addr #1 declare i32 @cl_assert_equal_i(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_11__", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!12, !12, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!7, !8, i64 4} !14 = !{!8, !8, i64 0} !15 = !{!16, !8, i64 12} !16 = !{!"TYPE_12__", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12} !17 = !{!16, !8, i64 8} !18 = !{!16, !8, i64 4} !19 = !{!16, !8, i64 0} !20 = !{!21, !8, i64 8} !21 = !{!"TYPE_13__", !8, i64 0, !22, i64 4, !23, i64 8} !22 = !{!"TYPE_10__", !8, i64 0} !23 = !{!"TYPE_9__", !8, i64 0} !24 = !{!21, !8, i64 4} !25 = !{!21, !8, i64 0}
libgit2_tests_diff_extr_patch.c_check_removal_cb
; ModuleID = 'AnghaBench/libgit2/src/extr_config_entries.c_git_config_entries_new.c' source_filename = "AnghaBench/libgit2/src/extr_config_entries.c_git_config_entries_new.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" ; Function Attrs: nounwind uwtable define dso_local i32 @git_config_entries_new(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = tail call ptr @git__calloc(i32 noundef 1, i32 noundef 4) #2 %3 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %2) #2 %4 = tail call i32 @GIT_REFCOUNT_INC(ptr noundef %2) #2 %5 = tail call i32 @git_strmap_new(ptr noundef %2) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @git__free(ptr noundef %2) #2 br label %10 9: ; preds = %1 store ptr %2, ptr %0, align 8, !tbaa !5 br label %10 10: ; preds = %9, %7 ret i32 %5 } declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1 declare i32 @GIT_REFCOUNT_INC(ptr noundef) local_unnamed_addr #1 declare i32 @git_strmap_new(ptr noundef) local_unnamed_addr #1 declare i32 @git__free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"any pointer", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"}
; ModuleID = 'AnghaBench/libgit2/src/extr_config_entries.c_git_config_entries_new.c' source_filename = "AnghaBench/libgit2/src/extr_config_entries.c_git_config_entries_new.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 @git_config_entries_new(ptr nocapture noundef writeonly %0) local_unnamed_addr #0 { %2 = tail call ptr @git__calloc(i32 noundef 1, i32 noundef 4) #2 %3 = tail call i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef %2) #2 %4 = tail call i32 @GIT_REFCOUNT_INC(ptr noundef %2) #2 %5 = tail call i32 @git_strmap_new(ptr noundef %2) #2 %6 = icmp slt i32 %5, 0 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = tail call i32 @git__free(ptr noundef %2) #2 br label %10 9: ; preds = %1 store ptr %2, ptr %0, align 8, !tbaa !6 br label %10 10: ; preds = %9, %7 ret i32 %5 } declare ptr @git__calloc(i32 noundef, i32 noundef) local_unnamed_addr #1 declare i32 @GIT_ERROR_CHECK_ALLOC(ptr noundef) local_unnamed_addr #1 declare i32 @GIT_REFCOUNT_INC(ptr noundef) local_unnamed_addr #1 declare i32 @git_strmap_new(ptr noundef) local_unnamed_addr #1 declare i32 @git__free(ptr noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"any pointer", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"}
libgit2_src_extr_config_entries.c_git_config_entries_new
; ModuleID = 'AnghaBench/linux/virt/kvm/extr_kvm_main.c_shrink_halt_poll_ns.c' source_filename = "AnghaBench/linux/virt/kvm/extr_kvm_main.c_shrink_halt_poll_ns.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" %struct.kvm_vcpu = type { i32, i32 } @halt_poll_ns_shrink = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @shrink_halt_poll_ns], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @shrink_halt_poll_ns(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !5 %3 = load i32, ptr @halt_poll_ns_shrink, align 4, !tbaa !10 %4 = tail call i32 @READ_ONCE(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = udiv i32 %2, %4 br label %8 8: ; preds = %1, %6 %9 = phi i32 [ %7, %6 ], [ 0, %1 ] store i32 %9, ptr %0, align 4, !tbaa !5 %10 = getelementptr inbounds %struct.kvm_vcpu, ptr %0, i64 0, i32 1 %11 = load i32, ptr %10, align 4, !tbaa !11 %12 = tail call i32 @trace_kvm_halt_poll_ns_shrink(i32 noundef %11, i32 noundef %9, i32 noundef %2) #2 ret void } declare i32 @READ_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @trace_kvm_halt_poll_ns_shrink(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 = !{!"kvm_vcpu", !7, i64 0, !7, i64 4} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!7, !7, i64 0} !11 = !{!6, !7, i64 4}
; ModuleID = 'AnghaBench/linux/virt/kvm/extr_kvm_main.c_shrink_halt_poll_ns.c' source_filename = "AnghaBench/linux/virt/kvm/extr_kvm_main.c_shrink_halt_poll_ns.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @halt_poll_ns_shrink = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @shrink_halt_poll_ns], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @shrink_halt_poll_ns(ptr nocapture noundef %0) #0 { %2 = load i32, ptr %0, align 4, !tbaa !6 %3 = load i32, ptr @halt_poll_ns_shrink, align 4, !tbaa !11 %4 = tail call i32 @READ_ONCE(i32 noundef %3) #2 %5 = icmp eq i32 %4, 0 br i1 %5, label %8, label %6 6: ; preds = %1 %7 = udiv i32 %2, %4 br label %8 8: ; preds = %1, %6 %9 = phi i32 [ %7, %6 ], [ 0, %1 ] store i32 %9, ptr %0, align 4, !tbaa !6 %10 = getelementptr inbounds i8, ptr %0, i64 4 %11 = load i32, ptr %10, align 4, !tbaa !12 %12 = tail call i32 @trace_kvm_halt_poll_ns_shrink(i32 noundef %11, i32 noundef %9, i32 noundef %2) #2 ret void } declare i32 @READ_ONCE(i32 noundef) local_unnamed_addr #1 declare i32 @trace_kvm_halt_poll_ns_shrink(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #2 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"kvm_vcpu", !8, i64 0, !8, i64 4} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!8, !8, i64 0} !12 = !{!7, !8, i64 4}
linux_virt_kvm_extr_kvm_main.c_shrink_halt_poll_ns
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_nsarguments.c_acpi_ns_check_argument_count.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_nsarguments.c_acpi_ns_check_argument_count.c" target datalayout = "e-m:e-p270:32:32-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.acpi_namespace_node = type { i32, i64, ptr } @ANOBJ_EVALUATED = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_TYPE_METHOD = dso_local local_unnamed_addr global i64 0, align 8 @AE_INFO = dso_local local_unnamed_addr global i32 0, align 4 @ACPI_WARN_ALWAYS = dso_local local_unnamed_addr global i32 0, align 4 @ARG_COUNT_IS_MINIMUM = dso_local local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind uwtable define dso_local void @acpi_ns_check_argument_count(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef readonly %3) local_unnamed_addr #0 { %5 = load i32, ptr %1, align 8, !tbaa !5 %6 = load i32, ptr @ANOBJ_EVALUATED, align 4, !tbaa !12 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %51 9: ; preds = %4 %10 = icmp eq ptr %3, null br i1 %10, label %11, label %34 11: ; preds = %9 %12 = getelementptr inbounds %struct.acpi_namespace_node, ptr %1, i64 0, i32 1 %13 = load i64, ptr %12, align 8, !tbaa !13 %14 = load i64, ptr @ACPI_TYPE_METHOD, align 8, !tbaa !14 %15 = icmp eq i64 %13, %14 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = icmp eq i64 %2, 0 br i1 %17, label %51, label %18 18: ; preds = %16 %19 = tail call i32 @acpi_ut_get_type_name(i64 noundef %13) #2 %20 = tail call i32 @ACPI_INFO_PREDEFINED(i32 noundef %19) #2 br label %51 21: ; preds = %11 %22 = getelementptr inbounds %struct.acpi_namespace_node, ptr %1, i64 0, i32 2 %23 = load ptr, ptr %22, align 8, !tbaa !15 %24 = load i64, ptr %23, align 8, !tbaa !16 %25 = icmp sgt i64 %24, %2 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = trunc i64 %24 to i32 %28 = tail call i32 @ACPI_WARN_PREDEFINED(i32 noundef %27) #2 br label %51 29: ; preds = %21 %30 = icmp slt i64 %24, %2 br i1 %30, label %31, label %51 31: ; preds = %29 %32 = trunc i64 %24 to i32 %33 = tail call i32 @ACPI_INFO_PREDEFINED(i32 noundef %32) #2 br label %51 34: ; preds = %9 %35 = load i32, ptr %3, align 4, !tbaa !19 %36 = tail call i64 @METHOD_GET_ARG_COUNT(i32 noundef %35) #2 %37 = icmp sgt i64 %36, %2 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = trunc i64 %36 to i32 %40 = tail call i32 @ACPI_WARN_PREDEFINED(i32 noundef %39) #2 br label %51 41: ; preds = %34 %42 = icmp slt i64 %36, %2 br i1 %42, label %43, label %51 43: ; preds = %41 %44 = load i32, ptr %3, align 4, !tbaa !19 %45 = load i32, ptr @ARG_COUNT_IS_MINIMUM, align 4, !tbaa !12 %46 = and i32 %45, %44 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = trunc i64 %36 to i32 %50 = tail call i32 @ACPI_INFO_PREDEFINED(i32 noundef %49) #2 br label %51 51: ; preds = %38, %48, %43, %41, %26, %31, %29, %16, %18, %4 ret void } declare i32 @ACPI_INFO_PREDEFINED(i32 noundef) local_unnamed_addr #1 declare i32 @acpi_ut_get_type_name(i64 noundef) local_unnamed_addr #1 declare i32 @ACPI_WARN_PREDEFINED(i32 noundef) local_unnamed_addr #1 declare i64 @METHOD_GET_ARG_COUNT(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 = !{!"acpi_namespace_node", !7, i64 0, !10, i64 8, !11, i64 16} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!"long", !8, i64 0} !11 = !{!"any pointer", !8, i64 0} !12 = !{!7, !7, i64 0} !13 = !{!6, !10, i64 8} !14 = !{!10, !10, i64 0} !15 = !{!6, !11, i64 16} !16 = !{!17, !10, i64 0} !17 = !{!"TYPE_5__", !18, i64 0} !18 = !{!"TYPE_4__", !10, i64 0} !19 = !{!8, !8, i64 0}
; ModuleID = 'AnghaBench/linux/drivers/acpi/acpica/extr_nsarguments.c_acpi_ns_check_argument_count.c' source_filename = "AnghaBench/linux/drivers/acpi/acpica/extr_nsarguments.c_acpi_ns_check_argument_count.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @ANOBJ_EVALUATED = common local_unnamed_addr global i32 0, align 4 @ACPI_TYPE_METHOD = common local_unnamed_addr global i64 0, align 8 @AE_INFO = common local_unnamed_addr global i32 0, align 4 @ACPI_WARN_ALWAYS = common local_unnamed_addr global i32 0, align 4 @ARG_COUNT_IS_MINIMUM = common local_unnamed_addr global i32 0, align 4 ; Function Attrs: nounwind ssp uwtable(sync) define void @acpi_ns_check_argument_count(ptr nocapture noundef readnone %0, ptr nocapture noundef readonly %1, i64 noundef %2, ptr noundef readonly %3) local_unnamed_addr #0 { %5 = load i32, ptr %1, align 8, !tbaa !6 %6 = load i32, ptr @ANOBJ_EVALUATED, align 4, !tbaa !13 %7 = and i32 %6, %5 %8 = icmp eq i32 %7, 0 br i1 %8, label %9, label %51 9: ; preds = %4 %10 = icmp eq ptr %3, null br i1 %10, label %11, label %34 11: ; preds = %9 %12 = getelementptr inbounds i8, ptr %1, i64 8 %13 = load i64, ptr %12, align 8, !tbaa !14 %14 = load i64, ptr @ACPI_TYPE_METHOD, align 8, !tbaa !15 %15 = icmp eq i64 %13, %14 br i1 %15, label %21, label %16 16: ; preds = %11 %17 = icmp eq i64 %2, 0 br i1 %17, label %51, label %18 18: ; preds = %16 %19 = tail call i32 @acpi_ut_get_type_name(i64 noundef %13) #2 %20 = tail call i32 @ACPI_INFO_PREDEFINED(i32 noundef %19) #2 br label %51 21: ; preds = %11 %22 = getelementptr inbounds i8, ptr %1, i64 16 %23 = load ptr, ptr %22, align 8, !tbaa !16 %24 = load i64, ptr %23, align 8, !tbaa !17 %25 = icmp sgt i64 %24, %2 br i1 %25, label %26, label %29 26: ; preds = %21 %27 = trunc i64 %24 to i32 %28 = tail call i32 @ACPI_WARN_PREDEFINED(i32 noundef %27) #2 br label %51 29: ; preds = %21 %30 = icmp slt i64 %24, %2 br i1 %30, label %31, label %51 31: ; preds = %29 %32 = trunc i64 %24 to i32 %33 = tail call i32 @ACPI_INFO_PREDEFINED(i32 noundef %32) #2 br label %51 34: ; preds = %9 %35 = load i32, ptr %3, align 4, !tbaa !20 %36 = tail call i64 @METHOD_GET_ARG_COUNT(i32 noundef %35) #2 %37 = icmp sgt i64 %36, %2 br i1 %37, label %38, label %41 38: ; preds = %34 %39 = trunc i64 %36 to i32 %40 = tail call i32 @ACPI_WARN_PREDEFINED(i32 noundef %39) #2 br label %51 41: ; preds = %34 %42 = icmp slt i64 %36, %2 br i1 %42, label %43, label %51 43: ; preds = %41 %44 = load i32, ptr %3, align 4, !tbaa !20 %45 = load i32, ptr @ARG_COUNT_IS_MINIMUM, align 4, !tbaa !13 %46 = and i32 %45, %44 %47 = icmp eq i32 %46, 0 br i1 %47, label %48, label %51 48: ; preds = %43 %49 = trunc i64 %36 to i32 %50 = tail call i32 @ACPI_INFO_PREDEFINED(i32 noundef %49) #2 br label %51 51: ; preds = %38, %48, %43, %41, %26, %31, %29, %16, %18, %4 ret void } declare i32 @ACPI_INFO_PREDEFINED(i32 noundef) local_unnamed_addr #1 declare i32 @acpi_ut_get_type_name(i64 noundef) local_unnamed_addr #1 declare i32 @ACPI_WARN_PREDEFINED(i32 noundef) local_unnamed_addr #1 declare i64 @METHOD_GET_ARG_COUNT(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 = !{!"acpi_namespace_node", !8, i64 0, !11, i64 8, !12, i64 16} !8 = !{!"int", !9, i64 0} !9 = !{!"omnipotent char", !10, i64 0} !10 = !{!"Simple C/C++ TBAA"} !11 = !{!"long", !9, i64 0} !12 = !{!"any pointer", !9, i64 0} !13 = !{!8, !8, i64 0} !14 = !{!7, !11, i64 8} !15 = !{!11, !11, i64 0} !16 = !{!7, !12, i64 16} !17 = !{!18, !11, i64 0} !18 = !{!"TYPE_5__", !19, i64 0} !19 = !{!"TYPE_4__", !11, i64 0} !20 = !{!9, !9, i64 0}
linux_drivers_acpi_acpica_extr_nsarguments.c_acpi_ns_check_argument_count
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv090x.c_stv090x_sw_algo.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv090x.c_stv090x_sw_algo.c" target datalayout = "e-m:e-p270:32:32-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.stv090x_state = type { i32, ptr } @CARFREQ = dso_local local_unnamed_addr global i32 0, align 4 @DMDCFGMD = dso_local local_unnamed_addr global i32 0, align 4 @CORRELABS = dso_local local_unnamed_addr global i32 0, align 4 @DMDSTATE = dso_local local_unnamed_addr global i32 0, align 4 @HEADER_MODE_FIELD = dso_local local_unnamed_addr global i32 0, align 4 @STV090x_DVBS2 = dso_local local_unnamed_addr global i32 0, align 4 @DMDFLYW = dso_local local_unnamed_addr global i32 0, align 4 @FLYWHEEL_CPT_FIELD = dso_local local_unnamed_addr global i32 0, align 4 @FE_ERROR = dso_local local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"I/O error\00", align 1 @llvm.compiler.used = appending global [1 x ptr] [ptr @stv090x_sw_algo], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal i32 @stv090x_sw_algo(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = 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 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i32 @stv090x_get_loop_params(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %6 = load i32, ptr %0, align 8, !tbaa !5 switch i32 %6, label %33 [ i32 129, label %7 i32 130, label %7 i32 128, label %20 ] 7: ; preds = %1, %1 %8 = getelementptr inbounds %struct.stv090x_state, ptr %0, i64 0, i32 1 %9 = load ptr, ptr %8, align 8, !tbaa !11 %10 = load i32, ptr %9, align 4, !tbaa !12 %11 = icmp sgt i32 %10, 31 br i1 %11, label %12, label %16 12: ; preds = %7 %13 = load i32, ptr @CARFREQ, align 4, !tbaa !14 %14 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 59) #3 %15 = icmp slt i64 %14, 0 br i1 %15, label %121, label %16 16: ; preds = %12, %7 %17 = load i32, ptr @DMDCFGMD, align 4, !tbaa !14 %18 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %17, i32 noundef 73) #3 %19 = icmp slt i64 %18, 0 br i1 %19, label %121, label %50 20: ; preds = %1 %21 = getelementptr inbounds %struct.stv090x_state, ptr %0, i64 0, i32 1 %22 = load ptr, ptr %21, align 8, !tbaa !11 %23 = load i32, ptr %22, align 4, !tbaa !12 %24 = icmp sgt i32 %23, 31 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @CORRELABS, align 4, !tbaa !14 %27 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %26, i32 noundef 121) #3 %28 = icmp slt i64 %27, 0 br i1 %28, label %121, label %29 29: ; preds = %25, %20 %30 = load i32, ptr @DMDCFGMD, align 4, !tbaa !14 %31 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 137) #3 %32 = icmp slt i64 %31, 0 br i1 %32, label %121, label %50 33: ; preds = %1 %34 = getelementptr inbounds %struct.stv090x_state, ptr %0, i64 0, i32 1 %35 = load ptr, ptr %34, align 8, !tbaa !11 %36 = load i32, ptr %35, align 4, !tbaa !12 %37 = icmp sgt i32 %36, 31 br i1 %37, label %38, label %46 38: ; preds = %33 %39 = load i32, ptr @CARFREQ, align 4, !tbaa !14 %40 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %39, i32 noundef 59) #3 %41 = icmp slt i64 %40, 0 br i1 %41, label %121, label %42 42: ; preds = %38 %43 = load i32, ptr @CORRELABS, align 4, !tbaa !14 %44 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %43, i32 noundef 121) #3 %45 = icmp slt i64 %44, 0 br i1 %45, label %121, label %46 46: ; preds = %42, %33 %47 = load i32, ptr @DMDCFGMD, align 4, !tbaa !14 %48 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %47, i32 noundef 201) #3 %49 = icmp slt i64 %48, 0 br i1 %49, label %121, label %50 50: ; preds = %46, %29, %16 %51 = phi i32 [ 0, %16 ], [ 1, %29 ], [ 0, %46 ] %52 = getelementptr inbounds %struct.stv090x_state, ptr %0, i64 0, i32 1 br label %53 53: ; preds = %115, %50 %54 = phi i1 [ false, %50 ], [ true, %115 ] %55 = phi i1 [ true, %50 ], [ false, %115 ] %56 = load i32, ptr %2, align 4, !tbaa !14 %57 = load i32, ptr %3, align 4, !tbaa !14 %58 = load i32, ptr %4, align 4, !tbaa !14 %59 = call i32 @stv090x_search_car_loop(ptr noundef nonnull %0, i32 noundef %56, i32 noundef %57, i32 noundef %51, i32 noundef %58) #3 %60 = call i32 @stv090x_chk_signal(ptr noundef nonnull %0) #3 %61 = icmp ne i32 %59, 0 %62 = icmp ne i32 %60, 0 %63 = select i1 %61, i1 true, i1 %62 %64 = or i1 %54, %63 br i1 %64, label %65, label %115 65: ; preds = %53 %66 = load ptr, ptr %52, align 8, !tbaa !11 %67 = load i32, ptr %66, align 4, !tbaa !12 %68 = icmp sgt i32 %67, 31 br i1 %68, label %69, label %77 69: ; preds = %65 %70 = load i32, ptr @CARFREQ, align 4, !tbaa !14 %71 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %70, i32 noundef 73) #3 %72 = icmp slt i64 %71, 0 br i1 %72, label %121, label %73 73: ; preds = %69 %74 = load i32, ptr @CORRELABS, align 4, !tbaa !14 %75 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %74, i32 noundef 158) #3 %76 = icmp slt i64 %75, 0 br i1 %76, label %121, label %77 77: ; preds = %73, %65 %78 = load i32, ptr @DMDSTATE, align 4, !tbaa !14 %79 = call i32 @STV090x_READ_DEMOD(ptr noundef nonnull %0, i32 noundef %78) #3 br i1 %61, label %80, label %115 80: ; preds = %77 %81 = load i32, ptr @HEADER_MODE_FIELD, align 4, !tbaa !14 %82 = call i32 @STV090x_GETFIELD_Px(i32 noundef %79, i32 noundef %81) #3 %83 = load i32, ptr @STV090x_DVBS2, align 4, !tbaa !14 %84 = icmp eq i32 %82, %83 br i1 %84, label %85, label %124 85: ; preds = %80 %86 = load i32, ptr %3, align 4, !tbaa !14 %87 = call i32 @msleep(i32 noundef %86) #3 %88 = load i32, ptr @DMDFLYW, align 4, !tbaa !14 %89 = call i32 @STV090x_READ_DEMOD(ptr noundef nonnull %0, i32 noundef %88) #3 %90 = load i32, ptr @FLYWHEEL_CPT_FIELD, align 4, !tbaa !14 %91 = call i32 @STV090x_GETFIELD_Px(i32 noundef %89, i32 noundef %90) #3 %92 = icmp slt i32 %91, 13 br i1 %92, label %93, label %124 93: ; preds = %85 %94 = load i32, ptr %3, align 4, !tbaa !14 %95 = call i32 @msleep(i32 noundef %94) #3 %96 = load i32, ptr @DMDFLYW, align 4, !tbaa !14 %97 = call i32 @STV090x_READ_DEMOD(ptr noundef nonnull %0, i32 noundef %96) #3 %98 = load i32, ptr @FLYWHEEL_CPT_FIELD, align 4, !tbaa !14 %99 = call i32 @STV090x_GETFIELD_Px(i32 noundef %97, i32 noundef %98) #3 %100 = icmp slt i32 %99, 13 %101 = and i1 %55, %100 %102 = select i1 %100, i32 0, i32 %59 br i1 %101, label %103, label %115 103: ; preds = %93 %104 = load ptr, ptr %52, align 8, !tbaa !11 %105 = load i32, ptr %104, align 4, !tbaa !12 %106 = icmp sgt i32 %105, 31 br i1 %106, label %107, label %111 107: ; preds = %103 %108 = load i32, ptr @CORRELABS, align 4, !tbaa !14 %109 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %108, i32 noundef 121) #3 %110 = icmp slt i64 %109, 0 br i1 %110, label %121, label %111 111: ; preds = %107, %103 %112 = load i32, ptr @DMDCFGMD, align 4, !tbaa !14 %113 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %112, i32 noundef 137) #3 %114 = icmp slt i64 %113, 0 br i1 %114, label %121, label %115 115: ; preds = %93, %53, %111, %77 %116 = phi i32 [ 0, %111 ], [ %102, %93 ], [ 0, %77 ], [ 0, %53 ] %117 = icmp eq i32 %116, 0 %118 = and i1 %55, %117 %119 = xor i1 %118, true %120 = select i1 %119, i1 true, i1 %62 br i1 %120, label %124, label %53, !llvm.loop !15 121: ; preds = %111, %107, %73, %69, %46, %42, %38, %29, %25, %16, %12 %122 = load i32, ptr @FE_ERROR, align 4, !tbaa !14 %123 = call i32 @dprintk(i32 noundef %122, i32 noundef 1, ptr noundef nonnull @.str) #3 br label %124 124: ; preds = %85, %80, %115, %121 %125 = phi i32 [ -1, %121 ], [ %59, %85 ], [ %59, %80 ], [ %116, %115 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 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 %125 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @stv090x_get_loop_params(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @STV090x_WRITE_DEMOD(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stv090x_search_car_loop(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stv090x_chk_signal(ptr noundef) local_unnamed_addr #2 declare i32 @STV090x_READ_DEMOD(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @STV090x_GETFIELD_Px(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 declare i32 @dprintk(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !7, i64 0} !6 = !{!"stv090x_state", !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, !7, i64 0} !13 = !{!"TYPE_2__", !7, i64 0} !14 = !{!7, !7, i64 0} !15 = distinct !{!15, !16} !16 = !{!"llvm.loop.mustprogress"}
; ModuleID = 'AnghaBench/linux/drivers/media/dvb-frontends/extr_stv090x.c_stv090x_sw_algo.c' source_filename = "AnghaBench/linux/drivers/media/dvb-frontends/extr_stv090x.c_stv090x_sw_algo.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @CARFREQ = common local_unnamed_addr global i32 0, align 4 @DMDCFGMD = common local_unnamed_addr global i32 0, align 4 @CORRELABS = common local_unnamed_addr global i32 0, align 4 @DMDSTATE = common local_unnamed_addr global i32 0, align 4 @HEADER_MODE_FIELD = common local_unnamed_addr global i32 0, align 4 @STV090x_DVBS2 = common local_unnamed_addr global i32 0, align 4 @DMDFLYW = common local_unnamed_addr global i32 0, align 4 @FLYWHEEL_CPT_FIELD = common local_unnamed_addr global i32 0, align 4 @FE_ERROR = common local_unnamed_addr global i32 0, align 4 @.str = private unnamed_addr constant [10 x i8] c"I/O error\00", align 1 @llvm.used = appending global [1 x ptr] [ptr @stv090x_sw_algo], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal i32 @stv090x_sw_algo(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = 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 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3 %5 = call i32 @stv090x_get_loop_params(ptr noundef %0, ptr noundef nonnull %2, ptr noundef nonnull %3, ptr noundef nonnull %4) #3 %6 = load i32, ptr %0, align 8, !tbaa !6 switch i32 %6, label %33 [ i32 129, label %7 i32 130, label %7 i32 128, label %20 ] 7: ; preds = %1, %1 %8 = getelementptr inbounds i8, ptr %0, i64 8 %9 = load ptr, ptr %8, align 8, !tbaa !12 %10 = load i32, ptr %9, align 4, !tbaa !13 %11 = icmp sgt i32 %10, 31 br i1 %11, label %12, label %16 12: ; preds = %7 %13 = load i32, ptr @CARFREQ, align 4, !tbaa !15 %14 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %13, i32 noundef 59) #3 %15 = icmp slt i64 %14, 0 br i1 %15, label %119, label %16 16: ; preds = %12, %7 %17 = load i32, ptr @DMDCFGMD, align 4, !tbaa !15 %18 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %17, i32 noundef 73) #3 %19 = icmp slt i64 %18, 0 br i1 %19, label %119, label %50 20: ; preds = %1 %21 = getelementptr inbounds i8, ptr %0, i64 8 %22 = load ptr, ptr %21, align 8, !tbaa !12 %23 = load i32, ptr %22, align 4, !tbaa !13 %24 = icmp sgt i32 %23, 31 br i1 %24, label %25, label %29 25: ; preds = %20 %26 = load i32, ptr @CORRELABS, align 4, !tbaa !15 %27 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %26, i32 noundef 121) #3 %28 = icmp slt i64 %27, 0 br i1 %28, label %119, label %29 29: ; preds = %25, %20 %30 = load i32, ptr @DMDCFGMD, align 4, !tbaa !15 %31 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %30, i32 noundef 137) #3 %32 = icmp slt i64 %31, 0 br i1 %32, label %119, label %50 33: ; preds = %1 %34 = getelementptr inbounds i8, ptr %0, i64 8 %35 = load ptr, ptr %34, align 8, !tbaa !12 %36 = load i32, ptr %35, align 4, !tbaa !13 %37 = icmp sgt i32 %36, 31 br i1 %37, label %38, label %46 38: ; preds = %33 %39 = load i32, ptr @CARFREQ, align 4, !tbaa !15 %40 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %39, i32 noundef 59) #3 %41 = icmp slt i64 %40, 0 br i1 %41, label %119, label %42 42: ; preds = %38 %43 = load i32, ptr @CORRELABS, align 4, !tbaa !15 %44 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %43, i32 noundef 121) #3 %45 = icmp slt i64 %44, 0 br i1 %45, label %119, label %46 46: ; preds = %42, %33 %47 = load i32, ptr @DMDCFGMD, align 4, !tbaa !15 %48 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %47, i32 noundef 201) #3 %49 = icmp slt i64 %48, 0 br i1 %49, label %119, label %50 50: ; preds = %46, %29, %16 %51 = phi i32 [ 0, %16 ], [ 1, %29 ], [ 0, %46 ] %52 = getelementptr inbounds i8, ptr %0, i64 8 br label %53 53: ; preds = %114, %50 %54 = phi i1 [ false, %50 ], [ true, %114 ] %55 = load i32, ptr %2, align 4, !tbaa !15 %56 = load i32, ptr %3, align 4, !tbaa !15 %57 = load i32, ptr %4, align 4, !tbaa !15 %58 = call i32 @stv090x_search_car_loop(ptr noundef nonnull %0, i32 noundef %55, i32 noundef %56, i32 noundef %51, i32 noundef %57) #3 %59 = call i32 @stv090x_chk_signal(ptr noundef nonnull %0) #3 %60 = icmp ne i32 %58, 0 %61 = icmp ne i32 %59, 0 %62 = select i1 %60, i1 true, i1 %61 %63 = or i1 %54, %62 br i1 %63, label %64, label %114 64: ; preds = %53 %65 = load ptr, ptr %52, align 8, !tbaa !12 %66 = load i32, ptr %65, align 4, !tbaa !13 %67 = icmp sgt i32 %66, 31 br i1 %67, label %68, label %76 68: ; preds = %64 %69 = load i32, ptr @CARFREQ, align 4, !tbaa !15 %70 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %69, i32 noundef 73) #3 %71 = icmp slt i64 %70, 0 br i1 %71, label %119, label %72 72: ; preds = %68 %73 = load i32, ptr @CORRELABS, align 4, !tbaa !15 %74 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %73, i32 noundef 158) #3 %75 = icmp slt i64 %74, 0 br i1 %75, label %119, label %76 76: ; preds = %72, %64 %77 = load i32, ptr @DMDSTATE, align 4, !tbaa !15 %78 = call i32 @STV090x_READ_DEMOD(ptr noundef nonnull %0, i32 noundef %77) #3 br i1 %60, label %79, label %114 79: ; preds = %76 %80 = load i32, ptr @HEADER_MODE_FIELD, align 4, !tbaa !15 %81 = call i32 @STV090x_GETFIELD_Px(i32 noundef %78, i32 noundef %80) #3 %82 = load i32, ptr @STV090x_DVBS2, align 4, !tbaa !15 %83 = icmp eq i32 %81, %82 br i1 %83, label %84, label %122 84: ; preds = %79 %85 = load i32, ptr %3, align 4, !tbaa !15 %86 = call i32 @msleep(i32 noundef %85) #3 %87 = load i32, ptr @DMDFLYW, align 4, !tbaa !15 %88 = call i32 @STV090x_READ_DEMOD(ptr noundef nonnull %0, i32 noundef %87) #3 %89 = load i32, ptr @FLYWHEEL_CPT_FIELD, align 4, !tbaa !15 %90 = call i32 @STV090x_GETFIELD_Px(i32 noundef %88, i32 noundef %89) #3 %91 = icmp slt i32 %90, 13 br i1 %91, label %92, label %122 92: ; preds = %84 %93 = load i32, ptr %3, align 4, !tbaa !15 %94 = call i32 @msleep(i32 noundef %93) #3 %95 = load i32, ptr @DMDFLYW, align 4, !tbaa !15 %96 = call i32 @STV090x_READ_DEMOD(ptr noundef nonnull %0, i32 noundef %95) #3 %97 = load i32, ptr @FLYWHEEL_CPT_FIELD, align 4, !tbaa !15 %98 = call i32 @STV090x_GETFIELD_Px(i32 noundef %96, i32 noundef %97) #3 %99 = icmp sgt i32 %98, 12 %100 = or i1 %54, %99 %101 = select i1 %99, i32 %58, i32 0 br i1 %100, label %114, label %102 102: ; preds = %92 %103 = load ptr, ptr %52, align 8, !tbaa !12 %104 = load i32, ptr %103, align 4, !tbaa !13 %105 = icmp sgt i32 %104, 31 br i1 %105, label %106, label %110 106: ; preds = %102 %107 = load i32, ptr @CORRELABS, align 4, !tbaa !15 %108 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %107, i32 noundef 121) #3 %109 = icmp slt i64 %108, 0 br i1 %109, label %119, label %110 110: ; preds = %106, %102 %111 = load i32, ptr @DMDCFGMD, align 4, !tbaa !15 %112 = call i64 @STV090x_WRITE_DEMOD(ptr noundef nonnull %0, i32 noundef %111, i32 noundef 137) #3 %113 = icmp slt i64 %112, 0 br i1 %113, label %119, label %114 114: ; preds = %92, %53, %110, %76 %115 = phi i32 [ 0, %110 ], [ %101, %92 ], [ 0, %76 ], [ 0, %53 ] %116 = icmp ne i32 %115, 0 %117 = or i1 %54, %116 %118 = select i1 %117, i1 true, i1 %61 br i1 %118, label %122, label %53, !llvm.loop !16 119: ; preds = %110, %106, %72, %68, %46, %42, %38, %29, %25, %16, %12 %120 = load i32, ptr @FE_ERROR, align 4, !tbaa !15 %121 = call i32 @dprintk(i32 noundef %120, i32 noundef 1, ptr noundef nonnull @.str) #3 br label %122 122: ; preds = %84, %79, %114, %119 %123 = phi i32 [ -1, %119 ], [ %58, %84 ], [ %58, %79 ], [ %115, %114 ] call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3 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 %123 } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @stv090x_get_loop_params(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2 declare i64 @STV090x_WRITE_DEMOD(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stv090x_search_car_loop(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @stv090x_chk_signal(ptr noundef) local_unnamed_addr #2 declare i32 @STV090x_READ_DEMOD(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @STV090x_GETFIELD_Px(i32 noundef, i32 noundef) local_unnamed_addr #2 declare i32 @msleep(i32 noundef) local_unnamed_addr #2 declare i32 @dprintk(i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !8, i64 0} !7 = !{!"stv090x_state", !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, !8, i64 0} !14 = !{!"TYPE_2__", !8, i64 0} !15 = !{!8, !8, i64 0} !16 = distinct !{!16, !17} !17 = !{!"llvm.loop.mustprogress"}
linux_drivers_media_dvb-frontends_extr_stv090x.c_stv090x_sw_algo
; ModuleID = 'AnghaBench/libuv/test/extr_test-tcp-open.c_write1_cb.c' source_filename = "AnghaBench/libuv/test/extr_test-tcp-open.c_write1_cb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @shutdown_cb_called = dso_local local_unnamed_addr global i32 0, align 4 @shutdown_requested = dso_local local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [2 x i8] c"P\00", align 1 @write_req = dso_local global i32 0, align 4 @write_cb_called = dso_local local_unnamed_addr global i32 0, align 4 @llvm.compiler.used = appending global [1 x ptr] [ptr @write1_cb], section "llvm.metadata" ; Function Attrs: nounwind uwtable define internal void @write1_cb(ptr noundef readonly %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #3 %7 = icmp eq i32 %1, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr @shutdown_cb_called, align 4, !tbaa !5 %10 = tail call i32 @ASSERT(i32 noundef %9) #3 br label %23 11: ; preds = %2 %12 = load i64, ptr @shutdown_requested, align 8, !tbaa !9 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = tail call i32 @uv_buf_init(ptr noundef nonnull @.str, i32 noundef 1) #3 store i32 %15, ptr %3, align 4, !tbaa !5 %16 = load i32, ptr %0, align 4, !tbaa !11 %17 = call i32 @uv_write(ptr noundef nonnull @write_req, i32 noundef %16, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull @write1_cb) #3 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @ASSERT(i32 noundef %19) #3 %21 = load i32, ptr @write_cb_called, align 4, !tbaa !5 %22 = add nsw i32 %21, 1 store i32 %22, ptr @write_cb_called, align 4, !tbaa !5 br label %23 23: ; preds = %11, %14, %8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @uv_buf_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @uv_write(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3} !llvm.ident = !{!4} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{!"clang version 18.1.8 (https://github.com/llvm/llvm-project.git 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)"} !5 = !{!6, !6, i64 0} !6 = !{!"int", !7, i64 0} !7 = !{!"omnipotent char", !8, i64 0} !8 = !{!"Simple C/C++ TBAA"} !9 = !{!10, !10, i64 0} !10 = !{!"long", !7, i64 0} !11 = !{!12, !6, i64 0} !12 = !{!"TYPE_4__", !6, i64 0}
; ModuleID = 'AnghaBench/libuv/test/extr_test-tcp-open.c_write1_cb.c' source_filename = "AnghaBench/libuv/test/extr_test-tcp-open.c_write1_cb.c" target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128-Fn32" target triple = "arm64-apple-macosx15.0.0" @shutdown_cb_called = common local_unnamed_addr global i32 0, align 4 @shutdown_requested = common local_unnamed_addr global i64 0, align 8 @.str = private unnamed_addr constant [2 x i8] c"P\00", align 1 @write_req = common global i32 0, align 4 @write_cb_called = common local_unnamed_addr global i32 0, align 4 @llvm.used = appending global [1 x ptr] [ptr @write1_cb], section "llvm.metadata" ; Function Attrs: nounwind ssp uwtable(sync) define internal void @write1_cb(ptr noundef readonly %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3 %4 = icmp ne ptr %0, null %5 = zext i1 %4 to i32 %6 = tail call i32 @ASSERT(i32 noundef %5) #3 %7 = icmp eq i32 %1, 0 br i1 %7, label %11, label %8 8: ; preds = %2 %9 = load i32, ptr @shutdown_cb_called, align 4, !tbaa !6 %10 = tail call i32 @ASSERT(i32 noundef %9) #3 br label %23 11: ; preds = %2 %12 = load i64, ptr @shutdown_requested, align 8, !tbaa !10 %13 = icmp eq i64 %12, 0 br i1 %13, label %14, label %23 14: ; preds = %11 %15 = tail call i32 @uv_buf_init(ptr noundef nonnull @.str, i32 noundef 1) #3 store i32 %15, ptr %3, align 4, !tbaa !6 %16 = load i32, ptr %0, align 4, !tbaa !12 %17 = call i32 @uv_write(ptr noundef nonnull @write_req, i32 noundef %16, ptr noundef nonnull %3, i32 noundef 1, ptr noundef nonnull @write1_cb) #3 %18 = icmp eq i32 %17, 0 %19 = zext i1 %18 to i32 %20 = call i32 @ASSERT(i32 noundef %19) #3 %21 = load i32, ptr @write_cb_called, align 4, !tbaa !6 %22 = add nsw i32 %21, 1 store i32 %22, ptr @write_cb_called, align 4, !tbaa !6 br label %23 23: ; preds = %11, %14, %8 call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3 ret void } ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1 declare i32 @ASSERT(i32 noundef) local_unnamed_addr #2 declare i32 @uv_buf_init(ptr noundef, i32 noundef) local_unnamed_addr #2 declare i32 @uv_write(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2 ; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1 attributes #0 = { nounwind ssp uwtable(sync) "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="non-leaf" "no-trapping-math"="true" "probe-stack"="__chkstk_darwin" "stack-protector-buffer-size"="8" "target-cpu"="apple-m1" "target-features"="+aes,+altnzcv,+bti,+ccdp,+ccidx,+complxnum,+crc,+dit,+dotprod,+flagm,+fp-armv8,+fp16fml,+fptoint,+fullfp16,+jsconv,+lse,+neon,+pauth,+perfmon,+predres,+ras,+rcpc,+rdm,+sb,+sha2,+sha3,+specrestrict,+ssbs,+v8.1a,+v8.2a,+v8.3a,+v8.4a,+v8.5a,+v8a,+zcm,+zcz" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]} !1 = !{i32 1, !"wchar_size", i32 4} !2 = !{i32 8, !"PIC Level", i32 2} !3 = !{i32 7, !"uwtable", i32 1} !4 = !{i32 7, !"frame-pointer", i32 1} !5 = !{!"Apple clang version 17.0.0 (clang-1700.0.13.5)"} !6 = !{!7, !7, i64 0} !7 = !{!"int", !8, i64 0} !8 = !{!"omnipotent char", !9, i64 0} !9 = !{!"Simple C/C++ TBAA"} !10 = !{!11, !11, i64 0} !11 = !{!"long", !8, i64 0} !12 = !{!13, !7, i64 0} !13 = !{!"TYPE_4__", !7, i64 0}
libuv_test_extr_test-tcp-open.c_write1_cb