; LLVM IR from Lut1n/ImpGears :: src/ImpGears/SceneGraph/State.ll (ZN3imp5StateaSERKS0_)

; 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::State" = type <{ %"class.imp::Object", %"class.imp::Matrix4", %"class.imp::Vec4", i32, i32, float, i8, i8, [2 x i8], %"class.std::shared_ptr.0", %"class.std::shared_ptr.3", %"class.std::map", %"class.std::map.6", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [6 x i8] }>
%"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.imp::Matrix4" = type { %"class.imp::Matrix" }
%"class.imp::Matrix" = type { %"class.imp::Object", [16 x float] }
%"class.imp::Vec4" = type { %"class.imp::Vec" }
%"class.imp::Vec" = type { %"class.imp::Object", [4 x float] }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::shared_ptr.3" = type { %"class.std::__shared_ptr.4" }
%"class.std::__shared_ptr.4" = type { ptr, %"class.std::__shared_count" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<imp::Uniform>>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.6" = type { %"class.std::_Rb_tree.7" }
%"class.std::_Rb_tree.7" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, bool>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, bool>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, bool>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, bool>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

; 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)) #0 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14ReflexionModelEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(306) ptr @_ZN3imp5StateaSERKS0_(ptr noundef nonnull align 8 dereferenceable(306) %0, ptr noundef nonnull align 8 dereferenceable(306) %1) #3 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::State", ptr %6, i32 0, i32 1
  %8 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 1
  %9 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %8, ptr noundef nonnull align 8 dereferenceable(88) %7)
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %"class.imp::State", ptr %10, i32 0, i32 2
  %12 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 2
  %13 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 8 dereferenceable(40) %11) #4
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"class.imp::State", ptr %14, i32 0, i32 3
  %16 = load i32, ptr %15, align 8, !tbaa !9
  %17 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 3
  store i32 %16, ptr %17, align 8, !tbaa !9
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.imp::State", ptr %18, i32 0, i32 4
  %20 = load i32, ptr %19, align 4, !tbaa !39
  %21 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 4
  store i32 %20, ptr %21, align 4, !tbaa !39
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.imp::State", ptr %22, i32 0, i32 5
  %24 = load float, ptr %23, align 8, !tbaa !40
  %25 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 5
  store float %24, ptr %25, align 8, !tbaa !40
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.imp::State", ptr %26, i32 0, i32 6
  %28 = load i8, ptr %27, align 4, !tbaa !41, !range !42, !noundef !43
  %29 = trunc i8 %28 to i1
  %30 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 6
  %31 = zext i1 %29 to i8
  store i8 %31, ptr %30, align 4, !tbaa !41
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.imp::State", ptr %32, i32 0, i32 7
  %34 = load i8, ptr %33, align 1, !tbaa !44, !range !42, !noundef !43
  %35 = trunc i8 %34 to i1
  %36 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 7
  %37 = zext i1 %35 to i8
  store i8 %37, ptr %36, align 1, !tbaa !44
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.imp::State", ptr %38, i32 0, i32 9
  %40 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 9
  %41 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14ReflexionModelEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(16) %39) #4
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.imp::State", ptr %42, i32 0, i32 10
  %44 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 10
  %45 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp10RenderPassEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %44, ptr noundef nonnull align 8 dereferenceable(16) %43) #4
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.imp::State", ptr %46, i32 0, i32 11
  %48 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 11
  %49 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3imp7UniformEESt4lessIS5_ESaISt4pairIKS5_S9_EEEaSERKSG_(ptr noundef nonnull align 8 dereferenceable(48) %48, ptr noundef nonnull align 8 dereferenceable(48) %47)
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.imp::State", ptr %50, i32 0, i32 12
  %52 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 12
  %53 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(48) %52, ptr noundef nonnull align 8 dereferenceable(48) %51)
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.imp::State", ptr %54, i32 0, i32 13
  %56 = load i8, ptr %55, align 8, !tbaa !45, !range !42, !noundef !43
  %57 = trunc i8 %56 to i1
  %58 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 13
  %59 = zext i1 %57 to i8
  store i8 %59, ptr %58, align 8, !tbaa !45
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.imp::State", ptr %60, i32 0, i32 14
  %62 = load i8, ptr %61, align 1, !tbaa !46, !range !42, !noundef !43
  %63 = trunc i8 %62 to i1
  %64 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 14
  %65 = zext i1 %63 to i8
  store i8 %65, ptr %64, align 1, !tbaa !46
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.imp::State", ptr %66, i32 0, i32 15
  %68 = load i8, ptr %67, align 2, !tbaa !47, !range !42, !noundef !43
  %69 = trunc i8 %68 to i1
  %70 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 15
  %71 = zext i1 %69 to i8
  store i8 %71, ptr %70, align 2, !tbaa !47
  %72 = load ptr, ptr %4, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.imp::State", ptr %72, i32 0, i32 16
  %74 = load i8, ptr %73, align 1, !tbaa !48, !range !42, !noundef !43
  %75 = trunc i8 %74 to i1
  %76 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 16
  %77 = zext i1 %75 to i8
  store i8 %77, ptr %76, align 1, !tbaa !48
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.imp::State", ptr %78, i32 0, i32 17
  %80 = load i8, ptr %79, align 4, !tbaa !49, !range !42, !noundef !43
  %81 = trunc i8 %80 to i1
  %82 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 17
  %83 = zext i1 %81 to i8
  store i8 %83, ptr %82, align 4, !tbaa !49
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.imp::State", ptr %84, i32 0, i32 18
  %86 = load i8, ptr %85, align 1, !tbaa !50, !range !42, !noundef !43
  %87 = trunc i8 %86 to i1
  %88 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 18
  %89 = zext i1 %87 to i8
  store i8 %89, ptr %88, align 1, !tbaa !50
  %90 = load ptr, ptr %4, align 8, !tbaa !5
  %91 = getelementptr inbounds %"class.imp::State", ptr %90, i32 0, i32 19
  %92 = load i8, ptr %91, align 2, !tbaa !51, !range !42, !noundef !43
  %93 = trunc i8 %92 to i1
  %94 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 19
  %95 = zext i1 %93 to i8
  store i8 %95, ptr %94, align 2, !tbaa !51
  %96 = load ptr, ptr %4, align 8, !tbaa !5
  %97 = getelementptr inbounds %"class.imp::State", ptr %96, i32 0, i32 20
  %98 = load i8, ptr %97, align 1, !tbaa !52, !range !42, !noundef !43
  %99 = trunc i8 %98 to i1
  %100 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 20
  %101 = zext i1 %99 to i8
  store i8 %101, ptr %100, align 1, !tbaa !52
  %102 = load ptr, ptr %4, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.imp::State", ptr %102, i32 0, i32 21
  %104 = load i8, ptr %103, align 8, !tbaa !53, !range !42, !noundef !43
  %105 = trunc i8 %104 to i1
  %106 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 21
  %107 = zext i1 %105 to i8
  store i8 %107, ptr %106, align 8, !tbaa !53
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %"class.imp::State", ptr %108, i32 0, i32 22
  %110 = load i8, ptr %109, align 1, !tbaa !54, !range !42, !noundef !43
  %111 = trunc i8 %110 to i1
  %112 = getelementptr inbounds %"class.imp::State", ptr %5, i32 0, i32 22
  %113 = zext i1 %111 to i8
  store i8 %113, ptr %112, align 1, !tbaa !54
  ret ptr %5
}

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

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

attributes #0 = { 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 #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 = { 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 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, !19, i64 152}
!10 = !{!"_ZTSN3imp5StateE", !11, i64 0, !15, i64 24, !17, i64 112, !19, i64 152, !20, i64 156, !21, i64 160, !22, i64 164, !22, i64 165, !23, i64 168, !25, i64 184, !27, i64 200, !36, i64 248, !22, i64 296, !22, i64 297, !22, i64 298, !22, i64 299, !22, i64 300, !22, i64 301, !22, i64 302, !22, i64 303, !22, i64 304, !22, i64 305}
!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 = !{!"_ZTSN3imp7Matrix4E", !16, i64 0}
!16 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !11, i64 0, !7, i64 24}
!17 = !{!"_ZTSN3imp4Vec4E", !18, i64 0}
!18 = !{!"_ZTSN3imp3VecILi4EfEE", !11, i64 0, !7, i64 24}
!19 = !{!"_ZTSN3imp5State15FaceCullingModeE", !7, i64 0}
!20 = !{!"_ZTSN3imp5State9BlendModeE", !7, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!"bool", !7, i64 0}
!23 = !{!"_ZTSSt10shared_ptrIN3imp14ReflexionModelEE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!25 = !{!"_ZTSSt10shared_ptrIN3imp10RenderPassEE", !26, i64 0}
!26 = !{!"_ZTSSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !14, i64 8}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3imp7UniformEESt4lessIS5_ESaISt4pairIKS5_S9_EEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !30, i64 0, !32, i64 8}
!30 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !31, i64 0}
!31 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!32 = !{!"_ZTSSt15_Rb_tree_header", !33, i64 0, !35, i64 32}
!33 = !{!"_ZTSSt18_Rb_tree_node_base", !34, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!34 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!35 = !{!"long", !7, i64 0}
!36 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEE", !37, i64 0}
!37 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !38, i64 0}
!38 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !30, i64 0, !32, i64 8}
!39 = !{!10, !20, i64 156}
!40 = !{!10, !21, i64 160}
!41 = !{!10, !22, i64 164}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = !{!10, !22, i64 165}
!45 = !{!10, !22, i64 296}
!46 = !{!10, !22, i64 297}
!47 = !{!10, !22, i64 298}
!48 = !{!10, !22, i64 299}
!49 = !{!10, !22, i64 300}
!50 = !{!10, !22, i64 301}
!51 = !{!10, !22, i64 302}
!52 = !{!10, !22, i64 303}
!53 = !{!10, !22, i64 304}
!54 = !{!10, !22, i64 305}


; 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: 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 #0 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14ReflexionModelEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(306) ptr @_ZN3imp5StateaSERKS0_(ptr noundef nonnull returned align 8 dereferenceable(306) %0, ptr noundef nonnull align 8 dereferenceable(306) %1) local_unnamed_addr #3 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(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %3)
  %6 = getelementptr inbounds i8, ptr %1, i64 112
  %7 = getelementptr inbounds i8, ptr %0, i64 112
  %8 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  %9 = getelementptr inbounds i8, ptr %1, i64 152
  %10 = getelementptr inbounds i8, ptr %0, i64 152
  %11 = load <2 x i32>, ptr %9, align 8, !tbaa !5
  store <2 x i32> %11, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 160
  %13 = load float, ptr %12, align 8, !tbaa !8
  %14 = getelementptr inbounds i8, ptr %0, i64 160
  store float %13, ptr %14, align 8, !tbaa !8
  %15 = getelementptr inbounds i8, ptr %1, i64 164
  %16 = load i8, ptr %15, align 4, !tbaa !39, !range !40, !noundef !41
  %17 = getelementptr inbounds i8, ptr %0, i64 164
  store i8 %16, ptr %17, align 4, !tbaa !39
  %18 = getelementptr inbounds i8, ptr %1, i64 165
  %19 = load i8, ptr %18, align 1, !tbaa !42, !range !40, !noundef !41
  %20 = getelementptr inbounds i8, ptr %0, i64 165
  store i8 %19, ptr %20, align 1, !tbaa !42
  %21 = getelementptr inbounds i8, ptr %1, i64 168
  %22 = getelementptr inbounds i8, ptr %0, i64 168
  %23 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14ReflexionModelEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %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(16) ptr @_ZNSt10shared_ptrIN3imp10RenderPassEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %24) #4
  %27 = getelementptr inbounds i8, ptr %1, i64 200
  %28 = getelementptr inbounds i8, ptr %0, i64 200
  %29 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3imp7UniformEESt4lessIS5_ESaISt4pairIKS5_S9_EEEaSERKSG_(ptr noundef nonnull align 8 dereferenceable(48) %28, ptr noundef nonnull align 8 dereferenceable(48) %27)
  %30 = getelementptr inbounds i8, ptr %1, i64 248
  %31 = getelementptr inbounds i8, ptr %0, i64 248
  %32 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEEaSERKSC_(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull align 8 dereferenceable(48) %30)
  %33 = getelementptr inbounds i8, ptr %1, i64 296
  %34 = getelementptr inbounds i8, ptr %0, i64 296
  %35 = load <8 x i8>, ptr %33, align 8, !tbaa !43
  store <8 x i8> %35, ptr %34, align 8, !tbaa !43
  %36 = getelementptr inbounds i8, ptr %1, i64 304
  %37 = load i8, ptr %36, align 8, !tbaa !44, !range !40, !noundef !41
  %38 = getelementptr inbounds i8, ptr %0, i64 304
  store i8 %37, ptr %38, align 8, !tbaa !44
  %39 = getelementptr inbounds i8, ptr %1, i64 305
  %40 = load i8, ptr %39, align 1, !tbaa !45, !range !40, !noundef !41
  %41 = getelementptr inbounds i8, ptr %0, i64 305
  store i8 %40, ptr %41, align 1, !tbaa !45
  ret ptr %0
}

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

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

attributes #0 = { 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 #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 = { 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 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, !21, i64 160}
!9 = !{!"_ZTSN3imp5StateE", !10, i64 0, !15, i64 24, !17, i64 112, !19, i64 152, !20, i64 156, !21, i64 160, !22, i64 164, !22, i64 165, !23, i64 168, !25, i64 184, !27, i64 200, !36, i64 248, !22, i64 296, !22, i64 297, !22, i64 298, !22, i64 299, !22, i64 300, !22, i64 301, !22, i64 302, !22, i64 303, !22, i64 304, !22, i64 305}
!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 = !{!"_ZTSN3imp7Matrix4E", !16, i64 0}
!16 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !10, i64 0, !6, i64 24}
!17 = !{!"_ZTSN3imp4Vec4E", !18, i64 0}
!18 = !{!"_ZTSN3imp3VecILi4EfEE", !10, i64 0, !6, i64 24}
!19 = !{!"_ZTSN3imp5State15FaceCullingModeE", !6, i64 0}
!20 = !{!"_ZTSN3imp5State9BlendModeE", !6, i64 0}
!21 = !{!"float", !6, i64 0}
!22 = !{!"bool", !6, i64 0}
!23 = !{!"_ZTSSt10shared_ptrIN3imp14ReflexionModelEE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN3imp14ReflexionModelELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !14, i64 8}
!25 = !{!"_ZTSSt10shared_ptrIN3imp10RenderPassEE", !26, i64 0}
!26 = !{!"_ZTSSt12__shared_ptrIN3imp10RenderPassELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !14, i64 8}
!27 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN3imp7UniformEESt4lessIS5_ESaISt4pairIKS5_S9_EEE", !28, i64 0}
!28 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE", !29, i64 0}
!29 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_St10shared_ptrIN3imp7UniformEEESt10_Select1stISC_ESt4lessIS5_ESaISC_EE13_Rb_tree_implISG_Lb1EEE", !30, i64 0, !32, i64 8}
!30 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !31, i64 0}
!31 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!32 = !{!"_ZTSSt15_Rb_tree_header", !33, i64 0, !35, i64 32}
!33 = !{!"_ZTSSt18_Rb_tree_node_base", !34, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!34 = !{!"_ZTSSt14_Rb_tree_color", !6, i64 0}
!35 = !{!"long", !6, i64 0}
!36 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbSt4lessIS5_ESaISt4pairIKS5_bEEE", !37, i64 0}
!37 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !38, i64 0}
!38 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_bESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !30, i64 0, !32, i64 8}
!39 = !{!9, !22, i64 164}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = !{!9, !22, i64 165}
!43 = !{!22, !22, i64 0}
!44 = !{!9, !22, i64 304}
!45 = !{!9, !22, i64 305}


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