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

; 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.std::initializer_list" = type { ptr, 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] }
%"class.std::allocator" = type { i8 }
%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 }

@.str.13 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times = external hidden global i32, align 4
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [72 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Editor16SetStatusMessageEPKcz(ptr noundef nonnull align 8 dereferenceable(448), ptr noundef, ...) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Editor13focusKeyPressEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(192) %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"class.std::initializer_list", align 8
  %8 = alloca [3 x %"class.std::__cxx11::basic_string"], align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  %16 = load ptr, ptr %4, align 8
  %17 = load i32, ptr %5, align 4, !tbaa !9
  switch i32 %17, label %146 [
    i32 13, label %18
    i32 3, label %90
    i32 4, label %102
    i32 17, label %109
    i32 19, label %122
    i32 127, label %130
    i32 1004, label %130
    i32 1002, label %143
    i32 10, label %143
    i32 1003, label %143
    i32 11, label %143
    i32 1000, label %143
    i32 8, label %143
    i32 1001, label %143
    i32 12, label %143
  ]

18:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 96, ptr %8) #3
  store i1 true, ptr %15, align 1
  store ptr %8, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %19 unwind label %46

19:                                               ; preds = %18
  %20 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %8, i64 1
  store ptr %20, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %21 unwind label %50

21:                                               ; preds = %19
  %22 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %8, i64 2
  store ptr %22, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %23 unwind label %54

23:                                               ; preds = %21
  store i1 false, ptr %15, align 1
  %24 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 0
  store ptr %8, ptr %24, align 8, !tbaa !11
  %25 = getelementptr inbounds %"class.std::initializer_list", ptr %7, i32 0, i32 1
  store i64 3, ptr %25, align 8, !tbaa !14
  %26 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 5
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 0
  %29 = load ptr, ptr %28, align 8
  %30 = getelementptr inbounds { ptr, i64 }, ptr %7, i32 0, i32 1
  %31 = load i64, ptr %30, align 8
  %32 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSESt16initializer_listIS5_E(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr %29, i64 %31)
          to label %33 unwind label %58

33:                                               ; preds = %23
  %34 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %8, i32 0, i32 0
  %35 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %34, i64 3
  br label %36

36:                                               ; preds = %36, %33
  %37 = phi ptr [ %35, %33 ], [ %38, %36 ]
  %38 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %37, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #3
  %39 = icmp eq ptr %38, %34
  br i1 %39, label %40, label %36

40:                                               ; preds = %36
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #3
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.editorConfig, ptr %41, i32 0, i32 15
  %43 = load i8, ptr %42, align 8, !tbaa !22, !range !23, !noundef !24
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %82

45:                                               ; preds = %40
  call void @_ZN6Editor11transferCmdEv(ptr noundef nonnull align 8 dereferenceable(448) %16)
  br label %89

46:                                               ; preds = %18
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %11, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %12, align 4
  br label %71

50:                                               ; preds = %19
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %11, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %12, align 4
  br label %70

54:                                               ; preds = %21
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %11, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %12, align 4
  br label %69

58:                                               ; preds = %23
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %11, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %12, align 4
  %62 = getelementptr inbounds [3 x %"class.std::__cxx11::basic_string"], ptr %8, i32 0, i32 0
  %63 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %62, i64 3
  br label %64

64:                                               ; preds = %64, %58
  %65 = phi ptr [ %63, %58 ], [ %66, %64 ]
  %66 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %65, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #3
  %67 = icmp eq ptr %66, %62
  br i1 %67, label %68, label %64

68:                                               ; preds = %64
  br label %69

69:                                               ; preds = %68, %54
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #3
  br label %70

70:                                               ; preds = %69, %50
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #3
  br label %71

71:                                               ; preds = %70, %46
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #3
  %72 = load i1, ptr %15, align 1
  br i1 %72, label %73, label %81

73:                                               ; preds = %71
  %74 = load ptr, ptr %9, align 8
  %75 = icmp eq ptr %8, %74
  br i1 %75, label %80, label %76

76:                                               ; preds = %76, %73
  %77 = phi ptr [ %74, %73 ], [ %78, %76 ]
  %78 = getelementptr inbounds %"class.std::__cxx11::basic_string", ptr %77, i64 -1
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #3
  %79 = icmp eq ptr %78, %8
  br i1 %79, label %80, label %76

80:                                               ; preds = %76, %73
  br label %81

81:                                               ; preds = %80, %71
  call void @llvm.lifetime.end.p0(i64 96, ptr %8) #3
  br label %165

82:                                               ; preds = %40
  %83 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 0
  %84 = load i8, ptr %83, align 8, !tbaa !25, !range !23, !noundef !24
  %85 = trunc i8 %84 to i1
  br i1 %85, label %88, label %86

86:                                               ; preds = %82
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Editor13insertNewlineER12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %16, ptr noundef nonnull align 8 dereferenceable(192) %87)
  br label %88

88:                                               ; preds = %86, %82
  br label %89

89:                                               ; preds = %88, %45
  br label %163

90:                                               ; preds = %3
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.editorConfig, ptr %91, i32 0, i32 15
  %93 = load i8, ptr %92, align 8, !tbaa !22, !range !23, !noundef !24
  %94 = trunc i8 %93 to i1
  %95 = xor i1 %94, true
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.editorConfig, ptr %96, i32 0, i32 15
  %98 = zext i1 %95 to i8
  store i8 %98, ptr %97, align 8, !tbaa !22
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.editorConfig, ptr %99, i32 0, i32 14
  %101 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %100, ptr noundef @.str.34)
  br label %163

102:                                              ; preds = %3
  %103 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 0
  %104 = load i8, ptr %103, align 8, !tbaa !25, !range !23, !noundef !24
  %105 = trunc i8 %104 to i1
  %106 = xor i1 %105, true
  %107 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 0
  %108 = zext i1 %106 to i8
  store i8 %108, ptr %107, align 8, !tbaa !25
  br label %163

109:                                              ; preds = %3
  %110 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 6
  %111 = getelementptr inbounds %struct.editorConfig, ptr %110, i32 0, i32 11
  %112 = load i32, ptr %111, align 8, !tbaa !26
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %121

114:                                              ; preds = %109
  %115 = load i32, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !9
  %116 = icmp ne i32 %115, 0
  br i1 %116, label %117, label %121

117:                                              ; preds = %114
  %118 = load i32, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !9
  call void (ptr, ptr, ...) @_ZN6Editor16SetStatusMessageEPKcz(ptr noundef nonnull align 8 dereferenceable(448) %16, ptr noundef @.str.35, i32 noundef %118)
  %119 = load i32, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !9
  %120 = add nsw i32 %119, -1
  store i32 %120, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !9
  br label %164

121:                                              ; preds = %114, %109
  call void @_ZN6Editor4ExitEi(ptr noundef nonnull align 8 dereferenceable(448) %16, i32 noundef 0)
  br label %163

122:                                              ; preds = %3
  %123 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 0
  %124 = load i8, ptr %123, align 8, !tbaa !25, !range !23, !noundef !24
  %125 = trunc i8 %124 to i1
  br i1 %125, label %129, label %126

126:                                              ; preds = %122
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = call noundef i32 @_ZN6Editor4saveER12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %16, ptr noundef nonnull align 8 dereferenceable(192) %127)
  br label %129

129:                                              ; preds = %126, %122
  br label %163

130:                                              ; preds = %3, %3
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.editorConfig, ptr %131, i32 0, i32 15
  %133 = load i8, ptr %132, align 8, !tbaa !22, !range !23, !noundef !24
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %136

135:                                              ; preds = %130
  call void @_ZN6Editor10delCharCmdEv(ptr noundef nonnull align 8 dereferenceable(448) %16)
  br label %142

136:                                              ; preds = %130
  %137 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 0
  %138 = load i8, ptr %137, align 8, !tbaa !25, !range !23, !noundef !24
  %139 = trunc i8 %138 to i1
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  call void @_ZN6Editor7delCharEv(ptr noundef nonnull align 8 dereferenceable(448) %16)
  br label %141

141:                                              ; preds = %140, %136
  br label %142

142:                                              ; preds = %141, %135
  br label %163

143:                                              ; preds = %3, %3, %3, %3, %3, %3, %3, %3
  %144 = load i32, ptr %5, align 4, !tbaa !9
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Editor10MoveCursorEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %16, i32 noundef %144, ptr noundef nonnull align 8 dereferenceable(192) %145)
  br label %163

146:                                              ; preds = %3
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.editorConfig, ptr %147, i32 0, i32 15
  %149 = load i8, ptr %148, align 8, !tbaa !22, !range !23, !noundef !24
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %154

151:                                              ; preds = %146
  %152 = load i32, ptr %5, align 4, !tbaa !9
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Editor13InsertCommandEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %16, i32 noundef %152, ptr noundef nonnull align 8 dereferenceable(192) %153)
  br label %162

154:                                              ; preds = %146
  %155 = getelementptr inbounds %class.Editor, ptr %16, i32 0, i32 0
  %156 = load i8, ptr %155, align 8, !tbaa !25, !range !23, !noundef !24
  %157 = trunc i8 %156 to i1
  br i1 %157, label %161, label %158

158:                                              ; preds = %154
  %159 = load i32, ptr %5, align 4, !tbaa !9
  %160 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6Editor10InsertCharEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %16, i32 noundef %159, ptr noundef nonnull align 8 dereferenceable(192) %160)
  br label %161

161:                                              ; preds = %158, %154
  br label %162

162:                                              ; preds = %161, %151
  br label %163

163:                                              ; preds = %162, %143, %142, %129, %121, %102, %90, %89
  store i32 3, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !9
  br label %164

164:                                              ; preds = %163, %117
  ret void

165:                                              ; preds = %81
  %166 = load ptr, ptr %11, align 8
  %167 = load i32, ptr %12, align 4
  %168 = insertvalue { ptr, i32 } poison, ptr %166, 0
  %169 = insertvalue { ptr, i32 } %168, i32 %167, 1
  resume { ptr, i32 } %169
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSESt16initializer_listIS5_E(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !6, i64 56}
!16 = !{!"_ZTS6Editor", !17, i64 0, !6, i64 8, !6, i64 16, !18, i64 24, !6, i64 48, !6, i64 56, !19, i64 64, !19, i64 256}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS6buffer", !6, i64 0, !13, i64 8, !17, i64 16, !10, i64 20}
!19 = !{!"_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, !20, i64 144, !17, i64 176, !13, i64 184}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !13, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!19, !17, i64 176}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!16, !17, i64 0}
!26 = !{!16, !10, i64 112}


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

%"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] }
%"class.std::allocator" = type { i8 }

@.str.13 = external hidden unnamed_addr constant [1 x i8], align 1
@_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times = external hidden local_unnamed_addr global i32, align 4
@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [72 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Editor16SetStatusMessageEPKcz(ptr noundef nonnull align 8 dereferenceable(448), ptr noundef, ...) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6Editor13focusKeyPressEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(192) %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca [3 x %"class.std::__cxx11::basic_string"], align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca %"class.std::allocator", align 1
  switch i32 %1, label %75 [
    i32 13, label %8
    i32 3, label %41
    i32 4, label %47
    i32 17, label %50
    i32 19, label %60
    i32 127, label %65
    i32 1004, label %65
    i32 1002, label %74
    i32 10, label %74
    i32 1003, label %74
    i32 11, label %74
    i32 1000, label %74
    i32 8, label %74
    i32 1001, label %74
    i32 12, label %74
  ]

8:                                                ; preds = %3
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #3
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %9 unwind label %.thread

9:                                                ; preds = %8
  %10 = getelementptr inbounds i8, ptr %4, i64 32
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %11 unwind label %25

11:                                               ; preds = %9
  %12 = getelementptr inbounds i8, ptr %4, i64 64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #3
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #3
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.13, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %13 unwind label %27

13:                                               ; preds = %11
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  %16 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSESt16initializer_listIS5_E(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr nonnull %4, i64 3)
          to label %17 unwind label %.loopexit40.loopexit

17:                                               ; preds = %13
  %18 = getelementptr inbounds i8, ptr %4, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #3
  %19 = getelementptr inbounds i8, ptr %4, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #3
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #3
  %20 = getelementptr inbounds i8, ptr %2, i64 176
  %21 = load i8, ptr %20, align 8, !tbaa !17, !range !18, !noundef !19
  %22 = trunc nuw i8 %21 to i1
  br i1 %22, label %23, label %37

23:                                               ; preds = %17
  call void @_ZN6Editor11transferCmdEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  br label %84

.thread:                                          ; preds = %8
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #3
  br label %.loopexit

25:                                               ; preds = %9
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %33

27:                                               ; preds = %11
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit40

.loopexit40.loopexit:                             ; preds = %13
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = getelementptr inbounds i8, ptr %4, i64 64
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #3
  %31 = getelementptr inbounds i8, ptr %4, i64 32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #3
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  br label %.loopexit40

.loopexit40:                                      ; preds = %.loopexit40.loopexit, %27
  %.pn = phi { ptr, i32 } [ %28, %27 ], [ %29, %.loopexit40.loopexit ]
  %32 = phi i1 [ false, %27 ], [ true, %.loopexit40.loopexit ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #3
  br label %33

33:                                               ; preds = %25, %.loopexit40
  %.028 = phi ptr [ %12, %.loopexit40 ], [ %10, %25 ]
  %.pn.pn = phi { ptr, i32 } [ %.pn, %.loopexit40 ], [ %26, %25 ]
  %.1 = phi i1 [ %32, %.loopexit40 ], [ false, %25 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #3
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #3
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #3
  br i1 %.1, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %33, %.preheader
  %34 = phi ptr [ %35, %.preheader ], [ %.028, %33 ]
  %35 = getelementptr inbounds i8, ptr %34, i64 -32
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #3
  %36 = icmp eq ptr %35, %4
  br i1 %36, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread, %33
  %.pn.pn.pn39 = phi { ptr, i32 } [ %24, %.thread ], [ %.pn.pn, %33 ], [ %.pn.pn, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #3
  resume { ptr, i32 } %.pn.pn.pn39

37:                                               ; preds = %17
  %38 = load i8, ptr %0, align 8, !tbaa !20, !range !18, !noundef !19
  %39 = trunc nuw i8 %38 to i1
  br i1 %39, label %84, label %40

40:                                               ; preds = %37
  call void @_ZN6Editor13insertNewlineER12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(192) %2)
  br label %84

41:                                               ; preds = %3
  %42 = getelementptr inbounds i8, ptr %2, i64 176
  %43 = load i8, ptr %42, align 8, !tbaa !17, !range !18, !noundef !19
  %44 = xor i8 %43, 1
  store i8 %44, ptr %42, align 8, !tbaa !17
  %45 = getelementptr inbounds i8, ptr %2, i64 144
  %46 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull @.str.34)
  br label %84

47:                                               ; preds = %3
  %48 = load i8, ptr %0, align 8, !tbaa !20, !range !18, !noundef !19
  %49 = xor i8 %48, 1
  store i8 %49, ptr %0, align 8, !tbaa !20
  br label %84

50:                                               ; preds = %3
  %51 = getelementptr inbounds i8, ptr %0, i64 112
  %52 = load i32, ptr %51, align 8, !tbaa !21
  %53 = icmp ne i32 %52, 0
  %54 = load i32, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4
  %55 = icmp ne i32 %54, 0
  %or.cond = select i1 %53, i1 %55, i1 false
  br i1 %or.cond, label %56, label %59

56:                                               ; preds = %50
  tail call void (ptr, ptr, ...) @_ZN6Editor16SetStatusMessageEPKcz(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull @.str.35, i32 noundef %54)
  %57 = load i32, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !22
  %58 = add nsw i32 %57, -1
  br label %84

59:                                               ; preds = %50
  tail call void @_ZN6Editor4ExitEi(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef 0)
  br label %84

60:                                               ; preds = %3
  %61 = load i8, ptr %0, align 8, !tbaa !20, !range !18, !noundef !19
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %84, label %63

63:                                               ; preds = %60
  %64 = tail call noundef i32 @_ZN6Editor4saveER12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, ptr noundef nonnull align 8 dereferenceable(192) %2)
  br label %84

65:                                               ; preds = %3, %3
  %66 = getelementptr inbounds i8, ptr %2, i64 176
  %67 = load i8, ptr %66, align 8, !tbaa !17, !range !18, !noundef !19
  %68 = trunc nuw i8 %67 to i1
  br i1 %68, label %69, label %70

69:                                               ; preds = %65
  tail call void @_ZN6Editor10delCharCmdEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  br label %84

70:                                               ; preds = %65
  %71 = load i8, ptr %0, align 8, !tbaa !20, !range !18, !noundef !19
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %84, label %73

73:                                               ; preds = %70
  tail call void @_ZN6Editor7delCharEv(ptr noundef nonnull align 8 dereferenceable(448) %0)
  br label %84

74:                                               ; preds = %3, %3, %3, %3, %3, %3, %3, %3
  tail call void @_ZN6Editor10MoveCursorEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  br label %84

75:                                               ; preds = %3
  %76 = getelementptr inbounds i8, ptr %2, i64 176
  %77 = load i8, ptr %76, align 8, !tbaa !17, !range !18, !noundef !19
  %78 = trunc nuw i8 %77 to i1
  br i1 %78, label %79, label %80

79:                                               ; preds = %75
  tail call void @_ZN6Editor13InsertCommandEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  br label %84

80:                                               ; preds = %75
  %81 = load i8, ptr %0, align 8, !tbaa !20, !range !18, !noundef !19
  %82 = trunc nuw i8 %81 to i1
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  tail call void @_ZN6Editor10InsertCharEiR12editorConfig(ptr noundef nonnull align 8 dereferenceable(448) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(192) %2)
  br label %84

84:                                               ; preds = %41, %47, %59, %74, %37, %40, %23, %63, %60, %70, %73, %69, %80, %83, %79, %56
  %storemerge = phi i32 [ %58, %56 ], [ 3, %79 ], [ 3, %83 ], [ 3, %80 ], [ 3, %69 ], [ 3, %73 ], [ 3, %70 ], [ 3, %60 ], [ 3, %63 ], [ 3, %23 ], [ 3, %40 ], [ 3, %37 ], [ 3, %74 ], [ 3, %59 ], [ 3, %47 ], [ 3, %41 ]
  store i32 %storemerge, ptr @_ZZN6Editor13focusKeyPressEiR12editorConfigE10quit_times, align 4, !tbaa !22
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSESt16initializer_listIS5_E(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 = { 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, !10, i64 56}
!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 = !{!14, !7, i64 176}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!6, !7, i64 0}
!21 = !{!6, !13, i64 112}
!22 = !{!13, !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass