; LLVM IR from tyoma/agge :: src/agge/dash.ll (ZN4agge4dash6vertexEPfS1_)

; 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.agge::dash" = type { %"class.agge::vertex_sequence", ptr, ptr, float, float, float, %"struct.agge::point", i32, %"class.agge::pod_vector.0" }
%"class.agge::vertex_sequence" = type { %"class.agge::pod_vector" }
%"class.agge::pod_vector" = type { ptr, ptr, ptr }
%"struct.agge::point" = type { float, float }
%"class.agge::pod_vector.0" = type { ptr, ptr, ptr }
%"struct.agge::vertex" = type { %"struct.agge::point", float }
%"struct.agge::dash::dash_gap" = type { float, float }

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN4agge4dash6vertexEPfS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1, ptr noundef %2) #0 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %8 = load ptr, ptr %5, align 8
  %9 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 7
  %10 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %10, label %118 [
    i32 0, label %11
    i32 1, label %14
    i32 2, label %36
    i32 3, label %50
    i32 4, label %85
    i32 5, label %117
  ]

11:                                               ; preds = %3
  %12 = call noundef ptr @_ZN4agge10pod_vectorINS_6vertexEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %13 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  store ptr %12, ptr %13, align 8, !tbaa !17
  call void @_ZN4agge4dash15seek_dash_startEv(ptr noundef nonnull align 8 dereferenceable(88) %8)
  br label %14

14:                                               ; preds = %11, %3
  br label %15

15:                                               ; preds = %31, %14
  %16 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  %17 = load ptr, ptr %16, align 8, !tbaa !17
  %18 = getelementptr inbounds %"struct.agge::vertex", ptr %17, i32 0, i32 1
  %19 = load float, ptr %18, align 4, !tbaa !18
  %20 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %21 = load float, ptr %20, align 8, !tbaa !20
  %22 = fsub float %21, %19
  store float %22, ptr %20, align 8, !tbaa !20
  %23 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  %24 = load ptr, ptr %23, align 8, !tbaa !17
  %25 = getelementptr inbounds %"struct.agge::vertex", ptr %24, i32 1
  store ptr %25, ptr %23, align 8, !tbaa !17
  %26 = call noundef ptr @_ZN4agge10pod_vectorINS_6vertexEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %27 = icmp eq ptr %25, %26
  br i1 %27, label %28, label %30

28:                                               ; preds = %15
  %29 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 7
  store i32 5, ptr %29, align 4, !tbaa !9
  store i32 0, ptr %4, align 4
  br label %119

30:                                               ; preds = %15
  br label %31

31:                                               ; preds = %30
  %32 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %33 = load float, ptr %32, align 8, !tbaa !20
  %34 = fcmp ogt float %33, 0.000000e+00
  br i1 %34, label %15, label %35, !llvm.loop !21

35:                                               ; preds = %31
  br label %36

36:                                               ; preds = %35, %3
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNK4agge4dash19interpolate_currentEPfS1_(ptr noundef nonnull align 8 dereferenceable(88) %8, ptr noundef %37, ptr noundef %38)
  %39 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 4
  %40 = load float, ptr %39, align 4, !tbaa !23
  %41 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %42 = load float, ptr %41, align 8, !tbaa !20
  %43 = fadd float %42, %40
  store float %43, ptr %41, align 8, !tbaa !20
  %44 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %45 = load float, ptr %44, align 8, !tbaa !20
  %46 = fcmp ogt float %45, 0.000000e+00
  %47 = zext i1 %46 to i64
  %48 = select i1 %46, i32 3, i32 4
  %49 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 7
  store i32 %48, ptr %49, align 4, !tbaa !9
  store i32 1, ptr %4, align 4
  br label %119

50:                                               ; preds = %3
  %51 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !17
  %53 = getelementptr inbounds %"struct.agge::vertex", ptr %52, i32 0, i32 0
  %54 = getelementptr inbounds %"struct.agge::point", ptr %53, i32 0, i32 0
  %55 = load float, ptr %54, align 4, !tbaa !24
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  store float %55, ptr %56, align 4, !tbaa !25
  %57 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !17
  %59 = getelementptr inbounds %"struct.agge::vertex", ptr %58, i32 0, i32 0
  %60 = getelementptr inbounds %"struct.agge::point", ptr %59, i32 0, i32 1
  %61 = load float, ptr %60, align 4, !tbaa !26
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  store float %61, ptr %62, align 4, !tbaa !25
  %63 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  %64 = load ptr, ptr %63, align 8, !tbaa !17
  %65 = getelementptr inbounds %"struct.agge::vertex", ptr %64, i32 0, i32 1
  %66 = load float, ptr %65, align 4, !tbaa !18
  %67 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %68 = load float, ptr %67, align 8, !tbaa !20
  %69 = fsub float %68, %66
  store float %69, ptr %67, align 8, !tbaa !20
  %70 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !17
  %72 = getelementptr inbounds %"struct.agge::vertex", ptr %71, i32 1
  store ptr %72, ptr %70, align 8, !tbaa !17
  %73 = call noundef ptr @_ZN4agge10pod_vectorINS_6vertexEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8)
  %74 = icmp eq ptr %72, %73
  br i1 %74, label %75, label %77

75:                                               ; preds = %50
  %76 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 7
  store i32 5, ptr %76, align 4, !tbaa !9
  br label %84

77:                                               ; preds = %50
  %78 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %79 = load float, ptr %78, align 8, !tbaa !20
  %80 = fcmp olt float %79, 0.000000e+00
  br i1 %80, label %81, label %83

81:                                               ; preds = %77
  %82 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 7
  store i32 4, ptr %82, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %81, %77
  br label %84

84:                                               ; preds = %83, %75
  store i32 2, ptr %4, align 4
  br label %119

85:                                               ; preds = %3
  %86 = load ptr, ptr %6, align 8, !tbaa !5
  %87 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNK4agge4dash19interpolate_currentEPfS1_(ptr noundef nonnull align 8 dereferenceable(88) %8, ptr noundef %86, ptr noundef %87)
  %88 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 2
  %89 = load ptr, ptr %88, align 8, !tbaa !27
  %90 = getelementptr inbounds %"struct.agge::dash::dash_gap", ptr %89, i32 0, i32 1
  %91 = load float, ptr %90, align 4, !tbaa !28
  %92 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %93 = load float, ptr %92, align 8, !tbaa !20
  %94 = fadd float %93, %91
  store float %94, ptr %92, align 8, !tbaa !20
  %95 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 2
  %96 = load ptr, ptr %95, align 8, !tbaa !27
  %97 = getelementptr inbounds %"struct.agge::dash::dash_gap", ptr %96, i32 1
  store ptr %97, ptr %95, align 8, !tbaa !27
  %98 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 8
  %99 = call noundef ptr @_ZN4agge10pod_vectorINS_4dash8dash_gapEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %98)
  %100 = icmp eq ptr %97, %99
  br i1 %100, label %101, label %105

101:                                              ; preds = %85
  %102 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 8
  %103 = call noundef ptr @_ZN4agge10pod_vectorINS_4dash8dash_gapEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %102)
  %104 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 2
  store ptr %103, ptr %104, align 8, !tbaa !27
  br label %105

105:                                              ; preds = %101, %85
  %106 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 2
  %107 = load ptr, ptr %106, align 8, !tbaa !27
  %108 = getelementptr inbounds %"struct.agge::dash::dash_gap", ptr %107, i32 0, i32 0
  %109 = load float, ptr %108, align 4, !tbaa !30
  %110 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 4
  store float %109, ptr %110, align 4, !tbaa !23
  %111 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 3
  %112 = load float, ptr %111, align 8, !tbaa !20
  %113 = fcmp olt float %112, 0.000000e+00
  %114 = zext i1 %113 to i64
  %115 = select i1 %113, i32 2, i32 1
  %116 = getelementptr inbounds %"class.agge::dash", ptr %8, i32 0, i32 7
  store i32 %115, ptr %116, align 4, !tbaa !9
  store i32 2, ptr %4, align 4
  br label %119

117:                                              ; preds = %3
  store i32 0, ptr %4, align 4
  br label %119

118:                                              ; preds = %3
  store i32 0, ptr %4, align 4
  br label %119

119:                                              ; preds = %118, %117, %105, %84, %36, %28
  %120 = load i32, ptr %4, align 4
  ret i32 %120
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4agge4dash15seek_dash_startEv(ptr noundef nonnull align 8 dereferenceable(88)) #0 align 2

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

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

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

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

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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, !15, i64 60}
!10 = !{!"_ZTSN4agge4dashE", !11, i64 0, !6, i64 24, !6, i64 32, !13, i64 40, !13, i64 44, !13, i64 48, !14, i64 52, !15, i64 60, !16, i64 64}
!11 = !{!"_ZTSN4agge15vertex_sequenceE", !12, i64 0}
!12 = !{!"_ZTSN4agge10pod_vectorINS_6vertexEEE", !6, i64 0, !6, i64 8, !6, i64 16}
!13 = !{!"float", !7, i64 0}
!14 = !{!"_ZTSN4agge5pointIfEE", !13, i64 0, !13, i64 4}
!15 = !{!"_ZTSN4agge4dash5stateE", !7, i64 0}
!16 = !{!"_ZTSN4agge10pod_vectorINS_4dash8dash_gapEEE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!10, !6, i64 24}
!18 = !{!19, !13, i64 8}
!19 = !{!"_ZTSN4agge6vertexE", !14, i64 0, !13, i64 8}
!20 = !{!10, !13, i64 40}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!10, !13, i64 44}
!24 = !{!19, !13, i64 0}
!25 = !{!13, !13, i64 0}
!26 = !{!19, !13, i64 4}
!27 = !{!10, !6, i64 32}
!28 = !{!29, !13, i64 4}
!29 = !{!"_ZTSN4agge4dash8dash_gapE", !13, i64 0, !13, i64 4}
!30 = !{!29, !13, 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"

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 3) i32 @_ZN4agge4dash6vertexEPfS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1, ptr noundef %2) local_unnamed_addr #0 align 2 {
  %4 = getelementptr inbounds i8, ptr %0, i64 60
  %5 = load i32, ptr %4, align 4, !tbaa !5
  switch i32 %5, label %69 [
    i32 0, label %6
    i32 1, label %9
    i32 2, label %.loopexit
    i32 3, label %31
    i32 4, label %48
  ]

6:                                                ; preds = %3
  %7 = tail call noundef ptr @_ZN4agge10pod_vectorINS_6vertexEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %8 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %7, ptr %8, align 8, !tbaa !16
  tail call void @_ZN4agge4dash15seek_dash_startEv(ptr noundef nonnull align 8 dereferenceable(88) %0)
  br label %9

9:                                                ; preds = %6, %3
  %10 = getelementptr inbounds i8, ptr %0, i64 24
  %11 = getelementptr inbounds i8, ptr %0, i64 40
  %.pre7 = load float, ptr %11, align 8, !tbaa !17
  br label %12

12:                                               ; preds = %21, %9
  %13 = phi float [ %22, %21 ], [ %.pre7, %9 ]
  %14 = load ptr, ptr %10, align 8, !tbaa !16
  %15 = getelementptr inbounds i8, ptr %14, i64 8
  %16 = load float, ptr %15, align 4, !tbaa !18
  %17 = fsub float %13, %16
  store float %17, ptr %11, align 8, !tbaa !17
  %18 = getelementptr inbounds i8, ptr %14, i64 12
  store ptr %18, ptr %10, align 8, !tbaa !16
  %19 = tail call noundef ptr @_ZN4agge10pod_vectorINS_6vertexEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %20 = icmp eq ptr %18, %19
  br i1 %20, label %.sink.split, label %21

21:                                               ; preds = %12
  %22 = load float, ptr %11, align 8, !tbaa !17
  %23 = fcmp ogt float %22, 0.000000e+00
  br i1 %23, label %12, label %.loopexit, !llvm.loop !20

.loopexit:                                        ; preds = %21, %3
  tail call void @_ZNK4agge4dash19interpolate_currentEPfS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1, ptr noundef %2)
  %24 = getelementptr inbounds i8, ptr %0, i64 44
  %25 = load float, ptr %24, align 4, !tbaa !22
  %26 = getelementptr inbounds i8, ptr %0, i64 40
  %27 = load float, ptr %26, align 8, !tbaa !17
  %28 = fadd float %25, %27
  store float %28, ptr %26, align 8, !tbaa !17
  %29 = fcmp ogt float %28, 0.000000e+00
  %30 = select i1 %29, i32 3, i32 4
  br label %.sink.split

31:                                               ; preds = %3
  %32 = getelementptr inbounds i8, ptr %0, i64 24
  %33 = load ptr, ptr %32, align 8, !tbaa !16
  %34 = load float, ptr %33, align 4, !tbaa !23
  store float %34, ptr %1, align 4, !tbaa !24
  %35 = getelementptr inbounds i8, ptr %33, i64 4
  %36 = load float, ptr %35, align 4, !tbaa !25
  store float %36, ptr %2, align 4, !tbaa !24
  %37 = getelementptr inbounds i8, ptr %33, i64 8
  %38 = load float, ptr %37, align 4, !tbaa !18
  %39 = getelementptr inbounds i8, ptr %0, i64 40
  %40 = load float, ptr %39, align 8, !tbaa !17
  %41 = fsub float %40, %38
  store float %41, ptr %39, align 8, !tbaa !17
  %42 = getelementptr inbounds i8, ptr %33, i64 12
  store ptr %42, ptr %32, align 8, !tbaa !16
  %43 = tail call noundef ptr @_ZN4agge10pod_vectorINS_6vertexEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0)
  %44 = icmp eq ptr %42, %43
  br i1 %44, label %.sink.split, label %45

45:                                               ; preds = %31
  %46 = load float, ptr %39, align 8, !tbaa !17
  %47 = fcmp olt float %46, 0.000000e+00
  br i1 %47, label %.sink.split, label %69

48:                                               ; preds = %3
  tail call void @_ZNK4agge4dash19interpolate_currentEPfS1_(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1, ptr noundef %2)
  %49 = getelementptr inbounds i8, ptr %0, i64 32
  %50 = load ptr, ptr %49, align 8, !tbaa !26
  %51 = getelementptr inbounds i8, ptr %50, i64 4
  %52 = load float, ptr %51, align 4, !tbaa !27
  %53 = getelementptr inbounds i8, ptr %0, i64 40
  %54 = load float, ptr %53, align 8, !tbaa !17
  %55 = fadd float %52, %54
  store float %55, ptr %53, align 8, !tbaa !17
  %56 = getelementptr inbounds i8, ptr %50, i64 8
  store ptr %56, ptr %49, align 8, !tbaa !26
  %57 = getelementptr inbounds i8, ptr %0, i64 64
  %58 = tail call noundef ptr @_ZN4agge10pod_vectorINS_4dash8dash_gapEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %57)
  %59 = icmp eq ptr %56, %58
  br i1 %59, label %60, label %._crit_edge

._crit_edge:                                      ; preds = %48
  %.pre = load ptr, ptr %49, align 8, !tbaa !26
  br label %62

60:                                               ; preds = %48
  %61 = tail call noundef ptr @_ZN4agge10pod_vectorINS_4dash8dash_gapEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %57)
  store ptr %61, ptr %49, align 8, !tbaa !26
  br label %62

62:                                               ; preds = %._crit_edge, %60
  %63 = phi ptr [ %.pre, %._crit_edge ], [ %61, %60 ]
  %64 = load float, ptr %63, align 4, !tbaa !29
  %65 = getelementptr inbounds i8, ptr %0, i64 44
  store float %64, ptr %65, align 4, !tbaa !22
  %66 = load float, ptr %53, align 8, !tbaa !17
  %67 = fcmp olt float %66, 0.000000e+00
  %68 = select i1 %67, i32 2, i32 1
  br label %.sink.split

.sink.split:                                      ; preds = %12, %45, %31, %.loopexit, %62
  %.sink = phi i32 [ %68, %62 ], [ %30, %.loopexit ], [ 5, %31 ], [ 4, %45 ], [ 5, %12 ]
  %.0.ph = phi i32 [ 2, %62 ], [ 1, %.loopexit ], [ 2, %31 ], [ 2, %45 ], [ 0, %12 ]
  store i32 %.sink, ptr %4, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %.sink.split, %3, %45
  %.0 = phi i32 [ 2, %45 ], [ 0, %3 ], [ %.0.ph, %.sink.split ]
  ret i32 %.0
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4agge4dash15seek_dash_startEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #0 align 2

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

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

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

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

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!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, !14, i64 60}
!6 = !{!"_ZTSN4agge4dashE", !7, i64 0, !9, i64 24, !9, i64 32, !12, i64 40, !12, i64 44, !12, i64 48, !13, i64 52, !14, i64 60, !15, i64 64}
!7 = !{!"_ZTSN4agge15vertex_sequenceE", !8, i64 0}
!8 = !{!"_ZTSN4agge10pod_vectorINS_6vertexEEE", !9, i64 0, !9, i64 8, !9, i64 16}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"float", !10, i64 0}
!13 = !{!"_ZTSN4agge5pointIfEE", !12, i64 0, !12, i64 4}
!14 = !{!"_ZTSN4agge4dash5stateE", !10, i64 0}
!15 = !{!"_ZTSN4agge10pod_vectorINS_4dash8dash_gapEEE", !9, i64 0, !9, i64 8, !9, i64 16}
!16 = !{!6, !9, i64 24}
!17 = !{!6, !12, i64 40}
!18 = !{!19, !12, i64 8}
!19 = !{!"_ZTSN4agge6vertexE", !13, i64 0, !12, i64 8}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !12, i64 44}
!23 = !{!19, !12, i64 0}
!24 = !{!12, !12, i64 0}
!25 = !{!19, !12, i64 4}
!26 = !{!6, !9, i64 32}
!27 = !{!28, !12, i64 4}
!28 = !{!"_ZTSN4agge4dash8dash_gapE", !12, i64 0, !12, i64 4}
!29 = !{!28, !12, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass