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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.spirv_cross::SpecializationConstant" = type { %"class.spirv_cross::TypedID.270", i32 }
%"class.spirv_cross::TypedID.270" = type { i32 }
%"class.spirv_cross::TypedID.162" = type { i32 }
%"struct.spirv_cross::SPIREntryPoint" = type <{ %"class.spirv_cross::TypedID", [4 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.spirv_cross::SmallVector.220", %"class.spirv_cross::Bitset", %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", i32, i32, i32, i32, i8, [3 x i8] }>
%"class.spirv_cross::TypedID" = type { i32 }
%"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.spirv_cross::SmallVector.220" = type { %"class.spirv_cross::VectorView.221", i64, %"class.spirv_cross::AlignedBuffer.222" }
%"class.spirv_cross::VectorView.221" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.222" = type { [32 x i8] }
%"class.spirv_cross::Bitset" = type { i64, %"class.std::unordered_set" }
%"class.std::unordered_set" = type { %"class.std::_Hashtable.74" }
%"class.std::_Hashtable.74" = 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 }
%"struct.spirv_cross::SPIREntryPoint::WorkgroupSize" = type { i32, i32, i32, i32, i32, i32, i32 }
%"struct.spirv_cross::SPIRConstant" = type { %"struct.spirv_cross::IVariant.base", %"class.spirv_cross::TypedID.163", %"struct.spirv_cross::SPIRConstant::ConstantMatrix", i8, i8, i8, %"class.spirv_cross::SmallVector.235", %"class.std::__cxx11::basic_string" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.162" }>
%"class.spirv_cross::TypedID.163" = type { i32 }
%"struct.spirv_cross::SPIRConstant::ConstantMatrix" = type { [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], [4 x %"class.spirv_cross::TypedID.162"], i32, [4 x i8] }
%"struct.spirv_cross::SPIRConstant::ConstantVector" = type <{ [4 x %"union.spirv_cross::SPIRConstant::Constant"], [4 x %"class.spirv_cross::TypedID.162"], i32, [4 x i8] }>
%"union.spirv_cross::SPIRConstant::Constant" = type { i64 }
%"class.spirv_cross::SmallVector.235" = type { %"class.spirv_cross::VectorView.236", i64, %"class.spirv_cross::AlignedBuffer.237" }
%"class.spirv_cross::VectorView.236" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.237" = type { [32 x i8] }

; 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: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross6Bitset3getEj(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #1 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) #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(237) ptr @_ZNK11spirv_cross8Compiler15get_entry_pointEv(ptr noundef nonnull align 8 dereferenceable(3176)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK11spirv_cross8Compiler44get_work_group_size_specialization_constantsERNS_22SpecializationConstantES2_S2_(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 4 dereferenceable(8) %1, ptr noundef nonnull align 4 dereferenceable(8) %2, ptr noundef nonnull align 4 dereferenceable(8) %3) #4 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"struct.spirv_cross::SpecializationConstant", align 4
  %11 = alloca %"struct.spirv_cross::SpecializationConstant", align 4
  %12 = alloca %"struct.spirv_cross::SpecializationConstant", align 4
  %13 = alloca ptr, align 8
  %14 = alloca %"class.spirv_cross::TypedID.162", align 4
  %15 = alloca %"class.spirv_cross::TypedID.270", align 4
  %16 = alloca %"class.spirv_cross::TypedID.162", align 4
  %17 = alloca %"class.spirv_cross::TypedID.162", align 4
  %18 = alloca %"class.spirv_cross::TypedID.270", align 4
  %19 = alloca %"class.spirv_cross::TypedID.162", align 4
  %20 = alloca %"class.spirv_cross::TypedID.162", align 4
  %21 = alloca %"class.spirv_cross::TypedID.270", align 4
  %22 = alloca %"class.spirv_cross::TypedID.162", align 4
  %23 = alloca ptr, align 8
  %24 = alloca %"class.spirv_cross::TypedID.270", align 4
  %25 = alloca %"class.spirv_cross::TypedID.162", align 4
  %26 = alloca ptr, align 8
  %27 = alloca %"class.spirv_cross::TypedID.270", align 4
  %28 = alloca %"class.spirv_cross::TypedID.162", align 4
  %29 = alloca ptr, align 8
  %30 = alloca %"class.spirv_cross::TypedID.270", align 4
  %31 = alloca %"class.spirv_cross::TypedID.162", align 4
  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 ptr %3, ptr %8, align 8, !tbaa !5
  %32 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %33 = call noundef nonnull align 8 dereferenceable(237) ptr @_ZNK11spirv_cross8Compiler15get_entry_pointEv(ptr noundef nonnull align 8 dereferenceable(3176) %32)
  store ptr %33, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %34 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %10, i32 0, i32 0
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %34, i32 noundef 0)
  %35 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %10, i32 0, i32 1
  store i32 0, ptr %35, align 4, !tbaa !9
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %37 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %11, i32 0, i32 0
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %37, i32 noundef 0)
  %38 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %11, i32 0, i32 1
  store i32 0, ptr %38, align 4, !tbaa !9
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %40 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %12, i32 0, i32 0
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %40, i32 noundef 0)
  %41 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %12, i32 0, i32 1
  store i32 0, ptr %41, align 4, !tbaa !9
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %43, i32 0, i32 6
  %45 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %44, i32 0, i32 6
  %46 = load i32, ptr %45, align 8, !tbaa !15
  %47 = icmp ne i32 %46, 0
  br i1 %47, label %48, label %150

48:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %49, i32 0, i32 6
  %51 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %50, i32 0, i32 6
  %52 = load i32, ptr %51, align 8, !tbaa !15
  %53 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 noundef %52)
  store ptr %53, ptr %13, align 8, !tbaa !5
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %54, i32 0, i32 2
  %56 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %56, i64 0, i64 0
  %58 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %57, i32 0, i32 1
  %59 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %58, i64 0, i64 0
  %60 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %59)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %14, i32 noundef 0)
  %61 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %14)
  %62 = icmp ne i32 %60, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br i1 %62, label %63, label %85

63:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %64 = load ptr, ptr %13, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %64, i32 0, i32 2
  %66 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %65, i32 0, i32 0
  %67 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %66, i64 0, i64 0
  %68 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %67, i32 0, i32 1
  %69 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %68, i64 0, i64 0
  %70 = call i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_3EEEv(ptr noundef nonnull align 4 dereferenceable(4) %69)
  %71 = getelementptr inbounds %"class.spirv_cross::TypedID.270", ptr %15, i32 0, i32 0
  store i32 %70, ptr %71, align 4
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %72, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 4 %15, i64 4, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %74 = load ptr, ptr %13, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %74, i32 0, i32 2
  %76 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %75, i32 0, i32 0
  %77 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %76, i64 0, i64 0
  %78 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %77, i32 0, i32 1
  %79 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %78, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %79, i64 4, i1 false), !tbaa.struct !33
  %80 = getelementptr inbounds %"class.spirv_cross::TypedID.162", ptr %16, i32 0, i32 0
  %81 = load i32, ptr %80, align 4
  %82 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 %81, i32 noundef 1)
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %83, i32 0, i32 1
  store i32 %82, ptr %84, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %63, %48
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %86, i32 0, i32 2
  %88 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %87, i32 0, i32 0
  %89 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %88, i64 0, i64 0
  %90 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %89, i32 0, i32 1
  %91 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %90, i64 0, i64 1
  %92 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %91)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %17, i32 noundef 0)
  %93 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %17)
  %94 = icmp ne i32 %92, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br i1 %94, label %95, label %117

95:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %96 = load ptr, ptr %13, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %96, i32 0, i32 2
  %98 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %98, i64 0, i64 0
  %100 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %99, i32 0, i32 1
  %101 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %100, i64 0, i64 1
  %102 = call i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_3EEEv(ptr noundef nonnull align 4 dereferenceable(4) %101)
  %103 = getelementptr inbounds %"class.spirv_cross::TypedID.270", ptr %18, i32 0, i32 0
  store i32 %102, ptr %103, align 4
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %104, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %18, i64 4, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %106, i32 0, i32 2
  %108 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %107, i32 0, i32 0
  %109 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %108, i64 0, i64 0
  %110 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %109, i32 0, i32 1
  %111 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %110, i64 0, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %111, i64 4, i1 false), !tbaa.struct !33
  %112 = getelementptr inbounds %"class.spirv_cross::TypedID.162", ptr %19, i32 0, i32 0
  %113 = load i32, ptr %112, align 4
  %114 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 %113, i32 noundef 1)
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %115, i32 0, i32 1
  store i32 %114, ptr %116, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %95, %85
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  %119 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %118, i32 0, i32 2
  %120 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %119, i32 0, i32 0
  %121 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %120, i64 0, i64 0
  %122 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %121, i32 0, i32 1
  %123 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %122, i64 0, i64 2
  %124 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %123)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %20, i32 noundef 0)
  %125 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %20)
  %126 = icmp ne i32 %124, %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  br i1 %126, label %127, label %149

127:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %128 = load ptr, ptr %13, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %128, i32 0, i32 2
  %130 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %129, i32 0, i32 0
  %131 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %130, i64 0, i64 0
  %132 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %131, i32 0, i32 1
  %133 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %132, i64 0, i64 2
  %134 = call i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_3EEEv(ptr noundef nonnull align 4 dereferenceable(4) %133)
  %135 = getelementptr inbounds %"class.spirv_cross::TypedID.270", ptr %21, i32 0, i32 0
  store i32 %134, ptr %135, align 4
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %136, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %137, ptr align 4 %21, i64 4, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  %138 = load ptr, ptr %13, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %138, i32 0, i32 2
  %140 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantMatrix", ptr %139, i32 0, i32 0
  %141 = getelementptr inbounds [4 x %"struct.spirv_cross::SPIRConstant::ConstantVector"], ptr %140, i64 0, i64 0
  %142 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant::ConstantVector", ptr %141, i32 0, i32 1
  %143 = getelementptr inbounds [4 x %"class.spirv_cross::TypedID.162"], ptr %142, i64 0, i64 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %143, i64 4, i1 false), !tbaa.struct !33
  %144 = getelementptr inbounds %"class.spirv_cross::TypedID.162", ptr %22, i32 0, i32 0
  %145 = load i32, ptr %144, align 4
  %146 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 %145, i32 noundef 1)
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %147, i32 0, i32 1
  store i32 %146, ptr %148, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %127, %117
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %234

150:                                              ; preds = %4
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %151, i32 0, i32 5
  %153 = call noundef zeroext i1 @_ZNK11spirv_cross6Bitset3getEj(ptr noundef nonnull align 8 dereferenceable(64) %152, i32 noundef 38)
  br i1 %153, label %154, label %233

154:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  %156 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %155, i32 0, i32 6
  %157 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %156, i32 0, i32 3
  %158 = load i32, ptr %157, align 4, !tbaa !34
  %159 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 noundef %158)
  store ptr %159, ptr %23, align 8, !tbaa !5
  %160 = load ptr, ptr %23, align 8, !tbaa !5
  %161 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %160, i32 0, i32 3
  %162 = load i8, ptr %161, align 8, !tbaa !35, !range !44, !noundef !45
  %163 = trunc i8 %162 to i1
  br i1 %163, label %164, label %180

164:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %165 = load ptr, ptr %9, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %165, i32 0, i32 6
  %167 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %166, i32 0, i32 3
  %168 = load i32, ptr %167, align 4, !tbaa !34
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %24, i32 noundef %168)
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %169, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %170, ptr align 4 %24, i64 4, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %171, i32 0, i32 6
  %173 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %172, i32 0, i32 3
  %174 = load i32, ptr %173, align 4, !tbaa !34
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %25, i32 noundef %174)
  %175 = getelementptr inbounds %"class.spirv_cross::TypedID.162", ptr %25, i32 0, i32 0
  %176 = load i32, ptr %175, align 4
  %177 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 %176, i32 noundef 1)
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %178, i32 0, i32 1
  store i32 %177, ptr %179, align 4, !tbaa !9
  br label %180

180:                                              ; preds = %164, %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %181, i32 0, i32 6
  %183 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %182, i32 0, i32 4
  %184 = load i32, ptr %183, align 8, !tbaa !46
  %185 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 noundef %184)
  store ptr %185, ptr %26, align 8, !tbaa !5
  %186 = load ptr, ptr %26, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %186, i32 0, i32 3
  %188 = load i8, ptr %187, align 8, !tbaa !35, !range !44, !noundef !45
  %189 = trunc i8 %188 to i1
  br i1 %189, label %190, label %206

190:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  %191 = load ptr, ptr %9, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %191, i32 0, i32 6
  %193 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %192, i32 0, i32 4
  %194 = load i32, ptr %193, align 8, !tbaa !46
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef %194)
  %195 = load ptr, ptr %7, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %195, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %196, ptr align 4 %27, i64 4, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %197, i32 0, i32 6
  %199 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %198, i32 0, i32 4
  %200 = load i32, ptr %199, align 8, !tbaa !46
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %28, i32 noundef %200)
  %201 = getelementptr inbounds %"class.spirv_cross::TypedID.162", ptr %28, i32 0, i32 0
  %202 = load i32, ptr %201, align 4
  %203 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 %202, i32 noundef 1)
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %204, i32 0, i32 1
  store i32 %203, ptr %205, align 4, !tbaa !9
  br label %206

206:                                              ; preds = %190, %180
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %207 = load ptr, ptr %9, align 8, !tbaa !5
  %208 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %207, i32 0, i32 6
  %209 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %208, i32 0, i32 5
  %210 = load i32, ptr %209, align 4, !tbaa !47
  %211 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 noundef %210)
  store ptr %211, ptr %29, align 8, !tbaa !5
  %212 = load ptr, ptr %29, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.spirv_cross::SPIRConstant", ptr %212, i32 0, i32 3
  %214 = load i8, ptr %213, align 8, !tbaa !35, !range !44, !noundef !45
  %215 = trunc i8 %214 to i1
  br i1 %215, label %216, label %232

216:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %217 = load ptr, ptr %9, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %217, i32 0, i32 6
  %219 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %218, i32 0, i32 5
  %220 = load i32, ptr %219, align 4, !tbaa !47
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %30, i32 noundef %220)
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %221, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %222, ptr align 4 %30, i64 4, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  %223 = load ptr, ptr %9, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %223, i32 0, i32 6
  %225 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %224, i32 0, i32 5
  %226 = load i32, ptr %225, align 4, !tbaa !47
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %31, i32 noundef %226)
  %227 = getelementptr inbounds %"class.spirv_cross::TypedID.162", ptr %31, i32 0, i32 0
  %228 = load i32, ptr %227, align 4
  %229 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %32, i32 %228, i32 noundef 1)
  %230 = load ptr, ptr %8, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.spirv_cross::SpecializationConstant", ptr %230, i32 0, i32 1
  store i32 %229, ptr %231, align 4, !tbaa !9
  br label %232

232:                                              ; preds = %216, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %233

233:                                              ; preds = %232, %150
  br label %234

234:                                              ; preds = %233, %149
  %235 = load ptr, ptr %9, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint", ptr %235, i32 0, i32 6
  %237 = getelementptr inbounds %"struct.spirv_cross::SPIREntryPoint::WorkgroupSize", ptr %236, i32 0, i32 6
  %238 = load i32, ptr %237, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  ret i32 %238
}

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !12, i64 4}
!10 = !{!"_ZTSN11spirv_cross22SpecializationConstantE", !11, i64 0, !12, i64 4}
!11 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE3EEE", !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 4, !14, i64 4, i64 4, !14}
!14 = !{!12, !12, i64 0}
!15 = !{!16, !12, i64 216}
!16 = !{!"_ZTSN11spirv_cross14SPIREntryPointE", !17, i64 0, !18, i64 8, !18, i64 40, !21, i64 72, !24, i64 128, !30, i64 192, !12, i64 220, !12, i64 224, !12, i64 228, !31, i64 232, !32, i64 236}
!17 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE4EEE", !12, i64 0}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !19, i64 0, !20, i64 8, !7, i64 16}
!19 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE2EEELm8EEE", !22, i64 0, !20, i64 16, !23, i64 24}
!22 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE2EEEEE", !6, i64 0, !20, i64 8}
!23 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE2EEELm8EEE", !7, i64 0}
!24 = !{!"_ZTSN11spirv_cross6BitsetE", !20, i64 0, !25, i64 8}
!25 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !26, i64 0}
!26 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !6, i64 0, !20, i64 8, !27, i64 16, !20, i64 24, !28, i64 32, !6, i64 48}
!27 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!28 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !29, i64 0, !20, i64 8}
!29 = !{!"float", !7, i64 0}
!30 = !{!"_ZTSN11spirv_cross14SPIREntryPoint13WorkgroupSizeE", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24}
!31 = !{!"_ZTSN3spv14ExecutionModelE", !7, i64 0}
!32 = !{!"bool", !7, i64 0}
!33 = !{i64 0, i64 4, !14}
!34 = !{!16, !12, i64 204}
!35 = !{!36, !32, i64 264}
!36 = !{!"_ZTSN11spirv_cross12SPIRConstantE", !37, i64 0, !39, i64 12, !40, i64 16, !32, i64 264, !32, i64 265, !32, i64 266, !41, i64 272, !18, i64 328}
!37 = !{!"_ZTSN11spirv_cross8IVariantE", !38, i64 8}
!38 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !12, i64 0}
!39 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !12, i64 0}
!40 = !{!"_ZTSN11spirv_cross12SPIRConstant14ConstantMatrixE", !7, i64 0, !7, i64 224, !12, i64 240}
!41 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE3EEELm8EEE", !42, i64 0, !20, i64 16, !43, i64 24}
!42 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE3EEEEE", !6, i64 0, !20, i64 8}
!43 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE3EEELm8EEE", !7, i64 0}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!16, !12, i64 208}
!47 = !{!16, !12, i64 212}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.spirv_cross::SpecializationConstant" = type { %"class.spirv_cross::TypedID.270", i32 }
%"class.spirv_cross::TypedID.270" = type { i32 }
%"class.spirv_cross::TypedID.162" = type { i32 }

; 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: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK11spirv_cross6Bitset3getEj(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(237) ptr @_ZNK11spirv_cross8Compiler15get_entry_pointEv(ptr noundef nonnull align 8 dereferenceable(3176)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK11spirv_cross8Compiler44get_work_group_size_specialization_constantsERNS_22SpecializationConstantES2_S2_(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(8) %1, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(8) %2, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(8) %3) local_unnamed_addr #3 align 2 {
  %5 = alloca %"struct.spirv_cross::SpecializationConstant", align 8
  %6 = alloca %"struct.spirv_cross::SpecializationConstant", align 8
  %7 = alloca %"struct.spirv_cross::SpecializationConstant", align 8
  %8 = alloca %"class.spirv_cross::TypedID.162", align 4
  %9 = alloca %"class.spirv_cross::TypedID.162", align 4
  %10 = alloca %"class.spirv_cross::TypedID.162", align 4
  %11 = alloca %"class.spirv_cross::TypedID.270", align 4
  %12 = alloca %"class.spirv_cross::TypedID.162", align 4
  %13 = alloca %"class.spirv_cross::TypedID.270", align 4
  %14 = alloca %"class.spirv_cross::TypedID.162", align 4
  %15 = alloca %"class.spirv_cross::TypedID.270", align 4
  %16 = alloca %"class.spirv_cross::TypedID.162", align 4
  %17 = tail call noundef nonnull align 8 dereferenceable(237) ptr @_ZNK11spirv_cross8Compiler15get_entry_pointEv(ptr noundef nonnull align 8 dereferenceable(3176) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %5, i32 noundef 0)
  %18 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 0, ptr %18, align 4, !tbaa !5
  %19 = load i64, ptr %5, align 8
  store i64 %19, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef 0)
  %20 = getelementptr inbounds i8, ptr %6, i64 4
  store i32 0, ptr %20, align 4, !tbaa !5
  %21 = load i64, ptr %6, align 8
  store i64 %21, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %7, i32 noundef 0)
  %22 = getelementptr inbounds i8, ptr %7, i64 4
  store i32 0, ptr %22, align 4, !tbaa !5
  %23 = load i64, ptr %7, align 8
  store i64 %23, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %24 = getelementptr inbounds i8, ptr %17, i64 216
  %25 = load i32, ptr %24, align 8, !tbaa !11
  %.not = icmp eq i32 %25, 0
  br i1 %.not, label %49, label %26

26:                                               ; preds = %4
  %27 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %25)
  %28 = getelementptr inbounds i8, ptr %27, i64 48
  %29 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %28)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 0)
  %30 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %8)
  %.not46 = icmp eq i32 %29, %30
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  br i1 %.not46, label %35, label %31

31:                                               ; preds = %26
  %32 = call i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_3EEEv(ptr noundef nonnull align 4 dereferenceable(4) %28)
  store i32 %32, ptr %1, align 4, !tbaa !30
  %.sroa.06.0.copyload = load i32, ptr %28, align 8, !tbaa !30
  %33 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %.sroa.06.0.copyload, i32 noundef 1)
  %34 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 %33, ptr %34, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %31, %26
  %36 = getelementptr inbounds i8, ptr %27, i64 52
  %37 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %36)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %9, i32 noundef 0)
  %38 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %9)
  %.not47 = icmp eq i32 %37, %38
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  br i1 %.not47, label %43, label %39

39:                                               ; preds = %35
  %40 = call i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_3EEEv(ptr noundef nonnull align 4 dereferenceable(4) %36)
  store i32 %40, ptr %2, align 4, !tbaa !30
  %.sroa.04.0.copyload = load i32, ptr %36, align 4, !tbaa !30
  %41 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %.sroa.04.0.copyload, i32 noundef 1)
  %42 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %41, ptr %42, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %39, %35
  %44 = getelementptr inbounds i8, ptr %27, i64 56
  %45 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %44)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 noundef 0)
  %46 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %10)
  %.not48 = icmp eq i32 %45, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  br i1 %.not48, label %93, label %47

47:                                               ; preds = %43
  %48 = call i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_3EEEv(ptr noundef nonnull align 4 dereferenceable(4) %44)
  store i32 %48, ptr %3, align 4, !tbaa !30
  br label %.sink.split

49:                                               ; preds = %4
  %50 = getelementptr inbounds i8, ptr %17, i64 128
  %51 = call noundef zeroext i1 @_ZNK11spirv_cross6Bitset3getEj(ptr noundef nonnull align 8 dereferenceable(64) %50, i32 noundef 38)
  br i1 %51, label %52, label %93

52:                                               ; preds = %49
  %53 = getelementptr inbounds i8, ptr %17, i64 204
  %54 = load i32, ptr %53, align 4, !tbaa !31
  %55 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %54)
  %56 = getelementptr inbounds i8, ptr %55, i64 264
  %57 = load i8, ptr %56, align 8, !tbaa !32, !range !41, !noundef !42
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %59, label %66

59:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  %60 = load i32, ptr %53, align 4, !tbaa !31
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %11, i32 noundef %60)
  %61 = load i32, ptr %11, align 4, !tbaa !30
  store i32 %61, ptr %1, align 4, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  %62 = load i32, ptr %53, align 4, !tbaa !31
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef %62)
  %63 = load i32, ptr %12, align 4
  %64 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %63, i32 noundef 1)
  %65 = getelementptr inbounds i8, ptr %1, i64 4
  store i32 %64, ptr %65, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %59, %52
  %67 = getelementptr inbounds i8, ptr %17, i64 208
  %68 = load i32, ptr %67, align 8, !tbaa !43
  %69 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %68)
  %70 = getelementptr inbounds i8, ptr %69, i64 264
  %71 = load i8, ptr %70, align 8, !tbaa !32, !range !41, !noundef !42
  %72 = trunc nuw i8 %71 to i1
  br i1 %72, label %73, label %80

73:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %74 = load i32, ptr %67, align 8, !tbaa !43
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %13, i32 noundef %74)
  %75 = load i32, ptr %13, align 4, !tbaa !30
  store i32 %75, ptr %2, align 4, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  %76 = load i32, ptr %67, align 8, !tbaa !43
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %14, i32 noundef %76)
  %77 = load i32, ptr %14, align 4
  %78 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %77, i32 noundef 1)
  %79 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 %78, ptr %79, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %73, %66
  %81 = getelementptr inbounds i8, ptr %17, i64 212
  %82 = load i32, ptr %81, align 4, !tbaa !44
  %83 = call noundef nonnull align 8 dereferenceable(360) ptr @_ZNK11spirv_cross8Compiler3getINS_12SPIRConstantEEERKT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %82)
  %84 = getelementptr inbounds i8, ptr %83, i64 264
  %85 = load i8, ptr %84, align 8, !tbaa !32, !range !41, !noundef !42
  %86 = trunc nuw i8 %85 to i1
  br i1 %86, label %87, label %93

87:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %88 = load i32, ptr %81, align 4, !tbaa !44
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE3EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %15, i32 noundef %88)
  %89 = load i32, ptr %15, align 4, !tbaa !30
  store i32 %89, ptr %3, align 4, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  %90 = load i32, ptr %81, align 4, !tbaa !44
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %16, i32 noundef %90)
  br label %.sink.split

.sink.split:                                      ; preds = %47, %87
  %.sink50.in = phi ptr [ %16, %87 ], [ %44, %47 ]
  %.sink50 = load i32, ptr %.sink50.in, align 4
  %91 = call noundef i32 @_ZNK11spirv_cross8Compiler14get_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %.sink50, i32 noundef 1)
  %92 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 %91, ptr %92, align 4, !tbaa !5
  br label %93

93:                                               ; preds = %.sink.split, %80, %43, %49
  %94 = load i32, ptr %24, align 8, !tbaa !11
  ret i32 %94
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !8, i64 4}
!6 = !{!"_ZTSN11spirv_cross22SpecializationConstantE", !7, i64 0, !8, i64 4}
!7 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE3EEE", !8, i64 0}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !8, i64 216}
!12 = !{!"_ZTSN11spirv_cross14SPIREntryPointE", !13, i64 0, !14, i64 8, !14, i64 40, !18, i64 72, !21, i64 128, !27, i64 192, !8, i64 220, !8, i64 224, !8, i64 228, !28, i64 232, !29, i64 236}
!13 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE4EEE", !8, i64 0}
!14 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !15, i64 0, !17, i64 8, !9, i64 16}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !16, i64 0}
!16 = !{!"any pointer", !9, i64 0}
!17 = !{!"long", !9, i64 0}
!18 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE2EEELm8EEE", !19, i64 0, !17, i64 16, !20, i64 24}
!19 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE2EEEEE", !16, i64 0, !17, i64 8}
!20 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE2EEELm8EEE", !9, i64 0}
!21 = !{!"_ZTSN11spirv_cross6BitsetE", !17, i64 0, !22, i64 8}
!22 = !{!"_ZTSSt13unordered_setIjSt4hashIjESt8equal_toIjESaIjEE", !23, i64 0}
!23 = !{!"_ZTSSt10_HashtableIjjSaIjENSt8__detail9_IdentityESt8equal_toIjESt4hashIjENS1_18_Mod_range_hashingENS1_20_Default_ranged_hashENS1_20_Prime_rehash_policyENS1_17_Hashtable_traitsILb0ELb1ELb1EEEE", !16, i64 0, !17, i64 8, !24, i64 16, !17, i64 24, !25, i64 32, !16, i64 48}
!24 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !16, i64 0}
!25 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !26, i64 0, !17, i64 8}
!26 = !{!"float", !9, i64 0}
!27 = !{!"_ZTSN11spirv_cross14SPIREntryPoint13WorkgroupSizeE", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24}
!28 = !{!"_ZTSN3spv14ExecutionModelE", !9, i64 0}
!29 = !{!"bool", !9, i64 0}
!30 = !{!8, !8, i64 0}
!31 = !{!12, !8, i64 204}
!32 = !{!33, !29, i64 264}
!33 = !{!"_ZTSN11spirv_cross12SPIRConstantE", !34, i64 0, !36, i64 12, !37, i64 16, !29, i64 264, !29, i64 265, !29, i64 266, !38, i64 272, !14, i64 328}
!34 = !{!"_ZTSN11spirv_cross8IVariantE", !35, i64 8}
!35 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !8, i64 0}
!36 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !8, i64 0}
!37 = !{!"_ZTSN11spirv_cross12SPIRConstant14ConstantMatrixE", !9, i64 0, !9, i64 224, !8, i64 240}
!38 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE3EEELm8EEE", !39, i64 0, !17, i64 16, !40, i64 24}
!39 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE3EEEEE", !16, i64 0, !17, i64 8}
!40 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE3EEELm8EEE", !9, i64 0}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!12, !8, i64 208}
!44 = !{!12, !8, i64 212}


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