; LLVM IR from ArefMq/SoccerBallDetection :: src/modules/coloranalyzer.ll (ZN7MVision13ColorAnalyzer22fieldBoundaryDetectionEv)

; 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.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl" }
%"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl" = type { %"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MVision::Vector2D" = type { float, float }
%"class.std::allocator.2" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.MVision::ColorAnalyzer" = type { %class.Debugable, ptr, i32, %"class.std::vector" }
%class.Debugable = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7MVision13ColorAnalyzer22fieldBoundaryDetectionEv(ptr noundef nonnull align 8 dereferenceable(56) %0) #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::vector.0", align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.MVision::Vector2D", align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::vector.0", align 8
  %15 = alloca %"class.std::allocator.2", align 1
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %23 = load ptr, ptr %2, align 8
  %24 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 3
  %25 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 1
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = call noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
  %28 = zext i32 %27 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 0, ptr %3, align 4, !tbaa !17
  call void @_ZNSt6vectorIiSaIiEE6resizeEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %28, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #7
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 0, ptr %5, align 4, !tbaa !17
  br label %29

29:                                               ; preds = %97, %1
  %30 = load i32, ptr %5, align 4, !tbaa !17
  %31 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = invoke noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %34 unwind label %37

34:                                               ; preds = %29
  %35 = icmp ult i32 %30, %33
  br i1 %35, label %41, label %36

36:                                               ; preds = %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %106

37:                                               ; preds = %29
  %38 = landingpad { ptr, i32 }
          cleanup
  %39 = extractvalue { ptr, i32 } %38, 0
  store ptr %39, ptr %6, align 8
  %40 = extractvalue { ptr, i32 } %38, 1
  store i32 %40, ptr %7, align 4
  br label %105

41:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %42 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 1
  %43 = load ptr, ptr %42, align 8, !tbaa !9
  %44 = invoke noundef i32 @_ZNK7MVision5Image6heightEv(ptr noundef nonnull align 8 dereferenceable(24) %43)
          to label %45 unwind label %56

45:                                               ; preds = %41
  %46 = sub i32 %44, 1
  store i32 %46, ptr %10, align 4, !tbaa !17
  br label %47

47:                                               ; preds = %78, %45
  %48 = load i32, ptr %10, align 4, !tbaa !17
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %50, label %81

50:                                               ; preds = %47
  %51 = load i32, ptr %5, align 4, !tbaa !17
  %52 = load i32, ptr %10, align 4, !tbaa !17
  %53 = invoke noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isGreenEii(ptr noundef nonnull align 8 dereferenceable(56) %23, i32 noundef %51, i32 noundef %52)
          to label %54 unwind label %56

54:                                               ; preds = %50
  br i1 %53, label %55, label %60

55:                                               ; preds = %54
  store i32 0, ptr %8, align 4, !tbaa !17
  store i32 0, ptr %9, align 4, !tbaa !17
  br label %77

56:                                               ; preds = %60, %50, %41
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %7, align 4
  br label %104

60:                                               ; preds = %54
  %61 = load i32, ptr %5, align 4, !tbaa !17
  %62 = load i32, ptr %10, align 4, !tbaa !17
  %63 = invoke noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isWhiteEii(ptr noundef nonnull align 8 dereferenceable(56) %23, i32 noundef %61, i32 noundef %62)
          to label %64 unwind label %56

64:                                               ; preds = %60
  br i1 %63, label %65, label %68

65:                                               ; preds = %64
  %66 = load i32, ptr %9, align 4, !tbaa !17
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %9, align 4, !tbaa !17
  br label %76

68:                                               ; preds = %64
  %69 = load i32, ptr %8, align 4, !tbaa !17
  %70 = icmp slt i32 %69, 10
  br i1 %70, label %71, label %74

71:                                               ; preds = %68
  %72 = load i32, ptr %8, align 4, !tbaa !17
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %8, align 4, !tbaa !17
  br label %75

74:                                               ; preds = %68
  br label %81

75:                                               ; preds = %71
  br label %76

76:                                               ; preds = %75, %65
  br label %77

77:                                               ; preds = %76, %55
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %10, align 4, !tbaa !17
  %80 = add nsw i32 %79, -1
  store i32 %80, ptr %10, align 4, !tbaa !17
  br label %47, !llvm.loop !18

81:                                               ; preds = %74, %47
  %82 = load i32, ptr %8, align 4, !tbaa !17
  %83 = load i32, ptr %9, align 4, !tbaa !17
  %84 = add nsw i32 %82, %83
  %85 = load i32, ptr %10, align 4, !tbaa !17
  %86 = add nsw i32 %85, %84
  store i32 %86, ptr %10, align 4, !tbaa !17
  %87 = load i32, ptr %10, align 4, !tbaa !17
  %88 = icmp slt i32 %87, 100
  br i1 %88, label %89, label %90

89:                                               ; preds = %81
  store i32 100, ptr %10, align 4, !tbaa !17
  br label %90

90:                                               ; preds = %89, %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %91 = load i32, ptr %5, align 4, !tbaa !17
  %92 = uitofp i32 %91 to float
  %93 = load i32, ptr %10, align 4, !tbaa !17
  %94 = sitofp i32 %93 to float
  invoke void @_ZN7MVision8Vector2DC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %92, float noundef %94)
          to label %95 unwind label %100

95:                                               ; preds = %90
  invoke void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(8) %11)
          to label %96 unwind label %100

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %5, align 4, !tbaa !17
  %99 = add i32 %98, 1
  store i32 %99, ptr %5, align 4, !tbaa !17
  br label %29, !llvm.loop !20

100:                                              ; preds = %95, %90
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %6, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %104

104:                                              ; preds = %100, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %105

105:                                              ; preds = %104, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %387

106:                                              ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %107 = call noundef i64 @_ZNKSt6vectorIN7MVision8Vector2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %108 = trunc i64 %107 to i32
  store i32 %108, ptr %12, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  %109 = load i32, ptr %12, align 4, !tbaa !17
  %110 = mul nsw i32 2, %109
  %111 = sext i32 %110 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  call void @_ZNSaIN7MVision8Vector2DEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %111, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %112 unwind label %127

112:                                              ; preds = %106
  call void @_ZNSt15__new_allocatorIN7MVision8Vector2DEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  %113 = call ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %114 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %113, ptr %114, align 8
  %115 = call ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7MVision8Vector2DESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %118, ptr %120)
          to label %121 unwind label %131

121:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !17
  br label %122

122:                                              ; preds = %173, %121
  %123 = load i32, ptr %18, align 4, !tbaa !17
  %124 = load i32, ptr %12, align 4, !tbaa !17
  %125 = icmp slt i32 %123, %124
  br i1 %125, label %135, label %126

126:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %176

127:                                              ; preds = %106
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %6, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIN7MVision8Vector2DEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %386

131:                                              ; preds = %176, %112
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %6, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %7, align 4
  br label %385

135:                                              ; preds = %122
  br label %136

136:                                              ; preds = %156, %135
  %137 = load i32, ptr %13, align 4, !tbaa !17
  %138 = icmp sge i32 %137, 2
  br i1 %138, label %139, label %154

139:                                              ; preds = %136
  %140 = load i32, ptr %13, align 4, !tbaa !17
  %141 = sub nsw i32 %140, 2
  %142 = sext i32 %141 to i64
  %143 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %142) #7
  %144 = load i32, ptr %13, align 4, !tbaa !17
  %145 = sub nsw i32 %144, 1
  %146 = sext i32 %145 to i64
  %147 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %146) #7
  %148 = load i32, ptr %18, align 4, !tbaa !17
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %149) #7
  %151 = invoke noundef double @_ZN7MVision13ColorAnalyzer3ccwERKNS_8Vector2DES3_S3_(ptr noundef nonnull align 8 dereferenceable(56) %23, ptr noundef nonnull align 4 dereferenceable(8) %143, ptr noundef nonnull align 4 dereferenceable(8) %147, ptr noundef nonnull align 4 dereferenceable(8) %150)
          to label %152 unwind label %159

152:                                              ; preds = %139
  %153 = fcmp ole double %151, 0.000000e+00
  br label %154

154:                                              ; preds = %152, %136
  %155 = phi i1 [ false, %136 ], [ %153, %152 ]
  br i1 %155, label %156, label %163

156:                                              ; preds = %154
  %157 = load i32, ptr %13, align 4, !tbaa !17
  %158 = add nsw i32 %157, -1
  store i32 %158, ptr %13, align 4, !tbaa !17
  br label %136, !llvm.loop !21

159:                                              ; preds = %163, %139
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %6, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %385

163:                                              ; preds = %154
  %164 = load i32, ptr %18, align 4, !tbaa !17
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %165) #7
  %167 = load i32, ptr %13, align 4, !tbaa !17
  %168 = add nsw i32 %167, 1
  store i32 %168, ptr %13, align 4, !tbaa !17
  %169 = sext i32 %167 to i64
  %170 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %169) #7
  %171 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZN7MVision8Vector2DaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %170, ptr noundef nonnull align 4 dereferenceable(8) %166)
          to label %172 unwind label %159

172:                                              ; preds = %163
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %18, align 4, !tbaa !17
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %18, align 4, !tbaa !17
  br label %122, !llvm.loop !22

176:                                              ; preds = %126
  %177 = load i32, ptr %13, align 4, !tbaa !17
  %178 = sext i32 %177 to i64
  invoke void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %178)
          to label %179 unwind label %131

179:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !17
  br label %180

180:                                              ; preds = %380, %179
  %181 = load i32, ptr %19, align 4, !tbaa !17
  %182 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 1
  %183 = load ptr, ptr %182, align 8, !tbaa !9
  %184 = invoke noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24) %183)
          to label %185 unwind label %188

185:                                              ; preds = %180
  %186 = icmp ult i32 %181, %184
  br i1 %186, label %192, label %187

187:                                              ; preds = %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %384

188:                                              ; preds = %374, %371, %369, %367, %365, %361, %359, %357, %355, %351, %349, %346, %344, %342, %340, %338, %336, %267, %261, %252, %250, %246, %242, %236, %230, %226, %222, %216, %206, %200, %180
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %6, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %7, align 4
  br label %383

192:                                              ; preds = %185
  %193 = load i32, ptr %20, align 4, !tbaa !17
  %194 = zext i32 %193 to i64
  %195 = call noundef i64 @_ZNKSt6vectorIN7MVision8Vector2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %196 = icmp uge i64 %194, %195
  br i1 %196, label %226, label %197

197:                                              ; preds = %192
  %198 = load i32, ptr %20, align 4, !tbaa !17
  %199 = icmp eq i32 %198, 0
  br i1 %199, label %200, label %210

200:                                              ; preds = %197
  %201 = load i32, ptr %19, align 4, !tbaa !17
  %202 = uitofp i32 %201 to float
  %203 = load i32, ptr %20, align 4, !tbaa !17
  %204 = zext i32 %203 to i64
  %205 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %204)
          to label %206 unwind label %188

206:                                              ; preds = %200
  %207 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %205)
          to label %208 unwind label %188

208:                                              ; preds = %206
  %209 = fcmp olt float %202, %207
  br i1 %209, label %226, label %210

210:                                              ; preds = %208, %197
  %211 = load i32, ptr %20, align 4, !tbaa !17
  %212 = zext i32 %211 to i64
  %213 = call noundef i64 @_ZNKSt6vectorIN7MVision8Vector2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %214 = sub i64 %213, 1
  %215 = icmp eq i64 %212, %214
  br i1 %215, label %216, label %236

216:                                              ; preds = %210
  %217 = load i32, ptr %19, align 4, !tbaa !17
  %218 = uitofp i32 %217 to float
  %219 = load i32, ptr %20, align 4, !tbaa !17
  %220 = zext i32 %219 to i64
  %221 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %220)
          to label %222 unwind label %188

222:                                              ; preds = %216
  %223 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %221)
          to label %224 unwind label %188

224:                                              ; preds = %222
  %225 = fcmp ogt float %218, %223
  br i1 %225, label %226, label %236

226:                                              ; preds = %224, %208, %192
  %227 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 1
  %228 = load ptr, ptr %227, align 8, !tbaa !9
  %229 = invoke noundef i32 @_ZNK7MVision5Image6heightEv(ptr noundef nonnull align 8 dereferenceable(24) %228)
          to label %230 unwind label %188

230:                                              ; preds = %226
  %231 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 3
  %232 = load i32, ptr %19, align 4, !tbaa !17
  %233 = zext i32 %232 to i64
  %234 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %231, i64 noundef %233)
          to label %235 unwind label %188

235:                                              ; preds = %230
  store i32 %229, ptr %234, align 4, !tbaa !17
  br label %379

236:                                              ; preds = %224, %210
  %237 = load i32, ptr %19, align 4, !tbaa !17
  %238 = uitofp i32 %237 to float
  %239 = load i32, ptr %20, align 4, !tbaa !17
  %240 = zext i32 %239 to i64
  %241 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %240)
          to label %242 unwind label %188

242:                                              ; preds = %236
  %243 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %241)
          to label %244 unwind label %188

244:                                              ; preds = %242
  %245 = fcmp oeq float %238, %243
  br i1 %245, label %246, label %261

246:                                              ; preds = %244
  %247 = load i32, ptr %20, align 4, !tbaa !17
  %248 = zext i32 %247 to i64
  %249 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %248)
          to label %250 unwind label %188

250:                                              ; preds = %246
  %251 = invoke noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %249)
          to label %252 unwind label %188

252:                                              ; preds = %250
  %253 = fptosi float %251 to i32
  %254 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 3
  %255 = load i32, ptr %19, align 4, !tbaa !17
  %256 = zext i32 %255 to i64
  %257 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %256)
          to label %258 unwind label %188

258:                                              ; preds = %252
  store i32 %253, ptr %257, align 4, !tbaa !17
  %259 = load i32, ptr %20, align 4, !tbaa !17
  %260 = add i32 %259, 1
  store i32 %260, ptr %20, align 4, !tbaa !17
  br label %378

261:                                              ; preds = %244
  %262 = load i32, ptr %19, align 4, !tbaa !17
  %263 = uitofp i32 %262 to float
  %264 = load i32, ptr %20, align 4, !tbaa !17
  %265 = zext i32 %264 to i64
  %266 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %265)
          to label %267 unwind label %188

267:                                              ; preds = %261
  %268 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %266)
          to label %269 unwind label %188

269:                                              ; preds = %267
  %270 = fcmp olt float %263, %268
  br i1 %270, label %271, label %336

271:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %272 = load i32, ptr %19, align 4, !tbaa !17
  %273 = uitofp i32 %272 to float
  %274 = load i32, ptr %20, align 4, !tbaa !17
  %275 = sub i32 %274, 1
  %276 = zext i32 %275 to i64
  %277 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %276)
          to label %278 unwind label %327

278:                                              ; preds = %271
  %279 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %277)
          to label %280 unwind label %327

280:                                              ; preds = %278
  %281 = fsub float %273, %279
  %282 = load i32, ptr %20, align 4, !tbaa !17
  %283 = zext i32 %282 to i64
  %284 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %283)
          to label %285 unwind label %327

285:                                              ; preds = %280
  %286 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %284)
          to label %287 unwind label %327

287:                                              ; preds = %285
  %288 = load i32, ptr %20, align 4, !tbaa !17
  %289 = sub i32 %288, 1
  %290 = zext i32 %289 to i64
  %291 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %290)
          to label %292 unwind label %327

292:                                              ; preds = %287
  %293 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %291)
          to label %294 unwind label %327

294:                                              ; preds = %292
  %295 = fsub float %286, %293
  %296 = fdiv float %281, %295
  store float %296, ptr %21, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %297 = load i32, ptr %20, align 4, !tbaa !17
  %298 = zext i32 %297 to i64
  %299 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %298)
          to label %300 unwind label %331

300:                                              ; preds = %294
  %301 = invoke noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %299)
          to label %302 unwind label %331

302:                                              ; preds = %300
  %303 = load i32, ptr %20, align 4, !tbaa !17
  %304 = sub i32 %303, 1
  %305 = zext i32 %304 to i64
  %306 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %305)
          to label %307 unwind label %331

307:                                              ; preds = %302
  %308 = invoke noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %306)
          to label %309 unwind label %331

309:                                              ; preds = %307
  %310 = fsub float %301, %308
  store float %310, ptr %22, align 4, !tbaa !23
  %311 = load float, ptr %21, align 4, !tbaa !23
  %312 = load float, ptr %22, align 4, !tbaa !23
  %313 = load i32, ptr %20, align 4, !tbaa !17
  %314 = sub i32 %313, 1
  %315 = zext i32 %314 to i64
  %316 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %315)
          to label %317 unwind label %331

317:                                              ; preds = %309
  %318 = invoke noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %316)
          to label %319 unwind label %331

319:                                              ; preds = %317
  %320 = call float @llvm.fmuladd.f32(float %311, float %312, float %318)
  %321 = fptosi float %320 to i32
  %322 = getelementptr inbounds %"class.MVision::ColorAnalyzer", ptr %23, i32 0, i32 3
  %323 = load i32, ptr %19, align 4, !tbaa !17
  %324 = zext i32 %323 to i64
  %325 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %322, i64 noundef %324)
          to label %326 unwind label %331

326:                                              ; preds = %319
  store i32 %321, ptr %325, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %377

327:                                              ; preds = %292, %287, %285, %280, %278, %271
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %6, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %7, align 4
  br label %335

331:                                              ; preds = %319, %317, %309, %307, %302, %300, %294
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %6, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %335

335:                                              ; preds = %331, %327
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %383

336:                                              ; preds = %269
  %337 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.1)
          to label %338 unwind label %188

338:                                              ; preds = %336
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %337, ptr noundef @.str.2)
          to label %340 unwind label %188

340:                                              ; preds = %338
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %339, ptr noundef @.str.3)
          to label %342 unwind label %188

342:                                              ; preds = %340
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %341, i32 noundef 136)
          to label %344 unwind label %188

344:                                              ; preds = %342
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %343, ptr noundef @.str.4)
          to label %346 unwind label %188

346:                                              ; preds = %344
  %347 = load i32, ptr %19, align 4, !tbaa !17
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %345, i32 noundef %347)
          to label %349 unwind label %188

349:                                              ; preds = %346
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %348, ptr noundef @.str.5)
          to label %351 unwind label %188

351:                                              ; preds = %349
  %352 = load i32, ptr %20, align 4, !tbaa !17
  %353 = zext i32 %352 to i64
  %354 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %353)
          to label %355 unwind label %188

355:                                              ; preds = %351
  %356 = invoke noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %354)
          to label %357 unwind label %188

357:                                              ; preds = %355
  %358 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %350, float noundef %356)
          to label %359 unwind label %188

359:                                              ; preds = %357
  %360 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %358, ptr noundef @.str.6)
          to label %361 unwind label %188

361:                                              ; preds = %359
  %362 = load i32, ptr %20, align 4, !tbaa !17
  %363 = zext i32 %362 to i64
  %364 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %363)
          to label %365 unwind label %188

365:                                              ; preds = %361
  %366 = invoke noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %364)
          to label %367 unwind label %188

367:                                              ; preds = %365
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %360, float noundef %366)
          to label %369 unwind label %188

369:                                              ; preds = %367
  %370 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %368, ptr noundef @.str.7)
          to label %371 unwind label %188

371:                                              ; preds = %369
  %372 = load i32, ptr %20, align 4, !tbaa !17
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %370, i32 noundef %372)
          to label %374 unwind label %188

374:                                              ; preds = %371
  %375 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %373, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %376 unwind label %188

376:                                              ; preds = %374
  br label %377

377:                                              ; preds = %376, %326
  br label %378

378:                                              ; preds = %377, %258
  br label %379

379:                                              ; preds = %378, %235
  br label %380

380:                                              ; preds = %379
  %381 = load i32, ptr %19, align 4, !tbaa !17
  %382 = add i32 %381, 1
  store i32 %382, ptr %19, align 4, !tbaa !17
  br label %180, !llvm.loop !25

383:                                              ; preds = %335, %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %385

384:                                              ; preds = %187
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #7
  ret void

385:                                              ; preds = %383, %159, %131
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %386

386:                                              ; preds = %385, %127
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %387

387:                                              ; preds = %386, %105
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #7
  br label %388

388:                                              ; preds = %387
  %389 = load ptr, ptr %6, align 8
  %390 = load i32, ptr %7, align 4
  %391 = insertvalue { ptr, i32 } poison, ptr %389, 0
  %392 = insertvalue { ptr, i32 } %391, i32 %390, 1
  resume { ptr, i32 } %392
}

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

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

declare noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24)) #2

declare noundef i32 @_ZNK7MVision5Image6heightEv(ptr noundef nonnull align 8 dereferenceable(24)) #2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isGreenEii(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isWhiteEii(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef) #0 align 2

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

declare void @_ZN7MVision8Vector2DC1Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIN7MVision8Vector2DEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7MVision8Vector2DESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN7MVision13ColorAnalyzer3ccwERKNS_8Vector2DES3_S3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #3 align 2

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #6

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7MVision8Vector2DEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 16}
!10 = !{!"_ZTSN7MVision13ColorAnalyzerE", !11, i64 0, !6, i64 16, !12, i64 24, !13, i64 32}
!11 = !{!"_ZTS9Debugable", !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!12, !12, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !19}
!22 = distinct !{!22, !19}
!23 = !{!24, !24, i64 0}
!24 = !{!"float", !7, i64 0}
!25 = distinct !{!25, !19}


; 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.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl" }
%"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl" = type { %"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MVision::Vector2D, std::allocator<MVision::Vector2D>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.MVision::Vector2D" = type { float, float }
%"class.std::allocator.2" = type { i8 }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7MVision13ColorAnalyzer22fieldBoundaryDetectionEv(ptr noundef nonnull align 8 dereferenceable(56) %0) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector.0", align 8
  %4 = alloca %"class.MVision::Vector2D", align 4
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = getelementptr inbounds i8, ptr %0, i64 32
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = load ptr, ptr %8, align 8, !tbaa !5
  %10 = tail call noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24) %9)
  %11 = zext i32 %10 to i64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  store i32 0, ptr %2, align 4, !tbaa !16
  call void @_ZNSt6vectorIiSaIiEE6resizeEmRKi(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %11, ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  br label %12

12:                                               ; preds = %46, %1
  %.0 = phi i32 [ 0, %1 ], [ %47, %46 ]
  %13 = load ptr, ptr %8, align 8, !tbaa !5
  %14 = invoke noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %15 unwind label %22

15:                                               ; preds = %12
  %16 = icmp ult i32 %.0, %14
  br i1 %16, label %24, label %17

17:                                               ; preds = %15
  %18 = call noundef i64 @_ZNKSt6vectorIN7MVision8Vector2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %19 = trunc i64 %18 to i32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  %20 = shl nsw i32 %19, 1
  %21 = sext i32 %20 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #8
  call void @_ZNSaIN7MVision8Vector2DEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  invoke void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %21, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %50 unwind label %56

22:                                               ; preds = %12
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %202

24:                                               ; preds = %15
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = invoke noundef i32 @_ZNK7MVision5Image6heightEv(ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %.preheader96 unwind label %.loopexit.split-lp

.preheader96:                                     ; preds = %24
  %.081102 = add i32 %26, -1
  %27 = icmp sgt i32 %.081102, 0
  br i1 %27, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader96, %39
  %.081105 = phi i32 [ %.081, %39 ], [ %.081102, %.preheader96 ]
  %.075104 = phi i32 [ %.176, %39 ], [ 0, %.preheader96 ]
  %.079103 = phi i32 [ %.180, %39 ], [ 0, %.preheader96 ]
  %28 = invoke noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isGreenEii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %.0, i32 noundef %.081105)
          to label %29 unwind label %.loopexit

29:                                               ; preds = %.lr.ph
  br i1 %28, label %39, label %30

.loopexit:                                        ; preds = %.lr.ph, %30
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %202

.loopexit.split-lp:                               ; preds = %24
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %202

30:                                               ; preds = %29
  %31 = invoke noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isWhiteEii(ptr noundef nonnull align 8 dereferenceable(56) %0, i32 noundef %.0, i32 noundef %.081105)
          to label %32 unwind label %.loopexit

32:                                               ; preds = %30
  br i1 %31, label %33, label %35

33:                                               ; preds = %32
  %34 = add nsw i32 %.079103, 1
  br label %39

35:                                               ; preds = %32
  %36 = icmp slt i32 %.075104, 10
  br i1 %36, label %37, label %._crit_edge

37:                                               ; preds = %35
  %38 = add nsw i32 %.075104, 1
  br label %39

39:                                               ; preds = %29, %37, %33
  %.180 = phi i32 [ %34, %33 ], [ %.079103, %37 ], [ 0, %29 ]
  %.176 = phi i32 [ %.075104, %33 ], [ %38, %37 ], [ 0, %29 ]
  %.081 = add nsw i32 %.081105, -1
  %40 = icmp sgt i32 %.081105, 1
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %39, %35, %.preheader96
  %.079.lcssa = phi i32 [ 0, %.preheader96 ], [ %.079103, %35 ], [ %.180, %39 ]
  %.075.lcssa = phi i32 [ 0, %.preheader96 ], [ %.075104, %35 ], [ %.176, %39 ]
  %.081.lcssa = phi i32 [ %.081102, %.preheader96 ], [ %.081105, %35 ], [ 0, %39 ]
  %41 = add i32 %.081.lcssa, %.079.lcssa
  %42 = add i32 %41, %.075.lcssa
  %spec.store.select = call i32 @llvm.smax.i32(i32 %42, i32 100)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %43 = uitofp i32 %.0 to float
  %44 = uitofp nneg i32 %spec.store.select to float
  invoke void @_ZN7MVision8Vector2DC1Eff(ptr noundef nonnull align 4 dereferenceable(8) %4, float noundef %43, float noundef %44)
          to label %45 unwind label %48

45:                                               ; preds = %._crit_edge
  invoke void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 4 dereferenceable(8) %4)
          to label %46 unwind label %48

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  %47 = add i32 %.0, 1
  br label %12, !llvm.loop !19

48:                                               ; preds = %45, %._crit_edge
  %49 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %202

50:                                               ; preds = %17
  call void @_ZNSt15__new_allocatorIN7MVision8Vector2DEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  %51 = call ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %52 = call ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7MVision8Vector2DESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %51, ptr %52)
          to label %.preheader95 unwind label %58

.preheader95:                                     ; preds = %50
  %53 = icmp sgt i32 %19, 0
  br i1 %53, label %.preheader94.preheader, label %._crit_edge114

.preheader94.preheader:                           ; preds = %.preheader95
  %wide.trip.count = and i64 %18, 2147483647
  br label %.preheader94

.preheader94:                                     ; preds = %.preheader94.preheader, %.critedge
  %indvars.iv118 = phi i64 [ 0, %.preheader94.preheader ], [ %indvars.iv.next119, %.critedge ]
  %.077112 = phi i32 [ 0, %.preheader94.preheader ], [ %75, %.critedge ]
  %54 = zext i32 %.077112 to i64
  %smin = call i32 @llvm.smin.i32(i32 %.077112, i32 1)
  br label %60

._crit_edge114.loopexit:                          ; preds = %.critedge
  %55 = sext i32 %75 to i64
  br label %._crit_edge114

._crit_edge114:                                   ; preds = %._crit_edge114.loopexit, %.preheader95
  %.077.lcssa = phi i64 [ 0, %.preheader95 ], [ %55, %._crit_edge114.loopexit ]
  invoke void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.077.lcssa)
          to label %.preheader unwind label %58

56:                                               ; preds = %17
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN7MVision8Vector2DEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #8
  br label %201

58:                                               ; preds = %._crit_edge114, %50
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %200

60:                                               ; preds = %.preheader94, %70
  %indvars.iv = phi i64 [ %54, %.preheader94 ], [ %66, %70 ]
  %61 = trunc nuw i64 %indvars.iv to i32
  %62 = icmp sgt i32 %61, 1
  br i1 %62, label %63, label %.critedge

63:                                               ; preds = %60
  %64 = add nsw i64 %indvars.iv, -2
  %65 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %64) #8
  %66 = add nsw i64 %indvars.iv, -1
  %67 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %66) #8
  %68 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv118) #8
  %69 = invoke noundef double @_ZN7MVision13ColorAnalyzer3ccwERKNS_8Vector2DES3_S3_(ptr noundef nonnull align 8 dereferenceable(56) %0, ptr noundef nonnull align 4 dereferenceable(8) %65, ptr noundef nonnull align 4 dereferenceable(8) %67, ptr noundef nonnull align 4 dereferenceable(8) %68)
          to label %70 unwind label %72

70:                                               ; preds = %63
  %71 = fcmp ugt double %69, 0.000000e+00
  br i1 %71, label %.critedge, label %60, !llvm.loop !20

72:                                               ; preds = %63
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %200

.critedge:                                        ; preds = %60, %70
  %.178.lcssa = phi i32 [ %smin, %60 ], [ %61, %70 ]
  %74 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv118) #8
  %75 = add nsw i32 %.178.lcssa, 1
  %76 = sext i32 %.178.lcssa to i64
  %77 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %76) #8
  %78 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN7MVision8Vector2DaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %77, ptr noundef nonnull align 4 dereferenceable(8) %74)
  %indvars.iv.next119 = add nuw nsw i64 %indvars.iv118, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next119, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge114.loopexit, label %.preheader94, !llvm.loop !21

.preheader:                                       ; preds = %._crit_edge114, %199
  %indvars.iv121 = phi i64 [ %indvars.iv.next122, %199 ], [ 0, %._crit_edge114 ]
  %.064 = phi i32 [ %.165, %199 ], [ 0, %._crit_edge114 ]
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = invoke noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24) %79)
          to label %81 unwind label %85

81:                                               ; preds = %.preheader
  %82 = zext i32 %80 to i64
  %83 = icmp ult i64 %indvars.iv121, %82
  br i1 %83, label %87, label %84

84:                                               ; preds = %81
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  ret void

85:                                               ; preds = %197, %195, %193, %190, %188, %186, %183, %181, %179, %177, %175, %173, %171, %169, %167, %129, %123, %121, %116, %113, %110, %103, %92, %.preheader
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %200

87:                                               ; preds = %81
  %88 = zext i32 %.064 to i64
  %89 = call noundef i64 @_ZNKSt6vectorIN7MVision8Vector2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %.not = icmp ugt i64 %89, %88
  br i1 %.not, label %90, label %110

90:                                               ; preds = %87
  %91 = icmp eq i32 %.064, 0
  br i1 %91, label %92, label %99

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %94 unwind label %85

94:                                               ; preds = %92
  %95 = trunc nuw i64 %indvars.iv121 to i32
  %96 = uitofp i32 %95 to float
  %97 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %93)
  %98 = fcmp ogt float %97, %96
  br i1 %98, label %110, label %99

99:                                               ; preds = %94, %90
  %100 = call noundef i64 @_ZNKSt6vectorIN7MVision8Vector2DESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %101 = add i64 %100, -1
  %102 = icmp eq i64 %101, %88
  br i1 %102, label %103, label %._crit_edge124

._crit_edge124:                                   ; preds = %99
  %.pre = trunc nuw i64 %indvars.iv121 to i32
  %.pre125 = uitofp i32 %.pre to float
  br label %116

103:                                              ; preds = %99
  %104 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %105 unwind label %85

105:                                              ; preds = %103
  %106 = trunc nuw i64 %indvars.iv121 to i32
  %107 = uitofp i32 %106 to float
  %108 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %104)
  %109 = fcmp olt float %108, %107
  br i1 %109, label %110, label %116

110:                                              ; preds = %105, %94, %87
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = invoke noundef i32 @_ZNK7MVision5Image6heightEv(ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %113 unwind label %85

113:                                              ; preds = %110
  %114 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv121)
          to label %115 unwind label %85

115:                                              ; preds = %113
  store i32 %112, ptr %114, align 4, !tbaa !16
  br label %199

116:                                              ; preds = %._crit_edge124, %105
  %.pre-phi126 = phi float [ %.pre125, %._crit_edge124 ], [ %107, %105 ]
  %.pre-phi = phi i32 [ %.pre, %._crit_edge124 ], [ %106, %105 ]
  %117 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %118 unwind label %85

118:                                              ; preds = %116
  %119 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %117)
  %120 = fcmp oeq float %119, %.pre-phi126
  br i1 %120, label %121, label %129

121:                                              ; preds = %118
  %122 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %123 unwind label %85

123:                                              ; preds = %121
  %124 = call noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %122)
  %125 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv121)
          to label %126 unwind label %85

126:                                              ; preds = %123
  %127 = fptosi float %124 to i32
  store i32 %127, ptr %125, align 4, !tbaa !16
  %128 = add i32 %.064, 1
  br label %199

129:                                              ; preds = %118
  %130 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %131 unwind label %85

131:                                              ; preds = %129
  %132 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %130)
  %133 = fcmp ogt float %132, %.pre-phi126
  br i1 %133, label %134, label %167

134:                                              ; preds = %131
  %135 = add i32 %.064, -1
  %136 = zext i32 %135 to i64
  %137 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %136)
          to label %138 unwind label %163

138:                                              ; preds = %134
  %139 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %137)
  %140 = fsub float %.pre-phi126, %139
  %141 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %142 unwind label %163

142:                                              ; preds = %138
  %143 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %141)
  %144 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %136)
          to label %145 unwind label %163

145:                                              ; preds = %142
  %146 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %144)
  %147 = fsub float %143, %146
  %148 = fdiv float %140, %147
  %149 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %150 unwind label %165

150:                                              ; preds = %145
  %151 = call noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %149)
  %152 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %136)
          to label %153 unwind label %165

153:                                              ; preds = %150
  %154 = call noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %152)
  %155 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %136)
          to label %156 unwind label %165

156:                                              ; preds = %153
  %157 = call noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %155)
  %158 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %indvars.iv121)
          to label %159 unwind label %165

159:                                              ; preds = %156
  %160 = fsub float %151, %154
  %161 = call float @llvm.fmuladd.f32(float %148, float %160, float %157)
  %162 = fptosi float %161 to i32
  store i32 %162, ptr %158, align 4, !tbaa !16
  br label %199

163:                                              ; preds = %142, %138, %134
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %200

165:                                              ; preds = %156, %153, %150, %145
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %200

167:                                              ; preds = %131
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.1)
          to label %169 unwind label %85

169:                                              ; preds = %167
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %168, ptr noundef nonnull @.str.2)
          to label %171 unwind label %85

171:                                              ; preds = %169
  %172 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull @.str.3)
          to label %173 unwind label %85

173:                                              ; preds = %171
  %174 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %172, i32 noundef 136)
          to label %175 unwind label %85

175:                                              ; preds = %173
  %176 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %174, ptr noundef nonnull @.str.4)
          to label %177 unwind label %85

177:                                              ; preds = %175
  %178 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %176, i32 noundef %.pre-phi)
          to label %179 unwind label %85

179:                                              ; preds = %177
  %180 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %178, ptr noundef nonnull @.str.5)
          to label %181 unwind label %85

181:                                              ; preds = %179
  %182 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %183 unwind label %85

183:                                              ; preds = %181
  %184 = call noundef float @_ZNK7MVision8Vector2D1xEv(ptr noundef nonnull align 4 dereferenceable(8) %182)
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %180, float noundef %184)
          to label %186 unwind label %85

186:                                              ; preds = %183
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull @.str.6)
          to label %188 unwind label %85

188:                                              ; preds = %186
  %189 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EE2atEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %88)
          to label %190 unwind label %85

190:                                              ; preds = %188
  %191 = call noundef float @_ZNK7MVision8Vector2D1yEv(ptr noundef nonnull align 4 dereferenceable(8) %189)
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %187, float noundef %191)
          to label %193 unwind label %85

193:                                              ; preds = %190
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull @.str.7)
          to label %195 unwind label %85

195:                                              ; preds = %193
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %194, i32 noundef %.064)
          to label %197 unwind label %85

197:                                              ; preds = %195
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %199 unwind label %85

199:                                              ; preds = %115, %159, %197, %126
  %.165 = phi i32 [ %.064, %115 ], [ %128, %126 ], [ %.064, %159 ], [ %.064, %197 ]
  %indvars.iv.next122 = add nuw nsw i64 %indvars.iv121, 1
  br label %.preheader, !llvm.loop !22

200:                                              ; preds = %85, %165, %163, %72, %58
  %.pn87 = phi { ptr, i32 } [ %73, %72 ], [ %59, %58 ], [ %86, %85 ], [ %166, %165 ], [ %164, %163 ]
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  br label %201

201:                                              ; preds = %200, %56
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %200 ], [ %57, %56 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  br label %202

202:                                              ; preds = %.loopexit, %.loopexit.split-lp, %22, %48, %201
  %.pn90.pn.pn = phi { ptr, i32 } [ %.pn87.pn, %201 ], [ %23, %22 ], [ %49, %48 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn90.pn.pn
}

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

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

declare noundef i32 @_ZNK7MVision5Image5widthEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

declare noundef i32 @_ZNK7MVision5Image6heightEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isGreenEii(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7MVision13ColorAnalyzer7isWhiteEii(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

declare void @_ZN7MVision8Vector2DC1Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIN7MVision8Vector2DEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN7MVision8Vector2DESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #4

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZN7MVision13ColorAnalyzer3ccwERKNS_8Vector2DES3_S3_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #6

; 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #2

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

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

; 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 #0 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7MVision8Vector2DESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIN7MVision8Vector2DEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #7

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { 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 #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { 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, !8, i64 16}
!6 = !{!"_ZTSN7MVision13ColorAnalyzerE", !7, i64 0, !8, i64 16, !11, i64 24, !12, i64 32}
!7 = !{!"_ZTS9Debugable", !8, i64 8}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"_ZTSSt6vectorIiSaIiEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !8, i64 0, !8, i64 8, !8, i64 16}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}


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