; LLVM IR from roliveira/nilt :: module/benchmark.ll (ZN15DeHoogAlgorithm8EvaluateEdPFSt7complexIdES1_E)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::complex" = type { { double, double } }
%class.DeHoogAlgorithm = type { %class.InverseLaplaceAlgorithm, i32, i32, double, double }
%class.InverseLaplaceAlgorithm = type { ptr, %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN15DeHoogAlgorithm8EvaluateEdPFSt7complexIdES1_E(ptr noundef nonnull align 8 dereferenceable(64) %0, double noundef %1, ptr noundef %2) unnamed_addr #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca double, align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca %"class.std::complex", align 8
  %35 = alloca %"class.std::complex", align 8
  %36 = alloca %"class.std::complex", align 8
  %37 = alloca %"class.std::complex", align 8
  %38 = alloca %"class.std::complex", align 8
  %39 = alloca %"class.std::complex", align 8
  %40 = alloca %"class.std::complex", align 8
  %41 = alloca %"class.std::complex", align 8
  %42 = alloca %"class.std::complex", align 8
  %43 = alloca %"class.std::complex", align 8
  %44 = alloca %"class.std::complex", align 8
  %45 = alloca %"class.std::complex", align 8
  %46 = alloca %"class.std::complex", align 8
  %47 = alloca %"class.std::complex", align 8
  %48 = alloca double, align 8
  %49 = alloca %"class.std::complex", align 8
  %50 = alloca double, align 8
  %51 = alloca %"class.std::complex", align 8
  %52 = alloca %"class.std::complex", align 8
  %53 = alloca %"class.std::complex", align 8
  %54 = alloca %"class.std::complex", align 8
  %55 = alloca %"class.std::complex", align 8
  %56 = alloca double, align 8
  %57 = alloca %"class.std::complex", align 8
  %58 = alloca %"class.std::complex", align 8
  %59 = alloca double, align 8
  %60 = alloca %"class.std::complex", align 8
  %61 = alloca %"class.std::complex", align 8
  %62 = alloca %"class.std::complex", align 8
  %63 = alloca %"class.std::complex", align 8
  %64 = alloca %"class.std::complex", align 8
  %65 = alloca %"class.std::complex", align 8
  %66 = alloca %"class.std::complex", align 8
  %67 = alloca %"class.std::complex", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store double %1, ptr %5, align 8, !tbaa !9
  store ptr %2, ptr %6, align 8, !tbaa !5
  %68 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %13, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %14, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %15, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %16, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %17, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %69 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %70 = load i32, ptr %69, align 8, !tbaa !11
  %71 = mul nsw i32 2, %70
  %72 = add nsw i32 %71, 1
  %73 = zext i32 %72 to i64
  %74 = call ptr @llvm.stacksave.p0()
  store ptr %74, ptr %18, align 8
  %75 = alloca %"class.std::complex", i64 %73, align 16
  store i64 %73, ptr %19, align 8
  %76 = icmp eq i64 %73, 0
  br i1 %76, label %83, label %77

77:                                               ; preds = %3
  %78 = getelementptr inbounds %"class.std::complex", ptr %75, i64 %73
  br label %79

79:                                               ; preds = %79, %77
  %80 = phi ptr [ %75, %77 ], [ %81, %79 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %80, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %81 = getelementptr inbounds %"class.std::complex", ptr %80, i64 1
  %82 = icmp eq ptr %81, %78
  br i1 %82, label %83, label %79

83:                                               ; preds = %79, %3
  %84 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %85 = load i32, ptr %84, align 8, !tbaa !11
  %86 = mul nsw i32 2, %85
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %89 = load i32, ptr %88, align 8, !tbaa !11
  %90 = zext i32 %89 to i64
  %91 = mul nuw i64 %87, %90
  %92 = alloca %"class.std::complex", i64 %91, align 16
  store i64 %87, ptr %20, align 8
  store i64 %90, ptr %21, align 8
  %93 = mul nuw i64 %87, %90
  %94 = icmp eq i64 %93, 0
  br i1 %94, label %101, label %95

95:                                               ; preds = %83
  %96 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %93
  br label %97

97:                                               ; preds = %97, %95
  %98 = phi ptr [ %92, %95 ], [ %99, %97 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %98, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %99 = getelementptr inbounds %"class.std::complex", ptr %98, i64 1
  %100 = icmp eq ptr %99, %96
  br i1 %100, label %101, label %97

101:                                              ; preds = %97, %83
  %102 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !11
  %104 = mul nsw i32 2, %103
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %107 = load i32, ptr %106, align 8, !tbaa !11
  %108 = zext i32 %107 to i64
  %109 = mul nuw i64 %105, %108
  %110 = alloca %"class.std::complex", i64 %109, align 16
  store i64 %105, ptr %22, align 8
  store i64 %108, ptr %23, align 8
  %111 = mul nuw i64 %105, %108
  %112 = icmp eq i64 %111, 0
  br i1 %112, label %119, label %113

113:                                              ; preds = %101
  %114 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %111
  br label %115

115:                                              ; preds = %115, %113
  %116 = phi ptr [ %110, %113 ], [ %117, %115 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %116, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %117 = getelementptr inbounds %"class.std::complex", ptr %116, i64 1
  %118 = icmp eq ptr %117, %114
  br i1 %118, label %119, label %115

119:                                              ; preds = %115, %101
  %120 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %121 = load i32, ptr %120, align 8, !tbaa !11
  %122 = mul nsw i32 2, %121
  %123 = add nsw i32 %122, 1
  %124 = zext i32 %123 to i64
  %125 = alloca %"class.std::complex", i64 %124, align 16
  store i64 %124, ptr %24, align 8
  %126 = icmp eq i64 %124, 0
  br i1 %126, label %133, label %127

127:                                              ; preds = %119
  %128 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %124
  br label %129

129:                                              ; preds = %129, %127
  %130 = phi ptr [ %125, %127 ], [ %131, %129 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %130, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %131 = getelementptr inbounds %"class.std::complex", ptr %130, i64 1
  %132 = icmp eq ptr %131, %128
  br i1 %132, label %133, label %129

133:                                              ; preds = %129, %119
  %134 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %135 = load i32, ptr %134, align 8, !tbaa !11
  %136 = mul nsw i32 2, %135
  %137 = add nsw i32 %136, 2
  %138 = zext i32 %137 to i64
  %139 = alloca %"class.std::complex", i64 %138, align 16
  store i64 %138, ptr %25, align 8
  %140 = icmp eq i64 %138, 0
  br i1 %140, label %147, label %141

141:                                              ; preds = %133
  %142 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %138
  br label %143

143:                                              ; preds = %143, %141
  %144 = phi ptr [ %139, %141 ], [ %145, %143 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %144, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %145 = getelementptr inbounds %"class.std::complex", ptr %144, i64 1
  %146 = icmp eq ptr %145, %142
  br i1 %146, label %147, label %143

147:                                              ; preds = %143, %133
  %148 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 1
  %149 = load i32, ptr %148, align 8, !tbaa !11
  %150 = mul nsw i32 2, %149
  %151 = add nsw i32 %150, 2
  %152 = zext i32 %151 to i64
  %153 = alloca %"class.std::complex", i64 %152, align 16
  store i64 %152, ptr %26, align 8
  %154 = icmp eq i64 %152, 0
  br i1 %154, label %161, label %155

155:                                              ; preds = %147
  %156 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %152
  br label %157

157:                                              ; preds = %157, %155
  %158 = phi ptr [ %153, %155 ], [ %159, %157 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %158, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %159 = getelementptr inbounds %"class.std::complex", ptr %158, i64 1
  %160 = icmp eq ptr %159, %156
  br i1 %160, label %161, label %157

161:                                              ; preds = %157, %147
  %162 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 3
  %163 = load double, ptr %162, align 8, !tbaa !18
  %164 = load double, ptr %5, align 8, !tbaa !9
  %165 = fmul double %163, %164
  store double %165, ptr %11, align 8, !tbaa !9
  %166 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 4
  %167 = load double, ptr %166, align 8, !tbaa !19
  %168 = call double @log(double noundef %167) #7
  %169 = fmul double -5.000000e-01, %168
  %170 = load double, ptr %11, align 8, !tbaa !9
  %171 = fdiv double %169, %170
  store double %171, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  store double 5.000000e-01, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #7
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = load double, ptr %12, align 8, !tbaa !9
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %30, double noundef %173, double noundef 0.000000e+00)
  %174 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 0
  %175 = load double, ptr %174, align 8
  %176 = getelementptr inbounds { double, double }, ptr %30, i32 0, i32 1
  %177 = load double, ptr %176, align 8
  %178 = call { double, double } %172(double %175, double %177)
  %179 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  %180 = getelementptr inbounds { double, double }, ptr %179, i32 0, i32 0
  %181 = extractvalue { double, double } %178, 0
  store double %181, ptr %180, align 8
  %182 = getelementptr inbounds { double, double }, ptr %179, i32 0, i32 1
  %183 = extractvalue { double, double } %178, 1
  store double %183, ptr %182, align 8
  %184 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %185 = getelementptr inbounds %"class.std::complex", ptr %27, i32 0, i32 0
  %186 = getelementptr inbounds { double, double }, ptr %185, i32 0, i32 0
  %187 = extractvalue { double, double } %184, 0
  store double %187, ptr %186, align 8
  %188 = getelementptr inbounds { double, double }, ptr %185, i32 0, i32 1
  %189 = extractvalue { double, double } %184, 1
  store double %189, ptr %188, align 8
  %190 = getelementptr inbounds %"class.std::complex", ptr %75, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %190, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #7
  store i32 1, ptr %7, align 4, !tbaa !22
  br label %191

191:                                              ; preds = %218, %161
  %192 = load i32, ptr %7, align 4, !tbaa !22
  %193 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %194 = load i32, ptr %193, align 4, !tbaa !23
  %195 = mul nsw i32 2, %194
  %196 = icmp sle i32 %192, %195
  br i1 %196, label %197, label %221

197:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #7
  %198 = load double, ptr %12, align 8, !tbaa !9
  %199 = load i32, ptr %7, align 4, !tbaa !22
  %200 = sitofp i32 %199 to double
  %201 = fmul double %200, 0x400921FB54442D18
  %202 = load double, ptr %11, align 8, !tbaa !9
  %203 = fdiv double %201, %202
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %31, double noundef %198, double noundef %203)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %31, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #7
  %204 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %17, i64 16, i1 false), !tbaa.struct !20
  %205 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 0
  %206 = load double, ptr %205, align 8
  %207 = getelementptr inbounds { double, double }, ptr %33, i32 0, i32 1
  %208 = load double, ptr %207, align 8
  %209 = call { double, double } %204(double %206, double %208)
  %210 = getelementptr inbounds %"class.std::complex", ptr %32, i32 0, i32 0
  %211 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 0
  %212 = extractvalue { double, double } %209, 0
  store double %212, ptr %211, align 8
  %213 = getelementptr inbounds { double, double }, ptr %210, i32 0, i32 1
  %214 = extractvalue { double, double } %209, 1
  store double %214, ptr %213, align 8
  %215 = load i32, ptr %7, align 4, !tbaa !22
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds %"class.std::complex", ptr %75, i64 %216
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %217, ptr align 8 %32, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #7
  br label %218

218:                                              ; preds = %197
  %219 = load i32, ptr %7, align 4, !tbaa !22
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %7, align 4, !tbaa !22
  br label %191, !llvm.loop !24

221:                                              ; preds = %191
  store i32 0, ptr %7, align 4, !tbaa !22
  br label %222

222:                                              ; preds = %253, %221
  %223 = load i32, ptr %7, align 4, !tbaa !22
  %224 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %225 = load i32, ptr %224, align 4, !tbaa !23
  %226 = mul nsw i32 2, %225
  %227 = icmp slt i32 %223, %226
  br i1 %227, label %228, label %256

228:                                              ; preds = %222
  %229 = load i32, ptr %7, align 4, !tbaa !22
  %230 = sext i32 %229 to i64
  %231 = mul nsw i64 %230, %90
  %232 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %231
  %233 = getelementptr inbounds %"class.std::complex", ptr %232, i64 0
  %234 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %233, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #7
  %235 = load i32, ptr %7, align 4, !tbaa !22
  %236 = add nsw i32 %235, 1
  %237 = sext i32 %236 to i64
  %238 = getelementptr inbounds %"class.std::complex", ptr %75, i64 %237
  %239 = load i32, ptr %7, align 4, !tbaa !22
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds %"class.std::complex", ptr %75, i64 %240
  %242 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %238, ptr noundef nonnull align 8 dereferenceable(16) %241)
  %243 = getelementptr inbounds %"class.std::complex", ptr %34, i32 0, i32 0
  %244 = getelementptr inbounds { double, double }, ptr %243, i32 0, i32 0
  %245 = extractvalue { double, double } %242, 0
  store double %245, ptr %244, align 8
  %246 = getelementptr inbounds { double, double }, ptr %243, i32 0, i32 1
  %247 = extractvalue { double, double } %242, 1
  store double %247, ptr %246, align 8
  %248 = load i32, ptr %7, align 4, !tbaa !22
  %249 = sext i32 %248 to i64
  %250 = mul nsw i64 %249, %108
  %251 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %250
  %252 = getelementptr inbounds %"class.std::complex", ptr %251, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %252, ptr align 8 %34, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #7
  br label %253

253:                                              ; preds = %228
  %254 = load i32, ptr %7, align 4, !tbaa !22
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %7, align 4, !tbaa !22
  br label %222, !llvm.loop !26

256:                                              ; preds = %222
  %257 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %258 = load i32, ptr %257, align 4, !tbaa !23
  %259 = mul nsw i32 2, %258
  %260 = sext i32 %259 to i64
  %261 = mul nsw i64 %260, %90
  %262 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %261
  %263 = getelementptr inbounds %"class.std::complex", ptr %262, i64 0
  %264 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %263, double noundef 0.000000e+00)
  store i32 1, ptr %10, align 4, !tbaa !22
  br label %265

265:                                              ; preds = %385, %256
  %266 = load i32, ptr %10, align 4, !tbaa !22
  %267 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %268 = load i32, ptr %267, align 4, !tbaa !23
  %269 = sub nsw i32 %268, 1
  %270 = icmp sle i32 %266, %269
  br i1 %270, label %271, label %388

271:                                              ; preds = %265
  %272 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %273 = load i32, ptr %272, align 4, !tbaa !23
  %274 = load i32, ptr %10, align 4, !tbaa !22
  %275 = sub nsw i32 %273, %274
  %276 = mul nsw i32 2, %275
  store i32 %276, ptr %7, align 4, !tbaa !22
  br label %277

277:                                              ; preds = %381, %271
  %278 = load i32, ptr %7, align 4, !tbaa !22
  %279 = icmp sge i32 %278, 0
  br i1 %279, label %280, label %384

280:                                              ; preds = %277
  %281 = load i32, ptr %7, align 4, !tbaa !22
  %282 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %283 = load i32, ptr %282, align 4, !tbaa !23
  %284 = load i32, ptr %10, align 4, !tbaa !22
  %285 = sub nsw i32 %283, %284
  %286 = mul nsw i32 2, %285
  %287 = icmp slt i32 %281, %286
  br i1 %287, label %288, label %337

288:                                              ; preds = %280
  %289 = load i32, ptr %10, align 4, !tbaa !22
  %290 = icmp sgt i32 %289, 1
  br i1 %290, label %291, label %337

291:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %36) #7
  %292 = load i32, ptr %7, align 4, !tbaa !22
  %293 = add nsw i32 %292, 1
  %294 = sext i32 %293 to i64
  %295 = mul nsw i64 %294, %108
  %296 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %295
  %297 = load i32, ptr %10, align 4, !tbaa !22
  %298 = sub nsw i32 %297, 1
  %299 = sext i32 %298 to i64
  %300 = getelementptr inbounds %"class.std::complex", ptr %296, i64 %299
  %301 = load i32, ptr %7, align 4, !tbaa !22
  %302 = add nsw i32 %301, 1
  %303 = sext i32 %302 to i64
  %304 = mul nsw i64 %303, %90
  %305 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %304
  %306 = load i32, ptr %10, align 4, !tbaa !22
  %307 = sub nsw i32 %306, 1
  %308 = sext i32 %307 to i64
  %309 = getelementptr inbounds %"class.std::complex", ptr %305, i64 %308
  %310 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %300, ptr noundef nonnull align 8 dereferenceable(16) %309)
  %311 = getelementptr inbounds %"class.std::complex", ptr %36, i32 0, i32 0
  %312 = getelementptr inbounds { double, double }, ptr %311, i32 0, i32 0
  %313 = extractvalue { double, double } %310, 0
  store double %313, ptr %312, align 8
  %314 = getelementptr inbounds { double, double }, ptr %311, i32 0, i32 1
  %315 = extractvalue { double, double } %310, 1
  store double %315, ptr %314, align 8
  %316 = load i32, ptr %7, align 4, !tbaa !22
  %317 = sext i32 %316 to i64
  %318 = mul nsw i64 %317, %90
  %319 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %318
  %320 = load i32, ptr %10, align 4, !tbaa !22
  %321 = sub nsw i32 %320, 1
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds %"class.std::complex", ptr %319, i64 %322
  %324 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %36, ptr noundef nonnull align 8 dereferenceable(16) %323)
  %325 = getelementptr inbounds %"class.std::complex", ptr %35, i32 0, i32 0
  %326 = getelementptr inbounds { double, double }, ptr %325, i32 0, i32 0
  %327 = extractvalue { double, double } %324, 0
  store double %327, ptr %326, align 8
  %328 = getelementptr inbounds { double, double }, ptr %325, i32 0, i32 1
  %329 = extractvalue { double, double } %324, 1
  store double %329, ptr %328, align 8
  %330 = load i32, ptr %7, align 4, !tbaa !22
  %331 = sext i32 %330 to i64
  %332 = mul nsw i64 %331, %108
  %333 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %332
  %334 = load i32, ptr %10, align 4, !tbaa !22
  %335 = sext i32 %334 to i64
  %336 = getelementptr inbounds %"class.std::complex", ptr %333, i64 %335
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %336, ptr align 8 %35, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #7
  br label %337

337:                                              ; preds = %291, %288, %280
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #7
  %338 = load i32, ptr %7, align 4, !tbaa !22
  %339 = add nsw i32 %338, 1
  %340 = sext i32 %339 to i64
  %341 = mul nsw i64 %340, %108
  %342 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %341
  %343 = load i32, ptr %10, align 4, !tbaa !22
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds %"class.std::complex", ptr %342, i64 %344
  %346 = load i32, ptr %7, align 4, !tbaa !22
  %347 = sext i32 %346 to i64
  %348 = mul nsw i64 %347, %108
  %349 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %348
  %350 = load i32, ptr %10, align 4, !tbaa !22
  %351 = sext i32 %350 to i64
  %352 = getelementptr inbounds %"class.std::complex", ptr %349, i64 %351
  %353 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %345, ptr noundef nonnull align 8 dereferenceable(16) %352)
  %354 = getelementptr inbounds %"class.std::complex", ptr %38, i32 0, i32 0
  %355 = getelementptr inbounds { double, double }, ptr %354, i32 0, i32 0
  %356 = extractvalue { double, double } %353, 0
  store double %356, ptr %355, align 8
  %357 = getelementptr inbounds { double, double }, ptr %354, i32 0, i32 1
  %358 = extractvalue { double, double } %353, 1
  store double %358, ptr %357, align 8
  %359 = load i32, ptr %7, align 4, !tbaa !22
  %360 = add nsw i32 %359, 1
  %361 = sext i32 %360 to i64
  %362 = mul nsw i64 %361, %90
  %363 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %362
  %364 = load i32, ptr %10, align 4, !tbaa !22
  %365 = sub nsw i32 %364, 1
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds %"class.std::complex", ptr %363, i64 %366
  %368 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(16) %367)
  %369 = getelementptr inbounds %"class.std::complex", ptr %37, i32 0, i32 0
  %370 = getelementptr inbounds { double, double }, ptr %369, i32 0, i32 0
  %371 = extractvalue { double, double } %368, 0
  store double %371, ptr %370, align 8
  %372 = getelementptr inbounds { double, double }, ptr %369, i32 0, i32 1
  %373 = extractvalue { double, double } %368, 1
  store double %373, ptr %372, align 8
  %374 = load i32, ptr %7, align 4, !tbaa !22
  %375 = sext i32 %374 to i64
  %376 = mul nsw i64 %375, %90
  %377 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %376
  %378 = load i32, ptr %10, align 4, !tbaa !22
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds %"class.std::complex", ptr %377, i64 %379
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %380, ptr align 8 %37, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #7
  br label %381

381:                                              ; preds = %337
  %382 = load i32, ptr %7, align 4, !tbaa !22
  %383 = add nsw i32 %382, -1
  store i32 %383, ptr %7, align 4, !tbaa !22
  br label %277, !llvm.loop !27

384:                                              ; preds = %277
  br label %385

385:                                              ; preds = %384
  %386 = load i32, ptr %10, align 4, !tbaa !22
  %387 = add nsw i32 %386, 1
  store i32 %387, ptr %10, align 4, !tbaa !22
  br label %265, !llvm.loop !28

388:                                              ; preds = %265
  %389 = getelementptr inbounds %"class.std::complex", ptr %75, i64 0
  %390 = getelementptr inbounds %"class.std::complex", ptr %125, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %390, ptr align 16 %389, i64 16, i1 false), !tbaa.struct !20
  store i32 1, ptr %9, align 4, !tbaa !22
  br label %391

391:                                              ; preds = %428, %388
  %392 = load i32, ptr %9, align 4, !tbaa !22
  %393 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %394 = load i32, ptr %393, align 4, !tbaa !23
  %395 = icmp sle i32 %392, %394
  br i1 %395, label %396, label %431

396:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 16, ptr %39) #7
  %397 = mul nsw i64 0, %108
  %398 = getelementptr inbounds %"class.std::complex", ptr %110, i64 %397
  %399 = load i32, ptr %9, align 4, !tbaa !22
  %400 = sext i32 %399 to i64
  %401 = getelementptr inbounds %"class.std::complex", ptr %398, i64 %400
  %402 = call { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %401)
  %403 = getelementptr inbounds %"class.std::complex", ptr %39, i32 0, i32 0
  %404 = getelementptr inbounds { double, double }, ptr %403, i32 0, i32 0
  %405 = extractvalue { double, double } %402, 0
  store double %405, ptr %404, align 8
  %406 = getelementptr inbounds { double, double }, ptr %403, i32 0, i32 1
  %407 = extractvalue { double, double } %402, 1
  store double %407, ptr %406, align 8
  %408 = load i32, ptr %9, align 4, !tbaa !22
  %409 = mul nsw i32 2, %408
  %410 = sub nsw i32 %409, 1
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %411
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %412, ptr align 8 %39, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %39) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #7
  %413 = mul nsw i64 0, %90
  %414 = getelementptr inbounds %"class.std::complex", ptr %92, i64 %413
  %415 = load i32, ptr %9, align 4, !tbaa !22
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds %"class.std::complex", ptr %414, i64 %416
  %418 = call { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %417)
  %419 = getelementptr inbounds %"class.std::complex", ptr %40, i32 0, i32 0
  %420 = getelementptr inbounds { double, double }, ptr %419, i32 0, i32 0
  %421 = extractvalue { double, double } %418, 0
  store double %421, ptr %420, align 8
  %422 = getelementptr inbounds { double, double }, ptr %419, i32 0, i32 1
  %423 = extractvalue { double, double } %418, 1
  store double %423, ptr %422, align 8
  %424 = load i32, ptr %9, align 4, !tbaa !22
  %425 = mul nsw i32 2, %424
  %426 = sext i32 %425 to i64
  %427 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %426
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %427, ptr align 8 %40, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #7
  br label %428

428:                                              ; preds = %396
  %429 = load i32, ptr %9, align 4, !tbaa !22
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %9, align 4, !tbaa !22
  br label %391, !llvm.loop !29

431:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #7
  %432 = load double, ptr %5, align 8, !tbaa !9
  %433 = fmul double 0x400921FB54442D18, %432
  %434 = load double, ptr %11, align 8, !tbaa !9
  %435 = fdiv double %433, %434
  %436 = call double @cos(double noundef %435) #7
  %437 = load double, ptr %5, align 8, !tbaa !9
  %438 = fmul double 0x400921FB54442D18, %437
  %439 = load double, ptr %11, align 8, !tbaa !9
  %440 = fdiv double %438, %439
  %441 = call double @sin(double noundef %440) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %41, double noundef %436, double noundef %441)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %41, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #7
  %442 = getelementptr inbounds %"class.std::complex", ptr %139, i64 0
  %443 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %442, double noundef 0.000000e+00)
  %444 = getelementptr inbounds %"class.std::complex", ptr %125, i64 0
  %445 = getelementptr inbounds %"class.std::complex", ptr %139, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %445, ptr align 16 %444, i64 16, i1 false), !tbaa.struct !20
  %446 = getelementptr inbounds %"class.std::complex", ptr %153, i64 0
  %447 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %446, double noundef 1.000000e+00)
  %448 = getelementptr inbounds %"class.std::complex", ptr %153, i64 1
  %449 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %448, double noundef 1.000000e+00)
  store i32 2, ptr %8, align 4, !tbaa !22
  br label %450

450:                                              ; preds = %514, %431
  %451 = load i32, ptr %8, align 4, !tbaa !22
  %452 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %453 = load i32, ptr %452, align 4, !tbaa !23
  %454 = mul nsw i32 2, %453
  %455 = add nsw i32 %454, 1
  %456 = icmp sle i32 %451, %455
  br i1 %456, label %457, label %517

457:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #7
  %458 = load i32, ptr %8, align 4, !tbaa !22
  %459 = sub nsw i32 %458, 1
  %460 = sext i32 %459 to i64
  %461 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %460
  %462 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %461, ptr noundef nonnull align 8 dereferenceable(16) %15)
  %463 = getelementptr inbounds %"class.std::complex", ptr %42, i32 0, i32 0
  %464 = getelementptr inbounds { double, double }, ptr %463, i32 0, i32 0
  %465 = extractvalue { double, double } %462, 0
  store double %465, ptr %464, align 8
  %466 = getelementptr inbounds { double, double }, ptr %463, i32 0, i32 1
  %467 = extractvalue { double, double } %462, 1
  store double %467, ptr %466, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %42, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #7
  %468 = load i32, ptr %8, align 4, !tbaa !22
  %469 = sub nsw i32 %468, 1
  %470 = sext i32 %469 to i64
  %471 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %470
  call void @llvm.lifetime.start.p0(i64 16, ptr %44) #7
  %472 = load i32, ptr %8, align 4, !tbaa !22
  %473 = sub nsw i32 %472, 2
  %474 = sext i32 %473 to i64
  %475 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %474
  %476 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %475)
  %477 = getelementptr inbounds %"class.std::complex", ptr %44, i32 0, i32 0
  %478 = getelementptr inbounds { double, double }, ptr %477, i32 0, i32 0
  %479 = extractvalue { double, double } %476, 0
  store double %479, ptr %478, align 8
  %480 = getelementptr inbounds { double, double }, ptr %477, i32 0, i32 1
  %481 = extractvalue { double, double } %476, 1
  store double %481, ptr %480, align 8
  %482 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %471, ptr noundef nonnull align 8 dereferenceable(16) %44)
  %483 = getelementptr inbounds %"class.std::complex", ptr %43, i32 0, i32 0
  %484 = getelementptr inbounds { double, double }, ptr %483, i32 0, i32 0
  %485 = extractvalue { double, double } %482, 0
  store double %485, ptr %484, align 8
  %486 = getelementptr inbounds { double, double }, ptr %483, i32 0, i32 1
  %487 = extractvalue { double, double } %482, 1
  store double %487, ptr %486, align 8
  %488 = load i32, ptr %8, align 4, !tbaa !22
  %489 = sext i32 %488 to i64
  %490 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %489
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %490, ptr align 8 %43, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %45) #7
  %491 = load i32, ptr %8, align 4, !tbaa !22
  %492 = sub nsw i32 %491, 1
  %493 = sext i32 %492 to i64
  %494 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %493
  call void @llvm.lifetime.start.p0(i64 16, ptr %46) #7
  %495 = load i32, ptr %8, align 4, !tbaa !22
  %496 = sub nsw i32 %495, 2
  %497 = sext i32 %496 to i64
  %498 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %497
  %499 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(16) %498)
  %500 = getelementptr inbounds %"class.std::complex", ptr %46, i32 0, i32 0
  %501 = getelementptr inbounds { double, double }, ptr %500, i32 0, i32 0
  %502 = extractvalue { double, double } %499, 0
  store double %502, ptr %501, align 8
  %503 = getelementptr inbounds { double, double }, ptr %500, i32 0, i32 1
  %504 = extractvalue { double, double } %499, 1
  store double %504, ptr %503, align 8
  %505 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %494, ptr noundef nonnull align 8 dereferenceable(16) %46)
  %506 = getelementptr inbounds %"class.std::complex", ptr %45, i32 0, i32 0
  %507 = getelementptr inbounds { double, double }, ptr %506, i32 0, i32 0
  %508 = extractvalue { double, double } %505, 0
  store double %508, ptr %507, align 8
  %509 = getelementptr inbounds { double, double }, ptr %506, i32 0, i32 1
  %510 = extractvalue { double, double } %505, 1
  store double %510, ptr %509, align 8
  %511 = load i32, ptr %8, align 4, !tbaa !22
  %512 = sext i32 %511 to i64
  %513 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %512
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %513, ptr align 8 %45, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %46) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %45) #7
  br label %514

514:                                              ; preds = %457
  %515 = load i32, ptr %8, align 4, !tbaa !22
  %516 = add nsw i32 %515, 1
  store i32 %516, ptr %8, align 4, !tbaa !22
  br label %450, !llvm.loop !30

517:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 16, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #7
  store double 5.000000e-01, ptr %48, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #7
  store double 1.000000e+00, ptr %50, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %51) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %52) #7
  %518 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %519 = load i32, ptr %518, align 4, !tbaa !23
  %520 = mul nsw i32 2, %519
  %521 = sub nsw i32 %520, 1
  %522 = sext i32 %521 to i64
  %523 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %522
  %524 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %525 = load i32, ptr %524, align 4, !tbaa !23
  %526 = mul nsw i32 2, %525
  %527 = sext i32 %526 to i64
  %528 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %527
  %529 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %523, ptr noundef nonnull align 8 dereferenceable(16) %528)
  %530 = getelementptr inbounds %"class.std::complex", ptr %52, i32 0, i32 0
  %531 = getelementptr inbounds { double, double }, ptr %530, i32 0, i32 0
  %532 = extractvalue { double, double } %529, 0
  store double %532, ptr %531, align 8
  %533 = getelementptr inbounds { double, double }, ptr %530, i32 0, i32 1
  %534 = extractvalue { double, double } %529, 1
  store double %534, ptr %533, align 8
  %535 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %52)
  %536 = getelementptr inbounds %"class.std::complex", ptr %51, i32 0, i32 0
  %537 = getelementptr inbounds { double, double }, ptr %536, i32 0, i32 0
  %538 = extractvalue { double, double } %535, 0
  store double %538, ptr %537, align 8
  %539 = getelementptr inbounds { double, double }, ptr %536, i32 0, i32 1
  %540 = extractvalue { double, double } %535, 1
  store double %540, ptr %539, align 8
  %541 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull align 8 dereferenceable(16) %51)
  %542 = getelementptr inbounds %"class.std::complex", ptr %49, i32 0, i32 0
  %543 = getelementptr inbounds { double, double }, ptr %542, i32 0, i32 0
  %544 = extractvalue { double, double } %541, 0
  store double %544, ptr %543, align 8
  %545 = getelementptr inbounds { double, double }, ptr %542, i32 0, i32 1
  %546 = extractvalue { double, double } %541, 1
  store double %546, ptr %545, align 8
  %547 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(16) %49)
  %548 = getelementptr inbounds %"class.std::complex", ptr %47, i32 0, i32 0
  %549 = getelementptr inbounds { double, double }, ptr %548, i32 0, i32 0
  %550 = extractvalue { double, double } %547, 0
  store double %550, ptr %549, align 8
  %551 = getelementptr inbounds { double, double }, ptr %548, i32 0, i32 1
  %552 = extractvalue { double, double } %547, 1
  store double %552, ptr %551, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %47, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %52) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %47) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %54) #7
  %553 = call { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %13)
  %554 = getelementptr inbounds %"class.std::complex", ptr %54, i32 0, i32 0
  %555 = getelementptr inbounds { double, double }, ptr %554, i32 0, i32 0
  %556 = extractvalue { double, double } %553, 0
  store double %556, ptr %555, align 8
  %557 = getelementptr inbounds { double, double }, ptr %554, i32 0, i32 1
  %558 = extractvalue { double, double } %553, 1
  store double %558, ptr %557, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %55) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #7
  store double 1.000000e+00, ptr %56, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %57) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #7
  store double 1.000000e+00, ptr %59, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #7
  %559 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %560 = load i32, ptr %559, align 4, !tbaa !23
  %561 = mul nsw i32 2, %560
  %562 = sext i32 %561 to i64
  %563 = getelementptr inbounds %"class.std::complex", ptr %125, i64 %562
  %564 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(16) %563)
  %565 = getelementptr inbounds %"class.std::complex", ptr %62, i32 0, i32 0
  %566 = getelementptr inbounds { double, double }, ptr %565, i32 0, i32 0
  %567 = extractvalue { double, double } %564, 0
  store double %567, ptr %566, align 8
  %568 = getelementptr inbounds { double, double }, ptr %565, i32 0, i32 1
  %569 = extractvalue { double, double } %564, 1
  store double %569, ptr %568, align 8
  %570 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %571 = getelementptr inbounds %"class.std::complex", ptr %61, i32 0, i32 0
  %572 = getelementptr inbounds { double, double }, ptr %571, i32 0, i32 0
  %573 = extractvalue { double, double } %570, 0
  store double %573, ptr %572, align 8
  %574 = getelementptr inbounds { double, double }, ptr %571, i32 0, i32 1
  %575 = extractvalue { double, double } %570, 1
  store double %575, ptr %574, align 8
  %576 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %577 = getelementptr inbounds %"class.std::complex", ptr %60, i32 0, i32 0
  %578 = getelementptr inbounds { double, double }, ptr %577, i32 0, i32 0
  %579 = extractvalue { double, double } %576, 0
  store double %579, ptr %578, align 8
  %580 = getelementptr inbounds { double, double }, ptr %577, i32 0, i32 1
  %581 = extractvalue { double, double } %576, 1
  store double %581, ptr %580, align 8
  %582 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(16) %60)
  %583 = getelementptr inbounds %"class.std::complex", ptr %58, i32 0, i32 0
  %584 = getelementptr inbounds { double, double }, ptr %583, i32 0, i32 0
  %585 = extractvalue { double, double } %582, 0
  store double %585, ptr %584, align 8
  %586 = getelementptr inbounds { double, double }, ptr %583, i32 0, i32 1
  %587 = extractvalue { double, double } %582, 1
  store double %587, ptr %586, align 8
  %588 = call { double, double } @_ZSt4sqrtIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %58)
  %589 = getelementptr inbounds %"class.std::complex", ptr %57, i32 0, i32 0
  %590 = getelementptr inbounds { double, double }, ptr %589, i32 0, i32 0
  %591 = extractvalue { double, double } %588, 0
  store double %591, ptr %590, align 8
  %592 = getelementptr inbounds { double, double }, ptr %589, i32 0, i32 1
  %593 = extractvalue { double, double } %588, 1
  store double %593, ptr %592, align 8
  %594 = call { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(16) %57)
  %595 = getelementptr inbounds %"class.std::complex", ptr %55, i32 0, i32 0
  %596 = getelementptr inbounds { double, double }, ptr %595, i32 0, i32 0
  %597 = extractvalue { double, double } %594, 0
  store double %597, ptr %596, align 8
  %598 = getelementptr inbounds { double, double }, ptr %595, i32 0, i32 1
  %599 = extractvalue { double, double } %594, 1
  store double %599, ptr %598, align 8
  %600 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %55)
  %601 = getelementptr inbounds %"class.std::complex", ptr %53, i32 0, i32 0
  %602 = getelementptr inbounds { double, double }, ptr %601, i32 0, i32 0
  %603 = extractvalue { double, double } %600, 0
  store double %603, ptr %602, align 8
  %604 = getelementptr inbounds { double, double }, ptr %601, i32 0, i32 1
  %605 = extractvalue { double, double } %600, 1
  store double %605, ptr %604, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %53, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %57) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %55) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %54) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %53) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #7
  %606 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %607 = load i32, ptr %606, align 4, !tbaa !23
  %608 = mul nsw i32 2, %607
  %609 = sext i32 %608 to i64
  %610 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %609
  call void @llvm.lifetime.start.p0(i64 16, ptr %64) #7
  %611 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %612 = load i32, ptr %611, align 4, !tbaa !23
  %613 = mul nsw i32 2, %612
  %614 = sub nsw i32 %613, 1
  %615 = sext i32 %614 to i64
  %616 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %615
  %617 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %616)
  %618 = getelementptr inbounds %"class.std::complex", ptr %64, i32 0, i32 0
  %619 = getelementptr inbounds { double, double }, ptr %618, i32 0, i32 0
  %620 = extractvalue { double, double } %617, 0
  store double %620, ptr %619, align 8
  %621 = getelementptr inbounds { double, double }, ptr %618, i32 0, i32 1
  %622 = extractvalue { double, double } %617, 1
  store double %622, ptr %621, align 8
  %623 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %610, ptr noundef nonnull align 8 dereferenceable(16) %64)
  %624 = getelementptr inbounds %"class.std::complex", ptr %63, i32 0, i32 0
  %625 = getelementptr inbounds { double, double }, ptr %624, i32 0, i32 0
  %626 = extractvalue { double, double } %623, 0
  store double %626, ptr %625, align 8
  %627 = getelementptr inbounds { double, double }, ptr %624, i32 0, i32 1
  %628 = extractvalue { double, double } %623, 1
  store double %628, ptr %627, align 8
  %629 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %630 = load i32, ptr %629, align 4, !tbaa !23
  %631 = mul nsw i32 2, %630
  %632 = add nsw i32 %631, 1
  %633 = sext i32 %632 to i64
  %634 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %633
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %634, ptr align 8 %63, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %64) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %65) #7
  %635 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %636 = load i32, ptr %635, align 4, !tbaa !23
  %637 = mul nsw i32 2, %636
  %638 = sext i32 %637 to i64
  %639 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %638
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #7
  %640 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %641 = load i32, ptr %640, align 4, !tbaa !23
  %642 = mul nsw i32 2, %641
  %643 = sub nsw i32 %642, 1
  %644 = sext i32 %643 to i64
  %645 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %644
  %646 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %645)
  %647 = getelementptr inbounds %"class.std::complex", ptr %66, i32 0, i32 0
  %648 = getelementptr inbounds { double, double }, ptr %647, i32 0, i32 0
  %649 = extractvalue { double, double } %646, 0
  store double %649, ptr %648, align 8
  %650 = getelementptr inbounds { double, double }, ptr %647, i32 0, i32 1
  %651 = extractvalue { double, double } %646, 1
  store double %651, ptr %650, align 8
  %652 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %639, ptr noundef nonnull align 8 dereferenceable(16) %66)
  %653 = getelementptr inbounds %"class.std::complex", ptr %65, i32 0, i32 0
  %654 = getelementptr inbounds { double, double }, ptr %653, i32 0, i32 0
  %655 = extractvalue { double, double } %652, 0
  store double %655, ptr %654, align 8
  %656 = getelementptr inbounds { double, double }, ptr %653, i32 0, i32 1
  %657 = extractvalue { double, double } %652, 1
  store double %657, ptr %656, align 8
  %658 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %659 = load i32, ptr %658, align 4, !tbaa !23
  %660 = mul nsw i32 2, %659
  %661 = add nsw i32 %660, 1
  %662 = sext i32 %661 to i64
  %663 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %662
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %663, ptr align 8 %65, i64 16, i1 false), !tbaa.struct !20
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %65) #7
  %664 = load double, ptr %11, align 8, !tbaa !9
  %665 = fdiv double 1.000000e+00, %664
  %666 = load double, ptr %12, align 8, !tbaa !9
  %667 = load double, ptr %5, align 8, !tbaa !9
  %668 = fmul double %666, %667
  %669 = call double @exp(double noundef %668) #7
  %670 = fmul double %665, %669
  call void @llvm.lifetime.start.p0(i64 16, ptr %67) #7
  %671 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %672 = load i32, ptr %671, align 4, !tbaa !23
  %673 = mul nsw i32 2, %672
  %674 = add nsw i32 %673, 1
  %675 = sext i32 %674 to i64
  %676 = getelementptr inbounds %"class.std::complex", ptr %139, i64 %675
  %677 = getelementptr inbounds %class.DeHoogAlgorithm, ptr %68, i32 0, i32 2
  %678 = load i32, ptr %677, align 4, !tbaa !23
  %679 = mul nsw i32 2, %678
  %680 = add nsw i32 %679, 1
  %681 = sext i32 %680 to i64
  %682 = getelementptr inbounds %"class.std::complex", ptr %153, i64 %681
  %683 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %676, ptr noundef nonnull align 8 dereferenceable(16) %682)
  %684 = getelementptr inbounds %"class.std::complex", ptr %67, i32 0, i32 0
  %685 = getelementptr inbounds { double, double }, ptr %684, i32 0, i32 0
  %686 = extractvalue { double, double } %683, 0
  store double %686, ptr %685, align 8
  %687 = getelementptr inbounds { double, double }, ptr %684, i32 0, i32 1
  %688 = extractvalue { double, double } %683, 1
  store double %688, ptr %687, align 8
  %689 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %67)
  %690 = fmul double %670, %689
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #7
  %691 = load ptr, ptr %18, align 8
  call void @llvm.stackrestore.p0(ptr %691)
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  ret double %690
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4

; Function Attrs: nounwind
declare double @log(double noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: nounwind
declare double @cos(double noundef) #5

; Function Attrs: nounwind
declare double @sin(double noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZSt4sqrtIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16)) #6

; Function Attrs: nounwind
declare double @exp(double noundef) #5

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { nocallback nofree nosync nounwind willreturn }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"double", !7, i64 0}
!11 = !{!12, !17, i64 40}
!12 = !{!"_ZTS15DeHoogAlgorithm", !13, i64 0, !17, i64 40, !17, i64 44, !10, i64 48, !10, i64 56}
!13 = !{!"_ZTS23InverseLaplaceAlgorithm", !14, i64 8}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !7, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!16 = !{!"long", !7, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!12, !10, i64 48}
!19 = !{!12, !10, i64 56}
!20 = !{i64 0, i64 16, !21}
!21 = !{!7, !7, i64 0}
!22 = !{!17, !17, i64 0}
!23 = !{!12, !17, i64 44}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}
!29 = distinct !{!29, !25}
!30 = distinct !{!30, !25}


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

%"class.std::complex" = type { { double, double } }

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

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

; Function Attrs: mustprogress 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) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN15DeHoogAlgorithm8EvaluateEdPFSt7complexIdES1_E(ptr nocapture noundef nonnull readonly align 8 dereferenceable(64) %0, double noundef %1, ptr nocapture noundef readonly %2) unnamed_addr #2 align 2 {
  %4 = alloca %"class.std::complex", align 8
  %5 = alloca %"class.std::complex", align 8
  %6 = alloca %"class.std::complex", align 8
  %7 = alloca %"class.std::complex", align 8
  %8 = alloca %"class.std::complex", align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.std::complex", align 8
  %11 = alloca %"class.std::complex", align 8
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = alloca %"class.std::complex", align 8
  %17 = alloca %"class.std::complex", align 8
  %18 = alloca double, align 8
  %19 = alloca %"class.std::complex", align 8
  %20 = alloca double, align 8
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca double, align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca double, align 8
  %29 = alloca %"class.std::complex", align 8
  %30 = alloca %"class.std::complex", align 8
  %31 = alloca %"class.std::complex", align 8
  %32 = alloca %"class.std::complex", align 8
  %33 = alloca %"class.std::complex", align 8
  %34 = alloca %"class.std::complex", align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %4, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %5, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %6, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %7, double noundef 0.000000e+00, double noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %8, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %35 = getelementptr inbounds i8, ptr %0, i64 40
  %36 = load i32, ptr %35, align 8, !tbaa !5
  %37 = shl nsw i32 %36, 1
  %38 = or disjoint i32 %37, 1
  %39 = zext i32 %38 to i64
  %40 = call ptr @llvm.stacksave.p0()
  %41 = alloca %"class.std::complex", i64 %39, align 16
  %42 = getelementptr inbounds %"class.std::complex", ptr %41, i64 %39
  br label %43

43:                                               ; preds = %43, %3
  %44 = phi ptr [ %41, %3 ], [ %45, %43 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %44, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %46 = icmp eq ptr %45, %42
  br i1 %46, label %47, label %43

47:                                               ; preds = %43
  %48 = load i32, ptr %35, align 8, !tbaa !5
  %49 = shl nsw i32 %48, 1
  %50 = zext i32 %49 to i64
  %51 = zext i32 %48 to i64
  %52 = mul nuw i64 %50, %51
  %53 = alloca %"class.std::complex", i64 %52, align 16
  %54 = icmp eq i64 %52, 0
  br i1 %54, label %.loopexit105.thread, label %56

.loopexit105.thread:                              ; preds = %47
  %55 = alloca %"class.std::complex", i64 %52, align 16
  br label %.loopexit104

56:                                               ; preds = %47
  %57 = getelementptr inbounds %"class.std::complex", ptr %53, i64 %52
  br label %58

58:                                               ; preds = %58, %56
  %59 = phi ptr [ %53, %56 ], [ %60, %58 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %59, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %60 = getelementptr inbounds i8, ptr %59, i64 16
  %61 = icmp eq ptr %60, %57
  br i1 %61, label %.loopexit105, label %58

.loopexit105:                                     ; preds = %58
  %.pre = load i32, ptr %35, align 8, !tbaa !5
  %.pre177 = shl nsw i32 %.pre, 1
  %.pre178 = zext i32 %.pre177 to i64
  %.pre180 = zext i32 %.pre to i64
  %.pre182 = mul nuw i64 %.pre178, %.pre180
  %62 = alloca %"class.std::complex", i64 %.pre182, align 16
  %63 = icmp eq i64 %.pre182, 0
  br i1 %63, label %.loopexit104, label %64

64:                                               ; preds = %.loopexit105
  %65 = getelementptr inbounds %"class.std::complex", ptr %62, i64 %.pre182
  br label %66

66:                                               ; preds = %66, %64
  %67 = phi ptr [ %62, %64 ], [ %68, %66 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %67, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  %69 = icmp eq ptr %68, %65
  br i1 %69, label %.loopexit104.loopexit, label %66

.loopexit104.loopexit:                            ; preds = %66
  %.pre175 = load i32, ptr %35, align 8, !tbaa !5
  %.pre184 = shl nsw i32 %.pre175, 1
  br label %.loopexit104

.loopexit104:                                     ; preds = %.loopexit105.thread, %.loopexit104.loopexit, %.loopexit105
  %70 = phi ptr [ %62, %.loopexit104.loopexit ], [ %62, %.loopexit105 ], [ %55, %.loopexit105.thread ]
  %.pre-phi181211 = phi i64 [ %.pre180, %.loopexit104.loopexit ], [ %.pre180, %.loopexit105 ], [ %51, %.loopexit105.thread ]
  %.pre-phi185 = phi i32 [ %.pre184, %.loopexit104.loopexit ], [ %.pre177, %.loopexit105 ], [ %49, %.loopexit105.thread ]
  %71 = or disjoint i32 %.pre-phi185, 1
  %72 = zext i32 %71 to i64
  %73 = alloca %"class.std::complex", i64 %72, align 16
  %74 = getelementptr inbounds %"class.std::complex", ptr %73, i64 %72
  br label %75

75:                                               ; preds = %75, %.loopexit104
  %76 = phi ptr [ %73, %.loopexit104 ], [ %77, %75 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %76, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  %78 = icmp eq ptr %77, %74
  br i1 %78, label %79, label %75

79:                                               ; preds = %75
  %80 = load i32, ptr %35, align 8, !tbaa !5
  %81 = shl nsw i32 %80, 1
  %82 = add nsw i32 %81, 2
  %83 = zext i32 %82 to i64
  %84 = alloca %"class.std::complex", i64 %83, align 16
  %85 = icmp eq i32 %82, 0
  br i1 %85, label %.loopexit103.thread, label %87

.loopexit103.thread:                              ; preds = %79
  %86 = alloca %"class.std::complex", i64 %83, align 16
  br label %.loopexit

87:                                               ; preds = %79
  %88 = getelementptr inbounds %"class.std::complex", ptr %84, i64 %83
  br label %89

89:                                               ; preds = %89, %87
  %90 = phi ptr [ %84, %87 ], [ %91, %89 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %90, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %91 = getelementptr inbounds i8, ptr %90, i64 16
  %92 = icmp eq ptr %91, %88
  br i1 %92, label %.loopexit103, label %89

.loopexit103:                                     ; preds = %89
  %.pre176 = load i32, ptr %35, align 8, !tbaa !5
  %.pre186 = shl nsw i32 %.pre176, 1
  %.pre188 = add nsw i32 %.pre186, 2
  %.pre190 = zext i32 %.pre188 to i64
  %93 = icmp eq i32 %.pre188, 0
  %94 = alloca %"class.std::complex", i64 %.pre190, align 16
  br i1 %93, label %.loopexit, label %95

95:                                               ; preds = %.loopexit103
  %96 = getelementptr inbounds %"class.std::complex", ptr %94, i64 %.pre190
  br label %97

97:                                               ; preds = %97, %95
  %98 = phi ptr [ %94, %95 ], [ %99, %97 ]
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %98, double noundef 0.000000e+00, double noundef 0.000000e+00)
  %99 = getelementptr inbounds i8, ptr %98, i64 16
  %100 = icmp eq ptr %99, %96
  br i1 %100, label %.loopexit, label %97

.loopexit:                                        ; preds = %97, %.loopexit103.thread, %.loopexit103
  %101 = phi ptr [ %86, %.loopexit103.thread ], [ %94, %.loopexit103 ], [ %94, %97 ]
  %102 = getelementptr inbounds i8, ptr %0, i64 48
  %103 = load double, ptr %102, align 8, !tbaa !16
  %104 = fmul double %103, %1
  %105 = getelementptr inbounds i8, ptr %0, i64 56
  %106 = load double, ptr %105, align 8, !tbaa !17
  %107 = call double @log(double noundef %106) #7
  %108 = fmul double %107, -5.000000e-01
  %109 = fdiv double %108, %104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  store double 5.000000e-01, ptr %9, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %11, double noundef %109, double noundef 0.000000e+00)
  %110 = load double, ptr %11, align 8
  %111 = getelementptr inbounds i8, ptr %11, i64 8
  %112 = load double, ptr %111, align 8
  %113 = call { double, double } %2(double %110, double %112)
  %114 = extractvalue { double, double } %113, 0
  store double %114, ptr %10, align 8
  %115 = getelementptr inbounds i8, ptr %10, i64 8
  %116 = extractvalue { double, double } %113, 1
  store double %116, ptr %115, align 8
  %117 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(16) %10)
  %118 = extractvalue { double, double } %117, 0
  %119 = extractvalue { double, double } %117, 1
  store double %118, ptr %41, align 16
  %.sroa.428.0..sroa_idx = getelementptr inbounds i8, ptr %41, i64 8
  store double %119, ptr %.sroa.428.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %120 = getelementptr inbounds i8, ptr %0, i64 44
  %121 = load i32, ptr %120, align 4, !tbaa !20
  %.not108 = icmp slt i32 %121, 1
  br i1 %.not108, label %.preheader.thread, label %.lr.ph

.preheader.thread:                                ; preds = %.loopexit
  %.pre192 = shl nsw i32 %121, 1
  br label %.preheader.._crit_edge_crit_edge

.lr.ph:                                           ; preds = %.loopexit
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  br label %123

.preheader:                                       ; preds = %123
  %122 = icmp sgt i32 %132, 0
  br i1 %122, label %.lr.ph111, label %.preheader.._crit_edge_crit_edge

.preheader.._crit_edge_crit_edge:                 ; preds = %.preheader.thread, %.preheader
  %.pre-phi193215 = phi i32 [ %.pre192, %.preheader.thread ], [ %133, %.preheader ]
  %.pre194 = sext i32 %.pre-phi193215 to i64
  br label %._crit_edge

123:                                              ; preds = %.lr.ph, %123
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %123 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #7
  %124 = trunc nuw nsw i64 %indvars.iv to i32
  %125 = uitofp nneg i32 %124 to double
  %126 = fmul double %125, 0x400921FB54442D18
  %127 = fdiv double %126, %104
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %12, double noundef %109, double noundef %127)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %12, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #7
  %.sroa.024.0.copyload = load double, ptr %8, align 8
  %.sroa.2.0.copyload = load double, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !19
  %128 = call { double, double } %2(double %.sroa.024.0.copyload, double %.sroa.2.0.copyload)
  %129 = extractvalue { double, double } %128, 0
  %130 = extractvalue { double, double } %128, 1
  %131 = getelementptr inbounds %"class.std::complex", ptr %41, i64 %indvars.iv
  store double %129, ptr %131, align 16
  %.sroa.426.0..sroa_idx = getelementptr inbounds i8, ptr %131, i64 8
  store double %130, ptr %.sroa.426.0..sroa_idx, align 8, !tbaa !19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %132 = load i32, ptr %120, align 4, !tbaa !20
  %133 = shl nsw i32 %132, 1
  %134 = sext i32 %133 to i64
  %.not.not = icmp slt i64 %indvars.iv, %134
  br i1 %.not.not, label %123, label %.preheader, !llvm.loop !22

.lr.ph111:                                        ; preds = %.preheader, %.lr.ph111
  %indvars.iv155 = phi i64 [ %indvars.iv.next156, %.lr.ph111 ], [ 0, %.preheader ]
  %135 = mul nuw nsw i64 %indvars.iv155, %51
  %136 = getelementptr inbounds %"class.std::complex", ptr %53, i64 %135
  %137 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %136, double noundef 0.000000e+00)
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %138 = getelementptr inbounds %"class.std::complex", ptr %41, i64 %indvars.iv.next156
  %139 = getelementptr inbounds %"class.std::complex", ptr %41, i64 %indvars.iv155
  %140 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %138, ptr noundef nonnull align 8 dereferenceable(16) %139)
  %141 = extractvalue { double, double } %140, 0
  %142 = extractvalue { double, double } %140, 1
  %143 = mul nuw nsw i64 %indvars.iv155, %.pre-phi181211
  %144 = getelementptr inbounds %"class.std::complex", ptr %70, i64 %143
  %145 = getelementptr inbounds i8, ptr %144, i64 16
  store double %141, ptr %145, align 16
  %.sroa.423.0..sroa_idx = getelementptr inbounds i8, ptr %144, i64 24
  store double %142, ptr %.sroa.423.0..sroa_idx, align 8, !tbaa !19
  %146 = load i32, ptr %120, align 4, !tbaa !20
  %147 = shl nsw i32 %146, 1
  %148 = sext i32 %147 to i64
  %149 = icmp slt i64 %indvars.iv.next156, %148
  br i1 %149, label %.lr.ph111, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %.lr.ph111, %.preheader.._crit_edge_crit_edge
  %.pre-phi195 = phi i64 [ %.pre194, %.preheader.._crit_edge_crit_edge ], [ %148, %.lr.ph111 ]
  %150 = mul nsw i64 %.pre-phi195, %51
  %151 = getelementptr inbounds %"class.std::complex", ptr %53, i64 %150
  %152 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %151, double noundef 0.000000e+00)
  %invariant.gep132 = getelementptr i8, ptr %53, i64 -16
  %153 = load i32, ptr %120, align 4, !tbaa !20
  %.not100.not134 = icmp sgt i32 %153, 1
  br i1 %.not100.not134, label %.lr.ph138, label %._crit_edge139

.lr.ph138:                                        ; preds = %._crit_edge
  %154 = getelementptr inbounds i8, ptr %13, i64 8
  %155 = getelementptr inbounds i8, ptr %14, i64 8
  br label %156

156:                                              ; preds = %.lr.ph138, %._crit_edge115
  %indvars.iv166 = phi i64 [ 1, %.lr.ph138 ], [ %indvars.iv.next167, %._crit_edge115 ]
  %indvars.iv158 = phi i32 [ -1, %.lr.ph138 ], [ %indvars.iv.next159, %._crit_edge115 ]
  %157 = phi i32 [ %153, %.lr.ph138 ], [ %202, %._crit_edge115 ]
  %158 = trunc nuw nsw i64 %indvars.iv166 to i32
  %.not = icmp slt i32 %157, %158
  br i1 %.not, label %._crit_edge115, label %.lr.ph114

.lr.ph114:                                        ; preds = %156
  %159 = icmp ugt i64 %indvars.iv166, 1
  %160 = add nsw i64 %indvars.iv166, -1
  %invariant.gep = getelementptr inbounds %"class.std::complex", ptr %70, i64 %160
  %invariant.gep116 = getelementptr inbounds %"class.std::complex", ptr %53, i64 %160
  %invariant.gep120 = getelementptr inbounds %"class.std::complex", ptr %70, i64 %indvars.iv166
  %gep133 = getelementptr %"class.std::complex", ptr %invariant.gep132, i64 %indvars.iv166
  %invariant.gep130 = getelementptr inbounds %"class.std::complex", ptr %53, i64 %indvars.iv166
  %161 = add nsw i32 %157, %indvars.iv158
  %162 = shl i32 %161, 1
  %163 = zext i32 %162 to i64
  br i1 %159, label %.lr.ph114.split, label %.lr.ph114.split.us

.lr.ph114.split.us:                               ; preds = %.lr.ph114, %.lr.ph114.split.us
  %indvars.iv160 = phi i64 [ %indvars.iv.next161, %.lr.ph114.split.us ], [ %163, %.lr.ph114 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  %164 = add nuw nsw i64 %indvars.iv160, 1
  %165 = mul nuw nsw i64 %164, %.pre-phi181211
  %gep123.us = getelementptr inbounds %"class.std::complex", ptr %invariant.gep120, i64 %165
  %166 = mul nuw nsw i64 %indvars.iv160, %.pre-phi181211
  %gep125.us = getelementptr inbounds %"class.std::complex", ptr %invariant.gep120, i64 %166
  %167 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %gep123.us, ptr noundef nonnull align 8 dereferenceable(16) %gep125.us)
  %168 = extractvalue { double, double } %167, 0
  store double %168, ptr %14, align 8
  %169 = extractvalue { double, double } %167, 1
  store double %169, ptr %155, align 8
  %170 = mul nuw nsw i64 %164, %51
  %gep129.us = getelementptr %"class.std::complex", ptr %gep133, i64 %170
  %171 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %gep129.us)
  %172 = extractvalue { double, double } %171, 0
  %173 = extractvalue { double, double } %171, 1
  %174 = mul nuw nsw i64 %indvars.iv160, %51
  %gep131.us = getelementptr inbounds %"class.std::complex", ptr %invariant.gep130, i64 %174
  store double %172, ptr %gep131.us, align 16
  %.sroa.419.0..sroa_idx.us = getelementptr inbounds i8, ptr %gep131.us, i64 8
  store double %173, ptr %.sroa.419.0..sroa_idx.us, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  %indvars.iv.next161 = add nsw i64 %indvars.iv160, -1
  %175 = trunc nuw i64 %indvars.iv160 to i32
  %176 = icmp sgt i32 %175, 0
  br i1 %176, label %.lr.ph114.split.us, label %._crit_edge115, !llvm.loop !25

.lr.ph114.split:                                  ; preds = %.lr.ph114, %194
  %indvars.iv163 = phi i64 [ %indvars.iv.next164, %194 ], [ %163, %.lr.ph114 ]
  %177 = load i32, ptr %120, align 4, !tbaa !20
  %178 = sub nsw i32 %177, %158
  %179 = shl nsw i32 %178, 1
  %180 = trunc nuw i64 %indvars.iv163 to i32
  %181 = icmp sgt i32 %179, %180
  br i1 %181, label %182, label %.lr.ph114.split._crit_edge

.lr.ph114.split._crit_edge:                       ; preds = %.lr.ph114.split
  %.pre196 = add nuw nsw i64 %indvars.iv163, 1
  %.pre198 = mul nuw nsw i64 %.pre196, %.pre-phi181211
  %.pre200 = mul nuw nsw i64 %indvars.iv163, %.pre-phi181211
  %.pre202 = mul nuw nsw i64 %.pre196, %51
  %.pre204 = mul nuw nsw i64 %indvars.iv163, %51
  br label %194

182:                                              ; preds = %.lr.ph114.split
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #7
  %183 = add nuw nsw i64 %indvars.iv163, 1
  %184 = mul nuw nsw i64 %183, %.pre-phi181211
  %gep = getelementptr inbounds %"class.std::complex", ptr %invariant.gep, i64 %184
  %185 = mul nuw nsw i64 %183, %51
  %gep117 = getelementptr inbounds %"class.std::complex", ptr %invariant.gep116, i64 %185
  %186 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %gep, ptr noundef nonnull align 8 dereferenceable(16) %gep117)
  %187 = extractvalue { double, double } %186, 0
  store double %187, ptr %13, align 8
  %188 = extractvalue { double, double } %186, 1
  store double %188, ptr %154, align 8
  %189 = mul nuw nsw i64 %indvars.iv163, %51
  %gep119 = getelementptr inbounds %"class.std::complex", ptr %invariant.gep116, i64 %189
  %190 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef nonnull align 8 dereferenceable(16) %gep119)
  %191 = extractvalue { double, double } %190, 0
  %192 = extractvalue { double, double } %190, 1
  %193 = mul nuw nsw i64 %indvars.iv163, %.pre-phi181211
  %gep121 = getelementptr inbounds %"class.std::complex", ptr %invariant.gep120, i64 %193
  store double %191, ptr %gep121, align 16
  %.sroa.421.0..sroa_idx = getelementptr inbounds i8, ptr %gep121, i64 8
  store double %192, ptr %.sroa.421.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #7
  br label %194

194:                                              ; preds = %.lr.ph114.split._crit_edge, %182
  %.pre-phi205 = phi i64 [ %.pre204, %.lr.ph114.split._crit_edge ], [ %189, %182 ]
  %.pre-phi203 = phi i64 [ %.pre202, %.lr.ph114.split._crit_edge ], [ %185, %182 ]
  %.pre-phi201 = phi i64 [ %.pre200, %.lr.ph114.split._crit_edge ], [ %193, %182 ]
  %.pre-phi199 = phi i64 [ %.pre198, %.lr.ph114.split._crit_edge ], [ %184, %182 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #7
  %gep123 = getelementptr inbounds %"class.std::complex", ptr %invariant.gep120, i64 %.pre-phi199
  %gep125 = getelementptr inbounds %"class.std::complex", ptr %invariant.gep120, i64 %.pre-phi201
  %195 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %gep123, ptr noundef nonnull align 8 dereferenceable(16) %gep125)
  %196 = extractvalue { double, double } %195, 0
  store double %196, ptr %14, align 8
  %197 = extractvalue { double, double } %195, 1
  store double %197, ptr %155, align 8
  %gep129 = getelementptr %"class.std::complex", ptr %gep133, i64 %.pre-phi203
  %198 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %gep129)
  %199 = extractvalue { double, double } %198, 0
  %200 = extractvalue { double, double } %198, 1
  %gep131 = getelementptr inbounds %"class.std::complex", ptr %invariant.gep130, i64 %.pre-phi205
  store double %199, ptr %gep131, align 16
  %.sroa.419.0..sroa_idx = getelementptr inbounds i8, ptr %gep131, i64 8
  store double %200, ptr %.sroa.419.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #7
  %indvars.iv.next164 = add nsw i64 %indvars.iv163, -1
  %201 = icmp sgt i32 %180, 0
  br i1 %201, label %.lr.ph114.split, label %._crit_edge115, !llvm.loop !25

._crit_edge115:                                   ; preds = %.lr.ph114.split.us, %194, %156
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %202 = load i32, ptr %120, align 4, !tbaa !20
  %203 = sext i32 %202 to i64
  %.not100.not = icmp slt i64 %indvars.iv.next167, %203
  %indvars.iv.next159 = add nsw i32 %indvars.iv158, -1
  br i1 %.not100.not, label %156, label %._crit_edge139, !llvm.loop !26

._crit_edge139:                                   ; preds = %._crit_edge115, %._crit_edge
  %204 = phi i32 [ %153, %._crit_edge ], [ %202, %._crit_edge115 ]
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %73, ptr noundef nonnull align 16 dereferenceable(16) %41, i64 16, i1 false), !tbaa.struct !21
  %.not101140 = icmp slt i32 %204, 1
  br i1 %.not101140, label %._crit_edge144, label %.lr.ph143

.lr.ph143:                                        ; preds = %._crit_edge139, %.lr.ph143
  %indvars.iv169 = phi i64 [ %indvars.iv.next170, %.lr.ph143 ], [ 1, %._crit_edge139 ]
  %205 = getelementptr inbounds %"class.std::complex", ptr %70, i64 %indvars.iv169
  %206 = call { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %205)
  %207 = extractvalue { double, double } %206, 0
  %208 = extractvalue { double, double } %206, 1
  %.idx = shl i64 %indvars.iv169, 5
  %209 = getelementptr i8, ptr %73, i64 %.idx
  %210 = getelementptr i8, ptr %209, i64 -16
  store double %207, ptr %210, align 16
  %.sroa.417.0..sroa_idx = getelementptr i8, ptr %209, i64 -8
  store double %208, ptr %.sroa.417.0..sroa_idx, align 8, !tbaa !19
  %211 = getelementptr inbounds %"class.std::complex", ptr %53, i64 %indvars.iv169
  %212 = call { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %211)
  %213 = extractvalue { double, double } %212, 0
  %214 = extractvalue { double, double } %212, 1
  store double %213, ptr %209, align 16
  %.sroa.415.0..sroa_idx = getelementptr inbounds i8, ptr %209, i64 8
  store double %214, ptr %.sroa.415.0..sroa_idx, align 8, !tbaa !19
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %215 = load i32, ptr %120, align 4, !tbaa !20
  %216 = sext i32 %215 to i64
  %.not101.not = icmp slt i64 %indvars.iv169, %216
  br i1 %.not101.not, label %.lr.ph143, label %._crit_edge144, !llvm.loop !27

._crit_edge144:                                   ; preds = %.lr.ph143, %._crit_edge139
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  %217 = fmul double %1, 0x400921FB54442D18
  %218 = fdiv double %217, %104
  %219 = call double @cos(double noundef %218) #7
  %220 = call double @sin(double noundef %218) #7
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %15, double noundef %219, double noundef %220)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %15, i64 16, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  %221 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %84, double noundef 0.000000e+00)
  %222 = getelementptr inbounds i8, ptr %84, i64 16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %222, ptr noundef nonnull align 16 dereferenceable(16) %73, i64 16, i1 false), !tbaa.struct !21
  %223 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %101, double noundef 1.000000e+00)
  %224 = getelementptr inbounds i8, ptr %101, i64 16
  %225 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16) %224, double noundef 1.000000e+00)
  %226 = load i32, ptr %120, align 4, !tbaa !20
  %227 = shl nsw i32 %226, 1
  %228 = or disjoint i32 %227, 1
  %.not102145 = icmp slt i32 %228, 2
  br i1 %.not102145, label %._crit_edge144.._crit_edge149_crit_edge, label %.lr.ph148

._crit_edge144.._crit_edge149_crit_edge:          ; preds = %._crit_edge144
  %.pre206 = sext i32 %227 to i64
  br label %._crit_edge149

.lr.ph148:                                        ; preds = %._crit_edge144
  %.sroa.413.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %229 = getelementptr inbounds i8, ptr %16, i64 8
  %230 = getelementptr inbounds i8, ptr %17, i64 8
  br label %231

231:                                              ; preds = %.lr.ph148, %231
  %indvars.iv172 = phi i64 [ 2, %.lr.ph148 ], [ %indvars.iv.next173, %231 ]
  %232 = add nsw i64 %indvars.iv172, -1
  %233 = getelementptr inbounds %"class.std::complex", ptr %73, i64 %232
  %234 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %233, ptr noundef nonnull align 8 dereferenceable(16) %6)
  %235 = extractvalue { double, double } %234, 0
  %236 = extractvalue { double, double } %234, 1
  store double %235, ptr %7, align 8
  store double %236, ptr %.sroa.413.0..sroa_idx, align 8, !tbaa !19
  %237 = getelementptr inbounds %"class.std::complex", ptr %84, i64 %232
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  %238 = add nsw i64 %indvars.iv172, -2
  %239 = getelementptr inbounds %"class.std::complex", ptr %84, i64 %238
  %240 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %239)
  %241 = extractvalue { double, double } %240, 0
  store double %241, ptr %16, align 8
  %242 = extractvalue { double, double } %240, 1
  store double %242, ptr %229, align 8
  %243 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %237, ptr noundef nonnull align 8 dereferenceable(16) %16)
  %244 = extractvalue { double, double } %243, 0
  %245 = extractvalue { double, double } %243, 1
  %246 = getelementptr inbounds %"class.std::complex", ptr %84, i64 %indvars.iv172
  store double %244, ptr %246, align 16
  %.sroa.411.0..sroa_idx = getelementptr inbounds i8, ptr %246, i64 8
  store double %245, ptr %.sroa.411.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  %247 = getelementptr inbounds %"class.std::complex", ptr %101, i64 %232
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #7
  %248 = getelementptr inbounds %"class.std::complex", ptr %101, i64 %238
  %249 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %248)
  %250 = extractvalue { double, double } %249, 0
  store double %250, ptr %17, align 8
  %251 = extractvalue { double, double } %249, 1
  store double %251, ptr %230, align 8
  %252 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %247, ptr noundef nonnull align 8 dereferenceable(16) %17)
  %253 = extractvalue { double, double } %252, 0
  %254 = extractvalue { double, double } %252, 1
  %255 = getelementptr inbounds %"class.std::complex", ptr %101, i64 %indvars.iv172
  store double %253, ptr %255, align 16
  %.sroa.49.0..sroa_idx = getelementptr inbounds i8, ptr %255, i64 8
  store double %254, ptr %.sroa.49.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #7
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %256 = load i32, ptr %120, align 4, !tbaa !20
  %257 = shl nsw i32 %256, 1
  %258 = sext i32 %257 to i64
  %.not102 = icmp sgt i64 %indvars.iv172, %258
  br i1 %.not102, label %._crit_edge149, label %231, !llvm.loop !28

._crit_edge149:                                   ; preds = %231, %._crit_edge144.._crit_edge149_crit_edge
  %.pre-phi207 = phi i64 [ %.pre206, %._crit_edge144.._crit_edge149_crit_edge ], [ %258, %231 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #7
  store double 5.000000e-01, ptr %18, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  store double 1.000000e+00, ptr %20, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #7
  %259 = getelementptr %"class.std::complex", ptr %73, i64 %.pre-phi207
  %260 = getelementptr i8, ptr %259, i64 -16
  %261 = call { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %260, ptr noundef nonnull align 8 dereferenceable(16) %259)
  %262 = extractvalue { double, double } %261, 0
  store double %262, ptr %22, align 8
  %263 = getelementptr inbounds i8, ptr %22, i64 8
  %264 = extractvalue { double, double } %261, 1
  store double %264, ptr %263, align 8
  %265 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %22)
  %266 = extractvalue { double, double } %265, 0
  store double %266, ptr %21, align 8
  %267 = getelementptr inbounds i8, ptr %21, i64 8
  %268 = extractvalue { double, double } %265, 1
  store double %268, ptr %267, align 8
  %269 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(16) %21)
  %270 = extractvalue { double, double } %269, 0
  store double %270, ptr %19, align 8
  %271 = getelementptr inbounds i8, ptr %19, i64 8
  %272 = extractvalue { double, double } %269, 1
  store double %272, ptr %271, align 8
  %273 = call { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(16) %19)
  %274 = extractvalue { double, double } %273, 0
  %275 = extractvalue { double, double } %273, 1
  store double %274, ptr %4, align 8
  %.sroa.47.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store double %275, ptr %.sroa.47.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #7
  %276 = call { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %277 = extractvalue { double, double } %276, 0
  store double %277, ptr %23, align 8
  %278 = getelementptr inbounds i8, ptr %23, i64 8
  %279 = extractvalue { double, double } %276, 1
  store double %279, ptr %278, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  store double 1.000000e+00, ptr %25, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  store double 1.000000e+00, ptr %28, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %31) #7
  %280 = load i32, ptr %120, align 4, !tbaa !20
  %281 = shl nsw i32 %280, 1
  %282 = sext i32 %281 to i64
  %283 = getelementptr inbounds %"class.std::complex", ptr %73, i64 %282
  %284 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %283)
  %285 = extractvalue { double, double } %284, 0
  store double %285, ptr %31, align 8
  %286 = getelementptr inbounds i8, ptr %31, i64 8
  %287 = extractvalue { double, double } %284, 1
  store double %287, ptr %286, align 8
  %288 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %289 = extractvalue { double, double } %288, 0
  store double %289, ptr %30, align 8
  %290 = getelementptr inbounds i8, ptr %30, i64 8
  %291 = extractvalue { double, double } %288, 1
  store double %291, ptr %290, align 8
  %292 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %30, ptr noundef nonnull align 8 dereferenceable(16) %4)
  %293 = extractvalue { double, double } %292, 0
  store double %293, ptr %29, align 8
  %294 = getelementptr inbounds i8, ptr %29, i64 8
  %295 = extractvalue { double, double } %292, 1
  store double %295, ptr %294, align 8
  %296 = call { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %297 = extractvalue { double, double } %296, 0
  store double %297, ptr %27, align 8
  %298 = getelementptr inbounds i8, ptr %27, i64 8
  %299 = extractvalue { double, double } %296, 1
  store double %299, ptr %298, align 8
  %300 = call { double, double } @_ZSt4sqrtIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %27)
  %301 = extractvalue { double, double } %300, 0
  store double %301, ptr %26, align 8
  %302 = getelementptr inbounds i8, ptr %26, i64 8
  %303 = extractvalue { double, double } %300, 1
  store double %303, ptr %302, align 8
  %304 = call { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %305 = extractvalue { double, double } %304, 0
  store double %305, ptr %24, align 8
  %306 = getelementptr inbounds i8, ptr %24, i64 8
  %307 = extractvalue { double, double } %304, 1
  store double %307, ptr %306, align 8
  %308 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %24)
  %309 = extractvalue { double, double } %308, 0
  %310 = extractvalue { double, double } %308, 1
  store double %309, ptr %5, align 8
  %.sroa.45.0..sroa_idx = getelementptr inbounds i8, ptr %5, i64 8
  store double %310, ptr %.sroa.45.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %30) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #7
  %311 = load i32, ptr %120, align 4, !tbaa !20
  %312 = shl nsw i32 %311, 1
  %313 = sext i32 %312 to i64
  %314 = getelementptr %"class.std::complex", ptr %84, i64 %313
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %32) #7
  %315 = getelementptr i8, ptr %314, i64 -16
  %316 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %315)
  %317 = extractvalue { double, double } %316, 0
  store double %317, ptr %32, align 8
  %318 = getelementptr inbounds i8, ptr %32, i64 8
  %319 = extractvalue { double, double } %316, 1
  store double %319, ptr %318, align 8
  %320 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %314, ptr noundef nonnull align 8 dereferenceable(16) %32)
  %321 = extractvalue { double, double } %320, 0
  %322 = extractvalue { double, double } %320, 1
  %323 = load i32, ptr %120, align 4, !tbaa !20
  %324 = shl nsw i32 %323, 1
  %325 = or disjoint i32 %324, 1
  %326 = sext i32 %325 to i64
  %327 = getelementptr inbounds %"class.std::complex", ptr %84, i64 %326
  store double %321, ptr %327, align 16
  %.sroa.43.0..sroa_idx = getelementptr inbounds i8, ptr %327, i64 8
  store double %322, ptr %.sroa.43.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %32) #7
  %328 = sext i32 %324 to i64
  %329 = getelementptr %"class.std::complex", ptr %101, i64 %328
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %33) #7
  %330 = getelementptr i8, ptr %329, i64 -16
  %331 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %330)
  %332 = extractvalue { double, double } %331, 0
  store double %332, ptr %33, align 8
  %333 = getelementptr inbounds i8, ptr %33, i64 8
  %334 = extractvalue { double, double } %331, 1
  store double %334, ptr %333, align 8
  %335 = call { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %329, ptr noundef nonnull align 8 dereferenceable(16) %33)
  %336 = extractvalue { double, double } %335, 0
  %337 = extractvalue { double, double } %335, 1
  %338 = load i32, ptr %120, align 4, !tbaa !20
  %339 = shl nsw i32 %338, 1
  %340 = or disjoint i32 %339, 1
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds %"class.std::complex", ptr %101, i64 %341
  store double %336, ptr %342, align 16
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %342, i64 8
  store double %337, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !19
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %33) #7
  %343 = fdiv double 1.000000e+00, %104
  %344 = fmul double %109, %1
  %345 = call double @exp(double noundef %344) #7
  %346 = fmul double %343, %345
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %34) #7
  %347 = load i32, ptr %120, align 4, !tbaa !20
  %348 = shl nsw i32 %347, 1
  %349 = or disjoint i32 %348, 1
  %350 = sext i32 %349 to i64
  %351 = getelementptr inbounds %"class.std::complex", ptr %84, i64 %350
  %352 = getelementptr inbounds %"class.std::complex", ptr %101, i64 %350
  %353 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %351, ptr noundef nonnull align 8 dereferenceable(16) %352)
  %354 = extractvalue { double, double } %353, 0
  store double %354, ptr %34, align 8
  %355 = getelementptr inbounds i8, ptr %34, i64 8
  %356 = extractvalue { double, double } %353, 1
  store double %356, ptr %355, align 8
  %357 = call noundef double @_ZNKSt7complexIdE4realB5cxx11Ev(ptr noundef nonnull align 8 dereferenceable(16) %34)
  %358 = fmul double %346, %357
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %34) #7
  call void @llvm.stackrestore.p0(ptr %40)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  ret double %358
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16), double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #4

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @log(double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt7complexIdEaSEd(ptr noundef nonnull align 8 dereferenceable(16), double noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStplIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStngIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStplIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZStmiIdESt7complexIT_ERKS1_RKS2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { double, double } @_ZSt4sqrtIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #6

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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 = { 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, !14, i64 40}
!6 = !{!"_ZTS15DeHoogAlgorithm", !7, i64 0, !14, i64 40, !14, i64 44, !15, i64 48, !15, i64 56}
!7 = !{!"_ZTS23InverseLaplaceAlgorithm", !8, i64 8}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !9, i64 0, !13, i64 8, !11, i64 16}
!9 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"long", !11, i64 0}
!14 = !{!"int", !11, i64 0}
!15 = !{!"double", !11, i64 0}
!16 = !{!6, !15, i64 48}
!17 = !{!6, !15, i64 56}
!18 = !{!15, !15, i64 0}
!19 = !{!11, !11, i64 0}
!20 = !{!6, !14, i64 44}
!21 = !{i64 0, i64 16, !19}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
!27 = distinct !{!27, !23}
!28 = distinct !{!28, !23}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass