; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_gui_extra)

; 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.juce::CodeDocument::Position" = type <{ ptr, i32, i32, i32, i8, [3 x i8] }>
%"class.juce::CodeEditorComponent" = type { %"class.juce::Component.base", %"class.juce::ApplicationCommandTarget", %"class.juce::TextInputTarget", ptr, %"class.juce::Font", i32, i32, float, i32, i32, i32, i32, i32, i8, i8, i8, i8, double, %"class.juce::CodeDocument::Position", %"class.juce::CodeDocument::Position", %"class.juce::CodeDocument::Position", %"class.juce::ScopedPointer.60", %"class.juce::ScrollBar", %"class.juce::ScrollBar", ptr, %"class.juce::ScopedPointer.68", %"class.juce::ScopedPointer.69", i32, ptr, %"struct.juce::CodeEditorComponent::ColourScheme", %"class.juce::OwnedArray.75", %"class.juce::OwnedArray.80" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.37", %"class.juce::Array.38", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.43", %"class.juce::ScopedPointer.44", %"class.juce::ScopedPointer.45", %"class.juce::ListenerList.46", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.37" = type { ptr }
%"class.juce::Array.38" = type { %"class.juce::ArrayAllocationBase.39", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.39" = type <{ %"class.juce::HeapBlock.40", i32, [4 x i8] }>
%"class.juce::HeapBlock.40" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.43" = type { ptr }
%"class.juce::ScopedPointer.44" = type { ptr }
%"class.juce::ScopedPointer.45" = type { ptr }
%"class.juce::ListenerList.46" = type { %"class.juce::Array.47" }
%"class.juce::Array.47" = type { %"class.juce::ArrayAllocationBase.48", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.48" = type <{ %"class.juce::HeapBlock.49", i32, [4 x i8] }>
%"class.juce::HeapBlock.49" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.52" }
%"class.juce::Array.52" = type { %"class.juce::ArrayAllocationBase.53", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.53" = type <{ %"class.juce::HeapBlock.54", i32, [4 x i8] }>
%"class.juce::HeapBlock.54" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr.57" }
%"class.juce::ReferenceCountedObjectPtr.57" = type { ptr }
%union.anon = type { i32 }
%"class.juce::ApplicationCommandTarget" = type { ptr, %"class.juce::WeakReference<juce::ApplicationCommandTarget>::Master" }
%"class.juce::WeakReference<juce::ApplicationCommandTarget>::Master" = type { %"class.juce::ReferenceCountedObjectPtr.58" }
%"class.juce::ReferenceCountedObjectPtr.58" = type { ptr }
%"class.juce::TextInputTarget" = type { ptr }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::ScopedPointer.60" = type { ptr }
%"class.juce::ScrollBar" = type { %"class.juce::Component.base", %"class.juce::AsyncUpdater", %"class.juce::Timer", %"class.juce::Range", %"class.juce::Range", double, double, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, %"class.juce::ScopedPointer.61", %"class.juce::ScopedPointer.61", %"class.juce::ListenerList.62" }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%"class.juce::Timer" = type { ptr, i32, i32, ptr, ptr }
%"class.juce::Range" = type { double, double }
%"class.juce::ScopedPointer.61" = type { ptr }
%"class.juce::ListenerList.62" = type { %"class.juce::Array.63" }
%"class.juce::Array.63" = type { %"class.juce::ArrayAllocationBase.64", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.64" = type <{ %"class.juce::HeapBlock.65", i32, [4 x i8] }>
%"class.juce::HeapBlock.65" = type { ptr }
%"class.juce::ScopedPointer.68" = type { ptr }
%"class.juce::ScopedPointer.69" = type { ptr }
%"struct.juce::CodeEditorComponent::ColourScheme" = type { %"class.juce::Array.70" }
%"class.juce::Array.70" = type { %"class.juce::ArrayAllocationBase.71", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.71" = type <{ %"class.juce::HeapBlock.72", i32, [4 x i8] }>
%"class.juce::HeapBlock.72" = type { ptr }
%"class.juce::OwnedArray.75" = type { %"class.juce::ArrayAllocationBase.76", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.76" = type <{ %"class.juce::HeapBlock.77", i32, [4 x i8] }>
%"class.juce::HeapBlock.77" = type { ptr }
%"class.juce::OwnedArray.80" = type { %"class.juce::ArrayAllocationBase.81", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.81" = type <{ %"class.juce::HeapBlock.82", i32, [4 x i8] }>
%"class.juce::HeapBlock.82" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(21)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21)) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce19CodeEditorComponent11moveCaretToERKNS_12CodeDocument8PositionEb(ptr noundef nonnull align 8 dereferenceable(1232) %0, ptr noundef nonnull align 8 dereferenceable(21) %1, i1 noundef zeroext %2) #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca %"class.juce::CodeDocument::Position", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.juce::CodeDocument::Position", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %12 = zext i1 %2 to i8
  store i8 %12, ptr %6, align 1, !tbaa !9
  %13 = load ptr, ptr %4, align 8
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 18
  %16 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %15, ptr noundef nonnull align 8 dereferenceable(21) %14)
  %17 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 12
  store i32 -1, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #5
  %18 = call noundef zeroext i1 @_ZNK4juce19CodeEditorComponent17isHighlightActiveEv(ptr noundef nonnull align 8 dereferenceable(1232) %13) #5
  %19 = zext i1 %18 to i8
  store i8 %19, ptr %7, align 1, !tbaa !9
  %20 = load i8, ptr %6, align 1, !tbaa !9, !range !72, !noundef !73
  %21 = trunc i8 %20 to i1
  br i1 %21, label %22, label %98

22:                                               ; preds = %3
  %23 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 27
  %24 = load i32, ptr %23, align 8, !tbaa !74
  %25 = icmp eq i32 %24, 0
  br i1 %25, label %26, label %45

26:                                               ; preds = %22
  %27 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 18
  %28 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %27) #5
  %29 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  %30 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %29) #5
  %31 = sub nsw i32 %28, %30
  %32 = call i32 @llvm.abs.i32(i32 %31, i1 true)
  %33 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 18
  %34 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %33) #5
  %35 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %36 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %35) #5
  %37 = sub nsw i32 %34, %36
  %38 = call i32 @llvm.abs.i32(i32 %37, i1 true)
  %39 = icmp slt i32 %32, %38
  br i1 %39, label %40, label %42

40:                                               ; preds = %26
  %41 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 27
  store i32 1, ptr %41, align 8, !tbaa !74
  br label %44

42:                                               ; preds = %26
  %43 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 27
  store i32 2, ptr %43, align 8, !tbaa !74
  br label %44

44:                                               ; preds = %42, %40
  br label %45

45:                                               ; preds = %44, %22
  %46 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 27
  %47 = load i32, ptr %46, align 8, !tbaa !74
  %48 = icmp eq i32 %47, 1
  br i1 %48, label %49, label %73

49:                                               ; preds = %45
  %50 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 18
  %51 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  %52 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %51, ptr noundef nonnull align 8 dereferenceable(21) %50)
  %53 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %54 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %53) #5
  %55 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  %56 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %55) #5
  %57 = icmp slt i32 %54, %56
  br i1 %57, label %58, label %72

58:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #5
  %59 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  call void @_ZN4juce12CodeDocument8PositionC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %8, ptr noundef nonnull align 8 dereferenceable(21) %59) #5
  %60 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %61 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  %62 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %61, ptr noundef nonnull align 8 dereferenceable(21) %60)
          to label %63 unwind label %68

63:                                               ; preds = %58
  %64 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %65 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %64, ptr noundef nonnull align 8 dereferenceable(21) %8)
          to label %66 unwind label %68

66:                                               ; preds = %63
  %67 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 27
  store i32 2, ptr %67, align 8, !tbaa !74
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  br label %72

68:                                               ; preds = %63, %58
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #5
  br label %117

72:                                               ; preds = %66, %49
  br label %97

73:                                               ; preds = %45
  %74 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 18
  %75 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %76 = call noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %75, ptr noundef nonnull align 8 dereferenceable(21) %74)
  %77 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %78 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %77) #5
  %79 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  %80 = call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %79) #5
  %81 = icmp slt i32 %78, %80
  br i1 %81, label %82, label %96

82:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  %83 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  call void @_ZN4juce12CodeDocument8PositionC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %11, ptr noundef nonnull align 8 dereferenceable(21) %83) #5
  %84 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %85 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 19
  %86 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %85, ptr noundef nonnull align 8 dereferenceable(21) %84)
          to label %87 unwind label %92

87:                                               ; preds = %82
  %88 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 20
  %89 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %88, ptr noundef nonnull align 8 dereferenceable(21) %11)
          to label %90 unwind label %92

90:                                               ; preds = %87
  %91 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 27
  store i32 1, ptr %91, align 8, !tbaa !74
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  br label %96

92:                                               ; preds = %87, %82
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %9, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %10, align 4
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  br label %117

96:                                               ; preds = %90, %73
  br label %97

97:                                               ; preds = %96, %72
  call void @_ZN4juce19CodeEditorComponent22rebuildLineTokensAsyncEv(ptr noundef nonnull align 8 dereferenceable(1232) %13)
  br label %99

98:                                               ; preds = %3
  call void @_ZN4juce19CodeEditorComponent11deselectAllEv(ptr noundef nonnull align 8 dereferenceable(1232) %13)
  br label %99

99:                                               ; preds = %98, %97
  %100 = load ptr, ptr %13, align 8, !tbaa !75
  %101 = getelementptr inbounds ptr, ptr %100, i64 65
  %102 = load ptr, ptr %101, align 8
  call void %102(ptr noundef nonnull align 8 dereferenceable(1232) %13)
  call void @_ZN4juce19CodeEditorComponent25scrollToKeepCaretOnScreenEv(ptr noundef nonnull align 8 dereferenceable(1232) %13)
  call void @_ZN4juce19CodeEditorComponent16updateScrollBarsEv(ptr noundef nonnull align 8 dereferenceable(1232) %13)
  %103 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 24
  %104 = load ptr, ptr %103, align 8, !tbaa !77
  %105 = icmp ne ptr %104, null
  br i1 %105, label %106, label %116

106:                                              ; preds = %99
  %107 = load i8, ptr %7, align 1, !tbaa !9, !range !72, !noundef !73
  %108 = trunc i8 %107 to i1
  %109 = zext i1 %108 to i32
  %110 = call noundef zeroext i1 @_ZNK4juce19CodeEditorComponent17isHighlightActiveEv(ptr noundef nonnull align 8 dereferenceable(1232) %13) #5
  %111 = zext i1 %110 to i32
  %112 = icmp ne i32 %109, %111
  br i1 %112, label %113, label %116

113:                                              ; preds = %106
  %114 = getelementptr inbounds %"class.juce::CodeEditorComponent", ptr %13, i32 0, i32 24
  %115 = load ptr, ptr %114, align 8, !tbaa !77
  call void @_ZN4juce25ApplicationCommandManager20commandStatusChangedEv(ptr noundef nonnull align 8 dereferenceable(88) %115)
  br label %116

116:                                              ; preds = %113, %106, %99
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  ret void

117:                                              ; preds = %92, %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #5
  br label %118

118:                                              ; preds = %117
  %119 = load ptr, ptr %9, align 8
  %120 = load i32, ptr %10, align 4
  %121 = insertvalue { ptr, i32 } poison, ptr %119, 0
  %122 = insertvalue { ptr, i32 } %121, i32 %120, 1
  resume { ptr, i32 } %122
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce19CodeEditorComponent17isHighlightActiveEv(ptr noundef nonnull align 8 dereferenceable(1232)) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #3

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

declare void @_ZN4juce25ApplicationCommandManager20commandStatusChangedEv(ptr noundef nonnull align 8 dereferenceable(88)) #4

declare void @_ZN4juce12CodeDocument8PositionC1ERKS1_(ptr, ptr)

declare void @_ZN4juce12CodeDocument8PositionD1Ev(ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "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 }

!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 = !{!"bool", !7, i64 0}
!11 = !{!12, !19, i64 268}
!12 = !{!"_ZTSN4juce19CodeEditorComponentE", !13, i64 0, !39, i64 200, !42, i64 216, !6, i64 224, !43, i64 232, !19, i64 240, !19, i64 244, !45, i64 248, !19, i64 252, !19, i64 256, !19, i64 260, !19, i64 264, !19, i64 268, !10, i64 272, !10, i64 273, !10, i64 274, !10, i64 275, !46, i64 280, !47, i64 288, !47, i64 312, !47, i64 336, !48, i64 360, !49, i64 368, !49, i64 744, !6, i64 1120, !59, i64 1128, !60, i64 1136, !61, i64 1144, !6, i64 1152, !62, i64 1160, !66, i64 1184, !69, i64 1208}
!13 = !{!"_ZTSN4juce9ComponentE", !14, i64 0, !15, i64 8, !15, i64 16, !6, i64 24, !17, i64 32, !20, i64 48, !21, i64 56, !22, i64 64, !6, i64 88, !25, i64 96, !6, i64 104, !26, i64 112, !27, i64 120, !28, i64 128, !29, i64 136, !33, i64 160, !37, i64 184, !7, i64 192, !7, i64 196}
!14 = !{!"_ZTSN4juce13MouseListenerE"}
!15 = !{!"_ZTSN4juce6StringE", !16, i64 0}
!16 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!17 = !{!"_ZTSN4juce9RectangleIiEE", !18, i64 0, !19, i64 8, !19, i64 12}
!18 = !{!"_ZTSN4juce5PointIiEE", !19, i64 0, !19, i64 4}
!19 = !{!"int", !7, i64 0}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!22 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !23, i64 0, !19, i64 16}
!23 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !24, i64 0, !19, i64 8}
!24 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!25 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!29 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !30, i64 0}
!30 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !31, i64 0, !19, i64 16}
!31 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !32, i64 0, !19, i64 8}
!32 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!33 = !{!"_ZTSN4juce13NamedValueSetE", !34, i64 0}
!34 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !35, i64 0, !19, i64 16}
!35 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !36, i64 0, !19, i64 8}
!36 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!37 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !38, i64 0}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!39 = !{!"_ZTSN4juce24ApplicationCommandTargetE", !40, i64 8}
!40 = !{!"_ZTSN4juce13WeakReferenceINS_24ApplicationCommandTargetENS_22ReferenceCountedObjectEE6MasterE", !41, i64 0}
!41 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_24ApplicationCommandTargetENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!42 = !{!"_ZTSN4juce15TextInputTargetE"}
!43 = !{!"_ZTSN4juce4FontE", !44, i64 0}
!44 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_4Font18SharedFontInternalEEE", !6, i64 0}
!45 = !{!"float", !7, i64 0}
!46 = !{!"double", !7, i64 0}
!47 = !{!"_ZTSN4juce12CodeDocument8PositionE", !6, i64 0, !19, i64 8, !19, i64 12, !19, i64 16, !10, i64 20}
!48 = !{!"_ZTSN4juce13ScopedPointerINS_14CaretComponentEEE", !6, i64 0}
!49 = !{!"_ZTSN4juce9ScrollBarE", !13, i64 0, !50, i64 200, !52, i64 216, !53, i64 248, !53, i64 264, !46, i64 280, !46, i64 288, !19, i64 296, !19, i64 300, !19, i64 304, !19, i64 308, !19, i64 312, !19, i64 316, !19, i64 320, !19, i64 324, !19, i64 328, !10, i64 332, !10, i64 333, !10, i64 334, !54, i64 336, !54, i64 344, !55, i64 352}
!50 = !{!"_ZTSN4juce12AsyncUpdaterE", !51, i64 8}
!51 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!52 = !{!"_ZTSN4juce5TimerE", !19, i64 8, !19, i64 12, !6, i64 16, !6, i64 24}
!53 = !{!"_ZTSN4juce5RangeIdEE", !46, i64 0, !46, i64 8}
!54 = !{!"_ZTSN4juce13ScopedPointerINS_9ScrollBar15ScrollbarButtonEEE", !6, i64 0}
!55 = !{!"_ZTSN4juce12ListenerListINS_9ScrollBar8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !56, i64 0}
!56 = !{!"_ZTSN4juce5ArrayIPNS_9ScrollBar8ListenerENS_20DummyCriticalSectionELi0EEE", !57, i64 0, !19, i64 16}
!57 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ScrollBar8ListenerENS_20DummyCriticalSectionEEE", !58, i64 0, !19, i64 8}
!58 = !{!"_ZTSN4juce9HeapBlockIPNS_9ScrollBar8ListenerELb0EEE", !6, i64 0}
!59 = !{!"_ZTSN4juce13ScopedPointerINS_19CodeEditorComponent5PimplEEE", !6, i64 0}
!60 = !{!"_ZTSN4juce13ScopedPointerINS_19CodeEditorComponent15GutterComponentEEE", !6, i64 0}
!61 = !{!"_ZTSN4juce19CodeEditorComponent8DragTypeE", !7, i64 0}
!62 = !{!"_ZTSN4juce19CodeEditorComponent12ColourSchemeE", !63, i64 0}
!63 = !{!"_ZTSN4juce5ArrayINS_19CodeEditorComponent12ColourScheme9TokenTypeENS_20DummyCriticalSectionELi0EEE", !64, i64 0, !19, i64 16}
!64 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_19CodeEditorComponent12ColourScheme9TokenTypeENS_20DummyCriticalSectionEEE", !65, i64 0, !19, i64 8}
!65 = !{!"_ZTSN4juce9HeapBlockINS_19CodeEditorComponent12ColourScheme9TokenTypeELb0EEE", !6, i64 0}
!66 = !{!"_ZTSN4juce10OwnedArrayINS_19CodeEditorComponent14CodeEditorLineENS_20DummyCriticalSectionEEE", !67, i64 0, !19, i64 16}
!67 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_19CodeEditorComponent14CodeEditorLineENS_20DummyCriticalSectionEEE", !68, i64 0, !19, i64 8}
!68 = !{!"_ZTSN4juce9HeapBlockIPNS_19CodeEditorComponent14CodeEditorLineELb0EEE", !6, i64 0}
!69 = !{!"_ZTSN4juce10OwnedArrayINS_12CodeDocument8IteratorENS_20DummyCriticalSectionEEE", !70, i64 0, !19, i64 16}
!70 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_12CodeDocument8IteratorENS_20DummyCriticalSectionEEE", !71, i64 0, !19, i64 8}
!71 = !{!"_ZTSN4juce9HeapBlockIPNS_12CodeDocument8IteratorELb0EEE", !6, i64 0}
!72 = !{i8 0, i8 2}
!73 = !{}
!74 = !{!12, !61, i64 1144}
!75 = !{!76, !76, i64 0}
!76 = !{!"vtable pointer", !8, i64 0}
!77 = !{!12, !6, i64 1120}


; 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.juce::CodeDocument::Position" = type <{ ptr, i32, i32, i32, i8, [3 x i8] }>

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

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21), ptr noundef nonnull align 8 dereferenceable(21)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21)) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce19CodeEditorComponent11moveCaretToERKNS_12CodeDocument8PositionEb(ptr noundef nonnull align 8 dereferenceable(1232) %0, ptr noundef nonnull align 8 dereferenceable(21) %1, i1 noundef zeroext %2) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.juce::CodeDocument::Position", align 8
  %5 = alloca %"class.juce::CodeDocument::Position", align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 288
  %7 = tail call noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %6, ptr noundef nonnull align 8 dereferenceable(21) %1)
  %8 = getelementptr inbounds i8, ptr %0, i64 268
  store i32 -1, ptr %8, align 4, !tbaa !5
  %9 = tail call noundef zeroext i1 @_ZNK4juce19CodeEditorComponent17isHighlightActiveEv(ptr noundef nonnull align 8 dereferenceable(1232) %0) #5
  br i1 %2, label %10, label %54

10:                                               ; preds = %3
  %11 = getelementptr inbounds i8, ptr %0, i64 1144
  %12 = load i32, ptr %11, align 8, !tbaa !70
  switch i32 %12, label %39 [
    i32 0, label %13
    i32 1, label %25
  ]

13:                                               ; preds = %10
  %14 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %6) #5
  %15 = getelementptr inbounds i8, ptr %0, i64 312
  %16 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %15) #5
  %17 = sub nsw i32 %14, %16
  %18 = tail call i32 @llvm.abs.i32(i32 %17, i1 true)
  %19 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %6) #5
  %20 = getelementptr inbounds i8, ptr %0, i64 336
  %21 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %20) #5
  %22 = sub nsw i32 %19, %21
  %23 = tail call i32 @llvm.abs.i32(i32 %22, i1 true)
  %24 = icmp ult i32 %18, %23
  br i1 %24, label %.thread, label %.thread8

.thread:                                          ; preds = %13
  store i32 1, ptr %11, align 8, !tbaa !70
  br label %25

.thread8:                                         ; preds = %13
  store i32 2, ptr %11, align 8, !tbaa !70
  br label %39

25:                                               ; preds = %10, %.thread
  %26 = getelementptr inbounds i8, ptr %0, i64 312
  %27 = tail call noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %26, ptr noundef nonnull align 8 dereferenceable(21) %6)
  %28 = getelementptr inbounds i8, ptr %0, i64 336
  %29 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %28) #5
  %30 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %26) #5
  %31 = icmp slt i32 %29, %30
  br i1 %31, label %32, label %53

32:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  call void @_ZN4juce12CodeDocument8PositionC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %4, ptr noundef nonnull align 8 dereferenceable(21) %26) #5
  %33 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %26, ptr noundef nonnull align 8 dereferenceable(21) %28)
          to label %34 unwind label %37

34:                                               ; preds = %32
  %35 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %28, ptr noundef nonnull align 8 dereferenceable(21) %4)
          to label %36 unwind label %37

36:                                               ; preds = %34
  store i32 2, ptr %11, align 8, !tbaa !70
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  br label %53

37:                                               ; preds = %34, %32
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  br label %67

39:                                               ; preds = %10, %.thread8
  %40 = getelementptr inbounds i8, ptr %0, i64 336
  %41 = tail call noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %40, ptr noundef nonnull align 8 dereferenceable(21) %6)
  %42 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %40) #5
  %43 = getelementptr inbounds i8, ptr %0, i64 312
  %44 = tail call noundef i32 @_ZNK4juce12CodeDocument8Position11getPositionEv(ptr noundef nonnull align 8 dereferenceable(21) %43) #5
  %45 = icmp slt i32 %42, %44
  br i1 %45, label %46, label %53

46:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZN4juce12CodeDocument8PositionC1ERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %5, ptr noundef nonnull align 8 dereferenceable(21) %43) #5
  %47 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %43, ptr noundef nonnull align 8 dereferenceable(21) %40)
          to label %48 unwind label %51

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(21) ptr @_ZN4juce12CodeDocument8PositionaSERKS1_(ptr noundef nonnull align 8 dereferenceable(21) %40, ptr noundef nonnull align 8 dereferenceable(21) %5)
          to label %50 unwind label %51

50:                                               ; preds = %48
  store i32 1, ptr %11, align 8, !tbaa !70
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %53

51:                                               ; preds = %48, %46
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce12CodeDocument8PositionD1Ev(ptr noundef nonnull align 8 dereferenceable(21) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %67

53:                                               ; preds = %39, %50, %25, %36
  call void @_ZN4juce19CodeEditorComponent22rebuildLineTokensAsyncEv(ptr noundef nonnull align 8 dereferenceable(1232) %0)
  br label %55

54:                                               ; preds = %3
  tail call void @_ZN4juce19CodeEditorComponent11deselectAllEv(ptr noundef nonnull align 8 dereferenceable(1232) %0)
  br label %55

55:                                               ; preds = %54, %53
  %56 = load ptr, ptr %0, align 8, !tbaa !71
  %57 = getelementptr inbounds i8, ptr %56, i64 520
  %58 = load ptr, ptr %57, align 8
  call void %58(ptr noundef nonnull align 8 dereferenceable(1232) %0)
  call void @_ZN4juce19CodeEditorComponent25scrollToKeepCaretOnScreenEv(ptr noundef nonnull align 8 dereferenceable(1232) %0)
  call void @_ZN4juce19CodeEditorComponent16updateScrollBarsEv(ptr noundef nonnull align 8 dereferenceable(1232) %0)
  %59 = getelementptr inbounds i8, ptr %0, i64 1120
  %60 = load ptr, ptr %59, align 8, !tbaa !73
  %.not = icmp eq ptr %60, null
  br i1 %.not, label %66, label %61

61:                                               ; preds = %55
  %62 = call noundef zeroext i1 @_ZNK4juce19CodeEditorComponent17isHighlightActiveEv(ptr noundef nonnull align 8 dereferenceable(1232) %0) #5
  %63 = xor i1 %9, %62
  br i1 %63, label %64, label %66

64:                                               ; preds = %61
  %65 = load ptr, ptr %59, align 8, !tbaa !73
  call void @_ZN4juce25ApplicationCommandManager20commandStatusChangedEv(ptr noundef nonnull align 8 dereferenceable(88) %65)
  br label %66

66:                                               ; preds = %64, %61, %55
  ret void

67:                                               ; preds = %51, %37
  %.pn = phi { ptr, i32 } [ %38, %37 ], [ %52, %51 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce19CodeEditorComponent17isHighlightActiveEv(ptr noundef nonnull align 8 dereferenceable(1232)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.abs.i32(i32, i1 immarg) #3

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

declare void @_ZN4juce25ApplicationCommandManager20commandStatusChangedEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4

declare void @_ZN4juce12CodeDocument8PositionC1ERKS1_(ptr, ptr) local_unnamed_addr

declare void @_ZN4juce12CodeDocument8PositionD1Ev(ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { "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 }

!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, !16, i64 268}
!6 = !{!"_ZTSN4juce19CodeEditorComponentE", !7, i64 0, !36, i64 200, !39, i64 216, !11, i64 224, !40, i64 232, !16, i64 240, !16, i64 244, !42, i64 248, !16, i64 252, !16, i64 256, !16, i64 260, !16, i64 264, !16, i64 268, !43, i64 272, !43, i64 273, !43, i64 274, !43, i64 275, !44, i64 280, !45, i64 288, !45, i64 312, !45, i64 336, !46, i64 360, !47, i64 368, !47, i64 744, !11, i64 1120, !57, i64 1128, !58, i64 1136, !59, i64 1144, !11, i64 1152, !60, i64 1160, !64, i64 1184, !67, i64 1208}
!7 = !{!"_ZTSN4juce9ComponentE", !8, i64 0, !9, i64 8, !9, i64 16, !11, i64 24, !14, i64 32, !17, i64 48, !18, i64 56, !19, i64 64, !11, i64 88, !22, i64 96, !11, i64 104, !23, i64 112, !24, i64 120, !25, i64 128, !26, i64 136, !30, i64 160, !34, i64 184, !12, i64 192, !12, i64 196}
!8 = !{!"_ZTSN4juce13MouseListenerE"}
!9 = !{!"_ZTSN4juce6StringE", !10, i64 0}
!10 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN4juce9RectangleIiEE", !15, i64 0, !16, i64 8, !16, i64 12}
!15 = !{!"_ZTSN4juce5PointIiEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !12, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !11, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !11, i64 0}
!19 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !11, i64 0}
!22 = !{!"_ZTSN4juce11MouseCursorE", !11, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !11, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !11, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !11, i64 0}
!26 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !27, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !16, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !29, i64 0, !16, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !11, i64 0}
!30 = !{!"_ZTSN4juce13NamedValueSetE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !16, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !33, i64 0, !16, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !11, i64 0}
!34 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !35, i64 0}
!35 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!36 = !{!"_ZTSN4juce24ApplicationCommandTargetE", !37, i64 8}
!37 = !{!"_ZTSN4juce13WeakReferenceINS_24ApplicationCommandTargetENS_22ReferenceCountedObjectEE6MasterE", !38, i64 0}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_24ApplicationCommandTargetENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!39 = !{!"_ZTSN4juce15TextInputTargetE"}
!40 = !{!"_ZTSN4juce4FontE", !41, i64 0}
!41 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_4Font18SharedFontInternalEEE", !11, i64 0}
!42 = !{!"float", !12, i64 0}
!43 = !{!"bool", !12, i64 0}
!44 = !{!"double", !12, i64 0}
!45 = !{!"_ZTSN4juce12CodeDocument8PositionE", !11, i64 0, !16, i64 8, !16, i64 12, !16, i64 16, !43, i64 20}
!46 = !{!"_ZTSN4juce13ScopedPointerINS_14CaretComponentEEE", !11, i64 0}
!47 = !{!"_ZTSN4juce9ScrollBarE", !7, i64 0, !48, i64 200, !50, i64 216, !51, i64 248, !51, i64 264, !44, i64 280, !44, i64 288, !16, i64 296, !16, i64 300, !16, i64 304, !16, i64 308, !16, i64 312, !16, i64 316, !16, i64 320, !16, i64 324, !16, i64 328, !43, i64 332, !43, i64 333, !43, i64 334, !52, i64 336, !52, i64 344, !53, i64 352}
!48 = !{!"_ZTSN4juce12AsyncUpdaterE", !49, i64 8}
!49 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!50 = !{!"_ZTSN4juce5TimerE", !16, i64 8, !16, i64 12, !11, i64 16, !11, i64 24}
!51 = !{!"_ZTSN4juce5RangeIdEE", !44, i64 0, !44, i64 8}
!52 = !{!"_ZTSN4juce13ScopedPointerINS_9ScrollBar15ScrollbarButtonEEE", !11, i64 0}
!53 = !{!"_ZTSN4juce12ListenerListINS_9ScrollBar8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !54, i64 0}
!54 = !{!"_ZTSN4juce5ArrayIPNS_9ScrollBar8ListenerENS_20DummyCriticalSectionELi0EEE", !55, i64 0, !16, i64 16}
!55 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ScrollBar8ListenerENS_20DummyCriticalSectionEEE", !56, i64 0, !16, i64 8}
!56 = !{!"_ZTSN4juce9HeapBlockIPNS_9ScrollBar8ListenerELb0EEE", !11, i64 0}
!57 = !{!"_ZTSN4juce13ScopedPointerINS_19CodeEditorComponent5PimplEEE", !11, i64 0}
!58 = !{!"_ZTSN4juce13ScopedPointerINS_19CodeEditorComponent15GutterComponentEEE", !11, i64 0}
!59 = !{!"_ZTSN4juce19CodeEditorComponent8DragTypeE", !12, i64 0}
!60 = !{!"_ZTSN4juce19CodeEditorComponent12ColourSchemeE", !61, i64 0}
!61 = !{!"_ZTSN4juce5ArrayINS_19CodeEditorComponent12ColourScheme9TokenTypeENS_20DummyCriticalSectionELi0EEE", !62, i64 0, !16, i64 16}
!62 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_19CodeEditorComponent12ColourScheme9TokenTypeENS_20DummyCriticalSectionEEE", !63, i64 0, !16, i64 8}
!63 = !{!"_ZTSN4juce9HeapBlockINS_19CodeEditorComponent12ColourScheme9TokenTypeELb0EEE", !11, i64 0}
!64 = !{!"_ZTSN4juce10OwnedArrayINS_19CodeEditorComponent14CodeEditorLineENS_20DummyCriticalSectionEEE", !65, i64 0, !16, i64 16}
!65 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_19CodeEditorComponent14CodeEditorLineENS_20DummyCriticalSectionEEE", !66, i64 0, !16, i64 8}
!66 = !{!"_ZTSN4juce9HeapBlockIPNS_19CodeEditorComponent14CodeEditorLineELb0EEE", !11, i64 0}
!67 = !{!"_ZTSN4juce10OwnedArrayINS_12CodeDocument8IteratorENS_20DummyCriticalSectionEEE", !68, i64 0, !16, i64 16}
!68 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_12CodeDocument8IteratorENS_20DummyCriticalSectionEEE", !69, i64 0, !16, i64 8}
!69 = !{!"_ZTSN4juce9HeapBlockIPNS_12CodeDocument8IteratorELb0EEE", !11, i64 0}
!70 = !{!6, !59, i64 1144}
!71 = !{!72, !72, i64 0}
!72 = !{!"vtable pointer", !13, i64 0}
!73 = !{!6, !11, i64 1120}


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