; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/descriptor (Corner)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%class.Corner = type { i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, i32, i32, float, i32, i32 }
%class.ImageContent = type { i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN6Corner4isOKEiii(ptr noundef nonnull align 4 dereferenceable(88), i32 noundef, i32 noundef, i32 noundef) #0 align 2

; 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 speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) #3 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3expf(float noundef) #3

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

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

22:                                               ; preds = %19, %3
  br label %138

23:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %24 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 14
  %25 = load float, ptr %24, align 4, !tbaa !9
  %26 = call float @llvm.fmuladd.f32(float 3.000000e+00, float %25, float 2.000000e+00)
  %27 = fptosi float %26 to i32
  store i32 %27, ptr %7, align 4, !tbaa !13
  %28 = load i32, ptr %7, align 4, !tbaa !13
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %29)
  %31 = load i32, ptr %7, align 4, !tbaa !13
  %32 = sub i32 %30, %31
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %33)
  %35 = load i32, ptr %7, align 4, !tbaa !13
  %36 = sub i32 %34, %35
  %37 = call noundef i32 @_ZN6Corner4isOKEiii(ptr noundef nonnull align 4 dereferenceable(88) %16, i32 noundef %28, i32 noundef %32, i32 noundef %36)
  %38 = icmp ne i32 %37, 0
  br i1 %38, label %40, label %39

39:                                               ; preds = %23
  store i32 1, ptr %8, align 4
  br label %136

40:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %41 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 14
  %42 = load float, ptr %41, align 4, !tbaa !9
  %43 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 14
  %44 = load float, ptr %43, align 4, !tbaa !9
  %45 = fmul float %42, %44
  %46 = fmul float %45, 2.000000e+00
  store float %46, ptr %9, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %47 = load float, ptr %9, align 4, !tbaa !14
  %48 = fmul float -2.000000e+00, %47
  store float %48, ptr %10, align 4, !tbaa !14
  %49 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 19
  store float 0.000000e+00, ptr %49, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store float 0.000000e+00, ptr %11, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %50 = load i32, ptr %7, align 4, !tbaa !13
  %51 = sdiv i32 %50, 2
  store i32 %51, ptr %13, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %52 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 2
  %53 = load float, ptr %52, align 4, !tbaa !16
  %54 = fptosi float %53 to i32
  %55 = load i32, ptr %13, align 4, !tbaa !13
  %56 = sub nsw i32 %54, %55
  store i32 %56, ptr %14, align 4, !tbaa !13
  br label %57

57:                                               ; preds = %127, %40
  %58 = load i32, ptr %14, align 4, !tbaa !13
  %59 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 2
  %60 = load float, ptr %59, align 4, !tbaa !16
  %61 = fptosi float %60 to i32
  %62 = load i32, ptr %13, align 4, !tbaa !13
  %63 = add nsw i32 %61, %62
  %64 = icmp slt i32 %58, %63
  br i1 %64, label %66, label %65

65:                                               ; preds = %57
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %130

66:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %67 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 1
  %68 = load float, ptr %67, align 4, !tbaa !17
  %69 = fptosi float %68 to i32
  %70 = load i32, ptr %13, align 4, !tbaa !13
  %71 = sub nsw i32 %69, %70
  store i32 %71, ptr %15, align 4, !tbaa !13
  br label %72

72:                                               ; preds = %123, %66
  %73 = load i32, ptr %15, align 4, !tbaa !13
  %74 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 1
  %75 = load float, ptr %74, align 4, !tbaa !17
  %76 = fptosi float %75 to i32
  %77 = load i32, ptr %13, align 4, !tbaa !13
  %78 = add nsw i32 %76, %77
  %79 = icmp slt i32 %73, %78
  br i1 %79, label %81, label %80

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

81:                                               ; preds = %72
  %82 = load i32, ptr %15, align 4, !tbaa !13
  %83 = sitofp i32 %82 to float
  %84 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 1
  %85 = load float, ptr %84, align 4, !tbaa !17
  %86 = fsub float %83, %85
  %87 = load i32, ptr %15, align 4, !tbaa !13
  %88 = sitofp i32 %87 to float
  %89 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 1
  %90 = load float, ptr %89, align 4, !tbaa !17
  %91 = fsub float %88, %90
  %92 = load i32, ptr %14, align 4, !tbaa !13
  %93 = sitofp i32 %92 to float
  %94 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 2
  %95 = load float, ptr %94, align 4, !tbaa !16
  %96 = fsub float %93, %95
  %97 = load i32, ptr %14, align 4, !tbaa !13
  %98 = sitofp i32 %97 to float
  %99 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 2
  %100 = load float, ptr %99, align 4, !tbaa !16
  %101 = fsub float %98, %100
  %102 = fmul float %96, %101
  %103 = call float @llvm.fmuladd.f32(float %86, float %91, float %102)
  %104 = load float, ptr %10, align 4, !tbaa !14
  %105 = fdiv float %103, %104
  %106 = call noundef float @_ZSt3expf(float noundef %105)
  store float %106, ptr %12, align 4, !tbaa !14
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.ImageContent, ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !18
  %110 = load i32, ptr %14, align 4, !tbaa !13
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds ptr, ptr %109, i64 %111
  %113 = load ptr, ptr %112, align 8, !tbaa !5
  %114 = load i32, ptr %15, align 4, !tbaa !13
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds float, ptr %113, i64 %115
  %117 = load float, ptr %116, align 4, !tbaa !14
  %118 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 19
  %119 = load float, ptr %118, align 4, !tbaa !15
  %120 = fadd float %119, %117
  store float %120, ptr %118, align 4, !tbaa !15
  %121 = load float, ptr %11, align 4, !tbaa !14
  %122 = fadd float %121, 1.000000e+00
  store float %122, ptr %11, align 4, !tbaa !14
  br label %123

123:                                              ; preds = %81
  %124 = load i32, ptr %15, align 4, !tbaa !13
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %15, align 4, !tbaa !13
  br label %72, !llvm.loop !20

126:                                              ; preds = %80
  br label %127

127:                                              ; preds = %126
  %128 = load i32, ptr %14, align 4, !tbaa !13
  %129 = add nsw i32 %128, 1
  store i32 %129, ptr %14, align 4, !tbaa !13
  br label %57, !llvm.loop !22

130:                                              ; preds = %65
  %131 = load float, ptr %11, align 4, !tbaa !14
  %132 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 19
  %133 = load float, ptr %132, align 4, !tbaa !15
  %134 = fdiv float %133, %131
  store float %134, ptr %132, align 4, !tbaa !15
  %135 = getelementptr inbounds %class.Corner, ptr %16, i32 0, i32 20
  store i32 1, ptr %135, align 4, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  store i32 0, ptr %8, align 4
  br label %136

136:                                              ; preds = %130, %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  %137 = load i32, ptr %8, align 4
  switch i32 %137, label %139 [
    i32 0, label %138
    i32 1, label %138
  ]

138:                                              ; preds = %136, %136, %22
  ret void

139:                                              ; preds = %136
  unreachable
}

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 56}
!10 = !{!"_ZTS6Corner", !11, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !11, i64 68, !11, i64 72, !12, i64 76, !11, i64 80, !11, i64 84}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!12, !12, i64 0}
!15 = !{!10, !12, i64 76}
!16 = !{!10, !12, i64 8}
!17 = !{!10, !12, i64 4}
!18 = !{!19, !6, i64 16}
!19 = !{!"_ZTS12ImageContent", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}
!23 = !{!10, !11, i64 80}


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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN6Corner4isOKEiii(ptr noundef nonnull align 4 dereferenceable(88), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3expf(float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN6Corner16computeAngleMeanEP12ImageContentS1_(ptr noundef nonnull align 4 dereferenceable(88) %0, ptr noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 align 2 {
  %4 = icmp eq ptr %1, null
  %5 = icmp eq ptr %2, null
  %or.cond = or i1 %4, %5
  br i1 %or.cond, label %81, label %6

6:                                                ; preds = %3
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  %8 = load float, ptr %7, align 4, !tbaa !5
  %9 = tail call float @llvm.fmuladd.f32(float %8, float 3.000000e+00, float 2.000000e+00)
  %10 = fptosi float %9 to i32
  %11 = tail call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %1)
  %12 = sub i32 %11, %10
  %13 = tail call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %1)
  %14 = sub i32 %13, %10
  %15 = tail call noundef i32 @_ZN6Corner4isOKEiii(ptr noundef nonnull align 4 dereferenceable(88) %0, i32 noundef %10, i32 noundef %12, i32 noundef %14)
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %81, label %16

16:                                               ; preds = %6
  %17 = load float, ptr %7, align 4, !tbaa !5
  %18 = fmul float %17, %17
  %19 = fmul float %18, 2.000000e+00
  %20 = fmul float %19, -2.000000e+00
  %21 = getelementptr inbounds i8, ptr %0, i64 76
  store float 0.000000e+00, ptr %21, align 4, !tbaa !11
  %22 = sdiv i32 %10, 2
  %23 = getelementptr inbounds i8, ptr %0, i64 8
  %24 = load float, ptr %23, align 4, !tbaa !12
  %25 = fptosi float %24 to i32
  %26 = sub nsw i32 %25, %22
  %27 = add nsw i32 %22, %25
  %28 = icmp slt i32 %26, %27
  br i1 %28, label %.lr.ph37, label %._crit_edge38

.lr.ph37:                                         ; preds = %16
  %29 = getelementptr inbounds i8, ptr %0, i64 4
  %30 = getelementptr inbounds i8, ptr %2, i64 16
  %31 = sub nsw i32 0, %22
  %32 = sext i32 %31 to i64
  %33 = sext i32 %25 to i64
  %34 = add nsw i64 %33, %32
  %.pre = load float, ptr %29, align 4, !tbaa !13
  br label %38

._crit_edge38.loopexit:                           ; preds = %._crit_edge
  %35 = fdiv float %50, %.1.lcssa
  br label %._crit_edge38

._crit_edge38:                                    ; preds = %._crit_edge38.loopexit, %16
  %36 = phi float [ 0x7FF8000000000000, %16 ], [ %35, %._crit_edge38.loopexit ]
  store float %36, ptr %21, align 4, !tbaa !11
  %37 = getelementptr inbounds i8, ptr %0, i64 80
  store i32 1, ptr %37, align 4, !tbaa !14
  br label %81

38:                                               ; preds = %.lr.ph37, %._crit_edge
  %39 = phi float [ 0.000000e+00, %.lr.ph37 ], [ %50, %._crit_edge ]
  %40 = phi float [ %24, %.lr.ph37 ], [ %51, %._crit_edge ]
  %41 = phi float [ %.pre, %.lr.ph37 ], [ %52, %._crit_edge ]
  %indvars.iv41 = phi i64 [ %34, %.lr.ph37 ], [ %indvars.iv.next42, %._crit_edge ]
  %.02934 = phi float [ 0.000000e+00, %.lr.ph37 ], [ %.1.lcssa, %._crit_edge ]
  %42 = fptosi float %41 to i32
  %43 = sub nsw i32 %42, %22
  %44 = add nsw i32 %22, %42
  %45 = icmp slt i32 %43, %44
  br i1 %45, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %38
  %46 = trunc nsw i64 %indvars.iv41 to i32
  %47 = sitofp i32 %46 to float
  %48 = sext i32 %42 to i64
  %49 = add nsw i64 %32, %48
  br label %57

._crit_edge.loopexit:                             ; preds = %57
  %.pre44 = load float, ptr %23, align 4, !tbaa !12
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %38
  %50 = phi float [ %39, %38 ], [ %74, %._crit_edge.loopexit ]
  %51 = phi float [ %40, %38 ], [ %.pre44, %._crit_edge.loopexit ]
  %52 = phi float [ %41, %38 ], [ %76, %._crit_edge.loopexit ]
  %.1.lcssa = phi float [ %.02934, %38 ], [ %75, %._crit_edge.loopexit ]
  %indvars.iv.next42 = add nsw i64 %indvars.iv41, 1
  %53 = fptosi float %51 to i32
  %54 = add nsw i32 %22, %53
  %55 = sext i32 %54 to i64
  %56 = icmp slt i64 %indvars.iv.next42, %55
  br i1 %56, label %38, label %._crit_edge38.loopexit, !llvm.loop !15

57:                                               ; preds = %.lr.ph, %57
  %indvars.iv = phi i64 [ %49, %.lr.ph ], [ %indvars.iv.next, %57 ]
  %58 = phi float [ %41, %.lr.ph ], [ %76, %57 ]
  %.132 = phi float [ %.02934, %.lr.ph ], [ %75, %57 ]
  %59 = trunc nsw i64 %indvars.iv to i32
  %60 = sitofp i32 %59 to float
  %61 = fsub float %60, %58
  %62 = load float, ptr %23, align 4, !tbaa !12
  %63 = fsub float %47, %62
  %64 = fmul float %63, %63
  %65 = tail call float @llvm.fmuladd.f32(float %61, float %61, float %64)
  %66 = fdiv float %65, %20
  %67 = tail call noundef float @_ZSt3expf(float noundef %66)
  %68 = load ptr, ptr %30, align 8, !tbaa !17
  %69 = getelementptr inbounds ptr, ptr %68, i64 %indvars.iv41
  %70 = load ptr, ptr %69, align 8, !tbaa !20
  %71 = getelementptr inbounds float, ptr %70, i64 %indvars.iv
  %72 = load float, ptr %71, align 4, !tbaa !21
  %73 = load float, ptr %21, align 4, !tbaa !11
  %74 = fadd float %72, %73
  store float %74, ptr %21, align 4, !tbaa !11
  %75 = fadd float %.132, 1.000000e+00
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %76 = load float, ptr %29, align 4, !tbaa !13
  %77 = fptosi float %76 to i32
  %78 = add nsw i32 %22, %77
  %79 = sext i32 %78 to i64
  %80 = icmp slt i64 %indvars.iv.next, %79
  br i1 %80, label %57, label %._crit_edge.loopexit, !llvm.loop !22

81:                                               ; preds = %._crit_edge38, %6, %3
  ret void
}

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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 56}
!6 = !{!"_ZTS6Corner", !7, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !7, i64 68, !7, i64 72, !10, i64 76, !7, i64 80, !7, i64 84}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"float", !8, i64 0}
!11 = !{!6, !10, i64 76}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !10, i64 4}
!14 = !{!6, !7, i64 80}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !19, i64 16}
!18 = !{!"_ZTS12ImageContent", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72}
!19 = !{!"any pointer", !8, i64 0}
!20 = !{!19, !19, i64 0}
!21 = !{!10, !10, i64 0}
!22 = distinct !{!22, !16}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass