; LLVM IR from tsotchke/quantum_geometric_tensor :: tests (test_quantum_geometric_tensor_init)

; 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.tensor_test_config_t = type { ptr, i64, i32, ptr }
%struct.quantum_geometric_tensor_t = type { i32, ptr, i64, ptr, ptr, i8, i8, i8, i32, i64, i64 }

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [110 x i8], align 1
@__PRETTY_FUNCTION__.test_tensor_config = external hidden unnamed_addr constant [54 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @test_tensor_config(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i8, align 1
  %11 = alloca float, align 4
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %14 = load ptr, ptr %2, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.tensor_test_config_t, ptr %14, i32 0, i32 3
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %18 = call double @get_time_ms()
  store double %18, ptr %5, align 8, !tbaa !13
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.tensor_test_config_t, ptr %19, i32 0, i32 1
  %21 = load i64, ptr %20, align 8, !tbaa !15
  %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %21)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  store i64 0, ptr %6, align 8, !tbaa !16
  br label %23

23:                                               ; preds = %46, %1
  %24 = load i64, ptr %6, align 8, !tbaa !16
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.tensor_test_config_t, ptr %25, i32 0, i32 1
  %27 = load i64, ptr %26, align 8, !tbaa !15
  %28 = icmp ult i64 %24, %27
  br i1 %28, label %30, label %29

29:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %49

30:                                               ; preds = %23
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.tensor_test_config_t, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !17
  %34 = load i64, ptr %6, align 8, !tbaa !16
  %35 = getelementptr inbounds i64, ptr %33, i64 %34
  %36 = load i64, ptr %35, align 8, !tbaa !16
  %37 = load i64, ptr %6, align 8, !tbaa !16
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.tensor_test_config_t, ptr %38, i32 0, i32 1
  %40 = load i64, ptr %39, align 8, !tbaa !15
  %41 = sub i64 %40, 1
  %42 = icmp ult i64 %37, %41
  %43 = zext i1 %42 to i64
  %44 = select i1 %42, ptr @.str.3, ptr @.str.4
  %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %36, ptr noundef %44)
  br label %46

46:                                               ; preds = %30
  %47 = load i64, ptr %6, align 8, !tbaa !16
  %48 = add i64 %47, 1
  store i64 %48, ptr %6, align 8, !tbaa !16
  br label %23, !llvm.loop !18

49:                                               ; preds = %29
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.tensor_test_config_t, ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 8, !tbaa !20
  %53 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %52)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store ptr null, ptr %7, align 8, !tbaa !5
  %54 = call double @get_time_ms()
  store double %54, ptr %3, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.tensor_test_config_t, ptr %55, i32 0, i32 2
  %57 = load i32, ptr %56, align 8, !tbaa !20
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.tensor_test_config_t, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !17
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.tensor_test_config_t, ptr %61, i32 0, i32 1
  %63 = load i64, ptr %62, align 8, !tbaa !15
  %64 = call i32 @geometric_tensor_create(ptr noundef %7, i32 noundef %57, ptr noundef %60, i64 noundef %63)
  store i32 %64, ptr %8, align 4, !tbaa !21
  %65 = call double @get_time_ms()
  store double %65, ptr %4, align 8, !tbaa !13
  %66 = load double, ptr %4, align 8, !tbaa !13
  %67 = load double, ptr %3, align 8, !tbaa !13
  %68 = fsub double %66, %67
  %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %68)
  %70 = load i32, ptr %8, align 4, !tbaa !21
  %71 = icmp eq i32 %70, 0
  br i1 %71, label %72, label %73

72:                                               ; preds = %49
  br label %74

73:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 44, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

74:                                               ; preds = %72
  %75 = load ptr, ptr %7, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %78

77:                                               ; preds = %74
  br label %79

78:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.9, ptr noundef @.str.8, i32 noundef 45, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

79:                                               ; preds = %77
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.quantum_geometric_tensor_t, ptr %80, i32 0, i32 2
  %82 = load i64, ptr %81, align 8, !tbaa !22
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.tensor_test_config_t, ptr %83, i32 0, i32 1
  %85 = load i64, ptr %84, align 8, !tbaa !15
  %86 = icmp eq i64 %82, %85
  br i1 %86, label %87, label %88

87:                                               ; preds = %79
  br label %89

88:                                               ; preds = %79
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.8, i32 noundef 46, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 0, ptr %9, align 8, !tbaa !16
  br label %90

90:                                               ; preds = %114, %89
  %91 = load i64, ptr %9, align 8, !tbaa !16
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.tensor_test_config_t, ptr %92, i32 0, i32 1
  %94 = load i64, ptr %93, align 8, !tbaa !15
  %95 = icmp ult i64 %91, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %117

97:                                               ; preds = %90
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.quantum_geometric_tensor_t, ptr %98, i32 0, i32 1
  %100 = load ptr, ptr %99, align 8, !tbaa !25
  %101 = load i64, ptr %9, align 8, !tbaa !16
  %102 = getelementptr inbounds i64, ptr %100, i64 %101
  %103 = load i64, ptr %102, align 8, !tbaa !16
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.tensor_test_config_t, ptr %104, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8, !tbaa !17
  %107 = load i64, ptr %9, align 8, !tbaa !16
  %108 = getelementptr inbounds i64, ptr %106, i64 %107
  %109 = load i64, ptr %108, align 8, !tbaa !16
  %110 = icmp eq i64 %103, %109
  br i1 %110, label %111, label %112

111:                                              ; preds = %97
  br label %113

112:                                              ; preds = %97
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.8, i32 noundef 48, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

113:                                              ; preds = %111
  br label %114

114:                                              ; preds = %113
  %115 = load i64, ptr %9, align 8, !tbaa !16
  %116 = add i64 %115, 1
  store i64 %116, ptr %9, align 8, !tbaa !16
  br label %90, !llvm.loop !26

117:                                              ; preds = %96
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.quantum_geometric_tensor_t, ptr %118, i32 0, i32 3
  %120 = load ptr, ptr %119, align 8, !tbaa !27
  %121 = icmp ne ptr %120, null
  br i1 %121, label %122, label %123

122:                                              ; preds = %117
  br label %124

123:                                              ; preds = %117
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.8, i32 noundef 50, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

124:                                              ; preds = %122
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.quantum_geometric_tensor_t, ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 8, !tbaa !28
  %128 = load ptr, ptr %2, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.tensor_test_config_t, ptr %128, i32 0, i32 2
  %130 = load i32, ptr %129, align 8, !tbaa !20
  %131 = icmp eq i32 %127, %130
  br i1 %131, label %132, label %133

132:                                              ; preds = %124
  br label %134

133:                                              ; preds = %124
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.8, i32 noundef 51, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

134:                                              ; preds = %132
  %135 = call double @get_time_ms()
  store double %135, ptr %3, align 8, !tbaa !13
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = call i32 @geometric_tensor_initialize_random(ptr noundef %136)
  store i32 %137, ptr %8, align 4, !tbaa !21
  %138 = call double @get_time_ms()
  store double %138, ptr %4, align 8, !tbaa !13
  %139 = load double, ptr %4, align 8, !tbaa !13
  %140 = load double, ptr %3, align 8, !tbaa !13
  %141 = fsub double %139, %140
  %142 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %141)
  %143 = load i32, ptr %8, align 4, !tbaa !21
  %144 = icmp eq i32 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %134
  br label %147

146:                                              ; preds = %134
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 58, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

147:                                              ; preds = %145
  %148 = call double @get_time_ms()
  store double %148, ptr %3, align 8, !tbaa !13
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = call i32 @geometric_tensor_validate(ptr noundef %149)
  store i32 %150, ptr %8, align 4, !tbaa !21
  %151 = call double @get_time_ms()
  store double %151, ptr %4, align 8, !tbaa !13
  %152 = load double, ptr %4, align 8, !tbaa !13
  %153 = load double, ptr %3, align 8, !tbaa !13
  %154 = fsub double %152, %153
  %155 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %154)
  %156 = load i32, ptr %8, align 4, !tbaa !21
  %157 = icmp eq i32 %156, 0
  br i1 %157, label %158, label %159

158:                                              ; preds = %147
  br label %160

159:                                              ; preds = %147
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 65, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

160:                                              ; preds = %158
  %161 = load ptr, ptr %2, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.tensor_test_config_t, ptr %161, i32 0, i32 2
  %163 = load i32, ptr %162, align 8, !tbaa !20
  %164 = icmp eq i32 %163, 6
  br i1 %164, label %165, label %185

165:                                              ; preds = %160
  %166 = load ptr, ptr %2, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.tensor_test_config_t, ptr %166, i32 0, i32 1
  %168 = load i64, ptr %167, align 8, !tbaa !15
  %169 = icmp eq i64 %168, 2
  br i1 %169, label %170, label %185

170:                                              ; preds = %165
  %171 = call double @get_time_ms()
  store double %171, ptr %3, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #4
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = call zeroext i1 @geometric_tensor_is_hermitian(ptr noundef %172)
  %174 = zext i1 %173 to i8
  store i8 %174, ptr %10, align 1, !tbaa !29
  %175 = call double @get_time_ms()
  store double %175, ptr %4, align 8, !tbaa !13
  %176 = load double, ptr %4, align 8, !tbaa !13
  %177 = load double, ptr %3, align 8, !tbaa !13
  %178 = fsub double %176, %177
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.16, double noundef %178)
  %180 = load i8, ptr %10, align 1, !tbaa !29, !range !30, !noundef !31
  %181 = trunc i8 %180 to i1
  br i1 %181, label %182, label %183

182:                                              ; preds = %170
  br label %184

183:                                              ; preds = %170
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.8, i32 noundef 73, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

184:                                              ; preds = %182
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #4
  br label %185

185:                                              ; preds = %184, %165, %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %186 = call double @get_time_ms()
  store double %186, ptr %3, align 8, !tbaa !13
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = call i32 @geometric_tensor_norm(ptr noundef %11, ptr noundef %187)
  store i32 %188, ptr %8, align 4, !tbaa !21
  %189 = call double @get_time_ms()
  store double %189, ptr %4, align 8, !tbaa !13
  %190 = load double, ptr %4, align 8, !tbaa !13
  %191 = load double, ptr %3, align 8, !tbaa !13
  %192 = fsub double %190, %191
  %193 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef %192)
  %194 = load i32, ptr %8, align 4, !tbaa !21
  %195 = icmp eq i32 %194, 0
  br i1 %195, label %196, label %197

196:                                              ; preds = %185
  br label %198

197:                                              ; preds = %185
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 82, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

198:                                              ; preds = %196
  %199 = load float, ptr %11, align 4, !tbaa !32
  %200 = fpext float %199 to double
  %201 = call i32 (ptr, ...) @printf(ptr noundef @.str.19, double noundef %200)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  store ptr null, ptr %12, align 8, !tbaa !5
  %202 = call double @get_time_ms()
  store double %202, ptr %3, align 8, !tbaa !13
  %203 = load ptr, ptr %2, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.tensor_test_config_t, ptr %203, i32 0, i32 2
  %205 = load i32, ptr %204, align 8, !tbaa !20
  %206 = load ptr, ptr %2, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.tensor_test_config_t, ptr %206, i32 0, i32 0
  %208 = load ptr, ptr %207, align 8, !tbaa !17
  %209 = load ptr, ptr %2, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.tensor_test_config_t, ptr %209, i32 0, i32 1
  %211 = load i64, ptr %210, align 8, !tbaa !15
  %212 = call i32 @geometric_tensor_create(ptr noundef %12, i32 noundef %205, ptr noundef %208, i64 noundef %211)
  store i32 %212, ptr %8, align 4, !tbaa !21
  %213 = call double @get_time_ms()
  store double %213, ptr %4, align 8, !tbaa !13
  %214 = load double, ptr %4, align 8, !tbaa !13
  %215 = load double, ptr %3, align 8, !tbaa !13
  %216 = fsub double %214, %215
  %217 = call i32 (ptr, ...) @printf(ptr noundef @.str.20, double noundef %216)
  %218 = load i32, ptr %8, align 4, !tbaa !21
  %219 = icmp eq i32 %218, 0
  br i1 %219, label %220, label %221

220:                                              ; preds = %198
  br label %222

221:                                              ; preds = %198
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 91, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

222:                                              ; preds = %220
  %223 = call double @get_time_ms()
  store double %223, ptr %3, align 8, !tbaa !13
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = call i32 @geometric_tensor_conjugate(ptr noundef %224, ptr noundef %225)
  store i32 %226, ptr %8, align 4, !tbaa !21
  %227 = call double @get_time_ms()
  store double %227, ptr %4, align 8, !tbaa !13
  %228 = load double, ptr %4, align 8, !tbaa !13
  %229 = load double, ptr %3, align 8, !tbaa !13
  %230 = fsub double %228, %229
  %231 = call i32 (ptr, ...) @printf(ptr noundef @.str.21, double noundef %230)
  %232 = load i32, ptr %8, align 4, !tbaa !21
  %233 = icmp eq i32 %232, 0
  br i1 %233, label %234, label %235

234:                                              ; preds = %222
  br label %236

235:                                              ; preds = %222
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 98, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

236:                                              ; preds = %234
  %237 = call double @get_time_ms()
  store double %237, ptr %3, align 8, !tbaa !13
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = call i32 @geometric_tensor_validate(ptr noundef %238)
  store i32 %239, ptr %8, align 4, !tbaa !21
  %240 = call double @get_time_ms()
  store double %240, ptr %4, align 8, !tbaa !13
  %241 = load double, ptr %4, align 8, !tbaa !13
  %242 = load double, ptr %3, align 8, !tbaa !13
  %243 = fsub double %241, %242
  %244 = call i32 (ptr, ...) @printf(ptr noundef @.str.22, double noundef %243)
  %245 = load i32, ptr %8, align 4, !tbaa !21
  %246 = icmp eq i32 %245, 0
  br i1 %246, label %247, label %248

247:                                              ; preds = %236
  br label %249

248:                                              ; preds = %236
  call void @__assert_fail(ptr noundef @.str.7, ptr noundef @.str.8, i32 noundef 105, ptr noundef @__PRETTY_FUNCTION__.test_tensor_config) #5
  unreachable

249:                                              ; preds = %247
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  call void @geometric_tensor_destroy(ptr noundef %250)
  %251 = load ptr, ptr %12, align 8, !tbaa !5
  call void @geometric_tensor_destroy(ptr noundef %251)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %252 = call double @get_time_ms()
  store double %252, ptr %13, align 8, !tbaa !13
  %253 = load double, ptr %13, align 8, !tbaa !13
  %254 = load double, ptr %5, align 8, !tbaa !13
  %255 = fsub double %253, %254
  %256 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, double noundef %255)
  %257 = load ptr, ptr %2, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.tensor_test_config_t, ptr %257, i32 0, i32 3
  %259 = load ptr, ptr %258, align 8, !tbaa !9
  %260 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, ptr noundef %259)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

declare i32 @printf(ptr noundef, ...) #1

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

; Function Attrs: nounwind uwtable
declare hidden double @get_time_ms() #0

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

declare i32 @geometric_tensor_create(ptr noundef, i32 noundef, ptr noundef, i64 noundef) #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare i32 @geometric_tensor_initialize_random(ptr noundef) #1

declare i32 @geometric_tensor_validate(ptr noundef) #1

declare zeroext i1 @geometric_tensor_is_hermitian(ptr noundef) #1

declare i32 @geometric_tensor_norm(ptr noundef, ptr noundef) #1

declare i32 @geometric_tensor_conjugate(ptr noundef, ptr noundef) #1

declare void @geometric_tensor_destroy(ptr noundef) #1

attributes #0 = { 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 #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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { noreturn 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 #4 = { nounwind }
attributes #5 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !6, i64 24}
!10 = !{!"", !6, i64 0, !11, i64 8, !12, i64 16, !6, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = !{!10, !11, i64 8}
!16 = !{!11, !11, i64 0}
!17 = !{!10, !6, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!10, !12, i64 16}
!21 = !{!12, !12, i64 0}
!22 = !{!23, !11, i64 16}
!23 = !{!"quantum_geometric_tensor_t", !12, i64 0, !6, i64 8, !11, i64 16, !6, i64 24, !6, i64 32, !24, i64 40, !24, i64 41, !24, i64 42, !12, i64 44, !11, i64 48, !11, i64 56}
!24 = !{!"_Bool", !7, i64 0}
!25 = !{!23, !6, i64 8}
!26 = distinct !{!26, !19}
!27 = !{!23, !6, i64 24}
!28 = !{!23, !12, i64 0}
!29 = !{!24, !24, i64 0}
!30 = !{i8 0, i8 2}
!31 = !{}
!32 = !{!33, !33, i64 0}
!33 = !{!"float", !7, i64 0}


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

@.str = external hidden unnamed_addr constant [23 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [110 x i8], align 1
@__PRETTY_FUNCTION__.test_tensor_config = external hidden unnamed_addr constant [54 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [28 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @test_tensor_config(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca ptr, align 8
  %5 = getelementptr inbounds i8, ptr %0, i64 24
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, ptr noundef %6)
  %8 = tail call double @get_time_ms()
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i64, ptr %9, align 8, !tbaa !12
  %11 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %10)
  %12 = load i64, ptr %9, align 8, !tbaa !12
  %.not60 = icmp eq i64 %12, 0
  br i1 %.not60, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %1
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  %14 = load i32, ptr %13, align 8, !tbaa !13
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, i32 noundef %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  store ptr null, ptr %2, align 8, !tbaa !14
  %16 = tail call double @get_time_ms()
  %17 = load i32, ptr %13, align 8, !tbaa !13
  %18 = load ptr, ptr %0, align 8, !tbaa !15
  %19 = load i64, ptr %9, align 8, !tbaa !12
  %20 = call i32 @geometric_tensor_create(ptr noundef nonnull %2, i32 noundef %17, ptr noundef %18, i64 noundef %19) #5
  %21 = call double @get_time_ms()
  %22 = fsub double %21, %16
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, double noundef %22)
  %24 = icmp eq i32 %20, 0
  br i1 %24, label %37, label %36

.lr.ph:                                           ; preds = %1, %.lr.ph
  %25 = phi i64 [ %34, %.lr.ph ], [ %12, %1 ]
  %.05256 = phi i64 [ %33, %.lr.ph ], [ 0, %1 ]
  %26 = load ptr, ptr %0, align 8, !tbaa !15
  %27 = getelementptr inbounds i64, ptr %26, i64 %.05256
  %28 = load i64, ptr %27, align 8, !tbaa !16
  %29 = add i64 %25, -1
  %30 = icmp ult i64 %.05256, %29
  %31 = select i1 %30, ptr @.str.3, ptr @.str.4
  %32 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %28, ptr noundef nonnull %31)
  %33 = add nuw i64 %.05256, 1
  %34 = load i64, ptr %9, align 8, !tbaa !12
  %35 = icmp ult i64 %33, %34
  br i1 %35, label %.lr.ph, label %._crit_edge, !llvm.loop !17

36:                                               ; preds = %._crit_edge
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 44, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

37:                                               ; preds = %._crit_edge
  %38 = load ptr, ptr %2, align 8, !tbaa !14
  %.not = icmp eq ptr %38, null
  br i1 %.not, label %39, label %40

39:                                               ; preds = %37
  call void @__assert_fail(ptr noundef nonnull @.str.9, ptr noundef nonnull @.str.8, i32 noundef 45, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

40:                                               ; preds = %37
  %41 = getelementptr inbounds i8, ptr %38, i64 16
  %42 = load i64, ptr %41, align 8, !tbaa !19
  %43 = load i64, ptr %9, align 8, !tbaa !12
  %44 = icmp eq i64 %42, %43
  br i1 %44, label %.preheader, label %48

.preheader:                                       ; preds = %40
  %.not61 = icmp eq i64 %42, 0
  br i1 %.not61, label %._crit_edge59, label %.lr.ph58

.lr.ph58:                                         ; preds = %.preheader
  %45 = getelementptr inbounds i8, ptr %38, i64 8
  %46 = load ptr, ptr %45, align 8, !tbaa !22
  %47 = load ptr, ptr %0, align 8, !tbaa !15
  br label %53

48:                                               ; preds = %40
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.8, i32 noundef 46, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

49:                                               ; preds = %53
  %50 = add nuw i64 %.057, 1
  %exitcond.not = icmp eq i64 %50, %42
  br i1 %exitcond.not, label %._crit_edge59, label %53, !llvm.loop !23

._crit_edge59:                                    ; preds = %49, %.preheader
  %51 = getelementptr inbounds i8, ptr %38, i64 24
  %52 = load ptr, ptr %51, align 8, !tbaa !24
  %.not55 = icmp eq ptr %52, null
  br i1 %.not55, label %60, label %61

53:                                               ; preds = %.lr.ph58, %49
  %.057 = phi i64 [ 0, %.lr.ph58 ], [ %50, %49 ]
  %54 = getelementptr inbounds i64, ptr %46, i64 %.057
  %55 = load i64, ptr %54, align 8, !tbaa !16
  %56 = getelementptr inbounds i64, ptr %47, i64 %.057
  %57 = load i64, ptr %56, align 8, !tbaa !16
  %58 = icmp eq i64 %55, %57
  br i1 %58, label %49, label %59

59:                                               ; preds = %53
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.8, i32 noundef 48, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

60:                                               ; preds = %._crit_edge59
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.8, i32 noundef 50, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

61:                                               ; preds = %._crit_edge59
  %62 = load i32, ptr %38, align 8, !tbaa !25
  %63 = load i32, ptr %13, align 8, !tbaa !13
  %64 = icmp eq i32 %62, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %61
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.8, i32 noundef 51, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

66:                                               ; preds = %61
  %67 = call double @get_time_ms()
  %68 = load ptr, ptr %2, align 8, !tbaa !14
  %69 = call i32 @geometric_tensor_initialize_random(ptr noundef %68) #5
  %70 = call double @get_time_ms()
  %71 = fsub double %70, %67
  %72 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %71)
  %73 = icmp eq i32 %69, 0
  br i1 %73, label %75, label %74

74:                                               ; preds = %66
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 58, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

75:                                               ; preds = %66
  %76 = call double @get_time_ms()
  %77 = load ptr, ptr %2, align 8, !tbaa !14
  %78 = call i32 @geometric_tensor_validate(ptr noundef %77) #5
  %79 = call double @get_time_ms()
  %80 = fsub double %79, %76
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %80)
  %82 = icmp eq i32 %78, 0
  br i1 %82, label %84, label %83

83:                                               ; preds = %75
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 65, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

84:                                               ; preds = %75
  %85 = load i32, ptr %13, align 8, !tbaa !13
  %86 = icmp eq i32 %85, 6
  br i1 %86, label %87, label %98

87:                                               ; preds = %84
  %88 = load i64, ptr %9, align 8, !tbaa !12
  %89 = icmp eq i64 %88, 2
  br i1 %89, label %90, label %98

90:                                               ; preds = %87
  %91 = call double @get_time_ms()
  %92 = load ptr, ptr %2, align 8, !tbaa !14
  %93 = call zeroext i1 @geometric_tensor_is_hermitian(ptr noundef %92) #5
  %94 = call double @get_time_ms()
  %95 = fsub double %94, %91
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16, double noundef %95)
  br i1 %93, label %98, label %97

97:                                               ; preds = %90
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.8, i32 noundef 73, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

98:                                               ; preds = %90, %87, %84
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %99 = call double @get_time_ms()
  %100 = load ptr, ptr %2, align 8, !tbaa !14
  %101 = call i32 @geometric_tensor_norm(ptr noundef nonnull %3, ptr noundef %100) #5
  %102 = call double @get_time_ms()
  %103 = fsub double %102, %99
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef %103)
  %105 = icmp eq i32 %101, 0
  br i1 %105, label %107, label %106

106:                                              ; preds = %98
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 82, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

107:                                              ; preds = %98
  %108 = load float, ptr %3, align 4, !tbaa !26
  %109 = fpext float %108 to double
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.19, double noundef %109)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  store ptr null, ptr %4, align 8, !tbaa !14
  %111 = call double @get_time_ms()
  %112 = load i32, ptr %13, align 8, !tbaa !13
  %113 = load ptr, ptr %0, align 8, !tbaa !15
  %114 = load i64, ptr %9, align 8, !tbaa !12
  %115 = call i32 @geometric_tensor_create(ptr noundef nonnull %4, i32 noundef %112, ptr noundef %113, i64 noundef %114) #5
  %116 = call double @get_time_ms()
  %117 = fsub double %116, %111
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.20, double noundef %117)
  %119 = icmp eq i32 %115, 0
  br i1 %119, label %121, label %120

120:                                              ; preds = %107
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 91, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

121:                                              ; preds = %107
  %122 = call double @get_time_ms()
  %123 = load ptr, ptr %4, align 8, !tbaa !14
  %124 = load ptr, ptr %2, align 8, !tbaa !14
  %125 = call i32 @geometric_tensor_conjugate(ptr noundef %123, ptr noundef %124) #5
  %126 = call double @get_time_ms()
  %127 = fsub double %126, %122
  %128 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.21, double noundef %127)
  %129 = icmp eq i32 %125, 0
  br i1 %129, label %131, label %130

130:                                              ; preds = %121
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 98, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

131:                                              ; preds = %121
  %132 = call double @get_time_ms()
  %133 = load ptr, ptr %4, align 8, !tbaa !14
  %134 = call i32 @geometric_tensor_validate(ptr noundef %133) #5
  %135 = call double @get_time_ms()
  %136 = fsub double %135, %132
  %137 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.22, double noundef %136)
  %138 = icmp eq i32 %134, 0
  br i1 %138, label %140, label %139

139:                                              ; preds = %131
  call void @__assert_fail(ptr noundef nonnull @.str.7, ptr noundef nonnull @.str.8, i32 noundef 105, ptr noundef nonnull @__PRETTY_FUNCTION__.test_tensor_config) #6
  unreachable

140:                                              ; preds = %131
  %141 = load ptr, ptr %2, align 8, !tbaa !14
  call void @geometric_tensor_destroy(ptr noundef %141) #5
  %142 = load ptr, ptr %4, align 8, !tbaa !14
  call void @geometric_tensor_destroy(ptr noundef %142) #5
  %143 = call double @get_time_ms()
  %144 = fsub double %143, %8
  %145 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.23, double noundef %144)
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.24, ptr noundef %146)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
declare hidden double @get_time_ms() local_unnamed_addr #0

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

declare i32 @geometric_tensor_create(ptr noundef, i32 noundef, ptr noundef, i64 noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare i32 @geometric_tensor_initialize_random(ptr noundef) local_unnamed_addr #3

declare i32 @geometric_tensor_validate(ptr noundef) local_unnamed_addr #3

declare zeroext i1 @geometric_tensor_is_hermitian(ptr noundef) local_unnamed_addr #3

declare i32 @geometric_tensor_norm(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @geometric_tensor_conjugate(ptr noundef, ptr noundef) local_unnamed_addr #3

declare void @geometric_tensor_destroy(ptr noundef) local_unnamed_addr #3

attributes #0 = { 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 #1 = { nofree 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn 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 #5 = { nounwind }
attributes #6 = { noreturn 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 24}
!6 = !{!"", !7, i64 0, !10, i64 8, !11, i64 16, !7, i64 24}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !11, i64 16}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = !{!10, !10, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !10, i64 16}
!20 = !{!"quantum_geometric_tensor_t", !11, i64 0, !7, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !21, i64 40, !21, i64 41, !21, i64 42, !11, i64 44, !10, i64 48, !10, i64 56}
!21 = !{!"_Bool", !8, i64 0}
!22 = !{!20, !7, i64 8}
!23 = distinct !{!23, !18}
!24 = !{!20, !7, i64 24}
!25 = !{!20, !11, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"float", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass