; LLVM IR from tangjz/acm-icpc :: lydsy/3308.ll (ZN8PrimDual8DijkstraEv)

; 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.PrimDual::Edge" = type { i32, i32, i32, i32 }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.std::pair" = type { i32, i32 }

@_ZN8PrimDual1NE = external dso_local global i32, align 4
@_ZN8PrimDual1SE = external dso_local global i32, align 4
@_ZN8PrimDual1TE = external dso_local global i32, align 4
@_ZN8PrimDual3lnkE = external dso_local global [200001 x i32], align 16
@_ZN8PrimDual3disE = external dso_local global [200001 x i32], align 16
@_ZN8PrimDual3sumE = external dso_local global i32, align 4
@_ZN8PrimDual1eE = external dso_local global [400003 x %"struct.PrimDual::Edge"], align 16
@_ZN8PrimDual3visE = external dso_local global [200001 x i8], align 16

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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 zeroext i1 @_ZN8PrimDual8DijkstraEv() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i1, align 1
  %2 = alloca %"class.std::priority_queue", align 8
  %3 = alloca %"struct.std::pair", align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"struct.std::pair", align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #5
  call void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
  %16 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = mul i64 %17, 4
  call void @llvm.memset.p0.i64(ptr align 16 @_ZN8PrimDual3disE, i8 63, i64 %18, i1 false)
  %19 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %20 = sext i32 %19 to i64
  %21 = mul i64 %20, 4
  call void @llvm.memset.p0.i64(ptr align 16 @_ZN8PrimDual3visE, i8 0, i64 %21, i1 false)
  %22 = load i32, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %23
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %25 = load i32, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %26
  %28 = load i32, ptr %27, align 4, !tbaa !5
  %29 = sub nsw i32 0, %28
  store i32 %29, ptr %4, align 4, !tbaa !5
  %30 = invoke i64 @_ZSt9make_pairIiRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) @_ZN8PrimDual1TE)
          to label %31 unwind label %49

31:                                               ; preds = %0
  store i64 %30, ptr %3, align 4
  invoke void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %2, ptr noundef nonnull align 4 dereferenceable(8) %3)
          to label %32 unwind label %49

32:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %33

33:                                               ; preds = %132, %130, %32
  %34 = invoke noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
          to label %35 unwind label %53

35:                                               ; preds = %33
  %36 = xor i1 %34, true
  br i1 %36, label %37, label %134

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %38 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
          to label %39 unwind label %57

39:                                               ; preds = %37
  %40 = getelementptr inbounds %"struct.std::pair", ptr %38, i32 0, i32 1
  %41 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %41, ptr %7, align 4, !tbaa !5
  invoke void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %2)
          to label %42 unwind label %57

42:                                               ; preds = %39
  %43 = load i32, ptr %7, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [200001 x i8], ptr @_ZN8PrimDual3visE, i64 0, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !11, !range !13, !noundef !14
  %47 = trunc i8 %46 to i1
  br i1 %47, label %48, label %61

48:                                               ; preds = %42
  store i32 2, ptr %8, align 4
  br label %130, !llvm.loop !15

49:                                               ; preds = %31, %0
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %5, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %195

53:                                               ; preds = %33
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %5, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %6, align 4
  br label %195

57:                                               ; preds = %39, %37
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  br label %133

61:                                               ; preds = %42
  %62 = load i32, ptr %7, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [200001 x i8], ptr @_ZN8PrimDual3visE, i64 0, i64 %63
  store i8 1, ptr %64, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %65 = load i32, ptr %7, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3lnkE, i64 0, i64 %66
  %68 = load i32, ptr %67, align 4, !tbaa !5
  store i32 %68, ptr %9, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %123, %61
  %70 = load i32, ptr %9, align 4, !tbaa !5
  %71 = icmp ne i32 %70, -1
  br i1 %71, label %73, label %72

72:                                               ; preds = %69
  store i32 4, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %129

73:                                               ; preds = %69
  %74 = load i32, ptr %9, align 4, !tbaa !5
  %75 = xor i32 %74, 1
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %76
  %78 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %77, i32 0, i32 2
  %79 = load i32, ptr %78, align 8, !tbaa !17
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %82, label %81

81:                                               ; preds = %73
  br label %123

82:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %83 = load i32, ptr %9, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %84
  %86 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %85, i32 0, i32 1
  %87 = load i32, ptr %86, align 4, !tbaa !19
  store i32 %87, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %88 = load i32, ptr %7, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = load i32, ptr %9, align 4, !tbaa !5
  %93 = xor i32 %92, 1
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %94
  %96 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %95, i32 0, i32 3
  %97 = load i32, ptr %96, align 4, !tbaa !20
  %98 = add nsw i32 %91, %97
  store i32 %98, ptr %11, align 4, !tbaa !5
  %99 = load i32, ptr %11, align 4, !tbaa !5
  %100 = load i32, ptr %10, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = icmp slt i32 %99, %103
  br i1 %104, label %105, label %122

105:                                              ; preds = %82
  %106 = load i32, ptr %11, align 4, !tbaa !5
  %107 = load i32, ptr %10, align 4, !tbaa !5
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %108
  store i32 %106, ptr %109, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %110 = load i32, ptr %10, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = sub nsw i32 0, %113
  store i32 %114, ptr %13, align 4, !tbaa !5
  %115 = invoke i64 @_ZSt9make_pairIiRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %116 unwind label %118

116:                                              ; preds = %105
  store i64 %115, ptr %12, align 4
  invoke void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %2, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %117 unwind label %118

117:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %122

118:                                              ; preds = %116, %105
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %5, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %133

122:                                              ; preds = %117, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %123

123:                                              ; preds = %122, %81
  %124 = load i32, ptr %9, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %125
  %127 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 16, !tbaa !21
  store i32 %128, ptr %9, align 4, !tbaa !5
  br label %69, !llvm.loop !22

129:                                              ; preds = %72
  store i32 0, ptr %8, align 4
  br label %130

130:                                              ; preds = %129, %48
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  %131 = load i32, ptr %8, align 4
  switch i32 %131, label %201 [
    i32 0, label %132
    i32 2, label %33
  ]

132:                                              ; preds = %130
  br label %33, !llvm.loop !15

133:                                              ; preds = %118, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %195

134:                                              ; preds = %35
  %135 = load i32, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = icmp eq i32 %138, 1061109567
  br i1 %139, label %140, label %141

140:                                              ; preds = %134
  store i1 false, ptr %1, align 1
  store i32 1, ptr %8, align 4
  br label %193

141:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %142

142:                                              ; preds = %183, %141
  %143 = load i32, ptr %14, align 4, !tbaa !5
  %144 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %145 = icmp slt i32 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 7, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %186

147:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %148 = load i32, ptr %14, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3lnkE, i64 0, i64 %149
  %151 = load i32, ptr %150, align 4, !tbaa !5
  store i32 %151, ptr %15, align 4, !tbaa !5
  br label %152

152:                                              ; preds = %176, %147
  %153 = load i32, ptr %15, align 4, !tbaa !5
  %154 = icmp ne i32 %153, -1
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  store i32 10, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %182

156:                                              ; preds = %152
  %157 = load i32, ptr %15, align 4, !tbaa !5
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %158
  %160 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %159, i32 0, i32 1
  %161 = load i32, ptr %160, align 4, !tbaa !19
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %162
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = load i32, ptr %14, align 4, !tbaa !5
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %166
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = sub nsw i32 %164, %168
  %170 = load i32, ptr %15, align 4, !tbaa !5
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %171
  %173 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %172, i32 0, i32 3
  %174 = load i32, ptr %173, align 4, !tbaa !20
  %175 = add nsw i32 %174, %169
  store i32 %175, ptr %173, align 4, !tbaa !20
  br label %176

176:                                              ; preds = %156
  %177 = load i32, ptr %15, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %178
  %180 = getelementptr inbounds %"struct.PrimDual::Edge", ptr %179, i32 0, i32 0
  %181 = load i32, ptr %180, align 16, !tbaa !21
  store i32 %181, ptr %15, align 4, !tbaa !5
  br label %152, !llvm.loop !23

182:                                              ; preds = %155
  br label %183

183:                                              ; preds = %182
  %184 = load i32, ptr %14, align 4, !tbaa !5
  %185 = add nsw i32 %184, 1
  store i32 %185, ptr %14, align 4, !tbaa !5
  br label %142, !llvm.loop !24

186:                                              ; preds = %146
  %187 = load i32, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %188
  %190 = load i32, ptr %189, align 4, !tbaa !5
  %191 = load i32, ptr @_ZN8PrimDual3sumE, align 4, !tbaa !5
  %192 = add nsw i32 %191, %190
  store i32 %192, ptr @_ZN8PrimDual3sumE, align 4, !tbaa !5
  store i1 true, ptr %1, align 1
  store i32 1, ptr %8, align 4
  br label %193

193:                                              ; preds = %186, %140
  call void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  %194 = load i1, ptr %1, align 1
  ret i1 %194

195:                                              ; preds = %133, %53, %49
  call void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %2) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #5
  br label %196

196:                                              ; preds = %195
  %197 = load ptr, ptr %5, align 8
  %198 = load i32, ptr %6, align 4
  %199 = insertvalue { ptr, i32 } poison, ptr %197, 0
  %200 = insertvalue { ptr, i32 } %199, i32 %198, 1
  resume { ptr, i32 } %200

201:                                              ; preds = %130
  unreachable
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !6, i64 8}
!18 = !{!"_ZTSN8PrimDual4EdgeE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!19 = !{!18, !6, i64 4}
!20 = !{!18, !6, i64 12}
!21 = !{!18, !6, i64 0}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}


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

%"struct.PrimDual::Edge" = type { i32, i32, i32, i32 }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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 }
%"struct.std::pair" = type { i32, i32 }

@_ZN8PrimDual1NE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual1SE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual1TE = external dso_local global i32, align 4
@_ZN8PrimDual3lnkE = external dso_local local_unnamed_addr global [200001 x i32], align 16
@_ZN8PrimDual3disE = external dso_local local_unnamed_addr global [200001 x i32], align 16
@_ZN8PrimDual3sumE = external dso_local local_unnamed_addr global i32, align 4
@_ZN8PrimDual1eE = external dso_local local_unnamed_addr global [400003 x %"struct.PrimDual::Edge"], align 16
@_ZN8PrimDual3visE = external dso_local local_unnamed_addr global [200001 x i8], align 16

; 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 nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

; 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 zeroext i1 @_ZN8PrimDual8DijkstraEv() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::priority_queue", align 8
  %2 = alloca %"struct.std::pair", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"struct.std::pair", align 8
  %6 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #5
  call void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EEC2IS4_vEEv(ptr noundef nonnull align 8 dereferenceable(25) %1)
  %7 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %8 = sext i32 %7 to i64
  %9 = shl nsw i64 %8, 2
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZN8PrimDual3disE, i8 63, i64 %9, i1 false)
  call void @llvm.memset.p0.i64(ptr nonnull align 16 @_ZN8PrimDual3visE, i8 0, i64 %9, i1 false)
  %10 = load i32, ptr @_ZN8PrimDual1TE, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %11
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  store i32 0, ptr %3, align 4, !tbaa !5
  %13 = invoke i64 @_ZSt9make_pairIiRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) @_ZN8PrimDual1TE)
          to label %14 unwind label %25

14:                                               ; preds = %0
  store i64 %13, ptr %2, align 8
  invoke void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %1, ptr noundef nonnull align 4 dereferenceable(8) %2)
          to label %15 unwind label %25

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

.lr.ph35:                                         ; preds = %15, %.loopexit
  %17 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) %1)
  %18 = getelementptr inbounds i8, ptr %17, i64 4
  %19 = load i32, ptr %18, align 4, !tbaa !9
  invoke void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) %1)
          to label %20 unwind label %27

20:                                               ; preds = %.lr.ph35
  %21 = sext i32 %19 to i64
  %22 = getelementptr inbounds [200001 x i8], ptr @_ZN8PrimDual3visE, i64 0, i64 %21
  %23 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %24 = trunc nuw i8 %23 to i1
  br i1 %24, label %.loopexit, label %29, !llvm.loop !15

25:                                               ; preds = %14, %0
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  br label %86

27:                                               ; preds = %.lr.ph35
  %28 = landingpad { ptr, i32 }
          cleanup
  br label %86

29:                                               ; preds = %20
  store i8 1, ptr %22, align 1, !tbaa !11
  %30 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3lnkE, i64 0, i64 %21
  %.02332 = load i32, ptr %30, align 4, !tbaa !5
  %.not2833 = icmp eq i32 %.02332, -1
  br i1 %.not2833, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %29
  %31 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %21
  br label %32

32:                                               ; preds = %.lr.ph, %58
  %.02334 = phi i32 [ %.02332, %.lr.ph ], [ %.023, %58 ]
  %33 = xor i32 %.02334, 1
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %34
  %36 = getelementptr inbounds i8, ptr %35, i64 8
  %37 = load i32, ptr %36, align 8, !tbaa !17
  %.not29 = icmp eq i32 %37, 0
  br i1 %.not29, label %._crit_edge46, label %38

._crit_edge46:                                    ; preds = %32
  %.pre = sext i32 %.02334 to i64
  br label %58

38:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %39 = sext i32 %.02334 to i64
  %40 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %39, i32 1
  %41 = load i32, ptr %40, align 4, !tbaa !19
  store i32 %41, ptr %4, align 4, !tbaa !5
  %42 = load i32, ptr %31, align 4, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %35, i64 12
  %44 = load i32, ptr %43, align 4, !tbaa !20
  %45 = add nsw i32 %44, %42
  %46 = sext i32 %41 to i64
  %47 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = icmp slt i32 %45, %48
  br i1 %49, label %50, label %57

50:                                               ; preds = %38
  store i32 %45, ptr %47, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  %51 = sub nsw i32 0, %45
  store i32 %51, ptr %6, align 4, !tbaa !5
  %52 = invoke i64 @_ZSt9make_pairIiRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %53 unwind label %55

53:                                               ; preds = %50
  store i64 %52, ptr %5, align 8
  invoke void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) %1, ptr noundef nonnull align 4 dereferenceable(8) %5)
          to label %54 unwind label %55

54:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  br label %57

55:                                               ; preds = %53, %50
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %86

57:                                               ; preds = %54, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %58

58:                                               ; preds = %._crit_edge46, %57
  %.pre-phi = phi i64 [ %.pre, %._crit_edge46 ], [ %39, %57 ]
  %59 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %.pre-phi
  %.023 = load i32, ptr %59, align 16, !tbaa !5
  %.not28 = icmp eq i32 %.023, -1
  br i1 %.not28, label %.loopexit, label %32, !llvm.loop !21

.loopexit:                                        ; preds = %58, %29, %20
  %60 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) %1)
  br i1 %60, label %._crit_edge, label %.lr.ph35

._crit_edge:                                      ; preds = %.loopexit, %15
  %61 = load i32, ptr @_ZN8PrimDual1SE, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = icmp ne i32 %64, 1061109567
  br i1 %65, label %.preheader, label %85

.preheader:                                       ; preds = %._crit_edge
  %66 = load i32, ptr @_ZN8PrimDual1NE, align 4, !tbaa !5
  %67 = icmp sgt i32 %66, 0
  br i1 %67, label %.lr.ph43.preheader, label %._crit_edge44

.lr.ph43.preheader:                               ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %66 to i64
  br label %.lr.ph43

._crit_edge44:                                    ; preds = %._crit_edge41, %.preheader
  %68 = load i32, ptr @_ZN8PrimDual3sumE, align 4, !tbaa !5
  %69 = add nsw i32 %68, %64
  store i32 %69, ptr @_ZN8PrimDual3sumE, align 4, !tbaa !5
  br label %85

.lr.ph43:                                         ; preds = %.lr.ph43.preheader, %._crit_edge41
  %indvars.iv = phi i64 [ 0, %.lr.ph43.preheader ], [ %indvars.iv.next, %._crit_edge41 ]
  %70 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3lnkE, i64 0, i64 %indvars.iv
  %.036 = load i32, ptr %70, align 4, !tbaa !5
  %.not37 = icmp eq i32 %.036, -1
  br i1 %.not37, label %._crit_edge41, label %.lr.ph40

.lr.ph40:                                         ; preds = %.lr.ph43
  %71 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %indvars.iv
  %72 = load i32, ptr %71, align 4, !tbaa !5
  br label %73

._crit_edge41:                                    ; preds = %73, %.lr.ph43
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge44, label %.lr.ph43, !llvm.loop !22

73:                                               ; preds = %.lr.ph40, %73
  %.038 = phi i32 [ %.036, %.lr.ph40 ], [ %.0, %73 ]
  %74 = sext i32 %.038 to i64
  %75 = getelementptr inbounds [400003 x %"struct.PrimDual::Edge"], ptr @_ZN8PrimDual1eE, i64 0, i64 %74
  %76 = getelementptr inbounds i8, ptr %75, i64 4
  %77 = load i32, ptr %76, align 4, !tbaa !19
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [200001 x i32], ptr @_ZN8PrimDual3disE, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = sub i32 %80, %72
  %82 = getelementptr inbounds i8, ptr %75, i64 12
  %83 = load i32, ptr %82, align 4, !tbaa !20
  %84 = add nsw i32 %81, %83
  store i32 %84, ptr %82, align 4, !tbaa !20
  %.0 = load i32, ptr %75, align 16, !tbaa !5
  %.not = icmp eq i32 %.0, -1
  br i1 %.not, label %._crit_edge41, label %73, !llvm.loop !23

85:                                               ; preds = %._crit_edge, %._crit_edge44
  call void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  ret i1 %65

86:                                               ; preds = %27, %55, %25
  %.pn.pn = phi { ptr, i32 } [ %26, %25 ], [ %56, %55 ], [ %28, %27 ]
  call void @_ZNSt14priority_queueISt4pairIiiESt6vectorIS1_SaIS1_EESt4lessIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(25) %1) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #5
  resume { ptr, i32 } %.pn.pn
}

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { 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 = { 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 #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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !6, i64 8}
!18 = !{!"_ZTSN8PrimDual4EdgeE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!19 = !{!18, !6, i64 4}
!20 = !{!18, !6, i64 12}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}


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