; LLVM IR from Angold-4/chainsaw :: src/debug/editor.ll (ZN6Editor12RowsToStringEPiR12editorConfig)

; 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.editorConfig = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, [80 x i8], %"class.std::__cxx11::basic_string", i8, i64 }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%struct.editRow = type { i32, i32, i32, ptr, ptr }

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

; 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) #1

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN6Editor12RowsToStringEPiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(192) %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %12

12:                                               ; preds = %30, %3
  %13 = load i32, ptr %10, align 4, !tbaa !9
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.editorConfig, ptr %14, i32 0, i32 8
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = icmp slt i32 %13, %16
  br i1 %17, label %18, label %33

18:                                               ; preds = %12
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.editorConfig, ptr %19, i32 0, i32 10
  %21 = load ptr, ptr %20, align 8, !tbaa !17
  %22 = load i32, ptr %10, align 4, !tbaa !9
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds %struct.editRow, ptr %21, i64 %23
  %25 = getelementptr inbounds %struct.editRow, ptr %24, i32 0, i32 1
  %26 = load i32, ptr %25, align 4, !tbaa !18
  %27 = add nsw i32 %26, 1
  %28 = load i32, ptr %9, align 4, !tbaa !9
  %29 = add nsw i32 %28, %27
  store i32 %29, ptr %9, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %18
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %10, align 4, !tbaa !9
  br label %12, !llvm.loop !20

33:                                               ; preds = %12
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  store i32 %34, ptr %35, align 4, !tbaa !9
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %9, align 4, !tbaa !9
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = call noalias ptr @malloc(i64 noundef %39) #5
  store ptr %40, ptr %7, align 8, !tbaa !5
  store ptr %40, ptr %8, align 8, !tbaa !5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %80, %33
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.editorConfig, ptr %43, i32 0, i32 8
  %45 = load i32, ptr %44, align 8, !tbaa !11
  %46 = icmp slt i32 %42, %45
  br i1 %46, label %47, label %83

47:                                               ; preds = %41
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.editorConfig, ptr %49, i32 0, i32 10
  %51 = load ptr, ptr %50, align 8, !tbaa !17
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds %struct.editRow, ptr %51, i64 %53
  %55 = getelementptr inbounds %struct.editRow, ptr %54, i32 0, i32 3
  %56 = load ptr, ptr %55, align 8, !tbaa !22
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.editorConfig, ptr %57, i32 0, i32 10
  %59 = load ptr, ptr %58, align 8, !tbaa !17
  %60 = load i32, ptr %10, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds %struct.editRow, ptr %59, i64 %61
  %63 = getelementptr inbounds %struct.editRow, ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !18
  %65 = sext i32 %64 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %48, ptr align 1 %56, i64 %65, i1 false)
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.editorConfig, ptr %66, i32 0, i32 10
  %68 = load ptr, ptr %67, align 8, !tbaa !17
  %69 = load i32, ptr %10, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %struct.editRow, ptr %68, i64 %70
  %72 = getelementptr inbounds %struct.editRow, ptr %71, i32 0, i32 1
  %73 = load i32, ptr %72, align 4, !tbaa !18
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = sext i32 %73 to i64
  %76 = getelementptr inbounds i8, ptr %74, i64 %75
  store ptr %76, ptr %8, align 8, !tbaa !5
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 10, ptr %77, align 1, !tbaa !23
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i32 1
  store ptr %79, ptr %8, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %47
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %10, align 4, !tbaa !9
  br label %41, !llvm.loop !24

83:                                               ; preds = %41
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %84, align 1, !tbaa !23
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret ptr %85
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind allocsize(0) "no-trapping-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 }
attributes #5 = { nounwind allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 32}
!12 = !{!"_ZTS12editorConfig", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !6, i64 40, !10, i64 48, !6, i64 56, !7, i64 64, !13, i64 144, !16, i64 176, !15, i64 184}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !15, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!15 = !{!"long", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!12, !6, i64 40}
!18 = !{!19, !10, i64 4}
!19 = !{!"_ZTS7editRow", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!19, !6, i64 16}
!23 = !{!7, !7, i64 0}
!24 = distinct !{!24, !21}


; 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.editRow = type { i32, i32, i32, ptr, ptr }

; 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) #0

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind uwtable
define dso_local noalias noundef ptr @_ZN6Editor12RowsToStringEPiR12editorConfig(ptr nocapture noundef nonnull readnone align 8 dereferenceable(448) %0, ptr nocapture noundef writeonly %1, ptr nocapture noundef nonnull readonly align 8 dereferenceable(192) %2) local_unnamed_addr #2 align 2 {
  %4 = getelementptr inbounds i8, ptr %2, i64 32
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %3
  %7 = getelementptr inbounds i8, ptr %2, i64 40
  %8 = load ptr, ptr %7, align 8, !tbaa !15
  %wide.trip.count = zext nneg i32 %5 to i64
  %min.iters.check = icmp ult i32 %5, 9
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.mod.vf = and i64 %wide.trip.count, 7
  %9 = icmp eq i64 %n.mod.vf, 0
  %10 = select i1 %9, i64 8, i64 %n.mod.vf
  %n.vec = sub nsw i64 %wide.trip.count, %10
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.phi = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %44, %vector.body ]
  %vec.phi44 = phi <4 x i32> [ zeroinitializer, %vector.ph ], [ %45, %vector.body ]
  %11 = or disjoint i64 %index, 1
  %12 = or disjoint i64 %index, 2
  %13 = or disjoint i64 %index, 3
  %14 = or disjoint i64 %index, 4
  %15 = or disjoint i64 %index, 5
  %16 = or disjoint i64 %index, 6
  %17 = or disjoint i64 %index, 7
  %18 = getelementptr inbounds %struct.editRow, ptr %8, i64 %index, i32 1
  %19 = getelementptr inbounds %struct.editRow, ptr %8, i64 %11, i32 1
  %20 = getelementptr inbounds %struct.editRow, ptr %8, i64 %12, i32 1
  %21 = getelementptr inbounds %struct.editRow, ptr %8, i64 %13, i32 1
  %22 = getelementptr inbounds %struct.editRow, ptr %8, i64 %14, i32 1
  %23 = getelementptr inbounds %struct.editRow, ptr %8, i64 %15, i32 1
  %24 = getelementptr inbounds %struct.editRow, ptr %8, i64 %16, i32 1
  %25 = getelementptr inbounds %struct.editRow, ptr %8, i64 %17, i32 1
  %26 = load i32, ptr %18, align 4, !tbaa !16
  %27 = load i32, ptr %19, align 4, !tbaa !16
  %28 = load i32, ptr %20, align 4, !tbaa !16
  %29 = load i32, ptr %21, align 4, !tbaa !16
  %30 = insertelement <4 x i32> poison, i32 %26, i64 0
  %31 = insertelement <4 x i32> %30, i32 %27, i64 1
  %32 = insertelement <4 x i32> %31, i32 %28, i64 2
  %33 = insertelement <4 x i32> %32, i32 %29, i64 3
  %34 = load i32, ptr %22, align 4, !tbaa !16
  %35 = load i32, ptr %23, align 4, !tbaa !16
  %36 = load i32, ptr %24, align 4, !tbaa !16
  %37 = load i32, ptr %25, align 4, !tbaa !16
  %38 = insertelement <4 x i32> poison, i32 %34, i64 0
  %39 = insertelement <4 x i32> %38, i32 %35, i64 1
  %40 = insertelement <4 x i32> %39, i32 %36, i64 2
  %41 = insertelement <4 x i32> %40, i32 %37, i64 3
  %42 = add <4 x i32> %vec.phi, <i32 1, i32 1, i32 1, i32 1>
  %43 = add <4 x i32> %vec.phi44, <i32 1, i32 1, i32 1, i32 1>
  %44 = add <4 x i32> %42, %33
  %45 = add <4 x i32> %43, %41
  %index.next = add nuw i64 %index, 8
  %46 = icmp eq i64 %index.next, %n.vec
  br i1 %46, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %bin.rdx = add <4 x i32> %45, %44
  %47 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  br label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %.02527.ph = phi i32 [ 0, %.lr.ph ], [ %47, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %.02527 = phi i32 [ %51, %scalar.ph ], [ %.02527.ph, %scalar.ph.preheader ]
  %48 = getelementptr inbounds %struct.editRow, ptr %8, i64 %indvars.iv, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !16
  %50 = add i32 %.02527, 1
  %51 = add i32 %50, %49
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !22

._crit_edge:                                      ; preds = %scalar.ph, %3
  %.025.lcssa = phi i32 [ 0, %3 ], [ %51, %scalar.ph ]
  store i32 %.025.lcssa, ptr %1, align 4, !tbaa !23
  %52 = add nsw i32 %.025.lcssa, 1
  %53 = sext i32 %52 to i64
  %54 = tail call noalias ptr @malloc(i64 noundef %53) #4
  %55 = load i32, ptr %4, align 8, !tbaa !5
  %56 = icmp sgt i32 %55, 0
  br i1 %56, label %.lr.ph32, label %._crit_edge33

.lr.ph32:                                         ; preds = %._crit_edge
  %57 = getelementptr inbounds i8, ptr %2, i64 40
  %58 = load ptr, ptr %57, align 8, !tbaa !15
  %wide.trip.count40 = zext nneg i32 %55 to i64
  %xtraiter = and i64 %wide.trip.count40, 1
  %59 = icmp eq i32 %55, 1
  br i1 %59, label %._crit_edge33.loopexit.unr-lcssa, label %.lr.ph32.new

.lr.ph32.new:                                     ; preds = %.lr.ph32
  %unroll_iter = and i64 %wide.trip.count40, 2147483646
  br label %60

60:                                               ; preds = %60, %.lr.ph32.new
  %indvars.iv37 = phi i64 [ 0, %.lr.ph32.new ], [ %indvars.iv.next38.1, %60 ]
  %.02629 = phi ptr [ %54, %.lr.ph32.new ], [ %76, %60 ]
  %niter = phi i64 [ 0, %.lr.ph32.new ], [ %niter.next.1, %60 ]
  %61 = getelementptr inbounds %struct.editRow, ptr %58, i64 %indvars.iv37
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = load ptr, ptr %62, align 8, !tbaa !24
  %64 = getelementptr inbounds i8, ptr %61, i64 4
  %65 = load i32, ptr %64, align 4, !tbaa !16
  %66 = sext i32 %65 to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.02629, ptr align 1 %63, i64 %66, i1 false)
  %67 = getelementptr inbounds i8, ptr %.02629, i64 %66
  store i8 10, ptr %67, align 1, !tbaa !25
  %68 = getelementptr inbounds i8, ptr %67, i64 1
  %indvars.iv.next38 = or disjoint i64 %indvars.iv37, 1
  %69 = getelementptr inbounds %struct.editRow, ptr %58, i64 %indvars.iv.next38
  %70 = getelementptr inbounds i8, ptr %69, i64 16
  %71 = load ptr, ptr %70, align 8, !tbaa !24
  %72 = getelementptr inbounds i8, ptr %69, i64 4
  %73 = load i32, ptr %72, align 4, !tbaa !16
  %74 = sext i32 %73 to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %68, ptr align 1 %71, i64 %74, i1 false)
  %75 = getelementptr inbounds i8, ptr %68, i64 %74
  store i8 10, ptr %75, align 1, !tbaa !25
  %76 = getelementptr inbounds i8, ptr %75, i64 1
  %indvars.iv.next38.1 = add nuw nsw i64 %indvars.iv37, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge33.loopexit.unr-lcssa, label %60, !llvm.loop !26

._crit_edge33.loopexit.unr-lcssa:                 ; preds = %60, %.lr.ph32
  %.lcssa.ph = phi ptr [ poison, %.lr.ph32 ], [ %76, %60 ]
  %indvars.iv37.unr = phi i64 [ 0, %.lr.ph32 ], [ %indvars.iv.next38.1, %60 ]
  %.02629.unr = phi ptr [ %54, %.lr.ph32 ], [ %76, %60 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge33, label %._crit_edge33.loopexit.epilog-lcssa

._crit_edge33.loopexit.epilog-lcssa:              ; preds = %._crit_edge33.loopexit.unr-lcssa
  %77 = getelementptr inbounds %struct.editRow, ptr %58, i64 %indvars.iv37.unr
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %79 = load ptr, ptr %78, align 8, !tbaa !24
  %80 = getelementptr inbounds i8, ptr %77, i64 4
  %81 = load i32, ptr %80, align 4, !tbaa !16
  %82 = sext i32 %81 to i64
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.02629.unr, ptr align 1 %79, i64 %82, i1 false)
  %83 = getelementptr inbounds i8, ptr %.02629.unr, i64 %82
  store i8 10, ptr %83, align 1, !tbaa !25
  %84 = getelementptr inbounds i8, ptr %83, i64 1
  br label %._crit_edge33

._crit_edge33:                                    ; preds = %._crit_edge33.loopexit.epilog-lcssa, %._crit_edge33.loopexit.unr-lcssa, %._crit_edge
  %.026.lcssa = phi ptr [ %54, %._crit_edge ], [ %.lcssa.ph, %._crit_edge33.loopexit.unr-lcssa ], [ %84, %._crit_edge33.loopexit.epilog-lcssa ]
  store i8 0, ptr %.026.lcssa, align 1, !tbaa !25
  ret ptr %54
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #3

attributes #0 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-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 uwtable "min-legal-vector-width"="0" "no-trapping-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 allocsize(0) }

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

!0 = !{i32 1, !"wchar_size", i32 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, !7, i64 32}
!6 = !{!"_ZTS12editorConfig", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !10, i64 40, !7, i64 48, !10, i64 56, !8, i64 64, !11, i64 144, !14, i64 176, !13, i64 184}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !8, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!13 = !{!"long", !8, i64 0}
!14 = !{!"bool", !8, i64 0}
!15 = !{!6, !10, i64 40}
!16 = !{!17, !7, i64 4}
!17 = !{!"_ZTS7editRow", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !19, !21, !20}
!23 = !{!7, !7, i64 0}
!24 = !{!17, !10, i64 16}
!25 = !{!8, !8, i64 0}
!26 = distinct !{!26, !19}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass