; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/descriptor/AffineRegion._c51e76e4 (Z16findAffineRegionP12ImageContentP16CornerDescriptor)

; 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.Matrix = type { ptr, ptr, i32, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6Corner4getXEv(ptr noundef nonnull align 4 dereferenceable(88)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6Corner4getYEv(ptr noundef nonnull align 4 dereferenceable(88)) #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6Corner14getCornerScaleEv(ptr noundef nonnull align 4 dereferenceable(88)) #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) unnamed_addr #1 align 2

declare void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.rint.f64(double) #3

; Function Attrs: nounwind
declare void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner14setCornerScaleEf(ptr noundef nonnull align 4 dereferenceable(88), float noundef) #1 align 2

; Function Attrs: nounwind
declare void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12computeAngleP12ImageContentP16CornerDescriptor(ptr noundef, ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef, i32 noundef) unnamed_addr #7 align 2

declare noundef zeroext i1 @_ZN12ImageContent11interpolateEPS_ffffff(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner6setX_YEff(ptr noundef nonnull align 4 dereferenceable(88), float noundef, float noundef) #1 align 2

; 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) #8

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #7 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)) #8

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 @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK16CornerDescriptor7getTypeEv(ptr noundef nonnull align 8 dereferenceable(116)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z16findAffineRegionP12ImageContentP16CornerDescriptor(ptr noundef %0, ptr noundef %1) #7 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %class.Matrix, align 8
  %14 = alloca %class.Matrix, align 8
  %15 = alloca %class.Matrix, align 8
  %16 = alloca %class.Matrix, align 8
  %17 = alloca %class.Matrix, align 8
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca %class.Matrix, align 8
  %40 = alloca i32, align 4
  %41 = alloca %class.Matrix, align 8
  %42 = alloca %class.Matrix, align 8
  %43 = alloca %class.Matrix, align 8
  %44 = alloca %class.Matrix, align 8
  %45 = alloca %class.Matrix, align 8
  %46 = alloca %class.Matrix, align 8
  %47 = alloca %class.Matrix, align 8
  %48 = alloca %class.Matrix, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #10
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = call noundef float @_ZNK6Corner14getCornerScaleEv(ptr noundef nonnull align 4 dereferenceable(88) %49)
  store float %50, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  %51 = load float, ptr %6, align 4, !tbaa !9
  %52 = fpext float %51 to double
  %53 = fmul double %52, 1.400000e+00
  %54 = fptrunc double %53 to float
  store float %54, ptr %7, align 4, !tbaa !9
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = load float, ptr %7, align 4, !tbaa !9
  call void @_ZN6Corner9setIntSigEf(ptr noundef nonnull align 4 dereferenceable(88) %55, float noundef %56)
  call void @llvm.lifetime.start.p0(i64 4, 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
  %57 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #11
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %57, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %58 unwind label %113

58:                                               ; preds = %2
  store ptr %57, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #10
  call void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #10
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %59 unwind label %117

59:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #10
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %60 unwind label %121

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #10
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %61 unwind label %125

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #10
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %17, i32 noundef 2, i32 noundef 2, double noundef 1.000000e+00)
          to label %62 unwind label %129

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  %63 = load ptr, ptr %5, align 8, !tbaa !5
  %64 = invoke noundef float @_ZNK6Corner4getXEv(ptr noundef nonnull align 4 dereferenceable(88) %63)
          to label %65 unwind label %133

65:                                               ; preds = %62
  store float %64, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #10
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = invoke noundef float @_ZNK6Corner4getYEv(ptr noundef nonnull align 4 dereferenceable(88) %66)
          to label %68 unwind label %137

68:                                               ; preds = %65
  store float %67, ptr %19, align 4, !tbaa !9
  %69 = getelementptr inbounds %class.Matrix, ptr %13, i32 0, i32 1
  %70 = load ptr, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds ptr, ptr %70, i64 1
  %72 = load ptr, ptr %71, align 8, !tbaa !5
  %73 = getelementptr inbounds double, ptr %72, i64 1
  store double 1.000000e+00, ptr %73, align 8, !tbaa !14
  %74 = getelementptr inbounds %class.Matrix, ptr %13, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !11
  %76 = getelementptr inbounds ptr, ptr %75, i64 2
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %77, i64 2
  store double 1.000000e+00, ptr %78, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #10
  store i32 1, ptr %20, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #10
  store float 0.000000e+00, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #10
  store float 0.000000e+00, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #10
  store float 1.000000e+02, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #10
  store float 1.000000e+02, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #10
  store float 1.000000e+02, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #10
  store float 1.000000e+02, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #10
  store float 1.000000e+02, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #10
  store float 1.000000e+02, ptr %30, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  store float 0x3F9BA5E360000000, ptr %31, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  store i32 0, ptr %32, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #10
  store i32 0, ptr %33, align 4, !tbaa !16
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = invoke noundef float @_ZNK6Corner4getXEv(ptr noundef nonnull align 4 dereferenceable(88) %79)
          to label %81 unwind label %141

81:                                               ; preds = %68
  store float %80, ptr %18, align 4, !tbaa !9
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = invoke noundef float @_ZNK6Corner4getYEv(ptr noundef nonnull align 4 dereferenceable(88) %82)
          to label %84 unwind label %141

84:                                               ; preds = %81
  store float %83, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  store float 0x3FB99999A0000000, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  store float 0x3FB99999A0000000, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #10
  store float 0x3FA99999A0000000, ptr %38, align 4, !tbaa !9
  store i32 0, ptr %21, align 4, !tbaa !16
  br label %85

85:                                               ; preds = %369, %84
  %86 = load i32, ptr %21, align 4, !tbaa !16
  %87 = icmp slt i32 %86, 50
  br i1 %87, label %88, label %91

88:                                               ; preds = %85
  %89 = load i32, ptr %20, align 4, !tbaa !16
  %90 = icmp ne i32 %89, 0
  br label %91

91:                                               ; preds = %88, %85
  %92 = phi i1 [ false, %85 ], [ %90, %88 ]
  br i1 %92, label %93, label %372

93:                                               ; preds = %91
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %96 unwind label %145

96:                                               ; preds = %93
  %97 = invoke noundef float @_Z16searchIntegScalePcP12ImageContentP16CornerDescriptor6Matrix(ptr noundef @.str.11, ptr noundef %94, ptr noundef %95, ptr noundef %39)
          to label %98 unwind label %149

98:                                               ; preds = %96
  %99 = fpext float %97 to double
  %100 = fmul double 1.000000e+00, %99
  %101 = fptrunc double %100 to float
  store float %101, ptr %6, align 4, !tbaa !9
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #10
  %102 = load float, ptr %6, align 4, !tbaa !9
  %103 = fpext float %102 to double
  %104 = fmul double 1.400000e+00, %103
  %105 = fptrunc double %104 to float
  store float %105, ptr %7, align 4, !tbaa !9
  %106 = load float, ptr %7, align 4, !tbaa !9
  %107 = fcmp oeq float %106, 0.000000e+00
  br i1 %107, label %108, label %153

108:                                              ; preds = %98
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
          to label %110 unwind label %145

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %112 unwind label %145

112:                                              ; preds = %110
  store i32 0, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %458

113:                                              ; preds = %2
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %11, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %57, i64 noundef 24) #12
  br label %468

117:                                              ; preds = %58
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %11, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %12, align 4
  br label %467

121:                                              ; preds = %59
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %11, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %12, align 4
  br label %466

125:                                              ; preds = %60
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %11, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %12, align 4
  br label %465

129:                                              ; preds = %61
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %11, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %12, align 4
  br label %464

133:                                              ; preds = %62
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %11, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %12, align 4
  br label %463

137:                                              ; preds = %65
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %11, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %12, align 4
  br label %462

141:                                              ; preds = %81, %68
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %11, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %12, align 4
  br label %461

145:                                              ; preds = %434, %431, %428, %424, %420, %416, %413, %405, %402, %400, %396, %393, %391, %389, %382, %380, %379, %324, %321, %319, %317, %314, %312, %309, %307, %304, %302, %278, %265, %262, %260, %244, %239, %231, %226, %224, %220, %218, %211, %206, %195, %190, %186, %182, %178, %174, %168, %163, %110, %108, %93
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %11, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %12, align 4
  br label %460

149:                                              ; preds = %96
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %11, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %12, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #10
  br label %460

153:                                              ; preds = %98
  %154 = load float, ptr %7, align 4, !tbaa !9
  %155 = fpext float %154 to double
  %156 = fmul double 4.500000e+00, %155
  %157 = call double @llvm.rint.f64(double %156)
  %158 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %157, double 1.000000e+00)
  %159 = fptosi double %158 to i32
  store i32 %159, ptr %8, align 4, !tbaa !16
  %160 = load i32, ptr %8, align 4, !tbaa !16
  %161 = icmp slt i32 %160, 25
  br i1 %161, label %162, label %163

162:                                              ; preds = %153
  store i32 25, ptr %8, align 4, !tbaa !16
  br label %163

163:                                              ; preds = %162, %153
  %164 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #11
          to label %165 unwind label %145

165:                                              ; preds = %163
  %166 = load i32, ptr %8, align 4, !tbaa !16
  %167 = load i32, ptr %8, align 4, !tbaa !16
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %164, i32 noundef %166, i32 noundef %167)
          to label %168 unwind label %202

168:                                              ; preds = %165
  store ptr %164, ptr %9, align 8, !tbaa !5
  %169 = load ptr, ptr %9, align 8, !tbaa !5
  %170 = load ptr, ptr %4, align 8, !tbaa !5
  %171 = load float, ptr %18, align 4, !tbaa !9
  %172 = load float, ptr %19, align 4, !tbaa !9
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1, i32 noundef 1)
          to label %174 unwind label %145

174:                                              ; preds = %168
  %175 = load double, ptr %173, align 8, !tbaa !14
  %176 = fptrunc double %175 to float
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1, i32 noundef 2)
          to label %178 unwind label %145

178:                                              ; preds = %174
  %179 = load double, ptr %177, align 8, !tbaa !14
  %180 = fptrunc double %179 to float
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 1)
          to label %182 unwind label %145

182:                                              ; preds = %178
  %183 = load double, ptr %181, align 8, !tbaa !14
  %184 = fptrunc double %183 to float
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 2)
          to label %186 unwind label %145

186:                                              ; preds = %182
  %187 = load double, ptr %185, align 8, !tbaa !14
  %188 = fptrunc double %187 to float
  %189 = invoke noundef zeroext i1 @_ZN12ImageContent11interpolateEPS_ffffff(ptr noundef nonnull align 8 dereferenceable(80) %169, ptr noundef %170, float noundef %171, float noundef %172, float noundef %176, float noundef %180, float noundef %184, float noundef %188)
          to label %190 unwind label %145

190:                                              ; preds = %186
  %191 = load ptr, ptr %5, align 8, !tbaa !5
  %192 = invoke noundef i32 @_ZNK16CornerDescriptor7getTypeEv(ptr noundef nonnull align 8 dereferenceable(116) %191)
          to label %193 unwind label %145

193:                                              ; preds = %190
  %194 = icmp eq i32 %192, 1
  br i1 %194, label %195, label %206

195:                                              ; preds = %193
  %196 = load ptr, ptr %9, align 8, !tbaa !5
  %197 = load ptr, ptr %10, align 8, !tbaa !5
  %198 = load float, ptr %6, align 4, !tbaa !9
  %199 = load float, ptr %7, align 4, !tbaa !9
  %200 = invoke noundef i32 @_Z9harris_miP12ImageContentP6MatrixRiS3_fffi(ptr noundef %196, ptr noundef %197, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33, float noundef %198, float noundef %199, float noundef 0x3FA99999A0000000, i32 noundef 0)
          to label %201 unwind label %145

201:                                              ; preds = %195
  store i32 %200, ptr %22, align 4, !tbaa !16
  br label %224

202:                                              ; preds = %165
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %11, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %164, i64 noundef 80) #12
  br label %460

206:                                              ; preds = %193
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = invoke noundef i32 @_ZNK16CornerDescriptor7getTypeEv(ptr noundef nonnull align 8 dereferenceable(116) %207)
          to label %209 unwind label %145

209:                                              ; preds = %206
  %210 = icmp eq i32 %208, 2
  br i1 %210, label %211, label %218

211:                                              ; preds = %209
  %212 = load ptr, ptr %9, align 8, !tbaa !5
  %213 = load ptr, ptr %10, align 8, !tbaa !5
  %214 = load float, ptr %6, align 4, !tbaa !9
  %215 = load float, ptr %7, align 4, !tbaa !9
  %216 = invoke noundef i32 @_Z5brownP12ImageContentP6MatrixRiS3_ff(ptr noundef %212, ptr noundef %213, ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33, float noundef %214, float noundef %215)
          to label %217 unwind label %145

217:                                              ; preds = %211
  store i32 %216, ptr %22, align 4, !tbaa !16
  br label %223

218:                                              ; preds = %209
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
          to label %220 unwind label %145

220:                                              ; preds = %218
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %219, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %222 unwind label %145

222:                                              ; preds = %220
  store i32 0, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %458

223:                                              ; preds = %217
  br label %224

224:                                              ; preds = %223, %201
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1, i32 noundef 1)
          to label %226 unwind label %145

226:                                              ; preds = %224
  %227 = load double, ptr %225, align 8, !tbaa !14
  %228 = load i32, ptr %32, align 4, !tbaa !16
  %229 = sitofp i32 %228 to double
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1, i32 noundef 2)
          to label %231 unwind label %145

231:                                              ; preds = %226
  %232 = load double, ptr %230, align 8, !tbaa !14
  %233 = load i32, ptr %33, align 4, !tbaa !16
  %234 = sitofp i32 %233 to double
  %235 = fmul double %232, %234
  %236 = call double @llvm.fmuladd.f64(double %227, double %229, double %235)
  %237 = fptrunc double %236 to float
  store float %237, ptr %23, align 4, !tbaa !9
  %238 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 1)
          to label %239 unwind label %145

239:                                              ; preds = %231
  %240 = load double, ptr %238, align 8, !tbaa !14
  %241 = load i32, ptr %32, align 4, !tbaa !16
  %242 = sitofp i32 %241 to double
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 2)
          to label %244 unwind label %145

244:                                              ; preds = %239
  %245 = load double, ptr %243, align 8, !tbaa !14
  %246 = load i32, ptr %33, align 4, !tbaa !16
  %247 = sitofp i32 %246 to double
  %248 = fmul double %245, %247
  %249 = call double @llvm.fmuladd.f64(double %240, double %242, double %248)
  %250 = fptrunc double %249 to float
  store float %250, ptr %24, align 4, !tbaa !9
  %251 = load float, ptr %23, align 4, !tbaa !9
  %252 = load float, ptr %18, align 4, !tbaa !9
  %253 = fadd float %252, %251
  store float %253, ptr %18, align 4, !tbaa !9
  %254 = load float, ptr %24, align 4, !tbaa !9
  %255 = load float, ptr %19, align 4, !tbaa !9
  %256 = fadd float %255, %254
  store float %256, ptr %19, align 4, !tbaa !9
  %257 = load ptr, ptr %5, align 8, !tbaa !5
  %258 = load float, ptr %18, align 4, !tbaa !9
  %259 = load float, ptr %19, align 4, !tbaa !9
  invoke void @_ZN6Corner6setX_YEff(ptr noundef nonnull align 4 dereferenceable(88) %257, float noundef %258, float noundef %259)
          to label %260 unwind label %145

260:                                              ; preds = %244
  %261 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %261, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %262 unwind label %145

262:                                              ; preds = %260
  call void @_Z5normDR6Matrix(ptr noundef nonnull align 8 dereferenceable(24) %14)
  %263 = load float, ptr %36, align 4, !tbaa !9
  store float %263, ptr %37, align 4, !tbaa !9
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 1, i32 noundef 1)
          to label %265 unwind label %145

265:                                              ; preds = %262
  %266 = load double, ptr %264, align 8, !tbaa !14
  %267 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 2, i32 noundef 2)
          to label %268 unwind label %145

268:                                              ; preds = %265
  %269 = load double, ptr %267, align 8, !tbaa !14
  %270 = fdiv double %266, %269
  %271 = fsub double 1.000000e+00, %270
  %272 = fptrunc double %271 to float
  store float %272, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #10
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %43, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %273 unwind label %327

273:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #10
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %44, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %274 unwind label %331

274:                                              ; preds = %273
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %42, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %44)
          to label %275 unwind label %335

275:                                              ; preds = %274
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %41, ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %276 unwind label %339

276:                                              ; preds = %275
  %277 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %278 unwind label %343

278:                                              ; preds = %276
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #10
  invoke void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %279 unwind label %145

279:                                              ; preds = %278
  invoke void @_Z5eigen6MatrixRfS0_(ptr noundef %45, ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %280 unwind label %351

280:                                              ; preds = %279
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #10
  %281 = load i32, ptr %21, align 4, !tbaa !16
  %282 = icmp sgt i32 %281, 20
  br i1 %282, label %291, label %283

283:                                              ; preds = %280
  %284 = load float, ptr %35, align 4, !tbaa !9
  %285 = load float, ptr %34, align 4, !tbaa !9
  %286 = fdiv float %284, %285
  %287 = fcmp ogt float %286, 8.000000e+00
  br i1 %287, label %291, label %288

288:                                              ; preds = %283
  %289 = load i32, ptr %22, align 4, !tbaa !16
  %290 = icmp eq i32 %289, 0
  br i1 %290, label %291, label %355

291:                                              ; preds = %288, %283, %280
  %292 = load ptr, ptr %10, align 8, !tbaa !5
  %293 = icmp eq ptr %292, null
  br i1 %293, label %298, label %294

294:                                              ; preds = %291
  %295 = load ptr, ptr %292, align 8, !tbaa !17
  %296 = getelementptr inbounds ptr, ptr %295, i64 1
  %297 = load ptr, ptr %296, align 8
  call void %297(ptr noundef nonnull align 8 dereferenceable(24) %292) #10
  br label %298

298:                                              ; preds = %294, %291
  %299 = load ptr, ptr %9, align 8, !tbaa !5
  %300 = icmp eq ptr %299, null
  br i1 %300, label %302, label %301

301:                                              ; preds = %298
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %299) #10
  call void @_ZdlPvm(ptr noundef %299, i64 noundef 80) #12
  br label %302

302:                                              ; preds = %301, %298
  %303 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
          to label %304 unwind label %145

304:                                              ; preds = %302
  %305 = load i32, ptr %21, align 4, !tbaa !16
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %303, i32 noundef %305)
          to label %307 unwind label %145

307:                                              ; preds = %304
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef @.str.17)
          to label %309 unwind label %145

309:                                              ; preds = %307
  %310 = load i32, ptr %22, align 4, !tbaa !16
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %308, i32 noundef %310)
          to label %312 unwind label %145

312:                                              ; preds = %309
  %313 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef @.str.18)
          to label %314 unwind label %145

314:                                              ; preds = %312
  %315 = load ptr, ptr %5, align 8, !tbaa !5
  %316 = invoke noundef float @_ZNK6Corner14getCornerScaleEv(ptr noundef nonnull align 4 dereferenceable(88) %315)
          to label %317 unwind label %145

317:                                              ; preds = %314
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %313, float noundef %316)
          to label %319 unwind label %145

319:                                              ; preds = %317
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %318, ptr noundef @.str.19)
          to label %321 unwind label %145

321:                                              ; preds = %319
  %322 = load float, ptr %6, align 4, !tbaa !9
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %320, float noundef %322)
          to label %324 unwind label %145

324:                                              ; preds = %321
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %326 unwind label %145

326:                                              ; preds = %324
  store i32 0, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %458

327:                                              ; preds = %268
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %11, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %12, align 4
  br label %350

331:                                              ; preds = %273
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %11, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %12, align 4
  br label %349

335:                                              ; preds = %274
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %11, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %12, align 4
  br label %348

339:                                              ; preds = %275
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %11, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %12, align 4
  br label %347

343:                                              ; preds = %276
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %11, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %12, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #10
  br label %347

347:                                              ; preds = %343, %339
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #10
  br label %348

348:                                              ; preds = %347, %335
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #10
  br label %349

349:                                              ; preds = %348, %331
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #10
  br label %350

350:                                              ; preds = %349, %327
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #10
  br label %460

351:                                              ; preds = %279
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %11, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %12, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #10
  br label %460

355:                                              ; preds = %288
  %356 = load float, ptr %36, align 4, !tbaa !9
  %357 = load float, ptr %38, align 4, !tbaa !9
  %358 = fcmp olt float %356, %357
  br i1 %358, label %359, label %364

359:                                              ; preds = %355
  %360 = load float, ptr %37, align 4, !tbaa !9
  %361 = load float, ptr %38, align 4, !tbaa !9
  %362 = fcmp olt float %360, %361
  br i1 %362, label %363, label %364

363:                                              ; preds = %359
  store i32 0, ptr %20, align 4, !tbaa !16
  br label %364

364:                                              ; preds = %363, %359, %355
  %365 = load ptr, ptr %9, align 8, !tbaa !5
  %366 = icmp eq ptr %365, null
  br i1 %366, label %368, label %367

367:                                              ; preds = %364
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %365) #10
  call void @_ZdlPvm(ptr noundef %365, i64 noundef 80) #12
  br label %368

368:                                              ; preds = %367, %364
  br label %369

369:                                              ; preds = %368
  %370 = load i32, ptr %21, align 4, !tbaa !16
  %371 = add nsw i32 %370, 1
  store i32 %371, ptr %21, align 4, !tbaa !16
  br label %85, !llvm.loop !19

372:                                              ; preds = %91
  %373 = load ptr, ptr %10, align 8, !tbaa !5
  %374 = icmp eq ptr %373, null
  br i1 %374, label %379, label %375

375:                                              ; preds = %372
  %376 = load ptr, ptr %373, align 8, !tbaa !17
  %377 = getelementptr inbounds ptr, ptr %376, i64 1
  %378 = load ptr, ptr %377, align 8
  call void %378(ptr noundef nonnull align 8 dereferenceable(24) %373) #10
  br label %379

379:                                              ; preds = %375, %372
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %380 unwind label %145

380:                                              ; preds = %379
  %381 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 1, i32 noundef 1)
          to label %382 unwind label %145

382:                                              ; preds = %380
  %383 = load double, ptr %381, align 8, !tbaa !14
  %384 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 2, i32 noundef 2)
          to label %385 unwind label %145

385:                                              ; preds = %382
  %386 = load double, ptr %384, align 8, !tbaa !14
  %387 = fdiv double %383, %386
  %388 = fcmp ogt double %387, 8.000000e+00
  br i1 %388, label %389, label %408

389:                                              ; preds = %385
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
          to label %391 unwind label %145

391:                                              ; preds = %389
  %392 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 1, i32 noundef 1)
          to label %393 unwind label %145

393:                                              ; preds = %391
  %394 = load double, ptr %392, align 8, !tbaa !14
  %395 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef 2, i32 noundef 2)
          to label %396 unwind label %145

396:                                              ; preds = %393
  %397 = load double, ptr %395, align 8, !tbaa !14
  %398 = fdiv double %394, %397
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %390, double noundef %398)
          to label %400 unwind label %145

400:                                              ; preds = %396
  %401 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %399, ptr noundef @.str.5)
          to label %402 unwind label %145

402:                                              ; preds = %400
  %403 = load i32, ptr %21, align 4, !tbaa !16
  %404 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %401, i32 noundef %403)
          to label %405 unwind label %145

405:                                              ; preds = %402
  %406 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %404, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %407 unwind label %145

407:                                              ; preds = %405
  store i32 0, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %458

408:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 24, ptr %46) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #10
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %47, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %409 unwind label %439

409:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #10
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %48, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %410 unwind label %443

410:                                              ; preds = %409
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %46, ptr noundef nonnull align 8 dereferenceable(24) %47, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %411 unwind label %447

411:                                              ; preds = %410
  %412 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %46)
          to label %413 unwind label %451

413:                                              ; preds = %411
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #10
  %414 = load ptr, ptr %5, align 8, !tbaa !5
  %415 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1, i32 noundef 1)
          to label %416 unwind label %145

416:                                              ; preds = %413
  %417 = load double, ptr %415, align 8, !tbaa !14
  %418 = fptrunc double %417 to float
  %419 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 1, i32 noundef 2)
          to label %420 unwind label %145

420:                                              ; preds = %416
  %421 = load double, ptr %419, align 8, !tbaa !14
  %422 = fptrunc double %421 to float
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 1)
          to label %424 unwind label %145

424:                                              ; preds = %420
  %425 = load double, ptr %423, align 8, !tbaa !14
  %426 = fptrunc double %425 to float
  %427 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %13, i32 noundef 2, i32 noundef 2)
          to label %428 unwind label %145

428:                                              ; preds = %424
  %429 = load double, ptr %427, align 8, !tbaa !14
  %430 = fptrunc double %429 to float
  invoke void @_ZN6Corner5setMiEffff(ptr noundef nonnull align 4 dereferenceable(88) %414, float noundef %418, float noundef %422, float noundef %426, float noundef %430)
          to label %431 unwind label %145

431:                                              ; preds = %428
  %432 = load ptr, ptr %5, align 8, !tbaa !5
  %433 = load float, ptr %6, align 4, !tbaa !9
  invoke void @_ZN6Corner14setCornerScaleEf(ptr noundef nonnull align 4 dereferenceable(88) %432, float noundef %433)
          to label %434 unwind label %145

434:                                              ; preds = %431
  %435 = load ptr, ptr %4, align 8, !tbaa !5
  %436 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_Z12computeAngleP12ImageContentP16CornerDescriptor(ptr noundef %435, ptr noundef %436)
          to label %437 unwind label %145

437:                                              ; preds = %434
  %438 = load i32, ptr %21, align 4, !tbaa !16
  store i32 %438, ptr %3, align 4
  store i32 1, ptr %40, align 4
  br label %458

439:                                              ; preds = %408
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %11, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %12, align 4
  br label %457

443:                                              ; preds = %409
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %11, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %12, align 4
  br label %456

447:                                              ; preds = %410
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %11, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %12, align 4
  br label %455

451:                                              ; preds = %411
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %11, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %12, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #10
  br label %455

455:                                              ; preds = %451, %447
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #10
  br label %456

456:                                              ; preds = %455, %443
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #10
  br label %457

457:                                              ; preds = %456, %439
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %46) #10
  br label %460

458:                                              ; preds = %437, %407, %326, %222, %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #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 4, 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
  %459 = load i32, ptr %3, align 4
  ret i32 %459

460:                                              ; preds = %457, %351, %350, %202, %149, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #10
  br label %461

461:                                              ; preds = %460, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #10
  br label %462

462:                                              ; preds = %461, %137
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #10
  br label %463

463:                                              ; preds = %462, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #10
  br label %464

464:                                              ; preds = %463, %129
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #10
  br label %465

465:                                              ; preds = %464, %125
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #10
  br label %466

466:                                              ; preds = %465, %121
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #10
  br label %467

467:                                              ; preds = %466, %117
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #10
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #10
  br label %468

468:                                              ; preds = %467, %113
  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 4, 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
  br label %469

469:                                              ; preds = %468
  %470 = load ptr, ptr %11, align 8
  %471 = load i32, ptr %12, align 4
  %472 = insertvalue { ptr, i32 } poison, ptr %470, 0
  %473 = insertvalue { ptr, i32 } %472, i32 %471, 1
  resume { ptr, i32 } %473
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z16searchIntegScalePcP12ImageContentP16CornerDescriptor6Matrix(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner9setIntSigEf(ptr noundef nonnull align 4 dereferenceable(88), float noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5normDR6Matrix(ptr noundef nonnull align 8 dereferenceable(24)) #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5eigen6MatrixRfS0_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #7 align 2

declare void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, double noundef) unnamed_addr #2

declare void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z9harris_miP12ImageContentP6MatrixRiS3_fffi(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef, float noundef, float noundef, i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5brownP12ImageContentP6MatrixRiS3_ff(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef, float noundef) #7

declare void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner5setMiEffff(ptr noundef nonnull align 4 dereferenceable(88), float noundef, float noundef, float noundef, float noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTS6Matrix", !6, i64 8, !13, i64 16, !13, i64 20}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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

%"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.Matrix = type { ptr, ptr, i32, i32 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [10 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6Corner4getXEv(ptr noundef nonnull align 4 dereferenceable(88)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6Corner4getYEv(ptr noundef nonnull align 4 dereferenceable(88)) local_unnamed_addr #1 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK6Corner14getCornerScaleEv(ptr noundef nonnull align 4 dereferenceable(88)) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) unnamed_addr #1 align 2

declare void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.rint.f64(double) #3

; Function Attrs: nounwind
declare void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4

declare void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner14setCornerScaleEf(ptr noundef nonnull align 4 dereferenceable(88), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: nounwind
declare void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12computeAngleP12ImageContentP16CornerDescriptor(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80), i32 noundef, i32 noundef) unnamed_addr #7 align 2

declare noundef zeroext i1 @_ZN12ImageContent11interpolateEPS_ffffff(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner6setX_YEff(ptr noundef nonnull align 4 dereferenceable(88), float noundef, float noundef) local_unnamed_addr #1 align 2

; 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 #8

; 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 #7 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)) #8

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 @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK16CornerDescriptor7getTypeEv(ptr noundef nonnull align 8 dereferenceable(116)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z16findAffineRegionP12ImageContentP16CornerDescriptor(ptr noundef %0, ptr noundef nonnull %1) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.Matrix, align 8
  %4 = alloca %class.Matrix, align 8
  %5 = alloca %class.Matrix, align 8
  %6 = alloca %class.Matrix, align 8
  %7 = alloca %class.Matrix, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca %class.Matrix, align 8
  %13 = alloca %class.Matrix, align 8
  %14 = alloca %class.Matrix, align 8
  %15 = alloca %class.Matrix, align 8
  %16 = alloca %class.Matrix, align 8
  %17 = alloca %class.Matrix, align 8
  %18 = alloca %class.Matrix, align 8
  %19 = alloca %class.Matrix, align 8
  %20 = alloca %class.Matrix, align 8
  %21 = tail call noundef float @_ZNK6Corner14getCornerScaleEv(ptr noundef nonnull align 4 dereferenceable(88) %1)
  %22 = fpext float %21 to double
  %23 = fmul double %22, 1.400000e+00
  %24 = fptrunc double %23 to float
  tail call void @_ZN6Corner9setIntSigEf(ptr noundef nonnull align 4 dereferenceable(88) %1, float noundef %24)
  %25 = tail call noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #11
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %26 unwind label %55

26:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #12
  call void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #12
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %27 unwind label %57

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #12
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %28 unwind label %59

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #12
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
          to label %29 unwind label %61

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #12
  invoke void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 2, i32 noundef 2, double noundef 1.000000e+00)
          to label %30 unwind label %63

30:                                               ; preds = %29
  %31 = call noundef float @_ZNK6Corner4getXEv(ptr noundef nonnull align 4 dereferenceable(88) %1)
  %32 = call noundef float @_ZNK6Corner4getYEv(ptr noundef nonnull align 4 dereferenceable(88) %1)
  %33 = getelementptr inbounds i8, ptr %3, i64 8
  %34 = load ptr, ptr %33, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  %36 = load ptr, ptr %35, align 8, !tbaa !11
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  store double 1.000000e+00, ptr %37, align 8, !tbaa !12
  %38 = getelementptr inbounds i8, ptr %34, i64 16
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = getelementptr inbounds i8, ptr %39, i64 16
  store double 1.000000e+00, ptr %40, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #12
  store i32 0, ptr %8, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #12
  store i32 0, ptr %9, align 4, !tbaa !14
  %41 = call noundef float @_ZNK6Corner4getXEv(ptr noundef nonnull align 4 dereferenceable(88) %1)
  %42 = call noundef float @_ZNK6Corner4getYEv(ptr noundef nonnull align 4 dereferenceable(88) %1)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #12
  br label %43

43:                                               ; preds = %30, %184
  %.066156 = phi float [ 0x3FB99999A0000000, %30 ], [ %133, %184 ]
  %.082155 = phi float [ %41, %30 ], [ %124, %184 ]
  %.083154 = phi float [ %42, %30 ], [ %125, %184 ]
  %.085153 = phi i32 [ 0, %30 ], [ %187, %184 ]
  invoke void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %44 unwind label %.loopexit

44:                                               ; preds = %43
  %45 = invoke noundef float @_Z16searchIntegScalePcP12ImageContentP16CornerDescriptor6Matrix(ptr noundef nonnull @.str.11, ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %12)
          to label %46 unwind label %65

46:                                               ; preds = %44
  %47 = fpext float %45 to double
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #12
  %48 = fmul double %47, 1.400000e+00
  %49 = fptrunc double %48 to float
  %50 = fcmp oeq float %49, 0.000000e+00
  br i1 %50, label %.invoke237, label %67

.invoke237:                                       ; preds = %46, %96
  %51 = phi ptr [ @.str.15, %96 ], [ @.str.14, %46 ]
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull %51)
          to label %.invoke unwind label %.loopexit.split-lp

.invoke:                                          ; preds = %.invoke237, %210, %166
  %53 = phi ptr [ %167, %166 ], [ %211, %210 ], [ %52, %.invoke237 ]
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %241 unwind label %.loopexit.split-lp

55:                                               ; preds = %2
  %56 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %25, i64 noundef 24) #13
  br label %247

57:                                               ; preds = %26
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %246

59:                                               ; preds = %27
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %245

61:                                               ; preds = %28
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %244

63:                                               ; preds = %29
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %243

.loopexit:                                        ; preds = %43, %67, %75, %92, %99, %101, %139
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %242

.loopexit.split-lp:                               ; preds = %.invoke237, %.invoke, %148, %153, %155, %157, %159, %161, %164, %166, %188, %199, %201, %208, %210, %217
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %242

65:                                               ; preds = %44
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #12
  br label %242

67:                                               ; preds = %46
  %68 = invoke noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #11
          to label %69 unwind label %.loopexit

69:                                               ; preds = %67
  %70 = fpext float %49 to double
  %71 = fmul double %70, 4.500000e+00
  %72 = call double @llvm.rint.f64(double %71)
  %73 = call double @llvm.fmuladd.f64(double %72, double 2.000000e+00, double 1.000000e+00)
  %74 = fptosi double %73 to i32
  %spec.store.select = call i32 @llvm.smax.i32(i32 %74, i32 25)
  invoke void @_ZN12ImageContentC2Eii(ptr noundef nonnull align 8 dereferenceable(80) %68, i32 noundef %spec.store.select, i32 noundef %spec.store.select)
          to label %75 unwind label %94

75:                                               ; preds = %69
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1, i32 noundef 1)
  %77 = load double, ptr %76, align 8, !tbaa !12
  %78 = fptrunc double %77 to float
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1, i32 noundef 2)
  %80 = load double, ptr %79, align 8, !tbaa !12
  %81 = fptrunc double %80 to float
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 1)
  %83 = load double, ptr %82, align 8, !tbaa !12
  %84 = fptrunc double %83 to float
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 2)
  %86 = load double, ptr %85, align 8, !tbaa !12
  %87 = fptrunc double %86 to float
  %88 = invoke noundef zeroext i1 @_ZN12ImageContent11interpolateEPS_ffffff(ptr noundef nonnull align 8 dereferenceable(80) %68, ptr noundef %0, float noundef %.082155, float noundef %.083154, float noundef %78, float noundef %81, float noundef %84, float noundef %87)
          to label %89 unwind label %.loopexit

89:                                               ; preds = %75
  %90 = call noundef i32 @_ZNK16CornerDescriptor7getTypeEv(ptr noundef nonnull align 8 dereferenceable(116) %1)
  %91 = icmp eq i32 %90, 1
  br i1 %91, label %92, label %96

92:                                               ; preds = %89
  %93 = invoke noundef i32 @_Z9harris_miP12ImageContentP6MatrixRiS3_fffi(ptr noundef nonnull %68, ptr noundef nonnull %25, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, float noundef %45, float noundef %49, float noundef 0x3FA99999A0000000, i32 noundef 0)
          to label %101 unwind label %.loopexit

94:                                               ; preds = %69
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %68, i64 noundef 80) #13
  br label %242

96:                                               ; preds = %89
  %97 = call noundef i32 @_ZNK16CornerDescriptor7getTypeEv(ptr noundef nonnull align 8 dereferenceable(116) %1)
  %98 = icmp eq i32 %97, 2
  br i1 %98, label %99, label %.invoke237

99:                                               ; preds = %96
  %100 = invoke noundef i32 @_Z5brownP12ImageContentP6MatrixRiS3_ff(ptr noundef nonnull %68, ptr noundef nonnull %25, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, float noundef %45, float noundef %49)
          to label %101 unwind label %.loopexit

101:                                              ; preds = %99, %92
  %.084 = phi i32 [ %93, %92 ], [ %100, %99 ]
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1, i32 noundef 1)
  %103 = load double, ptr %102, align 8, !tbaa !12
  %104 = load i32, ptr %8, align 4, !tbaa !14
  %105 = sitofp i32 %104 to double
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1, i32 noundef 2)
  %107 = load double, ptr %106, align 8, !tbaa !12
  %108 = load i32, ptr %9, align 4, !tbaa !14
  %109 = sitofp i32 %108 to double
  %110 = fmul double %107, %109
  %111 = call double @llvm.fmuladd.f64(double %103, double %105, double %110)
  %112 = fptrunc double %111 to float
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 1)
  %114 = load double, ptr %113, align 8, !tbaa !12
  %115 = load i32, ptr %8, align 4, !tbaa !14
  %116 = sitofp i32 %115 to double
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 2)
  %118 = load double, ptr %117, align 8, !tbaa !12
  %119 = load i32, ptr %9, align 4, !tbaa !14
  %120 = sitofp i32 %119 to double
  %121 = fmul double %118, %120
  %122 = call double @llvm.fmuladd.f64(double %114, double %116, double %121)
  %123 = fptrunc double %122 to float
  %124 = fadd float %.082155, %112
  %125 = fadd float %.083154, %123
  call void @_ZN6Corner6setX_YEff(ptr noundef nonnull align 4 dereferenceable(88) %1, float noundef %124, float noundef %125)
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %126 unwind label %.loopexit

126:                                              ; preds = %101
  call void @_Z5normDR6Matrix(ptr noundef nonnull align 8 dereferenceable(24) %4)
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 1)
  %128 = load double, ptr %127, align 8, !tbaa !12
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 2)
  %130 = load double, ptr %129, align 8, !tbaa !12
  %131 = fdiv double %128, %130
  %132 = fsub double 1.000000e+00, %131
  %133 = fptrunc double %132 to float
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #12
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %134 unwind label %168

134:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #12
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %135 unwind label %170

135:                                              ; preds = %134
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %136 unwind label %172

136:                                              ; preds = %135
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %137 unwind label %174

137:                                              ; preds = %136
  %138 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %139 unwind label %176

139:                                              ; preds = %137
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #12
  invoke void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %140 unwind label %.loopexit

140:                                              ; preds = %139
  invoke void @_Z5eigen6MatrixRfS0_(ptr noundef nonnull %17, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %141 unwind label %182

141:                                              ; preds = %140
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #12
  %exitcond = icmp eq i32 %.085153, 21
  br i1 %exitcond, label %148, label %142

142:                                              ; preds = %141
  %143 = load float, ptr %11, align 4, !tbaa !15
  %144 = load float, ptr %10, align 4, !tbaa !15
  %145 = fdiv float %143, %144
  %146 = fcmp ogt float %145, 8.000000e+00
  %147 = icmp eq i32 %.084, 0
  %or.cond = or i1 %147, %146
  br i1 %or.cond, label %148, label %184

148:                                              ; preds = %141, %142
  %149 = load ptr, ptr %25, align 8, !tbaa !17
  %150 = getelementptr inbounds i8, ptr %149, i64 8
  %151 = load ptr, ptr %150, align 8
  call void %151(ptr noundef nonnull align 8 dereferenceable(24) %25) #12
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %68) #12
  call void @_ZdlPvm(ptr noundef nonnull %68, i64 noundef 80) #13
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
          to label %153 unwind label %.loopexit.split-lp

153:                                              ; preds = %148
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %152, i32 noundef %.085153)
          to label %155 unwind label %.loopexit.split-lp

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull @.str.17)
          to label %157 unwind label %.loopexit.split-lp

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %156, i32 noundef %.084)
          to label %159 unwind label %.loopexit.split-lp

159:                                              ; preds = %157
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull @.str.18)
          to label %161 unwind label %.loopexit.split-lp

161:                                              ; preds = %159
  %162 = call noundef float @_ZNK6Corner14getCornerScaleEv(ptr noundef nonnull align 4 dereferenceable(88) %1)
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %160, float noundef %162)
          to label %164 unwind label %.loopexit.split-lp

164:                                              ; preds = %161
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef nonnull @.str.19)
          to label %166 unwind label %.loopexit.split-lp

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %165, float noundef %45)
          to label %.invoke unwind label %.loopexit.split-lp

168:                                              ; preds = %126
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %181

170:                                              ; preds = %134
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %180

172:                                              ; preds = %135
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %179

174:                                              ; preds = %136
  %175 = landingpad { ptr, i32 }
          cleanup
  br label %178

176:                                              ; preds = %137
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #12
  br label %178

178:                                              ; preds = %176, %174
  %.pn92 = phi { ptr, i32 } [ %177, %176 ], [ %175, %174 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #12
  br label %179

179:                                              ; preds = %178, %172
  %.pn92.pn = phi { ptr, i32 } [ %.pn92, %178 ], [ %173, %172 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #12
  br label %180

180:                                              ; preds = %179, %170
  %.pn92.pn.pn = phi { ptr, i32 } [ %.pn92.pn, %179 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #12
  br label %181

181:                                              ; preds = %180, %168
  %.pn92.pn.pn.pn = phi { ptr, i32 } [ %.pn92.pn.pn, %180 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #12
  br label %242

182:                                              ; preds = %140
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #12
  br label %242

184:                                              ; preds = %142
  %185 = fcmp olt float %133, 0x3FA99999A0000000
  %186 = fcmp olt float %.066156, 0x3FA99999A0000000
  %or.cond104 = and i1 %186, %185
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %68) #12
  call void @_ZdlPvm(ptr noundef nonnull %68, i64 noundef 80) #13
  %187 = add nuw nsw i32 %.085153, 1
  br i1 %or.cond104, label %188, label %43, !llvm.loop !19

188:                                              ; preds = %184
  %189 = load ptr, ptr %25, align 8, !tbaa !17
  %190 = getelementptr inbounds i8, ptr %189, i64 8
  %191 = load ptr, ptr %190, align 8
  call void %191(ptr noundef nonnull align 8 dereferenceable(24) %25) #12
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %192 unwind label %.loopexit.split-lp

192:                                              ; preds = %188
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 1)
  %194 = load double, ptr %193, align 8, !tbaa !12
  %195 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 2)
  %196 = load double, ptr %195, align 8, !tbaa !12
  %197 = fdiv double %194, %196
  %198 = fcmp ogt double %197, 8.000000e+00
  br i1 %198, label %199, label %212

199:                                              ; preds = %192
  %200 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
          to label %201 unwind label %.loopexit.split-lp

201:                                              ; preds = %199
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 1, i32 noundef 1)
  %203 = load double, ptr %202, align 8, !tbaa !12
  %204 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %4, i32 noundef 2, i32 noundef 2)
  %205 = load double, ptr %204, align 8, !tbaa !12
  %206 = fdiv double %203, %205
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %200, double noundef %206)
          to label %208 unwind label %.loopexit.split-lp

208:                                              ; preds = %201
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %207, ptr noundef nonnull @.str.5)
          to label %210 unwind label %.loopexit.split-lp

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %209, i32 noundef %187)
          to label %.invoke unwind label %.loopexit.split-lp

212:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #12
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #12
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %213 unwind label %230

213:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #12
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %214 unwind label %232

214:                                              ; preds = %213
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %215 unwind label %234

215:                                              ; preds = %214
  %216 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %217 unwind label %236

217:                                              ; preds = %215
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #12
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1, i32 noundef 1)
  %219 = load double, ptr %218, align 8, !tbaa !12
  %220 = fptrunc double %219 to float
  %221 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 1, i32 noundef 2)
  %222 = load double, ptr %221, align 8, !tbaa !12
  %223 = fptrunc double %222 to float
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 1)
  %225 = load double, ptr %224, align 8, !tbaa !12
  %226 = fptrunc double %225 to float
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %3, i32 noundef 2, i32 noundef 2)
  %228 = load double, ptr %227, align 8, !tbaa !12
  %229 = fptrunc double %228 to float
  call void @_ZN6Corner5setMiEffff(ptr noundef nonnull align 4 dereferenceable(88) %1, float noundef %220, float noundef %223, float noundef %226, float noundef %229)
  call void @_ZN6Corner14setCornerScaleEf(ptr noundef nonnull align 4 dereferenceable(88) %1, float noundef %45)
  invoke void @_Z12computeAngleP12ImageContentP16CornerDescriptor(ptr noundef %0, ptr noundef nonnull %1)
          to label %241 unwind label %.loopexit.split-lp

230:                                              ; preds = %212
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %240

232:                                              ; preds = %213
  %233 = landingpad { ptr, i32 }
          cleanup
  br label %239

234:                                              ; preds = %214
  %235 = landingpad { ptr, i32 }
          cleanup
  br label %238

236:                                              ; preds = %215
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #12
  br label %238

238:                                              ; preds = %236, %234
  %.pn = phi { ptr, i32 } [ %237, %236 ], [ %235, %234 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #12
  br label %239

239:                                              ; preds = %238, %232
  %.pn.pn = phi { ptr, i32 } [ %.pn, %238 ], [ %233, %232 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #12
  br label %240

240:                                              ; preds = %239, %230
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %239 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #12
  br label %242

241:                                              ; preds = %.invoke, %217
  %.0 = phi i32 [ %187, %217 ], [ 0, %.invoke ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #12
  ret i32 %.0

242:                                              ; preds = %.loopexit, %.loopexit.split-lp, %240, %182, %181, %94, %65
  %.pn97 = phi { ptr, i32 } [ %183, %182 ], [ %.pn92.pn.pn.pn, %181 ], [ %95, %94 ], [ %66, %65 ], [ %.pn.pn.pn, %240 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #12
  br label %243

243:                                              ; preds = %242, %63
  %.pn97.pn = phi { ptr, i32 } [ %.pn97, %242 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #12
  br label %244

244:                                              ; preds = %243, %61
  %.pn97.pn.pn = phi { ptr, i32 } [ %.pn97.pn, %243 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #12
  br label %245

245:                                              ; preds = %244, %59
  %.pn97.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn, %244 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #12
  br label %246

246:                                              ; preds = %245, %57
  %.pn97.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn, %245 ], [ %58, %57 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #12
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #12
  br label %247

247:                                              ; preds = %246, %55
  %.pn97.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn97.pn.pn.pn.pn, %246 ], [ %56, %55 ]
  resume { ptr, i32 } %.pn97.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z16searchIntegScalePcP12ImageContentP16CornerDescriptor6Matrix(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner9setIntSigEf(ptr noundef nonnull align 4 dereferenceable(88), float noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5normDR6Matrix(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5eigen6MatrixRfS0_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

declare void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef, double noundef) unnamed_addr #2

declare void @_ZN6MatrixC1ERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z9harris_miP12ImageContentP6MatrixRiS3_fffi(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef, float noundef, float noundef, i32 noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z5brownP12ImageContentP6MatrixRiS3_ff(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef, float noundef) local_unnamed_addr #7

declare void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner5setMiEffff(ptr noundef nonnull align 4 dereferenceable(88), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { 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 #8 = { 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 #9 = { 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 #10 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { nounwind }
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, !7, i64 8}
!6 = !{!"_ZTS6Matrix", !7, i64 8, !10, i64 16, !10, i64 20}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"vtable pointer", !9, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}


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