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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z10InterpPeakfff(float noundef, float noundef, float noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14InterpKeyPointiP12ImageContentS0_S0_S0_S0_iifRSt6vectorIP16CornerDescriptorSaIS3_EE(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, float noundef %8, ptr noundef nonnull align 8 dereferenceable(24) %9) #2 personality ptr @__gxx_personality_v0 {
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca float, align 4
  %20 = alloca ptr, align 8
  %21 = alloca float, align 4
  %22 = alloca float, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  store i32 %0, ptr %11, align 4, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !9
  store ptr %2, ptr %13, align 8, !tbaa !9
  store ptr %3, ptr %14, align 8, !tbaa !9
  store ptr %4, ptr %15, align 8, !tbaa !9
  store ptr %5, ptr %16, align 8, !tbaa !9
  store i32 %6, ptr %17, align 4, !tbaa !5
  store i32 %7, ptr %18, align 4, !tbaa !5
  store float %8, ptr %19, align 4, !tbaa !11
  store ptr %9, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %29 = load ptr, ptr %12, align 8, !tbaa !9
  %30 = getelementptr inbounds %class.ImageContent, ptr %29, i32 0, i32 4
  %31 = load ptr, ptr %30, align 8, !tbaa !13
  %32 = load i32, ptr %17, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !9
  %36 = load i32, ptr %18, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds float, ptr %35, i64 %37
  %39 = load float, ptr %38, align 4, !tbaa !11
  store float %39, ptr %21, align 4, !tbaa !11
  %40 = load i32, ptr %11, align 4, !tbaa !5
  %41 = sitofp i32 %40 to double
  %42 = call double @pow(double noundef 1.500000e+00, double noundef %41) #7
  %43 = fmul double 1.414000e+00, %42
  %44 = fptrunc double %43 to float
  store float %44, ptr %22, align 4, !tbaa !11
  %45 = load i32, ptr %17, align 4, !tbaa !5
  %46 = sitofp i32 %45 to float
  %47 = load ptr, ptr %12, align 8, !tbaa !9
  %48 = getelementptr inbounds %class.ImageContent, ptr %47, i32 0, i32 4
  %49 = load ptr, ptr %48, align 8, !tbaa !13
  %50 = load i32, ptr %17, align 4, !tbaa !5
  %51 = sub nsw i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds ptr, ptr %49, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = load i32, ptr %18, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds float, ptr %54, i64 %56
  %58 = load float, ptr %57, align 4, !tbaa !11
  %59 = load float, ptr %21, align 4, !tbaa !11
  %60 = load ptr, ptr %12, align 8, !tbaa !9
  %61 = getelementptr inbounds %class.ImageContent, ptr %60, i32 0, i32 4
  %62 = load ptr, ptr %61, align 8, !tbaa !13
  %63 = load i32, ptr %17, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %62, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !9
  %68 = load i32, ptr %18, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !11
  %72 = call noundef float @_Z10InterpPeakfff(float noundef %58, float noundef %59, float noundef %71)
  %73 = fadd float %46, %72
  store float %73, ptr %23, align 4, !tbaa !11
  %74 = load i32, ptr %18, align 4, !tbaa !5
  %75 = sitofp i32 %74 to float
  %76 = load ptr, ptr %12, align 8, !tbaa !9
  %77 = getelementptr inbounds %class.ImageContent, ptr %76, i32 0, i32 4
  %78 = load ptr, ptr %77, align 8, !tbaa !13
  %79 = load i32, ptr %17, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds ptr, ptr %78, i64 %80
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = load i32, ptr %18, align 4, !tbaa !5
  %84 = sub nsw i32 %83, 1
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds float, ptr %82, i64 %85
  %87 = load float, ptr %86, align 4, !tbaa !11
  %88 = load float, ptr %21, align 4, !tbaa !11
  %89 = load ptr, ptr %12, align 8, !tbaa !9
  %90 = getelementptr inbounds %class.ImageContent, ptr %89, i32 0, i32 4
  %91 = load ptr, ptr %90, align 8, !tbaa !13
  %92 = load i32, ptr %17, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds ptr, ptr %91, i64 %93
  %95 = load ptr, ptr %94, align 8, !tbaa !9
  %96 = load i32, ptr %18, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds float, ptr %95, i64 %98
  %100 = load float, ptr %99, align 4, !tbaa !11
  %101 = call noundef float @_Z10InterpPeakfff(float noundef %87, float noundef %88, float noundef %100)
  %102 = fadd float %75, %101
  store float %102, ptr %24, align 4, !tbaa !11
  %103 = load float, ptr %23, align 4, !tbaa !11
  %104 = fpext float %103 to double
  %105 = fadd double %104, 1.000000e+00
  %106 = load float, ptr %22, align 4, !tbaa !11
  %107 = fpext float %106 to double
  %108 = fmul double %105, %107
  %109 = fdiv double %108, 1.414000e+00
  %110 = fptrunc double %109 to float
  store float %110, ptr %23, align 4, !tbaa !11
  %111 = load float, ptr %24, align 4, !tbaa !11
  %112 = fpext float %111 to double
  %113 = fadd double %112, 1.000000e+00
  %114 = load float, ptr %22, align 4, !tbaa !11
  %115 = fpext float %114 to double
  %116 = fmul double %113, %115
  %117 = fdiv double %116, 1.414000e+00
  %118 = fptrunc double %117 to float
  store float %118, ptr %24, align 4, !tbaa !11
  %119 = load ptr, ptr %13, align 8, !tbaa !9
  %120 = load ptr, ptr %14, align 8, !tbaa !9
  %121 = load i32, ptr %17, align 4, !tbaa !5
  %122 = load i32, ptr %18, align 4, !tbaa !5
  %123 = call noundef float @_Z7FindOriP12ImageContentS0_ii(ptr noundef %119, ptr noundef %120, i32 noundef %121, i32 noundef %122)
  store float %123, ptr %25, align 4, !tbaa !11
  %124 = load ptr, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %125 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 120) #8
  %126 = load float, ptr %24, align 4, !tbaa !11
  %127 = load float, ptr %23, align 4, !tbaa !11
  %128 = load float, ptr %23, align 4, !tbaa !11
  %129 = load float, ptr %22, align 4, !tbaa !11
  %130 = load float, ptr %25, align 4, !tbaa !11
  invoke void @_ZN16CornerDescriptorC2Efffff(ptr noundef nonnull align 8 dereferenceable(116) %125, float noundef %126, float noundef %127, float noundef %128, float noundef %129, float noundef %130)
          to label %131 unwind label %138

131:                                              ; preds = %10
  store ptr %125, ptr %26, align 8, !tbaa !9
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef nonnull align 8 dereferenceable(8) %26)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  %132 = load ptr, ptr %20, align 8, !tbaa !9
  %133 = load ptr, ptr %20, align 8, !tbaa !9
  %134 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #7
  %135 = sub i64 %134, 1
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %132, i64 noundef %135) #7
  %137 = load ptr, ptr %136, align 8, !tbaa !9
  call void @_ZN16CornerDescriptor7setTypeEi(ptr noundef nonnull align 8 dereferenceable(116) %137, i32 noundef 3)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  ret void

138:                                              ; preds = %10
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %27, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %28, align 4
  call void @_ZdlPvm(ptr noundef %125, i64 noundef 120) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %142

142:                                              ; preds = %138
  %143 = load ptr, ptr %27, align 8
  %144 = load i32, ptr %28, align 4
  %145 = insertvalue { ptr, i32 } poison, ptr %143, 0
  %146 = insertvalue { ptr, i32 } %145, i32 %144, 1
  resume { ptr, i32 } %146
}

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z7FindOriP12ImageContentS0_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef) #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #4

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN16CornerDescriptor7setTypeEi(ptr noundef nonnull align 8 dereferenceable(116), i32 noundef) #6 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 = { nobuiltin allocsize(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 = { nobuiltin 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !10, i64 16}
!14 = !{!"_ZTS12ImageContent", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}


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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_Z10InterpPeakfff(float noundef, float noundef, float noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14InterpKeyPointiP12ImageContentS0_S0_S0_S0_iifRSt6vectorIP16CornerDescriptorSaIS3_EE(i32 noundef %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr noundef %3, ptr nocapture noundef readnone %4, ptr nocapture noundef readnone %5, i32 noundef %6, i32 noundef %7, float noundef %8, ptr noundef nonnull align 8 dereferenceable(24) %9) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %11 = alloca ptr, align 8
  %12 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = sext i32 %6 to i64
  %15 = getelementptr inbounds ptr, ptr %13, i64 %14
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = sext i32 %7 to i64
  %18 = getelementptr inbounds float, ptr %16, i64 %17
  %19 = load float, ptr %18, align 4, !tbaa !12
  %20 = sitofp i32 %0 to double
  %21 = tail call double @pow(double noundef 1.500000e+00, double noundef %20) #7
  %22 = fmul double %21, 1.414000e+00
  %23 = fptrunc double %22 to float
  %24 = sitofp i32 %6 to float
  %25 = load ptr, ptr %12, align 8, !tbaa !5
  %26 = getelementptr ptr, ptr %25, i64 %14
  %27 = getelementptr i8, ptr %26, i64 -8
  %28 = load ptr, ptr %27, align 8, !tbaa !11
  %29 = getelementptr inbounds float, ptr %28, i64 %17
  %30 = load float, ptr %29, align 4, !tbaa !12
  %31 = getelementptr i8, ptr %26, i64 8
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds float, ptr %32, i64 %17
  %34 = load float, ptr %33, align 4, !tbaa !12
  %35 = tail call noundef float @_Z10InterpPeakfff(float noundef %30, float noundef %19, float noundef %34)
  %36 = fadd float %35, %24
  %37 = sitofp i32 %7 to float
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = getelementptr inbounds ptr, ptr %38, i64 %14
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = getelementptr float, ptr %40, i64 %17
  %42 = getelementptr i8, ptr %41, i64 -4
  %43 = load float, ptr %42, align 4, !tbaa !12
  %44 = getelementptr i8, ptr %41, i64 4
  %45 = load float, ptr %44, align 4, !tbaa !12
  %46 = tail call noundef float @_Z10InterpPeakfff(float noundef %43, float noundef %19, float noundef %45)
  %47 = fadd float %46, %37
  %48 = fpext float %36 to double
  %49 = fadd double %48, 1.000000e+00
  %50 = fpext float %23 to double
  %51 = fmul double %49, %50
  %52 = fdiv double %51, 1.414000e+00
  %53 = fptrunc double %52 to float
  %54 = fpext float %47 to double
  %55 = fadd double %54, 1.000000e+00
  %56 = fmul double %55, %50
  %57 = fdiv double %56, 1.414000e+00
  %58 = fptrunc double %57 to float
  %59 = tail call noundef float @_Z7FindOriP12ImageContentS0_ii(ptr noundef %2, ptr noundef %3, i32 noundef %6, i32 noundef %7)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %60 = tail call noalias noundef nonnull dereferenceable(120) ptr @_Znwm(i64 noundef 120) #8
  invoke void @_ZN16CornerDescriptorC2Efffff(ptr noundef nonnull align 8 dereferenceable(116) %60, float noundef %58, float noundef %53, float noundef %53, float noundef %23, float noundef %59)
          to label %61 unwind label %66

61:                                               ; preds = %10
  store ptr %60, ptr %11, align 8, !tbaa !11
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %62 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #7
  %63 = add i64 %62, -1
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %63) #7
  %65 = load ptr, ptr %64, align 8, !tbaa !11
  call void @_ZN16CornerDescriptor7setTypeEi(ptr noundef nonnull align 8 dereferenceable(116) %65, i32 noundef 3)
  ret void

66:                                               ; preds = %10
  %67 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %60, i64 noundef 120) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  resume { ptr, i32 } %67
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z7FindOriP12ImageContentS0_ii(ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #4

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN16CornerDescriptor7setTypeEi(ptr noundef nonnull align 8 dereferenceable(116), i32 noundef) local_unnamed_addr #6 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nofree nounwind willreturn memory(write) "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 = { nobuiltin allocsize(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 = { nobuiltin 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 16}
!6 = !{!"_ZTS12ImageContent", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass