; LLVM IR from sp-nitech/SPTK :: src/math (two_dimensional_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::TwoDimensionalFastFourierTransform" = type <{ ptr, i32, i32, i32, [4 x i8], %"class.sptk::FastFourierTransform", 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::TwoDimensionalFastFourierTransform::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.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 }

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

47:                                               ; preds = %6
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %48)
  %50 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 1
  %51 = load i32, ptr %50, align 8, !tbaa !20
  %52 = icmp ne i32 %49, %51
  br i1 %52, label %80, label %53

53:                                               ; preds = %47
  %54 = load ptr, ptr %9, align 8, !tbaa !5
  %55 = call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %54)
  %56 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 2
  %57 = load i32, ptr %56, align 4, !tbaa !21
  %58 = icmp ne i32 %55, %57
  br i1 %58, label %80, label %59

59:                                               ; preds = %53
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %60)
  %62 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 1
  %63 = load i32, ptr %62, align 8, !tbaa !20
  %64 = icmp ne i32 %61, %63
  br i1 %64, label %80, label %65

65:                                               ; preds = %59
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %66)
  %68 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 2
  %69 = load i32, ptr %68, align 4, !tbaa !21
  %70 = icmp ne i32 %67, %69
  br i1 %70, label %80, label %71

71:                                               ; preds = %65
  %72 = load ptr, ptr %11, align 8, !tbaa !5
  %73 = icmp eq ptr null, %72
  br i1 %73, label %80, label %74

74:                                               ; preds = %71
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = icmp eq ptr null, %75
  br i1 %76, label %80, label %77

77:                                               ; preds = %74
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = icmp eq ptr null, %78
  br i1 %79, label %80, label %81

80:                                               ; preds = %77, %74, %71, %65, %59, %53, %47, %6
  store i1 false, ptr %7, align 1
  br label %443

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %82 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %83 = load i32, ptr %82, align 8, !tbaa !22
  %84 = sext i32 %83 to i64
  store i64 %84, ptr %14, align 8, !tbaa !23
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %85, i32 0, i32 1
  %87 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #5
  %88 = load i64, ptr %14, align 8, !tbaa !23
  %89 = icmp ne i64 %87, %88
  br i1 %89, label %90, label %94

90:                                               ; preds = %81
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %91, i32 0, i32 1
  %93 = load i64, ptr %14, align 8, !tbaa !23
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %92, i64 noundef %93)
  br label %94

94:                                               ; preds = %90, %81
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %95, i32 0, i32 2
  %97 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %96) #5
  %98 = load i64, ptr %14, align 8, !tbaa !23
  %99 = icmp ne i64 %97, %98
  br i1 %99, label %100, label %104

100:                                              ; preds = %94
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %101, i32 0, i32 2
  %103 = load i64, ptr %14, align 8, !tbaa !23
  call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %103)
  br label %104

104:                                              ; preds = %100, %94
  %105 = load ptr, ptr %13, align 8, !tbaa !5
  %106 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %105, i32 0, i32 3
  %107 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %106) #5
  %108 = load i64, ptr %14, align 8, !tbaa !23
  %109 = icmp ne i64 %107, %108
  br i1 %109, label %110, label %114

110:                                              ; preds = %104
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  %112 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %111, i32 0, i32 3
  %113 = load i64, ptr %14, align 8, !tbaa !23
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %113)
  br label %114

114:                                              ; preds = %110, %104
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %115, i32 0, i32 4
  %117 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %116) #5
  %118 = load i64, ptr %14, align 8, !tbaa !23
  %119 = icmp ne i64 %117, %118
  br i1 %119, label %120, label %124

120:                                              ; preds = %114
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %121, i32 0, i32 4
  %123 = load i64, ptr %14, align 8, !tbaa !23
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %122, i64 noundef %123)
  br label %124

124:                                              ; preds = %120, %114
  %125 = load ptr, ptr %13, align 8, !tbaa !5
  %126 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %125, i32 0, i32 5
  %127 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #5
  %128 = load i64, ptr %14, align 8, !tbaa !23
  %129 = icmp ne i64 %127, %128
  br i1 %129, label %130, label %134

130:                                              ; preds = %124
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %131, i32 0, i32 5
  %133 = load i64, ptr %14, align 8, !tbaa !23
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %133)
  br label %134

134:                                              ; preds = %130, %124
  %135 = load ptr, ptr %13, align 8, !tbaa !5
  %136 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %135, i32 0, i32 6
  %137 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #5
  %138 = load i64, ptr %14, align 8, !tbaa !23
  %139 = icmp ne i64 %137, %138
  br i1 %139, label %140, label %144

140:                                              ; preds = %134
  %141 = load ptr, ptr %13, align 8, !tbaa !5
  %142 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %141, i32 0, i32 6
  %143 = load i64, ptr %14, align 8, !tbaa !23
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %142, i64 noundef %143)
  br label %144

144:                                              ; preds = %140, %134
  %145 = load ptr, ptr %11, align 8, !tbaa !5
  %146 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %145)
  %147 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %148 = load i32, ptr %147, align 8, !tbaa !22
  %149 = icmp ne i32 %146, %148
  br i1 %149, label %156, label %150

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

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

162:                                              ; preds = %156, %150
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %163)
  %165 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %166 = load i32, ptr %165, align 8, !tbaa !22
  %167 = icmp ne i32 %164, %166
  br i1 %167, label %174, label %168

168:                                              ; preds = %162
  %169 = load ptr, ptr %12, align 8, !tbaa !5
  %170 = call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %169)
  %171 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %172 = load i32, ptr %171, align 8, !tbaa !22
  %173 = icmp ne i32 %170, %172
  br i1 %173, label %174, label %180

174:                                              ; preds = %168, %162
  %175 = load ptr, ptr %12, align 8, !tbaa !5
  %176 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %177 = load i32, ptr %176, align 8, !tbaa !22
  %178 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %179 = load i32, ptr %178, align 8, !tbaa !22
  call void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64) %175, i32 noundef %177, i32 noundef %179)
  br label %180

180:                                              ; preds = %174, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %181, i32 0, i32 1
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef 0) #5
  store ptr %183, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %184 = load ptr, ptr %13, align 8, !tbaa !5
  %185 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %184, i32 0, i32 2
  %186 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %185, i64 noundef 0) #5
  store ptr %186, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %187 = load ptr, ptr %13, align 8, !tbaa !5
  %188 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %187, i32 0, i32 1
  %189 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %188) #5
  %190 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %189, ptr %190, align 8
  %191 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 1
  %192 = load i32, ptr %191, align 8, !tbaa !20
  %193 = sext i32 %192 to i64
  %194 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %18, i64 noundef %193) #5
  %195 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %194, ptr %195, align 8
  %196 = load ptr, ptr %13, align 8, !tbaa !5
  %197 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %196, i32 0, i32 1
  %198 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %197) #5
  %199 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %198, ptr %199, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store double 0.000000e+00, ptr %20, align 8, !tbaa !25
  %200 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8
  %202 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  %203 = load ptr, ptr %202, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %201, ptr %203, ptr noundef nonnull align 8 dereferenceable(8) %20)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %204, i32 0, i32 2
  %206 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #5
  %207 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %206, ptr %207, align 8
  %208 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 1
  %209 = load i32, ptr %208, align 8, !tbaa !20
  %210 = sext i32 %209 to i64
  %211 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 noundef %210) #5
  %212 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %211, ptr %212, align 8
  %213 = load ptr, ptr %13, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %213, i32 0, i32 2
  %215 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %214) #5
  %216 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  store ptr %215, ptr %216, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  store double 0.000000e+00, ptr %24, align 8, !tbaa !25
  %217 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  %218 = load ptr, ptr %217, align 8
  %219 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %23, i32 0, i32 0
  %220 = load ptr, ptr %219, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %218, ptr %220, ptr noundef nonnull align 8 dereferenceable(8) %24)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !27
  br label %221

221:                                              ; preds = %279, %180
  %222 = load i32, ptr %25, align 4, !tbaa !27
  %223 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 2
  %224 = load i32, ptr %223, align 4, !tbaa !21
  %225 = icmp slt i32 %222, %224
  br i1 %225, label %227, label %226

226:                                              ; preds = %221
  store i32 2, ptr %26, align 4
  br label %282

227:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !27
  br label %228

228:                                              ; preds = %257, %227
  %229 = load i32, ptr %27, align 4, !tbaa !27
  %230 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 1
  %231 = load i32, ptr %230, align 8, !tbaa !20
  %232 = icmp slt i32 %229, %231
  br i1 %232, label %234, label %233

233:                                              ; preds = %228
  store i32 5, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %260

234:                                              ; preds = %228
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = load i32, ptr %27, align 4, !tbaa !27
  %237 = call noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %235, i32 noundef %236)
  %238 = load i32, ptr %25, align 4, !tbaa !27
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %237, i64 %239
  %241 = load double, ptr %240, align 8, !tbaa !25
  %242 = load ptr, ptr %15, align 8, !tbaa !5
  %243 = load i32, ptr %27, align 4, !tbaa !27
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds double, ptr %242, i64 %244
  store double %241, ptr %245, align 8, !tbaa !25
  %246 = load ptr, ptr %10, align 8, !tbaa !5
  %247 = load i32, ptr %27, align 4, !tbaa !27
  %248 = call noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %246, i32 noundef %247)
  %249 = load i32, ptr %25, align 4, !tbaa !27
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds double, ptr %248, i64 %250
  %252 = load double, ptr %251, align 8, !tbaa !25
  %253 = load ptr, ptr %16, align 8, !tbaa !5
  %254 = load i32, ptr %27, align 4, !tbaa !27
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds double, ptr %253, i64 %255
  store double %252, ptr %256, align 8, !tbaa !25
  br label %257

257:                                              ; preds = %234
  %258 = load i32, ptr %27, align 4, !tbaa !27
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %27, align 4, !tbaa !27
  br label %228, !llvm.loop !28

260:                                              ; preds = %233
  %261 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 5
  %262 = load ptr, ptr %13, align 8, !tbaa !5
  %263 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %262, i32 0, i32 1
  %264 = load ptr, ptr %13, align 8, !tbaa !5
  %265 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %264, i32 0, i32 2
  %266 = load ptr, ptr %13, align 8, !tbaa !5
  %267 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %266, i32 0, i32 3
  %268 = load i32, ptr %25, align 4, !tbaa !27
  %269 = sext i32 %268 to i64
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %267, i64 noundef %269) #5
  %271 = load ptr, ptr %13, align 8, !tbaa !5
  %272 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %271, i32 0, i32 4
  %273 = load i32, ptr %25, align 4, !tbaa !27
  %274 = sext i32 %273 to i64
  %275 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %274) #5
  %276 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %261, ptr noundef nonnull align 8 dereferenceable(24) %263, ptr noundef nonnull align 8 dereferenceable(24) %265, ptr noundef %270, ptr noundef %275)
  br i1 %276, label %278, label %277

277:                                              ; preds = %260
  store i1 false, ptr %7, align 1
  store i32 1, ptr %26, align 4
  br label %282

278:                                              ; preds = %260
  br label %279

279:                                              ; preds = %278
  %280 = load i32, ptr %25, align 4, !tbaa !27
  %281 = add nsw i32 %280, 1
  store i32 %281, ptr %25, align 4, !tbaa !27
  br label %221, !llvm.loop !30

282:                                              ; preds = %277, %226
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  %283 = load i32, ptr %26, align 4
  switch i32 %283, label %442 [
    i32 2, label %284
  ]

284:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %285, i32 0, i32 1
  %287 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %286) #5
  %288 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %287, ptr %288, align 8
  %289 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 2
  %290 = load i32, ptr %289, align 4, !tbaa !21
  %291 = sext i32 %290 to i64
  %292 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %29, i64 noundef %291) #5
  %293 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %292, ptr %293, align 8
  %294 = load ptr, ptr %13, align 8, !tbaa !5
  %295 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %294, i32 0, i32 1
  %296 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %295) #5
  %297 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %296, ptr %297, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  store double 0.000000e+00, ptr %31, align 8, !tbaa !25
  %298 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8
  %300 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  %301 = load ptr, ptr %300, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %299, ptr %301, ptr noundef nonnull align 8 dereferenceable(8) %31)
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  %302 = load ptr, ptr %13, align 8, !tbaa !5
  %303 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %302, i32 0, i32 2
  %304 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %303) #5
  %305 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %304, ptr %305, align 8
  %306 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 2
  %307 = load i32, ptr %306, align 4, !tbaa !21
  %308 = sext i32 %307 to i64
  %309 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %33, i64 noundef %308) #5
  %310 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %32, i32 0, i32 0
  store ptr %309, ptr %310, align 8
  %311 = load ptr, ptr %13, align 8, !tbaa !5
  %312 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %311, i32 0, i32 2
  %313 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %312) #5
  %314 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  store ptr %313, ptr %314, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  store double 0.000000e+00, ptr %35, align 8, !tbaa !25
  %315 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %32, i32 0, i32 0
  %316 = load ptr, ptr %315, align 8
  %317 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %34, i32 0, i32 0
  %318 = load ptr, ptr %317, align 8
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %316, ptr %318, ptr noundef nonnull align 8 dereferenceable(8) %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  store i32 0, ptr %36, align 4, !tbaa !27
  br label %319

319:                                              ; preds = %381, %284
  %320 = load i32, ptr %36, align 4, !tbaa !27
  %321 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %322 = load i32, ptr %321, align 8, !tbaa !22
  %323 = icmp slt i32 %320, %322
  br i1 %323, label %325, label %324

324:                                              ; preds = %319
  store i32 8, ptr %26, align 4
  br label %384

325:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #5
  store i32 0, ptr %37, align 4, !tbaa !27
  br label %326

326:                                              ; preds = %359, %325
  %327 = load i32, ptr %37, align 4, !tbaa !27
  %328 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 2
  %329 = load i32, ptr %328, align 4, !tbaa !21
  %330 = icmp slt i32 %327, %329
  br i1 %330, label %332, label %331

331:                                              ; preds = %326
  store i32 11, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #5
  br label %362

332:                                              ; preds = %326
  %333 = load ptr, ptr %13, align 8, !tbaa !5
  %334 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %333, i32 0, i32 3
  %335 = load i32, ptr %37, align 4, !tbaa !27
  %336 = sext i32 %335 to i64
  %337 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %334, i64 noundef %336) #5
  %338 = load i32, ptr %36, align 4, !tbaa !27
  %339 = sext i32 %338 to i64
  %340 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %337, i64 noundef %339) #5
  %341 = load double, ptr %340, align 8, !tbaa !25
  %342 = load ptr, ptr %15, align 8, !tbaa !5
  %343 = load i32, ptr %37, align 4, !tbaa !27
  %344 = sext i32 %343 to i64
  %345 = getelementptr inbounds double, ptr %342, i64 %344
  store double %341, ptr %345, align 8, !tbaa !25
  %346 = load ptr, ptr %13, align 8, !tbaa !5
  %347 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %346, i32 0, i32 4
  %348 = load i32, ptr %37, align 4, !tbaa !27
  %349 = sext i32 %348 to i64
  %350 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %347, i64 noundef %349) #5
  %351 = load i32, ptr %36, align 4, !tbaa !27
  %352 = sext i32 %351 to i64
  %353 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %350, i64 noundef %352) #5
  %354 = load double, ptr %353, align 8, !tbaa !25
  %355 = load ptr, ptr %16, align 8, !tbaa !5
  %356 = load i32, ptr %37, align 4, !tbaa !27
  %357 = sext i32 %356 to i64
  %358 = getelementptr inbounds double, ptr %355, i64 %357
  store double %354, ptr %358, align 8, !tbaa !25
  br label %359

359:                                              ; preds = %332
  %360 = load i32, ptr %37, align 4, !tbaa !27
  %361 = add nsw i32 %360, 1
  store i32 %361, ptr %37, align 4, !tbaa !27
  br label %326, !llvm.loop !31

362:                                              ; preds = %331
  %363 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 5
  %364 = load ptr, ptr %13, align 8, !tbaa !5
  %365 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %364, i32 0, i32 1
  %366 = load ptr, ptr %13, align 8, !tbaa !5
  %367 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %366, i32 0, i32 2
  %368 = load ptr, ptr %13, align 8, !tbaa !5
  %369 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %368, i32 0, i32 5
  %370 = load i32, ptr %36, align 4, !tbaa !27
  %371 = sext i32 %370 to i64
  %372 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %369, i64 noundef %371) #5
  %373 = load ptr, ptr %13, align 8, !tbaa !5
  %374 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %373, i32 0, i32 6
  %375 = load i32, ptr %36, align 4, !tbaa !27
  %376 = sext i32 %375 to i64
  %377 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %374, i64 noundef %376) #5
  %378 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %363, ptr noundef nonnull align 8 dereferenceable(24) %365, ptr noundef nonnull align 8 dereferenceable(24) %367, ptr noundef %372, ptr noundef %377)
  br i1 %378, label %380, label %379

379:                                              ; preds = %362
  store i1 false, ptr %7, align 1
  store i32 1, ptr %26, align 4
  br label %384

380:                                              ; preds = %362
  br label %381

381:                                              ; preds = %380
  %382 = load i32, ptr %36, align 4, !tbaa !27
  %383 = add nsw i32 %382, 1
  store i32 %383, ptr %36, align 4, !tbaa !27
  br label %319, !llvm.loop !32

384:                                              ; preds = %379, %324
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  %385 = load i32, ptr %26, align 4
  switch i32 %385, label %442 [
    i32 8, label %386
  ]

386:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #5
  store i32 0, ptr %38, align 4, !tbaa !27
  br label %387

387:                                              ; preds = %438, %386
  %388 = load i32, ptr %38, align 4, !tbaa !27
  %389 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform", ptr %43, i32 0, i32 3
  %390 = load i32, ptr %389, align 8, !tbaa !22
  %391 = icmp slt i32 %388, %390
  br i1 %391, label %393, label %392

392:                                              ; preds = %387
  store i32 14, ptr %26, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #5
  br label %441

393:                                              ; preds = %387
  %394 = load ptr, ptr %13, align 8, !tbaa !5
  %395 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %394, i32 0, i32 5
  %396 = load i32, ptr %38, align 4, !tbaa !27
  %397 = sext i32 %396 to i64
  %398 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %395, i64 noundef %397) #5
  %399 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %398) #5
  %400 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %399, ptr %400, align 8
  %401 = load ptr, ptr %13, align 8, !tbaa !5
  %402 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %401, i32 0, i32 5
  %403 = load i32, ptr %38, align 4, !tbaa !27
  %404 = sext i32 %403 to i64
  %405 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %402, i64 noundef %404) #5
  %406 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %405) #5
  %407 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %406, ptr %407, align 8
  %408 = load ptr, ptr %11, align 8, !tbaa !5
  %409 = load i32, ptr %38, align 4, !tbaa !27
  %410 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %408, i32 noundef %409)
  %411 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  %412 = load ptr, ptr %411, align 8
  %413 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  %414 = load ptr, ptr %413, align 8
  %415 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %412, ptr %414, ptr noundef %410)
  %416 = load ptr, ptr %13, align 8, !tbaa !5
  %417 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %416, i32 0, i32 6
  %418 = load i32, ptr %38, align 4, !tbaa !27
  %419 = sext i32 %418 to i64
  %420 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %417, i64 noundef %419) #5
  %421 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %420) #5
  %422 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  store ptr %421, ptr %422, align 8
  %423 = load ptr, ptr %13, align 8, !tbaa !5
  %424 = getelementptr inbounds %"class.sptk::TwoDimensionalFastFourierTransform::Buffer", ptr %423, i32 0, i32 6
  %425 = load i32, ptr %38, align 4, !tbaa !27
  %426 = sext i32 %425 to i64
  %427 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %424, i64 noundef %426) #5
  %428 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %427) #5
  %429 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  store ptr %428, ptr %429, align 8
  %430 = load ptr, ptr %12, align 8, !tbaa !5
  %431 = load i32, ptr %38, align 4, !tbaa !27
  %432 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %430, i32 noundef %431)
  %433 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %41, i32 0, i32 0
  %434 = load ptr, ptr %433, align 8
  %435 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %42, i32 0, i32 0
  %436 = load ptr, ptr %435, align 8
  %437 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %434, ptr %436, ptr noundef %432)
  br label %438

438:                                              ; preds = %393
  %439 = load i32, ptr %38, align 4, !tbaa !27
  %440 = add nsw i32 %439, 1
  store i32 %440, ptr %38, align 4, !tbaa !27
  br label %387, !llvm.loop !33

441:                                              ; preds = %392
  store i1 true, ptr %7, align 1
  store i32 1, ptr %26, align 4
  br label %442

442:                                              ; preds = %441, %384, %282
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %443

443:                                              ; preds = %442, %80
  %444 = load i1, ptr %7, align 1
  ret i1 %444
}

; 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 @_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: 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

; 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 72}
!10 = !{!"_ZTSN4sptk34TwoDimensionalFastFourierTransformE", !11, i64 8, !11, i64 12, !11, i64 16, !12, i64 24, !13, i64 72}
!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 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!10, !11, i64 8}
!21 = !{!10, !11, i64 12}
!22 = !{!10, !11, i64 16}
!23 = !{!24, !24, i64 0}
!24 = !{!"long", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"double", !7, i64 0}
!27 = !{!11, !11, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
!32 = distinct !{!32, !29}
!33 = distinct !{!33, !29}


; 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 @_ZNK4sptk34TwoDimensionalFastFourierTransform3RunERKNS_6MatrixES3_PS1_S4_PNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(73) %0, ptr noundef nonnull align 8 dereferenceable(64) %1, ptr noundef nonnull align 8 dereferenceable(64) %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #0 align 2 {
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca double, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca double, align 8
  %15 = getelementptr inbounds i8, ptr %0, i64 72
  %16 = load i8, ptr %15, align 8, !tbaa !5, !range !17, !noundef !18
  %17 = trunc nuw i8 %16 to i1
  br i1 %17, label %18, label %.loopexit

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

22:                                               ; preds = %18
  %23 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %1)
  %24 = getelementptr inbounds i8, ptr %0, i64 12
  %25 = load i32, ptr %24, align 4, !tbaa !20
  %.not133 = icmp eq i32 %23, %25
  br i1 %.not133, label %26, label %.loopexit

26:                                               ; preds = %22
  %27 = tail call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %2)
  %28 = load i32, ptr %20, align 8, !tbaa !19
  %.not134 = icmp eq i32 %27, %28
  br i1 %.not134, label %29, label %.loopexit

29:                                               ; preds = %26
  %30 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %2)
  %31 = load i32, ptr %24, align 4, !tbaa !20
  %32 = icmp ne i32 %30, %31
  %33 = icmp eq ptr %3, null
  %or.cond = or i1 %33, %32
  %34 = icmp eq ptr %4, null
  %or.cond4 = or i1 %34, %or.cond
  %35 = icmp eq ptr %5, null
  %or.cond6 = or i1 %35, %or.cond4
  br i1 %or.cond6, label %.loopexit, label %36

36:                                               ; preds = %29
  %37 = getelementptr inbounds i8, ptr %0, i64 16
  %38 = load i32, ptr %37, align 8, !tbaa !21
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds i8, ptr %5, i64 8
  %41 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  %.not135 = icmp eq i64 %41, %39
  br i1 %.not135, label %43, label %42

42:                                               ; preds = %36
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %39)
  br label %43

43:                                               ; preds = %42, %36
  %44 = getelementptr inbounds i8, ptr %5, i64 32
  %45 = tail call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %.not136 = icmp eq i64 %45, %39
  br i1 %.not136, label %47, label %46

46:                                               ; preds = %43
  tail call void @_ZNSt6vectorIdSaIdEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %39)
  br label %47

47:                                               ; preds = %46, %43
  %48 = getelementptr inbounds i8, ptr %5, i64 56
  %49 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %48) #5
  %.not137 = icmp eq i64 %49, %39
  br i1 %.not137, label %51, label %50

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

51:                                               ; preds = %50, %47
  %52 = getelementptr inbounds i8, ptr %5, i64 80
  %53 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #5
  %.not138 = icmp eq i64 %53, %39
  br i1 %.not138, label %55, label %54

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

55:                                               ; preds = %54, %51
  %56 = getelementptr inbounds i8, ptr %5, i64 104
  %57 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #5
  %.not139 = icmp eq i64 %57, %39
  br i1 %.not139, label %59, label %58

58:                                               ; preds = %55
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %39)
  br label %59

59:                                               ; preds = %58, %55
  %60 = getelementptr inbounds i8, ptr %5, i64 128
  %61 = tail call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  %.not140 = icmp eq i64 %61, %39
  br i1 %.not140, label %63, label %62

62:                                               ; preds = %59
  tail call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %39)
  br label %63

63:                                               ; preds = %62, %59
  %64 = tail call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %65 = load i32, ptr %37, align 8, !tbaa !21
  %.not141 = icmp eq i32 %64, %65
  br i1 %.not141, label %66, label %69

66:                                               ; preds = %63
  %67 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %3)
  %68 = load i32, ptr %37, align 8, !tbaa !21
  %.not142 = icmp eq i32 %67, %68
  br i1 %.not142, label %71, label %69

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

71:                                               ; preds = %69, %66
  %72 = tail call noundef i32 @_ZNK4sptk6Matrix9GetNumRowEv(ptr noundef nonnull align 8 dereferenceable(64) %4)
  %73 = load i32, ptr %37, align 8, !tbaa !21
  %.not143 = icmp eq i32 %72, %73
  br i1 %.not143, label %74, label %77

74:                                               ; preds = %71
  %75 = tail call noundef i32 @_ZNK4sptk6Matrix12GetNumColumnEv(ptr noundef nonnull align 8 dereferenceable(64) %4)
  %76 = load i32, ptr %37, align 8, !tbaa !21
  %.not144 = icmp eq i32 %75, %76
  br i1 %.not144, label %79, label %77

77:                                               ; preds = %74, %71
  %78 = phi i32 [ %76, %74 ], [ %73, %71 ]
  tail call void @_ZN4sptk6Matrix6ResizeEii(ptr noundef nonnull align 8 dereferenceable(64) %4, i32 noundef %78, i32 noundef %78)
  br label %79

79:                                               ; preds = %77, %74
  %80 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef 0) #5
  %81 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %82 = tail call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  store ptr %82, ptr %7, align 8
  %83 = load i32, ptr %20, align 8, !tbaa !19
  %84 = sext i32 %83 to i64
  %85 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %84) #5
  %86 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  store double 0.000000e+00, ptr %8, align 8, !tbaa !22
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %85, ptr %86, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %87 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  store ptr %87, ptr %9, align 8
  %88 = load i32, ptr %20, align 8, !tbaa !19
  %89 = sext i32 %88 to i64
  %90 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef %89) #5
  %91 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  store double 0.000000e+00, ptr %10, align 8, !tbaa !22
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %90, ptr %91, ptr noundef nonnull align 8 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  %92 = load i32, ptr %24, align 4, !tbaa !20
  %.not145151 = icmp sgt i32 %92, 0
  br i1 %.not145151, label %.preheader149.lr.ph, label %.critedge

.preheader149.lr.ph:                              ; preds = %79
  %93 = getelementptr inbounds i8, ptr %0, i64 24
  br label %.preheader149

94:                                               ; preds = %._crit_edge
  %indvars.iv.next164 = add nuw nsw i64 %indvars.iv163, 1
  %95 = load i32, ptr %24, align 4, !tbaa !20
  %96 = sext i32 %95 to i64
  %.not145 = icmp slt i64 %indvars.iv.next164, %96
  br i1 %.not145, label %.preheader149, label %.critedge, !llvm.loop !24

.preheader149:                                    ; preds = %.preheader149.lr.ph, %94
  %indvars.iv163 = phi i64 [ 0, %.preheader149.lr.ph ], [ %indvars.iv.next164, %94 ]
  %97 = load i32, ptr %20, align 8, !tbaa !19
  %98 = icmp sgt i32 %97, 0
  br i1 %98, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.preheader149
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %indvars.iv163) #5
  %100 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %indvars.iv163) #5
  %101 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %93, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull %99, ptr noundef nonnull %100)
  br i1 %101, label %94, label %.loopexit

.lr.ph:                                           ; preds = %.preheader149, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %.preheader149 ]
  %102 = trunc nuw nsw i64 %indvars.iv to i32
  %103 = call noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %1, i32 noundef %102)
  %104 = getelementptr inbounds double, ptr %103, i64 %indvars.iv163
  %105 = load double, ptr %104, align 8, !tbaa !22
  %106 = getelementptr inbounds double, ptr %80, i64 %indvars.iv
  store double %105, ptr %106, align 8, !tbaa !22
  %107 = call noundef ptr @_ZNK4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %2, i32 noundef %102)
  %108 = getelementptr inbounds double, ptr %107, i64 %indvars.iv163
  %109 = load double, ptr %108, align 8, !tbaa !22
  %110 = getelementptr inbounds double, ptr %81, i64 %indvars.iv
  store double %109, ptr %110, align 8, !tbaa !22
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %111 = load i32, ptr %20, align 8, !tbaa !19
  %112 = sext i32 %111 to i64
  %113 = icmp slt i64 %indvars.iv.next, %112
  br i1 %113, label %.lr.ph, label %._crit_edge, !llvm.loop !26

.critedge:                                        ; preds = %94, %79
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %114 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  store ptr %114, ptr %11, align 8
  %115 = load i32, ptr %24, align 4, !tbaa !20
  %116 = sext i32 %115 to i64
  %117 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %11, i64 noundef %116) #5
  %118 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !22
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %117, ptr %118, ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %119 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  store ptr %119, ptr %13, align 8
  %120 = load i32, ptr %24, align 4, !tbaa !20
  %121 = sext i32 %120 to i64
  %122 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %13, i64 noundef %121) #5
  %123 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  store double 0.000000e+00, ptr %14, align 8, !tbaa !22
  call void @_ZSt4fillIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdEvT_S7_RKT0_(ptr %122, ptr %123, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  %124 = load i32, ptr %37, align 8, !tbaa !21
  %.not146156 = icmp sgt i32 %124, 0
  br i1 %.not146156, label %.preheader.lr.ph, label %.loopexit

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

126:                                              ; preds = %._crit_edge155
  %indvars.iv.next170 = add nuw nsw i64 %indvars.iv169, 1
  %127 = load i32, ptr %37, align 8, !tbaa !21
  %128 = sext i32 %127 to i64
  %.not146 = icmp slt i64 %indvars.iv.next170, %128
  br i1 %.not146, label %.preheader, label %.critedge148, !llvm.loop !27

.preheader:                                       ; preds = %.preheader.lr.ph, %126
  %indvars.iv169 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next170, %126 ]
  %129 = load i32, ptr %24, align 4, !tbaa !20
  %130 = icmp sgt i32 %129, 0
  br i1 %130, label %.lr.ph154, label %._crit_edge155

._crit_edge155:                                   ; preds = %.lr.ph154, %.preheader
  %131 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %indvars.iv169) #5
  %132 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %indvars.iv169) #5
  %133 = call noundef zeroext i1 @_ZNK4sptk20FastFourierTransform3RunERKSt6vectorIdSaIdEES5_PS3_S6_(ptr noundef nonnull align 8 dereferenceable(48) %125, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull %131, ptr noundef nonnull %132)
  br i1 %133, label %126, label %.loopexit

.lr.ph154:                                        ; preds = %.preheader, %.lr.ph154
  %indvars.iv166 = phi i64 [ %indvars.iv.next167, %.lr.ph154 ], [ 0, %.preheader ]
  %134 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %indvars.iv166) #5
  %135 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %134, i64 noundef %indvars.iv169) #5
  %136 = load double, ptr %135, align 8, !tbaa !22
  %137 = getelementptr inbounds double, ptr %80, i64 %indvars.iv166
  store double %136, ptr %137, align 8, !tbaa !22
  %138 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %52, i64 noundef %indvars.iv166) #5
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef %indvars.iv169) #5
  %140 = load double, ptr %139, align 8, !tbaa !22
  %141 = getelementptr inbounds double, ptr %81, i64 %indvars.iv166
  store double %140, ptr %141, align 8, !tbaa !22
  %indvars.iv.next167 = add nuw nsw i64 %indvars.iv166, 1
  %142 = load i32, ptr %24, align 4, !tbaa !20
  %143 = sext i32 %142 to i64
  %144 = icmp slt i64 %indvars.iv.next167, %143
  br i1 %144, label %.lr.ph154, label %._crit_edge155, !llvm.loop !28

.critedge148:                                     ; preds = %126
  %145 = icmp sgt i32 %127, 0
  br i1 %145, label %.lr.ph159, label %.loopexit

.lr.ph159:                                        ; preds = %.critedge148, %.lr.ph159
  %indvars.iv172 = phi i64 [ %indvars.iv.next173, %.lr.ph159 ], [ 0, %.critedge148 ]
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %indvars.iv172) #5
  %147 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #5
  %148 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %indvars.iv172) #5
  %149 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %148) #5
  %150 = trunc nuw nsw i64 %indvars.iv172 to i32
  %151 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %3, i32 noundef %150)
  %152 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %147, ptr %149, ptr noundef %151)
  %153 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %indvars.iv172) #5
  %154 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %153) #5
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %indvars.iv172) #5
  %156 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #5
  %157 = call noundef ptr @_ZN4sptk6MatrixixEi(ptr noundef nonnull align 8 dereferenceable(64) %4, i32 noundef %150)
  %158 = call noundef ptr @_ZSt4copyIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES2_ET0_T_S8_S7_(ptr %154, ptr %156, ptr noundef %157)
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %159 = load i32, ptr %37, align 8, !tbaa !21
  %160 = sext i32 %159 to i64
  %161 = icmp slt i64 %indvars.iv.next173, %160
  br i1 %161, label %.lr.ph159, label %.loopexit, !llvm.loop !29

.loopexit:                                        ; preds = %._crit_edge, %._crit_edge155, %.lr.ph159, %.critedge, %.critedge148, %6, %18, %22, %26, %29
  %.3 = phi i1 [ false, %29 ], [ false, %26 ], [ false, %22 ], [ false, %18 ], [ false, %6 ], [ true, %.critedge148 ], [ true, %.critedge ], [ true, %.lr.ph159 ], [ false, %._crit_edge155 ], [ false, %._crit_edge ]
  ret i1 %.3
}

; 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 @_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: 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

; 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 72}
!6 = !{!"_ZTSN4sptk34TwoDimensionalFastFourierTransformE", !7, i64 8, !7, i64 12, !7, i64 16, !10, i64 24, !11, i64 72}
!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 = !{i8 0, i8 2}
!18 = !{}
!19 = !{!6, !7, i64 8}
!20 = !{!6, !7, i64 12}
!21 = !{!6, !7, i64 16}
!22 = !{!23, !23, i64 0}
!23 = !{!"double", !8, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = distinct !{!27, !25}
!28 = distinct !{!28, !25}
!29 = distinct !{!29, !25}


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