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

; 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::Vec2" = type { %"class.imp::Vec" }
%"class.imp::Vec" = type { %"class.imp::Object", [2 x float] }
%"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::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::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.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::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 nounwind uwtable
declare dso_local void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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)) #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)) #0 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)) #0 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)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp7Uniform3mixERKSt10shared_ptrIS0_ES4_f(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, float noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca float, align 4
  %9 = alloca %"class.imp::Vec2", align 8
  %10 = alloca %"class.imp::Vec3", align 8
  %11 = alloca %"class.imp::Vec4", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store float %3, ptr %8, align 4, !tbaa !9
  %12 = load ptr, ptr %5, align 8
  %13 = load ptr, ptr %6, align 8, !tbaa !5
  %14 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %13) #5
  %15 = getelementptr inbounds %"class.imp::Uniform", ptr %14, i32 0, i32 2
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %17) #5
  %19 = getelementptr inbounds %"class.imp::Uniform", ptr %18, i32 0, i32 2
  %20 = load i32, ptr %19, align 8, !tbaa !11
  %21 = icmp ne i32 %16, %20
  br i1 %21, label %22, label %23

22:                                               ; preds = %4
  br label %284

23:                                               ; preds = %4
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %24) #5
  %26 = getelementptr inbounds %"class.imp::Uniform", ptr %25, i32 0, i32 3
  %27 = load i32, ptr %26, align 4, !tbaa !41
  %28 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 3
  store i32 %27, ptr %28, align 4, !tbaa !41
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %29) #5
  %31 = getelementptr inbounds %"class.imp::Uniform", ptr %30, i32 0, i32 2
  %32 = load i32, ptr %31, align 8, !tbaa !11
  %33 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  store i32 %32, ptr %33, align 8, !tbaa !11
  %34 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 3
  %35 = load i32, ptr %34, align 4, !tbaa !41
  %36 = icmp eq i32 %35, 0
  br i1 %36, label %37, label %148

37:                                               ; preds = %23
  %38 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %39 = load i32, ptr %38, align 8, !tbaa !11
  %40 = icmp eq i32 %39, 5
  br i1 %40, label %41, label %47

41:                                               ; preds = %37
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %42) #5
  %44 = getelementptr inbounds %"class.imp::Uniform", ptr %43, i32 0, i32 4
  %45 = load i32, ptr %44, align 8, !tbaa !42
  %46 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 4
  store i32 %45, ptr %46, align 8, !tbaa !42
  br label %47

47:                                               ; preds = %41, %37
  %48 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %49 = load i32, ptr %48, align 8, !tbaa !11
  %50 = icmp eq i32 %49, 1
  br i1 %50, label %51, label %57

51:                                               ; preds = %47
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %52) #5
  %54 = getelementptr inbounds %"class.imp::Uniform", ptr %53, i32 0, i32 5
  %55 = load float, ptr %54, align 4, !tbaa !43
  %56 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 5
  store float %55, ptr %56, align 4, !tbaa !43
  br label %57

57:                                               ; preds = %51, %47
  %58 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %59 = load i32, ptr %58, align 8, !tbaa !11
  %60 = icmp eq i32 %59, 2
  br i1 %60, label %61, label %67

61:                                               ; preds = %57
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  %63 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %62) #5
  %64 = getelementptr inbounds %"class.imp::Uniform", ptr %63, i32 0, i32 6
  %65 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 6
  %66 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(32) %64) #5
  br label %67

67:                                               ; preds = %61, %57
  %68 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %69 = load i32, ptr %68, align 8, !tbaa !11
  %70 = icmp eq i32 %69, 3
  br i1 %70, label %71, label %77

71:                                               ; preds = %67
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %72) #5
  %74 = getelementptr inbounds %"class.imp::Uniform", ptr %73, i32 0, i32 7
  %75 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 7
  %76 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %75, ptr noundef nonnull align 8 dereferenceable(36) %74) #5
  br label %77

77:                                               ; preds = %71, %67
  %78 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %79 = load i32, ptr %78, align 8, !tbaa !11
  %80 = icmp eq i32 %79, 4
  br i1 %80, label %81, label %87

81:                                               ; preds = %77
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %82) #5
  %84 = getelementptr inbounds %"class.imp::Uniform", ptr %83, i32 0, i32 8
  %85 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 8
  %86 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %85, ptr noundef nonnull align 8 dereferenceable(40) %84) #5
  br label %87

87:                                               ; preds = %81, %77
  %88 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %89 = load i32, ptr %88, align 8, !tbaa !11
  %90 = icmp eq i32 %89, 6
  br i1 %90, label %91, label %97

91:                                               ; preds = %87
  %92 = load ptr, ptr %6, align 8, !tbaa !5
  %93 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %92) #5
  %94 = getelementptr inbounds %"class.imp::Uniform", ptr %93, i32 0, i32 9
  %95 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 9
  %96 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60) %95, ptr noundef nonnull align 8 dereferenceable(60) %94)
  br label %97

97:                                               ; preds = %91, %87
  %98 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %99 = load i32, ptr %98, align 8, !tbaa !11
  %100 = icmp eq i32 %99, 7
  br i1 %100, label %101, label %107

101:                                              ; preds = %97
  %102 = load ptr, ptr %6, align 8, !tbaa !5
  %103 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %102) #5
  %104 = getelementptr inbounds %"class.imp::Uniform", ptr %103, i32 0, i32 10
  %105 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 10
  %106 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %105, ptr noundef nonnull align 8 dereferenceable(88) %104)
  br label %107

107:                                              ; preds = %101, %97
  %108 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %109 = load i32, ptr %108, align 8, !tbaa !11
  %110 = icmp eq i32 %109, 8
  br i1 %110, label %111, label %122

111:                                              ; preds = %107
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %112) #5
  %114 = getelementptr inbounds %"class.imp::Uniform", ptr %113, i32 0, i32 11
  %115 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 11
  %116 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp12ImageSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %115, ptr noundef nonnull align 8 dereferenceable(16) %114) #5
  %117 = load ptr, ptr %6, align 8, !tbaa !5
  %118 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %117) #5
  %119 = getelementptr inbounds %"class.imp::Uniform", ptr %118, i32 0, i32 4
  %120 = load i32, ptr %119, align 8, !tbaa !42
  %121 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 4
  store i32 %120, ptr %121, align 8, !tbaa !42
  br label %122

122:                                              ; preds = %111, %107
  %123 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %124 = load i32, ptr %123, align 8, !tbaa !11
  %125 = icmp eq i32 %124, 9
  br i1 %125, label %126, label %137

126:                                              ; preds = %122
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %127) #5
  %129 = getelementptr inbounds %"class.imp::Uniform", ptr %128, i32 0, i32 12
  %130 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 12
  %131 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14CubeMapSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %130, ptr noundef nonnull align 8 dereferenceable(16) %129) #5
  %132 = load ptr, ptr %6, align 8, !tbaa !5
  %133 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %132) #5
  %134 = getelementptr inbounds %"class.imp::Uniform", ptr %133, i32 0, i32 4
  %135 = load i32, ptr %134, align 8, !tbaa !42
  %136 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 4
  store i32 %135, ptr %136, align 8, !tbaa !42
  br label %137

137:                                              ; preds = %126, %122
  %138 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %139 = load i32, ptr %138, align 8, !tbaa !11
  %140 = icmp eq i32 %139, 10
  br i1 %140, label %141, label %147

141:                                              ; preds = %137
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %142) #5
  %144 = getelementptr inbounds %"class.imp::Uniform", ptr %143, i32 0, i32 13
  %145 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 13
  %146 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %145, ptr noundef nonnull align 8 dereferenceable(24) %144)
  br label %147

147:                                              ; preds = %141, %137
  br label %284

148:                                              ; preds = %23
  %149 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 3
  %150 = load i32, ptr %149, align 4, !tbaa !41
  %151 = icmp eq i32 %150, 1
  br i1 %151, label %152, label %283

152:                                              ; preds = %148
  %153 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %154 = load i32, ptr %153, align 8, !tbaa !11
  %155 = icmp eq i32 %154, 5
  br i1 %155, label %156, label %166

156:                                              ; preds = %152
  %157 = load ptr, ptr %6, align 8, !tbaa !5
  %158 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %157) #5
  %159 = getelementptr inbounds %"class.imp::Uniform", ptr %158, i32 0, i32 4
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %160) #5
  %162 = getelementptr inbounds %"class.imp::Uniform", ptr %161, i32 0, i32 4
  %163 = load float, ptr %8, align 4, !tbaa !9
  %164 = call noundef i32 @_ZN3imp3mixIiEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4) %159, ptr noundef nonnull align 4 dereferenceable(4) %162, float noundef %163)
  %165 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 4
  store i32 %164, ptr %165, align 8, !tbaa !42
  br label %166

166:                                              ; preds = %156, %152
  %167 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %168 = load i32, ptr %167, align 8, !tbaa !11
  %169 = icmp eq i32 %168, 1
  br i1 %169, label %170, label %180

170:                                              ; preds = %166
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %171) #5
  %173 = getelementptr inbounds %"class.imp::Uniform", ptr %172, i32 0, i32 5
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %174) #5
  %176 = getelementptr inbounds %"class.imp::Uniform", ptr %175, i32 0, i32 5
  %177 = load float, ptr %8, align 4, !tbaa !9
  %178 = call noundef float @_ZN3imp3mixIfEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4) %173, ptr noundef nonnull align 4 dereferenceable(4) %176, float noundef %177)
  %179 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 5
  store float %178, ptr %179, align 4, !tbaa !43
  br label %180

180:                                              ; preds = %170, %166
  %181 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %182 = load i32, ptr %181, align 8, !tbaa !11
  %183 = icmp eq i32 %182, 2
  br i1 %183, label %184, label %194

184:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #5
  %185 = load ptr, ptr %6, align 8, !tbaa !5
  %186 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %185) #5
  %187 = getelementptr inbounds %"class.imp::Uniform", ptr %186, i32 0, i32 6
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %188) #5
  %190 = getelementptr inbounds %"class.imp::Uniform", ptr %189, i32 0, i32 6
  %191 = load float, ptr %8, align 4, !tbaa !9
  call void @_ZN3imp3mixINS_4Vec2EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec2") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %187, ptr noundef nonnull align 8 dereferenceable(32) %190, float noundef %191)
  %192 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 6
  %193 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSEOS0_(ptr noundef nonnull align 8 dereferenceable(32) %192, ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #5
  br label %194

194:                                              ; preds = %184, %180
  %195 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %196 = load i32, ptr %195, align 8, !tbaa !11
  %197 = icmp eq i32 %196, 3
  br i1 %197, label %198, label %208

198:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #5
  %199 = load ptr, ptr %6, align 8, !tbaa !5
  %200 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %199) #5
  %201 = getelementptr inbounds %"class.imp::Uniform", ptr %200, i32 0, i32 7
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %202) #5
  %204 = getelementptr inbounds %"class.imp::Uniform", ptr %203, i32 0, i32 7
  %205 = load float, ptr %8, align 4, !tbaa !9
  call void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec3") align 8 %10, ptr noundef nonnull align 8 dereferenceable(36) %201, ptr noundef nonnull align 8 dereferenceable(36) %204, float noundef %205)
  %206 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 7
  %207 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %206, ptr noundef nonnull align 8 dereferenceable(36) %10) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #5
  br label %208

208:                                              ; preds = %198, %194
  %209 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %210 = load i32, ptr %209, align 8, !tbaa !11
  %211 = icmp eq i32 %210, 4
  br i1 %211, label %212, label %222

212:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #5
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %213) #5
  %215 = getelementptr inbounds %"class.imp::Uniform", ptr %214, i32 0, i32 8
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %216) #5
  %218 = getelementptr inbounds %"class.imp::Uniform", ptr %217, i32 0, i32 8
  %219 = load float, ptr %8, align 4, !tbaa !9
  call void @_ZN3imp3mixINS_4Vec4EEET_RKS2_S4_f(ptr dead_on_unwind writable sret(%"class.imp::Vec4") align 8 %11, ptr noundef nonnull align 8 dereferenceable(40) %215, ptr noundef nonnull align 8 dereferenceable(40) %218, float noundef %219)
  %220 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 8
  %221 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %220, ptr noundef nonnull align 8 dereferenceable(40) %11) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #5
  br label %222

222:                                              ; preds = %212, %208
  %223 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %224 = load i32, ptr %223, align 8, !tbaa !11
  %225 = icmp eq i32 %224, 6
  br i1 %225, label %226, label %232

226:                                              ; preds = %222
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %227) #5
  %229 = getelementptr inbounds %"class.imp::Uniform", ptr %228, i32 0, i32 9
  %230 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 9
  %231 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60) %230, ptr noundef nonnull align 8 dereferenceable(60) %229)
  br label %232

232:                                              ; preds = %226, %222
  %233 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %234 = load i32, ptr %233, align 8, !tbaa !11
  %235 = icmp eq i32 %234, 7
  br i1 %235, label %236, label %242

236:                                              ; preds = %232
  %237 = load ptr, ptr %6, align 8, !tbaa !5
  %238 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %237) #5
  %239 = getelementptr inbounds %"class.imp::Uniform", ptr %238, i32 0, i32 10
  %240 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 10
  %241 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %240, ptr noundef nonnull align 8 dereferenceable(88) %239)
  br label %242

242:                                              ; preds = %236, %232
  %243 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %244 = load i32, ptr %243, align 8, !tbaa !11
  %245 = icmp eq i32 %244, 8
  br i1 %245, label %246, label %257

246:                                              ; preds = %242
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %247) #5
  %249 = getelementptr inbounds %"class.imp::Uniform", ptr %248, i32 0, i32 11
  %250 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 11
  %251 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp12ImageSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %250, ptr noundef nonnull align 8 dereferenceable(16) %249) #5
  %252 = load ptr, ptr %6, align 8, !tbaa !5
  %253 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %252) #5
  %254 = getelementptr inbounds %"class.imp::Uniform", ptr %253, i32 0, i32 4
  %255 = load i32, ptr %254, align 8, !tbaa !42
  %256 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 4
  store i32 %255, ptr %256, align 8, !tbaa !42
  br label %257

257:                                              ; preds = %246, %242
  %258 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %259 = load i32, ptr %258, align 8, !tbaa !11
  %260 = icmp eq i32 %259, 9
  br i1 %260, label %261, label %272

261:                                              ; preds = %257
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %262) #5
  %264 = getelementptr inbounds %"class.imp::Uniform", ptr %263, i32 0, i32 12
  %265 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 12
  %266 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14CubeMapSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %265, ptr noundef nonnull align 8 dereferenceable(16) %264) #5
  %267 = load ptr, ptr %6, align 8, !tbaa !5
  %268 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %267) #5
  %269 = getelementptr inbounds %"class.imp::Uniform", ptr %268, i32 0, i32 4
  %270 = load i32, ptr %269, align 8, !tbaa !42
  %271 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 4
  store i32 %270, ptr %271, align 8, !tbaa !42
  br label %272

272:                                              ; preds = %261, %257
  %273 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 2
  %274 = load i32, ptr %273, align 8, !tbaa !11
  %275 = icmp eq i32 %274, 10
  br i1 %275, label %276, label %282

276:                                              ; preds = %272
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %277) #5
  %279 = getelementptr inbounds %"class.imp::Uniform", ptr %278, i32 0, i32 13
  %280 = getelementptr inbounds %"class.imp::Uniform", ptr %12, i32 0, i32 13
  %281 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %280, ptr noundef nonnull align 8 dereferenceable(24) %279)
  br label %282

282:                                              ; preds = %276, %272
  br label %283

283:                                              ; preds = %282, %148
  br label %284

284:                                              ; preds = %283, %147, %22
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3imp3mixIiEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3imp3mixIfEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef) #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec2EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec2") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), float noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec4EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec4") align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), float noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSEOS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #1 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 = { 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 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !20, i64 56}
!12 = !{!"_ZTSN3imp7UniformE", !13, i64 0, !17, i64 24, !20, i64 56, !21, i64 60, !22, i64 64, !10, i64 68, !23, i64 72, !25, i64 104, !27, i64 144, !29, i64 184, !31, i64 248, !33, i64 336, !35, i64 352, !37, i64 368}
!13 = !{!"_ZTSN3imp6ObjectE", !14, i64 8}
!14 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !15, i64 0}
!15 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!16 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSN3imp7Uniform4TypeE", !7, i64 0}
!21 = !{!"_ZTSN3imp7Uniform4ModeE", !7, i64 0}
!22 = !{!"int", !7, i64 0}
!23 = !{!"_ZTSN3imp4Vec2E", !24, i64 0}
!24 = !{!"_ZTSN3imp3VecILi2EfEE", !13, i64 0, !7, i64 24}
!25 = !{!"_ZTSN3imp4Vec3E", !26, i64 0}
!26 = !{!"_ZTSN3imp3VecILi3EfEE", !13, i64 0, !7, i64 24}
!27 = !{!"_ZTSN3imp4Vec4E", !28, i64 0}
!28 = !{!"_ZTSN3imp3VecILi4EfEE", !13, i64 0, !7, i64 24}
!29 = !{!"_ZTSN3imp7Matrix3E", !30, i64 0}
!30 = !{!"_ZTSN3imp6MatrixILi3ELi3EfEE", !13, i64 0, !7, i64 24}
!31 = !{!"_ZTSN3imp7Matrix4E", !32, i64 0}
!32 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !13, i64 0, !7, i64 24}
!33 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!35 = !{!"_ZTSSt10shared_ptrIN3imp14CubeMapSamplerEE", !36, i64 0}
!36 = !{!"_ZTSSt12__shared_ptrIN3imp14CubeMapSamplerELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !16, i64 8}
!37 = !{!"_ZTSSt6vectorIfSaIfEE", !38, i64 0}
!38 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !40, i64 0}
!40 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!41 = !{!12, !21, i64 60}
!42 = !{!12, !22, i64 64}
!43 = !{!12, !10, 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"

%"class.imp::Vec2" = type { %"class.imp::Vec" }
%"class.imp::Vec" = type { %"class.imp::Object", [2 x float] }
%"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::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] }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 #0 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 #0 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 #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3imp7Uniform3mixERKSt10shared_ptrIS0_ES4_f(ptr noundef nonnull align 8 dereferenceable(392) %0, ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(16) %2, float noundef %3) local_unnamed_addr #3 align 2 {
  %5 = alloca %"class.imp::Vec2", align 8
  %6 = alloca %"class.imp::Vec3", align 8
  %7 = alloca %"class.imp::Vec4", align 8
  %8 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %9 = getelementptr inbounds i8, ptr %8, i64 56
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %11 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %12 = getelementptr inbounds i8, ptr %11, i64 56
  %13 = load i32, ptr %12, align 8, !tbaa !5
  %.not = icmp eq i32 %10, %13
  br i1 %.not, label %14, label %208

14:                                               ; preds = %4
  %15 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %16 = getelementptr inbounds i8, ptr %15, i64 60
  %17 = load i32, ptr %16, align 4, !tbaa !39
  %18 = getelementptr inbounds i8, ptr %0, i64 60
  store i32 %17, ptr %18, align 4, !tbaa !39
  %19 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %20 = getelementptr inbounds i8, ptr %19, i64 56
  %21 = load i32, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %21, ptr %22, align 8, !tbaa !5
  %23 = load i32, ptr %18, align 4, !tbaa !39
  switch i32 %23, label %208 [
    i32 0, label %24
    i32 1, label %111
  ]

24:                                               ; preds = %14
  %25 = icmp eq i32 %21, 5
  br i1 %25, label %26, label %31

26:                                               ; preds = %24
  %27 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %28 = getelementptr inbounds i8, ptr %27, i64 64
  %29 = load i32, ptr %28, align 8, !tbaa !40
  %30 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %29, ptr %30, align 8, !tbaa !40
  %.pr = load i32, ptr %22, align 8, !tbaa !5
  br label %31

31:                                               ; preds = %26, %24
  %32 = phi i32 [ %.pr, %26 ], [ %21, %24 ]
  %33 = icmp eq i32 %32, 1
  br i1 %33, label %34, label %39

34:                                               ; preds = %31
  %35 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %36 = getelementptr inbounds i8, ptr %35, i64 68
  %37 = load float, ptr %36, align 4, !tbaa !41
  %38 = getelementptr inbounds i8, ptr %0, i64 68
  store float %37, ptr %38, align 4, !tbaa !41
  %.pre51 = load i32, ptr %22, align 8, !tbaa !5
  br label %39

39:                                               ; preds = %34, %31
  %40 = phi i32 [ %.pre51, %34 ], [ %32, %31 ]
  %41 = icmp eq i32 %40, 2
  br i1 %41, label %42, label %47

42:                                               ; preds = %39
  %43 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %44 = getelementptr inbounds i8, ptr %43, i64 72
  %45 = getelementptr inbounds i8, ptr %0, i64 72
  %46 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSERKS0_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %44) #5
  %.pr39 = load i32, ptr %22, align 8, !tbaa !5
  br label %47

47:                                               ; preds = %42, %39
  %48 = phi i32 [ %.pr39, %42 ], [ %40, %39 ]
  %49 = icmp eq i32 %48, 3
  br i1 %49, label %50, label %55

50:                                               ; preds = %47
  %51 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %52 = getelementptr inbounds i8, ptr %51, i64 104
  %53 = getelementptr inbounds i8, ptr %0, i64 104
  %54 = tail call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(36) %53, ptr noundef nonnull align 8 dereferenceable(36) %52) #5
  %.pre52 = load i32, ptr %22, align 8, !tbaa !5
  br label %55

55:                                               ; preds = %50, %47
  %56 = phi i32 [ %.pre52, %50 ], [ %48, %47 ]
  %57 = icmp eq i32 %56, 4
  br i1 %57, label %58, label %63

58:                                               ; preds = %55
  %59 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %60 = getelementptr inbounds i8, ptr %59, i64 144
  %61 = getelementptr inbounds i8, ptr %0, i64 144
  %62 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef nonnull align 8 dereferenceable(40) %60) #5
  %.pr40 = load i32, ptr %22, align 8, !tbaa !5
  br label %63

63:                                               ; preds = %58, %55
  %64 = phi i32 [ %.pr40, %58 ], [ %56, %55 ]
  %65 = icmp eq i32 %64, 6
  br i1 %65, label %66, label %71

66:                                               ; preds = %63
  %67 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %68 = getelementptr inbounds i8, ptr %67, i64 184
  %69 = getelementptr inbounds i8, ptr %0, i64 184
  %70 = tail call noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60) %69, ptr noundef nonnull align 8 dereferenceable(60) %68)
  %.pre53 = load i32, ptr %22, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %66, %63
  %72 = phi i32 [ %.pre53, %66 ], [ %64, %63 ]
  %73 = icmp eq i32 %72, 7
  br i1 %73, label %74, label %79

74:                                               ; preds = %71
  %75 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %76 = getelementptr inbounds i8, ptr %75, i64 248
  %77 = getelementptr inbounds i8, ptr %0, i64 248
  %78 = tail call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %77, ptr noundef nonnull align 8 dereferenceable(88) %76)
  %.pr41 = load i32, ptr %22, align 8, !tbaa !5
  br label %79

79:                                               ; preds = %74, %71
  %80 = phi i32 [ %.pr41, %74 ], [ %72, %71 ]
  %81 = icmp eq i32 %80, 8
  br i1 %81, label %82, label %91

82:                                               ; preds = %79
  %83 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %84 = getelementptr inbounds i8, ptr %83, i64 336
  %85 = getelementptr inbounds i8, ptr %0, i64 336
  %86 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp12ImageSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %85, ptr noundef nonnull align 8 dereferenceable(16) %84) #5
  %87 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %88 = getelementptr inbounds i8, ptr %87, i64 64
  %89 = load i32, ptr %88, align 8, !tbaa !40
  %90 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %89, ptr %90, align 8, !tbaa !40
  %.pre54 = load i32, ptr %22, align 8, !tbaa !5
  br label %91

91:                                               ; preds = %82, %79
  %92 = phi i32 [ %.pre54, %82 ], [ %80, %79 ]
  %93 = icmp eq i32 %92, 9
  br i1 %93, label %94, label %103

94:                                               ; preds = %91
  %95 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %96 = getelementptr inbounds i8, ptr %95, i64 352
  %97 = getelementptr inbounds i8, ptr %0, i64 352
  %98 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14CubeMapSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %97, ptr noundef nonnull align 8 dereferenceable(16) %96) #5
  %99 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %100 = getelementptr inbounds i8, ptr %99, i64 64
  %101 = load i32, ptr %100, align 8, !tbaa !40
  %102 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %101, ptr %102, align 8, !tbaa !40
  %.pr42 = load i32, ptr %22, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %94, %91
  %104 = phi i32 [ %.pr42, %94 ], [ %92, %91 ]
  %105 = icmp eq i32 %104, 10
  br i1 %105, label %106, label %208

106:                                              ; preds = %103
  %107 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %108 = getelementptr inbounds i8, ptr %107, i64 368
  %109 = getelementptr inbounds i8, ptr %0, i64 368
  %110 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %109, ptr noundef nonnull align 8 dereferenceable(24) %108)
  br label %208

111:                                              ; preds = %14
  %112 = icmp eq i32 %21, 5
  br i1 %112, label %113, label %120

113:                                              ; preds = %111
  %114 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %115 = getelementptr inbounds i8, ptr %114, i64 64
  %116 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %117 = getelementptr inbounds i8, ptr %116, i64 64
  %118 = tail call noundef i32 @_ZN3imp3mixIiEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4) %115, ptr noundef nonnull align 4 dereferenceable(4) %117, float noundef %3)
  %119 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %118, ptr %119, align 8, !tbaa !40
  %.pr43 = load i32, ptr %22, align 8, !tbaa !5
  br label %120

120:                                              ; preds = %113, %111
  %121 = phi i32 [ %.pr43, %113 ], [ %21, %111 ]
  %122 = icmp eq i32 %121, 1
  br i1 %122, label %123, label %130

123:                                              ; preds = %120
  %124 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %125 = getelementptr inbounds i8, ptr %124, i64 68
  %126 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %127 = getelementptr inbounds i8, ptr %126, i64 68
  %128 = tail call noundef float @_ZN3imp3mixIfEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4) %125, ptr noundef nonnull align 4 dereferenceable(4) %127, float noundef %3)
  %129 = getelementptr inbounds i8, ptr %0, i64 68
  store float %128, ptr %129, align 4, !tbaa !41
  %.pre = load i32, ptr %22, align 8, !tbaa !5
  br label %130

130:                                              ; preds = %123, %120
  %131 = phi i32 [ %.pre, %123 ], [ %121, %120 ]
  %132 = icmp eq i32 %131, 2
  br i1 %132, label %133, label %140

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #5
  %134 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %135 = getelementptr inbounds i8, ptr %134, i64 72
  %136 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %137 = getelementptr inbounds i8, ptr %136, i64 72
  call void @_ZN3imp3mixINS_4Vec2EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec2") align 8 %5, ptr noundef nonnull align 8 dereferenceable(32) %135, ptr noundef nonnull align 8 dereferenceable(32) %137, float noundef %3)
  %138 = getelementptr inbounds i8, ptr %0, i64 72
  %139 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3imp4Vec2aSEOS0_(ptr noundef nonnull align 8 dereferenceable(32) %138, ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #5
  %.pr44 = load i32, ptr %22, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %133, %130
  %141 = phi i32 [ %.pr44, %133 ], [ %131, %130 ]
  %142 = icmp eq i32 %141, 3
  br i1 %142, label %143, label %150

143:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  %144 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %145 = getelementptr inbounds i8, ptr %144, i64 104
  %146 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %147 = getelementptr inbounds i8, ptr %146, i64 104
  call void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec3") align 8 %6, ptr noundef nonnull align 8 dereferenceable(36) %145, ptr noundef nonnull align 8 dereferenceable(36) %147, float noundef %3)
  %148 = getelementptr inbounds i8, ptr %0, i64 104
  %149 = call noundef nonnull align 8 dereferenceable(36) ptr @_ZN3imp4Vec3aSEOS0_(ptr noundef nonnull align 8 dereferenceable(36) %148, ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(36) %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  %.pre48 = load i32, ptr %22, align 8, !tbaa !5
  br label %150

150:                                              ; preds = %143, %140
  %151 = phi i32 [ %.pre48, %143 ], [ %141, %140 ]
  %152 = icmp eq i32 %151, 4
  br i1 %152, label %153, label %160

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #5
  %154 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %155 = getelementptr inbounds i8, ptr %154, i64 144
  %156 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %2) #5
  %157 = getelementptr inbounds i8, ptr %156, i64 144
  call void @_ZN3imp3mixINS_4Vec4EEET_RKS2_S4_f(ptr dead_on_unwind nonnull writable sret(%"class.imp::Vec4") align 8 %7, ptr noundef nonnull align 8 dereferenceable(40) %155, ptr noundef nonnull align 8 dereferenceable(40) %157, float noundef %3)
  %158 = getelementptr inbounds i8, ptr %0, i64 144
  %159 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %158, ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @_ZN3imp6ObjectD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #5
  %.pr45 = load i32, ptr %22, align 8, !tbaa !5
  br label %160

160:                                              ; preds = %153, %150
  %161 = phi i32 [ %.pr45, %153 ], [ %151, %150 ]
  %162 = icmp eq i32 %161, 6
  br i1 %162, label %163, label %168

163:                                              ; preds = %160
  %164 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %165 = getelementptr inbounds i8, ptr %164, i64 184
  %166 = getelementptr inbounds i8, ptr %0, i64 184
  %167 = call noundef nonnull align 8 dereferenceable(60) ptr @_ZN3imp7Matrix3aSERKS0_(ptr noundef nonnull align 8 dereferenceable(60) %166, ptr noundef nonnull align 8 dereferenceable(60) %165)
  %.pre49 = load i32, ptr %22, align 8, !tbaa !5
  br label %168

168:                                              ; preds = %163, %160
  %169 = phi i32 [ %.pre49, %163 ], [ %161, %160 ]
  %170 = icmp eq i32 %169, 7
  br i1 %170, label %171, label %176

171:                                              ; preds = %168
  %172 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %173 = getelementptr inbounds i8, ptr %172, i64 248
  %174 = getelementptr inbounds i8, ptr %0, i64 248
  %175 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZN3imp7Matrix4aSERKS0_(ptr noundef nonnull align 8 dereferenceable(88) %174, ptr noundef nonnull align 8 dereferenceable(88) %173)
  %.pr46 = load i32, ptr %22, align 8, !tbaa !5
  br label %176

176:                                              ; preds = %171, %168
  %177 = phi i32 [ %.pr46, %171 ], [ %169, %168 ]
  %178 = icmp eq i32 %177, 8
  br i1 %178, label %179, label %188

179:                                              ; preds = %176
  %180 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %181 = getelementptr inbounds i8, ptr %180, i64 336
  %182 = getelementptr inbounds i8, ptr %0, i64 336
  %183 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp12ImageSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %182, ptr noundef nonnull align 8 dereferenceable(16) %181) #5
  %184 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %185 = getelementptr inbounds i8, ptr %184, i64 64
  %186 = load i32, ptr %185, align 8, !tbaa !40
  %187 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %186, ptr %187, align 8, !tbaa !40
  %.pre50 = load i32, ptr %22, align 8, !tbaa !5
  br label %188

188:                                              ; preds = %179, %176
  %189 = phi i32 [ %.pre50, %179 ], [ %177, %176 ]
  %190 = icmp eq i32 %189, 9
  br i1 %190, label %191, label %200

191:                                              ; preds = %188
  %192 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %193 = getelementptr inbounds i8, ptr %192, i64 352
  %194 = getelementptr inbounds i8, ptr %0, i64 352
  %195 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt10shared_ptrIN3imp14CubeMapSamplerEEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(16) %194, ptr noundef nonnull align 8 dereferenceable(16) %193) #5
  %196 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %197 = getelementptr inbounds i8, ptr %196, i64 64
  %198 = load i32, ptr %197, align 8, !tbaa !40
  %199 = getelementptr inbounds i8, ptr %0, i64 64
  store i32 %198, ptr %199, align 8, !tbaa !40
  %.pr47 = load i32, ptr %22, align 8, !tbaa !5
  br label %200

200:                                              ; preds = %191, %188
  %201 = phi i32 [ %.pr47, %191 ], [ %189, %188 ]
  %202 = icmp eq i32 %201, 10
  br i1 %202, label %203, label %208

203:                                              ; preds = %200
  %204 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %1) #5
  %205 = getelementptr inbounds i8, ptr %204, i64 368
  %206 = getelementptr inbounds i8, ptr %0, i64 368
  %207 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIfSaIfEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %206, ptr noundef nonnull align 8 dereferenceable(24) %205)
  br label %208

208:                                              ; preds = %14, %203, %200, %103, %106, %4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt19__shared_ptr_accessIN3imp7UniformELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3imp3mixIiEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN3imp3mixIfEET_RKS1_S3_f(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), float noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec2EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec2") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), float noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec3EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec3") align 8, ptr noundef nonnull align 8 dereferenceable(36), ptr noundef nonnull align 8 dereferenceable(36), float noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3imp3mixINS_4Vec4EEET_RKS2_S4_f(ptr dead_on_unwind noalias writable sret(%"class.imp::Vec4") align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), float noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN3imp4Vec4aSEOS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #1 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 = { 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 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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, !17, i64 56}
!6 = !{!"_ZTSN3imp7UniformE", !7, i64 0, !14, i64 24, !17, i64 56, !18, i64 60, !19, i64 64, !20, i64 68, !21, i64 72, !23, i64 104, !25, i64 144, !27, i64 184, !29, i64 248, !31, i64 336, !33, i64 352, !35, i64 368}
!7 = !{!"_ZTSN3imp6ObjectE", !8, i64 8}
!8 = !{!"_ZTSSt10shared_ptrIN3imp6ObjectEE", !9, i64 0}
!9 = !{!"_ZTSSt12__shared_ptrIN3imp6ObjectELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!10 = !{!"any pointer", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !16, i64 8, !11, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !10, i64 0}
!16 = !{!"long", !11, i64 0}
!17 = !{!"_ZTSN3imp7Uniform4TypeE", !11, i64 0}
!18 = !{!"_ZTSN3imp7Uniform4ModeE", !11, i64 0}
!19 = !{!"int", !11, i64 0}
!20 = !{!"float", !11, i64 0}
!21 = !{!"_ZTSN3imp4Vec2E", !22, i64 0}
!22 = !{!"_ZTSN3imp3VecILi2EfEE", !7, i64 0, !11, i64 24}
!23 = !{!"_ZTSN3imp4Vec3E", !24, i64 0}
!24 = !{!"_ZTSN3imp3VecILi3EfEE", !7, i64 0, !11, i64 24}
!25 = !{!"_ZTSN3imp4Vec4E", !26, i64 0}
!26 = !{!"_ZTSN3imp3VecILi4EfEE", !7, i64 0, !11, i64 24}
!27 = !{!"_ZTSN3imp7Matrix3E", !28, i64 0}
!28 = !{!"_ZTSN3imp6MatrixILi3ELi3EfEE", !7, i64 0, !11, i64 24}
!29 = !{!"_ZTSN3imp7Matrix4E", !30, i64 0}
!30 = !{!"_ZTSN3imp6MatrixILi4ELi4EfEE", !7, i64 0, !11, i64 24}
!31 = !{!"_ZTSSt10shared_ptrIN3imp12ImageSamplerEE", !32, i64 0}
!32 = !{!"_ZTSSt12__shared_ptrIN3imp12ImageSamplerELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!33 = !{!"_ZTSSt10shared_ptrIN3imp14CubeMapSamplerEE", !34, i64 0}
!34 = !{!"_ZTSSt12__shared_ptrIN3imp14CubeMapSamplerELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !13, i64 8}
!35 = !{!"_ZTSSt6vectorIfSaIfEE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!39 = !{!6, !18, i64 60}
!40 = !{!6, !19, i64 64}
!41 = !{!6, !20, i64 68}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass