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

; 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::GPFPQPipeline" = 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::Bus" = type { i32, %"class.std::__cxx11::basic_string", i32, double, double, double, double, double, double, double }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

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

; Function Attrs: 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 @_ZN9elabtsaot13GPFPQPipeline14insert_elementEmmRKNS_3BusEb(ptr noundef nonnull align 8 dereferenceable(136) %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(104) %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
  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
  %26 = zext i1 %4 to i8
  store i8 %26, ptr %11, align 1, !tbaa !11
  %27 = load ptr, ptr %7, align 8
  %28 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 3
  %29 = load i64, ptr %28, align 8, !tbaa !13
  %30 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 2
  %31 = load i64, ptr %30, align 8, !tbaa !23
  %32 = icmp eq i64 %29, %31
  br i1 %32, label %33, label %34

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

34:                                               ; preds = %5
  %35 = load i64, ptr %8, align 8, !tbaa !9
  %36 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 4
  %37 = load i64, ptr %36, align 8, !tbaa !24
  %38 = icmp uge i64 %35, %37
  br i1 %38, label %39, label %40

39:                                               ; preds = %34
  store i32 2, ptr %6, align 4
  br label %181

40:                                               ; preds = %34
  %41 = load i64, ptr %9, align 8, !tbaa !9
  %42 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 5
  %43 = load i64, ptr %42, align 8, !tbaa !25
  %44 = icmp uge i64 %41, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %40
  store i32 3, ptr %6, align 4
  br label %181

46:                                               ; preds = %40
  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
  %47 = load i64, ptr %8, align 8, !tbaa !9
  %48 = load i64, ptr %9, align 8, !tbaa !9
  %49 = call noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88) %27, i64 noundef %47, i64 noundef %48)
  store i64 %49, 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 %50

50:                                               ; preds = %83, %46
  %51 = load i64, ptr %12, align 8, !tbaa !9
  %52 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 3
  %53 = load i64, ptr %52, align 8, !tbaa !13
  %54 = icmp ne i64 %51, %53
  br i1 %54, label %55, label %86

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

72:                                               ; preds = %55
  %73 = load i8, ptr %11, align 1, !tbaa !11, !range !30, !noundef !31
  %74 = trunc i8 %73 to i1
  br i1 %74, label %76, label %75

75:                                               ; preds = %72
  store i32 4, ptr %6, align 4
  store i32 1, ptr %17, align 4
  br label %180

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

77:                                               ; preds = %55
  %78 = load i64, ptr %14, align 8, !tbaa !9
  %79 = load i64, ptr %15, align 8, !tbaa !9
  %80 = icmp ult i64 %78, %79
  br i1 %80, label %81, label %82

81:                                               ; preds = %77
  br label %86

82:                                               ; preds = %77
  br label %83

83:                                               ; preds = %82
  %84 = load i64, ptr %12, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %12, align 8, !tbaa !9
  br label %50, !llvm.loop !32

86:                                               ; preds = %81, %76, %50
  %87 = load i8, ptr %16, align 1, !tbaa !11, !range !30, !noundef !31
  %88 = trunc i8 %87 to i1
  br i1 %88, label %123, label %89

89:                                               ; preds = %86
  %90 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 3
  %91 = load i64, ptr %90, align 8, !tbaa !13
  store i64 %91, ptr %13, align 8, !tbaa !9
  br label %92

92:                                               ; preds = %119, %89
  %93 = load i64, ptr %13, align 8, !tbaa !9
  %94 = load i64, ptr %12, align 8, !tbaa !9
  %95 = icmp ne i64 %93, %94
  br i1 %95, label %96, label %122

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

119:                                              ; preds = %96
  %120 = load i64, ptr %13, align 8, !tbaa !9
  %121 = add i64 %120, -1
  store i64 %121, ptr %13, align 8, !tbaa !9
  br label %92, !llvm.loop !36

122:                                              ; preds = %92
  br label %123

123:                                              ; preds = %122, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %124 = load i64, ptr %8, align 8, !tbaa !9
  %125 = trunc i64 %124 to i32
  store i32 %125, ptr %19, align 4, !tbaa !37
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %126 = load i64, ptr %9, align 8, !tbaa !9
  %127 = trunc i64 %126 to i32
  store i32 %127, ptr %20, align 4, !tbaa !37
  %128 = 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 %128, ptr %18, align 4
  %129 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 6
  %130 = load i64, ptr %12, align 8, !tbaa !9
  %131 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %129, i64 noundef %130) #6
  %132 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %131, 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
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = getelementptr inbounds %"class.elabtsaot::Bus", ptr %133, i32 0, i32 6
  %135 = load double, ptr %134, align 8, !tbaa !38
  %136 = load ptr, ptr %10, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.elabtsaot::Bus", ptr %136, i32 0, i32 7
  %138 = load double, ptr %137, align 8, !tbaa !43
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %21, double noundef %135, double noundef %138)
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #6
  %139 = load ptr, ptr %10, align 8, !tbaa !5
  %140 = getelementptr inbounds %"class.elabtsaot::Bus", ptr %139, i32 0, i32 8
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = getelementptr inbounds %"class.elabtsaot::Bus", ptr %141, i32 0, i32 9
  %143 = call { double, double } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 8 dereferenceable(8) %142)
  %144 = getelementptr inbounds %"class.std::complex", ptr %22, i32 0, i32 0
  %145 = getelementptr inbounds { double, double }, ptr %144, i32 0, i32 0
  %146 = extractvalue { double, double } %143, 0
  store double %146, ptr %145, align 8
  %147 = getelementptr inbounds { double, double }, ptr %144, i32 0, i32 1
  %148 = extractvalue { double, double } %143, 1
  store double %148, ptr %147, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #6
  %149 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %21)
  %150 = getelementptr inbounds %"class.std::complex", ptr %24, i32 0, i32 0
  %151 = getelementptr inbounds { double, double }, ptr %150, i32 0, i32 0
  %152 = extractvalue { double, double } %149, 0
  store double %152, ptr %151, align 8
  %153 = getelementptr inbounds { double, double }, ptr %150, i32 0, i32 1
  %154 = extractvalue { double, double } %149, 1
  store double %154, ptr %153, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #6
  %155 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %22)
  %156 = getelementptr inbounds %"class.std::complex", ptr %25, i32 0, i32 0
  %157 = getelementptr inbounds { double, double }, ptr %156, i32 0, i32 0
  %158 = extractvalue { double, double } %155, 0
  store double %158, ptr %157, align 8
  %159 = getelementptr inbounds { double, double }, ptr %156, i32 0, i32 1
  %160 = extractvalue { double, double } %155, 1
  store double %160, ptr %159, align 8
  %161 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %24, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %162 = getelementptr inbounds %"class.std::complex", ptr %23, i32 0, i32 0
  %163 = getelementptr inbounds { double, double }, ptr %162, i32 0, i32 0
  %164 = extractvalue { double, double } %161, 0
  store double %164, ptr %163, align 8
  %165 = getelementptr inbounds { double, double }, ptr %162, i32 0, i32 1
  %166 = extractvalue { double, double } %161, 1
  store double %166, ptr %165, align 8
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #6
  %167 = getelementptr inbounds %"class.elabtsaot::GPFPQPipeline", ptr %27, i32 0, i32 1
  %168 = load i64, ptr %12, align 8, !tbaa !9
  %169 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %167, i64 noundef %168) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %169, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !34
  %170 = getelementptr inbounds %"class.elabtsaot::GPFPQPipeline", ptr %27, i32 0, i32 2
  %171 = load i64, ptr %12, align 8, !tbaa !9
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %170, i64 noundef %171) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %172, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !34
  %173 = load i8, ptr %16, align 1, !tbaa !11, !range !30, !noundef !31
  %174 = trunc i8 %173 to i1
  br i1 %174, label %179, label %175

175:                                              ; preds = %123
  %176 = getelementptr inbounds %"class.elabtsaot::Pipeline", ptr %27, i32 0, i32 3
  %177 = load i64, ptr %176, align 8, !tbaa !13
  %178 = add i64 %177, 1
  store i64 %178, ptr %176, align 8, !tbaa !13
  br label %179

179:                                              ; preds = %175, %123
  store i32 0, ptr %6, align 4
  store i32 1, ptr %17, align 4
  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 %180

180:                                              ; preds = %179, %75
  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 %181

181:                                              ; preds = %180, %45, %39, %33
  %182 = load i32, ptr %6, align 4
  ret i32 %182
}

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 } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; 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

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, !42, i64 72}
!39 = !{!"_ZTSN9elabtsaot3BusE", !28, i64 0, !40, i64 8, !28, i64 40, !42, i64 48, !42, i64 56, !42, i64 64, !42, i64 72, !42, i64 80, !42, i64 88, !42, i64 96}
!40 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !41, i64 0, !10, i64 8, !7, i64 16}
!41 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!42 = !{!"double", !7, i64 0}
!43 = !{!39, !42, i64 80}


; 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 @_ZN9elabtsaot13GPFPQPipeline14insert_elementEmmRKNS_3BusEb(ptr noundef nonnull align 8 dereferenceable(136) %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(104) %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 = getelementptr inbounds i8, ptr %0, i64 40
  %14 = load i64, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = load i64, ptr %15, align 8, !tbaa !19
  %17 = icmp eq i64 %14, %16
  br i1 %17, label %90, label %18

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

21:                                               ; preds = %18
  %22 = getelementptr inbounds i8, ptr %0, i64 56
  %23 = load i64, ptr %22, align 8, !tbaa !21
  %.not41 = icmp ugt i64 %23, %2
  br i1 %.not41, label %24, label %90

24:                                               ; preds = %21
  %25 = tail call noundef i64 @_ZNK9elabtsaot8Pipeline19calculate_pseudo_idEmm(ptr noundef nonnull align 8 dereferenceable(88) %0, i64 noundef %1, i64 noundef %2)
  %26 = load i64, ptr %13, align 8, !tbaa !5
  %.not4249 = icmp eq i64 %26, 0
  br i1 %.not4249, label %.loopexit, label %.lr.ph

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

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

38:                                               ; preds = %28
  br i1 %4, label %.loopexit, label %90

39:                                               ; preds = %28
  %40 = icmp ult i64 %25, %36
  %.pre.pre = load i64, ptr %13, align 8, !tbaa !5
  br i1 %40, label %._crit_edge, label %41

41:                                               ; preds = %39
  %42 = add i64 %.03450, 1
  %.not42 = icmp eq i64 %42, %.pre.pre
  br i1 %.not42, label %.loopexit, label %28, !llvm.loop !26

._crit_edge:                                      ; preds = %39
  %.not4353 = icmp eq i64 %.pre.pre, %.03450
  br i1 %.not4353, label %.loopexit, label %.lr.ph56

.lr.ph56:                                         ; preds = %._crit_edge
  %43 = getelementptr inbounds i8, ptr %0, i64 64
  %44 = getelementptr inbounds i8, ptr %0, i64 88
  %45 = getelementptr inbounds i8, ptr %0, i64 112
  br label %46

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

.loopexit:                                        ; preds = %41, %46, %24, %._crit_edge, %38
  %.03448 = phi i64 [ %.03450, %38 ], [ %.pre.pre, %._crit_edge ], [ 0, %24 ], [ %.03450, %46 ], [ %.pre.pre, %41 ]
  %.03546 = phi i1 [ true, %38 ], [ false, %._crit_edge ], [ false, %24 ], [ false, %46 ], [ false, %41 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %55 = trunc i64 %1 to i32
  store i32 %55, ptr %7, align 4, !tbaa !31
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #6
  %56 = trunc i64 %2 to i32
  store i32 %56, ptr %8, align 4, !tbaa !31
  %57 = 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 %57, ptr %6, align 8
  %58 = getelementptr inbounds i8, ptr %0, i64 64
  %59 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %.03448) #6
  %60 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %59, 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
  %61 = getelementptr inbounds i8, ptr %3, i64 72
  %62 = load double, ptr %61, align 8, !tbaa !32
  %63 = getelementptr inbounds i8, ptr %3, i64 80
  %64 = load double, ptr %63, align 8, !tbaa !37
  call void @_ZNSt7complexIdEC2Edd(ptr noundef nonnull align 8 dereferenceable(16) %9, double noundef %62, double noundef %64)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %65 = getelementptr inbounds i8, ptr %3, i64 88
  %66 = getelementptr inbounds i8, ptr %3, i64 96
  %67 = call { double, double } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(8) %66)
  %68 = extractvalue { double, double } %67, 0
  store double %68, ptr %10, align 8
  %69 = getelementptr inbounds i8, ptr %10, i64 8
  %70 = extractvalue { double, double } %67, 1
  store double %70, ptr %69, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %71 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %9)
  %72 = extractvalue { double, double } %71, 0
  store double %72, ptr %11, align 8
  %73 = getelementptr inbounds i8, ptr %11, i64 8
  %74 = extractvalue { double, double } %71, 1
  store double %74, ptr %73, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #6
  %75 = call { double, double } @_ZSt4conjIdESt7complexIT_ERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %76 = extractvalue { double, double } %75, 0
  store double %76, ptr %12, align 8
  %77 = getelementptr inbounds i8, ptr %12, i64 8
  %78 = extractvalue { double, double } %75, 1
  store double %78, ptr %77, align 8
  %79 = call { double, double } @_ZStdvIdESt7complexIT_ERKS2_S4_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %12)
  %80 = extractvalue { double, double } %79, 0
  %81 = extractvalue { double, double } %79, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  %82 = getelementptr inbounds i8, ptr %0, i64 88
  %83 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %82, i64 noundef %.03448) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %83, ptr noundef nonnull align 8 dereferenceable(16) %9, i64 16, i1 false), !tbaa.struct !28
  %84 = getelementptr inbounds i8, ptr %0, i64 112
  %85 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt7complexIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %84, i64 noundef %.03448) #6
  store double %80, ptr %85, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %85, i64 8
  store double %81, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !29
  br i1 %.03546, label %89, label %86

86:                                               ; preds = %.loopexit
  %87 = load i64, ptr %13, align 8, !tbaa !5
  %88 = add i64 %87, 1
  store i64 %88, ptr %13, align 8, !tbaa !5
  br label %89

89:                                               ; preds = %86, %.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 %90

90:                                               ; preds = %89, %38, %21, %18, %5
  %.1 = phi i32 [ 1, %5 ], [ 2, %18 ], [ 3, %21 ], [ 0, %89 ], [ 4, %38 ]
  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 } @_ZSt5polarIdESt7complexIT_ERKS1_S4_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; 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

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, !36, i64 72}
!33 = !{!"_ZTSN9elabtsaot3BusE", !24, i64 0, !34, i64 8, !24, i64 40, !36, i64 48, !36, i64 56, !36, i64 64, !36, i64 72, !36, i64 80, !36, i64 88, !36, i64 96}
!34 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !35, i64 0, !14, i64 8, !12, i64 16}
!35 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!36 = !{!"double", !12, i64 0}
!37 = !{!33, !36, i64 80}


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