; LLVM IR from tezc/sc :: memory-map (sc_mmap)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.sc_mmap = type { i32, i64, ptr, i64, [128 x i8] }

; Function Attrs: nounwind uwtable
define dso_local i32 @sc_mmap_init(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5, i64 noundef %6) #0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.stat, align 8
  %23 = alloca %struct.sc_mmap, align 8
  %24 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i32 %2, ptr %11, align 4, !tbaa !9
  store i32 %3, ptr %12, align 4, !tbaa !9
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i64 %5, ptr %14, align 8, !tbaa !11
  store i64 %6, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 420, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  store ptr null, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 144, ptr %22) #7
  %25 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %23, i8 0, i64 160, i1 false)
  %26 = getelementptr inbounds %struct.sc_mmap, ptr %23, i32 0, i32 0
  store i32 -1, ptr %26, align 8, !tbaa !13
  %27 = getelementptr inbounds %struct.sc_mmap, ptr %23, i32 0, i32 1
  %28 = getelementptr inbounds %struct.sc_mmap, ptr %23, i32 0, i32 2
  %29 = getelementptr inbounds %struct.sc_mmap, ptr %23, i32 0, i32 3
  %30 = getelementptr inbounds %struct.sc_mmap, ptr %23, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %23, i64 160, i1 false), !tbaa.struct !15
  %31 = call i64 @sysconf(i32 noundef 30) #7
  store i64 %31, ptr %20, align 8, !tbaa !11
  %32 = load i64, ptr %20, align 8, !tbaa !11
  %33 = icmp slt i64 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %7
  br label %109

35:                                               ; preds = %7
  %36 = load i64, ptr %20, align 8, !tbaa !11
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.sc_mmap, ptr %37, i32 0, i32 1
  store i64 %36, ptr %38, align 8, !tbaa !17
  %39 = load ptr, ptr %10, align 8, !tbaa !5
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = call i32 (ptr, i32, ...) @open(ptr noundef %39, i32 noundef %40, i32 noundef 420)
  store i32 %41, ptr %17, align 4, !tbaa !9
  %42 = load i32, ptr %17, align 4, !tbaa !9
  %43 = icmp eq i32 %42, -1
  br i1 %43, label %44, label %45

44:                                               ; preds = %35
  br label %109

45:                                               ; preds = %35
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call i32 @stat(ptr noundef %46, ptr noundef %22) #7
  store i32 %47, ptr %18, align 4, !tbaa !9
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %51

50:                                               ; preds = %45
  br label %102

51:                                               ; preds = %45
  %52 = load i64, ptr %15, align 8, !tbaa !11
  %53 = icmp eq i64 %52, 0
  br i1 %53, label %54, label %59

54:                                               ; preds = %51
  %55 = getelementptr inbounds %struct.stat, ptr %22, i32 0, i32 8
  %56 = load i64, ptr %55, align 8, !tbaa !18
  %57 = load i64, ptr %14, align 8, !tbaa !11
  %58 = sub i64 %56, %57
  br label %61

59:                                               ; preds = %51
  %60 = load i64, ptr %15, align 8, !tbaa !11
  br label %61

61:                                               ; preds = %59, %54
  %62 = phi i64 [ %58, %54 ], [ %60, %59 ]
  store i64 %62, ptr %15, align 8, !tbaa !11
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = and i32 %63, 2
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %82

66:                                               ; preds = %61
  br label %67

67:                                               ; preds = %72, %66
  %68 = load i32, ptr %17, align 4, !tbaa !9
  %69 = load i64, ptr %14, align 8, !tbaa !11
  %70 = load i64, ptr %15, align 8, !tbaa !11
  %71 = call i32 @posix_fallocate(i32 noundef %68, i64 noundef %69, i64 noundef %70)
  store i32 %71, ptr %18, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %67
  %73 = load i32, ptr %18, align 4, !tbaa !9
  %74 = icmp eq i32 %73, 4
  br i1 %74, label %67, label %75, !llvm.loop !21

75:                                               ; preds = %72
  %76 = load i32, ptr %18, align 4, !tbaa !9
  %77 = icmp ne i32 %76, 0
  br i1 %77, label %78, label %81

78:                                               ; preds = %75
  %79 = load i32, ptr %18, align 4, !tbaa !9
  %80 = call ptr @__errno_location() #8
  store i32 %79, ptr %80, align 4, !tbaa !9
  br label %102

81:                                               ; preds = %75
  br label %82

82:                                               ; preds = %81, %61
  %83 = load i64, ptr %15, align 8, !tbaa !11
  %84 = load i32, ptr %12, align 4, !tbaa !9
  %85 = load i32, ptr %13, align 4, !tbaa !9
  %86 = load i32, ptr %17, align 4, !tbaa !9
  %87 = load i64, ptr %14, align 8, !tbaa !11
  %88 = call ptr @mmap(ptr noundef null, i64 noundef %83, i32 noundef %84, i32 noundef %85, i32 noundef %86, i64 noundef %87) #7
  store ptr %88, ptr %21, align 8, !tbaa !5
  %89 = load ptr, ptr %21, align 8, !tbaa !5
  %90 = icmp eq ptr %89, inttoptr (i64 -1 to ptr)
  br i1 %90, label %91, label %92

91:                                               ; preds = %82
  br label %102

92:                                               ; preds = %82
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = load ptr, ptr %9, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.sc_mmap, ptr %94, i32 0, i32 0
  store i32 %93, ptr %95, align 8, !tbaa !13
  %96 = load ptr, ptr %21, align 8, !tbaa !5
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.sc_mmap, ptr %97, i32 0, i32 2
  store ptr %96, ptr %98, align 8, !tbaa !23
  %99 = load i64, ptr %15, align 8, !tbaa !11
  %100 = load ptr, ptr %9, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.sc_mmap, ptr %100, i32 0, i32 3
  store i64 %99, ptr %101, align 8, !tbaa !24
  store i32 0, ptr %8, align 4
  store i32 1, ptr %24, align 4
  br label %117

102:                                              ; preds = %91, %78, %50
  %103 = call ptr @__errno_location() #8
  %104 = load i32, ptr %103, align 4, !tbaa !9
  store i32 %104, ptr %19, align 4, !tbaa !9
  %105 = load i32, ptr %17, align 4, !tbaa !9
  %106 = call i32 @close(i32 noundef %105)
  %107 = load i32, ptr %19, align 4, !tbaa !9
  %108 = call ptr @__errno_location() #8
  store i32 %107, ptr %108, align 4, !tbaa !9
  br label %109

109:                                              ; preds = %102, %44, %34
  %110 = load ptr, ptr %9, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.sc_mmap, ptr %110, i32 0, i32 4
  %112 = getelementptr inbounds [128 x i8], ptr %111, i64 0, i64 0
  %113 = call ptr @__errno_location() #8
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = call ptr @strerror(i32 noundef %114) #7
  %116 = call ptr @strncpy(ptr noundef %112, ptr noundef %115, i64 noundef 127) #7
  store i32 -1, ptr %8, align 4
  store i32 1, ptr %24, align 4
  br label %117

117:                                              ; preds = %109, %92
  call void @llvm.lifetime.end.p0(i64 144, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  %118 = load i32, ptr %8, align 4
  ret i32 %118
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.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) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) #4

declare i32 @open(ptr noundef, i32 noundef, ...) #5

; Function Attrs: nounwind
declare i32 @stat(ptr noundef, ptr noundef) #4

declare i32 @posix_fallocate(i32 noundef, i64 noundef, i64 noundef) #5

; Function Attrs: nounwind willreturn memory(none)
declare ptr @__errno_location() #6

; Function Attrs: nounwind
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) #4

declare i32 @close(i32 noundef) #5

; Function Attrs: nounwind
declare ptr @strncpy(ptr noundef, ptr noundef, i64 noundef) #4

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) #4

; Function Attrs: 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind willreturn memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { nounwind 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 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"sc_mmap", !10, i64 0, !12, i64 8, !6, i64 16, !12, i64 24, !7, i64 32}
!15 = !{i64 0, i64 4, !9, i64 8, i64 8, !11, i64 16, i64 8, !5, i64 24, i64 8, !11, i64 32, i64 128, !16}
!16 = !{!7, !7, i64 0}
!17 = !{!14, !12, i64 8}
!18 = !{!19, !12, i64 48}
!19 = !{!"stat", !12, i64 0, !12, i64 8, !12, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !12, i64 40, !12, i64 48, !12, i64 56, !12, i64 64, !20, i64 72, !20, i64 88, !20, i64 104, !7, i64 120}
!20 = !{!"timespec", !12, i64 0, !12, i64 8}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!14, !6, i64 16}
!24 = !{!14, !12, i64 24}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-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.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @sc_mmap_init(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i64 noundef %5, i64 noundef %6) local_unnamed_addr #0 {
  %8 = alloca %struct.stat, align 8
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %8) #9
  store i32 -1, ptr %0, align 8, !tbaa !5
  %.sroa.3.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 4
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(156) %.sroa.3.0..sroa_idx, i8 0, i64 156, i1 false)
  %9 = tail call i64 @sysconf(i32 noundef 30) #9
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %36, label %11

11:                                               ; preds = %7
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %9, ptr %12, align 8, !tbaa !9
  %13 = tail call i32 (ptr, i32, ...) @open(ptr noundef %1, i32 noundef %2, i32 noundef 420) #9
  %14 = icmp eq i32 %13, -1
  br i1 %14, label %36, label %15

15:                                               ; preds = %11
  %16 = call i32 @stat(ptr noundef %1, ptr noundef nonnull %8) #9
  %.not = icmp eq i32 %16, 0
  br i1 %.not, label %17, label %32

17:                                               ; preds = %15
  %18 = icmp eq i64 %6, 0
  %19 = getelementptr inbounds i8, ptr %8, i64 48
  %20 = load i64, ptr %19, align 8
  %21 = sub i64 %20, %5
  %22 = select i1 %18, i64 %21, i64 %6
  %23 = and i32 %3, 2
  %.not38 = icmp eq i32 %23, 0
  br i1 %.not38, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %17, %.preheader
  %24 = tail call i32 @posix_fallocate(i32 noundef %13, i64 noundef %5, i64 noundef %22) #9
  switch i32 %24, label %25 [
    i32 4, label %.preheader
    i32 0, label %.loopexit
  ]

25:                                               ; preds = %.preheader
  %26 = tail call ptr @__errno_location() #10
  store i32 %24, ptr %26, align 4, !tbaa !5
  br label %32

.loopexit:                                        ; preds = %.preheader, %17
  %27 = tail call ptr @mmap(ptr noundef null, i64 noundef %22, i32 noundef %3, i32 noundef %4, i32 noundef %13, i64 noundef %5) #9
  %28 = icmp eq ptr %27, inttoptr (i64 -1 to ptr)
  br i1 %28, label %32, label %29

29:                                               ; preds = %.loopexit
  store i32 %13, ptr %0, align 8, !tbaa !13
  %30 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %27, ptr %30, align 8, !tbaa !14
  %31 = getelementptr inbounds i8, ptr %0, i64 24
  store i64 %22, ptr %31, align 8, !tbaa !15
  br label %42

32:                                               ; preds = %.loopexit, %15, %25
  %33 = tail call ptr @__errno_location() #10
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = tail call i32 @close(i32 noundef %13) #9
  store i32 %34, ptr %33, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %11, %7, %32
  %37 = getelementptr inbounds i8, ptr %0, i64 32
  %38 = tail call ptr @__errno_location() #10
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = tail call ptr @strerror(i32 noundef %39) #9
  %41 = tail call ptr @strncpy(ptr noundef nonnull dereferenceable(1) %37, ptr noundef nonnull dereferenceable(1) %40, i64 noundef 127) #9
  br label %42

42:                                               ; preds = %36, %29
  %.0 = phi i32 [ -1, %36 ], [ 0, %29 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %8) #9
  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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) local_unnamed_addr #3

; Function Attrs: nofree
declare noundef i32 @open(ptr nocapture noundef readonly, i32 noundef, ...) local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare noundef i32 @stat(ptr nocapture noundef readonly, ptr nocapture noundef) local_unnamed_addr #5

declare i32 @posix_fallocate(i32 noundef, i64 noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none)
declare ptr @__errno_location() local_unnamed_addr #7

; Function Attrs: nounwind
declare ptr @mmap(ptr noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #3

declare i32 @close(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite)
declare ptr @strncpy(ptr noalias noundef returned writeonly, ptr noalias nocapture noundef readonly, i64 noundef) local_unnamed_addr #8

; Function Attrs: nounwind
declare ptr @strerror(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { 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 #4 = { nofree "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nofree nosync nounwind willreturn memory(none) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { nounwind 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 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!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 = !{!"sc_mmap", !6, i64 0, !11, i64 8, !12, i64 16, !11, i64 24, !7, i64 32}
!11 = !{!"long", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 0}
!14 = !{!10, !12, i64 16}
!15 = !{!10, !11, i64 24}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass