; LLVM IR from eyangch/competitive-programming :: Codeforces/1473/e.ll (Z3dijx)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"struct.std::pair" = type { i64, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@N = external dso_local global i64, align 8
@graph = external dso_local global [200000 x %"class.std::vector"], align 16
@d = external dso_local global [200000 x [4 x i64]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dijx(i64 noundef %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca i64, align 8
  %3 = alloca %"class.std::priority_queue", align 8
  %4 = alloca i64, align 8
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"struct.std::pair", align 8
  %15 = alloca %"struct.std::pair", align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  store i64 %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %3) #5
  call void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store i64 0, ptr %4, align 8, !tbaa !5
  br label %18

18:                                               ; preds = %43, %1
  %19 = load i64, ptr %4, align 8, !tbaa !5
  %20 = load i64, ptr @N, align 8, !tbaa !5
  %21 = icmp slt i64 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %46

23:                                               ; preds = %18
  %24 = load i64, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %24
  %26 = load i64, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds [4 x i64], ptr %25, i64 0, i64 %26
  %28 = load i64, ptr %27, align 8, !tbaa !5
  %29 = sitofp i64 %28 to double
  %30 = fcmp olt double %29, 1.000000e+15
  br i1 %30, label %31, label %42

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #5
  %32 = load i64, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %32
  %34 = load i64, ptr %2, align 8, !tbaa !5
  %35 = getelementptr inbounds [4 x i64], ptr %33, i64 0, i64 %34
  invoke void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %36 unwind label %38

36:                                               ; preds = %31
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %3, ptr noundef nonnull align 8 dereferenceable(16) %5)
          to label %37 unwind label %38

37:                                               ; preds = %36
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  br label %42

38:                                               ; preds = %36, %31
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %6, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %224

42:                                               ; preds = %37, %23
  br label %43

43:                                               ; preds = %42
  %44 = load i64, ptr %4, align 8, !tbaa !5
  %45 = add nsw i64 %44, 1
  store i64 %45, ptr %4, align 8, !tbaa !5
  br label %18, !llvm.loop !9

46:                                               ; preds = %22
  br label %47

47:                                               ; preds = %220, %218, %46
  %48 = invoke noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %3)
          to label %49 unwind label %69

49:                                               ; preds = %47
  %50 = xor i1 %48, true
  br i1 %50, label %51, label %223

51:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %52 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %3)
          to label %53 unwind label %73

53:                                               ; preds = %51
  %54 = getelementptr inbounds %"struct.std::pair", ptr %52, i32 0, i32 0
  %55 = load i64, ptr %54, align 8, !tbaa !11
  store i64 %55, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %56 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %3)
          to label %57 unwind label %77

57:                                               ; preds = %53
  %58 = getelementptr inbounds %"struct.std::pair", ptr %56, i32 0, i32 1
  %59 = load i64, ptr %58, align 8, !tbaa !13
  store i64 %59, ptr %9, align 8, !tbaa !5
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %3)
          to label %60 unwind label %77

60:                                               ; preds = %57
  %61 = load i64, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %61
  %63 = load i64, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds [4 x i64], ptr %62, i64 0, i64 %63
  %65 = load i64, ptr %64, align 8, !tbaa !5
  %66 = load i64, ptr %8, align 8, !tbaa !5
  %67 = icmp ne i64 %65, %66
  br i1 %67, label %68, label %81

68:                                               ; preds = %60
  store i32 5, ptr %10, align 4
  br label %218, !llvm.loop !14

69:                                               ; preds = %47
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %6, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %7, align 4
  br label %224

73:                                               ; preds = %51
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %6, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %7, align 4
  br label %222

77:                                               ; preds = %57, %53
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %6, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %7, align 4
  br label %221

81:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %82 = load i64, ptr %9, align 8, !tbaa !5
  %83 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %82
  store ptr %83, ptr %11, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %84 = load ptr, ptr %11, align 8, !tbaa !15
  %85 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #5
  %86 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %12, i32 0, i32 0
  store ptr %85, ptr %86, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %87 = load ptr, ptr %11, align 8, !tbaa !15
  %88 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %87) #5
  %89 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %88, ptr %89, align 8
  br label %90

90:                                               ; preds = %214, %81
  %91 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %91, label %93, label %92

92:                                               ; preds = %90
  store i32 7, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %217

93:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #5
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %14, ptr align 8 %94, i64 16, i1 false)
  %95 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %96 = load i64, ptr %95, align 8, !tbaa !11
  %97 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %96
  %98 = load i64, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds [4 x i64], ptr %97, i64 0, i64 %98
  %100 = load i64, ptr %99, align 8, !tbaa !5
  %101 = load i64, ptr %8, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 1
  %103 = load i64, ptr %102, align 8, !tbaa !13
  %104 = add nsw i64 %101, %103
  %105 = icmp sgt i64 %100, %104
  br i1 %105, label %106, label %128

106:                                              ; preds = %93
  %107 = load i64, ptr %8, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 1
  %109 = load i64, ptr %108, align 8, !tbaa !13
  %110 = add nsw i64 %107, %109
  %111 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %112 = load i64, ptr %111, align 8, !tbaa !11
  %113 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %112
  %114 = load i64, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds [4 x i64], ptr %113, i64 0, i64 %114
  store i64 %110, ptr %115, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #5
  %116 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %117 = load i64, ptr %116, align 8, !tbaa !11
  %118 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %117
  %119 = load i64, ptr %2, align 8, !tbaa !5
  %120 = getelementptr inbounds [4 x i64], ptr %118, i64 0, i64 %119
  %121 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  invoke void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef nonnull align 8 dereferenceable(8) %121)
          to label %122 unwind label %124

122:                                              ; preds = %106
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %3, ptr noundef nonnull align 8 dereferenceable(16) %15)
          to label %123 unwind label %124

123:                                              ; preds = %122
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br label %128

124:                                              ; preds = %122, %106
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %6, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #5
  br label %216

128:                                              ; preds = %123, %93
  %129 = load i64, ptr %2, align 8, !tbaa !5
  %130 = or i64 %129, 1
  %131 = load i64, ptr %2, align 8, !tbaa !5
  %132 = icmp ne i64 %130, %131
  br i1 %132, label %133, label %153

133:                                              ; preds = %128
  %134 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %135 = load i64, ptr %134, align 8, !tbaa !11
  %136 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %135
  %137 = load i64, ptr %2, align 8, !tbaa !5
  %138 = or i64 %137, 1
  %139 = getelementptr inbounds [4 x i64], ptr %136, i64 0, i64 %138
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %141 unwind label %149

141:                                              ; preds = %133
  %142 = load i64, ptr %140, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %144 = load i64, ptr %143, align 8, !tbaa !11
  %145 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %144
  %146 = load i64, ptr %2, align 8, !tbaa !5
  %147 = or i64 %146, 1
  %148 = getelementptr inbounds [4 x i64], ptr %145, i64 0, i64 %147
  store i64 %142, ptr %148, align 8, !tbaa !5
  br label %153

149:                                              ; preds = %133
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %6, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %7, align 4
  br label %216

153:                                              ; preds = %141, %128
  %154 = load i64, ptr %2, align 8, !tbaa !5
  %155 = or i64 %154, 2
  %156 = load i64, ptr %2, align 8, !tbaa !5
  %157 = icmp ne i64 %155, %156
  br i1 %157, label %158, label %183

158:                                              ; preds = %153
  %159 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %160 = load i64, ptr %159, align 8, !tbaa !11
  %161 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %160
  %162 = load i64, ptr %2, align 8, !tbaa !5
  %163 = or i64 %162, 2
  %164 = getelementptr inbounds [4 x i64], ptr %161, i64 0, i64 %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %165 = load i64, ptr %8, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 1
  %167 = load i64, ptr %166, align 8, !tbaa !13
  %168 = mul nsw i64 %167, 2
  %169 = add nsw i64 %165, %168
  store i64 %169, ptr %16, align 8, !tbaa !5
  %170 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %171 unwind label %179

171:                                              ; preds = %158
  %172 = load i64, ptr %170, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %174 = load i64, ptr %173, align 8, !tbaa !11
  %175 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %174
  %176 = load i64, ptr %2, align 8, !tbaa !5
  %177 = or i64 %176, 2
  %178 = getelementptr inbounds [4 x i64], ptr %175, i64 0, i64 %177
  store i64 %172, ptr %178, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %183

179:                                              ; preds = %158
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %6, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %216

183:                                              ; preds = %171, %153
  %184 = load i64, ptr %2, align 8, !tbaa !5
  %185 = or i64 %184, 1
  %186 = load i64, ptr %2, align 8, !tbaa !5
  %187 = icmp ne i64 %185, %186
  br i1 %187, label %188, label %213

188:                                              ; preds = %183
  %189 = load i64, ptr %2, align 8, !tbaa !5
  %190 = or i64 %189, 2
  %191 = load i64, ptr %2, align 8, !tbaa !5
  %192 = icmp ne i64 %190, %191
  br i1 %192, label %193, label %213

193:                                              ; preds = %188
  %194 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %195 = load i64, ptr %194, align 8, !tbaa !11
  %196 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %195
  %197 = getelementptr inbounds [4 x i64], ptr %196, i64 0, i64 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %198 = load i64, ptr %8, align 8, !tbaa !5
  %199 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 1
  %200 = load i64, ptr %199, align 8, !tbaa !13
  %201 = add nsw i64 %198, %200
  store i64 %201, ptr %17, align 8, !tbaa !5
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull align 8 dereferenceable(8) %17)
          to label %203 unwind label %209

203:                                              ; preds = %193
  %204 = load i64, ptr %202, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.std::pair", ptr %14, i32 0, i32 0
  %206 = load i64, ptr %205, align 8, !tbaa !11
  %207 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %206
  %208 = getelementptr inbounds [4 x i64], ptr %207, i64 0, i64 3
  store i64 %204, ptr %208, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %213

209:                                              ; preds = %193
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %6, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br label %216

213:                                              ; preds = %203, %188, %183
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  br label %214

214:                                              ; preds = %213
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  br label %90

216:                                              ; preds = %209, %179, %149, %124
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %221

217:                                              ; preds = %92
  store i32 0, ptr %10, align 4
  br label %218

218:                                              ; preds = %217, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  %219 = load i32, ptr %10, align 4
  switch i32 %219, label %230 [
    i32 0, label %220
    i32 5, label %47
  ]

220:                                              ; preds = %218
  br label %47, !llvm.loop !14

221:                                              ; preds = %216, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %222

222:                                              ; preds = %221, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %224

223:                                              ; preds = %49
  call void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #5
  ret void

224:                                              ; preds = %222, %69, %38
  call void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %3) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %3) #5
  br label %225

225:                                              ; preds = %224
  %226 = load ptr, ptr %6, align 8
  %227 = load i32, ptr %7, align 4
  %228 = insertvalue { ptr, i32 } poison, ptr %226, 0
  %229 = insertvalue { ptr, i32 } %228, i32 %227, 1
  resume { ptr, i32 } %229

230:                                              ; preds = %218
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25)) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #3 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt4pairIxxE", !6, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !10}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !7, i64 0}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"struct.std::pair" = type { i64, i64 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@N = external dso_local local_unnamed_addr global i64, align 8
@graph = external dso_local global [200000 x %"class.std::vector"], align 16
@d = external dso_local global [200000 x [4 x i64]], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_Z3dijx(i64 noundef %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::priority_queue", align 8
  %3 = alloca i64, align 8
  %4 = alloca %"struct.std::pair", align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"struct.std::pair", align 8
  %9 = alloca %"struct.std::pair", align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %2) #5
  call void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  store i64 0, ptr %3, align 8, !tbaa !5
  %12 = load i64, ptr @N, align 8, !tbaa !5
  %13 = icmp sgt i64 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %92, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %14 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  br i1 %14, label %._crit_edge41, label %.lr.ph40

.lr.ph40:                                         ; preds = %._crit_edge
  %15 = getelementptr inbounds i8, ptr %8, i64 8
  %16 = or i64 %0, 1
  %.not30 = icmp eq i64 %16, %0
  %17 = or i64 %0, 2
  %.not31 = icmp eq i64 %17, %0
  %brmerge = or i1 %.not30, %.not31
  br i1 %.not31, label %.lr.ph40.split.us, label %.lr.ph40.split

.lr.ph40.split.us:                                ; preds = %.lr.ph40
  br i1 %.not30, label %.lr.ph40.split.us.split.us, label %.lr.ph40.split.us.split

.lr.ph40.split.us.split.us:                       ; preds = %.lr.ph40.split.us, %32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %19 = load i64, ptr %18, align 8, !tbaa !9
  store i64 %19, ptr %5, align 8, !tbaa !5
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %21 = getelementptr inbounds i8, ptr %20, i64 8
  %22 = load i64, ptr %21, align 8, !tbaa !11
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
          to label %23 unwind label %.split43.us.split.us

23:                                               ; preds = %.lr.ph40.split.us.split.us
  %24 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %22, i64 %0
  %25 = load i64, ptr %24, align 8, !tbaa !5
  %26 = load i64, ptr %5, align 8, !tbaa !5
  %.not.us.us = icmp eq i64 %25, %26
  br i1 %.not.us.us, label %27, label %32, !llvm.loop !12

27:                                               ; preds = %23
  %28 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %29 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  store ptr %29, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %30 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  store ptr %30, ptr %7, align 8
  %31 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %31, label %.lr.ph37.us.us, label %._crit_edge38.split.us.us.split.us.us

._crit_edge38.split.us.us.split.us.us:            ; preds = %.thread.us.us.us.us, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %32

32:                                               ; preds = %._crit_edge38.split.us.us.split.us.us, %23
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %33 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  br i1 %33, label %._crit_edge41, label %.lr.ph40.split.us.split.us

.lr.ph37.us.us:                                   ; preds = %27, %.thread.us.us.us.us
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %34, i64 16, i1 false)
  %35 = load i64, ptr %8, align 8, !tbaa !9
  %36 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %35, i64 %0
  %37 = load i64, ptr %36, align 8, !tbaa !5
  %38 = load i64, ptr %5, align 8, !tbaa !5
  %39 = load i64, ptr %15, align 8, !tbaa !11
  %40 = add nsw i64 %39, %38
  %41 = icmp sgt i64 %37, %40
  br i1 %41, label %42, label %.thread.us.us.us.us

42:                                               ; preds = %.lr.ph37.us.us
  store i64 %40, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %8)
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %2, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %43 unwind label %.split.us.split.us.split.us.split.us

43:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  br label %.thread.us.us.us.us

.thread.us.us.us.us:                              ; preds = %43, %.lr.ph37.us.us
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %45 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %45, label %.lr.ph37.us.us, label %._crit_edge38.split.us.us.split.us.us

.split43.us.split.us:                             ; preds = %.lr.ph40.split.us.split.us
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %.split43.us

.split.us.split.us.split.us.split.us:             ; preds = %42
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.lr.ph40.split.us.split:                          ; preds = %.lr.ph40.split.us, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %48 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %49 = load i64, ptr %48, align 8, !tbaa !9
  store i64 %49, ptr %5, align 8, !tbaa !5
  %50 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %51 = getelementptr inbounds i8, ptr %50, i64 8
  %52 = load i64, ptr %51, align 8, !tbaa !11
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
          to label %53 unwind label %.split43.us.split

53:                                               ; preds = %.lr.ph40.split.us.split
  %54 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %52, i64 %0
  %55 = load i64, ptr %54, align 8, !tbaa !5
  %56 = load i64, ptr %5, align 8, !tbaa !5
  %.not.us = icmp eq i64 %55, %56
  br i1 %.not.us, label %57, label %62, !llvm.loop !12

57:                                               ; preds = %53
  %58 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %52
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %59 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  store ptr %59, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %60 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #5
  store ptr %60, ptr %7, align 8
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %61, label %.lr.ph37.us, label %._crit_edge38.split.us.us.split

._crit_edge38.split.us.us.split:                  ; preds = %.thread.us.us, %57
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %62

62:                                               ; preds = %._crit_edge38.split.us.us.split, %53
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %63 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  br i1 %63, label %._crit_edge41, label %.lr.ph40.split.us.split

.lr.ph37.us:                                      ; preds = %57, %.thread.us.us
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %64, i64 16, i1 false)
  %65 = load i64, ptr %8, align 8, !tbaa !9
  %66 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %65, i64 %0
  %67 = load i64, ptr %66, align 8, !tbaa !5
  %68 = load i64, ptr %5, align 8, !tbaa !5
  %69 = load i64, ptr %15, align 8, !tbaa !11
  %70 = add nsw i64 %69, %68
  %71 = icmp sgt i64 %67, %70
  br i1 %71, label %72, label %.thread.us.us

72:                                               ; preds = %.lr.ph37.us
  store i64 %70, ptr %66, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %8)
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %2, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %73 unwind label %.split.us.split.us.split

73:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  %.pre53 = load i64, ptr %8, align 8, !tbaa !9
  br label %.thread.us.us

.thread.us.us:                                    ; preds = %73, %.lr.ph37.us
  %74 = phi i64 [ %.pre53, %73 ], [ %65, %.lr.ph37.us ]
  %75 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %74, i64 %16
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %77 = load i64, ptr %76, align 8, !tbaa !5
  %78 = load i64, ptr %8, align 8, !tbaa !9
  %79 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %78, i64 %16
  store i64 %77, ptr %79, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %81 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %81, label %.lr.ph37.us, label %._crit_edge38.split.us.us.split

.split43.us.split:                                ; preds = %.lr.ph40.split.us.split
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %.split43.us

.split.us.split.us.split:                         ; preds = %72
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.lr.ph:                                           ; preds = %1, %92
  %84 = phi i64 [ %93, %92 ], [ %12, %1 ]
  %storemerge35 = phi i64 [ %95, %92 ], [ 0, %1 ]
  %85 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %storemerge35, i64 %0
  %86 = load i64, ptr %85, align 8, !tbaa !5
  %87 = icmp slt i64 %86, 1000000000000000
  br i1 %87, label %88, label %92

88:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(8) %3)
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %2, ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %89 unwind label %90

89:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  %.pre = load i64, ptr %3, align 8, !tbaa !5
  %.pre51 = load i64, ptr @N, align 8, !tbaa !5
  br label %92

90:                                               ; preds = %88
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  br label %154

92:                                               ; preds = %.lr.ph, %89
  %93 = phi i64 [ %84, %.lr.ph ], [ %.pre51, %89 ]
  %94 = phi i64 [ %storemerge35, %.lr.ph ], [ %.pre, %89 ]
  %95 = add nsw i64 %94, 1
  store i64 %95, ptr %3, align 8, !tbaa !5
  %96 = icmp slt i64 %95, %93
  br i1 %96, label %.lr.ph, label %._crit_edge, !llvm.loop !14

.lr.ph40.split:                                   ; preds = %.lr.ph40, %152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %97 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %98 = load i64, ptr %97, align 8, !tbaa !9
  store i64 %98, ptr %5, align 8, !tbaa !5
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %100 = getelementptr inbounds i8, ptr %99, i64 8
  %101 = load i64, ptr %100, align 8, !tbaa !11
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
          to label %102 unwind label %.split43

102:                                              ; preds = %.lr.ph40.split
  %103 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %101, i64 %0
  %104 = load i64, ptr %103, align 8, !tbaa !5
  %105 = load i64, ptr %5, align 8, !tbaa !5
  %.not = icmp eq i64 %104, %105
  br i1 %.not, label %107, label %152, !llvm.loop !12

.split43:                                         ; preds = %.lr.ph40.split
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %.split43.us

107:                                              ; preds = %102
  %108 = getelementptr inbounds [200000 x %"class.std::vector"], ptr @graph, i64 0, i64 %101
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %109 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  store ptr %109, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %110 = call ptr @_ZNSt6vectorISt4pairIxxESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %108) #5
  store ptr %110, ptr %7, align 8
  %111 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %111, label %.lr.ph37, label %._crit_edge38.split

._crit_edge38.split:                              ; preds = %.thread, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %152

.lr.ph37:                                         ; preds = %107, %.thread
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  %112 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %112, i64 16, i1 false)
  %113 = load i64, ptr %8, align 8, !tbaa !9
  %114 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %113, i64 %0
  %115 = load i64, ptr %114, align 8, !tbaa !5
  %116 = load i64, ptr %5, align 8, !tbaa !5
  %117 = load i64, ptr %15, align 8, !tbaa !11
  %118 = add nsw i64 %117, %116
  %119 = icmp sgt i64 %115, %118
  br i1 %119, label %120, label %123

120:                                              ; preds = %.lr.ph37
  store i64 %118, ptr %114, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  call void @_ZNSt4pairIxxEC2IRxS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %8)
  invoke void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %2, ptr noundef nonnull align 8 dereferenceable(16) %9)
          to label %121 unwind label %.split

121:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  %.pre52.pre = load i64, ptr %8, align 8, !tbaa !9
  br label %123

.split:                                           ; preds = %120
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %.split.us

.split.us:                                        ; preds = %.split.us.split.us.split.us.split.us, %.split.us.split.us.split, %.split
  %.us-phi = phi { ptr, i32 } [ %122, %.split ], [ %83, %.split.us.split.us.split ], [ %47, %.split.us.split.us.split.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %.split43.us

123:                                              ; preds = %121, %.lr.ph37
  %.pre52 = phi i64 [ %.pre52.pre, %121 ], [ %113, %.lr.ph37 ]
  br i1 %.not30, label %130, label %124

124:                                              ; preds = %123
  %125 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %.pre52, i64 %16
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %127 = load i64, ptr %126, align 8, !tbaa !5
  %128 = load i64, ptr %8, align 8, !tbaa !9
  %129 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %128, i64 %16
  store i64 %127, ptr %129, align 8, !tbaa !5
  br label %130

130:                                              ; preds = %124, %123
  %131 = phi i64 [ %128, %124 ], [ %.pre52, %123 ]
  %132 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %131, i64 %17
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %133 = load i64, ptr %5, align 8, !tbaa !5
  %134 = load i64, ptr %15, align 8, !tbaa !11
  %135 = shl nsw i64 %134, 1
  %136 = add nsw i64 %135, %133
  store i64 %136, ptr %10, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %138 = load i64, ptr %137, align 8, !tbaa !5
  %139 = load i64, ptr %8, align 8, !tbaa !9
  %140 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %139, i64 %17
  store i64 %138, ptr %140, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br i1 %brmerge, label %.thread, label %141

141:                                              ; preds = %130
  %142 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %139, i64 3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  %143 = load i64, ptr %5, align 8, !tbaa !5
  %144 = load i64, ptr %15, align 8, !tbaa !11
  %145 = add nsw i64 %144, %143
  store i64 %145, ptr %11, align 8, !tbaa !5
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(8) %11)
  %147 = load i64, ptr %146, align 8, !tbaa !5
  %148 = load i64, ptr %8, align 8, !tbaa !9
  %149 = getelementptr inbounds [200000 x [4 x i64]], ptr @d, i64 0, i64 %148, i64 3
  store i64 %147, ptr %149, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %.thread

.thread:                                          ; preds = %130, %141
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %151 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  br i1 %151, label %.lr.ph37, label %._crit_edge38.split

152:                                              ; preds = %102, %._crit_edge38.split
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  %153 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  br i1 %153, label %._crit_edge41, label %.lr.ph40.split

.split43.us:                                      ; preds = %.split43, %.split43.us.split.us, %.split43.us.split, %.split.us
  %.pn = phi { ptr, i32 } [ %.us-phi, %.split.us ], [ %106, %.split43 ], [ %82, %.split43.us.split ], [ %46, %.split43.us.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %154

._crit_edge41:                                    ; preds = %152, %62, %32, %._crit_edge
  call void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  ret void

154:                                              ; preds = %.split43.us, %90
  %.pn32 = phi { ptr, i32 } [ %91, %90 ], [ %.pn, %.split43.us ]
  call void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn32
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIxxESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIxxESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIxxESt6vectorIS1_SaIS1_EESt7greaterIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #3 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTSSt4pairIxxE", !6, i64 0, !6, i64 8}
!11 = !{!10, !6, i64 8}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass