; LLVM IR from giacomo-ascari/dichotomic-compression :: src/dc/dc-compressor/dc-compressor.ll (ZN13dc_compressor7_unpackEb)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.dc = type { i8, i64, i64, i64, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64, %class.dc_pixel_matrix, %"class.std::map", %"class.std::vector" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.dc_pixel_matrix = type { ptr, i64, i64 }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, _dc_heavy_sector>, std::_Select1st<std::pair<const unsigned long, _dc_heavy_sector>>, std::less<unsigned long>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned long, std::pair<const unsigned long, _dc_heavy_sector>, std::_Select1st<std::pair<const unsigned long, _dc_heavy_sector>>, std::less<unsigned long>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl" }
%"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl" = type { %"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl_data" }
%"struct.std::_Vector_base<_dc_light_sector, std::allocator<_dc_light_sector>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.dc_pixel = type { i8, i8, i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @stbi_image_free(ptr noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @stbi_load(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

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

declare i32 @fclose(ptr noundef) #3

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

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #3

declare i64 @ftell(ptr noundef) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204) %0, i1 noundef zeroext %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i8, align 1
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %18 = zext i1 %1 to i8
  store i8 %18, ptr %4, align 1, !tbaa !9
  %19 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  %20 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 4
  %21 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  %22 = call ptr @stbi_load(ptr noundef %21, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef 3)
  store ptr %22, ptr %11, align 8, !tbaa !5
  %23 = load i32, ptr %5, align 4, !tbaa !11
  %24 = sext i32 %23 to i64
  store i64 %24, ptr %8, align 8, !tbaa !13
  %25 = load i32, ptr %6, align 4, !tbaa !11
  %26 = sext i32 %25 to i64
  store i64 %26, ptr %9, align 8, !tbaa !13
  %27 = load i32, ptr %7, align 4, !tbaa !11
  %28 = sext i32 %27 to i64
  store i64 %28, ptr %10, align 8, !tbaa !13
  %29 = load ptr, ptr %11, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %34, label %31

31:                                               ; preds = %2
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.19)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #11
  unreachable

34:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #10
  %35 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 4
  %36 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %35) #10
  %37 = call noalias ptr @fopen(ptr noundef %36, ptr noundef @.str)
  store ptr %37, ptr %12, align 8, !tbaa !5
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = call i32 @fseek(ptr noundef %38, i64 noundef 0, i32 noundef 2)
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = call i64 @ftell(ptr noundef %40)
  %42 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 1
  store i64 %41, ptr %42, align 8, !tbaa !15
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  call void @rewind(ptr noundef %43)
  %44 = load ptr, ptr %12, align 8, !tbaa !5
  %45 = call i32 @fclose(ptr noundef %44)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #10
  br label %46

46:                                               ; preds = %34
  %47 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 7
  %48 = load i64, ptr %8, align 8, !tbaa !13
  call void @_ZN15dc_pixel_matrix9set_widthEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %48)
  %49 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 7
  %50 = load i64, ptr %9, align 8, !tbaa !13
  call void @_ZN15dc_pixel_matrix10set_heightEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %50)
  %51 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 7
  %52 = load i64, ptr %8, align 8, !tbaa !13
  %53 = load i64, ptr %9, align 8, !tbaa !13
  %54 = mul i64 %52, %53
  %55 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %54, i64 3)
  %56 = extractvalue { i64, i1 } %55, 1
  %57 = extractvalue { i64, i1 } %55, 0
  %58 = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %57, i64 8)
  %59 = extractvalue { i64, i1 } %58, 1
  %60 = or i1 %56, %59
  %61 = extractvalue { i64, i1 } %58, 0
  %62 = select i1 %60, i64 -1, i64 %61
  %63 = call noalias noundef nonnull ptr @_Znam(i64 noundef %62) #12
  store i64 %54, ptr %63, align 8
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  %65 = icmp eq i64 %54, 0
  br i1 %65, label %73, label %66

66:                                               ; preds = %46
  %67 = getelementptr inbounds %class.dc_pixel, ptr %64, i64 %54
  br label %68

68:                                               ; preds = %70, %66
  %69 = phi ptr [ %64, %66 ], [ %71, %70 ]
  invoke void @_ZN8dc_pixelC1Ev(ptr noundef nonnull align 1 dereferenceable(3) %69)
          to label %70 unwind label %81

70:                                               ; preds = %68
  %71 = getelementptr inbounds %class.dc_pixel, ptr %69, i64 1
  %72 = icmp eq ptr %71, %67
  br i1 %72, label %73, label %68

73:                                               ; preds = %70, %46
  call void @_ZN15dc_pixel_matrix10set_pixelsEP8dc_pixel(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef %64)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  store i64 0, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  store i64 0, ptr %16, align 8, !tbaa !13
  br label %74

74:                                               ; preds = %119, %73
  %75 = load i64, ptr %16, align 8, !tbaa !13
  %76 = load i64, ptr %8, align 8, !tbaa !13
  %77 = load i64, ptr %9, align 8, !tbaa !13
  %78 = mul i64 %76, %77
  %79 = icmp ult i64 %75, %78
  br i1 %79, label %91, label %80

80:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %122

81:                                               ; preds = %68
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %13, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %14, align 4
  %85 = icmp eq ptr %64, %69
  br i1 %85, label %90, label %86

86:                                               ; preds = %86, %81
  %87 = phi ptr [ %69, %81 ], [ %88, %86 ]
  %88 = getelementptr inbounds %class.dc_pixel, ptr %87, i64 -1
  call void @_ZN8dc_pixelD1Ev(ptr noundef nonnull align 1 dereferenceable(3) %88) #10
  %89 = icmp eq ptr %88, %64
  br i1 %89, label %90, label %86

90:                                               ; preds = %86, %81
  call void @_ZdaPvm(ptr noundef %63, i64 noundef %62) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  br label %136

91:                                               ; preds = %74
  %92 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 7
  %93 = call noundef ptr @_ZN15dc_pixel_matrix10get_pixelsEv(ptr noundef nonnull align 8 dereferenceable(24) %92)
  %94 = load i64, ptr %16, align 8, !tbaa !13
  %95 = getelementptr inbounds %class.dc_pixel, ptr %93, i64 %94
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = load i64, ptr %15, align 8, !tbaa !13
  %98 = add i64 %97, 1
  store i64 %98, ptr %15, align 8, !tbaa !13
  %99 = getelementptr inbounds i8, ptr %96, i64 %97
  %100 = load i8, ptr %99, align 1, !tbaa !32
  call void @_ZN8dc_pixel5set_rEh(ptr noundef nonnull align 1 dereferenceable(3) %95, i8 noundef zeroext %100)
  %101 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 7
  %102 = call noundef ptr @_ZN15dc_pixel_matrix10get_pixelsEv(ptr noundef nonnull align 8 dereferenceable(24) %101)
  %103 = load i64, ptr %16, align 8, !tbaa !13
  %104 = getelementptr inbounds %class.dc_pixel, ptr %102, i64 %103
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = load i64, ptr %15, align 8, !tbaa !13
  %107 = add i64 %106, 1
  store i64 %107, ptr %15, align 8, !tbaa !13
  %108 = getelementptr inbounds i8, ptr %105, i64 %106
  %109 = load i8, ptr %108, align 1, !tbaa !32
  call void @_ZN8dc_pixel5set_gEh(ptr noundef nonnull align 1 dereferenceable(3) %104, i8 noundef zeroext %109)
  %110 = getelementptr inbounds %class.dc, ptr %19, i32 0, i32 7
  %111 = call noundef ptr @_ZN15dc_pixel_matrix10get_pixelsEv(ptr noundef nonnull align 8 dereferenceable(24) %110)
  %112 = load i64, ptr %16, align 8, !tbaa !13
  %113 = getelementptr inbounds %class.dc_pixel, ptr %111, i64 %112
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = load i64, ptr %15, align 8, !tbaa !13
  %116 = add i64 %115, 1
  store i64 %116, ptr %15, align 8, !tbaa !13
  %117 = getelementptr inbounds i8, ptr %114, i64 %115
  %118 = load i8, ptr %117, align 1, !tbaa !32
  call void @_ZN8dc_pixel5set_bEh(ptr noundef nonnull align 1 dereferenceable(3) %113, i8 noundef zeroext %118)
  br label %119

119:                                              ; preds = %91
  %120 = load i64, ptr %16, align 8, !tbaa !13
  %121 = add i64 %120, 1
  store i64 %121, ptr %16, align 8, !tbaa !13
  br label %74, !llvm.loop !33

122:                                              ; preds = %80
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  call void @stbi_image_free(ptr noundef %123)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %124 = load i8, ptr %4, align 1, !tbaa !9, !range !35, !noundef !36
  %125 = trunc i8 %124 to i1
  br i1 %125, label %126, label %131

126:                                              ; preds = %122
  %127 = load i64, ptr %8, align 8, !tbaa !13
  %128 = load i64, ptr %9, align 8, !tbaa !13
  %129 = mul i64 %127, %128
  %130 = mul i64 %129, 3
  store i64 %130, ptr %17, align 8, !tbaa !13
  br label %135

131:                                              ; preds = %122
  %132 = load i64, ptr %8, align 8, !tbaa !13
  %133 = load i64, ptr %9, align 8, !tbaa !13
  %134 = mul i64 %132, %133
  store i64 %134, ptr %17, align 8, !tbaa !13
  br label %135

135:                                              ; preds = %131, %126
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #10
  ret void

136:                                              ; preds = %90
  %137 = load ptr, ptr %13, align 8
  %138 = load i32, ptr %14, align 4
  %139 = insertvalue { ptr, i32 } poison, ptr %137, 0
  %140 = insertvalue { ptr, i32 } %139, i32 %138, 1
  resume { ptr, i32 } %140
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #0 align 2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

declare void @rewind(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15dc_pixel_matrix9set_widthEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15dc_pixel_matrix10set_heightEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #6

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #6

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

declare void @_ZN8dc_pixelC1Ev(ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8dc_pixel5set_rEh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8dc_pixel5set_gEh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8dc_pixel5set_bEh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext) #0 align 2

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!16, !14, i64 8}
!16 = !{!"_ZTS2dc", !10, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !17, i64 32, !17, i64 64, !14, i64 96, !19, i64 104, !20, i64 128, !28, i64 176}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !14, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"_ZTS15dc_pixel_matrix", !6, i64 0, !14, i64 8, !14, i64 16}
!20 = !{!"_ZTSSt3mapIm16_dc_heavy_sectorSt4lessImESaISt4pairIKmS0_EEE", !21, i64 0}
!21 = !{!"_ZTSSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE", !22, i64 0}
!22 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !23, i64 0, !25, i64 8}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessImE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !14, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!28 = !{!"_ZTSSt6vectorI16_dc_light_sectorSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseI16_dc_light_sectorSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!7, !7, i64 0}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = !{i8 0, i8 2}
!36 = !{}


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%class.dc_pixel = type { i8, i8, i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @stbi_image_free(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local ptr @stbi_load(ptr noundef, ptr noundef, ptr noundef, ptr noundef, i32 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: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

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

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13dc_compressor7_unpackEb(ptr noundef nonnull align 8 dereferenceable(204) %0, i1 noundef zeroext %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #11
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  %8 = call ptr @stbi_load(ptr noundef %7, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %5, i32 noundef 3)
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %9, label %12

9:                                                ; preds = %2
  %10 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.19)
  %11 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @exit(i32 noundef 1) #12
  unreachable

12:                                               ; preds = %2
  %13 = load i32, ptr %4, align 4, !tbaa !5
  %14 = sext i32 %13 to i64
  %15 = load i32, ptr %3, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  %18 = call noalias ptr @fopen(ptr noundef %17, ptr noundef nonnull @.str)
  %19 = call i32 @fseek(ptr noundef %18, i64 noundef 0, i32 noundef 2)
  %20 = call i64 @ftell(ptr noundef %18)
  %21 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %20, ptr %21, align 8, !tbaa !9
  call void @rewind(ptr noundef %18)
  %22 = call i32 @fclose(ptr noundef %18)
  %23 = getelementptr inbounds i8, ptr %0, i64 104
  call void @_ZN15dc_pixel_matrix9set_widthEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %16)
  call void @_ZN15dc_pixel_matrix10set_heightEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %14)
  %24 = mul nsw i64 %16, %14
  %25 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %24, i64 3)
  %26 = extractvalue { i64, i1 } %25, 1
  %27 = extractvalue { i64, i1 } %25, 0
  %28 = call { i64, i1 } @llvm.uadd.with.overflow.i64(i64 %27, i64 8)
  %29 = extractvalue { i64, i1 } %28, 1
  %30 = or i1 %26, %29
  %31 = extractvalue { i64, i1 } %28, 0
  %32 = select i1 %30, i64 -1, i64 %31
  %33 = call noalias noundef nonnull ptr @_Znam(i64 noundef %32) #13
  store i64 %24, ptr %33, align 8
  %.ptr36 = getelementptr inbounds i8, ptr %33, i64 8
  %34 = icmp eq i64 %24, 0
  br i1 %34, label %.loopexit41.thread, label %35

.loopexit41.thread:                               ; preds = %12
  call void @_ZN15dc_pixel_matrix10set_pixelsEP8dc_pixel(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull %.ptr36)
  br label %._crit_edge

35:                                               ; preds = %12
  %36 = getelementptr inbounds %class.dc_pixel, ptr %.ptr36, i64 %24
  br label %37

37:                                               ; preds = %38, %35
  %.idx = phi i64 [ 8, %35 ], [ %.add, %38 ]
  %.ptr.ptr = getelementptr inbounds i8, ptr %33, i64 %.idx
  invoke void @_ZN8dc_pixelC1Ev(ptr noundef nonnull align 1 dereferenceable(3) %.ptr.ptr)
          to label %38 unwind label %40

38:                                               ; preds = %37
  %.add = add nuw nsw i64 %.idx, 3
  %.ptr35 = getelementptr inbounds i8, ptr %33, i64 %.add
  %39 = icmp eq ptr %.ptr35, %36
  br i1 %39, label %.loopexit41, label %37

.loopexit41:                                      ; preds = %38
  call void @_ZN15dc_pixel_matrix10set_pixelsEP8dc_pixel(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull %.ptr36)
  br i1 %34, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %.loopexit41.thread, %.loopexit41
  call void @stbi_image_free(ptr noundef nonnull %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  ret void

40:                                               ; preds = %37
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = icmp eq i64 %.idx, 8
  br i1 %42, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %40, %.preheader
  %.idx37 = phi i64 [ %.add38, %.preheader ], [ %.idx, %40 ]
  %.add38 = add nsw i64 %.idx37, -3
  %.ptr40 = getelementptr inbounds i8, ptr %33, i64 %.add38
  call void @_ZN8dc_pixelD1Ev(ptr noundef nonnull align 1 dereferenceable(3) %.ptr40) #11
  %43 = icmp eq i64 %.add38, 8
  br i1 %43, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %40
  call void @_ZdaPvm(ptr noundef nonnull %33, i64 noundef %32) #14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  resume { ptr, i32 } %41

.lr.ph:                                           ; preds = %.loopexit41, %.lr.ph
  %.044 = phi i64 [ %57, %.lr.ph ], [ 0, %.loopexit41 ]
  %.03043 = phi i64 [ %54, %.lr.ph ], [ 0, %.loopexit41 ]
  %44 = call noundef ptr @_ZN15dc_pixel_matrix10get_pixelsEv(ptr noundef nonnull align 8 dereferenceable(24) %23)
  %45 = getelementptr inbounds %class.dc_pixel, ptr %44, i64 %.044
  %46 = getelementptr inbounds i8, ptr %8, i64 %.03043
  %47 = load i8, ptr %46, align 1, !tbaa !29
  call void @_ZN8dc_pixel5set_rEh(ptr noundef nonnull align 1 dereferenceable(3) %45, i8 noundef zeroext %47)
  %48 = call noundef ptr @_ZN15dc_pixel_matrix10get_pixelsEv(ptr noundef nonnull align 8 dereferenceable(24) %23)
  %49 = getelementptr inbounds %class.dc_pixel, ptr %48, i64 %.044
  %50 = getelementptr i8, ptr %46, i64 1
  %51 = load i8, ptr %50, align 1, !tbaa !29
  call void @_ZN8dc_pixel5set_gEh(ptr noundef nonnull align 1 dereferenceable(3) %49, i8 noundef zeroext %51)
  %52 = call noundef ptr @_ZN15dc_pixel_matrix10get_pixelsEv(ptr noundef nonnull align 8 dereferenceable(24) %23)
  %53 = getelementptr inbounds %class.dc_pixel, ptr %52, i64 %.044
  %54 = add i64 %.03043, 3
  %55 = getelementptr i8, ptr %46, i64 2
  %56 = load i8, ptr %55, align 1, !tbaa !29
  call void @_ZN8dc_pixel5set_bEh(ptr noundef nonnull align 1 dereferenceable(3) %53, i8 noundef zeroext %56)
  %57 = add nuw i64 %.044, 1
  %exitcond.not = icmp eq i64 %57, %24
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !30
}

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare void @rewind(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15dc_pixel_matrix9set_widthEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15dc_pixel_matrix10set_heightEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #6

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.uadd.with.overflow.i64(i64, i64) #6

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

declare void @_ZN8dc_pixelC1Ev(ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #8

; Function Attrs: nounwind
declare void @_ZN8dc_pixelD1Ev(ptr noundef nonnull align 1 dereferenceable(3)) unnamed_addr #9

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8dc_pixel5set_rEh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8dc_pixel5set_gEh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN8dc_pixel5set_bEh(ptr noundef nonnull align 1 dereferenceable(3), i8 noundef zeroext) local_unnamed_addr #0 align 2

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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nofree 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 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 #8 = { "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 #9 = { 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 #10 = { 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 #11 = { nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"_ZTS2dc", !11, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !13, i64 32, !13, i64 64, !12, i64 96, !16, i64 104, !17, i64 128, !25, i64 176}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !14, i64 0, !12, i64 8, !7, i64 16}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !15, i64 0}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTS15dc_pixel_matrix", !15, i64 0, !12, i64 8, !12, i64 16}
!17 = !{!"_ZTSSt3mapIm16_dc_heavy_sectorSt4lessImESaISt4pairIKmS0_EEE", !18, i64 0}
!18 = !{!"_ZTSSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt8_Rb_treeImSt4pairIKm16_dc_heavy_sectorESt10_Select1stIS3_ESt4lessImESaIS3_EE13_Rb_tree_implIS7_Lb1EEE", !20, i64 0, !22, i64 8}
!20 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessImEE", !21, i64 0}
!21 = !{!"_ZTSSt4lessImE"}
!22 = !{!"_ZTSSt15_Rb_tree_header", !23, i64 0, !12, i64 32}
!23 = !{!"_ZTSSt18_Rb_tree_node_base", !24, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!24 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!25 = !{!"_ZTSSt6vectorI16_dc_light_sectorSaIS0_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseI16_dc_light_sectorSaIS0_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseI16_dc_light_sectorSaIS0_EE17_Vector_impl_dataE", !15, i64 0, !15, i64 8, !15, i64 16}
!29 = !{!7, !7, i64 0}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass