; LLVM IR from InsightSoftwareConsortium/ITK :: Modules/ThirdParty/GDCM/src/gdcm/Utilities/gdcmrle (rle)

; 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.rle::pixel_info" = type { i8, i8 }
%"class.rle::rle_decoder" = type { ptr }
%"struct.rle::rle_decoder::internal" = type { %"class.rle::image_info", %"struct.rle::header", ptr, i32, %"class.std::vector", [16 x [128 x i8]], [16 x i32] }
%"class.rle::image_info" = type { i32, i32, %"class.rle::pixel_info", i8, i8 }
%"struct.rle::header" = type { i32, [15 x i32] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl" = type { %"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<char, std::allocator<char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.2 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE = external hidden unnamed_addr constant [49 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [55 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i16 @_ZNK3rle10image_info14get_pixel_infoEv(ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN3rleL12check_headerERKNS_6headerERNS_10pixel_infoE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(2)) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 1 dereferenceable(2) %1) #5 align 2 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.rle::pixel_info", align 1
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %14 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %15 = load ptr, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %15, i32 0, i32 1
  store ptr %16, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 64, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %17 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %18 = load ptr, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %18, i32 0, i32 2
  %20 = load ptr, ptr %19, align 8, !tbaa !13
  %21 = getelementptr inbounds ptr, ptr %20, i64 0
  %22 = load ptr, ptr %21, align 8, !tbaa !5
  store ptr %22, ptr %8, align 8, !tbaa !5
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %26

25:                                               ; preds = %2
  br label %28

26:                                               ; preds = %2
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.2, i32 noundef 566, ptr noundef @__PRETTY_FUNCTION__._ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE) #7
  unreachable

27:                                               ; No predecessors!
  br label %28

28:                                               ; preds = %27, %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %29, align 8, !tbaa !23
  %32 = getelementptr inbounds ptr, ptr %31, i64 0
  %33 = load ptr, ptr %32, align 8
  %34 = call noundef i32 %33(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef %30, i32 noundef 64)
  store i32 %34, ptr %9, align 4, !tbaa !11
  %35 = load i32, ptr %9, align 4, !tbaa !11
  %36 = icmp ne i32 %35, 64
  br i1 %36, label %37, label %38

37:                                               ; preds = %28
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %108

38:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #6
  %39 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %40 = load ptr, ptr %39, align 8, !tbaa !9
  %41 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %40, i32 0, i32 0
  %42 = call i16 @_ZNK3rle10image_info14get_pixel_infoEv(ptr noundef nonnull align 4 dereferenceable(12) %41)
  store i16 %42, ptr %11, align 1
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %43, ptr align 1 %11, i64 2, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #6
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = call noundef zeroext i1 @_ZN3rleL12check_headerERKNS_6headerERNS_10pixel_infoE(ptr noundef nonnull align 4 dereferenceable(64) %44, ptr noundef nonnull align 1 dereferenceable(2) %45)
  br i1 %46, label %48, label %47

47:                                               ; preds = %38
  store i1 false, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %108

48:                                               ; preds = %38
  %49 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %50 = load ptr, ptr %49, align 8, !tbaa !9
  %51 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %50, i32 0, i32 3
  %52 = load i32, ptr %51, align 8, !tbaa !27
  %53 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %54, i32 0, i32 1
  %56 = getelementptr inbounds %"struct.rle::header", ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 4, !tbaa !28
  %58 = icmp eq i32 %52, %57
  br i1 %58, label %59, label %60

59:                                               ; preds = %48
  br label %62

60:                                               ; preds = %48
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.2, i32 noundef 579, ptr noundef @__PRETTY_FUNCTION__._ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE) #7
  unreachable

61:                                               ; No predecessors!
  br label %62

62:                                               ; preds = %61, %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 1, ptr %12, align 4, !tbaa !11
  br label %63

63:                                               ; preds = %104, %62
  %64 = load i32, ptr %12, align 4, !tbaa !11
  %65 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8, !tbaa !9
  %67 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %66, i32 0, i32 3
  %68 = load i32, ptr %67, align 8, !tbaa !27
  %69 = icmp slt i32 %64, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %63
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %107

71:                                               ; preds = %63
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load ptr, ptr %72, align 8, !tbaa !23
  %74 = getelementptr inbounds ptr, ptr %73, i64 4
  %75 = load ptr, ptr %74, align 8
  %76 = call noundef ptr %75(ptr noundef nonnull align 8 dereferenceable(8) %72)
  %77 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %78, i32 0, i32 2
  %80 = load ptr, ptr %79, align 8, !tbaa !13
  %81 = load i32, ptr %12, align 4, !tbaa !11
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds ptr, ptr %80, i64 %82
  store ptr %76, ptr %83, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !13
  %88 = load i32, ptr %12, align 4, !tbaa !11
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds ptr, ptr %87, i64 %89
  %91 = load ptr, ptr %90, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.rle::rle_decoder", ptr %13, i32 0, i32 0
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = getelementptr inbounds %"struct.rle::rle_decoder::internal", ptr %93, i32 0, i32 1
  %95 = getelementptr inbounds %"struct.rle::header", ptr %94, i32 0, i32 1
  %96 = load i32, ptr %12, align 4, !tbaa !11
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [15 x i32], ptr %95, i64 0, i64 %97
  %99 = load i32, ptr %98, align 4, !tbaa !11
  %100 = load ptr, ptr %91, align 8, !tbaa !23
  %101 = getelementptr inbounds ptr, ptr %100, i64 2
  %102 = load ptr, ptr %101, align 8
  %103 = call noundef zeroext i1 %102(ptr noundef nonnull align 8 dereferenceable(8) %91, i32 noundef %99)
  br label %104

104:                                              ; preds = %71
  %105 = load i32, ptr %12, align 4, !tbaa !11
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %12, align 4, !tbaa !11
  br label %63, !llvm.loop !29

107:                                              ; preds = %70
  store i1 true, ptr %3, align 1
  store i32 1, ptr %10, align 4
  br label %108

108:                                              ; preds = %107, %47, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %109 = load i1, ptr %3, align 1
  ret i1 %109
}

attributes #0 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { noreturn 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 = { inlinehint 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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, !6, i64 0}
!10 = !{!"_ZTSN3rle11rle_decoderE", !6, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 80}
!14 = !{!"_ZTSN3rle11rle_decoder8internalE", !15, i64 0, !18, i64 12, !6, i64 80, !12, i64 88, !19, i64 96, !7, i64 120, !7, i64 2168}
!15 = !{!"_ZTSN3rle10image_infoE", !12, i64 0, !12, i64 4, !16, i64 8, !17, i64 10, !17, i64 11}
!16 = !{!"_ZTSN3rle10pixel_infoE", !7, i64 0, !7, i64 1}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN3rle6headerE", !12, i64 0, !7, i64 4}
!19 = !{!"_ZTSSt6vectorIcSaIcEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!24, !24, i64 0}
!24 = !{!"vtable pointer", !8, i64 0}
!25 = !{i64 0, i64 1, !26, i64 1, i64 1, !26}
!26 = !{!7, !7, i64 0}
!27 = !{!14, !12, i64 88}
!28 = !{!14, !12, i64 12}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}


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

@.str.2 = external hidden unnamed_addr constant [122 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE = external hidden unnamed_addr constant [49 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [55 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local i16 @_ZNK3rle10image_info14get_pixel_infoEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN3rleL12check_headerERKNS_6headerERNS_10pixel_infoE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(8) %0, ptr noundef nonnull align 1 dereferenceable(2) %1) local_unnamed_addr #3 align 2 {
  %3 = load ptr, ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 12
  %5 = getelementptr inbounds i8, ptr %3, i64 80
  %6 = load ptr, ptr %5, align 8, !tbaa !10
  %7 = load ptr, ptr %6, align 8, !tbaa !21
  %.not = icmp eq ptr %7, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %2
  tail call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.2, i32 noundef 566, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE) #4
  unreachable

9:                                                ; preds = %2
  %10 = load ptr, ptr %7, align 8, !tbaa !22
  %11 = load ptr, ptr %10, align 8
  %12 = tail call noundef i32 %11(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %4, i32 noundef 64)
  %.not16 = icmp eq i32 %12, 64
  br i1 %.not16, label %13, label %.loopexit

13:                                               ; preds = %9
  %14 = load ptr, ptr %0, align 8, !tbaa !5
  %15 = tail call i16 @_ZNK3rle10image_info14get_pixel_infoEv(ptr noundef nonnull align 4 dereferenceable(12) %14)
  store i16 %15, ptr %1, align 1
  %16 = tail call noundef zeroext i1 @_ZN3rleL12check_headerERKNS_6headerERNS_10pixel_infoE(ptr noundef nonnull align 4 dereferenceable(64) %4, ptr noundef nonnull align 1 dereferenceable(2) %1)
  br i1 %16, label %17, label %.loopexit

17:                                               ; preds = %13
  %18 = load ptr, ptr %0, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 88
  %20 = load i32, ptr %19, align 8, !tbaa !24
  %21 = getelementptr inbounds i8, ptr %18, i64 12
  %22 = load i32, ptr %21, align 4, !tbaa !25
  %23 = icmp eq i32 %20, %22
  br i1 %23, label %.preheader, label %25

.preheader:                                       ; preds = %17
  %24 = icmp sgt i32 %20, 1
  br i1 %24, label %.lr.ph, label %.loopexit

25:                                               ; preds = %17
  tail call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.2, i32 noundef 579, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3rle11rle_decoder11read_headerERNS_10pixel_infoE) #4
  unreachable

.lr.ph:                                           ; preds = %.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %.preheader ]
  %26 = load ptr, ptr %7, align 8, !tbaa !22
  %27 = getelementptr inbounds i8, ptr %26, i64 32
  %28 = load ptr, ptr %27, align 8
  %29 = tail call noundef ptr %28(ptr noundef nonnull align 8 dereferenceable(8) %7)
  %30 = load ptr, ptr %0, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 80
  %32 = load ptr, ptr %31, align 8, !tbaa !10
  %33 = getelementptr inbounds ptr, ptr %32, i64 %indvars.iv
  store ptr %29, ptr %33, align 8, !tbaa !21
  %34 = load ptr, ptr %0, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 80
  %36 = load ptr, ptr %35, align 8, !tbaa !10
  %37 = getelementptr inbounds ptr, ptr %36, i64 %indvars.iv
  %38 = load ptr, ptr %37, align 8, !tbaa !21
  %39 = getelementptr inbounds i8, ptr %34, i64 16
  %40 = getelementptr inbounds [15 x i32], ptr %39, i64 0, i64 %indvars.iv
  %41 = load i32, ptr %40, align 4, !tbaa !26
  %42 = load ptr, ptr %38, align 8, !tbaa !22
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %44 = load ptr, ptr %43, align 8
  %45 = tail call noundef zeroext i1 %44(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef %41)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %46 = load ptr, ptr %0, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 88
  %48 = load i32, ptr %47, align 8, !tbaa !24
  %49 = sext i32 %48 to i64
  %50 = icmp slt i64 %indvars.iv.next, %49
  br i1 %50, label %.lr.ph, label %.loopexit, !llvm.loop !27

.loopexit:                                        ; preds = %.lr.ph, %.preheader, %13, %9
  %.014 = phi i1 [ false, %9 ], [ false, %13 ], [ true, %.preheader ], [ true, %.lr.ph ]
  ret i1 %.014
}

attributes #0 = { 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 #1 = { noreturn 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 = { inlinehint 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 = { 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 = { noreturn nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTSN3rle11rle_decoderE", !7, i64 0}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !7, i64 80}
!11 = !{!"_ZTSN3rle11rle_decoder8internalE", !12, i64 0, !16, i64 12, !7, i64 80, !13, i64 88, !17, i64 96, !8, i64 120, !8, i64 2168}
!12 = !{!"_ZTSN3rle10image_infoE", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 10, !15, i64 11}
!13 = !{!"int", !8, i64 0}
!14 = !{!"_ZTSN3rle10pixel_infoE", !8, i64 0, !8, i64 1}
!15 = !{!"bool", !8, i64 0}
!16 = !{!"_ZTSN3rle6headerE", !13, i64 0, !8, i64 4}
!17 = !{!"_ZTSSt6vectorIcSaIcEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIcSaIcEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIcSaIcEE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!7, !7, i64 0}
!22 = !{!23, !23, i64 0}
!23 = !{!"vtable pointer", !9, i64 0}
!24 = !{!11, !13, i64 88}
!25 = !{!11, !13, i64 12}
!26 = !{!13, !13, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


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