; LLVM IR from maliput/maliput :: src/maliput/geometry_base (brute_force_strategy)

; 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.maliput::api::LanePositionResult" = type { %"class.maliput::api::LanePosition", %"class.maliput::api::InertialPosition", double }
%"class.maliput::api::LanePosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"class.maliput::api::InertialPosition" = type { %"class.maliput::math::Vector3" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.maliput::api::RoadPositionResult" = type { %"struct.maliput::api::RoadPosition", %"class.maliput::api::InertialPosition", double }
%"struct.maliput::api::RoadPosition" = type { ptr, %"class.maliput::api::LanePosition" }

@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: noreturn
declare void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #0

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

declare void @_ZNK7maliput3api4Lane14ToLanePositionERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"struct.maliput::api::LanePositionResult") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; 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
define dso_local void @_ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %3) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i1, align 1
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.maliput::api::InertialPosition", align 8
  %21 = alloca %"struct.maliput::api::LanePositionResult", align 8
  %22 = alloca %"struct.maliput::api::RoadPositionResult", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store double %3, ptr %8, align 8, !tbaa !9
  %23 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %24 = call noundef ptr @_ZNK7maliput13geometry_base12StrategyBase17get_road_geometryEv(ptr noundef nonnull align 8 dereferenceable(16) %23)
  store ptr %24, ptr %9, align 8, !tbaa !5
  br label %25

25:                                               ; preds = %4
  %26 = load ptr, ptr %9, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.3, ptr noundef @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef @.str.1, i32 noundef 82) #7
  unreachable

29:                                               ; preds = %25
  br label %30

30:                                               ; preds = %29
  br label %31

31:                                               ; preds = %30
  br label %32

32:                                               ; preds = %31
  %33 = load double, ptr %8, align 8, !tbaa !9
  %34 = fcmp oge double %33, 0.000000e+00
  br i1 %34, label %36, label %35

35:                                               ; preds = %32
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.4, ptr noundef @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef @.str.1, i32 noundef 83) #7
  unreachable

36:                                               ; preds = %32
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  store i1 false, ptr %10, align 1
  call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !11
  br label %39

39:                                               ; preds = %173, %38
  %40 = load i32, ptr %11, align 4, !tbaa !11
  %41 = load ptr, ptr %9, align 8, !tbaa !5
  %42 = invoke noundef i32 @_ZNK7maliput3api12RoadGeometry13num_junctionsEv(ptr noundef nonnull align 8 dereferenceable(8) %41)
          to label %43 unwind label %46

43:                                               ; preds = %39
  %44 = icmp slt i32 %40, %42
  br i1 %44, label %50, label %45

45:                                               ; preds = %43
  store i32 6, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %178

46:                                               ; preds = %39
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %12, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %13, align 4
  br label %177

50:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load i32, ptr %11, align 4, !tbaa !11
  %53 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry8junctionEi(ptr noundef nonnull align 8 dereferenceable(8) %51, i32 noundef %52)
          to label %54 unwind label %60

54:                                               ; preds = %50
  store ptr %53, ptr %15, align 8, !tbaa !5
  br label %55

55:                                               ; preds = %54
  %56 = load ptr, ptr %15, align 8, !tbaa !5
  %57 = icmp ne ptr %56, null
  br i1 %57, label %64, label %58

58:                                               ; preds = %55
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.5, ptr noundef @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef @.str.1, i32 noundef 89) #7
          to label %59 unwind label %60

59:                                               ; preds = %58
  unreachable

60:                                               ; preds = %58, %50
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %12, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %13, align 4
  br label %176

64:                                               ; preds = %55
  br label %65

65:                                               ; preds = %64
  br label %66

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  store i32 0, ptr %16, align 4, !tbaa !11
  br label %67

67:                                               ; preds = %167, %66
  %68 = load i32, ptr %16, align 4, !tbaa !11
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = invoke noundef i32 @_ZNK7maliput3api8Junction12num_segmentsEv(ptr noundef nonnull align 8 dereferenceable(8) %69)
          to label %71 unwind label %74

71:                                               ; preds = %67
  %72 = icmp slt i32 %68, %70
  br i1 %72, label %78, label %73

73:                                               ; preds = %71
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %172

74:                                               ; preds = %67
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %12, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %13, align 4
  br label %171

78:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %79 = load ptr, ptr %15, align 8, !tbaa !5
  %80 = load i32, ptr %16, align 4, !tbaa !11
  %81 = invoke noundef ptr @_ZNK7maliput3api8Junction7segmentEi(ptr noundef nonnull align 8 dereferenceable(8) %79, i32 noundef %80)
          to label %82 unwind label %88

82:                                               ; preds = %78
  store ptr %81, ptr %17, align 8, !tbaa !5
  br label %83

83:                                               ; preds = %82
  %84 = load ptr, ptr %17, align 8, !tbaa !5
  %85 = icmp ne ptr %84, null
  br i1 %85, label %92, label %86

86:                                               ; preds = %83
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.6, ptr noundef @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef @.str.1, i32 noundef 92) #7
          to label %87 unwind label %88

87:                                               ; preds = %86
  unreachable

88:                                               ; preds = %86, %78
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %12, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %13, align 4
  br label %170

92:                                               ; preds = %83
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !11
  br label %95

95:                                               ; preds = %159, %94
  %96 = load i32, ptr %18, align 4, !tbaa !11
  %97 = load ptr, ptr %17, align 8, !tbaa !5
  %98 = invoke noundef i32 @_ZNK7maliput3api7Segment9num_lanesEv(ptr noundef nonnull align 8 dereferenceable(8) %97)
          to label %99 unwind label %102

99:                                               ; preds = %95
  %100 = icmp slt i32 %96, %98
  br i1 %100, label %106, label %101

101:                                              ; preds = %99
  store i32 16, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %166

102:                                              ; preds = %95
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %12, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %13, align 4
  br label %165

106:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %107 = load ptr, ptr %17, align 8, !tbaa !5
  %108 = load i32, ptr %18, align 4, !tbaa !11
  %109 = invoke noundef ptr @_ZNK7maliput3api7Segment4laneEi(ptr noundef nonnull align 8 dereferenceable(8) %107, i32 noundef %108)
          to label %110 unwind label %116

110:                                              ; preds = %106
  store ptr %109, ptr %19, align 8, !tbaa !5
  br label %111

111:                                              ; preds = %110
  %112 = load ptr, ptr %19, align 8, !tbaa !5
  %113 = icmp ne ptr %112, null
  br i1 %113, label %120, label %114

114:                                              ; preds = %111
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.7, ptr noundef @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef @.str.1, i32 noundef 95) #7
          to label %115 unwind label %116

115:                                              ; preds = %114
  unreachable

116:                                              ; preds = %114, %106
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %12, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %13, align 4
  br label %164

120:                                              ; preds = %111
  br label %121

121:                                              ; preds = %120
  br label %122

122:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #6
  invoke void @_ZN7maliput3api16InertialPositionC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %123 unwind label %146

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 56, ptr %21) #6
  %124 = load ptr, ptr %19, align 8, !tbaa !5
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK7maliput3api4Lane14ToLanePositionERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"struct.maliput::api::LanePositionResult") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 8 dereferenceable(24) %125)
          to label %126 unwind label %150

126:                                              ; preds = %123
  %127 = load double, ptr %8, align 8, !tbaa !9
  %128 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #6
  %129 = fcmp oeq double %127, %128
  br i1 %129, label %135, label %130

130:                                              ; preds = %126
  %131 = getelementptr inbounds %"struct.maliput::api::LanePositionResult", ptr %21, i32 0, i32 2
  %132 = load double, ptr %131, align 8, !tbaa !13
  %133 = load double, ptr %8, align 8, !tbaa !9
  %134 = fcmp ole double %132, %133
  br i1 %134, label %135, label %158

135:                                              ; preds = %130, %126
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #6
  %136 = getelementptr inbounds %"struct.maliput::api::RoadPositionResult", ptr %22, i32 0, i32 0
  %137 = load ptr, ptr %19, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.maliput::api::LanePositionResult", ptr %21, i32 0, i32 0
  invoke void @_ZN7maliput3api12RoadPositionC2EPKNS0_4LaneERKNS0_12LanePositionE(ptr noundef nonnull align 8 dereferenceable(32) %136, ptr noundef %137, ptr noundef nonnull align 8 dereferenceable(24) %138)
          to label %139 unwind label %154

139:                                              ; preds = %135
  %140 = getelementptr inbounds %"struct.maliput::api::RoadPositionResult", ptr %22, i32 0, i32 1
  %141 = getelementptr inbounds %"struct.maliput::api::LanePositionResult", ptr %21, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %140, ptr align 8 %141, i64 24, i1 false)
  %142 = getelementptr inbounds %"struct.maliput::api::RoadPositionResult", ptr %22, i32 0, i32 2
  %143 = getelementptr inbounds %"struct.maliput::api::LanePositionResult", ptr %21, i32 0, i32 2
  %144 = load double, ptr %143, align 8, !tbaa !13
  store double %144, ptr %142, align 8, !tbaa !20
  invoke void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(64) %22)
          to label %145 unwind label %154

145:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #6
  br label %158

146:                                              ; preds = %122
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %12, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %13, align 4
  br label %163

150:                                              ; preds = %123
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %12, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %13, align 4
  br label %162

154:                                              ; preds = %139, %135
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %12, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #6
  br label %162

158:                                              ; preds = %145, %130
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %159

159:                                              ; preds = %158
  %160 = load i32, ptr %18, align 4, !tbaa !11
  %161 = add nsw i32 %160, 1
  store i32 %161, ptr %18, align 4, !tbaa !11
  br label %95, !llvm.loop !23

162:                                              ; preds = %154, %150
  call void @llvm.lifetime.end.p0(i64 56, ptr %21) #6
  br label %163

163:                                              ; preds = %162, %146
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #6
  br label %164

164:                                              ; preds = %163, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %165

165:                                              ; preds = %164, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %170

166:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %167

167:                                              ; preds = %166
  %168 = load i32, ptr %16, align 4, !tbaa !11
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %16, align 4, !tbaa !11
  br label %67, !llvm.loop !25

170:                                              ; preds = %165, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %171

171:                                              ; preds = %170, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  br label %176

172:                                              ; preds = %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %173

173:                                              ; preds = %172
  %174 = load i32, ptr %11, align 4, !tbaa !11
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %11, align 4, !tbaa !11
  br label %39, !llvm.loop !26

176:                                              ; preds = %171, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %177

177:                                              ; preds = %176, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %182

178:                                              ; preds = %45
  store i1 true, ptr %10, align 1
  store i32 1, ptr %14, align 4
  %179 = load i1, ptr %10, align 1
  br i1 %179, label %181, label %180

180:                                              ; preds = %178
  call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #6
  br label %181

181:                                              ; preds = %180, %178
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  ret void

182:                                              ; preds = %177
  %183 = load ptr, ptr %12, align 8
  %184 = load i32, ptr %13, align 4
  %185 = insertvalue { ptr, i32 } poison, ptr %183, 0
  %186 = insertvalue { ptr, i32 } %185, i32 %184, 1
  resume { ptr, i32 } %186
}

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7maliput3api12RoadGeometry13num_junctionsEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7maliput3api12RoadGeometry8junctionEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7maliput3api8Junction12num_segmentsEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7maliput3api8Junction7segmentEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7maliput3api7Segment9num_lanesEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7maliput3api7Segment4laneEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

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

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

attributes #0 = { noreturn "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 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 = { noreturn }

!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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 48}
!14 = !{!"_ZTSN7maliput3api18LanePositionResultE", !15, i64 0, !19, i64 24, !10, i64 48}
!15 = !{!"_ZTSN7maliput3api12LanePositionE", !16, i64 0}
!16 = !{!"_ZTSN7maliput4math7Vector3E", !17, i64 0}
!17 = !{!"_ZTSN7maliput4math10VectorBaseILm3ENS0_7Vector3EEE", !18, i64 0}
!18 = !{!"_ZTSSt5arrayIdLm3EE", !7, i64 0}
!19 = !{!"_ZTSN7maliput3api16InertialPositionE", !16, i64 0}
!20 = !{!21, !10, i64 56}
!21 = !{!"_ZTSN7maliput3api18RoadPositionResultE", !22, i64 0, !19, i64 32, !10, i64 56}
!22 = !{!"_ZTSN7maliput3api12RoadPositionE", !6, i64 0, !15, i64 8}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}


; 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.maliput::api::LanePositionResult" = type { %"class.maliput::api::LanePosition", %"class.maliput::api::InertialPosition", double }
%"class.maliput::api::LanePosition" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"class.maliput::api::InertialPosition" = type { %"class.maliput::math::Vector3" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl" }
%"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl" = type { %"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl_data" }
%"struct.std::_Vector_base<maliput::api::RoadPositionResult, std::allocator<maliput::api::RoadPositionResult>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.maliput::api::RoadPositionResult" = type { %"struct.maliput::api::RoadPosition", %"class.maliput::api::InertialPosition", double }
%"struct.maliput::api::RoadPosition" = type { ptr, %"class.maliput::api::LanePosition" }

@.str.1 = external hidden unnamed_addr constant [99 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: noreturn
declare void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

declare void @_ZNK7maliput3api4Lane14ToLanePositionERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"struct.maliput::api::LanePositionResult") align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

; 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
define dso_local void @_ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %3) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.maliput::api::InertialPosition", align 8
  %6 = alloca %"struct.maliput::api::LanePositionResult", align 8
  %7 = alloca %"struct.maliput::api::RoadPositionResult", align 8
  %8 = tail call noundef ptr @_ZNK7maliput13geometry_base12StrategyBase17get_road_geometryEv(ptr noundef nonnull align 8 dereferenceable(16) %1)
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %9, label %10

9:                                                ; preds = %4
  tail call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 82) #6
  unreachable

10:                                               ; preds = %4
  %11 = fcmp ult double %3, 0.000000e+00
  br i1 %11, label %12, label %13

12:                                               ; preds = %10
  tail call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 83) #6
  unreachable

13:                                               ; preds = %10
  tail call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %14 = getelementptr inbounds i8, ptr %6, i64 48
  %15 = getelementptr inbounds i8, ptr %7, i64 32
  %16 = getelementptr inbounds i8, ptr %6, i64 24
  %17 = getelementptr inbounds i8, ptr %7, i64 56
  br label %18

18:                                               ; preds = %32, %13
  %.028 = phi i32 [ 0, %13 ], [ %33, %32 ]
  %19 = invoke noundef i32 @_ZNK7maliput3api12RoadGeometry13num_junctionsEv(ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %20 unwind label %22

20:                                               ; preds = %18
  %21 = icmp slt i32 %.028, %19
  br i1 %21, label %24, label %74

22:                                               ; preds = %18
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %73

24:                                               ; preds = %20
  %25 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry8junctionEi(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef %.028)
          to label %26 unwind label %.loopexit63

26:                                               ; preds = %24
  %.not44 = icmp eq ptr %25, null
  br i1 %.not44, label %27, label %.preheader57

27:                                               ; preds = %26
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.5, ptr noundef nonnull @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 89) #6
          to label %28 unwind label %.loopexit.split-lp64

28:                                               ; preds = %27
  unreachable

.loopexit63:                                      ; preds = %24
  %lpad.loopexit65 = landingpad { ptr, i32 }
          cleanup
  br label %73

.loopexit.split-lp64:                             ; preds = %27
  %lpad.loopexit.split-lp66 = landingpad { ptr, i32 }
          cleanup
  br label %73

.preheader57:                                     ; preds = %26, %44
  %.029 = phi i32 [ %45, %44 ], [ 0, %26 ]
  %29 = invoke noundef i32 @_ZNK7maliput3api8Junction12num_segmentsEv(ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %30 unwind label %34

30:                                               ; preds = %.preheader57
  %31 = icmp slt i32 %.029, %29
  br i1 %31, label %36, label %32

32:                                               ; preds = %30
  %33 = add nuw nsw i32 %.028, 1
  br label %18, !llvm.loop !5

34:                                               ; preds = %.preheader57
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %73

36:                                               ; preds = %30
  %37 = invoke noundef ptr @_ZNK7maliput3api8Junction7segmentEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef %.029)
          to label %38 unwind label %.loopexit58

38:                                               ; preds = %36
  %.not45 = icmp eq ptr %37, null
  br i1 %.not45, label %39, label %.preheader

39:                                               ; preds = %38
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.6, ptr noundef nonnull @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 92) #6
          to label %40 unwind label %.loopexit.split-lp59

40:                                               ; preds = %39
  unreachable

.loopexit58:                                      ; preds = %36
  %lpad.loopexit60 = landingpad { ptr, i32 }
          cleanup
  br label %73

.loopexit.split-lp59:                             ; preds = %39
  %lpad.loopexit.split-lp61 = landingpad { ptr, i32 }
          cleanup
  br label %73

.preheader:                                       ; preds = %38, %69
  %.0 = phi i32 [ %70, %69 ], [ 0, %38 ]
  %41 = invoke noundef i32 @_ZNK7maliput3api7Segment9num_lanesEv(ptr noundef nonnull align 8 dereferenceable(8) %37)
          to label %42 unwind label %46

42:                                               ; preds = %.preheader
  %43 = icmp slt i32 %.0, %41
  br i1 %43, label %48, label %44

44:                                               ; preds = %42
  %45 = add nuw nsw i32 %.029, 1
  br label %.preheader57, !llvm.loop !7

46:                                               ; preds = %.preheader
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %73

48:                                               ; preds = %42
  %49 = invoke noundef ptr @_ZNK7maliput3api7Segment4laneEi(ptr noundef nonnull align 8 dereferenceable(8) %37, i32 noundef %.0)
          to label %50 unwind label %.loopexit

50:                                               ; preds = %48
  %.not46 = icmp eq ptr %49, null
  br i1 %.not46, label %51, label %53

51:                                               ; preds = %50
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.7, ptr noundef nonnull @__func__._ZNK7maliput13geometry_base18BruteForceStrategy19DoFindRoadPositionsERKNS_3api16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 95) #6
          to label %52 unwind label %.loopexit.split-lp

52:                                               ; preds = %51
  unreachable

.loopexit:                                        ; preds = %48
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %73

.loopexit.split-lp:                               ; preds = %51
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %73

53:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  invoke void @_ZN7maliput3api16InertialPositionC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %54 unwind label %63

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %6) #7
  invoke void @_ZNK7maliput3api4Lane14ToLanePositionERKNS0_16InertialPositionE(ptr dead_on_unwind nonnull writable sret(%"struct.maliput::api::LanePositionResult") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %55 unwind label %65

55:                                               ; preds = %54
  %56 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #7
  %57 = fcmp une double %56, %3
  %58 = load double, ptr %14, align 8
  %59 = fcmp ugt double %58, %3
  %or.cond = select i1 %57, i1 %59, i1 false
  br i1 %or.cond, label %69, label %60

60:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #7
  call void @_ZN7maliput3api12RoadPositionC2EPKNS0_4LaneERKNS0_12LanePositionE(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %49, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %16, i64 24, i1 false)
  %61 = load double, ptr %14, align 8, !tbaa !8
  store double %61, ptr %17, align 8, !tbaa !18
  invoke void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(64) %7)
          to label %62 unwind label %67

62:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #7
  br label %69

63:                                               ; preds = %53
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %72

65:                                               ; preds = %54
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %71

67:                                               ; preds = %60
  %68 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #7
  br label %71

69:                                               ; preds = %55, %62
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  %70 = add nuw nsw i32 %.0, 1
  br label %.preheader, !llvm.loop !22

71:                                               ; preds = %67, %65
  %.pn = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6) #7
  br label %72

72:                                               ; preds = %71, %63
  %.pn.pn = phi { ptr, i32 } [ %.pn, %71 ], [ %64, %63 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %73

73:                                               ; preds = %.loopexit, %.loopexit.split-lp, %.loopexit58, %.loopexit.split-lp59, %.loopexit63, %.loopexit.split-lp64, %72, %46, %34, %22
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %23, %22 ], [ %35, %34 ], [ %47, %46 ], [ %.pn.pn, %72 ], [ %lpad.loopexit65, %.loopexit63 ], [ %lpad.loopexit.split-lp66, %.loopexit.split-lp64 ], [ %lpad.loopexit60, %.loopexit58 ], [ %lpad.loopexit.split-lp61, %.loopexit.split-lp59 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn

74:                                               ; preds = %20
  ret void
}

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7maliput3api12RoadGeometry13num_junctionsEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7maliput3api12RoadGeometry8junctionEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7maliput3api8Junction12num_segmentsEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7maliput3api8Junction7segmentEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK7maliput3api7Segment9num_lanesEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7maliput3api7Segment4laneEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

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

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

attributes #0 = { noreturn "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 = { "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 = { noreturn }
attributes #7 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = !{!9, !17, i64 48}
!9 = !{!"_ZTSN7maliput3api18LanePositionResultE", !10, i64 0, !16, i64 24, !17, i64 48}
!10 = !{!"_ZTSN7maliput3api12LanePositionE", !11, i64 0}
!11 = !{!"_ZTSN7maliput4math7Vector3E", !12, i64 0}
!12 = !{!"_ZTSN7maliput4math10VectorBaseILm3ENS0_7Vector3EEE", !13, i64 0}
!13 = !{!"_ZTSSt5arrayIdLm3EE", !14, i64 0}
!14 = !{!"omnipotent char", !15, i64 0}
!15 = !{!"Simple C++ TBAA"}
!16 = !{!"_ZTSN7maliput3api16InertialPositionE", !11, i64 0}
!17 = !{!"double", !14, i64 0}
!18 = !{!19, !17, i64 56}
!19 = !{!"_ZTSN7maliput3api18RoadPositionResultE", !20, i64 0, !16, i64 32, !17, i64 56}
!20 = !{!"_ZTSN7maliput3api12RoadPositionE", !21, i64 0, !10, i64 8}
!21 = !{!"any pointer", !14, i64 0}
!22 = distinct !{!22, !6}


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