; LLVM IR from sp-nitech/SPTK :: src/math (two_dimensional_real_valued_fast_fourier_transform)

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.sptk::TwoDimensionalRealValuedFastFourierTransform" = type <{ ptr, i32, i32, i32, [4 x i8], %"class.sptk::FastFourierTransform", %"class.sptk::RealValuedFastFourierTransform", i8, [7 x i8] }>
%"class.sptk::FastFourierTransform" = type { ptr, i32, i32, i32, i8, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::RealValuedFastFourierTransform" = type { ptr, i32, i32, i32, %"class.sptk::FastFourierTransform", i8, %"class.std::vector" }
%"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.std::vector.5", %"class.sptk::RealValuedFastFourierTransform::Buffer" }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::RealValuedFastFourierTransform::Buffer" = type { ptr, %"class.std::vector", %"class.std::vector" }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk44TwoDimensionalRealValuedFastFourierTransform3RunERKNS_6MatrixEPS1_S4_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(177) %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #0 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca double, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %25 = alloca double, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca double, align 8
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %37 = load ptr, ptr %7, align 8
  %38 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 7
  %39 = load i8, ptr %38, align 8, !tbaa !9, !range !19, !noundef !20
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %62

41:                                               ; preds = %5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %42)
  %44 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 1
  %45 = load i32, ptr %44, align 8, !tbaa !21
  %46 = icmp ne i32 %43, %45
  br i1 %46, label %62, label %47

47:                                               ; preds = %41
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %48)
  %50 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %51 = load i32, ptr %50, align 4, !tbaa !22
  %52 = icmp ne i32 %49, %51
  br i1 %52, label %62, label %53

53:                                               ; preds = %47
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = icmp eq ptr null, %54
  br i1 %55, label %62, label %56

56:                                               ; preds = %53
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = icmp eq ptr null, %57
  br i1 %58, label %62, label %59

59:                                               ; preds = %56
  %60 = load ptr, ptr %11, align 8, !tbaa !5
  %61 = icmp eq ptr null, %60
  br i1 %61, label %62, label %63

62:                                               ; preds = %59, %56, %53, %47, %41, %5
  store i1 false, ptr %6, align 1
  br label %398

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %64 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %65 = load i32, ptr %64, align 8, !tbaa !23
  %66 = sext i32 %65 to i64
  store i64 %66, ptr %12, align 8, !tbaa !24
  %67 = load ptr, ptr %11, align 8, !tbaa !5
  %68 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %67, i32 0, i32 1
  %69 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #5
  %70 = load i64, ptr %12, align 8, !tbaa !24
  %71 = icmp ne i64 %69, %70
  br i1 %71, label %72, label %76

72:                                               ; preds = %63
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %73, i32 0, i32 1
  %75 = load i64, ptr %12, align 8, !tbaa !24
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %75)
  br label %76

76:                                               ; preds = %72, %63
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %77, i32 0, i32 2
  %79 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #5
  %80 = load i64, ptr %12, align 8, !tbaa !24
  %81 = icmp ne i64 %79, %80
  br i1 %81, label %82, label %86

82:                                               ; preds = %76
  %83 = load ptr, ptr %11, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %83, i32 0, i32 2
  %85 = load i64, ptr %12, align 8, !tbaa !24
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %85)
  br label %86

86:                                               ; preds = %82, %76
  %87 = load ptr, ptr %11, align 8, !tbaa !5
  %88 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %87, i32 0, i32 3
  %89 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #5
  %90 = load i64, ptr %12, align 8, !tbaa !24
  %91 = icmp ne i64 %89, %90
  br i1 %91, label %92, label %96

92:                                               ; preds = %86
  %93 = load ptr, ptr %11, align 8, !tbaa !5
  %94 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %93, i32 0, i32 3
  %95 = load i64, ptr %12, align 8, !tbaa !24
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %95)
  br label %96

96:                                               ; preds = %92, %86
  %97 = load ptr, ptr %11, align 8, !tbaa !5
  %98 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %97, i32 0, i32 4
  %99 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #5
  %100 = load i64, ptr %12, align 8, !tbaa !24
  %101 = icmp ne i64 %99, %100
  br i1 %101, label %102, label %106

102:                                              ; preds = %96
  %103 = load ptr, ptr %11, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %103, i32 0, i32 4
  %105 = load i64, ptr %12, align 8, !tbaa !24
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %105)
  br label %106

106:                                              ; preds = %102, %96
  %107 = load ptr, ptr %11, align 8, !tbaa !5
  %108 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %107, i32 0, i32 5
  %109 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  %110 = load i64, ptr %12, align 8, !tbaa !24
  %111 = icmp ne i64 %109, %110
  br i1 %111, label %112, label %116

112:                                              ; preds = %106
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %113, i32 0, i32 5
  %115 = load i64, ptr %12, align 8, !tbaa !24
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %115)
  br label %116

116:                                              ; preds = %112, %106
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %117, i32 0, i32 6
  %119 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %118) #5
  %120 = load i64, ptr %12, align 8, !tbaa !24
  %121 = icmp ne i64 %119, %120
  br i1 %121, label %122, label %126

122:                                              ; preds = %116
  %123 = load ptr, ptr %11, align 8, !tbaa !5
  %124 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %123, i32 0, i32 6
  %125 = load i64, ptr %12, align 8, !tbaa !24
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %125)
  br label %126

126:                                              ; preds = %122, %116
  %127 = load ptr, ptr %9, align 8, !tbaa !5
  %128 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %127)
  %129 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %130 = load i32, ptr %129, align 8, !tbaa !23
  %131 = icmp ne i32 %128, %130
  br i1 %131, label %138, label %132

132:                                              ; preds = %126
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  %134 = call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %133)
  %135 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %136 = load i32, ptr %135, align 8, !tbaa !23
  %137 = icmp ne i32 %134, %136
  br i1 %137, label %138, label %144

138:                                              ; preds = %132, %126
  %139 = load ptr, ptr %9, align 8, !tbaa !5
  %140 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %141 = load i32, ptr %140, align 8, !tbaa !23
  %142 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %143 = load i32, ptr %142, align 8, !tbaa !23
  call void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64) %139, i32 noundef %141, i32 noundef %143)
  br label %144

144:                                              ; preds = %138, %132
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %145)
  %147 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %148 = load i32, ptr %147, align 8, !tbaa !23
  %149 = icmp ne i32 %146, %148
  br i1 %149, label %156, label %150

150:                                              ; preds = %144
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %151)
  %153 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %154 = load i32, ptr %153, align 8, !tbaa !23
  %155 = icmp ne i32 %152, %154
  br i1 %155, label %156, label %162

156:                                              ; preds = %150, %144
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %159 = load i32, ptr %158, align 8, !tbaa !23
  %160 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %161 = load i32, ptr %160, align 8, !tbaa !23
  call void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64) %157, i32 noundef %159, i32 noundef %161)
  br label %162

162:                                              ; preds = %156, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %163 = load ptr, ptr %11, align 8, !tbaa !5
  %164 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %163, i32 0, i32 1
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %164, i64 noundef 0) #5
  store ptr %165, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %166, i32 0, i32 1
  %168 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %167) #5
  %169 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %15, i32 0, i32 0
  store ptr %168, ptr %169, align 8
  %170 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 1
  %171 = load i32, ptr %170, align 8, !tbaa !21
  %172 = sext i32 %171 to i64
  %173 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef %172) #5
  %174 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %173, ptr %174, align 8
  %175 = load ptr, ptr %11, align 8, !tbaa !5
  %176 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %175, i32 0, i32 1
  %177 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #5
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store double 0.000000e+00, ptr %17, align 8, !tbaa !26
  %179 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  %180 = load ptr, ptr %179, align 8
  %181 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  %182 = load ptr, ptr %181, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %180, ptr %182, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !28
  br label %183

183:                                              ; preds = %230, %162
  %184 = load i32, ptr %18, align 4, !tbaa !28
  %185 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %186 = load i32, ptr %185, align 4, !tbaa !22
  %187 = icmp slt i32 %184, %186
  br i1 %187, label %189, label %188

188:                                              ; preds = %183
  store i32 2, ptr %19, align 4
  br label %233

189:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  store i32 0, ptr %20, align 4, !tbaa !28
  br label %190

190:                                              ; preds = %208, %189
  %191 = load i32, ptr %20, align 4, !tbaa !28
  %192 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 1
  %193 = load i32, ptr %192, align 8, !tbaa !21
  %194 = icmp slt i32 %191, %193
  br i1 %194, label %196, label %195

195:                                              ; preds = %190
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br label %211

196:                                              ; preds = %190
  %197 = load ptr, ptr %8, align 8, !tbaa !5
  %198 = load i32, ptr %20, align 4, !tbaa !28
  %199 = call noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %197, i32 noundef %198)
  %200 = load i32, ptr %18, align 4, !tbaa !28
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds double, ptr %199, i64 %201
  %203 = load double, ptr %202, align 8, !tbaa !26
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = load i32, ptr %20, align 4, !tbaa !28
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds double, ptr %204, i64 %206
  store double %203, ptr %207, align 8, !tbaa !26
  br label %208

208:                                              ; preds = %196
  %209 = load i32, ptr %20, align 4, !tbaa !28
  %210 = add nsw i32 %209, 1
  store i32 %210, ptr %20, align 4, !tbaa !28
  br label %190, !llvm.loop !29

211:                                              ; preds = %195
  %212 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 6
  %213 = load ptr, ptr %11, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %213, i32 0, i32 1
  %215 = load ptr, ptr %11, align 8, !tbaa !5
  %216 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %215, i32 0, i32 3
  %217 = load i32, ptr %18, align 4, !tbaa !28
  %218 = sext i32 %217 to i64
  %219 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %216, i64 noundef %218) #5
  %220 = load ptr, ptr %11, align 8, !tbaa !5
  %221 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %220, i32 0, i32 4
  %222 = load i32, ptr %18, align 4, !tbaa !28
  %223 = sext i32 %222 to i64
  %224 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %221, i64 noundef %223) #5
  %225 = load ptr, ptr %11, align 8, !tbaa !5
  %226 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %225, i32 0, i32 7
  %227 = call noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform3RunERKSt6vectorIdSaIdEEPS3_S6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(104) %212, ptr noundef nonnull align 8 dereferenceable(24) %214, ptr noundef %219, ptr noundef %224, ptr noundef %226)
  br i1 %227, label %229, label %228

228:                                              ; preds = %211
  store i1 false, ptr %6, align 1
  store i32 1, ptr %19, align 4
  br label %233

229:                                              ; preds = %211
  br label %230

230:                                              ; preds = %229
  %231 = load i32, ptr %18, align 4, !tbaa !28
  %232 = add nsw i32 %231, 1
  store i32 %232, ptr %18, align 4, !tbaa !28
  br label %183, !llvm.loop !31

233:                                              ; preds = %228, %188
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %234 = load i32, ptr %19, align 4
  switch i32 %234, label %397 [
    i32 2, label %235
  ]

235:                                              ; preds = %233
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %236 = load ptr, ptr %11, align 8, !tbaa !5
  %237 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %236, i32 0, i32 2
  %238 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %237, i64 noundef 0) #5
  store ptr %238, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %239 = load ptr, ptr %11, align 8, !tbaa !5
  %240 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %239, i32 0, i32 1
  %241 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %240) #5
  %242 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %241, ptr %242, align 8
  %243 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %244 = load i32, ptr %243, align 4, !tbaa !22
  %245 = sext i32 %244 to i64
  %246 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %23, i64 noundef %245) #5
  %247 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %246, ptr %247, align 8
  %248 = load ptr, ptr %11, align 8, !tbaa !5
  %249 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %248, i32 0, i32 1
  %250 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %249) #5
  %251 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  store ptr %250, ptr %251, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  store double 0.000000e+00, ptr %25, align 8, !tbaa !26
  %252 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  %253 = load ptr, ptr %252, align 8
  %254 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %24, i32 0, i32 0
  %255 = load ptr, ptr %254, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %253, ptr %255, ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %256 = load ptr, ptr %11, align 8, !tbaa !5
  %257 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %256, i32 0, i32 2
  %258 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %257) #5
  %259 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %258, ptr %259, align 8
  %260 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %261 = load i32, ptr %260, align 4, !tbaa !22
  %262 = sext i32 %261 to i64
  %263 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %27, i64 noundef %262) #5
  %264 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  store ptr %263, ptr %264, align 8
  %265 = load ptr, ptr %11, align 8, !tbaa !5
  %266 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %265, i32 0, i32 2
  %267 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %266) #5
  %268 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %267, ptr %268, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  store double 0.000000e+00, ptr %29, align 8, !tbaa !26
  %269 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %26, i32 0, i32 0
  %270 = load ptr, ptr %269, align 8
  %271 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  %272 = load ptr, ptr %271, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %270, ptr %272, ptr noundef nonnull align 8 dereferenceable(8) %29)
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  store i32 0, ptr %30, align 4, !tbaa !28
  br label %273

273:                                              ; preds = %335, %235
  %274 = load i32, ptr %30, align 4, !tbaa !28
  %275 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %276 = load i32, ptr %275, align 8, !tbaa !23
  %277 = icmp slt i32 %274, %276
  br i1 %277, label %279, label %278

278:                                              ; preds = %273
  store i32 8, ptr %19, align 4
  br label %338

279:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  store i32 0, ptr %31, align 4, !tbaa !28
  br label %280

280:                                              ; preds = %313, %279
  %281 = load i32, ptr %31, align 4, !tbaa !28
  %282 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 2
  %283 = load i32, ptr %282, align 4, !tbaa !22
  %284 = icmp slt i32 %281, %283
  br i1 %284, label %286, label %285

285:                                              ; preds = %280
  store i32 11, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  br label %316

286:                                              ; preds = %280
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %287, i32 0, i32 3
  %289 = load i32, ptr %31, align 4, !tbaa !28
  %290 = sext i32 %289 to i64
  %291 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %288, i64 noundef %290) #5
  %292 = load i32, ptr %30, align 4, !tbaa !28
  %293 = sext i32 %292 to i64
  %294 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %291, i64 noundef %293) #5
  %295 = load double, ptr %294, align 8, !tbaa !26
  %296 = load ptr, ptr %13, align 8, !tbaa !5
  %297 = load i32, ptr %31, align 4, !tbaa !28
  %298 = sext i32 %297 to i64
  %299 = getelementptr inbounds double, ptr %296, i64 %298
  store double %295, ptr %299, align 8, !tbaa !26
  %300 = load ptr, ptr %11, align 8, !tbaa !5
  %301 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %300, i32 0, i32 4
  %302 = load i32, ptr %31, align 4, !tbaa !28
  %303 = sext i32 %302 to i64
  %304 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %301, i64 noundef %303) #5
  %305 = load i32, ptr %30, align 4, !tbaa !28
  %306 = sext i32 %305 to i64
  %307 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %304, i64 noundef %306) #5
  %308 = load double, ptr %307, align 8, !tbaa !26
  %309 = load ptr, ptr %21, align 8, !tbaa !5
  %310 = load i32, ptr %31, align 4, !tbaa !28
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds double, ptr %309, i64 %311
  store double %308, ptr %312, align 8, !tbaa !26
  br label %313

313:                                              ; preds = %286
  %314 = load i32, ptr %31, align 4, !tbaa !28
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr %31, align 4, !tbaa !28
  br label %280, !llvm.loop !32

316:                                              ; preds = %285
  %317 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 5
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  %319 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %318, i32 0, i32 1
  %320 = load ptr, ptr %11, align 8, !tbaa !5
  %321 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %320, i32 0, i32 2
  %322 = load ptr, ptr %11, align 8, !tbaa !5
  %323 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %322, i32 0, i32 5
  %324 = load i32, ptr %30, align 4, !tbaa !28
  %325 = sext i32 %324 to i64
  %326 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %323, i64 noundef %325) #5
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %327, i32 0, i32 6
  %329 = load i32, ptr %30, align 4, !tbaa !28
  %330 = sext i32 %329 to i64
  %331 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %328, i64 noundef %330) #5
  %332 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %317, ptr noundef nonnull align 8 dereferenceable(24) %319, ptr noundef nonnull align 8 dereferenceable(24) %321, ptr noundef %326, ptr noundef %331)
  br i1 %332, label %334, label %333

333:                                              ; preds = %316
  store i1 false, ptr %6, align 1
  store i32 1, ptr %19, align 4
  br label %338

334:                                              ; preds = %316
  br label %335

335:                                              ; preds = %334
  %336 = load i32, ptr %30, align 4, !tbaa !28
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %30, align 4, !tbaa !28
  br label %273, !llvm.loop !33

338:                                              ; preds = %333, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  %339 = load i32, ptr %19, align 4
  switch i32 %339, label %396 [
    i32 8, label %340
  ]

340:                                              ; preds = %338
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !28
  br label %341

341:                                              ; preds = %392, %340
  %342 = load i32, ptr %32, align 4, !tbaa !28
  %343 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform", ptr %37, i32 0, i32 3
  %344 = load i32, ptr %343, align 8, !tbaa !23
  %345 = icmp slt i32 %342, %344
  br i1 %345, label %347, label %346

346:                                              ; preds = %341
  store i32 14, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  br label %395

347:                                              ; preds = %341
  %348 = load ptr, ptr %11, align 8, !tbaa !5
  %349 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %348, i32 0, i32 5
  %350 = load i32, ptr %32, align 4, !tbaa !28
  %351 = sext i32 %350 to i64
  %352 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %349, i64 noundef %351) #5
  %353 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %352) #5
  %354 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %353, ptr %354, align 8
  %355 = load ptr, ptr %11, align 8, !tbaa !5
  %356 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %355, i32 0, i32 5
  %357 = load i32, ptr %32, align 4, !tbaa !28
  %358 = sext i32 %357 to i64
  %359 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %356, i64 noundef %358) #5
  %360 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %359) #5
  %361 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %360, ptr %361, align 8
  %362 = load ptr, ptr %9, align 8, !tbaa !5
  %363 = load i32, ptr %32, align 4, !tbaa !28
  %364 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %362, i32 noundef %363)
  %365 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  %366 = load ptr, ptr %365, align 8
  %367 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  %368 = load ptr, ptr %367, align 8
  %369 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %366, ptr %368, ptr noundef %364)
  %370 = load ptr, ptr %11, align 8, !tbaa !5
  %371 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %370, i32 0, i32 6
  %372 = load i32, ptr %32, align 4, !tbaa !28
  %373 = sext i32 %372 to i64
  %374 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %371, i64 noundef %373) #5
  %375 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %374) #5
  %376 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  store ptr %375, ptr %376, align 8
  %377 = load ptr, ptr %11, align 8, !tbaa !5
  %378 = getelementptr inbounds %"class.sptk::TwoDimensionalRealValuedFastFourierTransform::Buffer", ptr %377, i32 0, i32 6
  %379 = load i32, ptr %32, align 4, !tbaa !28
  %380 = sext i32 %379 to i64
  %381 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %378, i64 noundef %380) #5
  %382 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %381) #5
  %383 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %382, ptr %383, align 8
  %384 = load ptr, ptr %10, align 8, !tbaa !5
  %385 = load i32, ptr %32, align 4, !tbaa !28
  %386 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %384, i32 noundef %385)
  %387 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %35, i32 0, i32 0
  %388 = load ptr, ptr %387, align 8
  %389 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  %390 = load ptr, ptr %389, align 8
  %391 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %388, ptr %390, ptr noundef %386)
  br label %392

392:                                              ; preds = %347
  %393 = load i32, ptr %32, align 4, !tbaa !28
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr %32, align 4, !tbaa !28
  br label %341, !llvm.loop !34

395:                                              ; preds = %346
  store i1 true, ptr %6, align 1
  store i32 1, ptr %19, align 4
  br label %396

396:                                              ; preds = %395, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %397

397:                                              ; preds = %396, %233
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %398

398:                                              ; preds = %397, %62
  %399 = load i1, ptr %6, align 1
  ret i1 %399
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

declare void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, i32 noundef) #3

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #1 align 2

declare noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform3RunERKSt6vectorIdSaIdEEPS3_S6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef) #3

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

declare noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr, ptr, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #1 align 2

attributes #0 = { 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 #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !13, i64 176}
!10 = !{!"_ZTSN4sptk44TwoDimensionalRealValuedFastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24, !18, i64 72, !13, i64 176}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN4sptk20FastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !13, i64 20, !14, i64 24}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIdSaIdEE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSN4sptk30RealValuedFastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24, !13, i64 72, !14, i64 80}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!10, !11, i64 8}
!22 = !{!10, !11, i64 12}
!23 = !{!10, !11, i64 16}
!24 = !{!25, !25, i64 0}
!25 = !{!"long", !7, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !7, i64 0}
!28 = !{!11, !11, i64 0}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = distinct !{!31, !30}
!32 = distinct !{!32, !30}
!33 = distinct !{!33, !30}
!34 = distinct !{!34, !30}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4sptk44TwoDimensionalRealValuedFastFourierTransform3RunERKNS_6MatrixEPS1_S4_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(177) %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #0 align 2 {
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca double, align 8
  %12 = getelementptr inbounds i8, ptr %0, i64 176
  %13 = load i8, ptr %12, align 8, !tbaa !5, !range !18, !noundef !19
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %15, label %.loopexit

15:                                               ; preds = %5
  %16 = tail call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %1)
  %17 = getelementptr inbounds i8, ptr %0, i64 8
  %18 = load i32, ptr %17, align 8, !tbaa !20
  %.not = icmp eq i32 %16, %18
  br i1 %.not, label %19, label %.loopexit

19:                                               ; preds = %15
  %20 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %1)
  %21 = getelementptr inbounds i8, ptr %0, i64 12
  %22 = load i32, ptr %21, align 4, !tbaa !21
  %23 = icmp ne i32 %20, %22
  %24 = icmp eq ptr %2, null
  %or.cond = or i1 %24, %23
  %25 = icmp eq ptr %3, null
  %or.cond4 = or i1 %25, %or.cond
  %26 = icmp eq ptr %4, null
  %or.cond6 = or i1 %26, %or.cond4
  br i1 %or.cond6, label %.loopexit, label %27

27:                                               ; preds = %19
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  %29 = load i32, ptr %28, align 8, !tbaa !22
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds i8, ptr %4, i64 8
  %32 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  %.not123 = icmp eq i64 %32, %30
  br i1 %.not123, label %34, label %33

33:                                               ; preds = %27
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %30)
  br label %34

34:                                               ; preds = %33, %27
  %35 = getelementptr inbounds i8, ptr %4, i64 32
  %36 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  %.not124 = icmp eq i64 %36, %30
  br i1 %.not124, label %38, label %37

37:                                               ; preds = %34
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %30)
  br label %38

38:                                               ; preds = %37, %34
  %39 = getelementptr inbounds i8, ptr %4, i64 56
  %40 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #5
  %.not125 = icmp eq i64 %40, %30
  br i1 %.not125, label %42, label %41

41:                                               ; preds = %38
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %30)
  br label %42

42:                                               ; preds = %41, %38
  %43 = getelementptr inbounds i8, ptr %4, i64 80
  %44 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  %.not126 = icmp eq i64 %44, %30
  br i1 %.not126, label %46, label %45

45:                                               ; preds = %42
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %30)
  br label %46

46:                                               ; preds = %45, %42
  %47 = getelementptr inbounds i8, ptr %4, i64 104
  %48 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  %.not127 = icmp eq i64 %48, %30
  br i1 %.not127, label %50, label %49

49:                                               ; preds = %46
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %30)
  br label %50

50:                                               ; preds = %49, %46
  %51 = getelementptr inbounds i8, ptr %4, i64 128
  %52 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  %.not128 = icmp eq i64 %52, %30
  br i1 %.not128, label %54, label %53

53:                                               ; preds = %50
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %30)
  br label %54

54:                                               ; preds = %53, %50
  %55 = tail call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %2)
  %56 = load i32, ptr %28, align 8, !tbaa !22
  %.not129 = icmp eq i32 %55, %56
  br i1 %.not129, label %57, label %60

57:                                               ; preds = %54
  %58 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %2)
  %59 = load i32, ptr %28, align 8, !tbaa !22
  %.not130 = icmp eq i32 %58, %59
  br i1 %.not130, label %62, label %60

60:                                               ; preds = %57, %54
  %61 = phi i32 [ %59, %57 ], [ %56, %54 ]
  tail call void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64) %2, i32 noundef %61, i32 noundef %61)
  br label %62

62:                                               ; preds = %60, %57
  %63 = tail call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %64 = load i32, ptr %28, align 8, !tbaa !22
  %.not131 = icmp eq i32 %63, %64
  br i1 %.not131, label %65, label %68

65:                                               ; preds = %62
  %66 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %67 = load i32, ptr %28, align 8, !tbaa !22
  %.not132 = icmp eq i32 %66, %67
  br i1 %.not132, label %70, label %68

68:                                               ; preds = %65, %62
  %69 = phi i32 [ %67, %65 ], [ %64, %62 ]
  tail call void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64) %3, i32 noundef %69, i32 noundef %69)
  br label %70

70:                                               ; preds = %68, %65
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %72 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  store ptr %72, ptr %6, align 8
  %73 = load i32, ptr %17, align 8, !tbaa !20
  %74 = sext i32 %73 to i64
  %75 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef %74) #5
  %76 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store double 0.000000e+00, ptr %7, align 8, !tbaa !23
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %75, ptr %76, ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %77 = load i32, ptr %21, align 4, !tbaa !21
  %.not133141 = icmp sgt i32 %77, 0
  br i1 %.not133141, label %.preheader137.lr.ph, label %.critedge

.preheader137.lr.ph:                              ; preds = %70
  %78 = getelementptr inbounds i8, ptr %0, i64 72
  %79 = getelementptr inbounds i8, ptr %4, i64 152
  br label %.preheader137

80:                                               ; preds = %._crit_edge
  %indvars.iv.next156 = add nuw nsw i64 %indvars.iv155, 1
  %81 = load i32, ptr %21, align 4, !tbaa !21
  %82 = sext i32 %81 to i64
  %.not133 = icmp slt i64 %indvars.iv.next156, %82
  br i1 %.not133, label %.preheader137, label %.critedge, !llvm.loop !25

.preheader137:                                    ; preds = %.preheader137.lr.ph, %80
  %indvars.iv155 = phi i64 [ 0, %.preheader137.lr.ph ], [ %indvars.iv.next156, %80 ]
  %83 = load i32, ptr %17, align 8, !tbaa !20
  %84 = icmp sgt i32 %83, 0
  br i1 %84, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader137
  %85 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %indvars.iv155) #5
  %86 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %indvars.iv155) #5
  %87 = call noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform3RunERKSt6vectorIdSaIdEEPS3_S6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(104) %78, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull %85, ptr noundef nonnull %86, ptr noundef nonnull %79)
  br i1 %87, label %80, label %.loopexit

.lr.ph:                                           ; preds = %.preheader137, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader137 ]
  %88 = trunc nuw nsw i64 %indvars.iv to i32
  %89 = call noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %1, i32 noundef %88)
  %90 = getelementptr inbounds double, ptr %89, i64 %indvars.iv155
  %91 = load double, ptr %90, align 8, !tbaa !23
  %92 = getelementptr inbounds double, ptr %71, i64 %indvars.iv
  store double %91, ptr %92, align 8, !tbaa !23
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %93 = load i32, ptr %17, align 8, !tbaa !20
  %94 = sext i32 %93 to i64
  %95 = icmp slt i64 %indvars.iv.next, %94
  br i1 %95, label %.lr.ph, label %._crit_edge, !llvm.loop !27

.critedge:                                        ; preds = %80, %70
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %97 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  store ptr %97, ptr %8, align 8
  %98 = load i32, ptr %21, align 4, !tbaa !21
  %99 = sext i32 %98 to i64
  %100 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef %99) #5
  %101 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  store double 0.000000e+00, ptr %9, align 8, !tbaa !23
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %100, ptr %101, ptr noundef nonnull align 8 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %102 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  store ptr %102, ptr %10, align 8
  %103 = load i32, ptr %21, align 4, !tbaa !21
  %104 = sext i32 %103 to i64
  %105 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %104) #5
  %106 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store double 0.000000e+00, ptr %11, align 8, !tbaa !23
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %105, ptr %106, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  %107 = load i32, ptr %28, align 8, !tbaa !22
  %.not134146 = icmp slt i32 %107, 1
  br i1 %.not134146, label %.loopexit, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.critedge
  %108 = getelementptr inbounds i8, ptr %0, i64 24
  br label %.preheader

109:                                              ; preds = %._crit_edge145
  %indvars.iv.next162 = add nuw nsw i64 %indvars.iv161, 1
  %110 = load i32, ptr %28, align 8, !tbaa !22
  %111 = sext i32 %110 to i64
  %.not134.not = icmp slt i64 %indvars.iv.next162, %111
  br i1 %.not134.not, label %.preheader, label %.critedge136, !llvm.loop !28

.preheader:                                       ; preds = %.preheader.lr.ph, %109
  %indvars.iv161 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next162, %109 ]
  %112 = load i32, ptr %21, align 4, !tbaa !21
  %113 = icmp sgt i32 %112, 0
  br i1 %113, label %.lr.ph144, label %._crit_edge145

._crit_edge145:                                   ; preds = %.lr.ph144, %.preheader
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %indvars.iv161) #5
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %indvars.iv161) #5
  %116 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %108, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull %114, ptr noundef nonnull %115)
  br i1 %116, label %109, label %.loopexit

.lr.ph144:                                        ; preds = %.preheader, %.lr.ph144
  %indvars.iv158 = phi i64 [ %indvars.iv.next159, %.lr.ph144 ], [ 0, %.preheader ]
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %39, i64 noundef %indvars.iv158) #5
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %indvars.iv161) #5
  %119 = load double, ptr %118, align 8, !tbaa !23
  %120 = getelementptr inbounds double, ptr %71, i64 %indvars.iv158
  store double %119, ptr %120, align 8, !tbaa !23
  %121 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %indvars.iv158) #5
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %indvars.iv161) #5
  %123 = load double, ptr %122, align 8, !tbaa !23
  %124 = getelementptr inbounds double, ptr %96, i64 %indvars.iv158
  store double %123, ptr %124, align 8, !tbaa !23
  %indvars.iv.next159 = add nuw nsw i64 %indvars.iv158, 1
  %125 = load i32, ptr %21, align 4, !tbaa !21
  %126 = sext i32 %125 to i64
  %127 = icmp slt i64 %indvars.iv.next159, %126
  br i1 %127, label %.lr.ph144, label %._crit_edge145, !llvm.loop !29

.critedge136:                                     ; preds = %109
  %128 = icmp sgt i32 %110, 0
  br i1 %128, label %.lr.ph150, label %.loopexit

.lr.ph150:                                        ; preds = %.critedge136, %.lr.ph150
  %indvars.iv164 = phi i64 [ %indvars.iv.next165, %.lr.ph150 ], [ 0, %.critedge136 ]
  %129 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %indvars.iv164) #5
  %130 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %129) #5
  %131 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %indvars.iv164) #5
  %132 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #5
  %133 = trunc nuw nsw i64 %indvars.iv164 to i32
  %134 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %2, i32 noundef %133)
  %135 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %130, ptr %132, ptr noundef %134)
  %136 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %indvars.iv164) #5
  %137 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #5
  %138 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %indvars.iv164) #5
  %139 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #5
  %140 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %3, i32 noundef %133)
  %141 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %137, ptr %139, ptr noundef %140)
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %142 = load i32, ptr %28, align 8, !tbaa !22
  %143 = sext i32 %142 to i64
  %144 = icmp slt i64 %indvars.iv.next165, %143
  br i1 %144, label %.lr.ph150, label %.loopexit, !llvm.loop !30

.loopexit:                                        ; preds = %._crit_edge, %._crit_edge145, %.lr.ph150, %.critedge, %.critedge136, %5, %15, %19
  %.4 = phi i1 [ false, %19 ], [ false, %15 ], [ false, %5 ], [ true, %.critedge136 ], [ true, %.critedge ], [ true, %.lr.ph150 ], [ false, %._crit_edge145 ], [ false, %._crit_edge ]
  ret i1 %.4
}

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

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

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

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

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

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

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

declare void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #1 align 2

declare noundef zeroext i1 @_ZNK4sptk30RealValuedFastFourierTransform3RunERKSt6vectorIdSaIdEEPS3_S6_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

declare noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr, ptr, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { 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 #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !11, i64 176}
!6 = !{!"_ZTSN4sptk44TwoDimensionalRealValuedFastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !17, i64 72, !11, i64 176}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN4sptk20FastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !11, i64 20, !12, i64 24}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"_ZTSSt6vectorIdSaIdEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!"_ZTSN4sptk30RealValuedFastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, i64 72, !12, i64 80}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!6, !7, i64 8}
!21 = !{!6, !7, i64 12}
!22 = !{!6, !7, i64 16}
!23 = !{!24, !24, i64 0}
!24 = !{!"double", !8, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}
!29 = distinct !{!29, !26}
!30 = distinct !{!30, !26}


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