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

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

%class.Editor = type { i8, ptr, ptr, %struct.buffer, ptr, ptr, %struct.editorConfig, %struct.editorConfig }
%struct.buffer = type { ptr, i64, i8, i32 }
%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] }

@.str.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [13 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

; 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 willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

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

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

declare void @perror(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Editor4ExitEi(ptr noundef nonnull align 8 dereferenceable(448), i32 noundef) #5 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #6

; Function Attrs: inlinehint mustprogress uwtable
declare i64 @getline(ptr noundef, ptr noundef, ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Editor9InsertRowEiPcmR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448), i32 noundef, ptr noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(192)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6Editor7LoadOutEPc(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef %1) #5 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %13 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %14 = getelementptr inbounds %struct.editorConfig, ptr %13, i32 0, i32 11
  store i32 0, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = call i64 @strlen(ptr noundef %15) #10
  %17 = add i64 %16, 1
  store i64 %17, ptr %7, align 8, !tbaa !18
  %18 = load i64, ptr %7, align 8, !tbaa !18
  %19 = call noalias noundef nonnull ptr @_Znam(i64 noundef %18) #11
  %20 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %21 = getelementptr inbounds %struct.editorConfig, ptr %20, i32 0, i32 12
  store ptr %19, ptr %21, align 8, !tbaa !19
  %22 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %23 = getelementptr inbounds %struct.editorConfig, ptr %22, i32 0, i32 12
  %24 = load ptr, ptr %23, align 8, !tbaa !19
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = load i64, ptr %7, align 8, !tbaa !18
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %24, ptr align 1 %25, i64 %26, i1 false)
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call noalias ptr @fopen(ptr noundef %27, ptr noundef @.str.30)
  store ptr %28, ptr %6, align 8, !tbaa !5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %37, label %31

31:                                               ; preds = %2
  %32 = call ptr @__errno_location() #12
  %33 = load i32, ptr %32, align 4, !tbaa !20
  %34 = icmp ne i32 %33, 2
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  call void @perror(ptr noundef @.str.31)
  call void @_ZN6Editor4ExitEi(ptr noundef nonnull align 8 dereferenceable(448) %12, i32 noundef 1)
  br label %36

36:                                               ; preds = %35, %31
  store i32 1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %88

37:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  store ptr null, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  store i64 0, ptr %10, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  %38 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %39 = getelementptr inbounds %struct.editorConfig, ptr %38, i32 0, i32 10
  %40 = load ptr, ptr %39, align 8, !tbaa !21
  %41 = icmp eq ptr %40, null
  br i1 %41, label %43, label %42

42:                                               ; preds = %37
  call void @_ZdlPvm(ptr noundef %40, i64 noundef 32) #13
  br label %43

43:                                               ; preds = %42, %37
  %44 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %45 = getelementptr inbounds %struct.editorConfig, ptr %44, i32 0, i32 10
  store ptr null, ptr %45, align 8, !tbaa !21
  %46 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %47 = getelementptr inbounds %struct.editorConfig, ptr %46, i32 0, i32 8
  store i32 0, ptr %47, align 8, !tbaa !22
  %48 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %49 = getelementptr inbounds %struct.editorConfig, ptr %48, i32 0, i32 1
  store i32 0, ptr %49, align 4, !tbaa !23
  %50 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %51 = getelementptr inbounds %struct.editorConfig, ptr %50, i32 0, i32 0
  store i32 0, ptr %51, align 8, !tbaa !24
  br label %52

52:                                               ; preds = %80, %43
  %53 = load ptr, ptr %6, align 8, !tbaa !5
  %54 = call i64 @getline(ptr noundef %9, ptr noundef %10, ptr noundef %53)
  store i64 %54, ptr %11, align 8, !tbaa !18
  %55 = icmp ne i64 %54, -1
  br i1 %55, label %56, label %87

56:                                               ; preds = %52
  %57 = load i64, ptr %11, align 8, !tbaa !18
  %58 = icmp ne i64 %57, 0
  br i1 %58, label %59, label %80

59:                                               ; preds = %56
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = load i64, ptr %11, align 8, !tbaa !18
  %62 = sub nsw i64 %61, 1
  %63 = getelementptr inbounds i8, ptr %60, i64 %62
  %64 = load i8, ptr %63, align 1, !tbaa !25
  %65 = sext i8 %64 to i32
  %66 = icmp eq i32 %65, 10
  br i1 %66, label %75, label %67

67:                                               ; preds = %59
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load i64, ptr %11, align 8, !tbaa !18
  %70 = sub nsw i64 %69, 1
  %71 = getelementptr inbounds i8, ptr %68, i64 %70
  %72 = load i8, ptr %71, align 1, !tbaa !25
  %73 = sext i8 %72 to i32
  %74 = icmp eq i32 %73, 13
  br i1 %74, label %75, label %80

75:                                               ; preds = %67, %59
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  %77 = load i64, ptr %11, align 8, !tbaa !18
  %78 = add nsw i64 %77, -1
  store i64 %78, ptr %11, align 8, !tbaa !18
  %79 = getelementptr inbounds i8, ptr %76, i64 %78
  store i8 0, ptr %79, align 1, !tbaa !25
  br label %80

80:                                               ; preds = %75, %67, %56
  %81 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  %82 = getelementptr inbounds %struct.editorConfig, ptr %81, i32 0, i32 8
  %83 = load i32, ptr %82, align 8, !tbaa !22
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = load i64, ptr %11, align 8, !tbaa !18
  %86 = getelementptr inbounds %class.Editor, ptr %12, i32 0, i32 7
  call void @_ZN6Editor9InsertRowEiPcmR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %12, i32 noundef %83, ptr noundef %84, i64 noundef %85, ptr noundef nonnull align 8 dereferenceable(192) %86)
  br label %52, !llvm.loop !26

87:                                               ; preds = %52
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  br label %88

88:                                               ; preds = %87, %36
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  %89 = load i32, ptr %3, align 4
  ret i32 %89
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #8

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 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 #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 = { nobuiltin 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 #7 = { inlinehint 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 #8 = { nobuiltin 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 #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { nounwind willreturn memory(none) }
attributes #13 = { builtin 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 = !{!10, !14, i64 304}
!10 = !{!"_ZTS6Editor", !11, i64 0, !6, i64 8, !6, i64 16, !12, i64 24, !6, i64 48, !6, i64 56, !15, i64 64, !15, i64 256}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS6buffer", !6, i64 0, !13, i64 8, !11, i64 16, !14, i64 20}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!"_ZTS12editorConfig", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !6, i64 40, !14, i64 48, !6, i64 56, !7, i64 64, !16, i64 144, !11, i64 176, !13, i64 184}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !17, i64 0, !13, i64 8, !7, i64 16}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!18 = !{!13, !13, i64 0}
!19 = !{!10, !6, i64 312}
!20 = !{!14, !14, i64 0}
!21 = !{!10, !6, i64 296}
!22 = !{!10, !14, i64 288}
!23 = !{!10, !14, i64 260}
!24 = !{!10, !14, i64 256}
!25 = !{!7, !7, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


; 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.30 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [13 x i8], align 1

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare void @perror(ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Editor4ExitEi(ptr noundef nonnull align 8 dereferenceable(448), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare i64 @getline(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Editor9InsertRowEiPcmR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448), i32 noundef, ptr noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(192)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 2) i32 @_ZN6Editor7LoadOutEPc(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr nocapture noundef readonly %1) local_unnamed_addr #5 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 256
  %6 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 0, ptr %6, align 8, !tbaa !5
  %7 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #9
  %8 = add i64 %7, 1
  %9 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %8) #10
  %10 = getelementptr inbounds i8, ptr %0, i64 312
  store ptr %9, ptr %10, align 8, !tbaa !17
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %9, ptr align 1 %1, i64 %8, i1 false)
  %11 = tail call noalias ptr @fopen(ptr noundef %1, ptr noundef nonnull @.str.30)
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %12, label %16

12:                                               ; preds = %2
  %13 = tail call ptr @__errno_location() #11
  %14 = load i32, ptr %13, align 4, !tbaa !18
  %.not18 = icmp eq i32 %14, 2
  br i1 %.not18, label %38, label %15

15:                                               ; preds = %12
  tail call void @perror(ptr noundef nonnull @.str.31) #12
  tail call void @_ZN6Editor4ExitEi(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef 1)
  br label %38

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #13
  store ptr null, ptr %3, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #13
  store i64 0, ptr %4, align 8, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %0, i64 296
  %18 = load ptr, ptr %17, align 8, !tbaa !21
  %19 = icmp eq ptr %18, null
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  tail call void @_ZdlPvm(ptr noundef nonnull %18, i64 noundef 32) #14
  br label %21

21:                                               ; preds = %20, %16
  store ptr null, ptr %17, align 8, !tbaa !21
  %22 = getelementptr inbounds i8, ptr %0, i64 288
  store i32 0, ptr %22, align 8, !tbaa !22
  %23 = getelementptr inbounds i8, ptr %0, i64 260
  store i32 0, ptr %23, align 4, !tbaa !23
  store i32 0, ptr %5, align 8, !tbaa !24
  br label %24

24:                                               ; preds = %34, %21
  %25 = call i64 @getline(ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %11)
  switch i64 %25, label %26 [
    i64 -1, label %37
    i64 0, label %34
  ]

26:                                               ; preds = %24
  %27 = load ptr, ptr %3, align 8, !tbaa !19
  %28 = getelementptr i8, ptr %27, i64 %25
  %29 = getelementptr i8, ptr %28, i64 -1
  %30 = load i8, ptr %29, align 1, !tbaa !25
  switch i8 %30, label %34 [
    i8 10, label %31
    i8 13, label %31
  ]

31:                                               ; preds = %26, %26
  %32 = add nsw i64 %25, -1
  %33 = getelementptr inbounds i8, ptr %27, i64 %32
  store i8 0, ptr %33, align 1, !tbaa !25
  br label %34

34:                                               ; preds = %26, %24, %31
  %.0 = phi i64 [ %32, %31 ], [ %25, %24 ], [ %25, %26 ]
  %35 = load i32, ptr %22, align 8, !tbaa !22
  %36 = load ptr, ptr %3, align 8, !tbaa !19
  call void @_ZN6Editor9InsertRowEiPcmR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef %35, ptr noundef %36, i64 noundef %.0, ptr noundef nonnull align 8 dereferenceable(192) %5)
  br label %24, !llvm.loop !26

37:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #13
  br label %38

38:                                               ; preds = %12, %15, %37
  %.013 = phi i32 [ 0, %37 ], [ 1, %15 ], [ 1, %12 ]
  ret i32 %.013
}

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #4 = { 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 #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 = { nobuiltin 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 #7 = { inlinehint 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 #8 = { nobuiltin 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 #9 = { nounwind willreturn memory(read) }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { nounwind willreturn memory(none) }
attributes #12 = { cold }
attributes #13 = { nounwind }
attributes #14 = { builtin 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, !13, i64 304}
!6 = !{!"_ZTS6Editor", !7, i64 0, !10, i64 8, !10, i64 16, !11, i64 24, !10, i64 48, !10, i64 56, !14, i64 64, !14, i64 256}
!7 = !{!"bool", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS6buffer", !10, i64 0, !12, i64 8, !7, i64 16, !13, i64 20}
!12 = !{!"long", !8, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_ZTS12editorConfig", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !10, i64 40, !13, i64 48, !10, i64 56, !8, i64 64, !15, i64 144, !7, i64 176, !12, i64 184}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !12, i64 8, !8, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!17 = !{!6, !10, i64 312}
!18 = !{!13, !13, i64 0}
!19 = !{!10, !10, i64 0}
!20 = !{!12, !12, i64 0}
!21 = !{!6, !10, i64 296}
!22 = !{!6, !13, i64 288}
!23 = !{!6, !13, i64 260}
!24 = !{!6, !13, i64 256}
!25 = !{!8, !8, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass