; LLVM IR from pantor/ruckig :: src/ruckig (velocity_third_step1)

; 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.ruckig::Block::Interval" = type { double, double, %"class.ruckig::Profile" }
%"class.ruckig::Profile" = type <{ %"struct.std::array.0", %"struct.std::array.0", %"struct.std::array.0", %"struct.std::array.1", %"struct.std::array.1", %"struct.std::array.1", %"class.ruckig::BrakeProfile", %"class.ruckig::BrakeProfile", double, double, double, i32, i32, i32, [4 x i8] }>
%"struct.std::array.0" = type { [7 x double] }
%"struct.std::array.1" = type { [8 x double] }
%"class.ruckig::BrakeProfile" = type { double, %"struct.std::array.2", %"struct.std::array.2", %"struct.std::array.2", %"struct.std::array.2", %"struct.std::array.2" }
%"struct.std::array.2" = type { [2 x double] }
%"class.ruckig::VelocityThirdOrderStep1" = type { double, double, double, double, double, double, %"struct.std::array" }
%"struct.std::array" = type { [3 x %"class.ruckig::Profile"] }
%"class.ruckig::Block" = type { %"class.ruckig::Profile", double, %"class.std::optional", %"class.std::optional" }
%"class.std::optional" = type { %"struct.std::_Optional_base" }
%"struct.std::_Optional_base" = type { %"struct.std::_Optional_payload" }
%"struct.std::_Optional_payload" = type { %"struct.std::_Optional_payload_base.base", [7 x i8] }
%"struct.std::_Optional_payload_base.base" = type <{ %"union.std::_Optional_payload_base<ruckig::Block::Interval>::_Storage", i8 }>
%"union.std::_Optional_payload_base<ruckig::Block::Interval>::_Storage" = type { %"struct.ruckig::Block::Interval" }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776), ptr noundef nonnull align 8 dereferenceable(8), double noundef, double noundef, double noundef, i1 noundef zeroext) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776), ptr noundef nonnull align 8 dereferenceable(8), double noundef, double noundef, double noundef, i1 noundef zeroext) #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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6ruckig23VelocityThirdOrderStep120time_all_single_stepEPNS_7ProfileEddd(ptr noundef nonnull align 8 dereferenceable(1776), ptr noundef, double noundef, double noundef, double noundef) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6ruckig23VelocityThirdOrderStep111get_profileERKNS_7ProfileERNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(572) %1, ptr noundef nonnull align 8 dereferenceable(1784) %2) #0 align 2 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.ruckig::Block::Interval", align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, 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
  %16 = load ptr, ptr %5, align 8
  %17 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %18 = load double, ptr %17, align 8, !tbaa !9
  %19 = fcmp oeq double %18, 0.000000e+00
  br i1 %19, label %20, label %65

20:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.ruckig::Block", ptr %21, i32 0, i32 0
  store ptr %22, ptr %8, align 8, !tbaa !5
  %23 = load ptr, ptr %8, align 8, !tbaa !5
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6ruckig7Profile12set_boundaryERKS0_(ptr noundef nonnull align 8 dereferenceable(572) %23, ptr noundef nonnull align 8 dereferenceable(572) %24)
  %25 = load ptr, ptr %8, align 8, !tbaa !5
  %26 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %27 = load double, ptr %26, align 8, !tbaa !13
  %28 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %29 = load double, ptr %28, align 8, !tbaa !14
  %30 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %31 = load double, ptr %30, align 8, !tbaa !9
  %32 = call noundef zeroext i1 @_ZNK6ruckig23VelocityThirdOrderStep120time_all_single_stepEPNS_7ProfileEddd(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef %25, double noundef %27, double noundef %29, double noundef %31)
  br i1 %32, label %33, label %63

33:                                               ; preds = %20
  %34 = load ptr, ptr %8, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.ruckig::Profile", ptr %34, i32 0, i32 1
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm7EE4backEv(ptr noundef nonnull align 8 dereferenceable(56) %35) #6
  %37 = load double, ptr %36, align 8, !tbaa !15
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.ruckig::Profile", ptr %38, i32 0, i32 6
  %40 = getelementptr inbounds %"class.ruckig::BrakeProfile", ptr %39, i32 0, i32 0
  %41 = load double, ptr %40, align 8, !tbaa !16
  %42 = fadd double %37, %41
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.ruckig::Profile", ptr %43, i32 0, i32 7
  %45 = getelementptr inbounds %"class.ruckig::BrakeProfile", ptr %44, i32 0, i32 0
  %46 = load double, ptr %45, align 8, !tbaa !25
  %47 = fadd double %42, %46
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.ruckig::Block", ptr %48, i32 0, i32 1
  store double %47, ptr %49, align 8, !tbaa !26
  %50 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 0
  %51 = load double, ptr %50, align 8, !tbaa !33
  %52 = call noundef double @_ZSt3absd(double noundef %51)
  %53 = fcmp ogt double %52, 0x3CB0000000000000
  br i1 %53, label %54, label %62

54:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 592, ptr %9) #6
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.ruckig::Block", ptr %55, i32 0, i32 1
  %57 = load double, ptr %56, align 8, !tbaa !26
  %58 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  call void @_ZN6ruckig5Block8IntervalC2Edd(ptr noundef nonnull align 8 dereferenceable(592) %9, double noundef %57, double noundef %58)
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = getelementptr inbounds %"class.ruckig::Block", ptr %59, i32 0, i32 2
  %61 = call noundef nonnull align 8 dereferenceable(600) ptr @_ZNSt8optionalIN6ruckig5Block8IntervalEEaSIS2_EENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS3_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES6_ISt6__and_IJSt9is_scalarIS2_ES7_IS2_NSt5decayISA_E4typeEEEEESt16is_constructibleIS2_JSA_EESt13is_assignableIRS2_SA_EEERS3_E4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(600) %60, ptr noundef nonnull align 8 dereferenceable(592) %9) #6
  call void @llvm.lifetime.end.p0(i64 592, ptr %9) #6
  br label %62

62:                                               ; preds = %54, %33
  store i1 true, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %64

63:                                               ; preds = %20
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %64

64:                                               ; preds = %63, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  br label %178

65:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %66 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 6
  %67 = call noundef ptr @_ZNSt5arrayIN6ruckig7ProfileELm3EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1728) %66) #7
  store ptr %67, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %68 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %68, ptr %12, align 8, !tbaa !5
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN6ruckig7Profile12set_boundaryERKS0_(ptr noundef nonnull align 8 dereferenceable(572) %69, ptr noundef nonnull align 8 dereferenceable(572) %70)
  %71 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 1
  %72 = load double, ptr %71, align 8, !tbaa !34
  %73 = call noundef double @_ZSt3absd(double noundef %72)
  %74 = fcmp olt double %73, 0x3CB0000000000000
  br i1 %74, label %75, label %142

75:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %76 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 5
  %77 = load double, ptr %76, align 8, !tbaa !35
  %78 = fcmp oge double %77, 0.000000e+00
  br i1 %78, label %79, label %82

79:                                               ; preds = %75
  %80 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %81 = load double, ptr %80, align 8, !tbaa !13
  br label %85

82:                                               ; preds = %75
  %83 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %84 = load double, ptr %83, align 8, !tbaa !14
  br label %85

85:                                               ; preds = %82, %79
  %86 = phi double [ %81, %79 ], [ %84, %82 ]
  store double %86, ptr %13, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %87 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 5
  %88 = load double, ptr %87, align 8, !tbaa !35
  %89 = fcmp oge double %88, 0.000000e+00
  br i1 %89, label %90, label %93

90:                                               ; preds = %85
  %91 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %92 = load double, ptr %91, align 8, !tbaa !14
  br label %96

93:                                               ; preds = %85
  %94 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %95 = load double, ptr %94, align 8, !tbaa !13
  br label %96

96:                                               ; preds = %93, %90
  %97 = phi double [ %92, %90 ], [ %95, %93 ]
  store double %97, ptr %14, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %98 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 5
  %99 = load double, ptr %98, align 8, !tbaa !35
  %100 = fcmp oge double %99, 0.000000e+00
  br i1 %100, label %101, label %104

101:                                              ; preds = %96
  %102 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %103 = load double, ptr %102, align 8, !tbaa !9
  br label %108

104:                                              ; preds = %96
  %105 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %106 = load double, ptr %105, align 8, !tbaa !9
  %107 = fneg double %106
  br label %108

108:                                              ; preds = %104, %101
  %109 = phi double [ %103, %101 ], [ %107, %104 ]
  store double %109, ptr %15, align 8, !tbaa !15
  %110 = load double, ptr %13, align 8, !tbaa !15
  %111 = load double, ptr %14, align 8, !tbaa !15
  %112 = load double, ptr %15, align 8, !tbaa !15
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %110, double noundef %111, double noundef %112, i1 noundef zeroext true)
  %113 = load ptr, ptr %12, align 8, !tbaa !5
  %114 = load ptr, ptr %11, align 8, !tbaa !5
  %115 = icmp ugt ptr %113, %114
  br i1 %115, label %116, label %117

116:                                              ; preds = %108
  store i32 2, ptr %10, align 4
  br label %139

117:                                              ; preds = %108
  %118 = load double, ptr %13, align 8, !tbaa !15
  %119 = load double, ptr %14, align 8, !tbaa !15
  %120 = load double, ptr %15, align 8, !tbaa !15
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %118, double noundef %119, double noundef %120, i1 noundef zeroext true)
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = load ptr, ptr %11, align 8, !tbaa !5
  %123 = icmp ugt ptr %121, %122
  br i1 %123, label %124, label %125

124:                                              ; preds = %117
  store i32 2, ptr %10, align 4
  br label %139

125:                                              ; preds = %117
  %126 = load double, ptr %14, align 8, !tbaa !15
  %127 = load double, ptr %13, align 8, !tbaa !15
  %128 = load double, ptr %15, align 8, !tbaa !15
  %129 = fneg double %128
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %126, double noundef %127, double noundef %129, i1 noundef zeroext true)
  %130 = load ptr, ptr %12, align 8, !tbaa !5
  %131 = load ptr, ptr %11, align 8, !tbaa !5
  %132 = icmp ugt ptr %130, %131
  br i1 %132, label %133, label %134

133:                                              ; preds = %125
  store i32 2, ptr %10, align 4
  br label %139

134:                                              ; preds = %125
  %135 = load double, ptr %14, align 8, !tbaa !15
  %136 = load double, ptr %13, align 8, !tbaa !15
  %137 = load double, ptr %15, align 8, !tbaa !15
  %138 = fneg double %137
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %135, double noundef %136, double noundef %138, i1 noundef zeroext true)
  store i32 0, ptr %10, align 4
  br label %139

139:                                              ; preds = %134, %133, %124, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  %140 = load i32, ptr %10, align 4
  switch i32 %140, label %177 [
    i32 0, label %141
    i32 2, label %170
  ]

141:                                              ; preds = %139
  br label %169

142:                                              ; preds = %65
  %143 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %144 = load double, ptr %143, align 8, !tbaa !13
  %145 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %146 = load double, ptr %145, align 8, !tbaa !14
  %147 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %148 = load double, ptr %147, align 8, !tbaa !9
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %144, double noundef %146, double noundef %148, i1 noundef zeroext false)
  %149 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %150 = load double, ptr %149, align 8, !tbaa !14
  %151 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %152 = load double, ptr %151, align 8, !tbaa !13
  %153 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %154 = load double, ptr %153, align 8, !tbaa !9
  %155 = fneg double %154
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %150, double noundef %152, double noundef %155, i1 noundef zeroext false)
  %156 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %157 = load double, ptr %156, align 8, !tbaa !13
  %158 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %159 = load double, ptr %158, align 8, !tbaa !14
  %160 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %161 = load double, ptr %160, align 8, !tbaa !9
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %157, double noundef %159, double noundef %161, i1 noundef zeroext false)
  %162 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 3
  %163 = load double, ptr %162, align 8, !tbaa !14
  %164 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 2
  %165 = load double, ptr %164, align 8, !tbaa !13
  %166 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 4
  %167 = load double, ptr %166, align 8, !tbaa !9
  %168 = fneg double %167
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %16, ptr noundef nonnull align 8 dereferenceable(8) %12, double noundef %163, double noundef %165, double noundef %168, i1 noundef zeroext false)
  br label %169

169:                                              ; preds = %142, %141
  br label %170

170:                                              ; preds = %169, %139
  %171 = load ptr, ptr %7, align 8, !tbaa !5
  %172 = getelementptr inbounds %"class.ruckig::VelocityThirdOrderStep1", ptr %16, i32 0, i32 6
  %173 = load ptr, ptr %11, align 8, !tbaa !5
  %174 = load ptr, ptr %12, align 8, !tbaa !5
  %175 = call noundef i64 @_ZSt8distanceIPN6ruckig7ProfileEENSt15iterator_traitsIT_E15difference_typeES4_S4_(ptr noundef %173, ptr noundef %174)
  %176 = call noundef zeroext i1 @_ZN6ruckig5Block15calculate_blockILm3ELb1EEEbRS0_RSt5arrayINS_7ProfileEXT_EEm(ptr noundef nonnull align 8 dereferenceable(1784) %171, ptr noundef nonnull align 8 dereferenceable(1728) %172, i64 noundef %175)
  store i1 %176, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %177

177:                                              ; preds = %170, %139
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %178

178:                                              ; preds = %177, %64
  %179 = load i1, ptr %4, align 1
  ret i1 %179
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6ruckig7Profile12set_boundaryERKS0_(ptr noundef nonnull align 8 dereferenceable(572), ptr noundef nonnull align 8 dereferenceable(572)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm7EE4backEv(ptr noundef nonnull align 8 dereferenceable(56)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ruckig5Block8IntervalC2Edd(ptr noundef nonnull align 8 dereferenceable(592), double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(600) ptr @_ZNSt8optionalIN6ruckig5Block8IntervalEEaSIS2_EENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS3_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES6_ISt6__and_IJSt9is_scalarIS2_ES7_IS2_NSt5decayISA_E4typeEEEEESt16is_constructibleIS2_JSA_EESt13is_assignableIRS2_SA_EEERS3_E4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(600), ptr noundef nonnull align 8 dereferenceable(592)) #3 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIN6ruckig7ProfileELm3EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1728)) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ruckig5Block15calculate_blockILm3ELb1EEEbRS0_RSt5arrayINS_7ProfileEXT_EEm(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(1728), i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt8distanceIPN6ruckig7ProfileEENSt15iterator_traitsIT_E15difference_typeES4_S4_(ptr noundef, ptr noundef) #5

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #3 = { 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 nounwind willreturn memory(none) 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 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }

!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, !11, i64 32}
!10 = !{!"_ZTSN6ruckig23VelocityThirdOrderStep1E", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !12, i64 48}
!11 = !{!"double", !7, i64 0}
!12 = !{!"_ZTSSt5arrayIN6ruckig7ProfileELm3EE", !7, i64 0}
!13 = !{!10, !11, i64 16}
!14 = !{!10, !11, i64 24}
!15 = !{!11, !11, i64 0}
!16 = !{!17, !11, i64 360}
!17 = !{!"_ZTSN6ruckig7ProfileE", !18, i64 0, !18, i64 56, !18, i64 112, !19, i64 168, !19, i64 232, !19, i64 296, !20, i64 360, !20, i64 448, !11, i64 536, !11, i64 544, !11, i64 552, !22, i64 560, !23, i64 564, !24, i64 568}
!18 = !{!"_ZTSSt5arrayIdLm7EE", !7, i64 0}
!19 = !{!"_ZTSSt5arrayIdLm8EE", !7, i64 0}
!20 = !{!"_ZTSN6ruckig12BrakeProfileE", !11, i64 0, !21, i64 8, !21, i64 24, !21, i64 40, !21, i64 56, !21, i64 72}
!21 = !{!"_ZTSSt5arrayIdLm2EE", !7, i64 0}
!22 = !{!"_ZTSN6ruckig7Profile13ReachedLimitsE", !7, i64 0}
!23 = !{!"_ZTSN6ruckig7Profile9DirectionE", !7, i64 0}
!24 = !{!"_ZTSN6ruckig7Profile12ControlSignsE", !7, i64 0}
!25 = !{!17, !11, i64 448}
!26 = !{!27, !11, i64 576}
!27 = !{!"_ZTSN6ruckig5BlockE", !17, i64 0, !11, i64 576, !28, i64 584, !28, i64 1184}
!28 = !{!"_ZTSSt8optionalIN6ruckig5Block8IntervalEE", !29, i64 0}
!29 = !{!"_ZTSSt14_Optional_baseIN6ruckig5Block8IntervalELb1ELb1EE", !30, i64 0}
!30 = !{!"_ZTSSt17_Optional_payloadIN6ruckig5Block8IntervalELb1ELb1ELb1EE", !31, i64 0}
!31 = !{!"_ZTSSt22_Optional_payload_baseIN6ruckig5Block8IntervalEE", !7, i64 0, !32, i64 592}
!32 = !{!"bool", !7, i64 0}
!33 = !{!10, !11, i64 0}
!34 = !{!10, !11, i64 8}
!35 = !{!10, !11, i64 40}


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

%"struct.ruckig::Block::Interval" = type { double, double, %"class.ruckig::Profile" }
%"class.ruckig::Profile" = type <{ %"struct.std::array.0", %"struct.std::array.0", %"struct.std::array.0", %"struct.std::array.1", %"struct.std::array.1", %"struct.std::array.1", %"class.ruckig::BrakeProfile", %"class.ruckig::BrakeProfile", double, double, double, i32, i32, i32, [4 x i8] }>
%"struct.std::array.0" = type { [7 x double] }
%"struct.std::array.1" = type { [8 x double] }
%"class.ruckig::BrakeProfile" = type { double, %"struct.std::array.2", %"struct.std::array.2", %"struct.std::array.2", %"struct.std::array.2", %"struct.std::array.2" }
%"struct.std::array.2" = type { [2 x double] }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776), ptr noundef nonnull align 8 dereferenceable(8), double noundef, double noundef, double noundef, i1 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776), ptr noundef nonnull align 8 dereferenceable(8), double noundef, double noundef, double noundef, i1 noundef zeroext) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK6ruckig23VelocityThirdOrderStep120time_all_single_stepEPNS_7ProfileEddd(ptr noundef nonnull align 8 dereferenceable(1776), ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN6ruckig23VelocityThirdOrderStep111get_profileERKNS_7ProfileERNS_5BlockE(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(572) %1, ptr noundef nonnull align 8 dereferenceable(1784) %2) local_unnamed_addr #0 align 2 {
  %4 = alloca %"struct.ruckig::Block::Interval", align 8
  %5 = alloca ptr, align 8
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = load double, ptr %6, align 8, !tbaa !5
  %8 = fcmp oeq double %7, 0.000000e+00
  br i1 %8, label %9, label %35

9:                                                ; preds = %3
  tail call void @_ZN6ruckig7Profile12set_boundaryERKS0_(ptr noundef nonnull align 8 dereferenceable(572) %2, ptr noundef nonnull align 8 dereferenceable(572) %1)
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load double, ptr %10, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  %13 = load double, ptr %12, align 8, !tbaa !12
  %14 = load double, ptr %6, align 8, !tbaa !5
  %15 = tail call noundef zeroext i1 @_ZNK6ruckig23VelocityThirdOrderStep120time_all_single_stepEPNS_7ProfileEddd(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull %2, double noundef %11, double noundef %13, double noundef %14)
  br i1 %15, label %16, label %84

16:                                               ; preds = %9
  %17 = getelementptr inbounds i8, ptr %2, i64 56
  %18 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm7EE4backEv(ptr noundef nonnull align 8 dereferenceable(56) %17) #6
  %19 = load double, ptr %18, align 8, !tbaa !13
  %20 = getelementptr inbounds i8, ptr %2, i64 360
  %21 = load double, ptr %20, align 8, !tbaa !14
  %22 = fadd double %19, %21
  %23 = getelementptr inbounds i8, ptr %2, i64 448
  %24 = load double, ptr %23, align 8, !tbaa !23
  %25 = fadd double %22, %24
  %26 = getelementptr inbounds i8, ptr %2, i64 576
  store double %25, ptr %26, align 8, !tbaa !24
  %27 = load double, ptr %0, align 8, !tbaa !31
  %28 = tail call noundef double @_ZSt3absd(double noundef %27)
  %29 = fcmp ogt double %28, 0x3CB0000000000000
  br i1 %29, label %30, label %84

30:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 592, ptr nonnull %4) #6
  %31 = load double, ptr %26, align 8, !tbaa !24
  %32 = tail call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  call void @_ZN6ruckig5Block8IntervalC2Edd(ptr noundef nonnull align 8 dereferenceable(592) %4, double noundef %31, double noundef %32)
  %33 = getelementptr inbounds i8, ptr %2, i64 584
  %34 = call noundef nonnull align 8 dereferenceable(600) ptr @_ZNSt8optionalIN6ruckig5Block8IntervalEEaSIS2_EENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS3_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES6_ISt6__and_IJSt9is_scalarIS2_ES7_IS2_NSt5decayISA_E4typeEEEEESt16is_constructibleIS2_JSA_EESt13is_assignableIRS2_SA_EEERS3_E4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(600) %33, ptr noundef nonnull align 8 dereferenceable(592) %4) #6
  call void @llvm.lifetime.end.p0(i64 592, ptr nonnull %4) #6
  br label %84

35:                                               ; preds = %3
  %36 = getelementptr inbounds i8, ptr %0, i64 48
  %37 = tail call noundef ptr @_ZNSt5arrayIN6ruckig7ProfileELm3EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1728) %36) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  store ptr %37, ptr %5, align 8, !tbaa !32
  tail call void @_ZN6ruckig7Profile12set_boundaryERKS0_(ptr noundef nonnull align 8 dereferenceable(572) %37, ptr noundef nonnull align 8 dereferenceable(572) %1)
  %38 = getelementptr inbounds i8, ptr %0, i64 8
  %39 = load double, ptr %38, align 8, !tbaa !34
  %40 = tail call noundef double @_ZSt3absd(double noundef %39)
  %41 = fcmp olt double %40, 0x3CB0000000000000
  br i1 %41, label %42, label %63

42:                                               ; preds = %35
  %43 = getelementptr inbounds i8, ptr %0, i64 40
  %44 = load double, ptr %43, align 8, !tbaa !35
  %45 = fcmp ult double %44, 0.000000e+00
  %46 = getelementptr inbounds i8, ptr %0, i64 16
  %47 = getelementptr inbounds i8, ptr %0, i64 24
  %.val = load double, ptr %47, align 8
  %.val34 = load double, ptr %46, align 8
  %48 = select i1 %45, double %.val, double %.val34
  %49 = select i1 %45, double %.val34, double %.val
  %50 = load double, ptr %6, align 8
  %51 = fneg double %50
  %52 = select i1 %45, double %51, double %50
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %48, double noundef %49, double noundef %52, i1 noundef zeroext true)
  %53 = load ptr, ptr %5, align 8, !tbaa !32
  %54 = icmp ugt ptr %53, %37
  br i1 %54, label %80, label %55

55:                                               ; preds = %42
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %48, double noundef %49, double noundef %52, i1 noundef zeroext true)
  %56 = load ptr, ptr %5, align 8, !tbaa !32
  %57 = icmp ugt ptr %56, %37
  br i1 %57, label %80, label %58

58:                                               ; preds = %55
  %59 = fneg double %52
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %49, double noundef %48, double noundef %59, i1 noundef zeroext true)
  %60 = load ptr, ptr %5, align 8, !tbaa !32
  %61 = icmp ugt ptr %60, %37
  br i1 %61, label %80, label %62

62:                                               ; preds = %58
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %49, double noundef %48, double noundef %59, i1 noundef zeroext true)
  br label %80

63:                                               ; preds = %35
  %64 = getelementptr inbounds i8, ptr %0, i64 16
  %65 = load double, ptr %64, align 8, !tbaa !11
  %66 = getelementptr inbounds i8, ptr %0, i64 24
  %67 = load double, ptr %66, align 8, !tbaa !12
  %68 = load double, ptr %6, align 8, !tbaa !5
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %65, double noundef %67, double noundef %68, i1 noundef zeroext false)
  %69 = load double, ptr %66, align 8, !tbaa !12
  %70 = load double, ptr %64, align 8, !tbaa !11
  %71 = load double, ptr %6, align 8, !tbaa !5
  %72 = fneg double %71
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_noneERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %69, double noundef %70, double noundef %72, i1 noundef zeroext false)
  %73 = load double, ptr %64, align 8, !tbaa !11
  %74 = load double, ptr %66, align 8, !tbaa !12
  %75 = load double, ptr %6, align 8, !tbaa !5
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %73, double noundef %74, double noundef %75, i1 noundef zeroext false)
  %76 = load double, ptr %66, align 8, !tbaa !12
  %77 = load double, ptr %64, align 8, !tbaa !11
  %78 = load double, ptr %6, align 8, !tbaa !5
  %79 = fneg double %78
  call void @_ZNK6ruckig23VelocityThirdOrderStep19time_acc0ERPNS_7ProfileEdddb(ptr noundef nonnull align 8 dereferenceable(1776) %0, ptr noundef nonnull align 8 dereferenceable(8) %5, double noundef %76, double noundef %77, double noundef %79, i1 noundef zeroext false)
  br label %80

80:                                               ; preds = %62, %42, %55, %58, %63
  %81 = load ptr, ptr %5, align 8, !tbaa !32
  %82 = call noundef i64 @_ZSt8distanceIPN6ruckig7ProfileEENSt15iterator_traitsIT_E15difference_typeES4_S4_(ptr noundef nonnull %37, ptr noundef %81)
  %83 = call noundef zeroext i1 @_ZN6ruckig5Block15calculate_blockILm3ELb1EEEbRS0_RSt5arrayINS_7ProfileEXT_EEm(ptr noundef nonnull align 8 dereferenceable(1784) %2, ptr noundef nonnull align 8 dereferenceable(1728) %36, i64 noundef %82)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  br label %84

84:                                               ; preds = %30, %16, %9, %80
  %.2 = phi i1 [ %83, %80 ], [ false, %9 ], [ true, %16 ], [ true, %30 ]
  ret i1 %.2
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm7EE4backEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ruckig5Block8IntervalC2Edd(ptr noundef nonnull align 8 dereferenceable(592), double noundef, double noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(600) ptr @_ZNSt8optionalIN6ruckig5Block8IntervalEEaSIS2_EENSt9enable_ifIX7__and_vISt6__not_ISt7is_sameIS3_NSt9remove_cvINSt16remove_referenceIT_E4typeEE4typeEEES6_ISt6__and_IJSt9is_scalarIS2_ES7_IS2_NSt5decayISA_E4typeEEEEESt16is_constructibleIS2_JSA_EESt13is_assignableIRS2_SA_EEERS3_E4typeEOSA_(ptr noundef nonnull align 8 dereferenceable(600), ptr noundef nonnull align 8 dereferenceable(592)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIN6ruckig7ProfileELm3EE5beginEv(ptr noundef nonnull align 8 dereferenceable(1728)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN6ruckig5Block15calculate_blockILm3ELb1EEEbRS0_RSt5arrayINS_7ProfileEXT_EEm(ptr noundef nonnull align 8 dereferenceable(1784), ptr noundef nonnull align 8 dereferenceable(1728), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i64 @_ZSt8distanceIPN6ruckig7ProfileEENSt15iterator_traitsIT_E15difference_typeES4_S4_(ptr noundef, ptr noundef) local_unnamed_addr #5

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #3 = { 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 nofree nosync nounwind willreturn memory(none) 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 = { inlinehint 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(none) }

!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 32}
!6 = !{!"_ZTSN6ruckig23VelocityThirdOrderStep1E", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !10, i64 48}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt5arrayIN6ruckig7ProfileELm3EE", !8, i64 0}
!11 = !{!6, !7, i64 16}
!12 = !{!6, !7, i64 24}
!13 = !{!7, !7, i64 0}
!14 = !{!15, !7, i64 360}
!15 = !{!"_ZTSN6ruckig7ProfileE", !16, i64 0, !16, i64 56, !16, i64 112, !17, i64 168, !17, i64 232, !17, i64 296, !18, i64 360, !18, i64 448, !7, i64 536, !7, i64 544, !7, i64 552, !20, i64 560, !21, i64 564, !22, i64 568}
!16 = !{!"_ZTSSt5arrayIdLm7EE", !8, i64 0}
!17 = !{!"_ZTSSt5arrayIdLm8EE", !8, i64 0}
!18 = !{!"_ZTSN6ruckig12BrakeProfileE", !7, i64 0, !19, i64 8, !19, i64 24, !19, i64 40, !19, i64 56, !19, i64 72}
!19 = !{!"_ZTSSt5arrayIdLm2EE", !8, i64 0}
!20 = !{!"_ZTSN6ruckig7Profile13ReachedLimitsE", !8, i64 0}
!21 = !{!"_ZTSN6ruckig7Profile9DirectionE", !8, i64 0}
!22 = !{!"_ZTSN6ruckig7Profile12ControlSignsE", !8, i64 0}
!23 = !{!15, !7, i64 448}
!24 = !{!25, !7, i64 576}
!25 = !{!"_ZTSN6ruckig5BlockE", !15, i64 0, !7, i64 576, !26, i64 584, !26, i64 1184}
!26 = !{!"_ZTSSt8optionalIN6ruckig5Block8IntervalEE", !27, i64 0}
!27 = !{!"_ZTSSt14_Optional_baseIN6ruckig5Block8IntervalELb1ELb1EE", !28, i64 0}
!28 = !{!"_ZTSSt17_Optional_payloadIN6ruckig5Block8IntervalELb1ELb1ELb1EE", !29, i64 0}
!29 = !{!"_ZTSSt22_Optional_payload_baseIN6ruckig5Block8IntervalEE", !8, i64 0, !30, i64 592}
!30 = !{!"bool", !8, i64 0}
!31 = !{!6, !7, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"any pointer", !8, i64 0}
!34 = !{!6, !7, i64 8}
!35 = !{!6, !7, i64 40}


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