; LLVM IR from zchrissirhcz/pixel :: src (px_compare)

; 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.px_matrix_t = type { ptr, i32, i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [46 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [65 x i8], align 1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #2

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @px_matrix_almost_equal(ptr noundef %0, ptr noundef %1, float noundef %2) #3 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store float %2, ptr %7, align 4, !tbaa !9
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = icmp eq ptr %16, null
  br i1 %17, label %18, label %22

18:                                               ; preds = %3
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %21, label %22

21:                                               ; preds = %18
  store i1 true, ptr %4, align 1
  br label %184

22:                                               ; preds = %18, %3
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = icmp eq ptr %23, null
  br i1 %24, label %25, label %28

25:                                               ; preds = %22
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %34, label %28

28:                                               ; preds = %25, %22
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = icmp ne ptr %29, null
  br i1 %30, label %31, label %35

31:                                               ; preds = %28
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = icmp eq ptr %32, null
  br i1 %33, label %34, label %35

34:                                               ; preds = %31, %25
  store i1 false, ptr %4, align 1
  br label %184

35:                                               ; preds = %31, %28
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.px_matrix_t, ptr %36, i32 0, i32 1
  %38 = load i32, ptr %37, align 8, !tbaa !11
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.px_matrix_t, ptr %39, i32 0, i32 1
  %41 = load i32, ptr %40, align 8, !tbaa !11
  %42 = icmp ne i32 %38, %41
  br i1 %42, label %43, label %56

43:                                               ; preds = %35
  br label %44

44:                                               ; preds = %43
  %45 = load ptr, ptr @stderr, align 8, !tbaa !5
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.px_matrix_t, ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 8, !tbaa !11
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.px_matrix_t, ptr %49, i32 0, i32 1
  %51 = load i32, ptr %50, align 8, !tbaa !11
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef @.str, i32 noundef %48, i32 noundef %51) #4
  %53 = load ptr, ptr @stderr, align 8, !tbaa !5
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %53, ptr noundef @.str.1) #4
  br label %55

55:                                               ; preds = %44
  store i1 false, ptr %4, align 1
  br label %184

56:                                               ; preds = %35
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.px_matrix_t, ptr %57, i32 0, i32 2
  %59 = load i32, ptr %58, align 4, !tbaa !14
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.px_matrix_t, ptr %60, i32 0, i32 2
  %62 = load i32, ptr %61, align 4, !tbaa !14
  %63 = icmp ne i32 %59, %62
  br i1 %63, label %64, label %77

64:                                               ; preds = %56
  br label %65

65:                                               ; preds = %64
  %66 = load ptr, ptr @stderr, align 8, !tbaa !5
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.px_matrix_t, ptr %67, i32 0, i32 2
  %69 = load i32, ptr %68, align 4, !tbaa !14
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.px_matrix_t, ptr %70, i32 0, i32 2
  %72 = load i32, ptr %71, align 4, !tbaa !14
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef @.str.2, i32 noundef %69, i32 noundef %72) #4
  %74 = load ptr, ptr @stderr, align 8, !tbaa !5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %74, ptr noundef @.str.1) #4
  br label %76

76:                                               ; preds = %65
  store i1 false, ptr %4, align 1
  br label %184

77:                                               ; preds = %56
  br label %78

78:                                               ; preds = %77
  br label %79

79:                                               ; preds = %78
  br label %80

80:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.px_matrix_t, ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 8, !tbaa !11
  store i32 %83, ptr %8, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.px_matrix_t, ptr %84, i32 0, i32 2
  %86 = load i32, ptr %85, align 4, !tbaa !14
  store i32 %86, ptr %9, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !15
  br label %87

87:                                               ; preds = %177, %80
  %88 = load i32, ptr %10, align 4, !tbaa !15
  %89 = load i32, ptr %8, align 4, !tbaa !15
  %90 = icmp slt i32 %88, %89
  br i1 %90, label %92, label %91

91:                                               ; preds = %87
  store i32 6, ptr %11, align 4
  br label %180

92:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %93 = load ptr, ptr %5, align 8, !tbaa !5
  %94 = getelementptr inbounds %struct.px_matrix_t, ptr %93, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8, !tbaa !16
  %96 = load i32, ptr %10, align 4, !tbaa !15
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.px_matrix_t, ptr %97, i32 0, i32 2
  %99 = load i32, ptr %98, align 4, !tbaa !14
  %100 = mul nsw i32 %96, %99
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %95, i64 %101
  store ptr %102, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.px_matrix_t, ptr %103, i32 0, i32 0
  %105 = load ptr, ptr %104, align 8, !tbaa !16
  %106 = load i32, ptr %10, align 4, !tbaa !15
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.px_matrix_t, ptr %107, i32 0, i32 2
  %109 = load i32, ptr %108, align 4, !tbaa !14
  %110 = mul nsw i32 %106, %109
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds float, ptr %105, i64 %111
  store ptr %112, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !15
  br label %113

113:                                              ; preds = %168, %92
  %114 = load i32, ptr %14, align 4, !tbaa !15
  %115 = load i32, ptr %9, align 4, !tbaa !15
  %116 = icmp slt i32 %114, %115
  br i1 %116, label %118, label %117

117:                                              ; preds = %113
  store i32 9, ptr %11, align 4
  br label %171

118:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %119 = load ptr, ptr %12, align 8, !tbaa !5
  %120 = load i32, ptr %14, align 4, !tbaa !15
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds float, ptr %119, i64 %121
  %123 = load float, ptr %122, align 4, !tbaa !9
  %124 = load ptr, ptr %13, align 8, !tbaa !5
  %125 = load i32, ptr %14, align 4, !tbaa !15
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds float, ptr %124, i64 %126
  %128 = load float, ptr %127, align 4, !tbaa !9
  %129 = fsub float %123, %128
  %130 = fpext float %129 to double
  %131 = call double @llvm.fabs.f64(double %130)
  %132 = fptrunc double %131 to float
  store float %132, ptr %15, align 4, !tbaa !9
  %133 = load float, ptr %15, align 4, !tbaa !9
  %134 = load float, ptr %7, align 4, !tbaa !9
  %135 = fcmp ogt float %133, %134
  br i1 %135, label %136, label %164

136:                                              ; preds = %118
  br label %137

137:                                              ; preds = %136
  %138 = load ptr, ptr @stderr, align 8, !tbaa !5
  %139 = load i32, ptr %10, align 4, !tbaa !15
  %140 = load i32, ptr %14, align 4, !tbaa !15
  %141 = load ptr, ptr %13, align 8, !tbaa !5
  %142 = load i32, ptr %14, align 4, !tbaa !15
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds float, ptr %141, i64 %143
  %145 = load float, ptr %144, align 4, !tbaa !9
  %146 = fpext float %145 to double
  %147 = load i32, ptr %10, align 4, !tbaa !15
  %148 = load i32, ptr %14, align 4, !tbaa !15
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load i32, ptr %14, align 4, !tbaa !15
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds float, ptr %149, i64 %151
  %153 = load float, ptr %152, align 4, !tbaa !9
  %154 = fpext float %153 to double
  %155 = load float, ptr %15, align 4, !tbaa !9
  %156 = fpext float %155 to double
  %157 = load float, ptr %7, align 4, !tbaa !9
  %158 = fpext float %157 to double
  %159 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %138, ptr noundef @.str.7, i32 noundef %139, i32 noundef %140, double noundef %146, i32 noundef %147, i32 noundef %148, double noundef %154, double noundef %156, double noundef %158) #4
  %160 = load ptr, ptr @stderr, align 8, !tbaa !5
  %161 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %160, ptr noundef @.str.1) #4
  br label %162

162:                                              ; preds = %137
  br label %163

163:                                              ; preds = %162
  store i1 false, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %165

164:                                              ; preds = %118
  store i32 0, ptr %11, align 4
  br label %165

165:                                              ; preds = %164, %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %166 = load i32, ptr %11, align 4
  switch i32 %166, label %171 [
    i32 0, label %167
  ]

167:                                              ; preds = %165
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %14, align 4, !tbaa !15
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %14, align 4, !tbaa !15
  br label %113, !llvm.loop !17

171:                                              ; preds = %165, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  %172 = load i32, ptr %11, align 4
  switch i32 %172, label %174 [
    i32 9, label %173
  ]

173:                                              ; preds = %171
  store i32 0, ptr %11, align 4
  br label %174

174:                                              ; preds = %173, %171
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  %175 = load i32, ptr %11, align 4
  switch i32 %175, label %180 [
    i32 0, label %176
  ]

176:                                              ; preds = %174
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %10, align 4, !tbaa !15
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %10, align 4, !tbaa !15
  br label %87, !llvm.loop !19

180:                                              ; preds = %174, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %181 = load i32, ptr %11, align 4
  switch i32 %181, label %183 [
    i32 6, label %182
  ]

182:                                              ; preds = %180
  store i1 true, ptr %4, align 1
  store i32 1, ptr %11, align 4
  br label %183

183:                                              ; preds = %182, %180
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %184

184:                                              ; preds = %183, %76, %55, %34, %21
  %185 = load i1, ptr %4, align 1
  ret i1 %185
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"px_matrix_t", !6, i64 0, !13, i64 8, !13, i64 12}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 12}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !6, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}


; 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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [46 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [65 x i8], align 1

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

; Function Attrs: nofree nounwind uwtable
define dso_local noundef zeroext i1 @px_matrix_almost_equal(ptr noundef readonly %0, ptr noundef readonly %1, float noundef %2) local_unnamed_addr #1 {
  %4 = icmp eq ptr %0, null
  %5 = icmp eq ptr %1, null
  %or.cond = and i1 %4, %5
  br i1 %or.cond, label %.critedge76, label %6

6:                                                ; preds = %3
  %or.cond72 = xor i1 %4, %5
  br i1 %or.cond72, label %.critedge76, label %7

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

12:                                               ; preds = %7
  %13 = load ptr, ptr @stderr, align 8, !tbaa !11
  %14 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef nonnull @.str, i32 noundef %9, i32 noundef %11) #3
  br label %.critedge76.sink.split

15:                                               ; preds = %7
  %16 = getelementptr inbounds i8, ptr %0, i64 12
  %17 = load i32, ptr %16, align 4, !tbaa !12
  %18 = getelementptr inbounds i8, ptr %1, i64 12
  %19 = load i32, ptr %18, align 4, !tbaa !12
  %.not69 = icmp eq i32 %17, %19
  br i1 %.not69, label %.preheader, label %34

.preheader:                                       ; preds = %15
  %.not71.not83 = icmp sgt i32 %9, 0
  br i1 %.not71.not83, label %.lr.ph85, label %.critedge76

.lr.ph85:                                         ; preds = %.preheader
  %20 = load ptr, ptr %0, align 8, !tbaa !13
  %21 = load ptr, ptr %1, align 8, !tbaa !13
  %.not7081 = icmp sgt i32 %17, 0
  br i1 %.not7081, label %.lr.ph.us.preheader, label %.critedge76

.lr.ph.us.preheader:                              ; preds = %.lr.ph85
  %22 = zext nneg i32 %17 to i64
  %wide.trip.count102 = zext nneg i32 %9 to i64
  %wide.trip.count = zext nneg i32 %17 to i64
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %..critedge74_crit_edge.us
  %indvars.iv99 = phi i64 [ 0, %.lr.ph.us.preheader ], [ %indvars.iv.next100, %..critedge74_crit_edge.us ]
  %23 = mul nuw nsw i64 %indvars.iv99, %22
  %24 = getelementptr inbounds float, ptr %20, i64 %23
  %25 = getelementptr inbounds float, ptr %21, i64 %23
  br label %26

26:                                               ; preds = %.lr.ph.us, %.critedge.us
  %indvars.iv = phi i64 [ 0, %.lr.ph.us ], [ %indvars.iv.next, %.critedge.us ]
  %27 = getelementptr inbounds float, ptr %24, i64 %indvars.iv
  %28 = load float, ptr %27, align 4, !tbaa !14
  %29 = getelementptr inbounds float, ptr %25, i64 %indvars.iv
  %30 = load float, ptr %29, align 4, !tbaa !14
  %31 = fsub float %28, %30
  %32 = tail call float @llvm.fabs.f32(float %31)
  %33 = fcmp ule float %32, %2
  br i1 %33, label %.critedge.us, label %.split.us

.critedge.us:                                     ; preds = %26
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %..critedge74_crit_edge.us, label %26, !llvm.loop !16

..critedge74_crit_edge.us:                        ; preds = %.critedge.us
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %exitcond103.not = icmp eq i64 %indvars.iv.next100, %wide.trip.count102
  br i1 %exitcond103.not, label %.critedge76, label %.lr.ph.us, !llvm.loop !18

34:                                               ; preds = %15
  %35 = load ptr, ptr @stderr, align 8, !tbaa !11
  %36 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %35, ptr noundef nonnull @.str.2, i32 noundef %17, i32 noundef %19) #3
  br label %.critedge76.sink.split

.split.us:                                        ; preds = %26
  %37 = trunc nuw nsw i64 %indvars.iv99 to i32
  %38 = trunc nuw nsw i64 %indvars.iv to i32
  %39 = load ptr, ptr @stderr, align 8, !tbaa !11
  %40 = fpext float %30 to double
  %41 = fpext float %28 to double
  %42 = fpext float %32 to double
  %43 = fpext float %2 to double
  %44 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %39, ptr noundef nonnull @.str.7, i32 noundef %37, i32 noundef %38, double noundef %40, i32 noundef %37, i32 noundef %38, double noundef %41, double noundef %42, double noundef %43) #3
  br label %.critedge76.sink.split

.critedge76.sink.split:                           ; preds = %12, %34, %.split.us
  %45 = load ptr, ptr @stderr, align 8, !tbaa !11
  %46 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %45, ptr noundef nonnull @.str.1) #3
  br label %.critedge76

.critedge76:                                      ; preds = %..critedge74_crit_edge.us, %.critedge76.sink.split, %.lr.ph85, %.preheader, %6, %3
  %.6 = phi i1 [ true, %3 ], [ false, %6 ], [ true, %.preheader ], [ true, %.lr.ph85 ], [ false, %.critedge76.sink.split ], [ true, %..critedge74_crit_edge.us ]
  ret i1 %.6
}

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

attributes #0 = { 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 #1 = { nofree 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { cold 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 = !{!"px_matrix_t", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !10, i64 12}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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