; LLVM IR from tsotchke/quantum_geometric_tensor :: src/quantum_geometric/core (quantum_geometric_connection)

; 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.ComplexFloat = type { float, float }
%struct.quantum_geometric_connection_t = type { i32, i64, ptr, ptr, i8, i32 }
%struct.quantum_geometric_metric_t = type { i32, i64, ptr, i8, ptr, i32 }

; Function Attrs: nounwind allocsize(1)
declare noalias ptr @aligned_alloc(i64 noundef, i64 noundef) #0

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

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

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

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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) #4

; Function Attrs: nounwind uwtable
define dso_local i32 @geometric_compute_connection(ptr noundef %0, ptr noundef %1) #5 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca float, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca %struct.ComplexFloat, align 4
  %23 = alloca i64, align 8
  %24 = alloca %struct.ComplexFloat, align 4
  %25 = alloca %struct.ComplexFloat, align 4
  %26 = alloca %struct.ComplexFloat, align 4
  %27 = alloca %struct.ComplexFloat, align 4
  %28 = alloca %struct.ComplexFloat, align 4
  %29 = alloca %struct.ComplexFloat, align 4
  %30 = alloca %struct.ComplexFloat, align 4
  %31 = alloca %struct.ComplexFloat, align 4
  %32 = alloca %struct.ComplexFloat, align 4
  %33 = alloca %struct.ComplexFloat, align 4
  %34 = alloca %struct.ComplexFloat, align 4
  %35 = alloca %struct.ComplexFloat, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = icmp eq ptr %36, null
  br i1 %37, label %38, label %39

38:                                               ; preds = %2
  store i32 -1, ptr %3, align 4
  br label %283

39:                                               ; preds = %2
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = icmp eq ptr %40, null
  br i1 %41, label %42, label %43

42:                                               ; preds = %39
  store i32 -1, ptr %3, align 4
  br label %283

43:                                               ; preds = %39
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.quantum_geometric_connection_t, ptr %44, i32 0, i32 1
  %46 = load i64, ptr %45, align 8, !tbaa !9
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.quantum_geometric_metric_t, ptr %47, i32 0, i32 1
  %49 = load i64, ptr %48, align 8, !tbaa !14
  %50 = icmp ne i64 %46, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %43
  store i32 -1, ptr %3, align 4
  br label %283

52:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.quantum_geometric_metric_t, ptr %53, i32 0, i32 1
  %55 = load i64, ptr %54, align 8, !tbaa !14
  store i64 %55, ptr %6, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  store i64 32, ptr %7, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store float 0x3EB0C6F7A0000000, ptr %8, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %56 = load i64, ptr %6, align 8, !tbaa !16
  %57 = load i64, ptr %6, align 8, !tbaa !16
  %58 = mul i64 %56, %57
  %59 = mul i64 %58, 8
  %60 = call noalias align 32 ptr @aligned_alloc(i64 noundef 32, i64 noundef %59) #9
  store ptr %60, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %61 = load i64, ptr %6, align 8, !tbaa !16
  %62 = load i64, ptr %6, align 8, !tbaa !16
  %63 = mul i64 %61, %62
  %64 = mul i64 %63, 8
  %65 = call noalias align 32 ptr @aligned_alloc(i64 noundef 32, i64 noundef %64) #9
  store ptr %65, ptr %10, align 8, !tbaa !5
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = icmp ne ptr %66, null
  br i1 %67, label %68, label %71

68:                                               ; preds = %52
  %69 = load ptr, ptr %10, align 8, !tbaa !5
  %70 = icmp ne ptr %69, null
  br i1 %70, label %82, label %71

71:                                               ; preds = %68, %52
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = icmp ne ptr %72, null
  br i1 %73, label %74, label %76

74:                                               ; preds = %71
  %75 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %75) #8
  br label %76

76:                                               ; preds = %74, %71
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = icmp ne ptr %77, null
  br i1 %78, label %79, label %81

79:                                               ; preds = %76
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %80) #8
  br label %81

81:                                               ; preds = %79, %76
  store i32 -2, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %282

82:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.quantum_geometric_metric_t, ptr %84, i32 0, i32 2
  %86 = load ptr, ptr %85, align 8, !tbaa !19
  %87 = load i64, ptr %6, align 8, !tbaa !16
  %88 = call i32 @compute_inverse_metric(ptr noundef %83, ptr noundef %86, i64 noundef %87)
  store i32 %88, ptr %12, align 4, !tbaa !20
  %89 = load i32, ptr %12, align 4, !tbaa !20
  %90 = icmp ne i32 %89, 0
  br i1 %90, label %91, label %95

91:                                               ; preds = %82
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %92) #8
  %93 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %93) #8
  %94 = load i32, ptr %12, align 4, !tbaa !20
  store i32 %94, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %281

95:                                               ; preds = %82
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.quantum_geometric_connection_t, ptr %96, i32 0, i32 0
  %98 = load i32, ptr %97, align 8, !tbaa !21
  switch i32 %98, label %275 [
    i32 0, label %99
  ]

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 0, ptr %13, align 8, !tbaa !16
  br label %100

100:                                              ; preds = %271, %99
  %101 = load i64, ptr %13, align 8, !tbaa !16
  %102 = load i64, ptr %6, align 8, !tbaa !16
  %103 = icmp ult i64 %101, %102
  br i1 %103, label %105, label %104

104:                                              ; preds = %100
  store i32 3, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %274

105:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store i64 0, ptr %14, align 8, !tbaa !16
  br label %106

106:                                              ; preds = %267, %105
  %107 = load i64, ptr %14, align 8, !tbaa !16
  %108 = load i64, ptr %6, align 8, !tbaa !16
  %109 = icmp ult i64 %107, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %106
  store i32 6, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %270

111:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  store i64 0, ptr %15, align 8, !tbaa !16
  br label %112

112:                                              ; preds = %263, %111
  %113 = load i64, ptr %15, align 8, !tbaa !16
  %114 = load i64, ptr %6, align 8, !tbaa !16
  %115 = icmp ult i64 %113, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %112
  store i32 9, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %266

117:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %118 = load i64, ptr %13, align 8, !tbaa !16
  %119 = add i64 %118, 32
  %120 = load i64, ptr %6, align 8, !tbaa !16
  %121 = icmp ult i64 %119, %120
  br i1 %121, label %122, label %125

122:                                              ; preds = %117
  %123 = load i64, ptr %13, align 8, !tbaa !16
  %124 = add i64 %123, 32
  br label %127

125:                                              ; preds = %117
  %126 = load i64, ptr %6, align 8, !tbaa !16
  br label %127

127:                                              ; preds = %125, %122
  %128 = phi i64 [ %124, %122 ], [ %126, %125 ]
  store i64 %128, ptr %16, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %129 = load i64, ptr %14, align 8, !tbaa !16
  %130 = add i64 %129, 32
  %131 = load i64, ptr %6, align 8, !tbaa !16
  %132 = icmp ult i64 %130, %131
  br i1 %132, label %133, label %136

133:                                              ; preds = %127
  %134 = load i64, ptr %14, align 8, !tbaa !16
  %135 = add i64 %134, 32
  br label %138

136:                                              ; preds = %127
  %137 = load i64, ptr %6, align 8, !tbaa !16
  br label %138

138:                                              ; preds = %136, %133
  %139 = phi i64 [ %135, %133 ], [ %137, %136 ]
  store i64 %139, ptr %17, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %140 = load i64, ptr %15, align 8, !tbaa !16
  %141 = add i64 %140, 32
  %142 = load i64, ptr %6, align 8, !tbaa !16
  %143 = icmp ult i64 %141, %142
  br i1 %143, label %144, label %147

144:                                              ; preds = %138
  %145 = load i64, ptr %15, align 8, !tbaa !16
  %146 = add i64 %145, 32
  br label %149

147:                                              ; preds = %138
  %148 = load i64, ptr %6, align 8, !tbaa !16
  br label %149

149:                                              ; preds = %147, %144
  %150 = phi i64 [ %146, %144 ], [ %148, %147 ]
  store i64 %150, ptr %18, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %151 = load i64, ptr %13, align 8, !tbaa !16
  store i64 %151, ptr %19, align 8, !tbaa !16
  br label %152

152:                                              ; preds = %259, %149
  %153 = load i64, ptr %19, align 8, !tbaa !16
  %154 = load i64, ptr %16, align 8, !tbaa !16
  %155 = icmp ult i64 %153, %154
  br i1 %155, label %157, label %156

156:                                              ; preds = %152
  store i32 12, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %262

157:                                              ; preds = %152
  %158 = load ptr, ptr %9, align 8, !tbaa !5
  %159 = load ptr, ptr %5, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.quantum_geometric_metric_t, ptr %159, i32 0, i32 2
  %161 = load ptr, ptr %160, align 8, !tbaa !19
  %162 = load i64, ptr %6, align 8, !tbaa !16
  %163 = load i64, ptr %19, align 8, !tbaa !16
  call void @compute_metric_derivatives(ptr noundef %158, ptr noundef %161, i64 noundef %162, i64 noundef %163, float noundef 0x3EB0C6F7A0000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %164 = load i64, ptr %14, align 8, !tbaa !16
  store i64 %164, ptr %20, align 8, !tbaa !16
  br label %165

165:                                              ; preds = %255, %157
  %166 = load i64, ptr %20, align 8, !tbaa !16
  %167 = load i64, ptr %17, align 8, !tbaa !16
  %168 = icmp ult i64 %166, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %165
  store i32 15, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %258

170:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  %171 = load i64, ptr %15, align 8, !tbaa !16
  store i64 %171, ptr %21, align 8, !tbaa !16
  br label %172

172:                                              ; preds = %251, %170
  %173 = load i64, ptr %21, align 8, !tbaa !16
  %174 = load i64, ptr %18, align 8, !tbaa !16
  %175 = icmp ult i64 %173, %174
  br i1 %175, label %177, label %176

176:                                              ; preds = %172
  store i32 18, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %254

177:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.memset.p0.i64(ptr align 4 %22, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  store i64 0, ptr %23, align 8, !tbaa !16
  br label %178

178:                                              ; preds = %230, %177
  %179 = load i64, ptr %23, align 8, !tbaa !16
  %180 = load i64, ptr %6, align 8, !tbaa !16
  %181 = icmp ult i64 %179, %180
  br i1 %181, label %183, label %182

182:                                              ; preds = %178
  store i32 21, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %233

183:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = load i64, ptr %21, align 8, !tbaa !16
  %186 = load i64, ptr %6, align 8, !tbaa !16
  %187 = mul i64 %185, %186
  %188 = load i64, ptr %23, align 8, !tbaa !16
  %189 = add i64 %187, %188
  %190 = getelementptr inbounds %struct.ComplexFloat, ptr %184, i64 %189
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %190, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = load i64, ptr %20, align 8, !tbaa !16
  %193 = load i64, ptr %6, align 8, !tbaa !16
  %194 = mul i64 %192, %193
  %195 = load i64, ptr %23, align 8, !tbaa !16
  %196 = add i64 %194, %195
  %197 = getelementptr inbounds %struct.ComplexFloat, ptr %191, i64 %196
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %197, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %198 = load ptr, ptr %9, align 8, !tbaa !5
  %199 = load i64, ptr %19, align 8, !tbaa !16
  %200 = load i64, ptr %6, align 8, !tbaa !16
  %201 = mul i64 %199, %200
  %202 = load i64, ptr %23, align 8, !tbaa !16
  %203 = add i64 %201, %202
  %204 = getelementptr inbounds %struct.ComplexFloat, ptr %198, i64 %203
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %204, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.quantum_geometric_metric_t, ptr %205, i32 0, i32 2
  %207 = load ptr, ptr %206, align 8, !tbaa !19
  %208 = load i64, ptr %19, align 8, !tbaa !16
  %209 = load i64, ptr %6, align 8, !tbaa !16
  %210 = mul i64 %208, %209
  %211 = load i64, ptr %20, align 8, !tbaa !16
  %212 = add i64 %210, %211
  %213 = getelementptr inbounds %struct.ComplexFloat, ptr %207, i64 %212
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %213, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %214 = load <2 x float>, ptr %25, align 4
  %215 = load <2 x float>, ptr %26, align 4
  %216 = call <2 x float> @complex_float_add(<2 x float> %214, <2 x float> %215)
  store <2 x float> %216, ptr %31, align 4
  %217 = call <2 x float> @complex_float_create(float noundef -1.000000e+00, float noundef 0.000000e+00)
  store <2 x float> %217, ptr %33, align 4
  %218 = load <2 x float>, ptr %27, align 4
  %219 = load <2 x float>, ptr %33, align 4
  %220 = call <2 x float> @complex_float_multiply(<2 x float> %218, <2 x float> %219)
  store <2 x float> %220, ptr %32, align 4
  %221 = load <2 x float>, ptr %31, align 4
  %222 = load <2 x float>, ptr %32, align 4
  %223 = call <2 x float> @complex_float_add(<2 x float> %221, <2 x float> %222)
  store <2 x float> %223, ptr %30, align 4
  %224 = load <2 x float>, ptr %24, align 4
  %225 = load <2 x float>, ptr %30, align 4
  %226 = call <2 x float> @complex_float_multiply(<2 x float> %224, <2 x float> %225)
  store <2 x float> %226, ptr %29, align 4
  %227 = load <2 x float>, ptr %22, align 4
  %228 = load <2 x float>, ptr %29, align 4
  %229 = call <2 x float> @complex_float_add(<2 x float> %227, <2 x float> %228)
  store <2 x float> %229, ptr %28, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %230

230:                                              ; preds = %183
  %231 = load i64, ptr %23, align 8, !tbaa !16
  %232 = add i64 %231, 1
  store i64 %232, ptr %23, align 8, !tbaa !16
  br label %178, !llvm.loop !23

233:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %234 = call <2 x float> @complex_float_create(float noundef 5.000000e-01, float noundef 0.000000e+00)
  store <2 x float> %234, ptr %35, align 4
  %235 = load <2 x float>, ptr %35, align 4
  %236 = load <2 x float>, ptr %22, align 4
  %237 = call <2 x float> @complex_float_multiply(<2 x float> %235, <2 x float> %236)
  store <2 x float> %237, ptr %34, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.quantum_geometric_connection_t, ptr %238, i32 0, i32 2
  %240 = load ptr, ptr %239, align 8, !tbaa !25
  %241 = load i64, ptr %19, align 8, !tbaa !16
  %242 = load i64, ptr %6, align 8, !tbaa !16
  %243 = mul i64 %241, %242
  %244 = load i64, ptr %20, align 8, !tbaa !16
  %245 = add i64 %243, %244
  %246 = load i64, ptr %6, align 8, !tbaa !16
  %247 = mul i64 %245, %246
  %248 = load i64, ptr %21, align 8, !tbaa !16
  %249 = add i64 %247, %248
  %250 = getelementptr inbounds %struct.ComplexFloat, ptr %240, i64 %249
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %250, ptr align 4 %22, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %251

251:                                              ; preds = %233
  %252 = load i64, ptr %21, align 8, !tbaa !16
  %253 = add i64 %252, 1
  store i64 %253, ptr %21, align 8, !tbaa !16
  br label %172, !llvm.loop !26

254:                                              ; preds = %176
  br label %255

255:                                              ; preds = %254
  %256 = load i64, ptr %20, align 8, !tbaa !16
  %257 = add i64 %256, 1
  store i64 %257, ptr %20, align 8, !tbaa !16
  br label %165, !llvm.loop !27

258:                                              ; preds = %169
  br label %259

259:                                              ; preds = %258
  %260 = load i64, ptr %19, align 8, !tbaa !16
  %261 = add i64 %260, 1
  store i64 %261, ptr %19, align 8, !tbaa !16
  br label %152, !llvm.loop !28

262:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %263

263:                                              ; preds = %262
  %264 = load i64, ptr %15, align 8, !tbaa !16
  %265 = add i64 %264, 32
  store i64 %265, ptr %15, align 8, !tbaa !16
  br label %112, !llvm.loop !29

266:                                              ; preds = %116
  br label %267

267:                                              ; preds = %266
  %268 = load i64, ptr %14, align 8, !tbaa !16
  %269 = add i64 %268, 32
  store i64 %269, ptr %14, align 8, !tbaa !16
  br label %106, !llvm.loop !30

270:                                              ; preds = %110
  br label %271

271:                                              ; preds = %270
  %272 = load i64, ptr %13, align 8, !tbaa !16
  %273 = add i64 %272, 32
  store i64 %273, ptr %13, align 8, !tbaa !16
  br label %100, !llvm.loop !31

274:                                              ; preds = %104
  br label %278

275:                                              ; preds = %95
  %276 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %276) #8
  %277 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %277) #8
  store i32 -7, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %281

278:                                              ; preds = %274
  %279 = load ptr, ptr %9, align 8, !tbaa !5
  call void @free(ptr noundef %279) #8
  %280 = load ptr, ptr %10, align 8, !tbaa !5
  call void @free(ptr noundef %280) #8
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %281

281:                                              ; preds = %278, %275, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %282

282:                                              ; preds = %281, %81
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %283

283:                                              ; preds = %282, %51, %42, %38
  %284 = load i32, ptr %3, align 4
  ret i32 %284
}

; Function Attrs: nounwind uwtable
declare hidden i32 @compute_inverse_metric(ptr noundef, ptr noundef, i64 noundef) #5

; Function Attrs: nounwind uwtable
declare hidden void @compute_metric_derivatives(ptr noundef, ptr noundef, i64 noundef, i64 noundef, float noundef) #6

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_add(<2 x float>, <2 x float>) #7

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_multiply(<2 x float>, <2 x float>) #7

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_create(float noundef, float noundef) #7

attributes #0 = { nounwind allocsize(1) "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 = { nounwind "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 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind 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 #6 = { 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 #7 = { inlinehint nounwind 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 #8 = { nounwind }
attributes #9 = { nounwind allocsize(1) }

!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/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"quantum_geometric_connection_t", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !11, i64 36}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"quantum_geometric_metric_t", !11, i64 0, !12, i64 8, !6, i64 16, !13, i64 24, !6, i64 32, !11, i64 40}
!16 = !{!12, !12, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = !{!15, !6, i64 16}
!20 = !{!11, !11, i64 0}
!21 = !{!10, !11, i64 0}
!22 = !{i64 0, i64 4, !17, i64 4, i64 4, !17}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = !{!10, !6, i64 16}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}
!29 = distinct !{!29, !24}
!30 = distinct !{!30, !24}
!31 = distinct !{!31, !24}


; 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.ComplexFloat = type { float, float }

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized,aligned") allocsize(1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @aligned_alloc(i64 allocalign noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @geometric_compute_connection(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #2 {
  %3 = icmp eq ptr %0, null
  %4 = icmp eq ptr %1, null
  %or.cond119 = or i1 %3, %4
  br i1 %or.cond119, label %86, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load i64, ptr %8, align 8, !tbaa !13
  %.not = icmp eq i64 %7, %9
  br i1 %.not, label %10, label %86

10:                                               ; preds = %5
  %11 = shl i64 %7, 3
  %12 = mul i64 %11, %7
  %13 = tail call noalias align 32 ptr @aligned_alloc(i64 noundef 32, i64 noundef %12) #6
  %14 = tail call noalias align 32 ptr @aligned_alloc(i64 noundef 32, i64 noundef %12) #6
  %15 = icmp ne ptr %13, null
  %16 = icmp ne ptr %14, null
  %or.cond = and i1 %15, %16
  br i1 %or.cond, label %21, label %17

17:                                               ; preds = %10
  br i1 %15, label %18, label %19

18:                                               ; preds = %17
  tail call void @free(ptr noundef nonnull %13) #7
  br label %19

19:                                               ; preds = %18, %17
  br i1 %16, label %20, label %86

20:                                               ; preds = %19
  tail call void @free(ptr noundef nonnull %14) #7
  br label %86

21:                                               ; preds = %10
  %22 = getelementptr inbounds i8, ptr %1, i64 16
  %23 = load ptr, ptr %22, align 8, !tbaa !15
  %24 = tail call i32 @compute_inverse_metric(ptr noundef nonnull %14, ptr noundef %23, i64 noundef %7)
  %.not118 = icmp eq i32 %24, 0
  br i1 %.not118, label %26, label %25

25:                                               ; preds = %21
  tail call void @free(ptr noundef nonnull %13) #7
  tail call void @free(ptr noundef nonnull %14) #7
  br label %86

26:                                               ; preds = %21
  %27 = load i32, ptr %0, align 8, !tbaa !16
  %cond = icmp eq i32 %27, 0
  br i1 %cond, label %.preheader123, label %85

.preheader123:                                    ; preds = %26
  %.not162 = icmp eq i64 %7, 0
  br i1 %.not162, label %._crit_edge, label %.preheader122.lr.ph

.preheader122.lr.ph:                              ; preds = %.preheader123
  %28 = getelementptr inbounds i8, ptr %0, i64 16
  br label %.preheader122

.preheader122:                                    ; preds = %.preheader122.lr.ph, %.split158.us
  %.0103161 = phi i64 [ 0, %.preheader122.lr.ph ], [ %29, %.split158.us ]
  %29 = add i64 %.0103161, 32
  %30 = tail call i64 @llvm.umin.i64(i64 %29, i64 %7)
  %31 = icmp ult i64 %.0103161, %30
  br i1 %31, label %.preheader121.us, label %.split158.us

.preheader121.us:                                 ; preds = %.preheader122, %.split.us.us
  %.0104151.us = phi i64 [ %32, %.split.us.us ], [ 0, %.preheader122 ]
  %32 = add i64 %.0104151.us, 32
  %33 = tail call i64 @llvm.umin.i64(i64 %32, i64 %7)
  %34 = icmp ult i64 %.0104151.us, %33
  %.fr.us = freeze i1 %34
  br i1 %.fr.us, label %.lr.ph.us.us.us, label %.lr.ph.us.us153

.lr.ph.us.us153:                                  ; preds = %.preheader121.us, %..loopexit_crit_edge.split.us143.us
  %.0105141.us.us154 = phi i64 [ %39, %..loopexit_crit_edge.split.us143.us ], [ 0, %.preheader121.us ]
  br label %35

35:                                               ; preds = %35, %.lr.ph.us.us153
  %.0106132.us142.us = phi i64 [ %.0103161, %.lr.ph.us.us153 ], [ %37, %35 ]
  %36 = load ptr, ptr %22, align 8, !tbaa !15
  tail call void @compute_metric_derivatives(ptr noundef nonnull %13, ptr noundef %36, i64 noundef %7, i64 noundef %.0106132.us142.us, float noundef 0x3EB0C6F7A0000000)
  %37 = add nuw i64 %.0106132.us142.us, 1
  %38 = icmp ult i64 %37, %30
  br i1 %38, label %35, label %..loopexit_crit_edge.split.us143.us, !llvm.loop !17

..loopexit_crit_edge.split.us143.us:              ; preds = %35
  %39 = add i64 %.0105141.us.us154, 32
  %40 = icmp ult i64 %39, %7
  br i1 %40, label %.lr.ph.us.us153, label %.split.us.us, !llvm.loop !19

.split.us.us:                                     ; preds = %..loopexit_crit_edge.split.us143.us, %..loopexit_crit_edge.split.us.us.us.us
  %41 = icmp ult i64 %32, %7
  br i1 %41, label %.preheader121.us, label %.split158.us, !llvm.loop !20

.lr.ph.us.us.us:                                  ; preds = %.preheader121.us, %..loopexit_crit_edge.split.us.us.us.us
  %.0105141.us.us.us = phi i64 [ %42, %..loopexit_crit_edge.split.us.us.us.us ], [ 0, %.preheader121.us ]
  %42 = add i64 %.0105141.us.us.us, 32
  %43 = tail call i64 @llvm.umin.i64(i64 %42, i64 %7)
  %44 = icmp ult i64 %.0105141.us.us.us, %43
  %.fr139.us.us.us = freeze i1 %44
  br i1 %.fr139.us.us.us, label %.preheader120.lr.ph.us.us.us.us.us, label %.preheader120.lr.ph.us.us145.us.us

.preheader120.lr.ph.us.us145.us.us:               ; preds = %.lr.ph.us.us.us, %.preheader120.lr.ph.us.us145.us.us
  %.0106132.us.us146.us.us = phi i64 [ %46, %.preheader120.lr.ph.us.us145.us.us ], [ %.0103161, %.lr.ph.us.us.us ]
  %45 = load ptr, ptr %22, align 8, !tbaa !15
  tail call void @compute_metric_derivatives(ptr noundef nonnull %13, ptr noundef %45, i64 noundef %7, i64 noundef %.0106132.us.us146.us.us, float noundef 0x3EB0C6F7A0000000)
  %46 = add nuw i64 %.0106132.us.us146.us.us, 1
  %47 = icmp ult i64 %46, %30
  br i1 %47, label %.preheader120.lr.ph.us.us145.us.us, label %..loopexit_crit_edge.split.us.us.us.us, !llvm.loop !17

..loopexit_crit_edge.split.us.us.us.us:           ; preds = %.preheader120.lr.ph.us.us145.us.us, %._crit_edge129.split.us.us.us.us.us.us
  %48 = icmp ult i64 %42, %7
  br i1 %48, label %.lr.ph.us.us.us, label %.split.us.us, !llvm.loop !19

.preheader120.lr.ph.us.us.us.us.us:               ; preds = %.lr.ph.us.us.us, %._crit_edge129.split.us.us.us.us.us.us
  %.0106132.us.us.us.us.us = phi i64 [ %82, %._crit_edge129.split.us.us.us.us.us.us ], [ %.0103161, %.lr.ph.us.us.us ]
  %49 = load ptr, ptr %22, align 8, !tbaa !15
  tail call void @compute_metric_derivatives(ptr noundef nonnull %13, ptr noundef %49, i64 noundef %7, i64 noundef %.0106132.us.us.us.us.us, float noundef 0x3EB0C6F7A0000000)
  %50 = mul i64 %.0106132.us.us.us.us.us, %7
  %51 = getelementptr %struct.ComplexFloat, ptr %13, i64 %50
  br label %.preheader120.us.us.us.us.us.us

.preheader120.us.us.us.us.us.us:                  ; preds = %._crit_edge.us.us.us.us.us.us, %.preheader120.lr.ph.us.us.us.us.us
  %.0107128.us.us.us.us.us.us = phi i64 [ %.0104151.us, %.preheader120.lr.ph.us.us.us.us.us ], [ %80, %._crit_edge.us.us.us.us.us.us ]
  %52 = mul i64 %.0107128.us.us.us.us.us.us, %7
  %53 = getelementptr %struct.ComplexFloat, ptr %13, i64 %52
  %54 = add i64 %.0107128.us.us.us.us.us.us, %50
  %55 = mul i64 %54, %7
  br label %.preheader.us.us.us.us.us.us

56:                                               ; preds = %64
  %57 = tail call <2 x float> @complex_float_create(float noundef 5.000000e-01, float noundef 0.000000e+00)
  %58 = tail call <2 x float> @complex_float_multiply(<2 x float> %57, <2 x float> %76)
  %59 = load ptr, ptr %28, align 8, !tbaa !21
  %60 = getelementptr %struct.ComplexFloat, ptr %59, i64 %55
  %61 = getelementptr %struct.ComplexFloat, ptr %60, i64 %.0108126.us.us.us.us.us.us
  store <2 x float> %58, ptr %61, align 4
  %62 = add nuw i64 %.0108126.us.us.us.us.us.us, 1
  %63 = icmp ult i64 %62, %43
  br i1 %63, label %.preheader.us.us.us.us.us.us, label %._crit_edge.us.us.us.us.us.us, !llvm.loop !22

64:                                               ; preds = %.preheader.us.us.us.us.us.us, %64
  %.sroa.017.6125.us.us.us.us.us.us = phi <2 x float> [ zeroinitializer, %.preheader.us.us.us.us.us.us ], [ %76, %64 ]
  %.0109124.us.us.us.us.us.us = phi i64 [ 0, %.preheader.us.us.us.us.us.us ], [ %77, %64 ]
  %65 = getelementptr %struct.ComplexFloat, ptr %79, i64 %.0109124.us.us.us.us.us.us
  %.sroa.012.0.copyload.us.us.us.us.us.us = load <2 x float>, ptr %65, align 8
  %66 = getelementptr %struct.ComplexFloat, ptr %53, i64 %.0109124.us.us.us.us.us.us
  %.sroa.011.0.copyload.us.us.us.us.us.us = load <2 x float>, ptr %66, align 8
  %67 = getelementptr %struct.ComplexFloat, ptr %51, i64 %.0109124.us.us.us.us.us.us
  %.sroa.010.0.copyload.us.us.us.us.us.us = load <2 x float>, ptr %67, align 8
  %68 = load ptr, ptr %22, align 8, !tbaa !15
  %69 = getelementptr %struct.ComplexFloat, ptr %68, i64 %50
  %70 = getelementptr %struct.ComplexFloat, ptr %69, i64 %.0107128.us.us.us.us.us.us
  %.sroa.09.0.copyload.us.us.us.us.us.us = load <2 x float>, ptr %70, align 4
  %71 = tail call <2 x float> @complex_float_add(<2 x float> %.sroa.011.0.copyload.us.us.us.us.us.us, <2 x float> %.sroa.010.0.copyload.us.us.us.us.us.us)
  %72 = tail call <2 x float> @complex_float_create(float noundef -1.000000e+00, float noundef 0.000000e+00)
  %73 = tail call <2 x float> @complex_float_multiply(<2 x float> %.sroa.09.0.copyload.us.us.us.us.us.us, <2 x float> %72)
  %74 = tail call <2 x float> @complex_float_add(<2 x float> %71, <2 x float> %73)
  %75 = tail call <2 x float> @complex_float_multiply(<2 x float> %.sroa.012.0.copyload.us.us.us.us.us.us, <2 x float> %74)
  %76 = tail call <2 x float> @complex_float_add(<2 x float> %.sroa.017.6125.us.us.us.us.us.us, <2 x float> %75)
  %77 = add nuw i64 %.0109124.us.us.us.us.us.us, 1
  %exitcond.not = icmp eq i64 %77, %7
  br i1 %exitcond.not, label %56, label %64, !llvm.loop !23

.preheader.us.us.us.us.us.us:                     ; preds = %56, %.preheader120.us.us.us.us.us.us
  %.0108126.us.us.us.us.us.us = phi i64 [ %.0105141.us.us.us, %.preheader120.us.us.us.us.us.us ], [ %62, %56 ]
  %78 = mul i64 %.0108126.us.us.us.us.us.us, %7
  %79 = getelementptr %struct.ComplexFloat, ptr %14, i64 %78
  br label %64

._crit_edge.us.us.us.us.us.us:                    ; preds = %56
  %80 = add nuw i64 %.0107128.us.us.us.us.us.us, 1
  %81 = icmp ult i64 %80, %33
  br i1 %81, label %.preheader120.us.us.us.us.us.us, label %._crit_edge129.split.us.us.us.us.us.us, !llvm.loop !24

._crit_edge129.split.us.us.us.us.us.us:           ; preds = %._crit_edge.us.us.us.us.us.us
  %82 = add nuw i64 %.0106132.us.us.us.us.us, 1
  %83 = icmp ult i64 %82, %30
  br i1 %83, label %.preheader120.lr.ph.us.us.us.us.us, label %..loopexit_crit_edge.split.us.us.us.us, !llvm.loop !17

._crit_edge:                                      ; preds = %.split158.us, %.preheader123
  tail call void @free(ptr noundef %13) #7
  tail call void @free(ptr noundef %14) #7
  br label %86

.split158.us:                                     ; preds = %.split.us.us, %.preheader122
  %84 = icmp ult i64 %29, %7
  br i1 %84, label %.preheader122, label %._crit_edge, !llvm.loop !25

85:                                               ; preds = %26
  tail call void @free(ptr noundef nonnull %13) #7
  tail call void @free(ptr noundef nonnull %14) #7
  br label %86

86:                                               ; preds = %20, %19, %._crit_edge, %85, %25, %5, %2
  %.2 = phi i32 [ -1, %2 ], [ -1, %5 ], [ -2, %20 ], [ -2, %19 ], [ %24, %25 ], [ 0, %._crit_edge ], [ -7, %85 ]
  ret i32 %.2
}

; Function Attrs: nounwind uwtable
declare hidden i32 @compute_inverse_metric(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden void @compute_metric_derivatives(ptr noundef, ptr noundef, i64 noundef, i64 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_add(<2 x float>, <2 x float>) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_multiply(<2 x float>, <2 x float>) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_create(float noundef, float noundef) local_unnamed_addr #4

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

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized,aligned") allocsize(1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind 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 = { 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 nounwind 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind allocsize(1) }
attributes #7 = { 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, !10, i64 8}
!6 = !{!"quantum_geometric_connection_t", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_Bool", !8, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"quantum_geometric_metric_t", !7, i64 0, !10, i64 8, !11, i64 16, !12, i64 24, !11, i64 32, !7, i64 40}
!15 = !{!14, !11, i64 16}
!16 = !{!6, !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = !{!6, !11, i64 16}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}


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