; LLVM IR from Lut1n/ImpGears :: src/ImpGears/Graphics/Uniform.ll (ZN3imp7Uniform5cloneERKS0_)

; 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.imp::Uniform" = type { %"class.imp::Object", %"class.std::__cxx11::basic_string", i32, i32, i32, float, %"class.imp::Vec2", %"class.imp::Vec3", %"class.imp::Vec4", %"class.imp::Matrix3", %"class.imp::Matrix4", %"class.std::shared_ptr.3", %"class.std::shared_ptr.6", %"class.std::vector" }
%"class.imp::Object" = type { ptr, %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.imp::Vec2" = type { %"class.imp::Vec" }
%"class.imp::Vec" = type { %"class.imp::Object", [2 x float] }
%"class.imp::Vec3" = type { %"class.imp::Vec.base", [4 x i8] }
%"class.imp::Vec.base" = type <{ %"class.imp::Object", [3 x float] }>
%"class.imp::Vec4" = type { %"class.imp::Vec.1" }
%"class.imp::Vec.1" = type { %"class.imp::Object", [4 x float] }
%"class.imp::Matrix3" = type { %"class.imp::Matrix.base", [4 x i8] }
%"class.imp::Matrix.base" = type <{ %"class.imp::Object", [9 x float] }>
%"class.imp::Matrix4" = type { %"class.imp::Matrix.2" }
%"class.imp::Matrix.2" = type { %"class.imp::Object", [16 x float] }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.6" = type { %"class.std::__shared_ptr.7" }
%"class.std::__shared_ptr.7" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp7Uniform5cloneERKS0_(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(392) %1) #0 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8
  %6 = load ptr, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds %"class.imp::Uniform", ptr %6, i32 0, i32 1
  %8 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 1
  %9 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %7)
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %"class.imp::Uniform", ptr %10, i32 0, i32 2
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 2
  store i32 %12, ptr %13, align 8, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"class.imp::Uniform", ptr %14, i32 0, i32 3
  %16 = load i32, ptr %15, align 4, !tbaa !40
  %17 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 3
  store i32 %16, ptr %17, align 4, !tbaa !40
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.imp::Uniform", ptr %18, i32 0, i32 4
  %20 = load i32, ptr %19, align 8, !tbaa !41
  %21 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 4
  store i32 %20, ptr %21, align 8, !tbaa !41
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.imp::Uniform", ptr %22, i32 0, i32 5
  %24 = load float, ptr %23, align 4, !tbaa !42
  %25 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 5
  store float %24, ptr %25, align 4, !tbaa !42
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.imp::Uniform", ptr %26, i32 0, i32 6
  %28 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 6
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %27) #4
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = getelementptr inbounds %"class.imp::Uniform", ptr %30, i32 0, i32 7
  %32 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 7
  %33 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %32, ptr noundef nonnull align 8 dereferenceable(36) %31) #4
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = getelementptr inbounds %"class.imp::Uniform", ptr %34, i32 0, i32 8
  %36 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 8
  %37 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %36, ptr noundef nonnull align 8 dereferenceable(40) %35) #4
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.imp::Uniform", ptr %38, i32 0, i32 9
  %40 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 9
  %41 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60) %40, ptr noundef nonnull align 8 dereferenceable(60) %39)
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.imp::Uniform", ptr %42, i32 0, i32 10
  %44 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 10
  %45 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %44, ptr noundef nonnull align 8 dereferenceable(88) %43)
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.imp::Uniform", ptr %46, i32 0, i32 11
  %48 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 11
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp12ImageSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %48, ptr noundef nonnull align 8 dereferenceable(16) %47) #4
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.imp::Uniform", ptr %50, i32 0, i32 12
  %52 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 12
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14CubeMapSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull align 8 dereferenceable(16) %51) #4
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.imp::Uniform", ptr %54, i32 0, i32 13
  %56 = getelementptr inbounds %"class.imp::Uniform", ptr %5, i32 0, i32 13
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull align 8 dereferenceable(24) %55)
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 }

!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, !18, i64 56}
!10 = !{!"_ZTSN3imp7UniformE", !11, i64 0, !15, i64 24, !18, i64 56, !19, i64 60, !20, i64 64, !21, i64 68, !22, i64 72, !24, i64 104, !26, i64 144, !28, i64 184, !30, i64 248, !32, i64 336, !34, i64 352, !36, i64 368}
!11 = !{!"_ZTSN3imp6ObjectE", !12, i64 8}
!12 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !13, i64 0}
!13 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!14 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTSN3imp7Uniform4TypeE", !7, i64 0}
!19 = !{!"_ZTSN3imp7Uniform4ModeE", !7, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!"_ZTSN3imp4Vec2E", !23, i64 0}
!23 = !{!"_ZTSN3imp3VecILi2EfEE", !11, i64 0, !7, i64 24}
!24 = !{!"_ZTSN3imp4Vec3E", !25, i64 0}
!25 = !{!"_ZTSN3imp3VecILi3EfEE", !11, i64 0, !7, i64 24}
!26 = !{!"_ZTSN3imp4Vec4E", !27, i64 0}
!27 = !{!"_ZTSN3imp3VecILi4EfEE", !11, i64 0, !7, i64 24}
!28 = !{!"_ZTSN3imp7Matrix3E", !29, i64 0}
!29 = !{!"_ZTSN3imp6MatrixILi3ELi3EfEE", !11, i64 0, !7, i64 24}
!30 = !{!"_ZTSN3imp7Matrix4E", !31, i64 0}
!31 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !11, i64 0, !7, i64 24}
!32 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !33, i64 0}
!33 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!34 = !{!"_ZTSSt10shared_ptrIN3imp14CubeMapSamplerEE", !35, i64 0}
!35 = !{!"_ZTSSt12__shared_ptrIN3imp14CubeMapSamplerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!36 = !{!"_ZTSSt6vectorIfSaIfEE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!40 = !{!10, !19, i64 60}
!41 = !{!10, !20, i64 64}
!42 = !{!10, !21, i64 68}


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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp7Uniform5cloneERKS0_(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(392) %1) local_unnamed_addr #0 align 2 {
  %3 = getelementptr inbounds i8, ptr %1, i64 24
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %3)
  %6 = getelementptr inbounds i8, ptr %1, i64 56
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  %8 = load <2 x i32>, ptr %6, align 8, !tbaa !5
  store <2 x i32> %8, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 64
  %10 = load i32, ptr %9, align 8, !tbaa !8
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %10, ptr %11, align 8, !tbaa !8
  %12 = getelementptr inbounds i8, ptr %1, i64 68
  %13 = load float, ptr %12, align 4, !tbaa !40
  %14 = getelementptr inbounds i8, ptr %0, i64 68
  store float %13, ptr %14, align 4, !tbaa !40
  %15 = getelementptr inbounds i8, ptr %1, i64 72
  %16 = getelementptr inbounds i8, ptr %0, i64 72
  %17 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %15) #4
  %18 = getelementptr inbounds i8, ptr %1, i64 104
  %19 = getelementptr inbounds i8, ptr %0, i64 104
  %20 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %19, ptr noundef nonnull align 8 dereferenceable(36) %18) #4
  %21 = getelementptr inbounds i8, ptr %1, i64 144
  %22 = getelementptr inbounds i8, ptr %0, i64 144
  %23 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %22, ptr noundef nonnull align 8 dereferenceable(40) %21) #4
  %24 = getelementptr inbounds i8, ptr %1, i64 184
  %25 = getelementptr inbounds i8, ptr %0, i64 184
  %26 = tail call noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60) %25, ptr noundef nonnull align 8 dereferenceable(60) %24)
  %27 = getelementptr inbounds i8, ptr %1, i64 248
  %28 = getelementptr inbounds i8, ptr %0, i64 248
  %29 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %28, ptr noundef nonnull align 8 dereferenceable(88) %27)
  %30 = getelementptr inbounds i8, ptr %1, i64 336
  %31 = getelementptr inbounds i8, ptr %0, i64 336
  %32 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp12ImageSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %31, ptr noundef nonnull align 8 dereferenceable(16) %30) #4
  %33 = getelementptr inbounds i8, ptr %1, i64 352
  %34 = getelementptr inbounds i8, ptr %0, i64 352
  %35 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14CubeMapSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(16) %33) #4
  %36 = getelementptr inbounds i8, ptr %1, i64 368
  %37 = getelementptr inbounds i8, ptr %0, i64 368
  %38 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %36)
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSERKS0_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60), ptr noundef nonnull align 8 dereferenceable(60)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !20, i64 64}
!9 = !{!"_ZTSN3imp7UniformE", !10, i64 0, !15, i64 24, !18, i64 56, !19, i64 60, !20, i64 64, !21, i64 68, !22, i64 72, !24, i64 104, !26, i64 144, !28, i64 184, !30, i64 248, !32, i64 336, !34, i64 352, !36, i64 368}
!10 = !{!"_ZTSN3imp6ObjectE", !11, i64 8}
!11 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !14, i64 8}
!13 = !{!"any pointer", !6, i64 0}
!14 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !6, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!17 = !{!"long", !6, i64 0}
!18 = !{!"_ZTSN3imp7Uniform4TypeE", !6, i64 0}
!19 = !{!"_ZTSN3imp7Uniform4ModeE", !6, i64 0}
!20 = !{!"int", !6, i64 0}
!21 = !{!"float", !6, i64 0}
!22 = !{!"_ZTSN3imp4Vec2E", !23, i64 0}
!23 = !{!"_ZTSN3imp3VecILi2EfEE", !10, i64 0, !6, i64 24}
!24 = !{!"_ZTSN3imp4Vec3E", !25, i64 0}
!25 = !{!"_ZTSN3imp3VecILi3EfEE", !10, i64 0, !6, i64 24}
!26 = !{!"_ZTSN3imp4Vec4E", !27, i64 0}
!27 = !{!"_ZTSN3imp3VecILi4EfEE", !10, i64 0, !6, i64 24}
!28 = !{!"_ZTSN3imp7Matrix3E", !29, i64 0}
!29 = !{!"_ZTSN3imp6MatrixILi3ELi3EfEE", !10, i64 0, !6, i64 24}
!30 = !{!"_ZTSN3imp7Matrix4E", !31, i64 0}
!31 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !10, i64 0, !6, i64 24}
!32 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !33, i64 0}
!33 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !14, i64 8}
!34 = !{!"_ZTSSt10shared_ptrIN3imp14CubeMapSamplerEE", !35, i64 0}
!35 = !{!"_ZTSSt12__shared_ptrIN3imp14CubeMapSamplerELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !14, i64 8}
!36 = !{!"_ZTSSt6vectorIfSaIfEE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!40 = !{!9, !21, i64 68}


; Effective O3 passes: GlobalOptPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass