; LLVM IR from ronan-kerviche/glip-lib :: GLIP-Lib/src/Modules (ImageBuffer)

; 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.Glip::Modules::ImageBuffer" = type { %"class.Glip::CoreGL::HdlAbstractTextureFormat.base", ptr, ptr }
%"class.Glip::CoreGL::HdlAbstractTextureFormat.base" = type <{ ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }>
%"struct.Glip::CoreGL::HdlTextureFormatDescriptor" = type { i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], i8, i8, i8 }

@_ZTVN4Glip7Modules11ImageBufferE = external dso_local unnamed_addr constant { [7 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(72) ptr @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat19getFormatDescriptorEv(ptr noundef nonnull align 8 dereferenceable(52)) #1

declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormat12setAlignmentEi(ptr noundef nonnull align 8 dereferenceable(52), i32 noundef) #1

declare noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat10getGLDepthEv(ptr noundef nonnull align 8 dereferenceable(52)) #1

declare noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat8getWidthEv(ptr noundef nonnull align 8 dereferenceable(52)) #1

declare noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat9getHeightEv(ptr noundef nonnull align 8 dereferenceable(52)) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip7Modules11ImageBufferC2EPvRKNS_6CoreGL24HdlAbstractTextureFormatEi(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(52) %2, i32 noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  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
  store i32 %3, ptr %8, align 4, !tbaa !9
  %15 = load ptr, ptr %5, align 8
  %16 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52) %15, ptr noundef nonnull align 8 dereferenceable(52) %16)
  store ptr getelementptr inbounds inrange(-16, 40) ({ [7 x ptr] }, ptr @_ZTVN4Glip7Modules11ImageBufferE, i32 0, i32 0, i32 2), ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds %"class.Glip::Modules::ImageBuffer", ptr %15, i32 0, i32 1
  %18 = load ptr, ptr %7, align 8, !tbaa !5
  %19 = invoke noundef nonnull align 4 dereferenceable(72) ptr @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat19getFormatDescriptorEv(ptr noundef nonnull align 8 dereferenceable(52) %18)
          to label %20 unwind label %57

20:                                               ; preds = %4
  store ptr %19, ptr %17, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.Glip::Modules::ImageBuffer", ptr %15, i32 0, i32 2
  store ptr null, ptr %21, align 8, !tbaa !13
  %22 = load i32, ptr %8, align 4, !tbaa !9
  invoke void @_ZN4Glip6CoreGL24HdlAbstractTextureFormat12setAlignmentEi(ptr noundef nonnull align 8 dereferenceable(52) %15, i32 noundef %22)
          to label %23 unwind label %57

23:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  %24 = getelementptr inbounds %"class.Glip::Modules::ImageBuffer", ptr %15, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !16
  %26 = getelementptr inbounds %"struct.Glip::CoreGL::HdlTextureFormatDescriptor", ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 4, !tbaa !17
  %28 = icmp eq i32 %27, 5126
  br i1 %28, label %35, label %29

29:                                               ; preds = %23
  %30 = getelementptr inbounds %"class.Glip::Modules::ImageBuffer", ptr %15, i32 0, i32 1
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %32 = getelementptr inbounds %"struct.Glip::CoreGL::HdlTextureFormatDescriptor", ptr %31, i32 0, i32 0
  %33 = load i32, ptr %32, align 4, !tbaa !17
  %34 = icmp eq i32 %33, 5130
  br label %35

35:                                               ; preds = %29, %23
  %36 = phi i1 [ true, %23 ], [ %34, %29 ]
  %37 = zext i1 %36 to i8
  store i8 %37, ptr %11, align 1, !tbaa !20
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = invoke noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat10getGLDepthEv(ptr noundef nonnull align 8 dereferenceable(52) %39)
          to label %41 unwind label %61

41:                                               ; preds = %35
  store i32 %40, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %42 = load ptr, ptr %7, align 8, !tbaa !5
  %43 = invoke noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat8getWidthEv(ptr noundef nonnull align 8 dereferenceable(52) %42)
          to label %44 unwind label %65

44:                                               ; preds = %41
  store i32 %43, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = invoke noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat9getHeightEv(ptr noundef nonnull align 8 dereferenceable(52) %45)
          to label %47 unwind label %69

47:                                               ; preds = %44
  store i32 %46, ptr %14, align 4, !tbaa !9
  %48 = getelementptr inbounds %"class.Glip::Modules::ImageBuffer", ptr %15, i32 0, i32 1
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = getelementptr inbounds %"struct.Glip::CoreGL::HdlTextureFormatDescriptor", ptr %49, i32 0, i32 4
  %51 = load i8, ptr %11, align 1, !tbaa !20, !range !21, !noundef !22
  %52 = trunc i8 %51 to i1
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = invoke noundef ptr @_ZN4Glip6CoreGL15HdlDynamicTable10buildProxyEPvRKjRKiS6_S6_bi(ptr noundef %38, ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %50, i1 noundef zeroext %52, i32 noundef %53)
          to label %55 unwind label %69

55:                                               ; preds = %47
  %56 = getelementptr inbounds %"class.Glip::Modules::ImageBuffer", ptr %15, i32 0, i32 2
  store ptr %54, ptr %56, align 8, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  ret void

57:                                               ; preds = %20, %4
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %9, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %10, align 4
  br label %75

61:                                               ; preds = %35
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %9, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %10, align 4
  br label %74

65:                                               ; preds = %41
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %9, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %10, align 4
  br label %73

69:                                               ; preds = %47, %44
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %9, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %73

73:                                               ; preds = %69, %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %74

74:                                               ; preds = %73, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  br label %75

75:                                               ; preds = %74, %57
  call void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %15) #4
  br label %76

76:                                               ; preds = %75
  %77 = load ptr, ptr %9, align 8
  %78 = load i32, ptr %10, align 4
  %79 = insertvalue { ptr, i32 } poison, ptr %77, 0
  %80 = insertvalue { ptr, i32 } %79, i32 %78, 1
  resume { ptr, i32 } %80
}

declare noundef ptr @_ZN4Glip6CoreGL15HdlDynamicTable10buildProxyEPvRKjRKiS6_S6_bi(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), i1 noundef zeroext, i32 noundef) #1

; Function Attrs: nounwind
declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !6, i64 64}
!14 = !{!"_ZTSN4Glip7Modules11ImageBufferE", !15, i64 0, !6, i64 56, !6, i64 64}
!15 = !{!"_ZTSN4Glip6CoreGL24HdlAbstractTextureFormatE", !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48}
!16 = !{!14, !6, i64 56}
!17 = !{!18, !10, i64 0}
!18 = !{!"_ZTSN4Glip6CoreGL26HdlTextureFormatDescriptorE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 20, !7, i64 36, !7, i64 52, !19, i64 68, !19, i64 69, !19, i64 70}
!19 = !{!"bool", !7, i64 0}
!20 = !{!19, !19, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}


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

@_ZTVN4Glip7Modules11ImageBufferE = external dso_local unnamed_addr constant { [7 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52), ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #1

declare noundef nonnull align 4 dereferenceable(72) ptr @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat19getFormatDescriptorEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1

declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormat12setAlignmentEi(ptr noundef nonnull align 8 dereferenceable(52), i32 noundef) local_unnamed_addr #1

declare noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat10getGLDepthEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1

declare noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat8getWidthEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1

declare noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat9getHeightEv(ptr noundef nonnull align 8 dereferenceable(52)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Glip7Modules11ImageBufferC2EPvRKNS_6CoreGL24HdlAbstractTextureFormatEi(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(52) %2, i32 noundef %3) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  tail call void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(52) %0, ptr noundef nonnull align 8 dereferenceable(52) %2)
  store ptr getelementptr inbounds inrange(-16, 40) (i8, ptr @_ZTVN4Glip7Modules11ImageBufferE, i64 16), ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  %9 = invoke noundef nonnull align 4 dereferenceable(72) ptr @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat19getFormatDescriptorEv(ptr noundef nonnull align 8 dereferenceable(52) %2)
          to label %10 unwind label %27

10:                                               ; preds = %4
  store ptr %9, ptr %8, align 8, !tbaa !8
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr null, ptr %11, align 8, !tbaa !11
  invoke void @_ZN4Glip6CoreGL24HdlAbstractTextureFormat12setAlignmentEi(ptr noundef nonnull align 8 dereferenceable(52) %0, i32 noundef %3)
          to label %12 unwind label %27

12:                                               ; preds = %10
  %13 = load ptr, ptr %8, align 8, !tbaa !15
  %14 = load i32, ptr %13, align 4, !tbaa !16
  %15 = icmp eq i32 %14, 5126
  %16 = icmp eq i32 %14, 5130
  %spec.select = or i1 %15, %16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %17 = invoke noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat10getGLDepthEv(ptr noundef nonnull align 8 dereferenceable(52) %2)
          to label %18 unwind label %29

18:                                               ; preds = %12
  store i32 %17, ptr %5, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %19 = invoke noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat8getWidthEv(ptr noundef nonnull align 8 dereferenceable(52) %2)
          to label %20 unwind label %31

20:                                               ; preds = %18
  store i32 %19, ptr %6, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #4
  %21 = invoke noundef i32 @_ZNK4Glip6CoreGL24HdlAbstractTextureFormat9getHeightEv(ptr noundef nonnull align 8 dereferenceable(52) %2)
          to label %22 unwind label %33

22:                                               ; preds = %20
  store i32 %21, ptr %7, align 4, !tbaa !19
  %23 = load ptr, ptr %8, align 8, !tbaa !15
  %24 = getelementptr inbounds i8, ptr %23, i64 16
  %25 = invoke noundef ptr @_ZN4Glip6CoreGL15HdlDynamicTable10buildProxyEPvRKjRKiS6_S6_bi(ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %24, i1 noundef zeroext %spec.select, i32 noundef %3)
          to label %26 unwind label %33

26:                                               ; preds = %22
  store ptr %25, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  ret void

27:                                               ; preds = %10, %4
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %37

29:                                               ; preds = %12
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %36

31:                                               ; preds = %18
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %35

33:                                               ; preds = %22, %20
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #4
  br label %35

35:                                               ; preds = %33, %31
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  br label %36

36:                                               ; preds = %35, %29
  %.pn.pn = phi { ptr, i32 } [ %.pn, %35 ], [ %30, %29 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  br label %37

37:                                               ; preds = %36, %27
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %36 ], [ %28, %27 ]
  call void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52) %0) #4
  resume { ptr, i32 } %.pn.pn.pn
}

declare noundef ptr @_ZN4Glip6CoreGL15HdlDynamicTable10buildProxyEPvRKjRKiS6_S6_bi(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), i1 noundef zeroext, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN4Glip6CoreGL24HdlAbstractTextureFormatD2Ev(ptr noundef nonnull align 8 dereferenceable(52)) unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !9, i64 64}
!12 = !{!"_ZTSN4Glip7Modules11ImageBufferE", !13, i64 0, !9, i64 56, !9, i64 64}
!13 = !{!"_ZTSN4Glip6CoreGL24HdlAbstractTextureFormatE", !14, i64 8, !14, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !14, i64 40, !14, i64 44, !14, i64 48}
!14 = !{!"int", !10, i64 0}
!15 = !{!12, !9, i64 56}
!16 = !{!17, !14, i64 0}
!17 = !{!"_ZTSN4Glip6CoreGL26HdlTextureFormatDescriptorE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !10, i64 20, !10, i64 36, !10, i64 52, !18, i64 68, !18, i64 69, !18, i64 70}
!18 = !{!"bool", !10, i64 0}
!19 = !{!14, !14, i64 0}


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