; LLVM IR from Gripnook/numerical-methods :: Assignment1/report/src (finite-differences)

; 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.Numeric::Matrix" = type { i32, i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.5" = type { i32, i32 }
%"struct.FiniteDifferences::Node_internal" = type { double, double, double, double }
%"struct.FiniteDifferences::Node" = type { double, double, double }

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17FiniteDifferences12updateJacobiERN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS7_EERKS5_INS_13Node_internalESaISC_EE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.Numeric::Matrix", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"struct.std::pair.5", align 4
  %11 = alloca %"struct.FiniteDifferences::Node_internal", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %16 = trunc i64 %15 to i32
  store i32 %16, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %17)
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %195, %3
  %19 = load i32, ptr %9, align 4, !tbaa !9
  %20 = load i32, ptr %7, align 4, !tbaa !9
  %21 = icmp slt i32 %19, %20
  br i1 %21, label %23, label %22

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

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef %26) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %27, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #7
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = sext i32 %29 to i64
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN17FiniteDifferences13Node_internalESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef %30) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %31, i64 32, i1 false), !tbaa.struct !11
  %32 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %35, label %57

35:                                               ; preds = %23
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %38 = load i32, ptr %37, align 4, !tbaa !14
  %39 = add nsw i32 %38, 2
  %40 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %41 = load i32, ptr %40, align 4, !tbaa !16
  %42 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %36, i32 noundef %39, i32 noundef %41)
          to label %43 unwind label %53

43:                                               ; preds = %35
  %44 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %42, i32 0, i32 0
  %45 = load double, ptr %44, align 8, !tbaa !17
  %46 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %47 = load i32, ptr %46, align 4, !tbaa !14
  %48 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %49 = load i32, ptr %48, align 4, !tbaa !16
  %50 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %47, i32 noundef %49)
          to label %51 unwind label %53

51:                                               ; preds = %43
  %52 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %50, i32 0, i32 0
  store double %45, ptr %52, align 8, !tbaa !17
  br label %194

53:                                               ; preds = %180, %167, %153, %141, %131, %121, %113, %105, %95, %87, %73, %65, %57, %43, %35
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %12, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %206

57:                                               ; preds = %23
  %58 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %59 = load i32, ptr %58, align 4, !tbaa !14
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = invoke noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(32) %60)
          to label %62 unwind label %53

62:                                               ; preds = %57
  %63 = sub nsw i32 %61, 1
  %64 = icmp eq i32 %59, %63
  br i1 %64, label %65, label %83

65:                                               ; preds = %62
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %68 = load i32, ptr %67, align 4, !tbaa !14
  %69 = sub nsw i32 %68, 2
  %70 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %71 = load i32, ptr %70, align 4, !tbaa !16
  %72 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %66, i32 noundef %69, i32 noundef %71)
          to label %73 unwind label %53

73:                                               ; preds = %65
  %74 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %72, i32 0, i32 0
  %75 = load double, ptr %74, align 8, !tbaa !17
  %76 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %77 = load i32, ptr %76, align 4, !tbaa !14
  %78 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %79 = load i32, ptr %78, align 4, !tbaa !16
  %80 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %77, i32 noundef %79)
          to label %81 unwind label %53

81:                                               ; preds = %73
  %82 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %80, i32 0, i32 0
  store double %75, ptr %82, align 8, !tbaa !17
  br label %193

83:                                               ; preds = %62
  %84 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %85 = load i32, ptr %84, align 4, !tbaa !16
  %86 = icmp eq i32 %85, 0
  br i1 %86, label %87, label %105

87:                                               ; preds = %83
  %88 = load ptr, ptr %4, align 8, !tbaa !5
  %89 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %90 = load i32, ptr %89, align 4, !tbaa !14
  %91 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %92 = load i32, ptr %91, align 4, !tbaa !16
  %93 = add nsw i32 %92, 2
  %94 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %88, i32 noundef %90, i32 noundef %93)
          to label %95 unwind label %53

95:                                               ; preds = %87
  %96 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %94, i32 0, i32 0
  %97 = load double, ptr %96, align 8, !tbaa !17
  %98 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %99 = load i32, ptr %98, align 4, !tbaa !14
  %100 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %101 = load i32, ptr %100, align 4, !tbaa !16
  %102 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %99, i32 noundef %101)
          to label %103 unwind label %53

103:                                              ; preds = %95
  %104 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %102, i32 0, i32 0
  store double %97, ptr %104, align 8, !tbaa !17
  br label %192

105:                                              ; preds = %83
  %106 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %107 = load i32, ptr %106, align 4, !tbaa !16
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = invoke noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4colsEv(ptr noundef nonnull align 8 dereferenceable(32) %108)
          to label %110 unwind label %53

110:                                              ; preds = %105
  %111 = sub nsw i32 %109, 1
  %112 = icmp eq i32 %107, %111
  br i1 %112, label %113, label %131

113:                                              ; preds = %110
  %114 = load ptr, ptr %4, align 8, !tbaa !5
  %115 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %116 = load i32, ptr %115, align 4, !tbaa !14
  %117 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !16
  %119 = sub nsw i32 %118, 2
  %120 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %114, i32 noundef %116, i32 noundef %119)
          to label %121 unwind label %53

121:                                              ; preds = %113
  %122 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %120, i32 0, i32 0
  %123 = load double, ptr %122, align 8, !tbaa !17
  %124 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %125 = load i32, ptr %124, align 4, !tbaa !14
  %126 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %127 = load i32, ptr %126, align 4, !tbaa !16
  %128 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %125, i32 noundef %127)
          to label %129 unwind label %53

129:                                              ; preds = %121
  %130 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %128, i32 0, i32 0
  store double %123, ptr %130, align 8, !tbaa !17
  br label %191

131:                                              ; preds = %110
  %132 = getelementptr inbounds %"struct.FiniteDifferences::Node_internal", ptr %11, i32 0, i32 0
  %133 = load double, ptr %132, align 8, !tbaa !19
  %134 = load ptr, ptr %4, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %136 = load i32, ptr %135, align 4, !tbaa !14
  %137 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %138 = load i32, ptr %137, align 4, !tbaa !16
  %139 = sub nsw i32 %138, 1
  %140 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %134, i32 noundef %136, i32 noundef %139)
          to label %141 unwind label %53

141:                                              ; preds = %131
  %142 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %140, i32 0, i32 0
  %143 = load double, ptr %142, align 8, !tbaa !17
  %144 = getelementptr inbounds %"struct.FiniteDifferences::Node_internal", ptr %11, i32 0, i32 1
  %145 = load double, ptr %144, align 8, !tbaa !21
  %146 = load ptr, ptr %4, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %148 = load i32, ptr %147, align 4, !tbaa !14
  %149 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %150 = load i32, ptr %149, align 4, !tbaa !16
  %151 = add nsw i32 %150, 1
  %152 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %146, i32 noundef %148, i32 noundef %151)
          to label %153 unwind label %53

153:                                              ; preds = %141
  %154 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %152, i32 0, i32 0
  %155 = load double, ptr %154, align 8, !tbaa !17
  %156 = fmul double %145, %155
  %157 = call double @llvm.fmuladd.f64(double %133, double %143, double %156)
  %158 = getelementptr inbounds %"struct.FiniteDifferences::Node_internal", ptr %11, i32 0, i32 2
  %159 = load double, ptr %158, align 8, !tbaa !22
  %160 = load ptr, ptr %4, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %162 = load i32, ptr %161, align 4, !tbaa !14
  %163 = sub nsw i32 %162, 1
  %164 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %165 = load i32, ptr %164, align 4, !tbaa !16
  %166 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %160, i32 noundef %163, i32 noundef %165)
          to label %167 unwind label %53

167:                                              ; preds = %153
  %168 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %166, i32 0, i32 0
  %169 = load double, ptr %168, align 8, !tbaa !17
  %170 = call double @llvm.fmuladd.f64(double %159, double %169, double %157)
  %171 = getelementptr inbounds %"struct.FiniteDifferences::Node_internal", ptr %11, i32 0, i32 3
  %172 = load double, ptr %171, align 8, !tbaa !23
  %173 = load ptr, ptr %4, align 8, !tbaa !5
  %174 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %175 = load i32, ptr %174, align 4, !tbaa !14
  %176 = add nsw i32 %175, 1
  %177 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %178 = load i32, ptr %177, align 4, !tbaa !16
  %179 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %173, i32 noundef %176, i32 noundef %178)
          to label %180 unwind label %53

180:                                              ; preds = %167
  %181 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %179, i32 0, i32 0
  %182 = load double, ptr %181, align 8, !tbaa !17
  %183 = call double @llvm.fmuladd.f64(double %172, double %182, double %170)
  %184 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 0
  %185 = load i32, ptr %184, align 4, !tbaa !14
  %186 = getelementptr inbounds %"struct.std::pair.5", ptr %10, i32 0, i32 1
  %187 = load i32, ptr %186, align 4, !tbaa !16
  %188 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %8, i32 noundef %185, i32 noundef %187)
          to label %189 unwind label %53

189:                                              ; preds = %180
  %190 = getelementptr inbounds %"struct.FiniteDifferences::Node", ptr %188, i32 0, i32 0
  store double %183, ptr %190, align 8, !tbaa !17
  br label %191

191:                                              ; preds = %189, %129
  br label %192

192:                                              ; preds = %191, %103
  br label %193

193:                                              ; preds = %192, %81
  br label %194

194:                                              ; preds = %193, %51
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %9, align 4, !tbaa !9
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %9, align 4, !tbaa !9
  br label %18, !llvm.loop !24

198:                                              ; preds = %22
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %199, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %201 unwind label %202

201:                                              ; preds = %198
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret void

202:                                              ; preds = %198
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %12, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %13, align 4
  br label %206

206:                                              ; preds = %202, %53
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %207

207:                                              ; preds = %206
  %208 = load ptr, ptr %12, align 8
  %209 = load i32, ptr %13, align 4
  %210 = insertvalue { ptr, i32 } poison, ptr %208, 0
  %211 = insertvalue { ptr, i32 } %210, i32 %209, 1
  resume { ptr, i32 } %211
}

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4colsEv(ptr noundef nonnull align 8 dereferenceable(32)) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #6 align 2

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


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

%"class.Numeric::Matrix" = type { i32, i32, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<FiniteDifferences::Node, std::allocator<FiniteDifferences::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; 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 uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN17FiniteDifferences12updateJacobiERN7Numeric6MatrixINS_4NodeEEERKSt6vectorISt4pairIiiESaIS7_EERKS5_INS_13Node_internalESaISC_EE(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(24) %2) local_unnamed_addr #1 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.Numeric::Matrix", align 8
  %5 = tail call noundef i64 @_ZNKSt6vectorISt4pairIiiESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  %6 = trunc i64 %5 to i32
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %0)
  %7 = icmp sgt i32 %6, 0
  br i1 %7, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %3
  %wide.trip.count = and i64 %5, 2147483647
  br label %.lr.ph

._crit_edge:                                      ; preds = %73, %3
  %8 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %74 unwind label %75

.lr.ph:                                           ; preds = %.lr.ph.preheader, %73
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %73 ]
  %9 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv) #6
  %.sroa.01.0.copyload = load i32, ptr %9, align 4
  %.sroa.19.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 4
  %.sroa.19.0.copyload = load i32, ptr %.sroa.19.0..sroa_idx, align 4
  %10 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorIN17FiniteDifferences13Node_internalESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #6
  %.sroa.0.0.copyload = load double, ptr %10, align 8, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %.sroa.5.0.copyload = load double, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !5
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 16
  %.sroa.6.0.copyload = load double, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !5
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 24
  %.sroa.7.0.copyload = load double, ptr %.sroa.7.0..sroa_idx, align 8, !tbaa !5
  %11 = icmp eq i32 %.sroa.01.0.copyload, 0
  br i1 %11, label %12, label %20

12:                                               ; preds = %.lr.ph
  %13 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef 2, i32 noundef %.sroa.19.0.copyload)
          to label %14 unwind label %18

14:                                               ; preds = %12
  %15 = load double, ptr %13, align 8, !tbaa !9
  %16 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef 0, i32 noundef %.sroa.19.0.copyload)
          to label %17 unwind label %18

17:                                               ; preds = %14
  store double %15, ptr %16, align 8, !tbaa !9
  br label %73

18:                                               ; preds = %65, %61, %57, %53, %50, %46, %43, %35, %33, %27, %24, %14, %12
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %77

20:                                               ; preds = %.lr.ph
  %21 = call noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %22 = add nsw i32 %21, -1
  %23 = icmp eq i32 %.sroa.01.0.copyload, %22
  br i1 %23, label %24, label %31

24:                                               ; preds = %20
  %25 = add nsw i32 %.sroa.01.0.copyload, -2
  %26 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %25, i32 noundef %.sroa.19.0.copyload)
          to label %27 unwind label %18

27:                                               ; preds = %24
  %28 = load double, ptr %26, align 8, !tbaa !9
  %29 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.sroa.01.0.copyload, i32 noundef %.sroa.19.0.copyload)
          to label %30 unwind label %18

30:                                               ; preds = %27
  store double %28, ptr %29, align 8, !tbaa !9
  br label %73

31:                                               ; preds = %20
  %32 = icmp eq i32 %.sroa.19.0.copyload, 0
  br i1 %32, label %33, label %39

33:                                               ; preds = %31
  %34 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %.sroa.01.0.copyload, i32 noundef 2)
          to label %35 unwind label %18

35:                                               ; preds = %33
  %36 = load double, ptr %34, align 8, !tbaa !9
  %37 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.sroa.01.0.copyload, i32 noundef 0)
          to label %38 unwind label %18

38:                                               ; preds = %35
  store double %36, ptr %37, align 8, !tbaa !9
  br label %73

39:                                               ; preds = %31
  %40 = call noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4colsEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %41 = add nsw i32 %40, -1
  %42 = icmp eq i32 %.sroa.19.0.copyload, %41
  br i1 %42, label %43, label %50

43:                                               ; preds = %39
  %44 = add nsw i32 %.sroa.19.0.copyload, -2
  %45 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %.sroa.01.0.copyload, i32 noundef %44)
          to label %46 unwind label %18

46:                                               ; preds = %43
  %47 = load double, ptr %45, align 8, !tbaa !9
  %48 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.sroa.01.0.copyload, i32 noundef %.sroa.19.0.copyload)
          to label %49 unwind label %18

49:                                               ; preds = %46
  store double %47, ptr %48, align 8, !tbaa !9
  br label %73

50:                                               ; preds = %39
  %51 = add nsw i32 %.sroa.19.0.copyload, -1
  %52 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %.sroa.01.0.copyload, i32 noundef %51)
          to label %53 unwind label %18

53:                                               ; preds = %50
  %54 = load double, ptr %52, align 8, !tbaa !9
  %55 = add nsw i32 %.sroa.19.0.copyload, 1
  %56 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %.sroa.01.0.copyload, i32 noundef %55)
          to label %57 unwind label %18

57:                                               ; preds = %53
  %58 = load double, ptr %56, align 8, !tbaa !9
  %59 = add nsw i32 %.sroa.01.0.copyload, -1
  %60 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %59, i32 noundef %.sroa.19.0.copyload)
          to label %61 unwind label %18

61:                                               ; preds = %57
  %62 = load double, ptr %60, align 8, !tbaa !9
  %63 = add nsw i32 %.sroa.01.0.copyload, 1
  %64 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %0, i32 noundef %63, i32 noundef %.sroa.19.0.copyload)
          to label %65 unwind label %18

65:                                               ; preds = %61
  %66 = load double, ptr %64, align 8, !tbaa !9
  %67 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEclEii(ptr noundef nonnull align 8 dereferenceable(32) %4, i32 noundef %.sroa.01.0.copyload, i32 noundef %.sroa.19.0.copyload)
          to label %68 unwind label %18

68:                                               ; preds = %65
  %69 = fmul double %.sroa.5.0.copyload, %58
  %70 = call double @llvm.fmuladd.f64(double %.sroa.0.0.copyload, double %54, double %69)
  %71 = call double @llvm.fmuladd.f64(double %.sroa.6.0.copyload, double %62, double %70)
  %72 = call double @llvm.fmuladd.f64(double %.sroa.7.0.copyload, double %66, double %71)
  store double %72, ptr %67, align 8, !tbaa !9
  br label %73

73:                                               ; preds = %30, %49, %68, %38, %17
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

74:                                               ; preds = %._crit_edge
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  ret void

75:                                               ; preds = %._crit_edge
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %77

77:                                               ; preds = %75, %18
  %.pn = phi { ptr, i32 } [ %19, %18 ], [ %76, %75 ]
  call void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4rowsEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK7Numeric6MatrixIN17FiniteDifferences4NodeEE4colsEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN7Numeric6MatrixIN17FiniteDifferences4NodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 #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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSN17FiniteDifferences4NodeE", !6, i64 0, !6, i64 8, !6, i64 16}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass