; LLVM IR from pictools/pica :: test/src/TestingUtility.ll (ZN15BaseGridFixture5SetUpEv)

; 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.pica::Vector3" = type { double, double, double }
%"struct.pica::Vector3.0" = type { i32, i32, i32 }
%class.BaseFixture = type { %"class.testing::Test", double, double }
%"class.testing::Test" = type { ptr, ptr }
%class.BaseGridFixture = type { %class.BaseFixture, %"class.pica::Parameters" }
%"class.pica::Parameters" = type <{ %"struct.pica::Vector3", %"struct.pica::Vector3", %"struct.pica::Vector3", %"struct.pica::Vector3", %"struct.pica::Vector3.0", %"struct.pica::Vector3.0", %"struct.pica::Vector3.0", %"struct.pica::Vector3.0", %"struct.pica::Vector3.0", [4 x i8], %"struct.pica::Vector3", double, i32, i32, %"struct.pica::Vector3.0", %"struct.pica::Vector3.0", i32, [4 x i8] }>

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11BaseFixture5SetUpEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 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) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15BaseGridFixture5SetUpEv(ptr noundef nonnull align 8 dereferenceable(264) %0) unnamed_addr #3 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.pica::Vector3", align 8
  %4 = alloca %"struct.pica::Vector3", align 8
  %5 = alloca %"struct.pica::Vector3.0", align 4
  %6 = alloca %"struct.pica::Vector3.0", align 4
  %7 = alloca %"struct.pica::Vector3.0", align 4
  %8 = alloca %"struct.pica::Vector3.0", align 4
  %9 = alloca { i64, i32 }, align 8
  %10 = alloca %"struct.pica::Vector3", align 8
  %11 = alloca %"struct.pica::Vector3", align 8
  %12 = alloca %"struct.pica::Vector3", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @_ZN11BaseFixture5SetUpEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %14 = getelementptr inbounds %class.BaseFixture, ptr %13, i32 0, i32 1
  store double 1.000000e-04, ptr %14, align 8, !tbaa !9
  %15 = getelementptr inbounds %class.BaseFixture, ptr %13, i32 0, i32 2
  store double 5.000000e-02, ptr %15, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #5
  call void @_ZN4pica7Vector3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef 1.309860e+00, double noundef 0xC02FD8CFBFC6540D, double noundef -4.562100e-01)
  %16 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %17 = getelementptr inbounds %"class.pica::Parameters", ptr %16, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %3, i64 24, i1 false), !tbaa.struct !14
  %18 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %19 = getelementptr inbounds %"class.pica::Parameters", ptr %18, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %19, ptr align 8 %17, i64 24, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  call void @_ZN4pica7Vector3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %4, double noundef 0x4007C1F42BB66730, double noundef 0xC02A06612839042E, double noundef 0x400255D61DAE66B0)
  %20 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %21 = getelementptr inbounds %"class.pica::Parameters", ptr %20, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %4, i64 24, i1 false), !tbaa.struct !14
  %22 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %23 = getelementptr inbounds %"class.pica::Parameters", ptr %22, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %23, ptr align 8 %21, i64 24, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #5
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 36, i32 noundef 42, i32 noundef 39)
  %24 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %25 = getelementptr inbounds %"class.pica::Parameters", ptr %24, i32 0, i32 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 4 %5, i64 12, i1 false), !tbaa.struct !16
  %26 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %27 = getelementptr inbounds %"class.pica::Parameters", ptr %26, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %25, i64 12, i1 false), !tbaa.struct !16
  %28 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %29 = getelementptr inbounds %"class.pica::Parameters", ptr %28, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 4 %27, i64 12, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #5
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %6, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %30 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %31 = getelementptr inbounds %"class.pica::Parameters", ptr %30, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %31, ptr align 4 %6, i64 12, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #5
  %32 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %33 = getelementptr inbounds %"class.pica::Parameters", ptr %32, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #5
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef 1, i32 noundef 1, i32 noundef 1)
  %34 = call { i64, i32 } @_ZN4picamiIiEEKNS_7Vector3IT_EERS4_S5_(ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(12) %8)
  store { i64, i32 } %34, ptr %9, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 8 %9, i64 12, i1 false)
  %35 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %36 = getelementptr inbounds %"class.pica::Parameters", ptr %35, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %7, i64 12, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  %37 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %38 = getelementptr inbounds %"class.pica::Parameters", ptr %37, i32 0, i32 3
  %39 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %40 = getelementptr inbounds %"class.pica::Parameters", ptr %39, i32 0, i32 2
  call void @_ZN4picamiIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind writable sret(%"struct.pica::Vector3") align 8 %11, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %40)
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #5
  %41 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %42 = getelementptr inbounds %"class.pica::Parameters", ptr %41, i32 0, i32 7
  call void @_ZN4pica7Vector3IdEC2IiEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 4 dereferenceable(12) %42)
  call void @_ZN4picadvIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind writable sret(%"struct.pica::Vector3") align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
  %43 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %44 = getelementptr inbounds %"class.pica::Parameters", ptr %43, i32 0, i32 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %10, i64 24, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #5
  %45 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %46 = getelementptr inbounds %"class.pica::Parameters", ptr %45, i32 0, i32 12
  store i32 1, ptr %46, align 8, !tbaa !19
  %47 = getelementptr inbounds %class.BaseGridFixture, ptr %13, i32 0, i32 1
  %48 = getelementptr inbounds %"class.pica::Parameters", ptr %47, i32 0, i32 11
  store double 1.463000e-12, ptr %48, align 8, !tbaa !24
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN4picamiIiEEKNS_7Vector3IT_EERS4_S5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4picadvIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind noalias writable sret(%"struct.pica::Vector3") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4picamiIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind noalias writable sret(%"struct.pica::Vector3") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Vector3IdEC2IiEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !12, i64 16}
!10 = !{!"_ZTS11BaseFixture", !11, i64 0, !12, i64 16, !12, i64 24}
!11 = !{!"_ZTSN7testing4TestE", !6, i64 8}
!12 = !{!"double", !7, i64 0}
!13 = !{!10, !12, i64 24}
!14 = !{i64 0, i64 8, !15, i64 8, i64 8, !15, i64 16, i64 8, !15}
!15 = !{!12, !12, i64 0}
!16 = !{i64 0, i64 4, !17, i64 4, i64 4, !17, i64 8, i64 4, !17}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}
!19 = !{!20, !18, i64 224}
!20 = !{!"_ZTS15BaseGridFixture", !10, i64 0, !21, i64 32}
!21 = !{!"_ZTSN4pica10ParametersE", !22, i64 0, !22, i64 24, !22, i64 48, !22, i64 72, !23, i64 96, !23, i64 108, !23, i64 120, !23, i64 132, !23, i64 144, !22, i64 160, !12, i64 184, !18, i64 192, !18, i64 196, !23, i64 200, !23, i64 212, !18, i64 224}
!22 = !{!"_ZTSN4pica7Vector3IdEE", !12, i64 0, !12, i64 8, !12, i64 16}
!23 = !{!"_ZTSN4pica7Vector3IiEE", !18, i64 0, !18, i64 4, !18, i64 8}
!24 = !{!20, !12, i64 216}


; 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.pica::Vector3" = type { double, double, double }
%"struct.pica::Vector3.0" = type { i32, i32, i32 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN11BaseFixture5SetUpEv(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #0 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) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN15BaseGridFixture5SetUpEv(ptr noundef nonnull align 8 dereferenceable(264) %0) unnamed_addr #3 align 2 {
  %2 = alloca %"struct.pica::Vector3", align 8
  %3 = alloca %"struct.pica::Vector3", align 8
  %4 = alloca %"struct.pica::Vector3.0", align 4
  %5 = alloca %"struct.pica::Vector3.0", align 4
  %6 = alloca %"struct.pica::Vector3.0", align 4
  %7 = alloca %"struct.pica::Vector3", align 8
  %8 = alloca %"struct.pica::Vector3", align 8
  %9 = alloca %"struct.pica::Vector3", align 8
  tail call void @_ZN11BaseFixture5SetUpEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  store <2 x double> <double 1.000000e-04, double 5.000000e-02>, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @_ZN4pica7Vector3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %2, double noundef 1.309860e+00, double noundef 0xC02FD8CFBFC6540D, double noundef -4.562100e-01)
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  %12 = getelementptr inbounds i8, ptr %0, i64 80
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 24, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %2, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZN4pica7Vector3IdEC2Eddd(ptr noundef nonnull align 8 dereferenceable(24) %3, double noundef 0x4007C1F42BB66730, double noundef 0xC02A06612839042E, double noundef 0x400255D61DAE66B0)
  %13 = getelementptr inbounds i8, ptr %0, i64 104
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 24, i1 false), !tbaa.struct !9
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %3, i64 24, i1 false)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #5
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %4, i32 noundef 36, i32 noundef 42, i32 noundef 39)
  %15 = getelementptr inbounds i8, ptr %0, i64 176
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %4, i64 12, i1 false), !tbaa.struct !10
  %16 = getelementptr inbounds i8, ptr %0, i64 164
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %4, i64 12, i1 false)
  %17 = getelementptr inbounds i8, ptr %0, i64 152
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %4, i64 12, i1 false)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #5
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 0, i32 noundef 0, i32 noundef 0)
  %18 = getelementptr inbounds i8, ptr %0, i64 128
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %18, ptr noundef nonnull align 4 dereferenceable(12) %5, i64 12, i1 false), !tbaa.struct !10
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #5
  call void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %6, i32 noundef 1, i32 noundef 1, i32 noundef 1)
  %19 = call { i64, i32 } @_ZN4picamiIiEEKNS_7Vector3IT_EERS4_S5_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %.fca.0.extract = extractvalue { i64, i32 } %19, 0
  %.fca.1.extract = extractvalue { i64, i32 } %19, 1
  %20 = getelementptr inbounds i8, ptr %0, i64 140
  store i64 %.fca.0.extract, ptr %20, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 148
  store i32 %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @_ZN4picamiIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind nonnull writable sret(%"struct.pica::Vector3") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  call void @_ZN4pica7Vector3IdEC2IiEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(12) %16)
  call void @_ZN4picadvIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind nonnull writable sret(%"struct.pica::Vector3") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 8 dereferenceable(24) %9)
  %21 = getelementptr inbounds i8, ptr %0, i64 192
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 8 dereferenceable(24) %7, i64 24, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 224
  store i32 1, ptr %22, align 8, !tbaa !13
  %23 = getelementptr inbounds i8, ptr %0, i64 216
  store double 1.463000e-12, ptr %23, align 8, !tbaa !21
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Vector3IiEC2Eiii(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i32 noundef, i32 noundef) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { i64, i32 } @_ZN4picamiIiEEKNS_7Vector3IT_EERS4_S5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4picadvIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind noalias writable sret(%"struct.pica::Vector3") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4picamiIdEEKNS_7Vector3IT_EERS4_S5_(ptr dead_on_unwind noalias writable sret(%"struct.pica::Vector3") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4pica7Vector3IdEC2IiEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5}
!10 = !{i64 0, i64 4, !11, i64 4, i64 4, !11, i64 8, i64 4, !11}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !12, i64 224}
!14 = !{!"_ZTS15BaseGridFixture", !15, i64 0, !18, i64 32}
!15 = !{!"_ZTS11BaseFixture", !16, i64 0, !6, i64 16, !6, i64 24}
!16 = !{!"_ZTSN7testing4TestE", !17, i64 8}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"_ZTSN4pica10ParametersE", !19, i64 0, !19, i64 24, !19, i64 48, !19, i64 72, !20, i64 96, !20, i64 108, !20, i64 120, !20, i64 132, !20, i64 144, !19, i64 160, !6, i64 184, !12, i64 192, !12, i64 196, !20, i64 200, !20, i64 212, !12, i64 224}
!19 = !{!"_ZTSN4pica7Vector3IdEE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSN4pica7Vector3IiEE", !12, i64 0, !12, i64 4, !12, i64 8}
!21 = !{!14, !6, i64 216}


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