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

%struct.Type.132 = type { ptr, i32 }
%"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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.92 }
%union.anon.92 = type { i32 }

@__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types = external hidden unnamed_addr constant [9 x %struct.Type.132], align 16

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce19CodeEditorComponent12ColourSchemeC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #0

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12XmlTokeniser22getDefaultColourSchemeEv(ptr dead_on_unwind noalias writable sret(%"struct.juce::CodeEditorComponent::ColourScheme") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca [9 x %struct.Type.132], align 16
  %6 = alloca i1, align 1
  %7 = alloca i32, align 4
  %8 = alloca %"class.juce::String", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 144, ptr %5) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %5, ptr align 16 @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 144, i1 false)
  store i1 false, ptr %6, align 1
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %31, %2
  %14 = load i32, ptr %7, align 4, !tbaa !9
  %15 = zext i32 %14 to i64
  %16 = icmp ult i64 %15, 9
  br i1 %16, label %18, label %17

17:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %43

18:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds [9 x %struct.Type.132], ptr %5, i64 0, i64 %20
  %22 = getelementptr inbounds %struct.Type.132, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 16, !tbaa !11
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %23)
          to label %24 unwind label %34

24:                                               ; preds = %18
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds [9 x %struct.Type.132], ptr %5, i64 0, i64 %26
  %28 = getelementptr inbounds %struct.Type.132, ptr %27, i32 0, i32 1
  %29 = load i32, ptr %28, align 8, !tbaa !13
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %11, i32 noundef %29) #6
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef %11)
          to label %30 unwind label %38

30:                                               ; preds = %24
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %31

31:                                               ; preds = %30
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = add i32 %32, 1
  store i32 %33, ptr %7, align 4, !tbaa !9
  br label %13, !llvm.loop !14

34:                                               ; preds = %18
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %9, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %10, align 4
  br label %42

38:                                               ; preds = %24
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %9, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %10, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br label %42

42:                                               ; preds = %38, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #6
  br label %47

43:                                               ; preds = %17
  store i1 true, ptr %6, align 1
  %44 = load i1, ptr %6, align 1
  br i1 %44, label %46, label %45

45:                                               ; preds = %43
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %46

46:                                               ; preds = %45, %43
  call void @llvm.lifetime.end.p0(i64 144, ptr %5) #6
  ret void

47:                                               ; preds = %42
  %48 = load ptr, ptr %9, align 8
  %49 = load i32, ptr %10, align 4
  %50 = insertvalue { ptr, i32 } poison, ptr %48, 0
  %51 = insertvalue { ptr, i32 } %50, i32 %49, 1
  resume { ptr, i32 } %51
}

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"_ZTSZN4juce12XmlTokeniser22getDefaultColourSchemeEvE4Type", !6, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.Type.132 = type { ptr, i32 }
%"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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.92 }
%union.anon.92 = type { i32 }

@__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types = external hidden unnamed_addr constant [9 x %struct.Type.132], align 16

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce19CodeEditorComponent12ColourSchemeC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #0

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce12XmlTokeniser22getDefaultColourSchemeEv(ptr dead_on_unwind noalias nonnull writable sret(%"struct.juce::CodeEditorComponent::ColourScheme") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %1) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::String", align 8
  %4 = alloca %"class.juce::Colour", align 1
  tail call void @_ZN4juce19CodeEditorComponent12ColourSchemeC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %5 = load ptr, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %5)
          to label %6 unwind label %41

6:                                                ; preds = %2
  %7 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 8), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %7) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %8 unwind label %43

8:                                                ; preds = %6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %9 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 16), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %9)
          to label %10 unwind label %41

10:                                               ; preds = %8
  %11 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 24), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %11) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %12 unwind label %43

12:                                               ; preds = %10
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %13 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 32), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %13)
          to label %14 unwind label %41

14:                                               ; preds = %12
  %15 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 40), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %15) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %16 unwind label %43

16:                                               ; preds = %14
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %17 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 48), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %17)
          to label %18 unwind label %41

18:                                               ; preds = %16
  %19 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 56), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %19) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %20 unwind label %43

20:                                               ; preds = %18
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %21 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 64), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %21)
          to label %22 unwind label %41

22:                                               ; preds = %20
  %23 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 72), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %23) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %24 unwind label %43

24:                                               ; preds = %22
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %25 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 80), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %25)
          to label %26 unwind label %41

26:                                               ; preds = %24
  %27 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 88), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %27) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %28 unwind label %43

28:                                               ; preds = %26
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %29 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 96), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %29)
          to label %30 unwind label %41

30:                                               ; preds = %28
  %31 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 104), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %31) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %32 unwind label %43

32:                                               ; preds = %30
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %33 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 112), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %33)
          to label %34 unwind label %41

34:                                               ; preds = %32
  %35 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 120), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %35) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %36 unwind label %43

36:                                               ; preds = %34
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %37 = load ptr, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 128), align 16, !tbaa !5
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef %37)
          to label %38 unwind label %41

38:                                               ; preds = %36
  %39 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4juce12XmlTokeniser22getDefaultColourSchemeEv.types, i64 136), align 8, !tbaa !11
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %4, i32 noundef %39) #5
  invoke void @_ZN4juce19CodeEditorComponent12ColourScheme3setERKNS_6StringENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull %4)
          to label %40 unwind label %43

40:                                               ; preds = %38
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  ret void

41:                                               ; preds = %36, %32, %28, %24, %20, %16, %12, %8, %2
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %45

43:                                               ; preds = %38, %34, %30, %26, %22, %18, %14, %10, %6
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #5
  br label %45

45:                                               ; preds = %43, %41
  %.pn = phi { ptr, i32 } [ %44, %43 ], [ %42, %41 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  call void @_ZN4juce19CodeEditorComponent12ColourSchemeD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  resume { ptr, i32 } %.pn
}

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSZN4juce12XmlTokeniser22getDefaultColourSchemeEvE4Type", !7, i64 0, !10, i64 8}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 8}


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