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

; 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Identifier" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::var" = type { ptr, %"union.juce::var::ValueUnion" }
%"union.juce::var::ValueUnion" = type { i64 }
%"class.juce::StringRef" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::DrawableShape::RelativeFillType" = type { %"class.juce::FillType", %"class.juce::RelativePoint", %"class.juce::RelativePoint", %"class.juce::RelativePoint" }
%"class.juce::FillType" = type { %"class.juce::Colour", %"class.juce::ScopedPointer.198", %"class.juce::Image", %"class.juce::AffineTransform" }
%"class.juce::ScopedPointer.198" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@.str.48 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZN4juce13DrawableShape18FillAndStrokeState4typeE = external dso_local global %"class.juce::Identifier", align 8
@.str.84 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZN4juce13DrawableShape18FillAndStrokeState6colourE = external dso_local global %"class.juce::Identifier", align 8
@.str.85 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint1E = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint2E = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint3E = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState6radialE = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState7coloursE = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState7imageIdE = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState12imageOpacityE = external dso_local global %"class.juce::Identifier", align 8

declare i32 @__gxx_personality_v0(...)

; 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

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

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

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

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

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce5ImageaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

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

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

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #0

declare void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #2

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

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

declare void @_ZNK4juce9ValueTree11getPropertyERKNS_10IdentifierERKNS_3varE(ptr dead_on_unwind writable sret(%"class.juce::var") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: nounwind
declare void @_ZN4juce3varC1Ed(ptr noundef nonnull align 8 dereferenceable(16), double noundef) unnamed_addr #0

; Function Attrs: nounwind
declare noundef float @_ZNK4juce3varcvfEv(ptr noundef nonnull align 8 dereferenceable(16)) #0

declare void @_ZN4juce6Colour10fromStringENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef) #2

declare void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce3varcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce13DrawableShape16RelativeFillType8readFromERKNS_9ValueTreeEPNS_16ComponentBuilder13ImageProviderE(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca %"class.juce::String", align 8
  %9 = alloca %"class.juce::String", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca i1, align 1
  %14 = alloca %"class.juce::StringRef", align 8
  %15 = alloca i1, align 1
  %16 = alloca i32, align 4
  %17 = alloca %"class.juce::ColourGradient", align 8
  %18 = alloca %"class.juce::StringArray", align 8
  %19 = alloca %"class.juce::StringRef", align 8
  %20 = alloca %"class.juce::String", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.juce::Colour", align 1
  %23 = alloca %"class.juce::StringRef", align 8
  %24 = alloca %"class.juce::RelativePoint", align 8
  %25 = alloca %"class.juce::String", align 8
  %26 = alloca %"class.juce::RelativePoint", align 8
  %27 = alloca %"class.juce::String", align 8
  %28 = alloca %"class.juce::RelativePoint", align 8
  %29 = alloca %"class.juce::String", align 8
  %30 = alloca %"class.juce::Image", align 8
  %31 = alloca %"class.juce::Image", align 8
  %32 = alloca %"class.juce::AffineTransform", align 4
  %33 = alloca %"class.juce::var", align 8
  %34 = alloca %"class.juce::var", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %35 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState4typeE) #5
  call void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %37)
  %38 = call noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef @.str.84) #5
  br i1 %38, label %39, label %67

39:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState6colourE) #5
  invoke void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %9, ptr noundef nonnull align 8 dereferenceable(16) %41)
          to label %42 unwind label %55

42:                                               ; preds = %39
  %43 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 0
  %44 = call noundef zeroext i1 @_ZNK4juce6String7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  store i1 false, ptr %13, align 1
  store i1 false, ptr %15, align 1
  br i1 %44, label %45, label %46

45:                                               ; preds = %42
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE) #5
  store i1 true, ptr %13, align 1
  br label %48

46:                                               ; preds = %42
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  invoke void @_ZN4juce6Colour10fromStringENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %12, ptr noundef %14)
          to label %47 unwind label %59

47:                                               ; preds = %46
  store i1 true, ptr %15, align 1
  br label %48

48:                                               ; preds = %47, %45
  call void @_ZN4juce8FillType9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %43, ptr noundef %12) #5
  %49 = load i1, ptr %15, align 1
  br i1 %49, label %50, label %51

50:                                               ; preds = %48
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #5
  br label %51

51:                                               ; preds = %50, %48
  %52 = load i1, ptr %13, align 1
  br i1 %52, label %53, label %54

53:                                               ; preds = %51
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #5
  br label %54

54:                                               ; preds = %53, %51
  store i1 true, ptr %4, align 1
  store i32 1, ptr %16, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %207

55:                                               ; preds = %39
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %10, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %11, align 4
  br label %66

59:                                               ; preds = %46
  %60 = landingpad { ptr, i32 }
          cleanup
  %61 = extractvalue { ptr, i32 } %60, 0
  store ptr %61, ptr %10, align 8
  %62 = extractvalue { ptr, i32 } %60, 1
  store i32 %62, ptr %11, align 4
  %63 = load i1, ptr %13, align 1
  br i1 %63, label %64, label %65

64:                                               ; preds = %59
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #5
  br label %65

65:                                               ; preds = %64, %59
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br label %66

66:                                               ; preds = %65, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %209

67:                                               ; preds = %3
  %68 = call noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef @.str.85) #5
  br i1 %68, label %69, label %172

69:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #5
  call void @_ZN4juce14ColourGradientC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState6radialE) #5
  %72 = call noundef zeroext i1 @_ZNK4juce3varcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %71) #5
  %73 = getelementptr inbounds %"class.juce::ColourGradient", ptr %17, i32 0, i32 2
  %74 = zext i1 %72 to i8
  store i8 %74, ptr %73, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %75 = load ptr, ptr %6, align 8, !tbaa !5
  %76 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState7coloursE) #5
  invoke void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %76)
          to label %77 unwind label %86

77:                                               ; preds = %69
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %78 = invoke noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef %19, i1 noundef zeroext false)
          to label %79 unwind label %90

79:                                               ; preds = %77
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !18
  br label %80

80:                                               ; preds = %107, %79
  %81 = load i32, ptr %21, align 4, !tbaa !18
  %82 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  %83 = sdiv i32 %82, 2
  %84 = icmp slt i32 %81, %83
  br i1 %84, label %95, label %85

85:                                               ; preds = %80
  store i32 2, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %119

86:                                               ; preds = %69
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %10, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %11, align 4
  br label %94

90:                                               ; preds = %77
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %10, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %11, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %94

94:                                               ; preds = %90, %86
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %171

95:                                               ; preds = %80
  %96 = load i32, ptr %21, align 4, !tbaa !18
  %97 = mul nsw i32 %96, 2
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %18, i32 noundef %97) #5
  %99 = call noundef double @_ZNK4juce6String14getDoubleValueEv(ptr noundef nonnull align 8 dereferenceable(8) %98) #5
  %100 = load i32, ptr %21, align 4, !tbaa !18
  %101 = mul nsw i32 %100, 2
  %102 = add nsw i32 %101, 1
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %18, i32 noundef %102) #5
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %103) #5
  invoke void @_ZN4juce6Colour10fromStringENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %22, ptr noundef %23)
          to label %104 unwind label %110

104:                                              ; preds = %95
  %105 = invoke noundef i32 @_ZN4juce14ColourGradient9addColourEdNS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %17, double noundef %99, ptr noundef %22)
          to label %106 unwind label %114

106:                                              ; preds = %104
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #5
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %21, align 4, !tbaa !18
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %21, align 4, !tbaa !18
  br label %80, !llvm.loop !19

110:                                              ; preds = %95
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %10, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %11, align 4
  br label %118

114:                                              ; preds = %104
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %10, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %11, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #5
  br label %118

118:                                              ; preds = %114, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %171

119:                                              ; preds = %85
  %120 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 0
  invoke void @_ZN4juce8FillType11setGradientERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(48) %120, ptr noundef nonnull align 8 dereferenceable(48) %17)
          to label %121 unwind label %140

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint1E) #5
  invoke void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %25, ptr noundef nonnull align 8 dereferenceable(16) %123)
          to label %124 unwind label %144

124:                                              ; preds = %121
  invoke void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %125 unwind label %148

125:                                              ; preds = %124
  %126 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 1
  %127 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %126, ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %128 = load ptr, ptr %6, align 8, !tbaa !5
  %129 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %128, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint2E) #5
  invoke void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %27, ptr noundef nonnull align 8 dereferenceable(16) %129)
          to label %130 unwind label %153

130:                                              ; preds = %125
  invoke void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %131 unwind label %157

131:                                              ; preds = %130
  %132 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 2
  %133 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %132, ptr noundef nonnull align 8 dereferenceable(16) %26) #5
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %26) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %134 = load ptr, ptr %6, align 8, !tbaa !5
  %135 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %134, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint3E) #5
  invoke void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %135)
          to label %136 unwind label %162

136:                                              ; preds = %131
  invoke void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %137 unwind label %166

137:                                              ; preds = %136
  %138 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 3
  %139 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %28) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  store i1 true, ptr %4, align 1
  store i32 1, ptr %16, align 4
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #5
  br label %207

140:                                              ; preds = %119
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %10, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %11, align 4
  br label %171

144:                                              ; preds = %121
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %10, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %11, align 4
  br label %152

148:                                              ; preds = %124
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %10, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %11, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br label %152

152:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %171

153:                                              ; preds = %125
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %10, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %11, align 4
  br label %161

157:                                              ; preds = %130
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %10, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %11, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  br label %161

161:                                              ; preds = %157, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #5
  br label %171

162:                                              ; preds = %131
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %10, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %11, align 4
  br label %170

166:                                              ; preds = %136
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %10, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %11, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  br label %170

170:                                              ; preds = %166, %162
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #5
  br label %171

171:                                              ; preds = %170, %161, %152, %140, %118, %94
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %17) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #5
  br label %209

172:                                              ; preds = %67
  %173 = call noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef @.str.48) #5
  br i1 %173, label %174, label %201

174:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @_ZN4juce5ImageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = icmp ne ptr %175, null
  br i1 %176, label %177, label %190

177:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = load ptr, ptr %6, align 8, !tbaa !5
  %180 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %179, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState7imageIdE) #5
  %181 = load ptr, ptr %178, align 8, !tbaa !21
  %182 = getelementptr inbounds ptr, ptr %181, i64 2
  %183 = load ptr, ptr %182, align 8
  invoke void %183(ptr dead_on_unwind writable sret(%"class.juce::Image") align 8 %31, ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef nonnull align 8 dereferenceable(16) %180)
          to label %184 unwind label %186

184:                                              ; preds = %177
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce5ImageaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) %31) #5
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %190

186:                                              ; preds = %177
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %10, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %200

190:                                              ; preds = %184, %174
  %191 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #5
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %32) #5
  call void @_ZN4juce8FillType13setTiledImageERKNS_5ImageERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(48) %191, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(24) %32) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #5
  %192 = getelementptr inbounds %"class.juce::DrawableShape::RelativeFillType", ptr %35, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #5
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #5
  call void @_ZN4juce3varC1Ed(ptr noundef nonnull align 8 dereferenceable(16) %34, double noundef 1.000000e+00) #5
  invoke void @_ZNK4juce9ValueTree11getPropertyERKNS_10IdentifierERKNS_3varE(ptr dead_on_unwind writable sret(%"class.juce::var") align 8 %33, ptr noundef nonnull align 8 dereferenceable(32) %193, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState12imageOpacityE, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %194 unwind label %196

194:                                              ; preds = %190
  %195 = call noundef float @_ZNK4juce3varcvfEv(ptr noundef nonnull align 8 dereferenceable(16) %33) #5
  call void @_ZN4juce8FillType10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(48) %192, float noundef %195) #5
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #5
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  store i1 true, ptr %4, align 1
  store i32 1, ptr %16, align 4
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %207

196:                                              ; preds = %190
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %10, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %11, align 4
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #5
  br label %200

200:                                              ; preds = %196, %186
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %209

201:                                              ; preds = %172
  br label %202

202:                                              ; preds = %201
  br label %203

203:                                              ; preds = %202
  br label %204

204:                                              ; preds = %203
  br label %205

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205
  store i1 false, ptr %4, align 1
  store i32 1, ptr %16, align 4
  br label %207

207:                                              ; preds = %206, %194, %137, %54
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %208 = load i1, ptr %4, align 1
  ret i1 %208

209:                                              ; preds = %200, %171, %66
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %10, align 8
  %212 = load i32, ptr %11, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0

; Function Attrs: nounwind
declare void @_ZN4juce8FillType9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) #0

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

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

declare noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i1 noundef zeroext) #2

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

declare noundef i32 @_ZN4juce14ColourGradient9addColourEdNS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48), double noundef, ptr noundef) #2

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #0

; Function Attrs: nounwind
declare noundef double @_ZNK4juce6String14getDoubleValueEv(ptr noundef nonnull align 8 dereferenceable(8)) #0

declare void @_ZN4juce8FillType11setGradientERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #2

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

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

; Function Attrs: nounwind
declare void @_ZN4juce8FillType13setTiledImageERKNS_5ImageERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(24)) #0

; Function Attrs: nounwind
declare void @_ZN4juce8FillType10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(48), float noundef) #0

declare void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr, ptr)

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 = { 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !13, i64 16}
!10 = !{!"_ZTSN4juce14ColourGradientE", !11, i64 0, !11, i64 8, !13, i64 16, !14, i64 24}
!11 = !{!"_ZTSN4juce5PointIfEE", !12, i64 0, !12, i64 4}
!12 = !{!"float", !7, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN4juce5ArrayINS_14ColourGradient11ColourPointENS_20DummyCriticalSectionELi0EEE", !15, i64 0, !17, i64 16}
!15 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_14ColourGradient11ColourPointENS_20DummyCriticalSectionEEE", !16, i64 0, !17, i64 8}
!16 = !{!"_ZTSN4juce9HeapBlockINS_14ColourGradient11ColourPointELb0EEE", !6, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!17, !17, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}


; 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Identifier" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::var" = type { ptr, %"union.juce::var::ValueUnion" }
%"union.juce::var::ValueUnion" = type { i64 }
%"class.juce::StringRef" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@.str.48 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZN4juce13DrawableShape18FillAndStrokeState4typeE = external dso_local global %"class.juce::Identifier", align 8
@.str.84 = external hidden unnamed_addr constant [6 x i8], align 1
@_ZN4juce13DrawableShape18FillAndStrokeState6colourE = external dso_local global %"class.juce::Identifier", align 8
@.str.85 = external hidden unnamed_addr constant [9 x i8], align 1
@_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint1E = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint2E = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint3E = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState6radialE = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState7coloursE = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState7imageIdE = external dso_local global %"class.juce::Identifier", align 8
@_ZN4juce13DrawableShape18FillAndStrokeState12imageOpacityE = external dso_local global %"class.juce::Identifier", align 8

declare i32 @__gxx_personality_v0(...)

; 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

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

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

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

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

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce5ImageaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

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

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

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

declare void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

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

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

declare void @_ZNK4juce9ValueTree11getPropertyERKNS_10IdentifierERKNS_3varE(ptr dead_on_unwind writable sret(%"class.juce::var") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: nounwind
declare void @_ZN4juce3varC1Ed(ptr noundef nonnull align 8 dereferenceable(16), double noundef) unnamed_addr #0

; Function Attrs: nounwind
declare noundef float @_ZNK4juce3varcvfEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

declare void @_ZN4juce6Colour10fromStringENS_9StringRefE(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef) local_unnamed_addr #2

declare void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZNK4juce3varcvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce13DrawableShape16RelativeFillType8readFromERKNS_9ValueTreeEPNS_16ComponentBuilder13ImageProviderE(ptr noundef nonnull align 8 dereferenceable(96) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef %2) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.juce::String", align 8
  %5 = alloca %"class.juce::String", align 8
  %6 = alloca %"class.juce::Colour", align 1
  %7 = alloca %"class.juce::StringRef", align 8
  %8 = alloca %"class.juce::ColourGradient", align 8
  %9 = alloca %"class.juce::StringArray", align 8
  %10 = alloca %"class.juce::StringRef", align 8
  %11 = alloca %"class.juce::String", align 8
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca %"class.juce::StringRef", align 8
  %14 = alloca %"class.juce::RelativePoint", align 8
  %15 = alloca %"class.juce::String", align 8
  %16 = alloca %"class.juce::RelativePoint", align 8
  %17 = alloca %"class.juce::String", align 8
  %18 = alloca %"class.juce::RelativePoint", align 8
  %19 = alloca %"class.juce::String", align 8
  %20 = alloca %"class.juce::Image", align 8
  %21 = alloca %"class.juce::Image", align 8
  %22 = alloca %"class.juce::AffineTransform", align 4
  %23 = alloca %"class.juce::var", align 8
  %24 = alloca %"class.juce::var", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %25 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState4typeE) #5
  call void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %4, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %26 = call noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull @.str.84) #5
  br i1 %26, label %27, label %38

27:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %28 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState6colourE) #5
  invoke void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %5, ptr noundef nonnull align 8 dereferenceable(16) %28)
          to label %29 unwind label %33

29:                                               ; preds = %27
  %30 = call noundef zeroext i1 @_ZNK4juce6String7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br i1 %30, label %.critedge, label %31

31:                                               ; preds = %29
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  invoke void @_ZN4juce6Colour10fromStringENS_9StringRefE(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %6, ptr noundef nonnull %7)
          to label %32 unwind label %35

.critedge:                                        ; preds = %29
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE) #5
  br label %32

32:                                               ; preds = %31, %.critedge
  call void @_ZN4juce8FillType9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %6) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %6) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %124

33:                                               ; preds = %27
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %37

35:                                               ; preds = %31
  %36 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br label %37

37:                                               ; preds = %35, %33
  %.pn47 = phi { ptr, i32 } [ %36, %35 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %125

38:                                               ; preds = %3
  %39 = call noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull @.str.85) #5
  br i1 %39, label %40, label %106

40:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  call void @_ZN4juce14ColourGradientC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState6radialE) #5
  %42 = call noundef zeroext i1 @_ZNK4juce3varcvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #5
  %43 = getelementptr inbounds i8, ptr %8, i64 16
  %44 = zext i1 %42 to i8
  store i8 %44, ptr %43, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState7coloursE) #5
  invoke void @_ZNK4juce3var8toStringEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %45)
          to label %46 unwind label %51

46:                                               ; preds = %40
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %47 = invoke noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull %10, i1 noundef zeroext false)
          to label %48 unwind label %53

48:                                               ; preds = %46
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %49 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %50 = icmp sgt i32 %49, 1
  br i1 %50, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %63, %48
  invoke void @_ZN4juce8FillType11setGradientERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %72 unwind label %88

51:                                               ; preds = %40
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %46
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  br label %55

55:                                               ; preds = %53, %51
  %.pn36 = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %105

.lr.ph:                                           ; preds = %48, %63
  %.050 = phi i32 [ %64, %63 ], [ 0, %48 ]
  %56 = shl nuw nsw i32 %.050, 1
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %56) #5
  %58 = call noundef double @_ZNK4juce6String14getDoubleValueEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #5
  %59 = or disjoint i32 %56, 1
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %59) #5
  call void @_ZN4juce9StringRefC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %60) #5
  invoke void @_ZN4juce6Colour10fromStringENS_9StringRefE(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull %13)
          to label %61 unwind label %68

61:                                               ; preds = %.lr.ph
  %62 = invoke noundef i32 @_ZN4juce14ColourGradient9addColourEdNS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %8, double noundef %58, ptr noundef nonnull %12)
          to label %63 unwind label %70

63:                                               ; preds = %61
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #5
  %64 = add nuw nsw i32 %.050, 1
  %65 = call noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %66 = sdiv i32 %65, 2
  %67 = icmp slt i32 %64, %66
  br i1 %67, label %.lr.ph, label %._crit_edge, !llvm.loop !17

68:                                               ; preds = %.lr.ph
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %105

70:                                               ; preds = %61
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #5
  br label %105

72:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %73 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint1E) #5
  invoke void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %73)
          to label %74 unwind label %90

74:                                               ; preds = %72
  invoke void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %75 unwind label %92

75:                                               ; preds = %74
  %76 = getelementptr inbounds i8, ptr %0, i64 48
  %77 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %76, ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint2E) #5
  invoke void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %78)
          to label %79 unwind label %95

79:                                               ; preds = %75
  invoke void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %80 unwind label %97

80:                                               ; preds = %79
  %81 = getelementptr inbounds i8, ptr %0, i64 64
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #5
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState14gradientPoint3E) #5
  invoke void @_ZNK4juce3varcvNS_6StringEEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %83)
          to label %84 unwind label %100

84:                                               ; preds = %80
  invoke void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %85 unwind label %102

85:                                               ; preds = %84
  %86 = getelementptr inbounds i8, ptr %0, i64 80
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN4juce13RelativePointaSEOS0_(ptr noundef nonnull align 8 dereferenceable(16) %86, ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @_ZN4juce13RelativePointD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #5
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  br label %124

88:                                               ; preds = %._crit_edge
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %105

90:                                               ; preds = %72
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %74
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %94

94:                                               ; preds = %92, %90
  %.pn38 = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %105

95:                                               ; preds = %75
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %79
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  br label %99

99:                                               ; preds = %97, %95
  %.pn40 = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #5
  br label %105

100:                                              ; preds = %80
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %84
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  br label %104

104:                                              ; preds = %102, %100
  %.pn42 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %18) #5
  br label %105

105:                                              ; preds = %68, %70, %104, %99, %94, %88, %55
  %.pn44.pn = phi { ptr, i32 } [ %.pn42, %104 ], [ %.pn40, %99 ], [ %.pn38, %94 ], [ %89, %88 ], [ %.pn36, %55 ], [ %71, %70 ], [ %69, %68 ]
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  br label %125

106:                                              ; preds = %38
  %107 = call noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull @.str.48) #5
  br i1 %107, label %108, label %124

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  call void @_ZN4juce5ImageC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %118, label %109

109:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  %110 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK4juce9ValueTreeixERKNS_10IdentifierE(ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState7imageIdE) #5
  %111 = load ptr, ptr %2, align 8, !tbaa !19
  %112 = getelementptr inbounds i8, ptr %111, i64 16
  %113 = load ptr, ptr %112, align 8
  invoke void %113(ptr dead_on_unwind nonnull writable sret(%"class.juce::Image") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(16) %110)
          to label %114 unwind label %116

114:                                              ; preds = %109
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce5ImageaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  br label %118

116:                                              ; preds = %109
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  br label %123

118:                                              ; preds = %114, %108
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #5
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %22) #5
  call void @_ZN4juce8FillType13setTiledImageERKNS_5ImageERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(24) %22) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #5
  call void @_ZN4juce3varC1Ed(ptr noundef nonnull align 8 dereferenceable(16) %24, double noundef 1.000000e+00) #5
  invoke void @_ZNK4juce9ValueTree11getPropertyERKNS_10IdentifierERKNS_3varE(ptr dead_on_unwind nonnull writable sret(%"class.juce::var") align 8 %23, ptr noundef nonnull align 8 dereferenceable(32) %1, ptr noundef nonnull align 8 dereferenceable(8) @_ZN4juce13DrawableShape18FillAndStrokeState12imageOpacityE, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %119 unwind label %121

119:                                              ; preds = %118
  %120 = call noundef float @_ZNK4juce3varcvfEv(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  call void @_ZN4juce8FillType10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(48) %0, float noundef %120) #5
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #5
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  br label %124

121:                                              ; preds = %118
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce3varD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  br label %123

123:                                              ; preds = %121, %116
  %.pn = phi { ptr, i32 } [ %122, %121 ], [ %117, %116 ]
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  br label %125

124:                                              ; preds = %106, %119, %85, %32
  %.033 = phi i1 [ true, %32 ], [ true, %85 ], [ true, %119 ], [ false, %106 ]
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  ret i1 %.033

125:                                              ; preds = %123, %105, %37
  %.pn47.pn = phi { ptr, i32 } [ %.pn47, %37 ], [ %.pn44.pn, %105 ], [ %.pn, %123 ]
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn47.pn
}

; Function Attrs: nounwind
declare noundef zeroext i1 @_ZN4juceeqERKNS_6StringEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce8FillType9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef) local_unnamed_addr #0

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

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

declare noundef i32 @_ZN4juce11StringArray9addTokensENS_9StringRefEb(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce11StringArray4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

declare noundef i32 @_ZN4juce14ColourGradient9addColourEdNS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48), double noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare noundef double @_ZNK4juce6String14getDoubleValueEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

declare void @_ZN4juce8FillType11setGradientERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

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

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

; Function Attrs: nounwind
declare void @_ZN4juce8FillType13setTiledImageERKNS_5ImageERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce8FillType10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(48), float noundef) local_unnamed_addr #0

declare void @_ZN4juce13RelativePointC1ERKNS_6StringE(ptr, ptr) local_unnamed_addr

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, !11, i64 16}
!6 = !{!"_ZTSN4juce14ColourGradientE", !7, i64 0, !7, i64 8, !11, i64 16, !12, i64 24}
!7 = !{!"_ZTSN4juce5PointIfEE", !8, i64 0, !8, i64 4}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"bool", !9, i64 0}
!12 = !{!"_ZTSN4juce5ArrayINS_14ColourGradient11ColourPointENS_20DummyCriticalSectionELi0EEE", !13, i64 0, !16, i64 16}
!13 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_14ColourGradient11ColourPointENS_20DummyCriticalSectionEEE", !14, i64 0, !16, i64 8}
!14 = !{!"_ZTSN4juce9HeapBlockINS_14ColourGradient11ColourPointELb0EEE", !15, i64 0}
!15 = !{!"any pointer", !9, i64 0}
!16 = !{!"int", !9, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !20, i64 0}
!20 = !{!"vtable pointer", !10, i64 0}


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