; LLVM IR from maliput/maliput :: src/maliput/geometry_base (brute_force_find_road_positions_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"

%"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 }
%"class.maliput::api::InertialPosition" = 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] }
%"struct.maliput::api::LanePositionResult" = type { %"class.maliput::api::LanePosition", %"class.maliput::api::InertialPosition", double }
%"class.maliput::api::LanePosition" = type { %"class.maliput::math::Vector3" }
%"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 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd = external hidden unnamed_addr constant [36 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %3) #0 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 i1, align 1
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca ptr, align 8
  %19 = alloca %"class.maliput::api::InertialPosition", align 8
  %20 = alloca %"struct.maliput::api::LanePositionResult", align 8
  %21 = 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
  br label %22

22:                                               ; preds = %4
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str, ptr noundef @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef @.str.1, i32 noundef 44) #6
  unreachable

26:                                               ; preds = %22
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  %29 = load double, ptr %8, align 8, !tbaa !9
  %30 = fcmp oge double %29, 0.000000e+00
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.2, ptr noundef @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef @.str.1, i32 noundef 45) #6
  unreachable

32:                                               ; preds = %28
  br label %33

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

34:                                               ; preds = %168, %33
  %35 = load i32, ptr %10, align 4, !tbaa !11
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = invoke noundef i32 @_ZNK7maliput3api12RoadGeometry13num_junctionsEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %38 unwind label %41

38:                                               ; preds = %34
  %39 = icmp slt i32 %35, %37
  br i1 %39, label %45, label %40

40:                                               ; preds = %38
  store i32 6, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %173

41:                                               ; preds = %34
  %42 = landingpad { ptr, i32 }
          cleanup
  %43 = extractvalue { ptr, i32 } %42, 0
  store ptr %43, ptr %11, align 8
  %44 = extractvalue { ptr, i32 } %42, 1
  store i32 %44, ptr %12, align 4
  br label %172

45:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = load i32, ptr %10, align 4, !tbaa !11
  %48 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry8junctionEi(ptr noundef nonnull align 8 dereferenceable(8) %46, i32 noundef %47)
          to label %49 unwind label %55

49:                                               ; preds = %45
  store ptr %48, ptr %14, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %49
  %51 = load ptr, ptr %14, align 8, !tbaa !5
  %52 = icmp ne ptr %51, null
  br i1 %52, label %59, label %53

53:                                               ; preds = %50
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.3, ptr noundef @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef @.str.1, i32 noundef 51) #6
          to label %54 unwind label %55

54:                                               ; preds = %53
  unreachable

55:                                               ; preds = %53, %45
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %11, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %12, align 4
  br label %171

59:                                               ; preds = %50
  br label %60

60:                                               ; preds = %59
  br label %61

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %62

62:                                               ; preds = %162, %61
  %63 = load i32, ptr %15, align 4, !tbaa !11
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  %65 = invoke noundef i32 @_ZNK7maliput3api8Junction12num_segmentsEv(ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %66 unwind label %69

66:                                               ; preds = %62
  %67 = icmp slt i32 %63, %65
  br i1 %67, label %73, label %68

68:                                               ; preds = %66
  store i32 11, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %167

69:                                               ; preds = %62
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  br label %166

73:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %74 = load ptr, ptr %14, align 8, !tbaa !5
  %75 = load i32, ptr %15, align 4, !tbaa !11
  %76 = invoke noundef ptr @_ZNK7maliput3api8Junction7segmentEi(ptr noundef nonnull align 8 dereferenceable(8) %74, i32 noundef %75)
          to label %77 unwind label %83

77:                                               ; preds = %73
  store ptr %76, ptr %16, align 8, !tbaa !5
  br label %78

78:                                               ; preds = %77
  %79 = load ptr, ptr %16, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  br i1 %80, label %87, label %81

81:                                               ; preds = %78
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.4, ptr noundef @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef @.str.1, i32 noundef 54) #6
          to label %82 unwind label %83

82:                                               ; preds = %81
  unreachable

83:                                               ; preds = %81, %73
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %11, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %12, align 4
  br label %165

87:                                               ; preds = %78
  br label %88

88:                                               ; preds = %87
  br label %89

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %90

90:                                               ; preds = %154, %89
  %91 = load i32, ptr %17, align 4, !tbaa !11
  %92 = load ptr, ptr %16, align 8, !tbaa !5
  %93 = invoke noundef i32 @_ZNK7maliput3api7Segment9num_lanesEv(ptr noundef nonnull align 8 dereferenceable(8) %92)
          to label %94 unwind label %97

94:                                               ; preds = %90
  %95 = icmp slt i32 %91, %93
  br i1 %95, label %101, label %96

96:                                               ; preds = %94
  store i32 16, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %161

97:                                               ; preds = %90
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %11, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %12, align 4
  br label %160

101:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = load i32, ptr %17, align 4, !tbaa !11
  %104 = invoke noundef ptr @_ZNK7maliput3api7Segment4laneEi(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 noundef %103)
          to label %105 unwind label %111

105:                                              ; preds = %101
  store ptr %104, ptr %18, align 8, !tbaa !5
  br label %106

106:                                              ; preds = %105
  %107 = load ptr, ptr %18, align 8, !tbaa !5
  %108 = icmp ne ptr %107, null
  br i1 %108, label %115, label %109

109:                                              ; preds = %106
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef @.str.5, ptr noundef @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef @.str.1, i32 noundef 57) #6
          to label %110 unwind label %111

110:                                              ; preds = %109
  unreachable

111:                                              ; preds = %109, %101
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %11, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %12, align 4
  br label %159

115:                                              ; preds = %106
  br label %116

116:                                              ; preds = %115
  br label %117

117:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #7
  invoke void @_ZN7maliput3api16InertialPositionC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19)
          to label %118 unwind label %141

118:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 56, ptr %20) #7
  %119 = load ptr, ptr %18, align 8, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZNK7maliput3api4Lane14ToLanePositionERKNS0_16InertialPositionE(ptr dead_on_unwind writable sret(%"struct.maliput::api::LanePositionResult") align 8 %20, ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull align 8 dereferenceable(24) %120)
          to label %121 unwind label %145

121:                                              ; preds = %118
  %122 = load double, ptr %8, align 8, !tbaa !9
  %123 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #7
  %124 = fcmp oeq double %122, %123
  br i1 %124, label %130, label %125

125:                                              ; preds = %121
  %126 = getelementptr inbounds %"struct.maliput::api::LanePositionResult", ptr %20, i32 0, i32 2
  %127 = load double, ptr %126, align 8, !tbaa !13
  %128 = load double, ptr %8, align 8, !tbaa !9
  %129 = fcmp ole double %127, %128
  br i1 %129, label %130, label %153

130:                                              ; preds = %125, %121
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #7
  %131 = getelementptr inbounds %"struct.maliput::api::RoadPositionResult", ptr %21, i32 0, i32 0
  %132 = load ptr, ptr %18, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.maliput::api::LanePositionResult", ptr %20, i32 0, i32 0
  invoke void @_ZN7maliput3api12RoadPositionC2EPKNS0_4LaneERKNS0_12LanePositionE(ptr noundef nonnull align 8 dereferenceable(32) %131, ptr noundef %132, ptr noundef nonnull align 8 dereferenceable(24) %133)
          to label %134 unwind label %149

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

140:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #7
  br label %153

141:                                              ; preds = %117
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %11, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %12, align 4
  br label %158

145:                                              ; preds = %118
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %11, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %12, align 4
  br label %157

149:                                              ; preds = %134, %130
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %11, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #7
  br label %157

153:                                              ; preds = %140, %125
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %17, align 4, !tbaa !11
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %17, align 4, !tbaa !11
  br label %90, !llvm.loop !23

157:                                              ; preds = %149, %145
  call void @llvm.lifetime.end.p0(i64 56, ptr %20) #7
  br label %158

158:                                              ; preds = %157, %141
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #7
  br label %159

159:                                              ; preds = %158, %111
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %160

160:                                              ; preds = %159, %97
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %165

161:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %162

162:                                              ; preds = %161
  %163 = load i32, ptr %15, align 4, !tbaa !11
  %164 = add nsw i32 %163, 1
  store i32 %164, ptr %15, align 4, !tbaa !11
  br label %62, !llvm.loop !25

165:                                              ; preds = %160, %83
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %166

166:                                              ; preds = %165, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %171

167:                                              ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %168

168:                                              ; preds = %167
  %169 = load i32, ptr %10, align 4, !tbaa !11
  %170 = add nsw i32 %169, 1
  store i32 %170, ptr %10, align 4, !tbaa !11
  br label %34, !llvm.loop !26

171:                                              ; preds = %166, %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %172

172:                                              ; preds = %171, %41
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %177

173:                                              ; preds = %40
  store i1 true, ptr %9, align 1
  store i32 1, ptr %13, align 4
  %174 = load i1, ptr %9, align 1
  br i1 %174, label %176, label %175

175:                                              ; preds = %173
  call void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %176

176:                                              ; preds = %175, %173
  ret void

177:                                              ; preds = %172
  %178 = load ptr, ptr %11, align 8
  %179 = load i32, ptr %12, align 4
  %180 = insertvalue { ptr, i32 } poison, ptr %178, 0
  %181 = insertvalue { ptr, i32 } %180, i32 %179, 1
  resume { ptr, i32 } %181
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #2 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)) #0 align 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 #2 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) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 = { 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 #2 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!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"

%"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 }
%"class.maliput::api::InertialPosition" = 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] }
%"struct.maliput::api::LanePositionResult" = type { %"class.maliput::api::LanePosition", %"class.maliput::api::InertialPosition", double }
%"class.maliput::api::LanePosition" = type { %"class.maliput::math::Vector3" }
%"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 = external hidden unnamed_addr constant [14 x i8], align 1
@__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd = external hidden unnamed_addr constant [36 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [119 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8 %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef %3) local_unnamed_addr #0 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
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %8, label %9

8:                                                ; preds = %4
  tail call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str, ptr noundef nonnull @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 44) #6
  unreachable

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

11:                                               ; preds = %9
  tail call void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.2, ptr noundef nonnull @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 45) #6
  unreachable

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

17:                                               ; preds = %31, %12
  %.027 = phi i32 [ 0, %12 ], [ %32, %31 ]
  %18 = invoke noundef i32 @_ZNK7maliput3api12RoadGeometry13num_junctionsEv(ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %19 unwind label %21

19:                                               ; preds = %17
  %20 = icmp slt i32 %.027, %18
  br i1 %20, label %23, label %73

21:                                               ; preds = %17
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %72

23:                                               ; preds = %19
  %24 = invoke noundef ptr @_ZNK7maliput3api12RoadGeometry8junctionEi(ptr noundef nonnull align 8 dereferenceable(8) %1, i32 noundef %.027)
          to label %25 unwind label %.loopexit62

25:                                               ; preds = %23
  %.not43 = icmp eq ptr %24, null
  br i1 %.not43, label %26, label %.preheader56

26:                                               ; preds = %25
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.3, ptr noundef nonnull @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 51) #6
          to label %27 unwind label %.loopexit.split-lp63

27:                                               ; preds = %26
  unreachable

.loopexit62:                                      ; preds = %23
  %lpad.loopexit64 = landingpad { ptr, i32 }
          cleanup
  br label %72

.loopexit.split-lp63:                             ; preds = %26
  %lpad.loopexit.split-lp65 = landingpad { ptr, i32 }
          cleanup
  br label %72

.preheader56:                                     ; preds = %25, %43
  %.028 = phi i32 [ %44, %43 ], [ 0, %25 ]
  %28 = invoke noundef i32 @_ZNK7maliput3api8Junction12num_segmentsEv(ptr noundef nonnull align 8 dereferenceable(8) %24)
          to label %29 unwind label %33

29:                                               ; preds = %.preheader56
  %30 = icmp slt i32 %.028, %28
  br i1 %30, label %35, label %31

31:                                               ; preds = %29
  %32 = add nuw nsw i32 %.027, 1
  br label %17, !llvm.loop !5

33:                                               ; preds = %.preheader56
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %72

35:                                               ; preds = %29
  %36 = invoke noundef ptr @_ZNK7maliput3api8Junction7segmentEi(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef %.028)
          to label %37 unwind label %.loopexit57

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

38:                                               ; preds = %37
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.4, ptr noundef nonnull @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 54) #6
          to label %39 unwind label %.loopexit.split-lp58

39:                                               ; preds = %38
  unreachable

.loopexit57:                                      ; preds = %35
  %lpad.loopexit59 = landingpad { ptr, i32 }
          cleanup
  br label %72

.loopexit.split-lp58:                             ; preds = %38
  %lpad.loopexit.split-lp60 = landingpad { ptr, i32 }
          cleanup
  br label %72

.preheader:                                       ; preds = %37, %68
  %.0 = phi i32 [ %69, %68 ], [ 0, %37 ]
  %40 = invoke noundef i32 @_ZNK7maliput3api7Segment9num_lanesEv(ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %41 unwind label %45

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

43:                                               ; preds = %41
  %44 = add nuw nsw i32 %.028, 1
  br label %.preheader56, !llvm.loop !7

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

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

49:                                               ; preds = %47
  %.not45 = icmp eq ptr %48, null
  br i1 %.not45, label %50, label %52

50:                                               ; preds = %49
  invoke void @_ZN7maliput6common8internal5ThrowEPKcS3_S3_i(ptr noundef nonnull @.str.5, ptr noundef nonnull @__func__._ZN7maliput13geometry_base35BruteForceFindRoadPositionsStrategyEPKNS_3api12RoadGeometryERKNS1_16InertialPositionEd, ptr noundef nonnull @.str.1, i32 noundef 57) #6
          to label %51 unwind label %.loopexit.split-lp

51:                                               ; preds = %50
  unreachable

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

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

52:                                               ; preds = %49
  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 %53 unwind label %62

53:                                               ; preds = %52
  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) %48, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %54 unwind label %64

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

59:                                               ; preds = %54
  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 %48, ptr noundef nonnull align 8 dereferenceable(24) %6)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, i64 24, i1 false)
  %60 = load double, ptr %13, align 8, !tbaa !8
  store double %60, ptr %16, 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 %61 unwind label %66

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

62:                                               ; preds = %52
  %63 = landingpad { ptr, i32 }
          cleanup
  br label %71

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

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

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

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

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

72:                                               ; preds = %.loopexit, %.loopexit.split-lp, %.loopexit57, %.loopexit.split-lp58, %.loopexit62, %.loopexit.split-lp63, %71, %45, %33, %21
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %22, %21 ], [ %34, %33 ], [ %46, %45 ], [ %.pn.pn, %71 ], [ %lpad.loopexit64, %.loopexit62 ], [ %lpad.loopexit.split-lp65, %.loopexit.split-lp63 ], [ %lpad.loopexit59, %.loopexit57 ], [ %lpad.loopexit.split-lp60, %.loopexit.split-lp58 ], [ %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

73:                                               ; preds = %19
  ret void
}

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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 #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() local_unnamed_addr #2 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 #0 align 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 #2 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) #5

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN7maliput3api18RoadPositionResultESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 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 = { 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 #2 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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