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

; 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] }
%"class.spirv_cross::TypedID.324" = type { i32 }
%"struct.std::pair.440" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.spirv_cross::TypedID.330" = type { i32 }
%"struct.spirv_cross::Instruction" = type { i16, i16, i32, i32 }
%"struct.spirv_cross::SPIRType" = type { %"struct.spirv_cross::IVariant.base", i32, i32, i32, i32, i32, %"class.spirv_cross::SmallVector.92", %"class.spirv_cross::SmallVector.325", i32, i8, i8, i32, %"class.spirv_cross::SmallVector.227", %"class.spirv_cross::SmallVector.92", %"struct.spirv_cross::SPIRType::ImageType", %"class.spirv_cross::TypedID.328", %"class.spirv_cross::TypedID.328", %"class.std::unordered_set.165" }
%"struct.spirv_cross::IVariant.base" = type <{ ptr, %"class.spirv_cross::TypedID.324" }>
%"class.spirv_cross::SmallVector.325" = type { %"class.spirv_cross::VectorView.326", i64, %"class.spirv_cross::AlignedBuffer.327" }
%"class.spirv_cross::VectorView.326" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.327" = 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.328", i32, i8, i8, i8, i32, i32, i32 }
%"class.spirv_cross::TypedID.328" = type { 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 }
%"struct.spirv_cross::IVariant" = type <{ ptr, %"class.spirv_cross::TypedID.324", [4 x i8] }>
%"struct.spirv_cross::SPIRAccessChain" = type { %"struct.spirv_cross::IVariant.base", %"class.spirv_cross::TypedID.328", i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, %"class.spirv_cross::TypedID.330", i32, i32, i8, i8, %"class.spirv_cross::SmallVector.10" }
%"class.spirv_cross::SmallVector.10" = type { %"class.spirv_cross::VectorView.11", i64, %"class.spirv_cross::AlignedBuffer.12" }
%"class.spirv_cross::VectorView.11" = type { ptr, i64 }
%"class.spirv_cross::AlignedBuffer.12" = type { [32 x i8] }

@.str.539 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.550 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerHLSL17emit_access_chainERKNS_11InstructionE = external hidden unnamed_addr constant [71 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: 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) #1 align 2

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

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler14has_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef) #3

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK11spirv_cross10VectorViewIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 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 noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

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

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

declare void @_ZN11spirv_cross12CompilerGLSL13to_expressionB5cxx11Ejb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef, i1 noundef zeroext) #3

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

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

declare noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler15expression_typeEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) #3

declare noundef zeroext i1 @_ZNK11spirv_cross12CompilerGLSL14should_forwardEj(ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef) #3

declare void @_ZN11spirv_cross8Compiler31inherit_expression_dependenciesEjj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef) #3

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

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

declare void @_ZN11spirv_cross12CompilerGLSL16emit_instructionERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(9848), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11spirv_cross12CompilerHLSL17emit_access_chainERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(10528) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %"class.spirv_cross::TypedID.324", align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca %"struct.std::pair.440", align 8
  %26 = alloca ptr, align 8
  %27 = alloca %"class.spirv_cross::TypedID.330", align 4
  %28 = alloca %"class.spirv_cross::TypedID.324", align 4
  %29 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %30 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = call noundef ptr @_ZNK11spirv_cross8Compiler6streamERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(3176) %30, ptr noundef nonnull align 4 dereferenceable(12) %31)
  store ptr %32, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.spirv_cross::Instruction", ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 4, !tbaa !9
  store i32 %35, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #7
  store i8 0, ptr %7, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds i32, ptr %36, i64 2
  %38 = load i32, ptr %37, align 4, !tbaa !13
  %39 = call noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler15expression_typeEj(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %38)
  store ptr %39, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds i32, ptr %40, i64 2
  %42 = load i32, ptr %41, align 4, !tbaa !13
  %43 = call noundef ptr @_ZN11spirv_cross8Compiler9maybe_getINS_15SPIRAccessChainEEEPT_j(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %42)
  store ptr %43, ptr %9, align 8, !tbaa !5
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = icmp ne ptr %44, null
  br i1 %45, label %46, label %47

46:                                               ; preds = %2
  store i8 1, ptr %7, align 1, !tbaa !14
  br label %70

47:                                               ; preds = %2
  %48 = load ptr, ptr %8, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %48, i32 0, i32 11
  %50 = load i32, ptr %49, align 8, !tbaa !16
  %51 = icmp eq i32 %50, 12
  br i1 %51, label %58, label %52

52:                                               ; preds = %47
  %53 = load ptr, ptr %8, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %53, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 8 %54, i64 4, i1 false), !tbaa.struct !43
  %55 = getelementptr inbounds %"class.spirv_cross::TypedID.324", ptr %10, i32 0, i32 0
  %56 = load i32, ptr %55, align 4
  %57 = call noundef zeroext i1 @_ZNK11spirv_cross8Compiler14has_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 %56, i32 noundef 3)
  br i1 %57, label %58, label %69

58:                                               ; preds = %52, %47
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %59 = load i32, ptr %6, align 4, !tbaa !13
  %60 = sub i32 %59, 3
  store i32 %60, ptr %11, align 4, !tbaa !13
  %61 = load i32, ptr %11, align 4, !tbaa !13
  %62 = zext i32 %61 to i64
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %63, i32 0, i32 6
  %65 = call noundef i64 @_ZNK11spirv_cross10VectorViewIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %64) #7
  %66 = icmp ugt i64 %62, %65
  br i1 %66, label %67, label %68

67:                                               ; preds = %58
  store i8 1, ptr %7, align 1, !tbaa !14
  br label %68

68:                                               ; preds = %67, %58
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %69

69:                                               ; preds = %68, %52
  br label %70

70:                                               ; preds = %69, %46
  %71 = load i8, ptr %7, align 1, !tbaa !14, !range !44, !noundef !45
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %316

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %74 = load ptr, ptr %9, align 8, !tbaa !5
  %75 = icmp ne ptr %74, null
  br i1 %75, label %76, label %77

76:                                               ; preds = %73
  br label %82

77:                                               ; preds = %73
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %78, i32 0, i32 6
  %80 = call noundef i64 @_ZNK11spirv_cross10VectorViewIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %79) #7
  %81 = trunc i64 %80 to i32
  br label %82

82:                                               ; preds = %77, %76
  %83 = phi i32 [ 0, %76 ], [ %81, %77 ]
  store i32 %83, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %84 = load ptr, ptr %5, align 8, !tbaa !5
  %85 = getelementptr inbounds i32, ptr %84, i64 2
  %86 = load i32, ptr %85, align 4, !tbaa !13
  %87 = call noundef ptr @_ZN11spirv_cross8Compiler26maybe_get_backing_variableEj(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %86)
  store ptr %87, ptr %13, align 8, !tbaa !5
  %88 = load ptr, ptr %13, align 8, !tbaa !5
  %89 = icmp ne ptr %88, null
  br i1 %89, label %90, label %100

90:                                               ; preds = %82
  %91 = load ptr, ptr %13, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %91, i32 0, i32 1
  %93 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %92)
  %94 = load ptr, ptr %30, align 8, !tbaa !46
  %95 = getelementptr inbounds ptr, ptr %94, i64 37
  %96 = load ptr, ptr %95, align 8
  %97 = call noundef zeroext i1 %96(ptr noundef nonnull align 8 dereferenceable(10528) %30, i32 noundef %93)
  br i1 %97, label %98, label %100

98:                                               ; preds = %90
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11spirv_cross12CompilerGLSL16emit_instructionERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(9848) %30, ptr noundef nonnull align 4 dereferenceable(12) %99)
  store i32 1, ptr %14, align 4
  br label %309

100:                                              ; preds = %90, %82
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  %101 = load i32, ptr %12, align 4, !tbaa !13
  %102 = icmp ne i32 %101, 0
  br i1 %102, label %103, label %121

103:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #7
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds i32, ptr %104, i64 2
  %106 = load i32, ptr %105, align 4, !tbaa !13
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds i32, ptr %107, i64 3
  %109 = load i32, ptr %12, align 4, !tbaa !13
  %110 = load ptr, ptr %5, align 8, !tbaa !5
  %111 = getelementptr inbounds i32, ptr %110, i64 0
  %112 = load i32, ptr %111, align 4, !tbaa !13
  %113 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %112)
          to label %114 unwind label %117

114:                                              ; preds = %103
  invoke void @_ZN11spirv_cross12CompilerGLSL12access_chainB5cxx11EjPKjjRKNS_8SPIRTypeEPNS_15AccessChainMetaEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %16, ptr noundef nonnull align 8 dereferenceable(9848) %30, i32 noundef %106, ptr noundef %108, i32 noundef %109, ptr noundef nonnull align 8 dereferenceable(336) %113, ptr noundef null, i1 noundef zeroext false)
          to label %115 unwind label %117

115:                                              ; preds = %114
  %116 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #7
  br label %144

117:                                              ; preds = %114, %103
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %17, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #7
  br label %315

121:                                              ; preds = %100
  %122 = load ptr, ptr %9, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %133

124:                                              ; preds = %121
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %125, i32 0, i32 3
  %127 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %126)
          to label %128 unwind label %129

128:                                              ; preds = %124
  br label %143

129:                                              ; preds = %124
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %17, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %18, align 4
  br label %315

133:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  %134 = load ptr, ptr %5, align 8, !tbaa !5
  %135 = getelementptr inbounds i32, ptr %134, i64 2
  %136 = load i32, ptr %135, align 4, !tbaa !13
  invoke void @_ZN11spirv_cross12CompilerGLSL13to_expressionB5cxx11Ejb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %19, ptr noundef nonnull align 8 dereferenceable(9848) %30, i32 noundef %136, i1 noundef zeroext true)
          to label %137 unwind label %139

137:                                              ; preds = %133
  %138 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %143

139:                                              ; preds = %133
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %17, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %315

143:                                              ; preds = %137, %128
  br label %144

144:                                              ; preds = %143, %115
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler16get_pointee_typeERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176) %30, ptr noundef nonnull align 8 dereferenceable(336) %145)
          to label %147 unwind label %153

147:                                              ; preds = %144
  store ptr %146, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %148

148:                                              ; preds = %177, %147
  %149 = load i32, ptr %21, align 4, !tbaa !13
  %150 = load i32, ptr %12, align 4, !tbaa !13
  %151 = icmp ult i32 %149, %150
  br i1 %151, label %157, label %152

152:                                              ; preds = %148
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %180

153:                                              ; preds = %144
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %17, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %18, align 4
  br label %314

157:                                              ; preds = %148
  %158 = load ptr, ptr %20, align 8, !tbaa !5
  %159 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %158, i32 0, i32 16
  %160 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %159)
          to label %161 unwind label %165

161:                                              ; preds = %157
  %162 = icmp ne i32 %160, 0
  br i1 %162, label %163, label %164

163:                                              ; preds = %161
  br label %170

164:                                              ; preds = %161
  call void @__assert_fail(ptr noundef @.str.550, ptr noundef @.str.539, i32 noundef 5200, ptr noundef @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerHLSL17emit_access_chainERKNS_11InstructionE) #8
  unreachable

165:                                              ; preds = %174, %170, %157
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %17, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %314

169:                                              ; No predecessors!
  br label %170

170:                                              ; preds = %169, %163
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %171, i32 0, i32 16
  %173 = invoke noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %172)
          to label %174 unwind label %165

174:                                              ; preds = %170
  %175 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %173)
          to label %176 unwind label %165

176:                                              ; preds = %174
  store ptr %175, ptr %20, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %21, align 4, !tbaa !13
  %179 = add i32 %178, 1
  store i32 %179, ptr %21, align 4, !tbaa !13
  br label %148, !llvm.loop !48

180:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 0, ptr %24, align 1, !tbaa !14
  %181 = load ptr, ptr %9, align 8, !tbaa !5
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %195

183:                                              ; preds = %180
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %184, i32 0, i32 7
  %186 = load i32, ptr %185, align 8, !tbaa !50
  store i32 %186, ptr %22, align 4, !tbaa !13
  %187 = load ptr, ptr %9, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %187, i32 0, i32 9
  %189 = load i8, ptr %188, align 8, !tbaa !58, !range !44, !noundef !45
  %190 = trunc i8 %189 to i1
  %191 = zext i1 %190 to i8
  store i8 %191, ptr %24, align 1, !tbaa !14
  %192 = load ptr, ptr %9, align 8, !tbaa !5
  %193 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %192, i32 0, i32 8
  %194 = load i32, ptr %193, align 4, !tbaa !59
  store i32 %194, ptr %23, align 4, !tbaa !13
  br label %195

195:                                              ; preds = %183, %180
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #7
  %196 = load ptr, ptr %20, align 8, !tbaa !5
  %197 = load ptr, ptr %5, align 8, !tbaa !5
  %198 = load i32, ptr %12, align 4, !tbaa !13
  %199 = add i32 3, %198
  %200 = zext i32 %199 to i64
  %201 = getelementptr inbounds i32, ptr %197, i64 %200
  %202 = load i32, ptr %6, align 4, !tbaa !13
  %203 = sub i32 %202, 3
  %204 = load i32, ptr %12, align 4, !tbaa !13
  %205 = sub i32 %203, %204
  invoke void @_ZN11spirv_cross12CompilerGLSL29flattened_access_chain_offsetB5cxx11ERKNS_8SPIRTypeEPKjjjjPbPjS7_b(ptr dead_on_unwind writable sret(%"struct.std::pair.440") align 8 %25, ptr noundef nonnull align 8 dereferenceable(9848) %30, ptr noundef nonnull align 8 dereferenceable(336) %196, ptr noundef %201, i32 noundef %205, i32 noundef 0, i32 noundef 1, ptr noundef %24, ptr noundef %22, ptr noundef %23, i1 noundef zeroext false)
          to label %206 unwind label %266

206:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %207 = load ptr, ptr %5, align 8, !tbaa !5
  %208 = getelementptr inbounds i32, ptr %207, i64 1
  %209 = load i32, ptr %208, align 4, !tbaa !13
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  %211 = getelementptr inbounds i32, ptr %210, i64 0
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.spirv_cross::SPIRType", ptr %212, i32 0, i32 11
  %214 = getelementptr inbounds %"struct.std::pair.440", ptr %25, i32 0, i32 0
  %215 = getelementptr inbounds %"struct.std::pair.440", ptr %25, i32 0, i32 1
  %216 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN11spirv_cross8Compiler3setINS_15SPIRAccessChainEJRKjRKN3spv12StorageClassERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_RjEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %209, ptr noundef nonnull align 4 dereferenceable(4) %211, ptr noundef nonnull align 4 dereferenceable(4) %213, ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %214, ptr noundef nonnull align 4 dereferenceable(4) %215)
          to label %217 unwind label %270

217:                                              ; preds = %206
  store ptr %216, ptr %26, align 8, !tbaa !5
  %218 = load i8, ptr %24, align 1, !tbaa !14, !range !44, !noundef !45
  %219 = trunc i8 %218 to i1
  %220 = load ptr, ptr %26, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %220, i32 0, i32 9
  %222 = zext i1 %219 to i8
  store i8 %222, ptr %221, align 8, !tbaa !58
  %223 = load i32, ptr %22, align 4, !tbaa !13
  %224 = load ptr, ptr %26, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %224, i32 0, i32 7
  store i32 %223, ptr %225, align 8, !tbaa !50
  %226 = load i32, ptr %23, align 4, !tbaa !13
  %227 = load ptr, ptr %26, align 8, !tbaa !5
  %228 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %227, i32 0, i32 8
  store i32 %226, ptr %228, align 4, !tbaa !59
  %229 = load ptr, ptr %5, align 8, !tbaa !5
  %230 = getelementptr inbounds i32, ptr %229, i64 2
  %231 = load i32, ptr %230, align 4, !tbaa !13
  %232 = invoke noundef zeroext i1 @_ZNK11spirv_cross12CompilerGLSL14should_forwardEj(ptr noundef nonnull align 8 dereferenceable(9848) %30, i32 noundef %231)
          to label %233 unwind label %270

233:                                              ; preds = %217
  %234 = load ptr, ptr %26, align 8, !tbaa !5
  %235 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %234, i32 0, i32 10
  %236 = zext i1 %232 to i8
  store i8 %236, ptr %235, align 1, !tbaa !60
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %237 = load ptr, ptr %13, align 8, !tbaa !5
  %238 = icmp ne ptr %237, null
  br i1 %238, label %239, label %242

239:                                              ; preds = %233
  %240 = load ptr, ptr %13, align 8, !tbaa !5
  %241 = getelementptr inbounds %"struct.spirv_cross::IVariant", ptr %240, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %241, i64 4, i1 false), !tbaa.struct !43
  br label %244

242:                                              ; preds = %233
  invoke void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %28, i32 noundef 0)
          to label %243 unwind label %274

243:                                              ; preds = %242
  br label %244

244:                                              ; preds = %243, %239
  %245 = invoke i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_2EEEv(ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %246 unwind label %274

246:                                              ; preds = %244
  %247 = getelementptr inbounds %"class.spirv_cross::TypedID.330", ptr %27, i32 0, i32 0
  store i32 %245, ptr %247, align 4
  %248 = load ptr, ptr %26, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %248, i32 0, i32 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %249, ptr align 4 %27, i64 4, i1 false), !tbaa.struct !43
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  %250 = load ptr, ptr %9, align 8, !tbaa !5
  %251 = icmp ne ptr %250, null
  br i1 %251, label %252, label %278

252:                                              ; preds = %246
  %253 = load ptr, ptr %9, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %253, i32 0, i32 4
  %255 = load ptr, ptr %26, align 8, !tbaa !5
  %256 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %255, i32 0, i32 4
  %257 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %256, ptr noundef nonnull align 8 dereferenceable(32) %254)
          to label %258 unwind label %270

258:                                              ; preds = %252
  %259 = load ptr, ptr %9, align 8, !tbaa !5
  %260 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %259, i32 0, i32 5
  %261 = load i32, ptr %260, align 8, !tbaa !61
  %262 = load ptr, ptr %26, align 8, !tbaa !5
  %263 = getelementptr inbounds %"struct.spirv_cross::SPIRAccessChain", ptr %262, i32 0, i32 5
  %264 = load i32, ptr %263, align 8, !tbaa !61
  %265 = add nsw i32 %264, %261
  store i32 %265, ptr %263, align 8, !tbaa !61
  br label %278

266:                                              ; preds = %195
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %17, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %18, align 4
  br label %313

270:                                              ; preds = %252, %217, %206
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %17, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %18, align 4
  br label %312

274:                                              ; preds = %244, %242
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %17, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %312

278:                                              ; preds = %258, %246
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 2, ptr %29, align 4, !tbaa !13
  br label %279

279:                                              ; preds = %301, %278
  %280 = load i32, ptr %29, align 4, !tbaa !13
  %281 = load i32, ptr %6, align 4, !tbaa !13
  %282 = icmp ult i32 %280, %281
  br i1 %282, label %284, label %283

283:                                              ; preds = %279
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %308

284:                                              ; preds = %279
  %285 = load ptr, ptr %5, align 8, !tbaa !5
  %286 = getelementptr inbounds i32, ptr %285, i64 1
  %287 = load i32, ptr %286, align 4, !tbaa !13
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  %289 = load i32, ptr %29, align 4, !tbaa !13
  %290 = zext i32 %289 to i64
  %291 = getelementptr inbounds i32, ptr %288, i64 %290
  %292 = load i32, ptr %291, align 4, !tbaa !13
  invoke void @_ZN11spirv_cross8Compiler31inherit_expression_dependenciesEjj(ptr noundef nonnull align 8 dereferenceable(3176) %30, i32 noundef %287, i32 noundef %292)
          to label %293 unwind label %304

293:                                              ; preds = %284
  %294 = load ptr, ptr %26, align 8, !tbaa !5
  %295 = load ptr, ptr %5, align 8, !tbaa !5
  %296 = load i32, ptr %29, align 4, !tbaa !13
  %297 = zext i32 %296 to i64
  %298 = getelementptr inbounds i32, ptr %295, i64 %297
  %299 = load i32, ptr %298, align 4, !tbaa !13
  invoke void @_ZN11spirv_cross8Compiler27add_implied_read_expressionERNS_15SPIRAccessChainEj(ptr noundef nonnull align 8 dereferenceable(3176) %30, ptr noundef nonnull align 8 dereferenceable(168) %294, i32 noundef %299)
          to label %300 unwind label %304

300:                                              ; preds = %293
  br label %301

301:                                              ; preds = %300
  %302 = load i32, ptr %29, align 4, !tbaa !13
  %303 = add i32 %302, 1
  store i32 %303, ptr %29, align 4, !tbaa !13
  br label %279, !llvm.loop !62

304:                                              ; preds = %293, %284
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %17, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %312

308:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #7
  store i32 0, ptr %14, align 4
  br label %309

309:                                              ; preds = %308, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  %310 = load i32, ptr %14, align 4
  switch i32 %310, label %319 [
    i32 0, label %311
  ]

311:                                              ; preds = %309
  br label %318

312:                                              ; preds = %304, %274, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %25) #7
  br label %313

313:                                              ; preds = %312, %266
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  br label %314

314:                                              ; preds = %313, %165, %153
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %315

315:                                              ; preds = %314, %139, %129, %117
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  br label %322

316:                                              ; preds = %70
  %317 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN11spirv_cross12CompilerGLSL16emit_instructionERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(9848) %30, ptr noundef nonnull align 4 dereferenceable(12) %317)
  br label %318

318:                                              ; preds = %316, %311
  store i32 0, ptr %14, align 4
  br label %319

319:                                              ; preds = %318, %309
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  %320 = load i32, ptr %14, align 4
  switch i32 %320, label %327 [
    i32 0, label %321
    i32 1, label %321
  ]

321:                                              ; preds = %319, %319
  ret void

322:                                              ; preds = %315
  %323 = load ptr, ptr %17, align 8
  %324 = load i32, ptr %18, align 4
  %325 = insertvalue { ptr, i32 } poison, ptr %323, 0
  %326 = insertvalue { ptr, i32 } %325, i32 %324, 1
  resume { ptr, i32 } %326

327:                                              ; preds = %319
  unreachable
}

declare noundef ptr @_ZN11spirv_cross8Compiler26maybe_get_backing_variableEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) #3

declare void @_ZN11spirv_cross12CompilerGLSL12access_chainB5cxx11EjPKjjRKNS_8SPIRTypeEPNS_15AccessChainMetaEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef, ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(336), ptr noundef, i1 noundef zeroext) #3

declare noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler16get_pointee_typeERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(336)) #3

declare void @_ZN11spirv_cross12CompilerGLSL29flattened_access_chain_offsetB5cxx11ERKNS_8SPIRTypeEPKjjjjPbPjS7_b(ptr dead_on_unwind writable sret(%"struct.std::pair.440") align 8, ptr noundef nonnull align 8 dereferenceable(9848), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #3

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

declare void @_ZN11spirv_cross8Compiler27add_implied_read_expressionERNS_15SPIRAccessChainEj(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(168), i32 noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { 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 #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, !12, i64 8}
!10 = !{!"_ZTSN11spirv_cross11InstructionE", !11, i64 0, !11, i64 2, !12, i64 4, !12, i64 8}
!11 = !{!"short", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!17, !29, i64 128}
!17 = !{!"_ZTSN11spirv_cross8SPIRTypeE", !18, i64 0, !20, i64 12, !21, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !22, i64 32, !26, i64 88, !12, i64 120, !15, i64 124, !15, i64 125, !29, i64 128, !30, i64 136, !22, i64 192, !33, i64 248, !34, i64 272, !34, i64 276, !38, i64 280}
!18 = !{!"_ZTSN11spirv_cross8IVariantE", !19, i64 8}
!19 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !12, i64 0}
!20 = !{!"_ZTSN3spv2OpE", !7, i64 0}
!21 = !{!"_ZTSN11spirv_cross8SPIRType8BaseTypeE", !7, i64 0}
!22 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !23, i64 0, !24, i64 16, !25, i64 24}
!23 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !6, i64 0, !24, i64 8}
!24 = !{!"long", !7, i64 0}
!25 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !7, i64 0}
!26 = !{!"_ZTSN11spirv_cross11SmallVectorIbLm8EEE", !27, i64 0, !24, i64 16, !28, i64 24}
!27 = !{!"_ZTSN11spirv_cross10VectorViewIbEE", !6, i64 0, !24, i64 8}
!28 = !{!"_ZTSN11spirv_cross13AlignedBufferIbLm8EEE", !7, i64 0}
!29 = !{!"_ZTSN3spv12StorageClassE", !7, i64 0}
!30 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EEE", !31, i64 0, !24, i64 16, !32, i64 24}
!31 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE1EEEEE", !6, i64 0, !24, i64 8}
!32 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE1EEELm8EEE", !7, i64 0}
!33 = !{!"_ZTSN11spirv_cross8SPIRType9ImageTypeE", !34, i64 0, !35, i64 4, !15, i64 8, !15, i64 9, !15, i64 10, !12, i64 12, !36, i64 16, !37, i64 20}
!34 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !12, i64 0}
!35 = !{!"_ZTSN3spv3DimE", !7, i64 0}
!36 = !{!"_ZTSN3spv11ImageFormatE", !7, i64 0}
!37 = !{!"_ZTSN3spv15AccessQualifierE", !7, i64 0}
!38 = !{!"_ZTSSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !39, i64 0}
!39 = !{!"_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, !24, i64 8, !40, i64 16, !24, i64 24, !41, i64 32, !6, i64 48}
!40 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!41 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !42, i64 0, !24, i64 8}
!42 = !{!"float", !7, i64 0}
!43 = !{i64 0, i64 4, !13}
!44 = !{i8 0, i8 2}
!45 = !{}
!46 = !{!47, !47, i64 0}
!47 = !{!"vtable pointer", !8, i64 0}
!48 = distinct !{!48, !49}
!49 = !{!"llvm.loop.mustprogress"}
!50 = !{!51, !12, i64 96}
!51 = !{!"_ZTSN11spirv_cross15SPIRAccessChainE", !18, i64 0, !34, i64 12, !29, i64 16, !52, i64 24, !52, i64 56, !12, i64 88, !54, i64 92, !12, i64 96, !12, i64 100, !15, i64 104, !15, i64 105, !55, i64 112}
!52 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !53, i64 0, !24, i64 8, !7, i64 16}
!53 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!54 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE2EEE", !12, i64 0}
!55 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !56, i64 0, !24, i64 16, !57, i64 24}
!56 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !6, i64 0, !24, i64 8}
!57 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !7, i64 0}
!58 = !{!51, !15, i64 104}
!59 = !{!51, !12, i64 100}
!60 = !{!51, !15, i64 105}
!61 = !{!51, !12, i64 88}
!62 = distinct !{!62, !49}


; 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.std::pair.440" = type <{ %"class.std::__cxx11::basic_string", i32, [4 x i8] }>
%"class.spirv_cross::TypedID.324" = type { i32 }

@.str.539 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.550 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerHLSL17emit_access_chainERKNS_11InstructionE = external hidden unnamed_addr constant [71 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 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 #1 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 #2 align 2

declare noundef zeroext i1 @_ZNK11spirv_cross8Compiler14has_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176), i32, i32 noundef) local_unnamed_addr #3

; 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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 nounwind uwtable
declare dso_local noundef i64 @_ZNK11spirv_cross10VectorViewIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK11spirv_cross8Compiler6streamERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

declare void @_ZN11spirv_cross12CompilerGLSL13to_expressionB5cxx11Ejb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef, i1 noundef zeroext) local_unnamed_addr #3

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

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

declare noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler15expression_typeEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) local_unnamed_addr #3

declare noundef zeroext i1 @_ZNK11spirv_cross12CompilerGLSL14should_forwardEj(ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef) local_unnamed_addr #3

declare void @_ZN11spirv_cross8Compiler31inherit_expression_dependenciesEjj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, i32 noundef) local_unnamed_addr #3

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

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

declare void @_ZN11spirv_cross12CompilerGLSL16emit_instructionERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(9848), ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11spirv_cross12CompilerHLSL17emit_access_chainERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(10528) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i8, align 1
  %9 = alloca %"struct.std::pair.440", align 8
  %10 = alloca %"class.spirv_cross::TypedID.324", align 4
  %11 = tail call noundef ptr @_ZNK11spirv_cross8Compiler6streamERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 4 dereferenceable(12) %1)
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %11, i64 8
  %15 = load i32, ptr %14, align 4, !tbaa !11
  %16 = tail call noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler15expression_typeEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %15)
  %17 = load i32, ptr %14, align 4, !tbaa !11
  %18 = tail call noundef ptr @_ZN11spirv_cross8Compiler9maybe_getINS_15SPIRAccessChainEEEPT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %17)
  %.not = icmp eq ptr %18, null
  br i1 %.not, label %19, label %.critedge99

19:                                               ; preds = %2
  %20 = getelementptr inbounds i8, ptr %16, i64 128
  %21 = load i32, ptr %20, align 8, !tbaa !12
  %22 = icmp eq i32 %21, 12
  br i1 %22, label %26, label %23

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %16, i64 8
  %.sroa.029.0.copyload = load i32, ptr %24, align 8, !tbaa !11
  %25 = tail call noundef zeroext i1 @_ZNK11spirv_cross8Compiler14has_decorationENS_7TypedIDILNS_5TypesE0EEEN3spv10DecorationE(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 %.sroa.029.0.copyload, i32 noundef 3)
  br i1 %25, label %26, label %.critedge

26:                                               ; preds = %23, %19
  %27 = add i32 %13, -3
  %28 = zext i32 %27 to i64
  %29 = getelementptr inbounds i8, ptr %16, i64 32
  %30 = tail call noundef i64 @_ZNK11spirv_cross10VectorViewIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  %31 = icmp ult i64 %30, %28
  br i1 %31, label %.critedge96, label %.critedge

.critedge96:                                      ; preds = %26
  %32 = tail call noundef i64 @_ZNK11spirv_cross10VectorViewIjE4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #6
  %33 = trunc i64 %32 to i32
  br label %.critedge99

.critedge99:                                      ; preds = %2, %.critedge96
  %34 = phi i32 [ %33, %.critedge96 ], [ 0, %2 ]
  %35 = load i32, ptr %14, align 4, !tbaa !11
  %36 = tail call noundef ptr @_ZN11spirv_cross8Compiler26maybe_get_backing_variableEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %35)
  %.not87 = icmp eq ptr %36, null
  br i1 %.not87, label %44, label %37

37:                                               ; preds = %.critedge99
  %38 = getelementptr inbounds i8, ptr %36, i64 8
  %39 = tail call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %38)
  %40 = load ptr, ptr %0, align 8, !tbaa !41
  %41 = getelementptr inbounds i8, ptr %40, i64 296
  %42 = load ptr, ptr %41, align 8
  %43 = tail call noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(10528) %0, i32 noundef %39)
  br i1 %43, label %.critedge98, label %44

.critedge98:                                      ; preds = %37
  tail call void @_ZN11spirv_cross12CompilerGLSL16emit_instructionERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(9848) %0, ptr noundef nonnull align 4 dereferenceable(12) %1)
  br label %149

44:                                               ; preds = %37, %.critedge99
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  %.not88 = icmp eq i32 %34, 0
  br i1 %.not88, label %55, label %45

45:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %46 = load i32, ptr %14, align 4, !tbaa !11
  %47 = load i32, ptr %11, align 4, !tbaa !11
  %48 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %47)
          to label %49 unwind label %53

49:                                               ; preds = %45
  %50 = getelementptr inbounds i8, ptr %11, i64 12
  invoke void @_ZN11spirv_cross12CompilerGLSL12access_chainB5cxx11EjPKjjRKNS_8SPIRTypeEPNS_15AccessChainMetaEb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %4, ptr noundef nonnull align 8 dereferenceable(9848) %0, i32 noundef %46, ptr noundef nonnull %50, i32 noundef %34, ptr noundef nonnull align 8 dereferenceable(336) %48, ptr noundef null, i1 noundef zeroext false)
          to label %51 unwind label %53

51:                                               ; preds = %49
  %52 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %67

53:                                               ; preds = %49, %45
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %148

55:                                               ; preds = %44
  br i1 %.not, label %61, label %56

56:                                               ; preds = %55
  %57 = getelementptr inbounds i8, ptr %18, i64 24
  %58 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %67 unwind label %59

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %148

61:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  %62 = load i32, ptr %14, align 4, !tbaa !11
  invoke void @_ZN11spirv_cross12CompilerGLSL13to_expressionB5cxx11Ejb(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %5, ptr noundef nonnull align 8 dereferenceable(9848) %0, i32 noundef %62, i1 noundef zeroext true)
          to label %63 unwind label %65

63:                                               ; preds = %61
  %64 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEOS4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %67

65:                                               ; preds = %61
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %148

67:                                               ; preds = %63, %56, %51
  %68 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler16get_pointee_typeERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 8 dereferenceable(336) %16)
          to label %.preheader unwind label %69

.preheader:                                       ; preds = %67
  br i1 %.not88, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %79, %.preheader
  %.073.lcssa = phi ptr [ %68, %.preheader ], [ %78, %79 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  store i32 0, ptr %6, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #6
  store i8 0, ptr %8, align 1, !tbaa !43
  br i1 %.not, label %88, label %81

69:                                               ; preds = %67
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %148

.lr.ph:                                           ; preds = %.preheader, %79
  %.072103 = phi i32 [ %80, %79 ], [ 0, %.preheader ]
  %.073102 = phi ptr [ %78, %79 ], [ %68, %.preheader ]
  %71 = getelementptr inbounds i8, ptr %.073102, i64 276
  %72 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %71)
  %.not91 = icmp eq i32 %72, 0
  br i1 %.not91, label %73, label %76

73:                                               ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.550, ptr noundef nonnull @.str.539, i32 noundef 5200, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11spirv_cross12CompilerHLSL17emit_access_chainERKNS_11InstructionE) #7
  unreachable

74:                                               ; preds = %76
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %148

76:                                               ; preds = %.lr.ph
  %77 = call noundef i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE1EEcvjEv(ptr noundef nonnull align 4 dereferenceable(4) %71)
  %78 = invoke noundef nonnull align 8 dereferenceable(336) ptr @_ZN11spirv_cross8Compiler3getINS_8SPIRTypeEEERT_j(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %77)
          to label %79 unwind label %74

79:                                               ; preds = %76
  %80 = add nuw i32 %.072103, 1
  %exitcond.not = icmp eq i32 %80, %34
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !44

81:                                               ; preds = %._crit_edge
  %82 = getelementptr inbounds i8, ptr %18, i64 96
  %83 = load i32, ptr %82, align 8, !tbaa !46
  store i32 %83, ptr %6, align 4, !tbaa !11
  %84 = getelementptr inbounds i8, ptr %18, i64 104
  %85 = load i8, ptr %84, align 8, !tbaa !54, !range !55, !noundef !56
  store i8 %85, ptr %8, align 1, !tbaa !43
  %86 = getelementptr inbounds i8, ptr %18, i64 100
  %87 = load i32, ptr %86, align 4, !tbaa !57
  store i32 %87, ptr %7, align 4, !tbaa !11
  br label %88

88:                                               ; preds = %81, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #6
  %89 = add i32 %34, 3
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds i32, ptr %11, i64 %90
  %92 = add i32 %13, -3
  %93 = sub i32 %92, %34
  invoke void @_ZN11spirv_cross12CompilerGLSL29flattened_access_chain_offsetB5cxx11ERKNS_8SPIRTypeEPKjjjjPbPjS7_b(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.440") align 8 %9, ptr noundef nonnull align 8 dereferenceable(9848) %0, ptr noundef nonnull align 8 dereferenceable(336) %.073.lcssa, ptr noundef %91, i32 noundef %93, i32 noundef 0, i32 noundef 1, ptr noundef nonnull %8, ptr noundef nonnull %6, ptr noundef nonnull %7, i1 noundef zeroext false)
          to label %94 unwind label %130

94:                                               ; preds = %88
  %95 = getelementptr inbounds i8, ptr %11, i64 4
  %96 = load i32, ptr %95, align 4, !tbaa !11
  %97 = getelementptr inbounds i8, ptr %16, i64 128
  %98 = getelementptr inbounds i8, ptr %9, i64 32
  %99 = invoke noundef nonnull align 8 dereferenceable(168) ptr @_ZN11spirv_cross8Compiler3setINS_15SPIRAccessChainEJRKjRKN3spv12StorageClassERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_RjEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %96, ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %97, ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 4 dereferenceable(4) %98)
          to label %100 unwind label %132

100:                                              ; preds = %94
  %101 = load i8, ptr %8, align 1, !tbaa !43, !range !55, !noundef !56
  %102 = getelementptr inbounds i8, ptr %99, i64 104
  store i8 %101, ptr %102, align 8, !tbaa !54
  %103 = load i32, ptr %6, align 4, !tbaa !11
  %104 = getelementptr inbounds i8, ptr %99, i64 96
  store i32 %103, ptr %104, align 8, !tbaa !46
  %105 = load i32, ptr %7, align 4, !tbaa !11
  %106 = getelementptr inbounds i8, ptr %99, i64 100
  store i32 %105, ptr %106, align 4, !tbaa !57
  %107 = load i32, ptr %14, align 4, !tbaa !11
  %108 = invoke noundef zeroext i1 @_ZNK11spirv_cross12CompilerGLSL14should_forwardEj(ptr noundef nonnull align 8 dereferenceable(9848) %0, i32 noundef %107)
          to label %109 unwind label %132

109:                                              ; preds = %100
  %110 = getelementptr inbounds i8, ptr %99, i64 105
  %111 = zext i1 %108 to i8
  store i8 %111, ptr %110, align 1, !tbaa !58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  br i1 %.not87, label %115, label %112

112:                                              ; preds = %109
  %113 = getelementptr inbounds i8, ptr %36, i64 8
  %114 = load i32, ptr %113, align 8, !tbaa !11
  store i32 %114, ptr %10, align 4, !tbaa !11
  br label %116

115:                                              ; preds = %109
  call void @_ZN11spirv_cross7TypedIDILNS_5TypesE0EEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %10, i32 noundef 0)
  br label %116

116:                                              ; preds = %115, %112
  %117 = invoke i32 @_ZNK11spirv_cross7TypedIDILNS_5TypesE0EEcvNS0_IXT_EEEILS1_2EEEv(ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %118 unwind label %134

118:                                              ; preds = %116
  %119 = getelementptr inbounds i8, ptr %99, i64 92
  store i32 %117, ptr %119, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br i1 %.not, label %136, label %120

120:                                              ; preds = %118
  %121 = getelementptr inbounds i8, ptr %18, i64 56
  %122 = getelementptr inbounds i8, ptr %99, i64 56
  %123 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef nonnull align 8 dereferenceable(32) %121)
          to label %124 unwind label %132

124:                                              ; preds = %120
  %125 = getelementptr inbounds i8, ptr %18, i64 88
  %126 = load i32, ptr %125, align 8, !tbaa !59
  %127 = getelementptr inbounds i8, ptr %99, i64 88
  %128 = load i32, ptr %127, align 8, !tbaa !59
  %129 = add nsw i32 %128, %126
  store i32 %129, ptr %127, align 8, !tbaa !59
  br label %136

130:                                              ; preds = %88
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %147

132:                                              ; preds = %120, %100, %94
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %146

134:                                              ; preds = %116
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  br label %146

136:                                              ; preds = %124, %118
  %137 = icmp ugt i32 %13, 2
  br i1 %137, label %.lr.ph106.preheader, label %._crit_edge107

.lr.ph106.preheader:                              ; preds = %136
  %wide.trip.count = zext i32 %13 to i64
  br label %.lr.ph106

._crit_edge107:                                   ; preds = %143, %136
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  br label %149

.lr.ph106:                                        ; preds = %.lr.ph106.preheader, %143
  %indvars.iv = phi i64 [ 2, %.lr.ph106.preheader ], [ %indvars.iv.next, %143 ]
  %138 = load i32, ptr %95, align 4, !tbaa !11
  %139 = getelementptr inbounds i32, ptr %11, i64 %indvars.iv
  %140 = load i32, ptr %139, align 4, !tbaa !11
  invoke void @_ZN11spirv_cross8Compiler31inherit_expression_dependenciesEjj(ptr noundef nonnull align 8 dereferenceable(3176) %0, i32 noundef %138, i32 noundef %140)
          to label %141 unwind label %144

141:                                              ; preds = %.lr.ph106
  %142 = load i32, ptr %139, align 4, !tbaa !11
  invoke void @_ZN11spirv_cross8Compiler27add_implied_read_expressionERNS_15SPIRAccessChainEj(ptr noundef nonnull align 8 dereferenceable(3176) %0, ptr noundef nonnull align 8 dereferenceable(168) %99, i32 noundef %142)
          to label %143 unwind label %144

143:                                              ; preds = %141
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond110.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond110.not, label %._crit_edge107, label %.lr.ph106, !llvm.loop !60

144:                                              ; preds = %141, %.lr.ph106
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %146

146:                                              ; preds = %144, %134, %132
  %.pn = phi { ptr, i32 } [ %145, %144 ], [ %133, %132 ], [ %135, %134 ]
  call void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjED2Ev(ptr noundef nonnull align 8 dereferenceable(36) %9) #6
  br label %147

147:                                              ; preds = %146, %130
  %.pn.pn = phi { ptr, i32 } [ %.pn, %146 ], [ %131, %130 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  br label %148

148:                                              ; preds = %69, %74, %147, %65, %59, %53
  %.pn92.pn = phi { ptr, i32 } [ %54, %53 ], [ %60, %59 ], [ %66, %65 ], [ %75, %74 ], [ %.pn.pn, %147 ], [ %70, %69 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn92.pn

.critedge:                                        ; preds = %23, %26
  tail call void @_ZN11spirv_cross12CompilerGLSL16emit_instructionERKNS_11InstructionE(ptr noundef nonnull align 8 dereferenceable(9848) %0, ptr noundef nonnull align 4 dereferenceable(12) %1)
  br label %149

149:                                              ; preds = %.critedge, %._crit_edge107, %.critedge98
  ret void
}

declare noundef ptr @_ZN11spirv_cross8Compiler26maybe_get_backing_variableEj(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef) local_unnamed_addr #3

declare void @_ZN11spirv_cross12CompilerGLSL12access_chainB5cxx11EjPKjjRKNS_8SPIRTypeEPNS_15AccessChainMetaEb(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(9848), i32 noundef, ptr noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(336), ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(336) ptr @_ZNK11spirv_cross8Compiler16get_pointee_typeERKNS_8SPIRTypeE(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(336)) local_unnamed_addr #3

declare void @_ZN11spirv_cross12CompilerGLSL29flattened_access_chain_offsetB5cxx11ERKNS_8SPIRTypeEPKjjjjPbPjS7_b(ptr dead_on_unwind writable sret(%"struct.std::pair.440") align 8, ptr noundef nonnull align 8 dereferenceable(9848), ptr noundef nonnull align 8 dereferenceable(336), ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(168) ptr @_ZN11spirv_cross8Compiler3setINS_15SPIRAccessChainEJRKjRKN3spv12StorageClassERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESF_RjEEERT_jDpOT0_(ptr noundef nonnull align 8 dereferenceable(3176), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1 align 2

declare void @_ZN11spirv_cross8Compiler27add_implied_read_expressionERNS_15SPIRAccessChainEj(ptr noundef nonnull align 8 dereferenceable(3176), ptr noundef nonnull align 8 dereferenceable(168), i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjED2Ev(ptr noundef nonnull align 8 dereferenceable(36)) unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { "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 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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, !10, i64 8}
!6 = !{!"_ZTSN11spirv_cross11InstructionE", !7, i64 0, !7, i64 2, !10, i64 4, !10, i64 8}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!13, !27, i64 128}
!13 = !{!"_ZTSN11spirv_cross8SPIRTypeE", !14, i64 0, !16, i64 12, !17, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !18, i64 32, !23, i64 88, !10, i64 120, !26, i64 124, !26, i64 125, !27, i64 128, !28, i64 136, !18, i64 192, !31, i64 248, !32, i64 272, !32, i64 276, !36, i64 280}
!14 = !{!"_ZTSN11spirv_cross8IVariantE", !15, i64 8}
!15 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE0EEE", !10, i64 0}
!16 = !{!"_ZTSN3spv2OpE", !8, i64 0}
!17 = !{!"_ZTSN11spirv_cross8SPIRType8BaseTypeE", !8, i64 0}
!18 = !{!"_ZTSN11spirv_cross11SmallVectorIjLm8EEE", !19, i64 0, !21, i64 16, !22, i64 24}
!19 = !{!"_ZTSN11spirv_cross10VectorViewIjEE", !20, i64 0, !21, i64 8}
!20 = !{!"any pointer", !8, i64 0}
!21 = !{!"long", !8, i64 0}
!22 = !{!"_ZTSN11spirv_cross13AlignedBufferIjLm8EEE", !8, i64 0}
!23 = !{!"_ZTSN11spirv_cross11SmallVectorIbLm8EEE", !24, i64 0, !21, i64 16, !25, i64 24}
!24 = !{!"_ZTSN11spirv_cross10VectorViewIbEE", !20, i64 0, !21, i64 8}
!25 = !{!"_ZTSN11spirv_cross13AlignedBufferIbLm8EEE", !8, i64 0}
!26 = !{!"bool", !8, i64 0}
!27 = !{!"_ZTSN3spv12StorageClassE", !8, i64 0}
!28 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE1EEELm8EEE", !29, i64 0, !21, i64 16, !30, i64 24}
!29 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE1EEEEE", !20, i64 0, !21, i64 8}
!30 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE1EEELm8EEE", !8, i64 0}
!31 = !{!"_ZTSN11spirv_cross8SPIRType9ImageTypeE", !32, i64 0, !33, i64 4, !26, i64 8, !26, i64 9, !26, i64 10, !10, i64 12, !34, i64 16, !35, i64 20}
!32 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE1EEE", !10, i64 0}
!33 = !{!"_ZTSN3spv3DimE", !8, i64 0}
!34 = !{!"_ZTSN3spv11ImageFormatE", !8, i64 0}
!35 = !{!"_ZTSN3spv15AccessQualifierE", !8, i64 0}
!36 = !{!"_ZTSSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashIS5_ESt8equal_toIS5_ESaIS5_EE", !37, i64 0}
!37 = !{!"_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", !20, i64 0, !21, i64 8, !38, i64 16, !21, i64 24, !39, i64 32, !20, i64 48}
!38 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !20, i64 0}
!39 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !40, i64 0, !21, i64 8}
!40 = !{!"float", !8, i64 0}
!41 = !{!42, !42, i64 0}
!42 = !{!"vtable pointer", !9, i64 0}
!43 = !{!26, !26, i64 0}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = !{!47, !10, i64 96}
!47 = !{!"_ZTSN11spirv_cross15SPIRAccessChainE", !14, i64 0, !32, i64 12, !27, i64 16, !48, i64 24, !48, i64 56, !10, i64 88, !50, i64 92, !10, i64 96, !10, i64 100, !26, i64 104, !26, i64 105, !51, i64 112}
!48 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !49, i64 0, !21, i64 8, !8, i64 16}
!49 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !20, i64 0}
!50 = !{!"_ZTSN11spirv_cross7TypedIDILNS_5TypesE2EEE", !10, i64 0}
!51 = !{!"_ZTSN11spirv_cross11SmallVectorINS_7TypedIDILNS_5TypesE0EEELm8EEE", !52, i64 0, !21, i64 16, !53, i64 24}
!52 = !{!"_ZTSN11spirv_cross10VectorViewINS_7TypedIDILNS_5TypesE0EEEEE", !20, i64 0, !21, i64 8}
!53 = !{!"_ZTSN11spirv_cross13AlignedBufferINS_7TypedIDILNS_5TypesE0EEELm8EEE", !8, i64 0}
!54 = !{!47, !26, i64 104}
!55 = !{i8 0, i8 2}
!56 = !{}
!57 = !{!47, !10, i64 100}
!58 = !{!47, !26, i64 105}
!59 = !{!47, !10, i64 88}
!60 = distinct !{!60, !45}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass