; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/descriptor/CornerDescrip_76040bd0 (insideEffff)

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

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

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

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

declare void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

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 #2 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)) #1

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)) #1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef, float noundef, float noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN16CornerDescriptor15is_fully_insideEffff(ptr noundef nonnull align 8 dereferenceable(116) %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) #5 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca float, 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 ptr, align 8
  %15 = alloca i32, align 4
  %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 = alloca %class.Matrix, align 8
  %22 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store float %1, ptr %8, align 4, !tbaa !9
  store float %2, ptr %9, align 4, !tbaa !9
  store float %3, ptr %10, align 4, !tbaa !9
  store float %4, ptr %11, align 4, !tbaa !9
  %23 = load ptr, ptr %7, align 8
  %24 = load float, ptr %8, align 4, !tbaa !9
  %25 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 1
  %26 = load float, ptr %25, align 4, !tbaa !11
  %27 = fcmp ole float %24, %26
  br i1 %27, label %28, label %221

28:                                               ; preds = %5
  %29 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 1
  %30 = load float, ptr %29, align 4, !tbaa !11
  %31 = load float, ptr %9, align 4, !tbaa !9
  %32 = fcmp olt float %30, %31
  br i1 %32, label %33, label %221

33:                                               ; preds = %28
  %34 = load float, ptr %10, align 4, !tbaa !9
  %35 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 2
  %36 = load float, ptr %35, align 8, !tbaa !14
  %37 = fcmp ole float %34, %36
  br i1 %37, label %38, label %221

38:                                               ; preds = %33
  %39 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 2
  %40 = load float, ptr %39, align 8, !tbaa !14
  %41 = load float, ptr %11, align 4, !tbaa !9
  %42 = fcmp olt float %40, %41
  br i1 %42, label %43, label %221

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  call void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %44 unwind label %171

44:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %45 unwind label %175

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %46 unwind label %179

46:                                               ; preds = %45
  %47 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 9
  %48 = load float, ptr %47, align 4, !tbaa !15
  %49 = fpext float %48 to double
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 1)
          to label %51 unwind label %183

51:                                               ; preds = %46
  store double %49, ptr %50, align 8, !tbaa !16
  %52 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 10
  %53 = load float, ptr %52, align 8, !tbaa !18
  %54 = fpext float %53 to double
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 2)
          to label %56 unwind label %183

56:                                               ; preds = %51
  store double %54, ptr %55, align 8, !tbaa !16
  %57 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 11
  %58 = load float, ptr %57, align 4, !tbaa !19
  %59 = fpext float %58 to double
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 1)
          to label %61 unwind label %183

61:                                               ; preds = %56
  store double %59, ptr %60, align 8, !tbaa !16
  %62 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 12
  %63 = load float, ptr %62, align 8, !tbaa !20
  %64 = fpext float %63 to double
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 2)
          to label %66 unwind label %183

66:                                               ; preds = %61
  store double %64, ptr %65, align 8, !tbaa !16
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %67 unwind label %183

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #6
  %68 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 14
  %69 = load float, ptr %68, align 8, !tbaa !21
  %70 = fpext float %69 to double
  invoke void @_ZNK6MatrixmlEd(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %18, ptr noundef nonnull align 8 dereferenceable(24) %13, double noundef %70)
          to label %71 unwind label %187

71:                                               ; preds = %67
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %73 unwind label %191

73:                                               ; preds = %71
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  %74 = 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 %75 unwind label %183

75:                                               ; preds = %73
  %76 = load double, ptr %74, align 8, !tbaa !16
  %77 = 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 %78 unwind label %183

78:                                               ; preds = %75
  %79 = load double, ptr %77, align 8, !tbaa !16
  %80 = fmul double %76, %79
  %81 = fdiv double 1.000000e+00, %80
  %82 = 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 %83 unwind label %183

83:                                               ; preds = %78
  store double %81, ptr %82, align 8, !tbaa !16
  %84 = 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 %85 unwind label %183

85:                                               ; preds = %83
  %86 = load double, ptr %84, align 8, !tbaa !16
  %87 = 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 %88 unwind label %183

88:                                               ; preds = %85
  %89 = load double, ptr %87, align 8, !tbaa !16
  %90 = fmul double %86, %89
  %91 = fdiv double 1.000000e+00, %90
  %92 = 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 %93 unwind label %183

93:                                               ; preds = %88
  store double %91, ptr %92, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %20, ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %94 unwind label %196

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #6
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %21, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %95 unwind label %200

95:                                               ; preds = %94
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind writable sret(%class.Matrix) align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %96 unwind label %204

96:                                               ; preds = %95
  %97 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %98 unwind label %208

98:                                               ; preds = %96
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 1)
          to label %100 unwind label %183

100:                                              ; preds = %98
  %101 = load double, ptr %99, align 8, !tbaa !16
  %102 = fptrunc double %101 to float
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 2)
          to label %104 unwind label %183

104:                                              ; preds = %100
  %105 = load double, ptr %103, align 8, !tbaa !16
  %106 = fptrunc double %105 to float
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 2)
          to label %108 unwind label %183

108:                                              ; preds = %104
  %109 = load double, ptr %107, align 8, !tbaa !16
  %110 = fptrunc double %109 to float
  %111 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 2
  %112 = load float, ptr %111, align 8, !tbaa !14
  %113 = load float, ptr %10, align 4, !tbaa !9
  %114 = fsub float %112, %113
  %115 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %102, float noundef %106, float noundef %110, float noundef %114)
  br i1 %115, label %170, label %116

116:                                              ; preds = %108
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 1)
          to label %118 unwind label %183

118:                                              ; preds = %116
  %119 = load double, ptr %117, align 8, !tbaa !16
  %120 = fptrunc double %119 to float
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 2)
          to label %122 unwind label %183

122:                                              ; preds = %118
  %123 = load double, ptr %121, align 8, !tbaa !16
  %124 = fptrunc double %123 to float
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 2)
          to label %126 unwind label %183

126:                                              ; preds = %122
  %127 = load double, ptr %125, align 8, !tbaa !16
  %128 = fptrunc double %127 to float
  %129 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 2
  %130 = load float, ptr %129, align 8, !tbaa !14
  %131 = load float, ptr %11, align 4, !tbaa !9
  %132 = fsub float %130, %131
  %133 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %120, float noundef %124, float noundef %128, float noundef %132)
  br i1 %133, label %170, label %134

134:                                              ; preds = %126
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 2)
          to label %136 unwind label %183

136:                                              ; preds = %134
  %137 = load double, ptr %135, align 8, !tbaa !16
  %138 = fptrunc double %137 to float
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 2)
          to label %140 unwind label %183

140:                                              ; preds = %136
  %141 = load double, ptr %139, align 8, !tbaa !16
  %142 = fptrunc double %141 to float
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 1)
          to label %144 unwind label %183

144:                                              ; preds = %140
  %145 = load double, ptr %143, align 8, !tbaa !16
  %146 = fptrunc double %145 to float
  %147 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 1
  %148 = load float, ptr %147, align 4, !tbaa !11
  %149 = load float, ptr %8, align 4, !tbaa !9
  %150 = fsub float %148, %149
  %151 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %138, float noundef %142, float noundef %146, float noundef %150)
  br i1 %151, label %170, label %152

152:                                              ; preds = %144
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 2, i32 noundef 2)
          to label %154 unwind label %183

154:                                              ; preds = %152
  %155 = load double, ptr %153, align 8, !tbaa !16
  %156 = fptrunc double %155 to float
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 2)
          to label %158 unwind label %183

158:                                              ; preds = %154
  %159 = load double, ptr %157, align 8, !tbaa !16
  %160 = fptrunc double %159 to float
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef 1, i32 noundef 1)
          to label %162 unwind label %183

162:                                              ; preds = %158
  %163 = load double, ptr %161, align 8, !tbaa !16
  %164 = fptrunc double %163 to float
  %165 = getelementptr inbounds %class.Corner, ptr %23, i32 0, i32 1
  %166 = load float, ptr %165, align 4, !tbaa !11
  %167 = load float, ptr %9, align 4, !tbaa !9
  %168 = fsub float %166, %167
  %169 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %156, float noundef %160, float noundef %164, float noundef %168)
  br i1 %169, label %170, label %215

170:                                              ; preds = %162, %144, %126, %108
  store i1 false, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %216

171:                                              ; preds = %43
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %14, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %15, align 4
  br label %220

175:                                              ; preds = %44
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %14, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %15, align 4
  br label %219

179:                                              ; preds = %45
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %14, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %15, align 4
  br label %218

183:                                              ; preds = %158, %154, %152, %140, %136, %134, %122, %118, %116, %104, %100, %98, %88, %85, %83, %78, %75, %73, %66, %61, %56, %51, %46
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %14, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %15, align 4
  br label %217

187:                                              ; preds = %67
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %14, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %15, align 4
  br label %195

191:                                              ; preds = %71
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %14, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %15, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #6
  br label %195

195:                                              ; preds = %191, %187
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #6
  br label %217

196:                                              ; preds = %93
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %14, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %15, align 4
  br label %214

200:                                              ; preds = %94
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %14, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %15, align 4
  br label %213

204:                                              ; preds = %95
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %14, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %15, align 4
  br label %212

208:                                              ; preds = %96
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %14, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %15, align 4
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  br label %212

212:                                              ; preds = %208, %204
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #6
  br label %213

213:                                              ; preds = %212, %200
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  br label %214

214:                                              ; preds = %213, %196
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  br label %217

215:                                              ; preds = %162
  store i1 true, ptr %6, align 1
  store i32 1, ptr %22, align 4
  br label %216

216:                                              ; preds = %215, %170
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  br label %222

217:                                              ; preds = %214, %195, %183
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  br label %218

218:                                              ; preds = %217, %179
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #6
  br label %219

219:                                              ; preds = %218, %175
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %220

220:                                              ; preds = %219, %171
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  br label %224

221:                                              ; preds = %38, %33, %28, %5
  store i1 false, ptr %6, align 1
  br label %222

222:                                              ; preds = %221, %216
  %223 = load i1, ptr %6, align 1
  ret i1 %223

224:                                              ; preds = %220
  %225 = load ptr, ptr %14, align 8
  %226 = load i32, ptr %15, align 4
  %227 = insertvalue { ptr, i32 } poison, ptr %225, 0
  %228 = insertvalue { ptr, i32 } %227, i32 %226, 1
  resume { ptr, i32 } %228
}

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

!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, !10, i64 4}
!12 = !{!"_ZTS6Corner", !13, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !13, i64 68, !13, i64 72, !10, i64 76, !13, i64 80, !13, i64 84}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 36}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!12, !10, i64 40}
!19 = !{!12, !10, i64 44}
!20 = !{!12, !10, i64 48}
!21 = !{!12, !10, i64 56}


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

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

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

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

declare void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1

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 #2 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 #1

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 #1

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

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 #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN16CornerDescriptor15is_fully_insideEffff(ptr nocapture noundef nonnull readonly align 8 dereferenceable(116) %0, float noundef %1, float noundef %2, float noundef %3, float noundef %4) local_unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %class.Matrix, align 8
  %7 = alloca %class.Matrix, align 8
  %8 = alloca %class.Matrix, align 8
  %9 = alloca %class.Matrix, align 8
  %10 = alloca %class.Matrix, align 8
  %11 = alloca %class.Matrix, align 8
  %12 = alloca %class.Matrix, align 8
  %13 = alloca %class.Matrix, align 8
  %14 = getelementptr inbounds i8, ptr %0, i64 4
  %15 = load float, ptr %14, align 4, !tbaa !5
  %16 = fcmp oge float %15, %1
  %17 = fcmp olt float %15, %2
  %or.cond = and i1 %16, %17
  br i1 %or.cond, label %18, label %149

18:                                               ; preds = %5
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = load float, ptr %19, align 8, !tbaa !11
  %21 = fcmp oge float %20, %3
  %22 = fcmp olt float %20, %4
  %or.cond36 = and i1 %21, %22
  br i1 %or.cond36, label %23, label %149

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN6MatrixC1Eiid(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %24 unwind label %120

24:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %25 unwind label %122

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #6
  invoke void @_ZN6MatrixC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %26 unwind label %124

26:                                               ; preds = %25
  %27 = getelementptr inbounds i8, ptr %0, i64 36
  %28 = load float, ptr %27, align 4, !tbaa !12
  %29 = fpext float %28 to double
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 1)
  store double %29, ptr %30, align 8, !tbaa !13
  %31 = getelementptr inbounds i8, ptr %0, i64 40
  %32 = load float, ptr %31, align 8, !tbaa !15
  %33 = fpext float %32 to double
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 2)
  store double %33, ptr %34, align 8, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %0, i64 44
  %36 = load float, ptr %35, align 4, !tbaa !16
  %37 = fpext float %36 to double
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 1)
  store double %37, ptr %38, align 8, !tbaa !13
  %39 = getelementptr inbounds i8, ptr %0, i64 48
  %40 = load float, ptr %39, align 8, !tbaa !17
  %41 = fpext float %40 to double
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2)
  store double %41, ptr %42, align 8, !tbaa !13
  invoke void @_ZNK6Matrix3svdERS_S0_S0_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %43 unwind label %126

43:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #6
  %44 = getelementptr inbounds i8, ptr %0, i64 56
  %45 = load float, ptr %44, align 8, !tbaa !18
  %46 = fpext float %45 to double
  invoke void @_ZNK6MatrixmlEd(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %7, double noundef %46)
          to label %47 unwind label %128

47:                                               ; preds = %43
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %49 unwind label %130

49:                                               ; preds = %47
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 1, i32 noundef 1)
  %51 = load double, ptr %50, align 8, !tbaa !13
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 1, i32 noundef 1)
  %53 = load double, ptr %52, align 8, !tbaa !13
  %54 = fmul double %51, %53
  %55 = fdiv double 1.000000e+00, %54
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 1, i32 noundef 1)
  store double %55, ptr %56, align 8, !tbaa !13
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 2, i32 noundef 2)
  %58 = load double, ptr %57, align 8, !tbaa !13
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 2, i32 noundef 2)
  %60 = load double, ptr %59, align 8, !tbaa !13
  %61 = fmul double %58, %60
  %62 = fdiv double 1.000000e+00, %61
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef 2, i32 noundef 2)
  store double %62, ptr %63, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #6
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %64 unwind label %133

64:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  invoke void @_ZNK6Matrix9transposeEv(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %65 unwind label %135

65:                                               ; preds = %64
  invoke void @_ZNK6MatrixmlERKS_(ptr dead_on_unwind nonnull writable sret(%class.Matrix) align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %66 unwind label %137

66:                                               ; preds = %65
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN6MatrixaSERKS_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %11)
          to label %68 unwind label %139

68:                                               ; preds = %66
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 1)
  %70 = load double, ptr %69, align 8, !tbaa !13
  %71 = fptrunc double %70 to float
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 2)
  %73 = load double, ptr %72, align 8, !tbaa !13
  %74 = fptrunc double %73 to float
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2)
  %76 = load double, ptr %75, align 8, !tbaa !13
  %77 = fptrunc double %76 to float
  %78 = load float, ptr %19, align 8, !tbaa !11
  %79 = fsub float %78, %3
  %80 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %71, float noundef %74, float noundef %77, float noundef %79)
  br i1 %80, label %144, label %81

81:                                               ; preds = %68
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 1)
  %83 = load double, ptr %82, align 8, !tbaa !13
  %84 = fptrunc double %83 to float
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 2)
  %86 = load double, ptr %85, align 8, !tbaa !13
  %87 = fptrunc double %86 to float
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2)
  %89 = load double, ptr %88, align 8, !tbaa !13
  %90 = fptrunc double %89 to float
  %91 = load float, ptr %19, align 8, !tbaa !11
  %92 = fsub float %91, %4
  %93 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %84, float noundef %87, float noundef %90, float noundef %92)
  br i1 %93, label %144, label %94

94:                                               ; preds = %81
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2)
  %96 = load double, ptr %95, align 8, !tbaa !13
  %97 = fptrunc double %96 to float
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 2)
  %99 = load double, ptr %98, align 8, !tbaa !13
  %100 = fptrunc double %99 to float
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 1)
  %102 = load double, ptr %101, align 8, !tbaa !13
  %103 = fptrunc double %102 to float
  %104 = load float, ptr %14, align 4, !tbaa !5
  %105 = fsub float %104, %1
  %106 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %97, float noundef %100, float noundef %103, float noundef %105)
  br i1 %106, label %144, label %107

107:                                              ; preds = %94
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 2, i32 noundef 2)
  %109 = load double, ptr %108, align 8, !tbaa !13
  %110 = fptrunc double %109 to float
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 2)
  %112 = load double, ptr %111, align 8, !tbaa !13
  %113 = fptrunc double %112 to float
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN6MatrixclEii(ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef 1, i32 noundef 1)
  %115 = load double, ptr %114, align 8, !tbaa !13
  %116 = fptrunc double %115 to float
  %117 = load float, ptr %14, align 4, !tbaa !5
  %118 = fsub float %117, %2
  %119 = call noundef zeroext i1 @_Z15is_ellipse_solnffff(float noundef %110, float noundef %113, float noundef %116, float noundef %118)
  %not. = xor i1 %119, true
  br label %144

120:                                              ; preds = %23
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %148

122:                                              ; preds = %24
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %147

124:                                              ; preds = %25
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %146

126:                                              ; preds = %26
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %145

128:                                              ; preds = %43
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

130:                                              ; preds = %47
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  br label %132

132:                                              ; preds = %130, %128
  %.pn = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #6
  br label %145

133:                                              ; preds = %49
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %143

135:                                              ; preds = %64
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %142

137:                                              ; preds = %65
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %66
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  br label %141

141:                                              ; preds = %139, %137
  %.pn28 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %142

142:                                              ; preds = %141, %135
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %141 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  br label %143

143:                                              ; preds = %142, %133
  %.pn28.pn.pn = phi { ptr, i32 } [ %.pn28.pn, %142 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  br label %145

144:                                              ; preds = %107, %68, %81, %94
  %.019 = phi i1 [ false, %94 ], [ false, %81 ], [ false, %68 ], [ %not., %107 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %149

145:                                              ; preds = %143, %132, %126
  %.pn28.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn, %143 ], [ %.pn, %132 ], [ %127, %126 ]
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %146

146:                                              ; preds = %145, %124
  %.pn28.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn, %145 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %147

147:                                              ; preds = %146, %122
  %.pn28.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn.pn, %146 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %148

148:                                              ; preds = %147, %120
  %.pn28.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn28.pn.pn.pn.pn.pn, %147 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN6MatrixD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  resume { ptr, i32 } %.pn28.pn.pn.pn.pn.pn.pn

149:                                              ; preds = %5, %18, %144
  %.120 = phi i1 [ %.019, %144 ], [ false, %18 ], [ false, %5 ]
  ret i1 %.120
}

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

!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, !10, i64 4}
!6 = !{!"_ZTS6Corner", !7, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !7, i64 68, !7, i64 72, !10, i64 76, !7, i64 80, !7, i64 84}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!6, !10, i64 36}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = !{!6, !10, i64 40}
!16 = !{!6, !10, i64 44}
!17 = !{!6, !10, i64 48}
!18 = !{!6, !10, i64 56}


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