; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui (imnodes)

; 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.28 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [7 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 noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) #1

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

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv() #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7imnodes28LoadEditorStateFromIniStringEPNS_13EditorContextEPKcm(ptr noundef %0, ptr noundef %1, i64 noundef %2) #4 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %13 = load i64, ptr %6, align 8, !tbaa !9
  %14 = icmp eq i64 %13, 0
  br i1 %14, label %15, label %16

15:                                               ; preds = %3
  br label %134

16:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = icmp eq ptr %17, null
  br i1 %18, label %19, label %21

19:                                               ; preds = %16
  %20 = call noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv()
  br label %23

21:                                               ; preds = %16
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  br label %23

23:                                               ; preds = %21, %19
  %24 = phi ptr [ %20, %19 ], [ %22, %21 ]
  store ptr %24, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %25 = load i64, ptr %6, align 8, !tbaa !9
  %26 = add i64 %25, 1
  %27 = call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %26)
  store ptr %27, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %28 = load ptr, ptr %8, align 8, !tbaa !5
  %29 = load i64, ptr %6, align 8, !tbaa !9
  %30 = getelementptr inbounds i8, ptr %28, i64 %29
  store ptr %30, ptr %9, align 8, !tbaa !5
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load i64, ptr %6, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %31, ptr align 1 %32, i64 %33, i1 false)
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = load i64, ptr %6, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %34, i64 %35
  store i8 0, ptr %36, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  store ptr null, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store ptr null, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %37, ptr %12, align 8, !tbaa !5
  br label %38

38:                                               ; preds = %129, %23
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = icmp ult ptr %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %132

43:                                               ; preds = %38
  br label %44

44:                                               ; preds = %56, %43
  %45 = load ptr, ptr %12, align 8, !tbaa !5
  %46 = load i8, ptr %45, align 1, !tbaa !11
  %47 = sext i8 %46 to i32
  %48 = icmp eq i32 %47, 10
  br i1 %48, label %54, label %49

49:                                               ; preds = %44
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = load i8, ptr %50, align 1, !tbaa !11
  %52 = sext i8 %51 to i32
  %53 = icmp eq i32 %52, 13
  br label %54

54:                                               ; preds = %49, %44
  %55 = phi i1 [ true, %44 ], [ %53, %49 ]
  br i1 %55, label %56, label %59

56:                                               ; preds = %54
  %57 = load ptr, ptr %12, align 8, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %57, i32 1
  store ptr %58, ptr %12, align 8, !tbaa !5
  br label %44, !llvm.loop !12

59:                                               ; preds = %54
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %60, ptr %11, align 8, !tbaa !5
  br label %61

61:                                               ; preds = %77, %59
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = icmp ult ptr %62, %63
  br i1 %64, label %65, label %75

65:                                               ; preds = %61
  %66 = load ptr, ptr %11, align 8, !tbaa !5
  %67 = load i8, ptr %66, align 1, !tbaa !11
  %68 = sext i8 %67 to i32
  %69 = icmp ne i32 %68, 10
  br i1 %69, label %70, label %75

70:                                               ; preds = %65
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = load i8, ptr %71, align 1, !tbaa !11
  %73 = sext i8 %72 to i32
  %74 = icmp ne i32 %73, 13
  br label %75

75:                                               ; preds = %70, %65, %61
  %76 = phi i1 [ false, %65 ], [ false, %61 ], [ %74, %70 ]
  br i1 %76, label %77, label %80

77:                                               ; preds = %75
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %78, i32 1
  store ptr %79, ptr %11, align 8, !tbaa !5
  br label %61, !llvm.loop !14

80:                                               ; preds = %75
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 0
  store i8 0, ptr %82, align 1, !tbaa !11
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = load i8, ptr %83, align 1, !tbaa !11
  %85 = sext i8 %84 to i32
  %86 = icmp eq i32 %85, 59
  br i1 %86, label %92, label %87

87:                                               ; preds = %80
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = load i8, ptr %88, align 1, !tbaa !11
  %90 = sext i8 %89 to i32
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %93

92:                                               ; preds = %87, %80
  br label %129

93:                                               ; preds = %87
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds i8, ptr %94, i64 0
  %96 = load i8, ptr %95, align 1, !tbaa !11
  %97 = sext i8 %96 to i32
  %98 = icmp eq i32 %97, 91
  br i1 %98, label %99, label %121

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

105:                                              ; preds = %99
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = getelementptr inbounds i8, ptr %106, i64 -1
  store i8 0, ptr %107, align 1, !tbaa !11
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = getelementptr inbounds i8, ptr %108, i64 1
  %110 = call i32 @strncmp(ptr noundef %109, ptr noundef @.str.28, i64 noundef 4) #7
  %111 = icmp eq i32 %110, 0
  br i1 %111, label %112, label %113

112:                                              ; preds = %105
  store ptr @_ZN7imnodes12_GLOBAL__N_117node_line_handlerERNS_13EditorContextEPKc, ptr %10, align 8, !tbaa !5
  br label %120

113:                                              ; preds = %105
  %114 = load ptr, ptr %12, align 8, !tbaa !5
  %115 = getelementptr inbounds i8, ptr %114, i64 1
  %116 = call i32 @strcmp(ptr noundef %115, ptr noundef @.str.29) #7
  %117 = icmp eq i32 %116, 0
  br i1 %117, label %118, label %119

118:                                              ; preds = %113
  store ptr @_ZN7imnodes12_GLOBAL__N_119editor_line_handlerERNS_13EditorContextEPKc, ptr %10, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %118, %113
  br label %120

120:                                              ; preds = %119, %112
  br label %121

121:                                              ; preds = %120, %99, %93
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %128

124:                                              ; preds = %121
  %125 = load ptr, ptr %10, align 8, !tbaa !5
  %126 = load ptr, ptr %7, align 8, !tbaa !5
  %127 = load ptr, ptr %12, align 8, !tbaa !5
  call void %125(ptr noundef nonnull align 8 dereferenceable(280) %126, ptr noundef %127)
  br label %128

128:                                              ; preds = %124, %121
  br label %129

129:                                              ; preds = %128, %92
  %130 = load ptr, ptr %11, align 8, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %130, i64 1
  store ptr %131, ptr %12, align 8, !tbaa !5
  br label %38, !llvm.loop !15

132:                                              ; preds = %42
  %133 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN5ImGui7MemFreeEPv(ptr noundef %133)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %134

134:                                              ; preds = %132, %15
  ret void
}

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strncmp(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7imnodes12_GLOBAL__N_117node_line_handlerERNS_13EditorContextEPKc(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN7imnodes12_GLOBAL__N_119editor_line_handlerERNS_13EditorContextEPKc(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef) #2

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 = { 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 #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { 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 #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 = distinct !{!14, !13}
!15 = distinct !{!15, !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.28 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [7 x i8], align 1

declare noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef) local_unnamed_addr #0

declare void @_ZN5ImGui7MemFreeEPv(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv() local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7imnodes28LoadEditorStateFromIniStringEPNS_13EditorContextEPKcm(ptr noundef %0, ptr nocapture noundef readonly %1, i64 noundef %2) local_unnamed_addr #3 {
  %4 = icmp eq i64 %2, 0
  br i1 %4, label %39, label %5

5:                                                ; preds = %3
  %6 = icmp eq ptr %0, null
  br i1 %6, label %7, label %9

7:                                                ; preds = %5
  %8 = tail call noundef nonnull align 8 dereferenceable(280) ptr @_ZN7imnodes12_GLOBAL__N_118editor_context_getEv()
  br label %9

9:                                                ; preds = %5, %7
  %10 = phi ptr [ %8, %7 ], [ %0, %5 ]
  %11 = add i64 %2, 1
  %12 = tail call noundef ptr @_ZN5ImGui8MemAllocEm(i64 noundef %11)
  %13 = getelementptr inbounds i8, ptr %12, i64 %2
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 %1, i64 %2, i1 false)
  store i8 0, ptr %13, align 1, !tbaa !5
  %14 = icmp sgt i64 %2, 0
  br i1 %14, label %.preheader51, label %._crit_edge

.preheader51:                                     ; preds = %9, %36
  %.058 = phi ptr [ %37, %36 ], [ %12, %9 ]
  %.03957 = phi ptr [ %.2, %36 ], [ null, %9 ]
  br label %15

._crit_edge:                                      ; preds = %36, %9
  tail call void @_ZN5ImGui7MemFreeEPv(ptr noundef %12)
  br label %39

15:                                               ; preds = %.preheader51, %.critedge
  %.1 = phi ptr [ %18, %.critedge ], [ %.058, %.preheader51 ]
  %16 = load i8, ptr %.1, align 1, !tbaa !5
  switch i8 %16, label %.preheader [
    i8 10, label %.critedge
    i8 13, label %.critedge
  ]

.preheader:                                       ; preds = %15
  %17 = icmp ult ptr %.1, %13
  br i1 %17, label %.lr.ph, label %.critedge2

.critedge:                                        ; preds = %15, %15
  %18 = getelementptr inbounds i8, ptr %.1, i64 1
  br label %15, !llvm.loop !8

.lr.phthread-pre-split:                           ; preds = %20
  %.pr = load i8, ptr %21, align 1, !tbaa !5
  br label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %.lr.phthread-pre-split
  %19 = phi i8 [ %.pr, %.lr.phthread-pre-split ], [ %16, %.preheader ]
  %.03852 = phi ptr [ %21, %.lr.phthread-pre-split ], [ %.1, %.preheader ]
  switch i8 %19, label %20 [
    i8 10, label %.critedge2
    i8 13, label %.critedge2
  ]

20:                                               ; preds = %.lr.ph
  %21 = getelementptr inbounds i8, ptr %.03852, i64 1
  %22 = icmp ult ptr %21, %13
  br i1 %22, label %.lr.phthread-pre-split, label %.critedge2, !llvm.loop !10

.critedge2:                                       ; preds = %20, %.lr.ph, %.lr.ph, %.preheader
  %.038.lcssa = phi ptr [ %.1, %.preheader ], [ %.03852, %.lr.ph ], [ %.03852, %.lr.ph ], [ %21, %20 ]
  store i8 0, ptr %.038.lcssa, align 1, !tbaa !5
  %23 = load i8, ptr %.1, align 1, !tbaa !5
  switch i8 %23, label %35 [
    i8 59, label %36
    i8 0, label %36
    i8 91, label %24
  ]

24:                                               ; preds = %.critedge2
  %25 = getelementptr inbounds i8, ptr %.038.lcssa, i64 -1
  %26 = load i8, ptr %25, align 1, !tbaa !5
  %27 = icmp eq i8 %26, 93
  br i1 %27, label %28, label %35

28:                                               ; preds = %24
  store i8 0, ptr %25, align 1, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %.1, i64 1
  %30 = tail call i32 @strncmp(ptr noundef nonnull dereferenceable(1) %29, ptr noundef nonnull dereferenceable(1) @.str.28, i64 noundef 4) #5
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %.thread, label %32

32:                                               ; preds = %28
  %33 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %29, ptr noundef nonnull dereferenceable(1) @.str.29) #5
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %.thread, label %35

35:                                               ; preds = %32, %.critedge2, %24
  %.not47 = icmp eq ptr %.03957, null
  br i1 %.not47, label %36, label %.thread

.thread:                                          ; preds = %32, %28, %35
  %.14050 = phi ptr [ %.03957, %35 ], [ @_ZN7imnodes12_GLOBAL__N_117node_line_handlerERNS_13EditorContextEPKc, %28 ], [ @_ZN7imnodes12_GLOBAL__N_119editor_line_handlerERNS_13EditorContextEPKc, %32 ]
  tail call void %.14050(ptr noundef nonnull align 8 dereferenceable(280) %10, ptr noundef nonnull %.1), !callees !11
  br label %36

36:                                               ; preds = %.critedge2, %.critedge2, %35, %.thread
  %.2 = phi ptr [ %.03957, %.critedge2 ], [ %.14050, %.thread ], [ null, %35 ], [ %.03957, %.critedge2 ]
  %37 = getelementptr inbounds i8, ptr %.038.lcssa, i64 1
  %38 = icmp ult ptr %37, %13
  br i1 %38, label %.preheader51, label %._crit_edge, !llvm.loop !12

39:                                               ; preds = %3, %._crit_edge
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN7imnodes12_GLOBAL__N_117node_line_handlerERNS_13EditorContextEPKc(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN7imnodes12_GLOBAL__N_119editor_line_handlerERNS_13EditorContextEPKc(ptr noundef nonnull align 8 dereferenceable(280), ptr noundef) #1

attributes #0 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { 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 #5 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}
!11 = !{ptr @_ZN7imnodes12_GLOBAL__N_117node_line_handlerERNS_13EditorContextEPKc, ptr @_ZN7imnodes12_GLOBAL__N_119editor_line_handlerERNS_13EditorContextEPKc}
!12 = distinct !{!12, !9}


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