; LLVM IR from maliput/maliput :: src/maliput/math/roll_pitch_yaw.ll (ZNK7maliput4math12RollPitchYaw8ToMatrixEv)

; 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.maliput::math::Matrix" = type { %"struct.std::array.0" }
%"struct.std::array.0" = type { [3 x %"class.maliput::math::Vector"] }
%"class.maliput::math::Vector" = type { %"class.maliput::math::VectorBase.1" }
%"class.maliput::math::VectorBase.1" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::initializer_list.2" = type { ptr, i64 }
%"class.maliput::math::RollPitchYaw" = type { %"class.maliput::math::Vector3" }
%"class.maliput::math::Vector3" = type { %"class.maliput::math::VectorBase" }
%"class.maliput::math::VectorBase" = type { %"struct.std::array" }

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput4math12RollPitchYaw8ToMatrixEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::math::Matrix") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca %"class.std::initializer_list", align 8
  %28 = alloca [3 x %"class.maliput::math::Vector"], align 8
  %29 = alloca %"class.std::initializer_list.2", align 8
  %30 = alloca [3 x double], align 8
  %31 = alloca %"class.std::initializer_list.2", align 8
  %32 = alloca [3 x double], align 8
  %33 = alloca %"class.std::initializer_list.2", align 8
  %34 = alloca [3 x double], align 8
  store ptr %1, ptr %3, align 8, !tbaa !5
  %35 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %36 = getelementptr inbounds %"class.maliput::math::RollPitchYaw", ptr %35, i32 0, i32 0
  %37 = call noundef double @_ZNK7maliput4math7Vector31xEv(ptr noundef nonnull align 8 dereferenceable(24) %36)
  store double %37, ptr %5, align 8, !tbaa !9
  store ptr %5, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %38 = getelementptr inbounds %"class.maliput::math::RollPitchYaw", ptr %35, i32 0, i32 0
  %39 = call noundef double @_ZNK7maliput4math7Vector31yEv(ptr noundef nonnull align 8 dereferenceable(24) %38)
  store double %39, ptr %7, align 8, !tbaa !9
  store ptr %7, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %40 = getelementptr inbounds %"class.maliput::math::RollPitchYaw", ptr %35, i32 0, i32 0
  %41 = call noundef double @_ZNK7maliput4math7Vector31zEv(ptr noundef nonnull align 8 dereferenceable(24) %40)
  store double %41, ptr %9, align 8, !tbaa !9
  store ptr %9, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load double, ptr %42, align 8, !tbaa !9
  %44 = call double @cos(double noundef %43) #6
  store double %44, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load double, ptr %45, align 8, !tbaa !9
  %47 = call double @cos(double noundef %46) #6
  store double %47, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = load double, ptr %48, align 8, !tbaa !9
  %50 = call double @cos(double noundef %49) #6
  store double %50, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = load double, ptr %51, align 8, !tbaa !9
  %53 = call double @sin(double noundef %52) #6
  store double %53, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = call double @sin(double noundef %55) #6
  store double %56, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = load double, ptr %57, align 8, !tbaa !9
  %59 = call double @sin(double noundef %58) #6
  store double %59, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  %60 = load double, ptr %12, align 8, !tbaa !9
  %61 = load double, ptr %14, align 8, !tbaa !9
  %62 = fmul double %60, %61
  store double %62, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %63 = load double, ptr %15, align 8, !tbaa !9
  %64 = load double, ptr %14, align 8, !tbaa !9
  %65 = fmul double %63, %64
  store double %65, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #6
  %66 = load double, ptr %12, align 8, !tbaa !9
  %67 = load double, ptr %11, align 8, !tbaa !9
  %68 = fmul double %66, %67
  store double %68, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %69 = load double, ptr %16, align 8, !tbaa !9
  %70 = load double, ptr %13, align 8, !tbaa !9
  %71 = load double, ptr %15, align 8, !tbaa !9
  %72 = load double, ptr %10, align 8, !tbaa !9
  %73 = fmul double %71, %72
  %74 = fneg double %73
  %75 = call double @llvm.fmuladd.f64(double %69, double %70, double %74)
  store double %75, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %76 = load double, ptr %16, align 8, !tbaa !9
  %77 = load double, ptr %10, align 8, !tbaa !9
  %78 = load double, ptr %15, align 8, !tbaa !9
  %79 = load double, ptr %13, align 8, !tbaa !9
  %80 = fmul double %78, %79
  %81 = call double @llvm.fmuladd.f64(double %76, double %77, double %80)
  store double %81, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %82 = load double, ptr %15, align 8, !tbaa !9
  %83 = load double, ptr %11, align 8, !tbaa !9
  %84 = fmul double %82, %83
  store double %84, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  %85 = load double, ptr %17, align 8, !tbaa !9
  %86 = load double, ptr %13, align 8, !tbaa !9
  %87 = load double, ptr %12, align 8, !tbaa !9
  %88 = load double, ptr %10, align 8, !tbaa !9
  %89 = fmul double %87, %88
  %90 = call double @llvm.fmuladd.f64(double %85, double %86, double %89)
  store double %90, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %91 = load double, ptr %17, align 8, !tbaa !9
  %92 = load double, ptr %10, align 8, !tbaa !9
  %93 = load double, ptr %12, align 8, !tbaa !9
  %94 = load double, ptr %13, align 8, !tbaa !9
  %95 = fmul double %93, %94
  %96 = fneg double %95
  %97 = call double @llvm.fmuladd.f64(double %91, double %92, double %96)
  store double %97, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #6
  %98 = load double, ptr %14, align 8, !tbaa !9
  %99 = fneg double %98
  store double %99, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %100 = load double, ptr %11, align 8, !tbaa !9
  %101 = load double, ptr %13, align 8, !tbaa !9
  %102 = fmul double %100, %101
  store double %102, ptr %25, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %103 = load double, ptr %11, align 8, !tbaa !9
  %104 = load double, ptr %10, align 8, !tbaa !9
  %105 = fmul double %103, %104
  store double %105, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr %28) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #6
  %106 = load double, ptr %18, align 8, !tbaa !9
  store double %106, ptr %30, align 8, !tbaa !9
  %107 = getelementptr inbounds double, ptr %30, i64 1
  %108 = load double, ptr %19, align 8, !tbaa !9
  store double %108, ptr %107, align 8, !tbaa !9
  %109 = getelementptr inbounds double, ptr %30, i64 2
  %110 = load double, ptr %20, align 8, !tbaa !9
  store double %110, ptr %109, align 8, !tbaa !9
  %111 = getelementptr inbounds %"class.std::initializer_list.2", ptr %29, i32 0, i32 0
  store ptr %30, ptr %111, align 8, !tbaa !11
  %112 = getelementptr inbounds %"class.std::initializer_list.2", ptr %29, i32 0, i32 1
  store i64 3, ptr %112, align 8, !tbaa !14
  %113 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = getelementptr inbounds { ptr, i64 }, ptr %29, i32 0, i32 1
  %116 = load i64, ptr %115, align 8
  call void @_ZN7maliput4math6VectorILm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr %114, i64 %116)
  %117 = getelementptr inbounds %"class.maliput::math::Vector", ptr %28, i64 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  %118 = load double, ptr %21, align 8, !tbaa !9
  store double %118, ptr %32, align 8, !tbaa !9
  %119 = getelementptr inbounds double, ptr %32, i64 1
  %120 = load double, ptr %22, align 8, !tbaa !9
  store double %120, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds double, ptr %32, i64 2
  %122 = load double, ptr %23, align 8, !tbaa !9
  store double %122, ptr %121, align 8, !tbaa !9
  %123 = getelementptr inbounds %"class.std::initializer_list.2", ptr %31, i32 0, i32 0
  store ptr %32, ptr %123, align 8, !tbaa !11
  %124 = getelementptr inbounds %"class.std::initializer_list.2", ptr %31, i32 0, i32 1
  store i64 3, ptr %124, align 8, !tbaa !14
  %125 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %128 = load i64, ptr %127, align 8
  call void @_ZN7maliput4math6VectorILm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %117, ptr %126, i64 %128)
  %129 = getelementptr inbounds %"class.maliput::math::Vector", ptr %28, i64 2
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #6
  %130 = load double, ptr %24, align 8, !tbaa !9
  store double %130, ptr %34, align 8, !tbaa !9
  %131 = getelementptr inbounds double, ptr %34, i64 1
  %132 = load double, ptr %25, align 8, !tbaa !9
  store double %132, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds double, ptr %34, i64 2
  %134 = load double, ptr %26, align 8, !tbaa !9
  store double %134, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds %"class.std::initializer_list.2", ptr %33, i32 0, i32 0
  store ptr %34, ptr %135, align 8, !tbaa !11
  %136 = getelementptr inbounds %"class.std::initializer_list.2", ptr %33, i32 0, i32 1
  store i64 3, ptr %136, align 8, !tbaa !14
  %137 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8
  %139 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %140 = load i64, ptr %139, align 8
  call void @_ZN7maliput4math6VectorILm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %129, ptr %138, i64 %140)
  %141 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 0
  store ptr %28, ptr %141, align 8, !tbaa !15
  %142 = getelementptr inbounds %"class.std::initializer_list", ptr %27, i32 0, i32 1
  store i64 3, ptr %142, align 8, !tbaa !17
  call void @_ZN7maliput4math6MatrixILm3EEC1ERKSt16initializer_listINS0_6VectorILm3EEEE(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(16) %27)
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %28) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  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
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  ret void
}

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

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

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

; Function Attrs: nounwind
declare double @cos(double noundef) #4

; Function Attrs: nounwind
declare double @sin(double noundef) #4

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

declare void @_ZN7maliput4math6MatrixILm3EEC1ERKSt16initializer_listINS0_6VectorILm3EEEE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 }

!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, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIdE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTSSt16initializer_listIN7maliput4math6VectorILm3EEEE", !6, i64 0, !13, i64 8}
!17 = !{!16, !13, i64 8}


; 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.maliput::math::Matrix" = type { %"struct.std::array.0" }
%"struct.std::array.0" = type { [3 x %"class.maliput::math::Vector"] }
%"class.maliput::math::Vector" = type { %"class.maliput::math::VectorBase.1" }
%"class.maliput::math::VectorBase.1" = type { %"struct.std::array" }
%"struct.std::array" = type { [3 x double] }
%"class.std::initializer_list" = type { ptr, i64 }

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK7maliput4math12RollPitchYaw8ToMatrixEv(ptr dead_on_unwind noalias writable sret(%"class.maliput::math::Matrix") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #1 align 2 {
  %3 = alloca %"class.std::initializer_list", align 8
  %4 = alloca [3 x %"class.maliput::math::Vector"], align 8
  %5 = alloca [3 x double], align 8
  %6 = alloca [3 x double], align 8
  %7 = alloca [3 x double], align 8
  %8 = tail call noundef double @_ZNK7maliput4math7Vector31xEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %9 = tail call noundef double @_ZNK7maliput4math7Vector31yEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %10 = tail call noundef double @_ZNK7maliput4math7Vector31zEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %11 = tail call double @cos(double noundef %8) #6
  %12 = tail call double @cos(double noundef %9) #6
  %13 = tail call double @cos(double noundef %10) #6
  %14 = tail call double @sin(double noundef %8) #6
  %15 = tail call double @sin(double noundef %9) #6
  %16 = tail call double @sin(double noundef %10) #6
  %17 = fmul double %13, %15
  %18 = fmul double %15, %16
  %19 = fmul double %12, %13
  %20 = fneg double %16
  %21 = fmul double %12, %16
  %22 = fneg double %13
  %23 = fneg double %15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #6
  store double %19, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %5, i64 8
  %25 = insertelement <2 x double> poison, double %11, i64 0
  %26 = insertelement <2 x double> %25, double %14, i64 1
  %27 = insertelement <2 x double> poison, double %20, i64 0
  %28 = insertelement <2 x double> %27, double %16, i64 1
  %29 = fmul <2 x double> %26, %28
  %30 = insertelement <2 x double> poison, double %17, i64 0
  %31 = shufflevector <2 x double> %30, <2 x double> poison, <2 x i32> zeroinitializer
  %32 = shufflevector <2 x double> %26, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %33 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %31, <2 x double> %32, <2 x double> %29)
  store <2 x double> %33, ptr %24, align 8, !tbaa !5
  call void @_ZN7maliput4math6VectorILm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr nonnull %5, i64 3)
  %34 = getelementptr inbounds i8, ptr %4, i64 24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  store double %21, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %6, i64 8
  %36 = insertelement <2 x double> poison, double %13, i64 0
  %37 = insertelement <2 x double> %36, double %22, i64 1
  %38 = fmul <2 x double> %26, %37
  %39 = insertelement <2 x double> poison, double %18, i64 0
  %40 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> zeroinitializer
  %41 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %40, <2 x double> %32, <2 x double> %38)
  store <2 x double> %41, ptr %35, align 8, !tbaa !5
  call void @_ZN7maliput4math6VectorILm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr nonnull %6, i64 3)
  %42 = getelementptr inbounds i8, ptr %4, i64 48
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  store double %23, ptr %7, align 8, !tbaa !5
  %43 = getelementptr inbounds i8, ptr %7, i64 8
  %44 = insertelement <2 x double> poison, double %14, i64 0
  %45 = insertelement <2 x double> %44, double %11, i64 1
  %46 = insertelement <2 x double> poison, double %12, i64 0
  %47 = shufflevector <2 x double> %46, <2 x double> poison, <2 x i32> zeroinitializer
  %48 = fmul <2 x double> %45, %47
  store <2 x double> %48, ptr %43, align 8, !tbaa !5
  call void @_ZN7maliput4math6VectorILm3EEC2ESt16initializer_listIdE(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr nonnull %7, i64 3)
  store ptr %4, ptr %3, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 3, ptr %49, align 8, !tbaa !13
  call void @_ZN7maliput4math6MatrixILm3EEC1ERKSt16initializer_listINS0_6VectorILm3EEEE(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  ret void
}

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

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

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

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

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

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

declare void @_ZN7maliput4math6MatrixILm3EEC1ERKSt16initializer_listINS0_6VectorILm3EEEE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIN7maliput4math6VectorILm3EEEE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass