; LLVM IR from mfem/mfem :: general/gecko.ll (ZN5Gecko8Subgraph8optimizeEj)

; 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.Gecko::WeightedSum" = type { %"class.Gecko::WeightedValue" }
%"class.Gecko::WeightedValue" = type { float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Gecko::Subgraph" = type { ptr, i32, ptr, %"class.Gecko::WeightedSum", [16 x i8], [16 x i8], [16 x ptr], ptr, [16 x i32], [16 x [16 x float]] }
%"class.Gecko::Graph" = type { ptr, ptr, %"class.std::vector", %"class.std::vector.0", %"class.std::vector", %"class.std::vector.5", %"class.std::vector.5", i32, i32 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<Gecko::Node, std::allocator<Gecko::Node>>::_Vector_impl" }
%"struct.std::_Vector_base<Gecko::Node, std::allocator<Gecko::Node>>::_Vector_impl" = type { %"struct.std::_Vector_base<Gecko::Node, std::allocator<Gecko::Node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Gecko::Node, std::allocator<Gecko::Node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Gecko::Node" = type { float, float, i32, i32 }
%"class.Gecko::Subnode" = type { float, %"class.Gecko::WeightedSum" }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Gecko11WeightedSumC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; 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) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Gecko8Subgraph8optimizeENS_11WeightedSumEj(ptr noundef nonnull align 8 dereferenceable(1288), <2 x float>, i32 noundef) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Gecko8Subgraph8optimizeEj(ptr noundef nonnull align 8 dereferenceable(1288) %0, i32 noundef %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca %"class.Gecko::WeightedSum", align 4
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca %"class.Gecko::WeightedSum", align 4
  %20 = alloca %"class.Gecko::WeightedSum", align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %23 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %24 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = getelementptr inbounds %"class.Gecko::Graph", ptr %25, i32 0, i32 3
  %27 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = getelementptr inbounds %"class.Gecko::Graph", ptr %28, i32 0, i32 2
  %30 = load i32, ptr %4, align 4, !tbaa !9
  %31 = zext i32 %30 to i64
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %31) #6
  %33 = load i32, ptr %32, align 4, !tbaa !9
  %34 = zext i32 %33 to i64
  %35 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %34) #6
  %36 = getelementptr inbounds %"class.Gecko::Node", ptr %35, i32 0, i32 0
  %37 = load float, ptr %36, align 4, !tbaa !16
  %38 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = getelementptr inbounds %"class.Gecko::Graph", ptr %39, i32 0, i32 3
  %41 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = getelementptr inbounds %"class.Gecko::Graph", ptr %42, i32 0, i32 2
  %44 = load i32, ptr %4, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef %45) #6
  %47 = load i32, ptr %46, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %40, i64 noundef %48) #6
  %50 = getelementptr inbounds %"class.Gecko::Node", ptr %49, i32 0, i32 1
  %51 = load float, ptr %50, align 4, !tbaa !18
  %52 = fsub float %37, %51
  store float %52, ptr %5, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  %53 = call noundef float @_ZNSt14numeric_limitsIfE3maxEv() #6
  call void @_ZN5Gecko11WeightedSumC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %53, float noundef 1.000000e+00)
  %54 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 4 %6, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  store i8 0, ptr %7, align 1, !tbaa !20
  br label %55

55:                                               ; preds = %318, %2
  %56 = load i8, ptr %7, align 1, !tbaa !20
  %57 = zext i8 %56 to i32
  %58 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %59 = load i32, ptr %58, align 8, !tbaa !21
  %60 = icmp ult i32 %57, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %55
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  br label %322

62:                                               ; preds = %55
  %63 = load i8, ptr %7, align 1, !tbaa !20
  %64 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 5
  %65 = load i8, ptr %7, align 1, !tbaa !20
  %66 = zext i8 %65 to i64
  %67 = getelementptr inbounds [16 x i8], ptr %64, i64 0, i64 %66
  store i8 %63, ptr %67, align 1, !tbaa !20
  %68 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 4
  %69 = load i8, ptr %7, align 1, !tbaa !20
  %70 = zext i8 %69 to i64
  %71 = getelementptr inbounds [16 x i8], ptr %68, i64 0, i64 %70
  store i8 %63, ptr %71, align 1, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  %72 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %73 = load ptr, ptr %72, align 8, !tbaa !11
  %74 = getelementptr inbounds %"class.Gecko::Graph", ptr %73, i32 0, i32 2
  %75 = load i32, ptr %4, align 4, !tbaa !9
  %76 = load i8, ptr %7, align 1, !tbaa !20
  %77 = zext i8 %76 to i32
  %78 = add i32 %75, %77
  %79 = zext i32 %78 to i64
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %79) #6
  %81 = load i32, ptr %80, align 4, !tbaa !9
  store i32 %81, ptr %9, align 4, !tbaa !9
  %82 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 8
  %83 = load i8, ptr %7, align 1, !tbaa !20
  %84 = zext i8 %83 to i64
  %85 = getelementptr inbounds [16 x i32], ptr %82, i64 0, i64 %84
  store i32 0, ptr %85, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  %86 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8, !tbaa !11
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = invoke noundef i32 @_ZNK5Gecko5Graph10node_beginEj(ptr noundef nonnull align 8 dereferenceable(144) %87, i32 noundef %88)
          to label %90 unwind label %100

90:                                               ; preds = %62
  store i32 %89, ptr %11, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %174, %90
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8, !tbaa !11
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = invoke noundef i32 @_ZNK5Gecko5Graph8node_endEj(ptr noundef nonnull align 8 dereferenceable(144) %94, i32 noundef %95)
          to label %97 unwind label %100

97:                                               ; preds = %91
  %98 = icmp ult i32 %92, %96
  br i1 %98, label %104, label %99

99:                                               ; preds = %97
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %178

100:                                              ; preds = %91, %62
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %12, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %13, align 4
  br label %177

104:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %105 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !11
  %107 = getelementptr inbounds %"class.Gecko::Graph", ptr %106, i32 0, i32 4
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = zext i32 %108 to i64
  %110 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %109) #6
  %111 = load i32, ptr %110, align 4, !tbaa !9
  store i32 %111, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #6
  store i8 0, ptr %15, align 1, !tbaa !20
  br label %112

112:                                              ; preds = %134, %104
  %113 = load i8, ptr %15, align 1, !tbaa !20
  %114 = zext i8 %113 to i32
  %115 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %116 = load i32, ptr %115, align 8, !tbaa !21
  %117 = icmp ult i32 %114, %116
  br i1 %117, label %118, label %131

118:                                              ; preds = %112
  %119 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !11
  %121 = getelementptr inbounds %"class.Gecko::Graph", ptr %120, i32 0, i32 2
  %122 = load i32, ptr %4, align 4, !tbaa !9
  %123 = load i8, ptr %15, align 1, !tbaa !20
  %124 = zext i8 %123 to i32
  %125 = add i32 %122, %124
  %126 = zext i32 %125 to i64
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %121, i64 noundef %126) #6
  %128 = load i32, ptr %127, align 4, !tbaa !9
  %129 = load i32, ptr %14, align 4, !tbaa !9
  %130 = icmp ne i32 %128, %129
  br label %131

131:                                              ; preds = %118, %112
  %132 = phi i1 [ false, %112 ], [ %130, %118 ]
  br i1 %132, label %133, label %137

133:                                              ; preds = %131
  br label %134

134:                                              ; preds = %133
  %135 = load i8, ptr %15, align 1, !tbaa !20
  %136 = add i8 %135, 1
  store i8 %136, ptr %15, align 1, !tbaa !20
  br label %112, !llvm.loop !22

137:                                              ; preds = %131
  %138 = load i8, ptr %15, align 1, !tbaa !20
  %139 = zext i8 %138 to i32
  %140 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %141 = load i32, ptr %140, align 8, !tbaa !21
  %142 = icmp eq i32 %139, %141
  br i1 %142, label %143, label %149

143:                                              ; preds = %137
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %144 unwind label %145

144:                                              ; preds = %143
  br label %173

145:                                              ; preds = %143
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %12, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %177

149:                                              ; preds = %137
  %150 = load i8, ptr %15, align 1, !tbaa !20
  %151 = zext i8 %150 to i32
  %152 = shl i32 1, %151
  %153 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 8
  %154 = load i8, ptr %7, align 1, !tbaa !20
  %155 = zext i8 %154 to i64
  %156 = getelementptr inbounds [16 x i32], ptr %153, i64 0, i64 %155
  %157 = load i32, ptr %156, align 4, !tbaa !9
  %158 = add i32 %157, %152
  store i32 %158, ptr %156, align 4, !tbaa !9
  %159 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %160 = load ptr, ptr %159, align 8, !tbaa !11
  %161 = getelementptr inbounds %"class.Gecko::Graph", ptr %160, i32 0, i32 5
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = zext i32 %162 to i64
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %161, i64 noundef %163) #6
  %165 = load float, ptr %164, align 4, !tbaa !19
  %166 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 9
  %167 = load i8, ptr %7, align 1, !tbaa !20
  %168 = zext i8 %167 to i64
  %169 = getelementptr inbounds [16 x [16 x float]], ptr %166, i64 0, i64 %168
  %170 = load i8, ptr %15, align 1, !tbaa !20
  %171 = zext i8 %170 to i64
  %172 = getelementptr inbounds [16 x float], ptr %169, i64 0, i64 %171
  store float %165, ptr %172, align 4, !tbaa !19
  br label %173

173:                                              ; preds = %149, %144
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %174

174:                                              ; preds = %173
  %175 = load i32, ptr %11, align 4, !tbaa !9
  %176 = add i32 %175, 1
  store i32 %176, ptr %11, align 4, !tbaa !9
  br label %91, !llvm.loop !24

177:                                              ; preds = %145, %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %321

178:                                              ; preds = %99
  %179 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 7
  %180 = load ptr, ptr %179, align 8, !tbaa !25
  %181 = load i8, ptr %7, align 1, !tbaa !20
  %182 = zext i8 %181 to i32
  %183 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %184 = load i32, ptr %183, align 8, !tbaa !21
  %185 = shl i32 %182, %184
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds %"class.Gecko::Subnode", ptr %180, i64 %186
  %188 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 6
  %189 = load i8, ptr %7, align 1, !tbaa !20
  %190 = zext i8 %189 to i64
  %191 = getelementptr inbounds [16 x ptr], ptr %188, i64 0, i64 %190
  store ptr %187, ptr %191, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %192

192:                                              ; preds = %300, %178
  %193 = load i32, ptr %16, align 4, !tbaa !9
  %194 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %195 = load i32, ptr %194, align 8, !tbaa !21
  %196 = shl i32 1, %195
  %197 = icmp ult i32 %193, %196
  br i1 %197, label %199, label %198

198:                                              ; preds = %192
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %303

199:                                              ; preds = %192
  %200 = load i32, ptr %16, align 4, !tbaa !9
  %201 = load i8, ptr %7, align 1, !tbaa !20
  %202 = zext i8 %201 to i32
  %203 = shl i32 1, %202
  %204 = and i32 %200, %203
  %205 = icmp ne i32 %204, 0
  br i1 %205, label %292, label %206

206:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %207 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 7
  %208 = load ptr, ptr %207, align 8, !tbaa !25
  %209 = load i8, ptr %7, align 1, !tbaa !20
  %210 = zext i8 %209 to i32
  %211 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %212 = load i32, ptr %211, align 8, !tbaa !21
  %213 = shl i32 %210, %212
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds %"class.Gecko::Subnode", ptr %208, i64 %214
  %216 = load i32, ptr %16, align 4, !tbaa !9
  %217 = zext i32 %216 to i64
  %218 = getelementptr inbounds %"class.Gecko::Subnode", ptr %215, i64 %217
  store ptr %218, ptr %17, align 8, !tbaa !5
  %219 = load float, ptr %5, align 4, !tbaa !19
  %220 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8, !tbaa !11
  %222 = getelementptr inbounds %"class.Gecko::Graph", ptr %221, i32 0, i32 3
  %223 = load i32, ptr %9, align 4, !tbaa !9
  %224 = zext i32 %223 to i64
  %225 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %222, i64 noundef %224) #6
  %226 = getelementptr inbounds %"class.Gecko::Node", ptr %225, i32 0, i32 1
  %227 = load float, ptr %226, align 4, !tbaa !18
  %228 = fadd float %219, %227
  %229 = load ptr, ptr %17, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.Gecko::Subnode", ptr %229, i32 0, i32 0
  store float %228, ptr %230, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  store i8 0, ptr %18, align 1, !tbaa !20
  br label %231

231:                                              ; preds = %274, %206
  %232 = load i8, ptr %18, align 1, !tbaa !20
  %233 = zext i8 %232 to i32
  %234 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %235 = load i32, ptr %234, align 8, !tbaa !21
  %236 = icmp ult i32 %233, %235
  br i1 %236, label %238, label %237

237:                                              ; preds = %231
  store i32 14, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %277

238:                                              ; preds = %231
  %239 = load i8, ptr %18, align 1, !tbaa !20
  %240 = zext i8 %239 to i32
  %241 = load i8, ptr %7, align 1, !tbaa !20
  %242 = zext i8 %241 to i32
  %243 = icmp ne i32 %240, %242
  br i1 %243, label %244, label %273

244:                                              ; preds = %238
  %245 = load i32, ptr %16, align 4, !tbaa !9
  %246 = load i8, ptr %18, align 1, !tbaa !20
  %247 = zext i8 %246 to i32
  %248 = shl i32 1, %247
  %249 = and i32 %245, %248
  %250 = icmp ne i32 %249, 0
  br i1 %250, label %273, label %251

251:                                              ; preds = %244
  %252 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %253 = load ptr, ptr %252, align 8, !tbaa !11
  %254 = getelementptr inbounds %"class.Gecko::Graph", ptr %253, i32 0, i32 3
  %255 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %256 = load ptr, ptr %255, align 8, !tbaa !11
  %257 = getelementptr inbounds %"class.Gecko::Graph", ptr %256, i32 0, i32 2
  %258 = load i32, ptr %4, align 4, !tbaa !9
  %259 = load i8, ptr %18, align 1, !tbaa !20
  %260 = zext i8 %259 to i32
  %261 = add i32 %258, %260
  %262 = zext i32 %261 to i64
  %263 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %257, i64 noundef %262) #6
  %264 = load i32, ptr %263, align 4, !tbaa !9
  %265 = zext i32 %264 to i64
  %266 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %265) #6
  %267 = getelementptr inbounds %"class.Gecko::Node", ptr %266, i32 0, i32 1
  %268 = load float, ptr %267, align 4, !tbaa !18
  %269 = load ptr, ptr %17, align 8, !tbaa !5
  %270 = getelementptr inbounds %"class.Gecko::Subnode", ptr %269, i32 0, i32 0
  %271 = load float, ptr %270, align 4, !tbaa !26
  %272 = call float @llvm.fmuladd.f32(float 2.000000e+00, float %268, float %271)
  store float %272, ptr %270, align 4, !tbaa !26
  br label %273

273:                                              ; preds = %251, %244, %238
  br label %274

274:                                              ; preds = %273
  %275 = load i8, ptr %18, align 1, !tbaa !20
  %276 = add i8 %275, 1
  store i8 %276, ptr %18, align 1, !tbaa !20
  br label %231, !llvm.loop !28

277:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %278 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %279 = load ptr, ptr %278, align 8, !tbaa !11
  %280 = load ptr, ptr %17, align 8, !tbaa !5
  %281 = getelementptr inbounds %"class.Gecko::Subnode", ptr %280, i32 0, i32 0
  %282 = load float, ptr %281, align 4, !tbaa !26
  %283 = invoke <2 x float> @_ZNK5Gecko5Graph4costERKSt6vectorIjSaIjEEf(ptr noundef nonnull align 8 dereferenceable(144) %279, ptr noundef nonnull align 8 dereferenceable(24) %10, float noundef %282)
          to label %284 unwind label %288

284:                                              ; preds = %277
  %285 = getelementptr inbounds %"class.Gecko::WeightedSum", ptr %19, i32 0, i32 0
  store <2 x float> %283, ptr %285, align 4
  %286 = load ptr, ptr %17, align 8, !tbaa !5
  %287 = getelementptr inbounds %"class.Gecko::Subnode", ptr %286, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %287, ptr align 4 %19, i64 8, i1 false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %299

288:                                              ; preds = %277
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %12, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %321

292:                                              ; preds = %199
  %293 = load i8, ptr %7, align 1, !tbaa !20
  %294 = zext i8 %293 to i32
  %295 = shl i32 1, %294
  %296 = sub i32 %295, 1
  %297 = load i32, ptr %16, align 4, !tbaa !9
  %298 = add i32 %297, %296
  store i32 %298, ptr %16, align 4, !tbaa !9
  br label %299

299:                                              ; preds = %292, %284
  br label %300

300:                                              ; preds = %299
  %301 = load i32, ptr %16, align 4, !tbaa !9
  %302 = add i32 %301, 1
  store i32 %302, ptr %16, align 4, !tbaa !9
  br label %192, !llvm.loop !29

303:                                              ; preds = %198
  %304 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %305 = load i32, ptr %304, align 8, !tbaa !21
  %306 = shl i32 1, %305
  %307 = load i8, ptr %7, align 1, !tbaa !20
  %308 = zext i8 %307 to i32
  %309 = shl i32 2, %308
  %310 = sub i32 %306, %309
  %311 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 6
  %312 = load i8, ptr %7, align 1, !tbaa !20
  %313 = zext i8 %312 to i64
  %314 = getelementptr inbounds [16 x ptr], ptr %311, i64 0, i64 %313
  %315 = load ptr, ptr %314, align 8, !tbaa !5
  %316 = zext i32 %310 to i64
  %317 = getelementptr inbounds %"class.Gecko::Subnode", ptr %315, i64 %316
  store ptr %317, ptr %314, align 8, !tbaa !5
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %318

318:                                              ; preds = %303
  %319 = load i8, ptr %7, align 1, !tbaa !20
  %320 = add i8 %319, 1
  store i8 %320, ptr %7, align 1, !tbaa !20
  br label %55, !llvm.loop !30

321:                                              ; preds = %288, %177
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %383

322:                                              ; preds = %61
  call void @_ZN5Gecko11WeightedSumC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %20, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %323 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %324 = load i32, ptr %323, align 8, !tbaa !21
  %325 = getelementptr inbounds %"class.Gecko::WeightedSum", ptr %20, i32 0, i32 0
  %326 = load <2 x float>, ptr %325, align 4
  call void @_ZN5Gecko8Subgraph8optimizeENS_11WeightedSumEj(ptr noundef nonnull align 8 dereferenceable(1288) %23, <2 x float> %326, i32 noundef %324)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %327

327:                                              ; preds = %379, %322
  %328 = load i32, ptr %21, align 4, !tbaa !9
  %329 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %330 = load i32, ptr %329, align 8, !tbaa !21
  %331 = icmp ult i32 %328, %330
  br i1 %331, label %333, label %332

332:                                              ; preds = %327
  store i32 17, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %382

333:                                              ; preds = %327
  %334 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 0
  %335 = load ptr, ptr %334, align 8, !tbaa !11
  %336 = load i32, ptr %4, align 4, !tbaa !9
  %337 = load i32, ptr %21, align 4, !tbaa !9
  %338 = add i32 %336, %337
  %339 = load i32, ptr %4, align 4, !tbaa !9
  %340 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 4
  %341 = load i32, ptr %21, align 4, !tbaa !9
  %342 = zext i32 %341 to i64
  %343 = getelementptr inbounds [16 x i8], ptr %340, i64 0, i64 %342
  %344 = load i8, ptr %343, align 1, !tbaa !20
  %345 = zext i8 %344 to i32
  %346 = add i32 %339, %345
  call void @_ZN5Gecko5Graph4swapEjj(ptr noundef nonnull align 8 dereferenceable(144) %335, i32 noundef %338, i32 noundef %346)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #6
  %347 = load i32, ptr %21, align 4, !tbaa !9
  %348 = add i32 %347, 1
  store i32 %348, ptr %22, align 4, !tbaa !9
  br label %349

349:                                              ; preds = %375, %333
  %350 = load i32, ptr %22, align 4, !tbaa !9
  %351 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 1
  %352 = load i32, ptr %351, align 8, !tbaa !21
  %353 = icmp ult i32 %350, %352
  br i1 %353, label %355, label %354

354:                                              ; preds = %349
  store i32 20, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #6
  br label %378

355:                                              ; preds = %349
  %356 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 4
  %357 = load i32, ptr %22, align 4, !tbaa !9
  %358 = zext i32 %357 to i64
  %359 = getelementptr inbounds [16 x i8], ptr %356, i64 0, i64 %358
  %360 = load i8, ptr %359, align 1, !tbaa !20
  %361 = zext i8 %360 to i32
  %362 = load i32, ptr %21, align 4, !tbaa !9
  %363 = icmp eq i32 %361, %362
  br i1 %363, label %364, label %374

364:                                              ; preds = %355
  %365 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 4
  %366 = load i32, ptr %21, align 4, !tbaa !9
  %367 = zext i32 %366 to i64
  %368 = getelementptr inbounds [16 x i8], ptr %365, i64 0, i64 %367
  %369 = load i8, ptr %368, align 1, !tbaa !20
  %370 = getelementptr inbounds %"class.Gecko::Subgraph", ptr %23, i32 0, i32 4
  %371 = load i32, ptr %22, align 4, !tbaa !9
  %372 = zext i32 %371 to i64
  %373 = getelementptr inbounds [16 x i8], ptr %370, i64 0, i64 %372
  store i8 %369, ptr %373, align 1, !tbaa !20
  br label %374

374:                                              ; preds = %364, %355
  br label %375

375:                                              ; preds = %374
  %376 = load i32, ptr %22, align 4, !tbaa !9
  %377 = add i32 %376, 1
  store i32 %377, ptr %22, align 4, !tbaa !9
  br label %349, !llvm.loop !31

378:                                              ; preds = %354
  br label %379

379:                                              ; preds = %378
  %380 = load i32, ptr %21, align 4, !tbaa !9
  %381 = add i32 %380, 1
  store i32 %381, ptr %21, align 4, !tbaa !9
  br label %327, !llvm.loop !32

382:                                              ; preds = %332
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void

383:                                              ; preds = %321
  %384 = load ptr, ptr %12, align 8
  %385 = load i32, ptr %13, align 4
  %386 = insertvalue { ptr, i32 } poison, ptr %384, 0
  %387 = insertvalue { ptr, i32 } %386, i32 %385, 1
  resume { ptr, i32 } %387
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE3maxEv() #4 align 2

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK5Gecko5Graph4costERKSt6vectorIjSaIjEEf(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24), float noundef) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Gecko5Graph4swapEjj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) #4 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="64" "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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSN5Gecko8SubgraphE", !6, i64 0, !10, i64 8, !6, i64 16, !13, i64 24, !7, i64 32, !7, i64 48, !7, i64 64, !6, i64 192, !7, i64 200, !7, i64 264}
!13 = !{!"_ZTSN5Gecko11WeightedSumE", !14, i64 0}
!14 = !{!"_ZTSN5Gecko13WeightedValueE", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!17, !15, i64 0}
!17 = !{!"_ZTSN5Gecko4NodeE", !15, i64 0, !15, i64 4, !10, i64 8, !10, i64 12}
!18 = !{!17, !15, i64 4}
!19 = !{!15, !15, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!12, !10, i64 8}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!12, !6, i64 192}
!26 = !{!27, !15, i64 0}
!27 = !{!"_ZTSN5Gecko7SubnodeE", !15, i64 0, !13, i64 4}
!28 = distinct !{!28, !23}
!29 = distinct !{!29, !23}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !23}


; 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.Gecko::WeightedSum" = type { %"class.Gecko::WeightedValue" }
%"class.Gecko::WeightedValue" = type { float, float }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Gecko::Subnode" = type { float, %"class.Gecko::WeightedSum" }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Gecko11WeightedSumC2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Gecko8Subgraph8optimizeENS_11WeightedSumEj(ptr noundef nonnull align 8 dereferenceable(1288), <2 x float>, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5Gecko8Subgraph8optimizeEj(ptr noundef nonnull align 8 dereferenceable(1288) %0, i32 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.Gecko::WeightedSum", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.Gecko::WeightedSum", align 8
  %7 = load ptr, ptr %0, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 40
  %9 = getelementptr inbounds i8, ptr %7, i64 16
  %10 = zext i32 %1 to i64
  %11 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %10) #5
  %12 = load i32, ptr %11, align 4, !tbaa !14
  %13 = zext i32 %12 to i64
  %14 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %13) #5
  %15 = load float, ptr %14, align 4, !tbaa !15
  %16 = load ptr, ptr %0, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 40
  %18 = getelementptr inbounds i8, ptr %16, i64 16
  %19 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef %10) #5
  %20 = load i32, ptr %19, align 4, !tbaa !14
  %21 = zext i32 %20 to i64
  %22 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %21) #5
  %23 = getelementptr inbounds i8, ptr %22, i64 4
  %24 = load float, ptr %23, align 4, !tbaa !17
  %25 = fsub float %15, %24
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #5
  %26 = tail call noundef float @_ZNSt14numeric_limitsIfE3maxEv() #5
  call void @_ZN5Gecko11WeightedSumC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %3, float noundef %26, float noundef 1.000000e+00)
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = load i64, ptr %3, align 8
  store i64 %28, ptr %27, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #5
  %29 = getelementptr inbounds i8, ptr %0, i64 8
  %30 = load i32, ptr %29, align 8, !tbaa !18
  %.not107 = icmp eq i32 %30, 0
  br i1 %.not107, label %._crit_edge98, label %.lr.ph97

.lr.ph97:                                         ; preds = %2
  %31 = getelementptr inbounds i8, ptr %0, i64 48
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  %33 = getelementptr inbounds i8, ptr %0, i64 200
  %34 = getelementptr inbounds i8, ptr %0, i64 264
  %35 = getelementptr inbounds i8, ptr %0, i64 192
  %36 = getelementptr inbounds i8, ptr %0, i64 64
  br label %41

._crit_edge98:                                    ; preds = %106, %2
  call void @_ZN5Gecko11WeightedSumC2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %37 = load i32, ptr %29, align 8, !tbaa !18
  %38 = load <2 x float>, ptr %6, align 8
  call void @_ZN5Gecko8Subgraph8optimizeENS_11WeightedSumEj(ptr noundef nonnull align 8 dereferenceable(1288) %0, <2 x float> %38, i32 noundef %37)
  %39 = load i32, ptr %29, align 8, !tbaa !18
  %.not110 = icmp eq i32 %39, 0
  br i1 %.not110, label %._crit_edge106, label %.lr.ph105

.lr.ph105:                                        ; preds = %._crit_edge98
  %40 = getelementptr inbounds i8, ptr %0, i64 32
  br label %173

41:                                               ; preds = %.lr.ph97, %106
  %42 = phi i32 [ 0, %.lr.ph97 ], [ %112, %106 ]
  %.06495 = phi i8 [ 0, %.lr.ph97 ], [ %111, %106 ]
  %43 = zext i8 %.06495 to i64
  %44 = getelementptr inbounds [16 x i8], ptr %31, i64 0, i64 %43
  store i8 %.06495, ptr %44, align 1, !tbaa !19
  %45 = getelementptr inbounds [16 x i8], ptr %32, i64 0, i64 %43
  store i8 %.06495, ptr %45, align 1, !tbaa !19
  %46 = load ptr, ptr %0, align 8, !tbaa !5
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %48 = add i32 %42, %1
  %49 = zext i32 %48 to i64
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef %49) #5
  %51 = load i32, ptr %50, align 4, !tbaa !14
  %52 = getelementptr inbounds [16 x i32], ptr %33, i64 0, i64 %43
  store i32 0, ptr %52, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #5
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %53 = load ptr, ptr %0, align 8, !tbaa !5
  %54 = call noundef i32 @_ZNK5Gecko5Graph10node_beginEj(ptr noundef nonnull align 8 dereferenceable(144) %53, i32 noundef %51)
  store i32 %54, ptr %5, align 4, !tbaa !14
  %55 = load ptr, ptr %0, align 8, !tbaa !5
  %56 = call noundef i32 @_ZNK5Gecko5Graph8node_endEj(ptr noundef nonnull align 8 dereferenceable(144) %55, i32 noundef %51)
  %57 = icmp ult i32 %54, %56
  br i1 %57, label %.lr.ph89, label %._crit_edge

._crit_edge:                                      ; preds = %100, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  %58 = load ptr, ptr %35, align 8, !tbaa !20
  %59 = load i32, ptr %29, align 8, !tbaa !18
  %60 = shl i32 %42, %59
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds %"class.Gecko::Subnode", ptr %58, i64 %61
  %63 = getelementptr inbounds [16 x ptr], ptr %36, i64 0, i64 %43
  store ptr %62, ptr %63, align 8, !tbaa !21
  %64 = shl nuw i32 1, %42
  %65 = add i32 %64, -1
  %66 = zext i32 %51 to i64
  br label %115

.lr.ph89:                                         ; preds = %41, %100
  %67 = load ptr, ptr %0, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 64
  %69 = load i32, ptr %5, align 4, !tbaa !14
  %70 = zext i32 %69 to i64
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %68, i64 noundef %70) #5
  %72 = load i32, ptr %71, align 4, !tbaa !14
  %73 = load i32, ptr %29, align 8, !tbaa !18
  %.not108 = icmp eq i32 %73, 0
  br i1 %.not108, label %.critedge.thread, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph89, %81
  %74 = phi i32 [ %83, %81 ], [ 0, %.lr.ph89 ]
  %.06784 = phi i8 [ %82, %81 ], [ 0, %.lr.ph89 ]
  %75 = load ptr, ptr %0, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 16
  %77 = add i32 %74, %1
  %78 = zext i32 %77 to i64
  %79 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %76, i64 noundef %78) #5
  %80 = load i32, ptr %79, align 4, !tbaa !14
  %.not77 = icmp eq i32 %80, %72
  %.pre.pre = load i32, ptr %29, align 8, !tbaa !18
  br i1 %.not77, label %.critedge, label %81

81:                                               ; preds = %.lr.ph
  %82 = add i8 %.06784, 1
  %83 = zext i8 %82 to i32
  %84 = icmp ugt i32 %.pre.pre, %83
  br i1 %84, label %.lr.ph, label %.critedge, !llvm.loop !22

.critedge:                                        ; preds = %.lr.ph, %81
  %.067.lcssa = phi i8 [ %.06784, %.lr.ph ], [ %82, %81 ]
  %.lcssa = phi i32 [ %74, %.lr.ph ], [ %83, %81 ]
  %85 = icmp eq i32 %.pre.pre, %.lcssa
  br i1 %85, label %.critedge.thread, label %88

.critedge.thread:                                 ; preds = %.lr.ph89, %.critedge
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %100 unwind label %86

86:                                               ; preds = %.critedge.thread
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  br label %172

88:                                               ; preds = %.critedge
  %89 = shl nuw i32 1, %.lcssa
  %90 = load i32, ptr %52, align 4, !tbaa !14
  %91 = add i32 %90, %89
  store i32 %91, ptr %52, align 4, !tbaa !14
  %92 = load ptr, ptr %0, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %92, i64 88
  %94 = load i32, ptr %5, align 4, !tbaa !14
  %95 = zext i32 %94 to i64
  %96 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfSaIfEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %93, i64 noundef %95) #5
  %97 = load float, ptr %96, align 4, !tbaa !24
  %98 = zext i8 %.067.lcssa to i64
  %99 = getelementptr inbounds [16 x [16 x float]], ptr %34, i64 0, i64 %43, i64 %98
  store float %97, ptr %99, align 4, !tbaa !24
  br label %100

100:                                              ; preds = %.critedge.thread, %88
  %101 = load i32, ptr %5, align 4, !tbaa !14
  %102 = add i32 %101, 1
  store i32 %102, ptr %5, align 4, !tbaa !14
  %103 = load ptr, ptr %0, align 8, !tbaa !5
  %104 = call noundef i32 @_ZNK5Gecko5Graph8node_endEj(ptr noundef nonnull align 8 dereferenceable(144) %103, i32 noundef %51)
  %105 = icmp ult i32 %102, %104
  br i1 %105, label %.lr.ph89, label %._crit_edge, !llvm.loop !25

106:                                              ; preds = %167
  %.neg = shl i32 -2, %42
  %107 = add i32 %170, %.neg
  %108 = load ptr, ptr %63, align 8, !tbaa !21
  %109 = zext i32 %107 to i64
  %110 = getelementptr inbounds %"class.Gecko::Subnode", ptr %108, i64 %109
  store ptr %110, ptr %63, align 8, !tbaa !21
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  %111 = add i8 %.06495, 1
  %112 = zext i8 %111 to i32
  %113 = load i32, ptr %29, align 8, !tbaa !18
  %114 = icmp ugt i32 %113, %112
  br i1 %114, label %41, label %._crit_edge98, !llvm.loop !26

115:                                              ; preds = %._crit_edge, %167
  %116 = phi i32 [ %59, %._crit_edge ], [ %168, %167 ]
  %.06694 = phi i32 [ 0, %._crit_edge ], [ %169, %167 ]
  %117 = and i32 %.06694, %64
  %.not = icmp eq i32 %117, 0
  br i1 %.not, label %118, label %165

118:                                              ; preds = %115
  %119 = load ptr, ptr %35, align 8, !tbaa !20
  %120 = shl i32 %42, %116
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds %"class.Gecko::Subnode", ptr %119, i64 %121
  %123 = zext i32 %.06694 to i64
  %124 = getelementptr inbounds %"class.Gecko::Subnode", ptr %122, i64 %123
  %125 = load ptr, ptr %0, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %125, i64 40
  %127 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %126, i64 noundef %66) #5
  %128 = getelementptr inbounds i8, ptr %127, i64 4
  %129 = load float, ptr %128, align 4, !tbaa !17
  %130 = fadd float %25, %129
  store float %130, ptr %124, align 4, !tbaa !27
  %131 = load i32, ptr %29, align 8, !tbaa !18
  %.not109 = icmp eq i32 %131, 0
  br i1 %.not109, label %._crit_edge93, label %.lr.ph92

._crit_edge93:                                    ; preds = %155, %118
  %132 = phi float [ %130, %118 ], [ %156, %155 ]
  %133 = load ptr, ptr %0, align 8, !tbaa !5
  %134 = invoke <2 x float> @_ZNK5Gecko5Graph4costERKSt6vectorIjSaIjEEf(ptr noundef nonnull align 8 dereferenceable(144) %133, ptr noundef nonnull align 8 dereferenceable(24) %4, float noundef %132)
          to label %161 unwind label %163

.lr.ph92:                                         ; preds = %118, %155
  %135 = phi float [ %156, %155 ], [ %130, %118 ]
  %136 = phi i32 [ %157, %155 ], [ %131, %118 ]
  %137 = phi i32 [ %159, %155 ], [ 0, %118 ]
  %.06590 = phi i8 [ %158, %155 ], [ 0, %118 ]
  %.not75 = icmp eq i8 %.06590, %.06495
  br i1 %.not75, label %155, label %138

138:                                              ; preds = %.lr.ph92
  %139 = shl nuw i32 1, %137
  %140 = and i32 %139, %.06694
  %.not76 = icmp eq i32 %140, 0
  br i1 %.not76, label %141, label %155

141:                                              ; preds = %138
  %142 = load ptr, ptr %0, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 40
  %144 = getelementptr inbounds i8, ptr %142, i64 16
  %145 = add i32 %137, %1
  %146 = zext i32 %145 to i64
  %147 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %144, i64 noundef %146) #5
  %148 = load i32, ptr %147, align 4, !tbaa !14
  %149 = zext i32 %148 to i64
  %150 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNSt6vectorIN5Gecko4NodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %143, i64 noundef %149) #5
  %151 = getelementptr inbounds i8, ptr %150, i64 4
  %152 = load float, ptr %151, align 4, !tbaa !17
  %153 = load float, ptr %124, align 4, !tbaa !27
  %154 = call float @llvm.fmuladd.f32(float %152, float 2.000000e+00, float %153)
  store float %154, ptr %124, align 4, !tbaa !27
  %.pre118 = load i32, ptr %29, align 8, !tbaa !18
  br label %155

155:                                              ; preds = %.lr.ph92, %138, %141
  %156 = phi float [ %135, %.lr.ph92 ], [ %135, %138 ], [ %154, %141 ]
  %157 = phi i32 [ %136, %.lr.ph92 ], [ %136, %138 ], [ %.pre118, %141 ]
  %158 = add i8 %.06590, 1
  %159 = zext i8 %158 to i32
  %160 = icmp ugt i32 %157, %159
  br i1 %160, label %.lr.ph92, label %._crit_edge93, !llvm.loop !29

161:                                              ; preds = %._crit_edge93
  %162 = getelementptr inbounds i8, ptr %124, i64 4
  store <2 x float> %134, ptr %162, align 4
  %.pre119 = load i32, ptr %29, align 8, !tbaa !18
  br label %167

163:                                              ; preds = %._crit_edge93
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %172

165:                                              ; preds = %115
  %166 = add i32 %65, %.06694
  br label %167

167:                                              ; preds = %161, %165
  %168 = phi i32 [ %116, %165 ], [ %.pre119, %161 ]
  %.1 = phi i32 [ %166, %165 ], [ %.06694, %161 ]
  %169 = add i32 %.1, 1
  %170 = shl nuw i32 1, %168
  %171 = icmp ult i32 %169, %170
  br i1 %171, label %115, label %106, !llvm.loop !30

172:                                              ; preds = %163, %86
  %.pn = phi { ptr, i32 } [ %87, %86 ], [ %164, %163 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn

.loopexit:                                        ; preds = %190
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %183, label %173, label %._crit_edge106, !llvm.loop !31

._crit_edge106:                                   ; preds = %173, %.loopexit, %._crit_edge98
  ret void

173:                                              ; preds = %.lr.ph105, %.loopexit
  %indvars.iv115 = phi i64 [ 0, %.lr.ph105 ], [ %indvars.iv.next116, %.loopexit ]
  %indvars.iv = phi i64 [ 1, %.lr.ph105 ], [ %indvars.iv.next, %.loopexit ]
  %174 = load ptr, ptr %0, align 8, !tbaa !5
  %175 = trunc nuw i64 %indvars.iv115 to i32
  %176 = add i32 %175, %1
  %177 = getelementptr inbounds [16 x i8], ptr %40, i64 0, i64 %indvars.iv115
  %178 = load i8, ptr %177, align 1, !tbaa !19
  %179 = zext i8 %178 to i32
  %180 = add i32 %179, %1
  call void @_ZN5Gecko5Graph4swapEjj(ptr noundef nonnull align 8 dereferenceable(144) %174, i32 noundef %176, i32 noundef %180)
  %indvars.iv.next116 = add nuw nsw i64 %indvars.iv115, 1
  %181 = load i32, ptr %29, align 8, !tbaa !18
  %182 = zext i32 %181 to i64
  %183 = icmp ult i64 %indvars.iv.next116, %182
  br i1 %183, label %.lr.ph102, label %._crit_edge106

.lr.ph102:                                        ; preds = %173, %190
  %indvars.iv112 = phi i64 [ %indvars.iv.next113, %190 ], [ %indvars.iv, %173 ]
  %184 = getelementptr inbounds [16 x i8], ptr %40, i64 0, i64 %indvars.iv112
  %185 = load i8, ptr %184, align 1, !tbaa !19
  %186 = zext i8 %185 to i64
  %187 = icmp eq i64 %indvars.iv115, %186
  br i1 %187, label %188, label %190

188:                                              ; preds = %.lr.ph102
  %189 = load i8, ptr %177, align 1, !tbaa !19
  store i8 %189, ptr %184, align 1, !tbaa !19
  br label %190

190:                                              ; preds = %.lr.ph102, %188
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %191 = icmp ult i64 %indvars.iv.next113, %182
  br i1 %191, label %.lr.ph102, label %.loopexit, !llvm.loop !32
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE3maxEv() local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5Gecko5Graph10node_beginEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5Gecko5Graph8node_endEj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK5Gecko5Graph4costERKSt6vectorIjSaIjEEf(ptr noundef nonnull align 8 dereferenceable(144), ptr noundef nonnull align 8 dereferenceable(24), float noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Gecko5Graph4swapEjj(ptr noundef nonnull align 8 dereferenceable(144), i32 noundef, i32 noundef) local_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 uwtable "min-legal-vector-width"="64" "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 0}
!6 = !{!"_ZTSN5Gecko8SubgraphE", !7, i64 0, !10, i64 8, !7, i64 16, !11, i64 24, !8, i64 32, !8, i64 48, !8, i64 64, !7, i64 192, !8, i64 200, !8, i64 264}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSN5Gecko11WeightedSumE", !12, i64 0}
!12 = !{!"_ZTSN5Gecko13WeightedValueE", !13, i64 0, !13, i64 4}
!13 = !{!"float", !8, i64 0}
!14 = !{!10, !10, i64 0}
!15 = !{!16, !13, i64 0}
!16 = !{!"_ZTSN5Gecko4NodeE", !13, i64 0, !13, i64 4, !10, i64 8, !10, i64 12}
!17 = !{!16, !13, i64 4}
!18 = !{!6, !10, i64 8}
!19 = !{!8, !8, i64 0}
!20 = !{!6, !7, i64 192}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!13, !13, i64 0}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
!27 = !{!28, !13, i64 0}
!28 = !{!"_ZTSN5Gecko7SubnodeE", !13, i64 0, !11, i64 4}
!29 = distinct !{!29, !23}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !23}


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