; LLVM IR from Try/Tempest :: Engine/thirdparty/spirv_cross (spirv_glsl)

; 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.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] }
%"struct.spirv_cross::SPIRConstant" = type { %"struct.spirv_cross::IVariant.base", %"class.spirv_cross::TypedID.281", %"struct.spirv_cross::SPIRConstant::ConstantMatrix", i8, i8, i8, %"class.spirv_cross::SmallVector.310", %"class.std::__cxx11::basic_string" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.280" }>
%"class.spirv_cross::TypedID.280" = type { i32 }
%"class.spirv_cross::TypedID.281" = type { i32 }
%"struct.spirv_cross::SPIRConstant::ConstantMatrix" = type { [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], [4 x %"class.spirv_cross::TypedID.280"], i32, [4 x i8] }
%"struct.spirv_cross::SPIRConstant::ConstantVector" = type <{ [4 x %"union.spirv_cross::SPIRConstant::Constant"], [4 x %"class.spirv_cross::TypedID.280"], i32, [4 x i8] }>
%"union.spirv_cross::SPIRConstant::Constant" = type { i64 }
%"class.spirv_cross::SmallVector.310" = type { %"class.spirv_cross::VectorView.311", i64, %"class.spirv_cross::AlignedBuffer.312" }
%"class.spirv_cross::VectorView.311" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.312" = type { [32 x i8] }
%"struct.spirv_cross::SPIRType" = type { %"struct.spirv_cross::IVariant.base", i32, i32, i32, i32, i32, %"class.spirv_cross::SmallVector.92", %"class.spirv_cross::SmallVector.284", i32, i8, i8, i32, %"class.spirv_cross::SmallVector.227", %"class.spirv_cross::SmallVector.92", %"struct.spirv_cross::SPIRType::ImageType", %"class.spirv_cross::TypedID.281", %"class.spirv_cross::TypedID.281", %"class.std::unordered_set.165" }
%"class.spirv_cross::SmallVector.284" = type { %"class.spirv_cross::VectorView.285", i64, %"class.spirv_cross::AlignedBuffer.286" }
%"class.spirv_cross::VectorView.285" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.286" = type { [8 x i8] }
%"class.spirv_cross::SmallVector.227" = type { %"class.spirv_cross::VectorView.228", i64, %"class.spirv_cross::AlignedBuffer.229" }
%"class.spirv_cross::VectorView.228" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.229" = type { [32 x i8] }
%"class.spirv_cross::SmallVector.92" = type { %"class.spirv_cross::VectorView.93", i64, %"class.spirv_cross::AlignedBuffer.94" }
%"class.spirv_cross::VectorView.93" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.94" = type { [32 x i8] }
%"struct.spirv_cross::SPIRType::ImageType" = type { %"class.spirv_cross::TypedID.281", i32, i8, i8, i8, i32, i32, i32 }
%"class.std::unordered_set.165" = type { %"class.std::_Hashtable.166" }
%"class.std::_Hashtable.166" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }

@.str.11 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.943 = external hidden unnamed_addr constant [76 x i8], align 1
@__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj = external hidden unnamed_addr constant [135 x i8], align 1
@.str.944 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.945 = external hidden unnamed_addr constant [12 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross12CompilerGLSL19constant_expressionB5cxx11ERKNS_12SPIRConstantEbb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(9848), ptr noundef nonnull align 8 dereferenceable(360), i1 noundef zeroext, i1 noundef zeroext) #2 align 2

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler9is_matrixERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(336)) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(9848) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(360) %3, ptr noundef %4, i32 noundef %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"struct.spirv_cross::SPIRConstant", align 8
  %14 = alloca %"class.spirv_cross::TypedID.281", align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !9
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i32 %5, ptr %12, align 4, !tbaa !9
  %18 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 360, ptr %13) #7
  call void @_ZN11spirv_cross12SPIRConstantC2Ev(ptr noundef nonnull align 8 dereferenceable(360) %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %19 = load i32, ptr %9, align 4, !tbaa !9
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %14, i32 noundef %19)
          to label %20 unwind label %40

20:                                               ; preds = %6
  %21 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %14, i64 4, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %22 = load ptr, ptr %10, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %22, i32 0, i32 1
  %24 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %25 unwind label %44

25:                                               ; preds = %20
  %26 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %18, i32 noundef %24)
          to label %27 unwind label %44

27:                                               ; preds = %25
  store ptr %26, ptr %17, align 8, !tbaa !5
  %28 = load ptr, ptr %17, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %28, i32 0, i32 2
  %30 = load i32, ptr %29, align 8, !tbaa !12
  %31 = icmp ne i32 %30, 15
  br i1 %31, label %32, label %36

32:                                               ; preds = %27
  %33 = load ptr, ptr %17, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %33, i32 0, i32 6
  %35 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %34) #7
  br label %36

36:                                               ; preds = %32, %27
  %37 = phi i1 [ false, %27 ], [ %35, %32 ]
  br i1 %37, label %38, label %39

38:                                               ; preds = %36
  br label %49

39:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.943, ptr noundef @.str.11, i32 noundef 5260, ptr noundef @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

40:                                               ; preds = %6
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %15, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %149

44:                                               ; preds = %147, %58, %25, %20
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %15, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %149

48:                                               ; No predecessors!
  br label %49

49:                                               ; preds = %48, %38
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %50, i32 0, i32 3
  %52 = load i8, ptr %51, align 8, !tbaa !40, !range !48, !noundef !49
  %53 = trunc i8 %52 to i1
  %54 = xor i1 %53, true
  br i1 %54, label %55, label %56

55:                                               ; preds = %49
  br label %58

56:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str.944, ptr noundef @.str.11, i32 noundef 5261, ptr noundef @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

57:                                               ; No predecessors!
  br label %58

58:                                               ; preds = %57, %55
  %59 = load ptr, ptr %17, align 8, !tbaa !5
  %60 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler9is_matrixERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176) %18, ptr noundef nonnull align 8 dereferenceable(336) %59)
          to label %61 unwind label %44

61:                                               ; preds = %58
  br i1 %60, label %62, label %119

62:                                               ; preds = %61
  %63 = load i32, ptr %12, align 4, !tbaa !9
  %64 = icmp eq i32 %63, 2
  br i1 %64, label %65, label %91

65:                                               ; preds = %62
  %66 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %67 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %66, i32 0, i32 0
  %68 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %67, i64 0, i64 0
  %69 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %68, i32 0, i32 2
  store i32 1, ptr %69, align 8, !tbaa !50
  %70 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %71 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %70, i32 0, i32 2
  store i32 1, ptr %71, align 8, !tbaa !52
  %72 = load ptr, ptr %10, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %72, i32 0, i32 2
  %74 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %73, i32 0, i32 0
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = getelementptr inbounds i32, ptr %75, i64 0
  %77 = load i32, ptr %76, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %74, i64 0, i64 %78
  %80 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %11, align 8, !tbaa !5
  %82 = getelementptr inbounds i32, ptr %81, i64 1
  %83 = load i32, ptr %82, align 4, !tbaa !9
  %84 = zext i32 %83 to i64
  %85 = getelementptr inbounds [4 x %"union.spirv_cross::SPIRConstant::Constant"], ptr %80, i64 0, i64 %84
  %86 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %87 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %86, i32 0, i32 0
  %88 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %87, i64 0, i64 0
  %89 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %88, i32 0, i32 0
  %90 = getelementptr inbounds [4 x %"union.spirv_cross::SPIRConstant::Constant"], ptr %89, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %90, ptr align 8 %85, i64 8, i1 false), !tbaa.struct !53
  br label %118

91:                                               ; preds = %62
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = icmp eq i32 %92, 1
  br i1 %93, label %94, label %95

94:                                               ; preds = %91
  br label %97

95:                                               ; preds = %91
  call void @__assert_fail(ptr noundef @.str.945, ptr noundef @.str.11, i32 noundef 5273, ptr noundef @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

96:                                               ; No predecessors!
  br label %97

97:                                               ; preds = %96, %94
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  %99 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %98, i32 0, i32 4
  %100 = load i32, ptr %99, align 8, !tbaa !55
  %101 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %102 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %101, i32 0, i32 0
  %103 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %102, i64 0, i64 0
  %104 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %103, i32 0, i32 2
  store i32 %100, ptr %104, align 8, !tbaa !50
  %105 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %106 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %105, i32 0, i32 2
  store i32 1, ptr %106, align 8, !tbaa !52
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %107, i32 0, i32 2
  %109 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %108, i32 0, i32 0
  %110 = load ptr, ptr %11, align 8, !tbaa !5
  %111 = getelementptr inbounds i32, ptr %110, i64 0
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %109, i64 0, i64 %113
  %115 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %116 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %116, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %117, ptr align 8 %114, i64 52, i1 false), !tbaa.struct !56
  br label %118

118:                                              ; preds = %97, %65
  br label %147

119:                                              ; preds = %61
  %120 = load i32, ptr %12, align 4, !tbaa !9
  %121 = icmp eq i32 %120, 1
  br i1 %121, label %122, label %123

122:                                              ; preds = %119
  br label %125

123:                                              ; preds = %119
  call void @__assert_fail(ptr noundef @.str.945, ptr noundef @.str.11, i32 noundef 5281, ptr noundef @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

124:                                              ; No predecessors!
  br label %125

125:                                              ; preds = %124, %122
  %126 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %127 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %126, i32 0, i32 0
  %128 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %127, i64 0, i64 0
  %129 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %128, i32 0, i32 2
  store i32 1, ptr %129, align 8, !tbaa !50
  %130 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %131 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %130, i32 0, i32 2
  store i32 1, ptr %131, align 8, !tbaa !52
  %132 = load ptr, ptr %10, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %132, i32 0, i32 2
  %134 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %133, i32 0, i32 0
  %135 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %134, i64 0, i64 0
  %136 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %135, i32 0, i32 0
  %137 = load ptr, ptr %11, align 8, !tbaa !5
  %138 = getelementptr inbounds i32, ptr %137, i64 0
  %139 = load i32, ptr %138, align 4, !tbaa !9
  %140 = zext i32 %139 to i64
  %141 = getelementptr inbounds [4 x %"union.spirv_cross::SPIRConstant::Constant"], ptr %136, i64 0, i64 %140
  %142 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %13, i32 0, i32 2
  %143 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %142, i32 0, i32 0
  %144 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %143, i64 0, i64 0
  %145 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %144, i32 0, i32 0
  %146 = getelementptr inbounds [4 x %"union.spirv_cross::SPIRConstant::Constant"], ptr %145, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %146, ptr align 8 %141, i64 8, i1 false), !tbaa.struct !53
  br label %147

147:                                              ; preds = %125, %118
  invoke void @_ZN11spirv_cross12CompilerGLSL19constant_expressionB5cxx11ERKNS_12SPIRConstantEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(9848) %18, ptr noundef nonnull align 8 dereferenceable(360) %13, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %148 unwind label %44

148:                                              ; preds = %147
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @_ZN11spirv_cross12SPIRConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(360) %13) #7
  call void @llvm.lifetime.end.p0(i64 360, ptr %13) #7
  ret void

149:                                              ; preds = %44, %40
  call void @_ZN11spirv_cross12SPIRConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(360) %13) #7
  call void @llvm.lifetime.end.p0(i64 360, ptr %13) #7
  br label %150

150:                                              ; preds = %149
  %151 = load ptr, ptr %15, align 8
  %152 = load i32, ptr %16, align 4
  %153 = insertvalue { ptr, i32 } poison, ptr %151, 0
  %154 = insertvalue { ptr, i32 } %153, i32 %152, 1
  resume { ptr, i32 } %154
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross12SPIRConstantC2Ev(ptr noundef nonnull align 8 dereferenceable(360)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross12SPIRConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(360)) unnamed_addr #6 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"int", !7, i64 0}
!11 = !{i64 0, i64 4, !9}
!12 = !{!13, !17, i64 16}
!13 = !{!"_ZTSN11spirv_cross8SPIRTypeE", !14, i64 0, !16, i64 12, !17, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !18, i64 32, !22, i64 88, !10, i64 120, !25, i64 124, !25, i64 125, !26, i64 128, !27, i64 136, !18, i64 192, !30, i64 248, !31, i64 272, !31, i64 276, !35, i64 280}
!14 = !{!"_ZTSN11spirv_cross8IVariantE", !15, i64 8}
!15 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !10, i64 0}
!16 = !{!"_ZTSN3spv2OpE", !7, i64 0}
!17 = !{!"_ZTSN11spirv_cross8SPIRType8BaseTypeE", !7, i64 0}
!18 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !19, i64 0, !20, i64 16, !21, i64 24}
!19 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !6, i64 0, !20, i64 8}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !7, i64 0}
!22 = !{!"_ZTSN11spirv_cross11SmallVectorIbLm8EEE", !23, i64 0, !20, i64 16, !24, i64 24}
!23 = !{!"_ZTSN11spirv_cross10VectorViewIbEE", !6, i64 0, !20, i64 8}
!24 = !{!"_ZTSN11spirv_cross13AlignedBufferIbLm8EEE", !7, i64 0}
!25 = !{!"bool", !7, i64 0}
!26 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!27 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EEE", !28, i64 0, !20, i64 16, !29, i64 24}
!28 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE1EEEEE", !6, i64 0, !20, i64 8}
!29 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE1EEELm8EEE", !7, i64 0}
!30 = !{!"_ZTSN11spirv_cross8SPIRType9ImageTypeE", !31, i64 0, !32, i64 4, !25, i64 8, !25, i64 9, !25, i64 10, !10, i64 12, !33, i64 16, !34, i64 20}
!31 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !10, i64 0}
!32 = !{!"_ZTSN3spv3DimE", !7, i64 0}
!33 = !{!"_ZTSN3spv11ImageFormatE", !7, i64 0}
!34 = !{!"_ZTSN3spv15AccessQualifierE", !7, i64 0}
!35 = !{!"_ZTSSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !36, i64 0}
!36 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb1ELb1EEEE", !6, i64 0, !20, i64 8, !37, i64 16, !20, i64 24, !38, i64 32, !6, i64 48}
!37 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!38 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !39, i64 0, !20, i64 8}
!39 = !{!"float", !7, i64 0}
!40 = !{!41, !25, i64 264}
!41 = !{!"_ZTSN11spirv_cross12SPIRConstantE", !14, i64 0, !31, i64 12, !42, i64 16, !25, i64 264, !25, i64 265, !25, i64 266, !43, i64 272, !46, i64 328}
!42 = !{!"_ZTSN11spirv_cross12SPIRConstant14ConstantMatrixE", !7, i64 0, !7, i64 224, !10, i64 240}
!43 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE3EEELm8EEE", !44, i64 0, !20, i64 16, !45, i64 24}
!44 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE3EEEEE", !6, i64 0, !20, i64 8}
!45 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE3EEELm8EEE", !7, i64 0}
!46 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !47, i64 0, !20, i64 8, !7, i64 16}
!47 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = !{!51, !10, i64 48}
!51 = !{!"_ZTSN11spirv_cross12SPIRConstant14ConstantVectorE", !7, i64 0, !7, i64 32, !10, i64 48}
!52 = !{!41, !10, i64 256}
!53 = !{i64 0, i64 8, !54}
!54 = !{!7, !7, i64 0}
!55 = !{!13, !10, i64 24}
!56 = !{i64 0, i64 32, !54, i64 32, i64 16, !54, i64 48, i64 4, !9}


; 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.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] }
%"struct.spirv_cross::SPIRConstant" = type { %"struct.spirv_cross::IVariant.base", %"class.spirv_cross::TypedID.281", %"struct.spirv_cross::SPIRConstant::ConstantMatrix", i8, i8, i8, %"class.spirv_cross::SmallVector.310", %"class.std::__cxx11::basic_string" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.280" }>
%"class.spirv_cross::TypedID.280" = type { i32 }
%"class.spirv_cross::TypedID.281" = type { i32 }
%"struct.spirv_cross::SPIRConstant::ConstantMatrix" = type { [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], [4 x %"class.spirv_cross::TypedID.280"], i32, [4 x i8] }
%"struct.spirv_cross::SPIRConstant::ConstantVector" = type <{ [4 x %"union.spirv_cross::SPIRConstant::Constant"], [4 x %"class.spirv_cross::TypedID.280"], i32, [4 x i8] }>
%"union.spirv_cross::SPIRConstant::Constant" = type { i64 }
%"class.spirv_cross::SmallVector.310" = type { %"class.spirv_cross::VectorView.311", i64, %"class.spirv_cross::AlignedBuffer.312" }
%"class.spirv_cross::VectorView.311" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.312" = type { [32 x i8] }

@.str.11 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.943 = external hidden unnamed_addr constant [76 x i8], align 1
@__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj = external hidden unnamed_addr constant [135 x i8], align 1
@.str.944 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.945 = external hidden unnamed_addr constant [12 x i8], align 1

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

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross12CompilerGLSL19constant_expressionB5cxx11ERKNS_12SPIRConstantEbb(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(9848), ptr noundef nonnull align 8 dereferenceable(360), i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler9is_matrixERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(336)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(9848) %1, i32 noundef %2, ptr noundef nonnull align 8 dereferenceable(360) %3, ptr nocapture noundef readonly %4, i32 noundef %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"struct.spirv_cross::SPIRConstant", align 8
  %8 = alloca %"class.spirv_cross::TypedID.281", align 4
  call void @llvm.lifetime.start.p0(i64 360, ptr nonnull %7) #7
  call void @_ZN11spirv_cross12SPIRConstantC2Ev(ptr noundef nonnull align 8 dereferenceable(360) %7)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE1EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef %2)
  %9 = getelementptr inbounds i8, ptr %7, i64 12
  %10 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %10, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %11 = getelementptr inbounds i8, ptr %3, i64 12
  %12 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %11)
  %13 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %1, i32 noundef %12)
          to label %14 unwind label %20

14:                                               ; preds = %6
  %15 = getelementptr inbounds i8, ptr %13, i64 16
  %16 = load i32, ptr %15, align 8, !tbaa !9
  %.not = icmp eq i32 %16, 15
  br i1 %.not, label %.critedge, label %17

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %13, i64 32
  %19 = call noundef zeroext i1 @_ZNK11spirv_cross10VectorViewIjE5emptyEv(ptr noundef nonnull align 8 dereferenceable(16) %18) #7
  br i1 %19, label %22, label %.critedge

.critedge:                                        ; preds = %14, %17
  call void @__assert_fail(ptr noundef nonnull @.str.943, ptr noundef nonnull @.str.11, i32 noundef 5260, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

20:                                               ; preds = %64, %27, %6
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11spirv_cross12SPIRConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(360) %7) #7
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %7) #7
  resume { ptr, i32 } %21

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %3, i64 264
  %24 = load i8, ptr %23, align 8, !tbaa !38, !range !46, !noundef !47
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %26, label %27

26:                                               ; preds = %22
  call void @__assert_fail(ptr noundef nonnull @.str.944, ptr noundef nonnull @.str.11, i32 noundef 5261, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

27:                                               ; preds = %22
  %28 = invoke noundef zeroext i1 @_ZNK11spirv_cross8Compiler9is_matrixERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176) %1, ptr noundef nonnull align 8 dereferenceable(336) %13)
          to label %29 unwind label %20

29:                                               ; preds = %27
  br i1 %28, label %30, label %52

30:                                               ; preds = %29
  switch i32 %5, label %44 [
    i32 2, label %31
    i32 1, label %45
  ]

31:                                               ; preds = %30
  %32 = getelementptr inbounds i8, ptr %7, i64 16
  %33 = getelementptr inbounds i8, ptr %7, i64 64
  store i32 1, ptr %33, align 8, !tbaa !48
  %34 = getelementptr inbounds i8, ptr %7, i64 256
  store i32 1, ptr %34, align 8, !tbaa !50
  %35 = getelementptr inbounds i8, ptr %3, i64 16
  %36 = load i32, ptr %4, align 4, !tbaa !5
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %35, i64 0, i64 %37
  %39 = getelementptr inbounds i8, ptr %4, i64 4
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds [4 x %"union.spirv_cross::SPIRConstant::Constant"], ptr %38, i64 0, i64 %41
  %43 = load i64, ptr %42, align 8, !tbaa !51
  store i64 %43, ptr %32, align 8, !tbaa !51
  br label %64

44:                                               ; preds = %30
  call void @__assert_fail(ptr noundef nonnull @.str.945, ptr noundef nonnull @.str.11, i32 noundef 5273, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

45:                                               ; preds = %30
  %46 = getelementptr inbounds i8, ptr %7, i64 16
  %47 = getelementptr inbounds i8, ptr %7, i64 256
  store i32 1, ptr %47, align 8, !tbaa !50
  %48 = getelementptr inbounds i8, ptr %3, i64 16
  %49 = load i32, ptr %4, align 4, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %48, i64 0, i64 %50
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(52) %46, ptr noundef nonnull align 8 dereferenceable(52) %51, i64 52, i1 false), !tbaa.struct !52
  br label %64

52:                                               ; preds = %29
  %53 = icmp eq i32 %5, 1
  br i1 %53, label %55, label %54

54:                                               ; preds = %52
  call void @__assert_fail(ptr noundef nonnull @.str.945, ptr noundef nonnull @.str.11, i32 noundef 5281, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerGLSL40to_extract_constant_composite_expressionB5cxx11EjRKNS_12SPIRConstantEPKjj) #8
  unreachable

55:                                               ; preds = %52
  %56 = getelementptr inbounds i8, ptr %7, i64 16
  %57 = getelementptr inbounds i8, ptr %7, i64 64
  store i32 1, ptr %57, align 8, !tbaa !48
  %58 = getelementptr inbounds i8, ptr %7, i64 256
  store i32 1, ptr %58, align 8, !tbaa !50
  %59 = getelementptr inbounds i8, ptr %3, i64 16
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = zext i32 %60 to i64
  %62 = getelementptr inbounds [4 x %"union.spirv_cross::SPIRConstant::Constant"], ptr %59, i64 0, i64 %61
  %63 = load i64, ptr %62, align 8, !tbaa !51
  store i64 %63, ptr %56, align 8, !tbaa !51
  br label %64

64:                                               ; preds = %31, %45, %55
  invoke void @_ZN11spirv_cross12CompilerGLSL19constant_expressionB5cxx11ERKNS_12SPIRConstantEbb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %0, ptr noundef nonnull align 8 dereferenceable(9848) %1, ptr noundef nonnull align 8 dereferenceable(360) %7, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %65 unwind label %20

65:                                               ; preds = %64
  call void @_ZN11spirv_cross12SPIRConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(360) %7) #7
  call void @llvm.lifetime.end.p0(i64 360, ptr nonnull %7) #7
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11spirv_cross12SPIRConstantC2Ev(ptr noundef nonnull align 8 dereferenceable(360)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN11spirv_cross12SPIRConstantD2Ev(ptr noundef nonnull align 8 dereferenceable(360)) unnamed_addr #6 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !14, i64 16}
!10 = !{!"_ZTSN11spirv_cross8SPIRTypeE", !11, i64 0, !13, i64 12, !14, i64 16, !6, i64 20, !6, i64 24, !6, i64 28, !15, i64 32, !20, i64 88, !6, i64 120, !23, i64 124, !23, i64 125, !24, i64 128, !25, i64 136, !15, i64 192, !28, i64 248, !29, i64 272, !29, i64 276, !33, i64 280}
!11 = !{!"_ZTSN11spirv_cross8IVariantE", !12, i64 8}
!12 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !6, i64 0}
!13 = !{!"_ZTSN3spv2OpE", !7, i64 0}
!14 = !{!"_ZTSN11spirv_cross8SPIRType8BaseTypeE", !7, i64 0}
!15 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !16, i64 0, !18, i64 16, !19, i64 24}
!16 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !17, i64 0, !18, i64 8}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !7, i64 0}
!20 = !{!"_ZTSN11spirv_cross11SmallVectorIbLm8EEE", !21, i64 0, !18, i64 16, !22, i64 24}
!21 = !{!"_ZTSN11spirv_cross10VectorViewIbEE", !17, i64 0, !18, i64 8}
!22 = !{!"_ZTSN11spirv_cross13AlignedBufferIbLm8EEE", !7, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!25 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EEE", !26, i64 0, !18, i64 16, !27, i64 24}
!26 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE1EEEEE", !17, i64 0, !18, i64 8}
!27 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE1EEELm8EEE", !7, i64 0}
!28 = !{!"_ZTSN11spirv_cross8SPIRType9ImageTypeE", !29, i64 0, !30, i64 4, !23, i64 8, !23, i64 9, !23, i64 10, !6, i64 12, !31, i64 16, !32, i64 20}
!29 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !6, i64 0}
!30 = !{!"_ZTSN3spv3DimE", !7, i64 0}
!31 = !{!"_ZTSN3spv11ImageFormatE", !7, i64 0}
!32 = !{!"_ZTSN3spv15AccessQualifierE", !7, i64 0}
!33 = !{!"_ZTSSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !34, i64 0}
!34 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_SaIS5_ENSt8__detail9_IdentityESt8equal_toIS5_ESt4hashIS5_ENS7_18_Mod_range_hashingENS7_20_Default_ranged_hashENS7_20_Prime_rehash_policyENS7_17_Hashtable_traitsILb1ELb1ELb1EEEE", !17, i64 0, !18, i64 8, !35, i64 16, !18, i64 24, !36, i64 32, !17, i64 48}
!35 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !17, i64 0}
!36 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !37, i64 0, !18, i64 8}
!37 = !{!"float", !7, i64 0}
!38 = !{!39, !23, i64 264}
!39 = !{!"_ZTSN11spirv_cross12SPIRConstantE", !11, i64 0, !29, i64 12, !40, i64 16, !23, i64 264, !23, i64 265, !23, i64 266, !41, i64 272, !44, i64 328}
!40 = !{!"_ZTSN11spirv_cross12SPIRConstant14ConstantMatrixE", !7, i64 0, !7, i64 224, !6, i64 240}
!41 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE3EEELm8EEE", !42, i64 0, !18, i64 16, !43, i64 24}
!42 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE3EEEEE", !17, i64 0, !18, i64 8}
!43 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE3EEELm8EEE", !7, i64 0}
!44 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !45, i64 0, !18, i64 8, !7, i64 16}
!45 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!46 = !{i8 0, i8 2}
!47 = !{}
!48 = !{!49, !6, i64 48}
!49 = !{!"_ZTSN11spirv_cross12SPIRConstant14ConstantVectorE", !7, i64 0, !7, i64 32, !6, i64 48}
!50 = !{!39, !6, i64 256}
!51 = !{!7, !7, i64 0}
!52 = !{i64 0, i64 32, !51, i64 32, i64 16, !51, i64 48, i64 4, !5}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass