; LLVM IR from liaojing/MorphLib :: MorphLib/Morph.ll (ZN8MorphLib6CMorph22initialize_incrementalEi)

; 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.MorphLib::CMorph" = type <{ ptr, ptr, i32, i32, i32, i32, i32, [4 x i8], ptr, i8, [7 x i8] }>
%class.CPyramid = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<CPyramidLevel, std::allocator<CPyramidLevel>>::_Vector_impl" }
%"struct.std::_Vector_base<CPyramidLevel, std::allocator<CPyramidLevel>>::_Vector_impl" = type { %"struct.std::_Vector_base<CPyramidLevel, std::allocator<CPyramidLevel>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CPyramidLevel, std::allocator<CPyramidLevel>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.CPyramidLevel = type { i32, i32, float, i32, i32, i32, ptr, ptr, ptr, ptr }
%"struct.MorphLib::CData" = type { %struct.anon, %struct.anon.5, %struct.anon.6, ptr, ptr, ptr, ptr, i32 }
%struct.anon = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.anon.5 = type { ptr, ptr, ptr }
%struct.anon.6 = type { ptr, ptr, ptr }
%"class.MorphLib::CParameters" = type { i32, i32, ptr, ptr, ptr, ptr, float, float, float, float, float, i32, i32, float, i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<MorphLib::ConstraintPoint, std::allocator<MorphLib::ConstraintPoint>>::_Vector_impl" }
%"struct.std::_Vector_base<MorphLib::ConstraintPoint, std::allocator<MorphLib::ConstraintPoint>>::_Vector_impl" = type { %"struct.std::_Vector_base<MorphLib::ConstraintPoint, std::allocator<MorphLib::ConstraintPoint>>::_Vector_impl_data" }
%"struct.std::_Vector_base<MorphLib::ConstraintPoint, std::allocator<MorphLib::ConstraintPoint>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.MorphLib::ConstraintPoint" = type { %"class.Eigen::Matrix", %"class.Eigen::Matrix" }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x float] }

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

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

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

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8MorphLib6CMorph22initialize_incrementalEi(ptr noundef nonnull align 8 dereferenceable(49) %0, i32 noundef %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %21 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %22 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !11
  %24 = getelementptr inbounds %class.CPyramid, ptr %23, i32 0, i32 0
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %26) #8
  %28 = getelementptr inbounds %class.CPyramidLevel, ptr %27, i32 0, i32 5
  %29 = load i32, ptr %28, align 4, !tbaa !14
  %30 = mul nsw i32 %29, 25
  store i32 %30, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = mul nsw i32 %31, 16
  %33 = sext i32 %32 to i64
  %34 = mul i64 %33, 4
  %35 = call noalias ptr @malloc(i64 noundef %34) #9
  store ptr %35, ptr %6, align 8, !tbaa !5
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = mul nsw i32 %37, 16
  %39 = sext i32 %38 to i64
  %40 = mul i64 %39, 4
  call void @llvm.memset.p0.i64(ptr align 4 %36, i8 0, i64 %40, i1 false)
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds %"struct.MorphLib::CData", ptr %43, i64 %45
  %47 = getelementptr inbounds %"struct.MorphLib::CData", ptr %46, i32 0, i32 0
  %48 = getelementptr inbounds %struct.anon, ptr %47, i32 0, i32 5
  store ptr %41, ptr %48, align 8, !tbaa !18
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = load i32, ptr %5, align 4, !tbaa !9
  %51 = mul nsw i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds float, ptr %49, i64 %52
  %54 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %55 = load ptr, ptr %54, align 8, !tbaa !17
  %56 = load i32, ptr %4, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds %"struct.MorphLib::CData", ptr %55, i64 %57
  %59 = getelementptr inbounds %"struct.MorphLib::CData", ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds %struct.anon, ptr %59, i32 0, i32 6
  store ptr %53, ptr %60, align 8, !tbaa !23
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = load i32, ptr %5, align 4, !tbaa !9
  %63 = mul nsw i32 %62, 2
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds float, ptr %61, i64 %64
  %66 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %67 = load ptr, ptr %66, align 8, !tbaa !17
  %68 = load i32, ptr %4, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds %"struct.MorphLib::CData", ptr %67, i64 %69
  %71 = getelementptr inbounds %"struct.MorphLib::CData", ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds %struct.anon, ptr %71, i32 0, i32 3
  store ptr %65, ptr %72, align 8, !tbaa !24
  %73 = load ptr, ptr %6, align 8, !tbaa !5
  %74 = load i32, ptr %5, align 4, !tbaa !9
  %75 = mul nsw i32 %74, 3
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds float, ptr %73, i64 %76
  %78 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %79 = load ptr, ptr %78, align 8, !tbaa !17
  %80 = load i32, ptr %4, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds %"struct.MorphLib::CData", ptr %79, i64 %81
  %83 = getelementptr inbounds %"struct.MorphLib::CData", ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %struct.anon, ptr %83, i32 0, i32 4
  store ptr %77, ptr %84, align 8, !tbaa !25
  %85 = load ptr, ptr %6, align 8, !tbaa !5
  %86 = load i32, ptr %5, align 4, !tbaa !9
  %87 = mul nsw i32 %86, 4
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds float, ptr %85, i64 %88
  %90 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %91 = load ptr, ptr %90, align 8, !tbaa !17
  %92 = load i32, ptr %4, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds %"struct.MorphLib::CData", ptr %91, i64 %93
  %95 = getelementptr inbounds %"struct.MorphLib::CData", ptr %94, i32 0, i32 0
  %96 = getelementptr inbounds %struct.anon, ptr %95, i32 0, i32 1
  store ptr %89, ptr %96, align 8, !tbaa !26
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = load i32, ptr %5, align 4, !tbaa !9
  %99 = mul nsw i32 %98, 5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds float, ptr %97, i64 %100
  %102 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %103 = load ptr, ptr %102, align 8, !tbaa !17
  %104 = load i32, ptr %4, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %"struct.MorphLib::CData", ptr %103, i64 %105
  %107 = getelementptr inbounds %"struct.MorphLib::CData", ptr %106, i32 0, i32 0
  %108 = getelementptr inbounds %struct.anon, ptr %107, i32 0, i32 2
  store ptr %101, ptr %108, align 8, !tbaa !27
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i32, ptr %5, align 4, !tbaa !9
  %111 = mul nsw i32 %110, 6
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds float, ptr %109, i64 %112
  %114 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %115 = load ptr, ptr %114, align 8, !tbaa !17
  %116 = load i32, ptr %4, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds %"struct.MorphLib::CData", ptr %115, i64 %117
  %119 = getelementptr inbounds %"struct.MorphLib::CData", ptr %118, i32 0, i32 0
  %120 = getelementptr inbounds %struct.anon, ptr %119, i32 0, i32 0
  store ptr %113, ptr %120, align 8, !tbaa !28
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load i32, ptr %5, align 4, !tbaa !9
  %123 = mul nsw i32 %122, 7
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %121, i64 %124
  %126 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %127 = load ptr, ptr %126, align 8, !tbaa !17
  %128 = load i32, ptr %4, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds %"struct.MorphLib::CData", ptr %127, i64 %129
  %131 = getelementptr inbounds %"struct.MorphLib::CData", ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds %struct.anon, ptr %131, i32 0, i32 7
  store ptr %125, ptr %132, align 8, !tbaa !29
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = load i32, ptr %5, align 4, !tbaa !9
  %135 = mul nsw i32 %134, 8
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds float, ptr %133, i64 %136
  %138 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %139 = load ptr, ptr %138, align 8, !tbaa !17
  %140 = load i32, ptr %4, align 4, !tbaa !9
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds %"struct.MorphLib::CData", ptr %139, i64 %141
  %143 = getelementptr inbounds %"struct.MorphLib::CData", ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds %struct.anon, ptr %143, i32 0, i32 8
  store ptr %137, ptr %144, align 8, !tbaa !30
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = load i32, ptr %5, align 4, !tbaa !9
  %147 = mul nsw i32 %146, 9
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds float, ptr %145, i64 %148
  %150 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %151 = load ptr, ptr %150, align 8, !tbaa !17
  %152 = load i32, ptr %4, align 4, !tbaa !9
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds %"struct.MorphLib::CData", ptr %151, i64 %153
  %155 = getelementptr inbounds %"struct.MorphLib::CData", ptr %154, i32 0, i32 1
  %156 = getelementptr inbounds %struct.anon.5, ptr %155, i32 0, i32 0
  store ptr %149, ptr %156, align 8, !tbaa !31
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = load i32, ptr %5, align 4, !tbaa !9
  %159 = mul nsw i32 %158, 10
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds float, ptr %157, i64 %160
  %162 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %163 = load ptr, ptr %162, align 8, !tbaa !17
  %164 = load i32, ptr %4, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds %"struct.MorphLib::CData", ptr %163, i64 %165
  %167 = getelementptr inbounds %"struct.MorphLib::CData", ptr %166, i32 0, i32 1
  %168 = getelementptr inbounds %struct.anon.5, ptr %167, i32 0, i32 1
  store ptr %161, ptr %168, align 8, !tbaa !32
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = load i32, ptr %5, align 4, !tbaa !9
  %171 = mul nsw i32 %170, 11
  %172 = sext i32 %171 to i64
  %173 = getelementptr inbounds float, ptr %169, i64 %172
  %174 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %175 = load ptr, ptr %174, align 8, !tbaa !17
  %176 = load i32, ptr %4, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds %"struct.MorphLib::CData", ptr %175, i64 %177
  %179 = getelementptr inbounds %"struct.MorphLib::CData", ptr %178, i32 0, i32 1
  %180 = getelementptr inbounds %struct.anon.5, ptr %179, i32 0, i32 2
  store ptr %173, ptr %180, align 8, !tbaa !33
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = load i32, ptr %5, align 4, !tbaa !9
  %183 = mul nsw i32 %182, 12
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds float, ptr %181, i64 %184
  %186 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %187 = load ptr, ptr %186, align 8, !tbaa !17
  %188 = load i32, ptr %4, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds %"struct.MorphLib::CData", ptr %187, i64 %189
  %191 = getelementptr inbounds %"struct.MorphLib::CData", ptr %190, i32 0, i32 2
  %192 = getelementptr inbounds %struct.anon.6, ptr %191, i32 0, i32 0
  store ptr %185, ptr %192, align 8, !tbaa !34
  %193 = load ptr, ptr %6, align 8, !tbaa !5
  %194 = load i32, ptr %5, align 4, !tbaa !9
  %195 = mul nsw i32 %194, 13
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds float, ptr %193, i64 %196
  %198 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %199 = load ptr, ptr %198, align 8, !tbaa !17
  %200 = load i32, ptr %4, align 4, !tbaa !9
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds %"struct.MorphLib::CData", ptr %199, i64 %201
  %203 = getelementptr inbounds %"struct.MorphLib::CData", ptr %202, i32 0, i32 2
  %204 = getelementptr inbounds %struct.anon.6, ptr %203, i32 0, i32 1
  store ptr %197, ptr %204, align 8, !tbaa !35
  %205 = load ptr, ptr %6, align 8, !tbaa !5
  %206 = load i32, ptr %5, align 4, !tbaa !9
  %207 = mul nsw i32 %206, 14
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds float, ptr %205, i64 %208
  %210 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %211 = load ptr, ptr %210, align 8, !tbaa !17
  %212 = load i32, ptr %4, align 4, !tbaa !9
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds %"struct.MorphLib::CData", ptr %211, i64 %213
  %215 = getelementptr inbounds %"struct.MorphLib::CData", ptr %214, i32 0, i32 2
  %216 = getelementptr inbounds %struct.anon.6, ptr %215, i32 0, i32 2
  store ptr %209, ptr %216, align 8, !tbaa !36
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = load i32, ptr %5, align 4, !tbaa !9
  %219 = mul nsw i32 %218, 15
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds float, ptr %217, i64 %220
  %222 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %223 = load ptr, ptr %222, align 8, !tbaa !17
  %224 = load i32, ptr %4, align 4, !tbaa !9
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds %"struct.MorphLib::CData", ptr %223, i64 %225
  %227 = getelementptr inbounds %"struct.MorphLib::CData", ptr %226, i32 0, i32 3
  store ptr %221, ptr %227, align 8, !tbaa !37
  %228 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %229 = load ptr, ptr %228, align 8, !tbaa !17
  %230 = load i32, ptr %4, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds %"struct.MorphLib::CData", ptr %229, i64 %231
  %233 = getelementptr inbounds %"struct.MorphLib::CData", ptr %232, i32 0, i32 7
  store i32 1, ptr %233, align 8, !tbaa !38
  %234 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 1
  %235 = load ptr, ptr %234, align 8, !tbaa !11
  %236 = getelementptr inbounds %class.CPyramid, ptr %235, i32 0, i32 0
  %237 = load i32, ptr %4, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %236, i64 noundef %238) #8
  %240 = getelementptr inbounds %class.CPyramidLevel, ptr %239, i32 0, i32 5
  %241 = load i32, ptr %240, align 4, !tbaa !14
  %242 = mul nsw i32 %241, 25
  %243 = sext i32 %242 to i64
  %244 = mul i64 %243, 1
  %245 = call noalias ptr @malloc(i64 noundef %244) #9
  %246 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %247 = load ptr, ptr %246, align 8, !tbaa !17
  %248 = load i32, ptr %4, align 4, !tbaa !9
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds %"struct.MorphLib::CData", ptr %247, i64 %249
  %251 = getelementptr inbounds %"struct.MorphLib::CData", ptr %250, i32 0, i32 6
  store ptr %245, ptr %251, align 8, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store i64 0, ptr %7, align 8, !tbaa !40
  br label %252

252:                                              ; preds = %481, %2
  %253 = load i64, ptr %7, align 8, !tbaa !40
  %254 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 0
  %255 = load ptr, ptr %254, align 8, !tbaa !42
  %256 = getelementptr inbounds %"class.MorphLib::CParameters", ptr %255, i32 0, i32 15
  %257 = call noundef i64 @_ZNKSt6vectorIN8MorphLib15ConstraintPointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %256) #8
  %258 = icmp ult i64 %253, %257
  br i1 %258, label %260, label %259

259:                                              ; preds = %252
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %484

260:                                              ; preds = %252
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %261 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 0
  %262 = load ptr, ptr %261, align 8, !tbaa !42
  %263 = getelementptr inbounds %"class.MorphLib::CParameters", ptr %262, i32 0, i32 15
  %264 = load i64, ptr %7, align 8, !tbaa !40
  %265 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %263, i64 noundef %264) #8
  %266 = getelementptr inbounds %"struct.MorphLib::ConstraintPoint", ptr %265, i32 0, i32 0
  %267 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %266)
  %268 = load float, ptr %267, align 4, !tbaa !43
  %269 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 1
  %270 = load ptr, ptr %269, align 8, !tbaa !11
  %271 = getelementptr inbounds %class.CPyramid, ptr %270, i32 0, i32 0
  %272 = load i32, ptr %4, align 4, !tbaa !9
  %273 = sext i32 %272 to i64
  %274 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %271, i64 noundef %273) #8
  %275 = getelementptr inbounds %class.CPyramidLevel, ptr %274, i32 0, i32 0
  %276 = load i32, ptr %275, align 8, !tbaa !44
  %277 = sitofp i32 %276 to float
  %278 = call float @llvm.fmuladd.f32(float %268, float %277, float -5.000000e-01)
  store float %278, ptr %9, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %279 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 0
  %280 = load ptr, ptr %279, align 8, !tbaa !42
  %281 = getelementptr inbounds %"class.MorphLib::CParameters", ptr %280, i32 0, i32 15
  %282 = load i64, ptr %7, align 8, !tbaa !40
  %283 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %281, i64 noundef %282) #8
  %284 = getelementptr inbounds %"struct.MorphLib::ConstraintPoint", ptr %283, i32 0, i32 0
  %285 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %284)
  %286 = load float, ptr %285, align 4, !tbaa !43
  %287 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 1
  %288 = load ptr, ptr %287, align 8, !tbaa !11
  %289 = getelementptr inbounds %class.CPyramid, ptr %288, i32 0, i32 0
  %290 = load i32, ptr %4, align 4, !tbaa !9
  %291 = sext i32 %290 to i64
  %292 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %289, i64 noundef %291) #8
  %293 = getelementptr inbounds %class.CPyramidLevel, ptr %292, i32 0, i32 1
  %294 = load i32, ptr %293, align 4, !tbaa !45
  %295 = sitofp i32 %294 to float
  %296 = call float @llvm.fmuladd.f32(float %286, float %295, float -5.000000e-01)
  store float %296, ptr %10, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %297 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 0
  %298 = load ptr, ptr %297, align 8, !tbaa !42
  %299 = getelementptr inbounds %"class.MorphLib::CParameters", ptr %298, i32 0, i32 15
  %300 = load i64, ptr %7, align 8, !tbaa !40
  %301 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %299, i64 noundef %300) #8
  %302 = getelementptr inbounds %"struct.MorphLib::ConstraintPoint", ptr %301, i32 0, i32 1
  %303 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %302)
  %304 = load float, ptr %303, align 4, !tbaa !43
  %305 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 1
  %306 = load ptr, ptr %305, align 8, !tbaa !11
  %307 = getelementptr inbounds %class.CPyramid, ptr %306, i32 0, i32 0
  %308 = load i32, ptr %4, align 4, !tbaa !9
  %309 = sext i32 %308 to i64
  %310 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %307, i64 noundef %309) #8
  %311 = getelementptr inbounds %class.CPyramidLevel, ptr %310, i32 0, i32 0
  %312 = load i32, ptr %311, align 8, !tbaa !44
  %313 = sitofp i32 %312 to float
  %314 = call float @llvm.fmuladd.f32(float %304, float %313, float -5.000000e-01)
  store float %314, ptr %11, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %315 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8, !tbaa !42
  %317 = getelementptr inbounds %"class.MorphLib::CParameters", ptr %316, i32 0, i32 15
  %318 = load i64, ptr %7, align 8, !tbaa !40
  %319 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %317, i64 noundef %318) #8
  %320 = getelementptr inbounds %"struct.MorphLib::ConstraintPoint", ptr %319, i32 0, i32 1
  %321 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %320)
  %322 = load float, ptr %321, align 4, !tbaa !43
  %323 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 1
  %324 = load ptr, ptr %323, align 8, !tbaa !11
  %325 = getelementptr inbounds %class.CPyramid, ptr %324, i32 0, i32 0
  %326 = load i32, ptr %4, align 4, !tbaa !9
  %327 = sext i32 %326 to i64
  %328 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %325, i64 noundef %327) #8
  %329 = getelementptr inbounds %class.CPyramidLevel, ptr %328, i32 0, i32 1
  %330 = load i32, ptr %329, align 4, !tbaa !45
  %331 = sitofp i32 %330 to float
  %332 = call float @llvm.fmuladd.f32(float %322, float %331, float -5.000000e-01)
  store float %332, ptr %12, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %333 = load float, ptr %9, align 4, !tbaa !43
  %334 = load float, ptr %11, align 4, !tbaa !43
  %335 = fadd float %333, %334
  %336 = fdiv float %335, 2.000000e+00
  store float %336, ptr %13, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %337 = load float, ptr %10, align 4, !tbaa !43
  %338 = load float, ptr %12, align 4, !tbaa !43
  %339 = fadd float %337, %338
  %340 = fdiv float %339, 2.000000e+00
  store float %340, ptr %14, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %341 = load float, ptr %11, align 4, !tbaa !43
  %342 = load float, ptr %9, align 4, !tbaa !43
  %343 = fsub float %341, %342
  %344 = fdiv float %343, 2.000000e+00
  store float %344, ptr %15, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  %345 = load float, ptr %12, align 4, !tbaa !43
  %346 = load float, ptr %10, align 4, !tbaa !43
  %347 = fsub float %345, %346
  %348 = fdiv float %347, 2.000000e+00
  store float %348, ptr %16, align 4, !tbaa !43
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %349 = load float, ptr %14, align 4, !tbaa !43
  %350 = fpext float %349 to double
  %351 = call double @llvm.floor.f64(double %350)
  %352 = fptosi double %351 to i32
  store i32 %352, ptr %17, align 4, !tbaa !9
  br label %353

353:                                              ; preds = %477, %260
  %354 = load i32, ptr %17, align 4, !tbaa !9
  %355 = load float, ptr %14, align 4, !tbaa !43
  %356 = fpext float %355 to double
  %357 = call double @llvm.ceil.f64(double %356)
  %358 = fptosi double %357 to i32
  %359 = icmp sle i32 %354, %358
  br i1 %359, label %361, label %360

360:                                              ; preds = %353
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %480

361:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %362 = load float, ptr %13, align 4, !tbaa !43
  %363 = fpext float %362 to double
  %364 = call double @llvm.floor.f64(double %363)
  %365 = fptosi double %364 to i32
  store i32 %365, ptr %18, align 4, !tbaa !9
  br label %366

366:                                              ; preds = %473, %361
  %367 = load i32, ptr %18, align 4, !tbaa !9
  %368 = load float, ptr %13, align 4, !tbaa !43
  %369 = fpext float %368 to double
  %370 = call double @llvm.ceil.f64(double %369)
  %371 = fptosi double %370 to i32
  %372 = icmp sle i32 %367, %371
  br i1 %372, label %374, label %373

373:                                              ; preds = %366
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %476

374:                                              ; preds = %366
  %375 = load i32, ptr %18, align 4, !tbaa !9
  %376 = sitofp i32 %375 to float
  %377 = load i32, ptr %17, align 4, !tbaa !9
  %378 = sitofp i32 %377 to float
  %379 = load i32, ptr %4, align 4, !tbaa !9
  %380 = call noundef zeroext i1 @_ZN8MorphLib6CMorph6insideEffi(ptr noundef nonnull align 8 dereferenceable(49) %21, float noundef %376, float noundef %378, i32 noundef %379)
  br i1 %380, label %381, label %472

381:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  %382 = load i32, ptr %18, align 4, !tbaa !9
  %383 = load i32, ptr %17, align 4, !tbaa !9
  %384 = load i32, ptr %4, align 4, !tbaa !9
  %385 = call noundef i32 @_ZN8MorphLib6CMorph9mem_indexEiii(ptr noundef nonnull align 8 dereferenceable(49) %21, i32 noundef %382, i32 noundef %383, i32 noundef %384)
  store i32 %385, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  %386 = load i32, ptr %17, align 4, !tbaa !9
  %387 = sitofp i32 %386 to float
  %388 = load float, ptr %14, align 4, !tbaa !43
  %389 = fsub float %387, %388
  %390 = fpext float %389 to double
  %391 = call double @llvm.fabs.f64(double %390)
  %392 = fsub double 1.000000e+00, %391
  %393 = load i32, ptr %18, align 4, !tbaa !9
  %394 = sitofp i32 %393 to float
  %395 = load float, ptr %13, align 4, !tbaa !43
  %396 = fsub float %394, %395
  %397 = fpext float %396 to double
  %398 = call double @llvm.fabs.f64(double %397)
  %399 = fsub double 1.000000e+00, %398
  %400 = fmul double %392, %399
  %401 = fptrunc double %400 to float
  store float %401, ptr %20, align 4, !tbaa !43
  %402 = load float, ptr %20, align 4, !tbaa !43
  %403 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %404 = load ptr, ptr %403, align 8, !tbaa !17
  %405 = load i32, ptr %4, align 4, !tbaa !9
  %406 = sext i32 %405 to i64
  %407 = getelementptr inbounds %"struct.MorphLib::CData", ptr %404, i64 %406
  %408 = getelementptr inbounds %"struct.MorphLib::CData", ptr %407, i32 0, i32 2
  %409 = getelementptr inbounds %struct.anon.6, ptr %408, i32 0, i32 0
  %410 = load ptr, ptr %409, align 8, !tbaa !34
  %411 = load i32, ptr %19, align 4, !tbaa !9
  %412 = sext i32 %411 to i64
  %413 = getelementptr inbounds float, ptr %410, i64 %412
  %414 = load float, ptr %413, align 4, !tbaa !43
  %415 = fadd float %414, %402
  store float %415, ptr %413, align 4, !tbaa !43
  %416 = load float, ptr %20, align 4, !tbaa !43
  %417 = fmul float 2.000000e+00, %416
  %418 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %419 = load ptr, ptr %418, align 8, !tbaa !17
  %420 = load i32, ptr %4, align 4, !tbaa !9
  %421 = sext i32 %420 to i64
  %422 = getelementptr inbounds %"struct.MorphLib::CData", ptr %419, i64 %421
  %423 = getelementptr inbounds %"struct.MorphLib::CData", ptr %422, i32 0, i32 4
  %424 = load ptr, ptr %423, align 8, !tbaa !46
  %425 = load i32, ptr %19, align 4, !tbaa !9
  %426 = sext i32 %425 to i64
  %427 = getelementptr inbounds float, ptr %424, i64 %426
  %428 = load float, ptr %427, align 4, !tbaa !43
  %429 = load float, ptr %15, align 4, !tbaa !43
  %430 = fsub float %428, %429
  %431 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %432 = load ptr, ptr %431, align 8, !tbaa !17
  %433 = load i32, ptr %4, align 4, !tbaa !9
  %434 = sext i32 %433 to i64
  %435 = getelementptr inbounds %"struct.MorphLib::CData", ptr %432, i64 %434
  %436 = getelementptr inbounds %"struct.MorphLib::CData", ptr %435, i32 0, i32 2
  %437 = getelementptr inbounds %struct.anon.6, ptr %436, i32 0, i32 1
  %438 = load ptr, ptr %437, align 8, !tbaa !35
  %439 = load i32, ptr %19, align 4, !tbaa !9
  %440 = sext i32 %439 to i64
  %441 = getelementptr inbounds float, ptr %438, i64 %440
  %442 = load float, ptr %441, align 4, !tbaa !43
  %443 = call float @llvm.fmuladd.f32(float %417, float %430, float %442)
  store float %443, ptr %441, align 4, !tbaa !43
  %444 = load float, ptr %20, align 4, !tbaa !43
  %445 = fmul float 2.000000e+00, %444
  %446 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %447 = load ptr, ptr %446, align 8, !tbaa !17
  %448 = load i32, ptr %4, align 4, !tbaa !9
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds %"struct.MorphLib::CData", ptr %447, i64 %449
  %451 = getelementptr inbounds %"struct.MorphLib::CData", ptr %450, i32 0, i32 5
  %452 = load ptr, ptr %451, align 8, !tbaa !47
  %453 = load i32, ptr %19, align 4, !tbaa !9
  %454 = sext i32 %453 to i64
  %455 = getelementptr inbounds float, ptr %452, i64 %454
  %456 = load float, ptr %455, align 4, !tbaa !43
  %457 = load float, ptr %16, align 4, !tbaa !43
  %458 = fsub float %456, %457
  %459 = getelementptr inbounds %"class.MorphLib::CMorph", ptr %21, i32 0, i32 8
  %460 = load ptr, ptr %459, align 8, !tbaa !17
  %461 = load i32, ptr %4, align 4, !tbaa !9
  %462 = sext i32 %461 to i64
  %463 = getelementptr inbounds %"struct.MorphLib::CData", ptr %460, i64 %462
  %464 = getelementptr inbounds %"struct.MorphLib::CData", ptr %463, i32 0, i32 2
  %465 = getelementptr inbounds %struct.anon.6, ptr %464, i32 0, i32 2
  %466 = load ptr, ptr %465, align 8, !tbaa !36
  %467 = load i32, ptr %19, align 4, !tbaa !9
  %468 = sext i32 %467 to i64
  %469 = getelementptr inbounds float, ptr %466, i64 %468
  %470 = load float, ptr %469, align 4, !tbaa !43
  %471 = call float @llvm.fmuladd.f32(float %445, float %458, float %470)
  store float %471, ptr %469, align 4, !tbaa !43
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  br label %472

472:                                              ; preds = %381, %374
  br label %473

473:                                              ; preds = %472
  %474 = load i32, ptr %18, align 4, !tbaa !9
  %475 = add nsw i32 %474, 1
  store i32 %475, ptr %18, align 4, !tbaa !9
  br label %366, !llvm.loop !48

476:                                              ; preds = %373
  br label %477

477:                                              ; preds = %476
  %478 = load i32, ptr %17, align 4, !tbaa !9
  %479 = add nsw i32 %478, 1
  store i32 %479, ptr %17, align 4, !tbaa !9
  br label %353, !llvm.loop !50

480:                                              ; preds = %360
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %481

481:                                              ; preds = %480
  %482 = load i64, ptr %7, align 8, !tbaa !40
  %483 = add i64 %482, 1
  store i64 %483, ptr %7, align 8, !tbaa !40
  br label %252, !llvm.loop !51

484:                                              ; preds = %259
  %485 = load i32, ptr %4, align 4, !tbaa !9
  call void @_ZN8MorphLib6CMorph9outerloopINS_4InitEEEvi(ptr noundef nonnull align 8 dereferenceable(49) %21, i32 noundef %485)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  ret void
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1)) #6 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8MorphLib6CMorph6insideEffi(ptr noundef nonnull align 8 dereferenceable(49), float noundef, float noundef, i32 noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8MorphLib6CMorph9outerloopINS_4InitEEEvi(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef) #4 align 2

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

!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 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTSN8MorphLib6CMorphE", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !13, i64 48}
!13 = !{!"bool", !7, i64 0}
!14 = !{!15, !10, i64 20}
!15 = !{!"_ZTS13CPyramidLevel", !10, i64 0, !10, i64 4, !16, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48}
!16 = !{!"float", !7, i64 0}
!17 = !{!12, !6, i64 40}
!18 = !{!19, !6, i64 40}
!19 = !{!"_ZTSN8MorphLib5CDataE", !20, i64 0, !21, i64 72, !22, i64 96, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !10, i64 152}
!20 = !{!"_ZTSN8MorphLib5CDataUt_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!21 = !{!"_ZTSN8MorphLib5CDataUt0_E", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN8MorphLib5CDataUt1_E", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!19, !6, i64 48}
!24 = !{!19, !6, i64 24}
!25 = !{!19, !6, i64 32}
!26 = !{!19, !6, i64 8}
!27 = !{!19, !6, i64 16}
!28 = !{!19, !6, i64 0}
!29 = !{!19, !6, i64 56}
!30 = !{!19, !6, i64 64}
!31 = !{!19, !6, i64 72}
!32 = !{!19, !6, i64 80}
!33 = !{!19, !6, i64 88}
!34 = !{!19, !6, i64 96}
!35 = !{!19, !6, i64 104}
!36 = !{!19, !6, i64 112}
!37 = !{!19, !6, i64 120}
!38 = !{!19, !10, i64 152}
!39 = !{!19, !6, i64 144}
!40 = !{!41, !41, i64 0}
!41 = !{!"long", !7, i64 0}
!42 = !{!12, !6, i64 0}
!43 = !{!16, !16, i64 0}
!44 = !{!15, !10, i64 0}
!45 = !{!15, !10, i64 4}
!46 = !{!19, !6, i64 128}
!47 = !{!19, !6, i64 136}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = distinct !{!50, !49}
!51 = distinct !{!51, !49}


; 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"

%"struct.MorphLib::CData" = type { %struct.anon, %struct.anon.5, %struct.anon.6, ptr, ptr, ptr, ptr, i32 }
%struct.anon = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.anon.5 = type { ptr, ptr, ptr }
%struct.anon.6 = type { ptr, ptr, ptr }

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8MorphLib6CMorph22initialize_incrementalEi(ptr noundef nonnull align 8 dereferenceable(49) %0, i32 noundef %1) local_unnamed_addr #2 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = load ptr, ptr %3, align 8, !tbaa !5
  %5 = sext i32 %1 to i64
  %6 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef %5) #8
  %7 = getelementptr inbounds i8, ptr %6, i64 20
  %8 = load i32, ptr %7, align 4, !tbaa !12
  %9 = mul nsw i32 %8, 25
  %10 = mul i32 %8, 400
  %11 = sext i32 %10 to i64
  %12 = shl nsw i64 %11, 2
  %calloc = tail call ptr @calloc(i64 1, i64 %12)
  %13 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = load ptr, ptr %13, align 8, !tbaa !15
  %15 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 5
  store ptr %calloc, ptr %15, align 8, !tbaa !16
  %16 = sext i32 %9 to i64
  %17 = getelementptr inbounds float, ptr %calloc, i64 %16
  %18 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 6
  store ptr %17, ptr %18, align 8, !tbaa !21
  %19 = mul i32 %8, 50
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds float, ptr %calloc, i64 %20
  %22 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 3
  store ptr %21, ptr %22, align 8, !tbaa !22
  %23 = mul i32 %8, 75
  %24 = sext i32 %23 to i64
  %25 = getelementptr inbounds float, ptr %calloc, i64 %24
  %26 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 4
  store ptr %25, ptr %26, align 8, !tbaa !23
  %27 = mul i32 %8, 100
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds float, ptr %calloc, i64 %28
  %30 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 1
  store ptr %29, ptr %30, align 8, !tbaa !24
  %31 = mul i32 %8, 125
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds float, ptr %calloc, i64 %32
  %34 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 2
  store ptr %33, ptr %34, align 8, !tbaa !25
  %35 = mul i32 %8, 150
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds float, ptr %calloc, i64 %36
  %38 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5
  store ptr %37, ptr %38, align 8, !tbaa !26
  %39 = mul i32 %8, 175
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds float, ptr %calloc, i64 %40
  %42 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 7
  store ptr %41, ptr %42, align 8, !tbaa !27
  %43 = mul i32 %8, 200
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds float, ptr %calloc, i64 %44
  %46 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 0, i32 8
  store ptr %45, ptr %46, align 8, !tbaa !28
  %47 = mul i32 %8, 225
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds float, ptr %calloc, i64 %48
  %50 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 1
  store ptr %49, ptr %50, align 8, !tbaa !29
  %51 = mul i32 %8, 250
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds float, ptr %calloc, i64 %52
  %54 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 1, i32 1
  store ptr %53, ptr %54, align 8, !tbaa !30
  %55 = mul i32 %8, 275
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds float, ptr %calloc, i64 %56
  %58 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 1, i32 2
  store ptr %57, ptr %58, align 8, !tbaa !31
  %59 = mul i32 %8, 300
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds float, ptr %calloc, i64 %60
  %62 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 2
  store ptr %61, ptr %62, align 8, !tbaa !32
  %63 = mul i32 %8, 325
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds float, ptr %calloc, i64 %64
  %66 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 2, i32 1
  store ptr %65, ptr %66, align 8, !tbaa !33
  %67 = mul i32 %8, 350
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds float, ptr %calloc, i64 %68
  %70 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 2, i32 2
  store ptr %69, ptr %70, align 8, !tbaa !34
  %71 = mul i32 %8, 375
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds float, ptr %calloc, i64 %72
  %74 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 3
  store ptr %73, ptr %74, align 8, !tbaa !35
  %75 = getelementptr inbounds %"struct.MorphLib::CData", ptr %14, i64 %5, i32 7
  store i32 1, ptr %75, align 8, !tbaa !36
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %5) #8
  %78 = getelementptr inbounds i8, ptr %77, i64 20
  %79 = load i32, ptr %78, align 4, !tbaa !12
  %80 = mul nsw i32 %79, 25
  %81 = sext i32 %80 to i64
  %82 = tail call noalias ptr @malloc(i64 noundef %81) #9
  %83 = load ptr, ptr %13, align 8, !tbaa !15
  %84 = getelementptr inbounds %"struct.MorphLib::CData", ptr %83, i64 %5, i32 6
  store ptr %82, ptr %84, align 8, !tbaa !37
  %85 = load ptr, ptr %0, align 8, !tbaa !38
  %86 = getelementptr inbounds i8, ptr %85, i64 80
  %87 = tail call noundef i64 @_ZNKSt6vectorIN8MorphLib15ConstraintPointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #8
  %.not120 = icmp eq i64 %87, 0
  br i1 %.not120, label %._crit_edge119, label %.lr.ph118

._crit_edge119:                                   ; preds = %._crit_edge115, %2
  tail call void @_ZN8MorphLib6CMorph9outerloopINS_4InitEEEvi(ptr noundef nonnull align 8 dereferenceable(49) %0, i32 noundef %1)
  ret void

.lr.ph118:                                        ; preds = %2, %._crit_edge115
  %.0116 = phi i64 [ %154, %._crit_edge115 ], [ 0, %2 ]
  %88 = load ptr, ptr %0, align 8, !tbaa !38
  %89 = getelementptr inbounds i8, ptr %88, i64 80
  %90 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %89, i64 noundef %.0116) #8
  %91 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %90)
  %92 = load float, ptr %91, align 4, !tbaa !39
  %93 = load ptr, ptr %3, align 8, !tbaa !5
  %94 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %5) #8
  %95 = load i32, ptr %94, align 8, !tbaa !40
  %96 = sitofp i32 %95 to float
  %97 = tail call float @llvm.fmuladd.f32(float %92, float %96, float -5.000000e-01)
  %98 = load ptr, ptr %0, align 8, !tbaa !38
  %99 = getelementptr inbounds i8, ptr %98, i64 80
  %100 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %.0116) #8
  %101 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %100)
  %102 = load float, ptr %101, align 4, !tbaa !39
  %103 = load ptr, ptr %3, align 8, !tbaa !5
  %104 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %103, i64 noundef %5) #8
  %105 = getelementptr inbounds i8, ptr %104, i64 4
  %106 = load <4 x i32>, ptr %105, align 4
  %107 = shufflevector <4 x i32> %106, <4 x i32> poison, <2 x i32> <i32 0, i32 poison>
  %108 = load ptr, ptr %0, align 8, !tbaa !38
  %109 = getelementptr inbounds i8, ptr %108, i64 80
  %110 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %.0116) #8
  %111 = getelementptr inbounds i8, ptr %110, i64 8
  %112 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1xEv(ptr noundef nonnull align 1 dereferenceable(1) %111)
  %113 = load float, ptr %112, align 4, !tbaa !39
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %5) #8
  %116 = load i32, ptr %115, align 8, !tbaa !40
  %117 = sitofp i32 %116 to float
  %118 = tail call float @llvm.fmuladd.f32(float %113, float %117, float -5.000000e-01)
  %119 = load ptr, ptr %0, align 8, !tbaa !38
  %120 = getelementptr inbounds i8, ptr %119, i64 80
  %121 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN8MorphLib15ConstraintPointESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %.0116) #8
  %122 = getelementptr inbounds i8, ptr %121, i64 8
  %123 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN5Eigen15DenseCoeffsBaseINS_6MatrixIfLi2ELi1ELi0ELi2ELi1EEELi1EE1yEv(ptr noundef nonnull align 1 dereferenceable(1) %122)
  %124 = load float, ptr %123, align 4, !tbaa !39
  %125 = load ptr, ptr %3, align 8, !tbaa !5
  %126 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorI13CPyramidLevelSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %125, i64 noundef %5) #8
  %127 = getelementptr inbounds i8, ptr %126, i64 4
  %128 = load i32, ptr %127, align 4, !tbaa !41
  %129 = insertelement <2 x i32> %107, i32 %128, i64 1
  %130 = sitofp <2 x i32> %129 to <2 x float>
  %131 = insertelement <2 x float> poison, float %102, i64 0
  %132 = insertelement <2 x float> %131, float %124, i64 1
  %133 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %132, <2 x float> %130, <2 x float> <float -5.000000e-01, float -5.000000e-01>)
  %134 = fadd float %97, %118
  %135 = fmul float %134, 5.000000e-01
  %136 = extractelement <2 x float> %133, i64 0
  %137 = extractelement <2 x float> %133, i64 1
  %138 = fadd float %136, %137
  %139 = fmul float %138, 5.000000e-01
  %140 = fsub float %118, %97
  %141 = fmul float %140, 5.000000e-01
  %142 = fsub float %137, %136
  %143 = fmul float %142, 5.000000e-01
  %144 = fpext float %139 to double
  %145 = tail call double @llvm.floor.f64(double %144)
  %146 = fptosi double %145 to i32
  %147 = tail call double @llvm.ceil.f64(double %144)
  %148 = fptosi double %147 to i32
  %.not111 = icmp sgt i32 %146, %148
  br i1 %.not111, label %._crit_edge115, label %.lr.ph114

.lr.ph114:                                        ; preds = %.lr.ph118
  %149 = fpext float %135 to double
  %150 = tail call double @llvm.floor.f64(double %149)
  %151 = fptosi double %150 to i32
  %152 = tail call double @llvm.ceil.f64(double %149)
  %153 = fptosi double %152 to i32
  %.not108109 = icmp sgt i32 %151, %153
  br i1 %.not108109, label %._crit_edge115, label %.lr.ph

._crit_edge115:                                   ; preds = %._crit_edge, %.lr.ph114, %.lr.ph118
  %154 = add nuw i64 %.0116, 1
  %155 = load ptr, ptr %0, align 8, !tbaa !38
  %156 = getelementptr inbounds i8, ptr %155, i64 80
  %157 = tail call noundef i64 @_ZNKSt6vectorIN8MorphLib15ConstraintPointESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %156) #8
  %158 = icmp ult i64 %154, %157
  br i1 %158, label %.lr.ph118, label %._crit_edge119, !llvm.loop !42

.lr.ph:                                           ; preds = %.lr.ph114, %._crit_edge
  %.0107112 = phi i32 [ %164, %._crit_edge ], [ %146, %.lr.ph114 ]
  %159 = sitofp i32 %.0107112 to float
  %160 = fsub float %159, %139
  %161 = tail call float @llvm.fabs.f32(float %160)
  %162 = fpext float %161 to double
  %163 = fsub double 1.000000e+00, %162
  br label %165

._crit_edge:                                      ; preds = %205
  %164 = add i32 %.0107112, 1
  %exitcond122.not = icmp eq i32 %.0107112, %148
  br i1 %exitcond122.not, label %._crit_edge115, label %.lr.ph, !llvm.loop !44

165:                                              ; preds = %.lr.ph, %205
  %.0106110 = phi i32 [ %151, %.lr.ph ], [ %206, %205 ]
  %166 = sitofp i32 %.0106110 to float
  %167 = tail call noundef zeroext i1 @_ZN8MorphLib6CMorph6insideEffi(ptr noundef nonnull align 8 dereferenceable(49) %0, float noundef %166, float noundef %159, i32 noundef %1)
  br i1 %167, label %168, label %205

168:                                              ; preds = %165
  %169 = tail call noundef i32 @_ZN8MorphLib6CMorph9mem_indexEiii(ptr noundef nonnull align 8 dereferenceable(49) %0, i32 noundef %.0106110, i32 noundef %.0107112, i32 noundef %1)
  %170 = fsub float %166, %135
  %171 = tail call float @llvm.fabs.f32(float %170)
  %172 = fpext float %171 to double
  %173 = fsub double 1.000000e+00, %172
  %174 = fmul double %163, %173
  %175 = fptrunc double %174 to float
  %176 = load ptr, ptr %13, align 8, !tbaa !15
  %177 = getelementptr inbounds %"struct.MorphLib::CData", ptr %176, i64 %5, i32 2
  %178 = load ptr, ptr %177, align 8, !tbaa !32
  %179 = sext i32 %169 to i64
  %180 = getelementptr inbounds float, ptr %178, i64 %179
  %181 = load float, ptr %180, align 4, !tbaa !39
  %182 = fadd float %181, %175
  store float %182, ptr %180, align 4, !tbaa !39
  %183 = fmul float %175, 2.000000e+00
  %184 = getelementptr inbounds %"struct.MorphLib::CData", ptr %176, i64 %5
  %185 = getelementptr inbounds i8, ptr %184, i64 128
  %186 = load ptr, ptr %185, align 8, !tbaa !45
  %187 = getelementptr inbounds float, ptr %186, i64 %179
  %188 = load float, ptr %187, align 4, !tbaa !39
  %189 = fsub float %188, %141
  %190 = getelementptr inbounds i8, ptr %184, i64 104
  %191 = load ptr, ptr %190, align 8, !tbaa !33
  %192 = getelementptr inbounds float, ptr %191, i64 %179
  %193 = load float, ptr %192, align 4, !tbaa !39
  %194 = tail call float @llvm.fmuladd.f32(float %183, float %189, float %193)
  store float %194, ptr %192, align 4, !tbaa !39
  %195 = getelementptr inbounds i8, ptr %184, i64 136
  %196 = load ptr, ptr %195, align 8, !tbaa !46
  %197 = getelementptr inbounds float, ptr %196, i64 %179
  %198 = load float, ptr %197, align 4, !tbaa !39
  %199 = fsub float %198, %143
  %200 = getelementptr inbounds i8, ptr %184, i64 112
  %201 = load ptr, ptr %200, align 8, !tbaa !34
  %202 = getelementptr inbounds float, ptr %201, i64 %179
  %203 = load float, ptr %202, align 4, !tbaa !39
  %204 = tail call float @llvm.fmuladd.f32(float %183, float %199, float %203)
  store float %204, ptr %202, align 4, !tbaa !39
  br label %205

205:                                              ; preds = %165, %168
  %206 = add i32 %.0106110, 1
  %exitcond.not = icmp eq i32 %.0106110, %153
  br i1 %exitcond.not, label %._crit_edge, label %165, !llvm.loop !47
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8MorphLib6CMorph9mem_indexEiii(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN8MorphLib6CMorph6insideEffi(ptr noundef nonnull align 8 dereferenceable(49), float noundef, float noundef, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8MorphLib6CMorph9outerloopINS_4InitEEEvi(ptr noundef nonnull align 8 dereferenceable(49), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #7

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #6

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

!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 = !{!"_ZTSN8MorphLib6CMorphE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !7, i64 40, !11, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!13, !10, i64 20}
!13 = !{!"_ZTS13CPyramidLevel", !10, i64 0, !10, i64 4, !14, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48}
!14 = !{!"float", !8, i64 0}
!15 = !{!6, !7, i64 40}
!16 = !{!17, !7, i64 40}
!17 = !{!"_ZTSN8MorphLib5CDataE", !18, i64 0, !19, i64 72, !20, i64 96, !7, i64 120, !7, i64 128, !7, i64 136, !7, i64 144, !10, i64 152}
!18 = !{!"_ZTSN8MorphLib5CDataUt_E", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64}
!19 = !{!"_ZTSN8MorphLib5CDataUt0_E", !7, i64 0, !7, i64 8, !7, i64 16}
!20 = !{!"_ZTSN8MorphLib5CDataUt1_E", !7, i64 0, !7, i64 8, !7, i64 16}
!21 = !{!17, !7, i64 48}
!22 = !{!17, !7, i64 24}
!23 = !{!17, !7, i64 32}
!24 = !{!17, !7, i64 8}
!25 = !{!17, !7, i64 16}
!26 = !{!17, !7, i64 0}
!27 = !{!17, !7, i64 56}
!28 = !{!17, !7, i64 64}
!29 = !{!17, !7, i64 72}
!30 = !{!17, !7, i64 80}
!31 = !{!17, !7, i64 88}
!32 = !{!17, !7, i64 96}
!33 = !{!17, !7, i64 104}
!34 = !{!17, !7, i64 112}
!35 = !{!17, !7, i64 120}
!36 = !{!17, !10, i64 152}
!37 = !{!17, !7, i64 144}
!38 = !{!6, !7, i64 0}
!39 = !{!14, !14, i64 0}
!40 = !{!13, !10, i64 0}
!41 = !{!13, !10, i64 4}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = distinct !{!44, !43}
!45 = !{!17, !7, i64 128}
!46 = !{!17, !7, i64 136}
!47 = distinct !{!47, !43}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass