; LLVM IR from thekyria/elabtsaot2 :: emulator_hw/hardware_model (tdconstzloadpipeline)

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

%"struct.std::pair" = type { i32, i32 }
%"class.std::complex" = type { { double, double } }
%"class.elabtsaot::Pipeline" = type { ptr, %"class.std::vector", i64, i64, i64, i64, %"class.std::vector.0" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.elabtsaot::TDConstZLoadPipeline" = type { %"class.elabtsaot::Pipeline", %"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::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::complex<double>, std::allocator<std::complex<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.elabtsaot::Load" = type { i32, i32, double, double, %"class.std::complex", double, double, double, double }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9elabtsaot20TDConstZLoadPipeline14insert_elementEmmRKNS_4LoadEb(ptr noundef nonnull align 8 dereferenceable(136) %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(72) %3, i1 noundef zeroext %4) #2 align 2 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i8, align 1
  %17 = alloca i32, align 4
  %18 = alloca %"struct.std::pair", align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::complex", align 8
  %22 = alloca %"class.std::complex", align 8
  %23 = alloca %"class.std::complex", align 8
  %24 = alloca %"class.std::complex", align 8
  %25 = alloca %"class.std::complex", align 8
  %26 = alloca %"class.std::complex", align 8
  %27 = alloca %"class.std::complex", align 8
  %28 = alloca %"class.std::complex", align 8
  %29 = alloca %"class.std::complex", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i64 %1, ptr %8, align 8, !tbaa !9
  store i64 %2, ptr %9, align 8, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  %30 = zext i1 %4 to i8
  store i8 %30, ptr %11, align 1, !tbaa !11
  %31 = load ptr, ptr %7, align 8
  %32 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 3
  %33 = load i64, ptr %32, align 8, !tbaa !13
  %34 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 2
  %35 = load i64, ptr %34, align 8, !tbaa !23
  %36 = icmp eq i64 %33, %35
  br i1 %36, label %37, label %38

37:                                               ; preds = %5
  store i32 1, ptr %6, align 4
  br label %201

38:                                               ; preds = %5
  %39 = load i64, ptr %8, align 8, !tbaa !9
  %40 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 4
  %41 = load i64, ptr %40, align 8, !tbaa !24
  %42 = icmp uge i64 %39, %41
  br i1 %42, label %43, label %44

43:                                               ; preds = %38
  store i32 2, ptr %6, align 4
  br label %201

44:                                               ; preds = %38
  %45 = load i64, ptr %9, align 8, !tbaa !9
  %46 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 5
  %47 = load i64, ptr %46, align 8, !tbaa !25
  %48 = icmp uge i64 %45, %47
  br i1 %48, label %49, label %50

49:                                               ; preds = %44
  store i32 3, ptr %6, align 4
  br label %201

50:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  store i64 0, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %51 = load i64, ptr %8, align 8, !tbaa !9
  %52 = load i64, ptr %9, align 8, !tbaa !9
  %53 = call noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88) %31, i64 noundef %51, i64 noundef %52)
  store i64 %53, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  store i8 0, ptr %16, align 1, !tbaa !11
  store i64 0, ptr %12, align 8, !tbaa !9
  br label %54

54:                                               ; preds = %87, %50
  %55 = load i64, ptr %12, align 8, !tbaa !9
  %56 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 3
  %57 = load i64, ptr %56, align 8, !tbaa !13
  %58 = icmp ne i64 %55, %57
  br i1 %58, label %59, label %90

59:                                               ; preds = %54
  %60 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 6
  %61 = load i64, ptr %12, align 8, !tbaa !9
  %62 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %61) #6
  %63 = getelementptr inbounds %"struct.std::pair", ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 4, !tbaa !26
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 6
  %67 = load i64, ptr %12, align 8, !tbaa !9
  %68 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %67) #6
  %69 = getelementptr inbounds %"struct.std::pair", ptr %68, i32 0, i32 1
  %70 = load i32, ptr %69, align 4, !tbaa !29
  %71 = sext i32 %70 to i64
  %72 = call noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88) %31, i64 noundef %65, i64 noundef %71)
  store i64 %72, ptr %15, align 8, !tbaa !9
  %73 = load i64, ptr %14, align 8, !tbaa !9
  %74 = load i64, ptr %15, align 8, !tbaa !9
  %75 = icmp eq i64 %73, %74
  br i1 %75, label %76, label %81

76:                                               ; preds = %59
  %77 = load i8, ptr %11, align 1, !tbaa !11, !range !30, !noundef !31
  %78 = trunc i8 %77 to i1
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  store i32 4, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %200

80:                                               ; preds = %76
  store i8 1, ptr %16, align 1, !tbaa !11
  br label %90

81:                                               ; preds = %59
  %82 = load i64, ptr %14, align 8, !tbaa !9
  %83 = load i64, ptr %15, align 8, !tbaa !9
  %84 = icmp ult i64 %82, %83
  br i1 %84, label %85, label %86

85:                                               ; preds = %81
  br label %90

86:                                               ; preds = %81
  br label %87

87:                                               ; preds = %86
  %88 = load i64, ptr %12, align 8, !tbaa !9
  %89 = add i64 %88, 1
  store i64 %89, ptr %12, align 8, !tbaa !9
  br label %54, !llvm.loop !32

90:                                               ; preds = %85, %80, %54
  %91 = load i8, ptr %16, align 1, !tbaa !11, !range !30, !noundef !31
  %92 = trunc i8 %91 to i1
  br i1 %92, label %127, label %93

93:                                               ; preds = %90
  %94 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 3
  %95 = load i64, ptr %94, align 8, !tbaa !13
  store i64 %95, ptr %13, align 8, !tbaa !9
  br label %96

96:                                               ; preds = %123, %93
  %97 = load i64, ptr %13, align 8, !tbaa !9
  %98 = load i64, ptr %12, align 8, !tbaa !9
  %99 = icmp ne i64 %97, %98
  br i1 %99, label %100, label %126

100:                                              ; preds = %96
  %101 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 6
  %102 = load i64, ptr %13, align 8, !tbaa !9
  %103 = sub i64 %102, 1
  %104 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %103) #6
  %105 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 6
  %106 = load i64, ptr %13, align 8, !tbaa !9
  %107 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %106) #6
  %108 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %107, ptr noundef nonnull align 4 dereferenceable(8) %104)
  %109 = getelementptr inbounds %"class.elabtsaot::TDConstZLoadPipeline", ptr %31, i32 0, i32 1
  %110 = load i64, ptr %13, align 8, !tbaa !9
  %111 = sub i64 %110, 1
  %112 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %109, i64 noundef %111) #6
  %113 = getelementptr inbounds %"class.elabtsaot::TDConstZLoadPipeline", ptr %31, i32 0, i32 1
  %114 = load i64, ptr %13, align 8, !tbaa !9
  %115 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %113, i64 noundef %114) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %115, ptr align 8 %112, i64 16, i1 false), !tbaa.struct !34
  %116 = getelementptr inbounds %"class.elabtsaot::TDConstZLoadPipeline", ptr %31, i32 0, i32 2
  %117 = load i64, ptr %13, align 8, !tbaa !9
  %118 = sub i64 %117, 1
  %119 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %116, i64 noundef %118) #6
  %120 = getelementptr inbounds %"class.elabtsaot::TDConstZLoadPipeline", ptr %31, i32 0, i32 2
  %121 = load i64, ptr %13, align 8, !tbaa !9
  %122 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %121) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %122, ptr align 8 %119, i64 16, i1 false), !tbaa.struct !34
  br label %123

123:                                              ; preds = %100
  %124 = load i64, ptr %13, align 8, !tbaa !9
  %125 = add i64 %124, -1
  store i64 %125, ptr %13, align 8, !tbaa !9
  br label %96, !llvm.loop !36

126:                                              ; preds = %96
  br label %127

127:                                              ; preds = %126, %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %128 = load i64, ptr %8, align 8, !tbaa !9
  %129 = trunc i64 %128 to i32
  store i32 %129, ptr %19, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %130 = load i64, ptr %9, align 8, !tbaa !9
  %131 = trunc i64 %130 to i32
  store i32 %131, ptr %20, align 4, !tbaa !37
  %132 = call i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %19, ptr noundef nonnull align 4 dereferenceable(4) %20)
  store i64 %132, ptr %18, align 4
  %133 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 6
  %134 = load i64, ptr %12, align 8, !tbaa !9
  %135 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %133, i64 noundef %134) #6
  %136 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %135, ptr noundef nonnull align 4 dereferenceable(8) %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #6
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %"class.elabtsaot::Load", ptr %137, i32 0, i32 2
  %139 = load double, ptr %138, align 8, !tbaa !38
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  %141 = getelementptr inbounds %"class.elabtsaot::Load", ptr %140, i32 0, i32 3
  %142 = load double, ptr %141, align 8, !tbaa !42
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef %139, double noundef %142)
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %143 = load ptr, ptr %10, align 8, !tbaa !5
  %144 = getelementptr inbounds %"class.elabtsaot::Load", ptr %143, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %144, i64 16, i1 false), !tbaa.struct !34
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %145 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %146 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  %147 = getelementptr inbounds { double, double }, ptr %146, i32 0, i32 0
  %148 = extractvalue { double, double } %145, 0
  store double %148, ptr %147, align 8
  %149 = getelementptr inbounds { double, double }, ptr %146, i32 0, i32 1
  %150 = extractvalue { double, double } %145, 1
  store double %150, ptr %149, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #6
  %151 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %22)
  %152 = getelementptr inbounds %"class.std::complex", ptr %26, i32 0, i32 0
  %153 = getelementptr inbounds { double, double }, ptr %152, i32 0, i32 0
  %154 = extractvalue { double, double } %151, 0
  store double %154, ptr %153, align 8
  %155 = getelementptr inbounds { double, double }, ptr %152, i32 0, i32 1
  %156 = extractvalue { double, double } %151, 1
  store double %156, ptr %155, align 8
  %157 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %26)
  %158 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %159 = getelementptr inbounds { double, double }, ptr %158, i32 0, i32 0
  %160 = extractvalue { double, double } %157, 0
  store double %160, ptr %159, align 8
  %161 = getelementptr inbounds { double, double }, ptr %158, i32 0, i32 1
  %162 = extractvalue { double, double } %157, 1
  store double %162, ptr %161, align 8
  %163 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %164 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  %165 = getelementptr inbounds { double, double }, ptr %164, i32 0, i32 0
  %166 = extractvalue { double, double } %163, 0
  store double %166, ptr %165, align 8
  %167 = getelementptr inbounds { double, double }, ptr %164, i32 0, i32 1
  %168 = extractvalue { double, double } %163, 1
  store double %168, ptr %167, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  %169 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %170 = getelementptr inbounds %"class.std::complex", ptr %28, i32 0, i32 0
  %171 = getelementptr inbounds { double, double }, ptr %170, i32 0, i32 0
  %172 = extractvalue { double, double } %169, 0
  store double %172, ptr %171, align 8
  %173 = getelementptr inbounds { double, double }, ptr %170, i32 0, i32 1
  %174 = extractvalue { double, double } %169, 1
  store double %174, ptr %173, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #6
  %175 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %22)
  %176 = getelementptr inbounds %"class.std::complex", ptr %29, i32 0, i32 0
  %177 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 0
  %178 = extractvalue { double, double } %175, 0
  store double %178, ptr %177, align 8
  %179 = getelementptr inbounds { double, double }, ptr %176, i32 0, i32 1
  %180 = extractvalue { double, double } %175, 1
  store double %180, ptr %179, align 8
  %181 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef nonnull align 8 dereferenceable(16) %29)
  %182 = getelementptr inbounds %"class.std::complex", ptr %27, i32 0, i32 0
  %183 = getelementptr inbounds { double, double }, ptr %182, i32 0, i32 0
  %184 = extractvalue { double, double } %181, 0
  store double %184, ptr %183, align 8
  %185 = getelementptr inbounds { double, double }, ptr %182, i32 0, i32 1
  %186 = extractvalue { double, double } %181, 1
  store double %186, ptr %185, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  %187 = getelementptr inbounds %"class.elabtsaot::TDConstZLoadPipeline", ptr %31, i32 0, i32 1
  %188 = load i64, ptr %12, align 8, !tbaa !9
  %189 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %187, i64 noundef %188) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %189, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !34
  %190 = getelementptr inbounds %"class.elabtsaot::TDConstZLoadPipeline", ptr %31, i32 0, i32 2
  %191 = load i64, ptr %12, align 8, !tbaa !9
  %192 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef %191) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %192, ptr align 8 %27, i64 16, i1 false), !tbaa.struct !34
  %193 = load i8, ptr %16, align 1, !tbaa !11, !range !30, !noundef !31
  %194 = trunc i8 %193 to i1
  br i1 %194, label %199, label %195

195:                                              ; preds = %127
  %196 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %31, i32 0, i32 3
  %197 = load i64, ptr %196, align 8, !tbaa !13
  %198 = add i64 %197, 1
  store i64 %198, ptr %196, align 8, !tbaa !13
  br label %199

199:                                              ; preds = %195, %127
  store i32 0, ptr %6, align 4
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #6
  br label %200

200:                                              ; preds = %199, %79
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %201

201:                                              ; preds = %200, %49, %43, %37
  %202 = load i32, ptr %6, align 4
  ret i32 %202
}

declare noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef) #3

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

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

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

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

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

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !10, i64 40}
!14 = !{!"_ZTSN9elabtsaot8PipelineE", !15, i64 8, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !19, i64 64}
!15 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!14, !10, i64 32}
!24 = !{!14, !10, i64 48}
!25 = !{!14, !10, i64 56}
!26 = !{!27, !28, i64 0}
!27 = !{!"_ZTSSt4pairIiiE", !28, i64 0, !28, i64 4}
!28 = !{!"int", !7, i64 0}
!29 = !{!27, !28, i64 4}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = !{i64 0, i64 16, !35}
!35 = !{!7, !7, i64 0}
!36 = distinct !{!36, !33}
!37 = !{!28, !28, i64 0}
!38 = !{!39, !40, i64 8}
!39 = !{!"_ZTSN9elabtsaot4LoadE", !28, i64 0, !28, i64 4, !40, i64 8, !40, i64 16, !41, i64 24, !40, i64 40, !40, i64 48, !40, i64 56, !40, i64 64}
!40 = !{!"double", !7, i64 0}
!41 = !{!"_ZTSSt7complexIdE", !7, i64 0}
!42 = !{!39, !40, i64 16}


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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 5) i32 @_ZN9elabtsaot20TDConstZLoadPipeline14insert_elementEmmRKNS_4LoadEb(ptr noundef nonnull align 8 dereferenceable(136) %0, i64 noundef %1, i64 noundef %2, ptr nocapture noundef nonnull readonly align 8 dereferenceable(72) %3, i1 noundef zeroext %4) local_unnamed_addr #2 align 2 {
  %6 = alloca %"struct.std::pair", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::complex", align 8
  %10 = alloca %"class.std::complex", align 8
  %11 = alloca %"class.std::complex", align 8
  %12 = alloca %"class.std::complex", align 8
  %13 = alloca %"class.std::complex", align 8
  %14 = alloca %"class.std::complex", align 8
  %15 = alloca %"class.std::complex", align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 40
  %17 = load i64, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 32
  %19 = load i64, ptr %18, align 8, !tbaa !19
  %20 = icmp eq i64 %17, %19
  br i1 %20, label %103, label %21

21:                                               ; preds = %5
  %22 = getelementptr inbounds i8, ptr %0, i64 48
  %23 = load i64, ptr %22, align 8, !tbaa !20
  %.not = icmp ugt i64 %23, %1
  br i1 %.not, label %24, label %103

24:                                               ; preds = %21
  %25 = getelementptr inbounds i8, ptr %0, i64 56
  %26 = load i64, ptr %25, align 8, !tbaa !21
  %.not42 = icmp ugt i64 %26, %2
  br i1 %.not42, label %27, label %103

27:                                               ; preds = %24
  %28 = tail call noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef %1, i64 noundef %2)
  %29 = load i64, ptr %16, align 8, !tbaa !5
  %.not4350 = icmp eq i64 %29, 0
  br i1 %.not4350, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %27
  %30 = getelementptr inbounds i8, ptr %0, i64 64
  br label %31

31:                                               ; preds = %.lr.ph, %44
  %.03551 = phi i64 [ 0, %.lr.ph ], [ %45, %44 ]
  %32 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %.03551) #6
  %33 = load i32, ptr %32, align 4, !tbaa !22
  %34 = sext i32 %33 to i64
  %35 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %30, i64 noundef %.03551) #6
  %36 = getelementptr inbounds i8, ptr %35, i64 4
  %37 = load i32, ptr %36, align 4, !tbaa !25
  %38 = sext i32 %37 to i64
  %39 = tail call noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef %34, i64 noundef %38)
  %40 = icmp eq i64 %28, %39
  br i1 %40, label %41, label %42

41:                                               ; preds = %31
  br i1 %4, label %.loopexit, label %103

42:                                               ; preds = %31
  %43 = icmp ult i64 %28, %39
  %.pre.pre = load i64, ptr %16, align 8, !tbaa !5
  br i1 %43, label %._crit_edge, label %44

44:                                               ; preds = %42
  %45 = add i64 %.03551, 1
  %.not43 = icmp eq i64 %45, %.pre.pre
  br i1 %.not43, label %.loopexit, label %31, !llvm.loop !26

._crit_edge:                                      ; preds = %42
  %.not4454 = icmp eq i64 %.pre.pre, %.03551
  br i1 %.not4454, label %.loopexit, label %.lr.ph57

.lr.ph57:                                         ; preds = %._crit_edge
  %46 = getelementptr inbounds i8, ptr %0, i64 64
  %47 = getelementptr inbounds i8, ptr %0, i64 88
  %48 = getelementptr inbounds i8, ptr %0, i64 112
  br label %49

49:                                               ; preds = %.lr.ph57, %49
  %.03655 = phi i64 [ %.pre.pre, %.lr.ph57 ], [ %50, %49 ]
  %50 = add i64 %.03655, -1
  %51 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %50) #6
  %52 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %.03655) #6
  %53 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(8) %52, ptr noundef nonnull align 4 dereferenceable(8) %51)
  %54 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %50) #6
  %55 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %.03655) #6
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(16) %54, i64 16, i1 false), !tbaa.struct !28
  %56 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %50) #6
  %57 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %.03655) #6
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %56, i64 16, i1 false), !tbaa.struct !28
  %.not44 = icmp eq i64 %50, %.03551
  br i1 %.not44, label %.loopexit, label %49, !llvm.loop !30

.loopexit:                                        ; preds = %44, %49, %27, %._crit_edge, %41
  %.03549 = phi i64 [ %.03551, %41 ], [ %.pre.pre, %._crit_edge ], [ 0, %27 ], [ %.03551, %49 ], [ %.pre.pre, %44 ]
  %.03747 = phi i1 [ true, %41 ], [ false, %._crit_edge ], [ false, %27 ], [ false, %49 ], [ false, %44 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %58 = trunc i64 %1 to i32
  store i32 %58, ptr %7, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  %59 = trunc i64 %2 to i32
  store i32 %59, ptr %8, align 4, !tbaa !31
  %60 = call i64 @_ZSt9make_pairIiiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  store i64 %60, ptr %6, align 8
  %61 = getelementptr inbounds i8, ptr %0, i64 64
  %62 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %.03549) #6
  %63 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %62, ptr noundef nonnull align 4 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %64 = getelementptr inbounds i8, ptr %3, i64 8
  %65 = load double, ptr %64, align 8, !tbaa !32
  %66 = getelementptr inbounds i8, ptr %3, i64 16
  %67 = load double, ptr %66, align 8, !tbaa !36
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %65, double noundef %67)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %68 = getelementptr inbounds i8, ptr %3, i64 24
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %68, i64 16, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %69 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %70 = extractvalue { double, double } %69, 0
  store double %70, ptr %11, align 8
  %71 = getelementptr inbounds i8, ptr %11, i64 8
  %72 = extractvalue { double, double } %69, 1
  store double %72, ptr %71, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  %73 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %74 = extractvalue { double, double } %73, 0
  store double %74, ptr %13, align 8
  %75 = getelementptr inbounds i8, ptr %13, i64 8
  %76 = extractvalue { double, double } %73, 1
  store double %76, ptr %75, align 8
  %77 = call { double, double } @_ZStmlIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %78 = extractvalue { double, double } %77, 0
  store double %78, ptr %12, align 8
  %79 = getelementptr inbounds i8, ptr %12, i64 8
  %80 = extractvalue { double, double } %77, 1
  store double %80, ptr %79, align 8
  %81 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %82 = extractvalue { double, double } %81, 0
  %83 = extractvalue { double, double } %81, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #6
  %84 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %85 = extractvalue { double, double } %84, 0
  store double %85, ptr %14, align 8
  %86 = getelementptr inbounds i8, ptr %14, i64 8
  %87 = extractvalue { double, double } %84, 1
  store double %87, ptr %86, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  %88 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %89 = extractvalue { double, double } %88, 0
  store double %89, ptr %15, align 8
  %90 = getelementptr inbounds i8, ptr %15, i64 8
  %91 = extractvalue { double, double } %88, 1
  store double %91, ptr %90, align 8
  %92 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %15)
  %93 = extractvalue { double, double } %92, 0
  %94 = extractvalue { double, double } %92, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #6
  %95 = getelementptr inbounds i8, ptr %0, i64 88
  %96 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %.03549) #6
  store double %82, ptr %96, align 8
  %.sroa.42.0..sroa_idx = getelementptr inbounds i8, ptr %96, i64 8
  store double %83, ptr %.sroa.42.0..sroa_idx, align 8, !tbaa !29
  %97 = getelementptr inbounds i8, ptr %0, i64 112
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %97, i64 noundef %.03549) #6
  store double %93, ptr %98, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %98, i64 8
  store double %94, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !29
  br i1 %.03747, label %102, label %99

99:                                               ; preds = %.loopexit
  %100 = load i64, ptr %16, align 8, !tbaa !5
  %101 = add i64 %100, 1
  store i64 %101, ptr %16, align 8, !tbaa !5
  br label %102

102:                                              ; preds = %99, %.loopexit
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %103

103:                                              ; preds = %102, %41, %24, %21, %5
  %.1 = phi i32 [ 1, %5 ], [ 2, %21 ], [ 3, %24 ], [ 0, %102 ], [ 4, %41 ]
  ret i32 %.1
}

declare noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef, i64 noundef) local_unnamed_addr #3

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

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

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

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

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

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !14, i64 40}
!6 = !{!"_ZTSN9elabtsaot8PipelineE", !7, i64 8, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !15, i64 64}
!7 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !8, i64 0}
!8 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !9, i64 0}
!9 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !10, i64 0}
!10 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"long", !12, i64 0}
!15 = !{!"_ZTSSt6vectorISt4pairIiiESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseISt4pairIiiESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseISt4pairIiiESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!19 = !{!6, !14, i64 32}
!20 = !{!6, !14, i64 48}
!21 = !{!6, !14, i64 56}
!22 = !{!23, !24, i64 0}
!23 = !{!"_ZTSSt4pairIiiE", !24, i64 0, !24, i64 4}
!24 = !{!"int", !12, i64 0}
!25 = !{!23, !24, i64 4}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{i64 0, i64 16, !29}
!29 = !{!12, !12, i64 0}
!30 = distinct !{!30, !27}
!31 = !{!24, !24, i64 0}
!32 = !{!33, !34, i64 8}
!33 = !{!"_ZTSN9elabtsaot4LoadE", !24, i64 0, !24, i64 4, !34, i64 8, !34, i64 16, !35, i64 24, !34, i64 40, !34, i64 48, !34, i64 56, !34, i64 64}
!34 = !{!"double", !12, i64 0}
!35 = !{!"_ZTSSt7complexIdE", !12, i64 0}
!36 = !{!33, !34, i64 16}


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