; LLVM IR from rcliftonharvey/dspfilters4juce :: DSPFilters4JUCEDemo/JuceLibraryCode (juce_opengl)

; 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 }
%union.anon = type { i32 }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%"class.juce::ScopedPointer.12" = type { ptr }
%"class.juce::OpenGLFrameBufferImage" = type { %"class.juce::ImagePixelData", ptr, %"class.juce::OpenGLFrameBuffer", i32, i32 }
%"class.juce::ImagePixelData" = type { %"class.juce::ReferenceCountedObject", i32, i32, i32, [4 x i8], %"class.juce::NamedValueSet", %"class.juce::ListenerList" }
%"class.juce::ReferenceCountedObject" = type { ptr, %"class.juce::Atomic" }
%"class.juce::Atomic" = type { i32, [4 x i8] }
%"class.juce::NamedValueSet" = type { %"class.juce::Array" }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase.13", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.13" = type <{ %"class.juce::HeapBlock.14", i32, [4 x i8] }>
%"class.juce::HeapBlock.14" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.16" }
%"class.juce::Array.16" = type { %"class.juce::ArrayAllocationBase.17", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.17" = type <{ %"class.juce::HeapBlock.18", i32, [4 x i8] }>
%"class.juce::HeapBlock.18" = type { ptr }
%"class.juce::OpenGLFrameBuffer" = type { %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0" }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }

@_ZN4juce7Colours16transparentBlackE = external global %"class.juce::Colour", align 1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4juce13OpenGLContext17getCurrentContextEv() #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce15OpenGLImageType6createENS_5Image11PixelFormatEiib(ptr dead_on_unwind noalias writable sret(%"class.juce::ReferenceCountedObjectPtr") align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext %5) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca %"class.juce::ScopedPointer.12", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !11
  store i32 %4, ptr %11, align 4, !tbaa !11
  %19 = zext i1 %5 to i8
  store i8 %19, ptr %12, align 1, !tbaa !13
  %20 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %21 = call noundef ptr @_ZN4juce13OpenGLContext17getCurrentContextEv()
  store ptr %21, ptr %13, align 8, !tbaa !5
  br label %22

22:                                               ; preds = %6
  br label %23

23:                                               ; preds = %22
  br label %24

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %25 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #8
  %26 = load ptr, ptr %13, align 8, !tbaa !5
  %27 = load i32, ptr %10, align 4, !tbaa !11
  %28 = load i32, ptr %11, align 4, !tbaa !11
  invoke void @_ZN4juce22OpenGLFrameBufferImageC2ERNS_13OpenGLContextEii(ptr noundef nonnull align 8 dereferenceable(112) %25, ptr noundef nonnull align 8 dereferenceable(491) %26, i32 noundef %27, i32 noundef %28)
          to label %29 unwind label %34

29:                                               ; preds = %24
  call void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef %25) #7
  %30 = call noundef ptr @_ZNK4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %31 = invoke noundef zeroext i1 @_ZN4juce22OpenGLFrameBufferImage10initialiseEv(ptr noundef nonnull align 8 dereferenceable(112) %30)
          to label %32 unwind label %38

32:                                               ; preds = %29
  br i1 %31, label %42, label %33

33:                                               ; preds = %32
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_14ImagePixelDataEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  store i32 1, ptr %17, align 4
  br label %51

34:                                               ; preds = %24
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %15, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %16, align 4
  call void @_ZdlPvm(ptr noundef %25, i64 noundef 112) #9
  br label %53

38:                                               ; preds = %29
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %15, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %16, align 4
  br label %52

42:                                               ; preds = %32
  %43 = call noundef ptr @_ZNK4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  %44 = getelementptr inbounds %"class.juce::OpenGLFrameBufferImage", ptr %43, i32 0, i32 2
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours16transparentBlackE) #7
  invoke void @_ZN4juce17OpenGLFrameBuffer5clearENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef %18)
          to label %45 unwind label %47

45:                                               ; preds = %42
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #7
  %46 = call noundef ptr @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_14ImagePixelDataEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %46) #7
  store i32 1, ptr %17, align 4
  br label %51

47:                                               ; preds = %42
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %15, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %16, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #7
  br label %52

51:                                               ; preds = %45, %33
  call void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  ret void

52:                                               ; preds = %47, %38
  call void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  br label %53

53:                                               ; preds = %52, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr %15, align 8
  %56 = load i32, ptr %16, align 4
  %57 = insertvalue { ptr, i32 } poison, ptr %55, 0
  %58 = insertvalue { ptr, i32 } %57, i32 %56, 1
  resume { ptr, i32 } %58
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce22OpenGLFrameBufferImageC2ERNS_13OpenGLContextEii(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(491), i32 noundef, i32 noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

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

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

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

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

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

attributes #0 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"_ZTSN4juce5Image11PixelFormatE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, 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 }
%union.anon = type { i32 }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%"class.juce::ScopedPointer.12" = type { ptr }

@_ZN4juce7Colours16transparentBlackE = external global %"class.juce::Colour", align 1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4juce13OpenGLContext17getCurrentContextEv() local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK4juce15OpenGLImageType6createENS_5Image11PixelFormatEiib(ptr dead_on_unwind noalias writable sret(%"class.juce::ReferenceCountedObjectPtr") align 8 %0, ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext %5) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.juce::ScopedPointer.12", align 8
  %8 = alloca %"class.juce::Colour", align 1
  %9 = tail call noundef ptr @_ZN4juce13OpenGLContext17getCurrentContextEv()
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %10 = tail call noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #8
  invoke void @_ZN4juce22OpenGLFrameBufferImageC2ERNS_13OpenGLContextEii(ptr noundef nonnull align 8 dereferenceable(112) %10, ptr noundef nonnull align 8 dereferenceable(491) %9, i32 noundef %3, i32 noundef %4)
          to label %11 unwind label %16

11:                                               ; preds = %6
  call void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %10) #7
  %12 = call noundef ptr @_ZNK4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %13 = invoke noundef zeroext i1 @_ZN4juce22OpenGLFrameBufferImage10initialiseEv(ptr noundef nonnull align 8 dereferenceable(112) %12)
          to label %14 unwind label %18

14:                                               ; preds = %11
  br i1 %13, label %20, label %15

15:                                               ; preds = %14
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_14ImagePixelDataEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  br label %27

16:                                               ; preds = %6
  %17 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %10, i64 noundef 112) #9
  br label %29

18:                                               ; preds = %11
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %28

20:                                               ; preds = %14
  %21 = call noundef ptr @_ZNK4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  %22 = getelementptr inbounds i8, ptr %21, i64 88
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours16transparentBlackE) #7
  invoke void @_ZN4juce17OpenGLFrameBuffer5clearENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull %8)
          to label %23 unwind label %25

23:                                               ; preds = %20
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  %24 = call noundef ptr @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEE7releaseEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_14ImagePixelDataEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef %24) #7
  br label %27

25:                                               ; preds = %20
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  br label %28

27:                                               ; preds = %23, %15
  call void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  ret void

28:                                               ; preds = %25, %18
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %19, %18 ]
  call void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br label %29

29:                                               ; preds = %28, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %28 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce22OpenGLFrameBufferImageC2ERNS_13OpenGLContextEii(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(491), i32 noundef, i32 noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_22OpenGLFrameBufferImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

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

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

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

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

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

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


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