; LLVM IR from gunrock/gunrock :: include/gunrock/io/detail (mmio)

; 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"

@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@stdout = external global ptr, align 8
@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [25 x i8], align 1

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

declare noalias ptr @fopen(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @mm_typecode_to_str(ptr noundef) #3

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

declare i32 @fclose(ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local i32 @mm_write_mtx_crd(ptr noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #5 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store i64 %1, ptr %11, align 8, !tbaa !9
  store i64 %2, ptr %12, align 8, !tbaa !9
  store i64 %3, ptr %13, align 8, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.29) #7
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %26

24:                                               ; preds = %8
  %25 = load ptr, ptr @stdout, align 8, !tbaa !5
  store ptr %25, ptr %18, align 8, !tbaa !5
  br label %32

26:                                               ; preds = %8
  %27 = load ptr, ptr %10, align 8, !tbaa !5
  %28 = call noalias ptr @fopen(ptr noundef %27, ptr noundef @.str.30)
  store ptr %28, ptr %18, align 8, !tbaa !5
  %29 = icmp eq ptr %28, null
  br i1 %29, label %30, label %31

30:                                               ; preds = %26
  store i32 17, ptr %9, align 4
  store i32 1, ptr %20, align 4
  br label %154

31:                                               ; preds = %26
  br label %32

32:                                               ; preds = %31, %24
  %33 = load ptr, ptr %18, align 8, !tbaa !5
  %34 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %33, ptr noundef @.str.31, ptr noundef @.str.9) #6
  %35 = load ptr, ptr %18, align 8, !tbaa !5
  %36 = load ptr, ptr %17, align 8, !tbaa !5
  %37 = call ptr @mm_typecode_to_str(ptr noundef %36)
  %38 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef @.str.32, ptr noundef %37) #6
  %39 = load ptr, ptr %18, align 8, !tbaa !5
  %40 = load i64, ptr %11, align 8, !tbaa !9
  %41 = load i64, ptr %12, align 8, !tbaa !9
  %42 = load i64, ptr %13, align 8, !tbaa !9
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef @.str.33, i64 noundef %40, i64 noundef %41, i64 noundef %42) #6
  %44 = load ptr, ptr %17, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %44, i64 2
  %46 = load i8, ptr %45, align 1, !tbaa !11
  %47 = sext i8 %46 to i32
  %48 = icmp eq i32 %47, 80
  br i1 %48, label %49, label %69

49:                                               ; preds = %32
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %65, %49
  %51 = load i64, ptr %19, align 8, !tbaa !9
  %52 = load i64, ptr %13, align 8, !tbaa !9
  %53 = icmp ult i64 %51, %52
  br i1 %53, label %54, label %68

54:                                               ; preds = %50
  %55 = load ptr, ptr %18, align 8, !tbaa !5
  %56 = load ptr, ptr %14, align 8, !tbaa !5
  %57 = load i64, ptr %19, align 8, !tbaa !9
  %58 = getelementptr inbounds i64, ptr %56, i64 %57
  %59 = load i64, ptr %58, align 8, !tbaa !9
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  %61 = load i64, ptr %19, align 8, !tbaa !9
  %62 = getelementptr inbounds i64, ptr %60, i64 %61
  %63 = load i64, ptr %62, align 8, !tbaa !9
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %55, ptr noundef @.str.34, i64 noundef %59, i64 noundef %63) #6
  br label %65

65:                                               ; preds = %54
  %66 = load i64, ptr %19, align 8, !tbaa !9
  %67 = add i64 %66, 1
  store i64 %67, ptr %19, align 8, !tbaa !9
  br label %50, !llvm.loop !12

68:                                               ; preds = %50
  br label %146

69:                                               ; preds = %32
  %70 = load ptr, ptr %17, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %70, i64 2
  %72 = load i8, ptr %71, align 1, !tbaa !11
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 82
  br i1 %74, label %75, label %99

75:                                               ; preds = %69
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %95, %75
  %77 = load i64, ptr %19, align 8, !tbaa !9
  %78 = load i64, ptr %13, align 8, !tbaa !9
  %79 = icmp ult i64 %77, %78
  br i1 %79, label %80, label %98

80:                                               ; preds = %76
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  %82 = load ptr, ptr %14, align 8, !tbaa !5
  %83 = load i64, ptr %19, align 8, !tbaa !9
  %84 = getelementptr inbounds i64, ptr %82, i64 %83
  %85 = load i64, ptr %84, align 8, !tbaa !9
  %86 = load ptr, ptr %15, align 8, !tbaa !5
  %87 = load i64, ptr %19, align 8, !tbaa !9
  %88 = getelementptr inbounds i64, ptr %86, i64 %87
  %89 = load i64, ptr %88, align 8, !tbaa !9
  %90 = load ptr, ptr %16, align 8, !tbaa !5
  %91 = load i64, ptr %19, align 8, !tbaa !9
  %92 = getelementptr inbounds double, ptr %90, i64 %91
  %93 = load double, ptr %92, align 8, !tbaa !14
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %81, ptr noundef @.str.35, i64 noundef %85, i64 noundef %89, double noundef %93) #6
  br label %95

95:                                               ; preds = %80
  %96 = load i64, ptr %19, align 8, !tbaa !9
  %97 = add i64 %96, 1
  store i64 %97, ptr %19, align 8, !tbaa !9
  br label %76, !llvm.loop !16

98:                                               ; preds = %76
  br label %145

99:                                               ; preds = %69
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %100, i64 2
  %102 = load i8, ptr %101, align 1, !tbaa !11
  %103 = sext i8 %102 to i32
  %104 = icmp eq i32 %103, 67
  br i1 %104, label %105, label %136

105:                                              ; preds = %99
  store i64 0, ptr %19, align 8, !tbaa !9
  br label %106

106:                                              ; preds = %132, %105
  %107 = load i64, ptr %19, align 8, !tbaa !9
  %108 = load i64, ptr %13, align 8, !tbaa !9
  %109 = icmp ult i64 %107, %108
  br i1 %109, label %110, label %135

110:                                              ; preds = %106
  %111 = load ptr, ptr %18, align 8, !tbaa !5
  %112 = load ptr, ptr %14, align 8, !tbaa !5
  %113 = load i64, ptr %19, align 8, !tbaa !9
  %114 = getelementptr inbounds i64, ptr %112, i64 %113
  %115 = load i64, ptr %114, align 8, !tbaa !9
  %116 = load ptr, ptr %15, align 8, !tbaa !5
  %117 = load i64, ptr %19, align 8, !tbaa !9
  %118 = getelementptr inbounds i64, ptr %116, i64 %117
  %119 = load i64, ptr %118, align 8, !tbaa !9
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = load i64, ptr %19, align 8, !tbaa !9
  %122 = mul i64 2, %121
  %123 = getelementptr inbounds double, ptr %120, i64 %122
  %124 = load double, ptr %123, align 8, !tbaa !14
  %125 = load ptr, ptr %16, align 8, !tbaa !5
  %126 = load i64, ptr %19, align 8, !tbaa !9
  %127 = mul i64 2, %126
  %128 = add i64 %127, 1
  %129 = getelementptr inbounds double, ptr %125, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !14
  %131 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.36, i64 noundef %115, i64 noundef %119, double noundef %124, double noundef %130) #6
  br label %132

132:                                              ; preds = %110
  %133 = load i64, ptr %19, align 8, !tbaa !9
  %134 = add i64 %133, 1
  store i64 %134, ptr %19, align 8, !tbaa !9
  br label %106, !llvm.loop !17

135:                                              ; preds = %106
  br label %144

136:                                              ; preds = %99
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = load ptr, ptr @stdout, align 8, !tbaa !5
  %139 = icmp ne ptr %137, %138
  br i1 %139, label %140, label %143

140:                                              ; preds = %136
  %141 = load ptr, ptr %18, align 8, !tbaa !5
  %142 = call i32 @fclose(ptr noundef %141)
  br label %143

143:                                              ; preds = %140, %136
  store i32 15, ptr %9, align 4
  store i32 1, ptr %20, align 4
  br label %154

144:                                              ; preds = %135
  br label %145

145:                                              ; preds = %144, %98
  br label %146

146:                                              ; preds = %145, %68
  %147 = load ptr, ptr %18, align 8, !tbaa !5
  %148 = load ptr, ptr @stdout, align 8, !tbaa !5
  %149 = icmp ne ptr %147, %148
  br i1 %149, label %150, label %153

150:                                              ; preds = %146
  %151 = load ptr, ptr %18, align 8, !tbaa !5
  %152 = call i32 @fclose(ptr noundef %151)
  br label %153

153:                                              ; preds = %150, %146
  store i32 0, ptr %9, align 4
  store i32 1, ptr %20, align 4
  br label %154

154:                                              ; preds = %153, %143, %30
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  %155 = load i32, ptr %9, align 4
  ret i32 %155
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-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 willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-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 }
attributes #7 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}


; 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"

@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #0

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @mm_typecode_to_str(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local range(i32 0, 18) i32 @mm_write_mtx_crd(ptr nocapture noundef readonly %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr noundef %7) local_unnamed_addr #1 {
  %9 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %0, ptr noundef nonnull dereferenceable(1) @.str.29) #3
  %10 = icmp eq i32 %9, 0
  br i1 %10, label %11, label %13

11:                                               ; preds = %8
  %12 = load ptr, ptr @stdout, align 8, !tbaa !5
  br label %16

13:                                               ; preds = %8
  %14 = tail call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.30)
  %15 = icmp eq ptr %14, null
  br i1 %15, label %53, label %16

16:                                               ; preds = %13, %11
  %.046 = phi ptr [ %12, %11 ], [ %14, %13 ]
  %17 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %.046, ptr noundef nonnull @.str.31, ptr noundef nonnull @.str.9) #4
  %18 = tail call ptr @mm_typecode_to_str(ptr noundef %7)
  %19 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %.046, ptr noundef nonnull @.str.32, ptr noundef %18) #4
  %20 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %.046, ptr noundef nonnull @.str.33, i64 noundef %1, i64 noundef %2, i64 noundef %3) #4
  %21 = getelementptr inbounds i8, ptr %7, i64 2
  %22 = load i8, ptr %21, align 1, !tbaa !9
  switch i8 %22, label %49 [
    i8 80, label %.preheader
    i8 82, label %.preheader51
    i8 67, label %.preheader53
  ]

.preheader53:                                     ; preds = %16
  %.not60 = icmp eq i64 %3, 0
  br i1 %.not60, label %.loopexit, label %.lr.ph

.preheader51:                                     ; preds = %16
  %.not61 = icmp eq i64 %3, 0
  br i1 %.not61, label %.loopexit, label %.lr.ph57

.preheader:                                       ; preds = %16
  %.not62 = icmp eq i64 %3, 0
  br i1 %.not62, label %.loopexit, label %.lr.ph59

.lr.ph59:                                         ; preds = %.preheader, %.lr.ph59
  %.058 = phi i64 [ %28, %.lr.ph59 ], [ 0, %.preheader ]
  %23 = getelementptr inbounds i64, ptr %4, i64 %.058
  %24 = load i64, ptr %23, align 8, !tbaa !10
  %25 = getelementptr inbounds i64, ptr %5, i64 %.058
  %26 = load i64, ptr %25, align 8, !tbaa !10
  %27 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %.046, ptr noundef nonnull @.str.34, i64 noundef %24, i64 noundef %26) #4
  %28 = add nuw i64 %.058, 1
  %exitcond66.not = icmp eq i64 %28, %3
  br i1 %exitcond66.not, label %.loopexit, label %.lr.ph59, !llvm.loop !12

.lr.ph57:                                         ; preds = %.preheader51, %.lr.ph57
  %.156 = phi i64 [ %36, %.lr.ph57 ], [ 0, %.preheader51 ]
  %29 = getelementptr inbounds i64, ptr %4, i64 %.156
  %30 = load i64, ptr %29, align 8, !tbaa !10
  %31 = getelementptr inbounds i64, ptr %5, i64 %.156
  %32 = load i64, ptr %31, align 8, !tbaa !10
  %33 = getelementptr inbounds double, ptr %6, i64 %.156
  %34 = load double, ptr %33, align 8, !tbaa !14
  %35 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %.046, ptr noundef nonnull @.str.35, i64 noundef %30, i64 noundef %32, double noundef %34) #4
  %36 = add nuw i64 %.156, 1
  %exitcond65.not = icmp eq i64 %36, %3
  br i1 %exitcond65.not, label %.loopexit, label %.lr.ph57, !llvm.loop !16

.lr.ph:                                           ; preds = %.preheader53, %.lr.ph
  %.255 = phi i64 [ %48, %.lr.ph ], [ 0, %.preheader53 ]
  %37 = getelementptr inbounds i64, ptr %4, i64 %.255
  %38 = load i64, ptr %37, align 8, !tbaa !10
  %39 = getelementptr inbounds i64, ptr %5, i64 %.255
  %40 = load i64, ptr %39, align 8, !tbaa !10
  %41 = shl i64 %.255, 1
  %42 = getelementptr inbounds double, ptr %6, i64 %41
  %43 = load double, ptr %42, align 8, !tbaa !14
  %44 = or disjoint i64 %41, 1
  %45 = getelementptr inbounds double, ptr %6, i64 %44
  %46 = load double, ptr %45, align 8, !tbaa !14
  %47 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %.046, ptr noundef nonnull @.str.36, i64 noundef %38, i64 noundef %40, double noundef %43, double noundef %46) #4
  %48 = add nuw i64 %.255, 1
  %exitcond.not = icmp eq i64 %48, %3
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph, !llvm.loop !17

49:                                               ; preds = %16
  %50 = load ptr, ptr @stdout, align 8, !tbaa !5
  %.not = icmp eq ptr %.046, %50
  br i1 %.not, label %53, label %.sink.split

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph57, %.lr.ph59, %.preheader53, %.preheader51, %.preheader
  %51 = load ptr, ptr @stdout, align 8, !tbaa !5
  %.not50 = icmp eq ptr %.046, %51
  br i1 %.not50, label %53, label %.sink.split

.sink.split:                                      ; preds = %.loopexit, %49
  %.047.ph = phi i32 [ 15, %49 ], [ 0, %.loopexit ]
  %52 = tail call i32 @fclose(ptr noundef %.046)
  br label %53

53:                                               ; preds = %.sink.split, %.loopexit, %49, %13
  %.047 = phi i32 [ 17, %13 ], [ 15, %49 ], [ 0, %.loopexit ], [ %.047.ph, %.sink.split ]
  ret i32 %.047
}

attributes #0 = { 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 #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind willreturn memory(read) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 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++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"long", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = distinct !{!16, !13}
!17 = distinct !{!17, !13}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass