; LLVM IR from hbatagelo/abcg :: abcg/external/glslang/SPIRV (SpvBuilder)

; 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.spv::Builder" = type { ptr, i32, i32, i32, i32, %"class.std::__cxx11::basic_string", i32, ptr, i8, %"class.std::set", %"class.std::vector", %"class.std::vector", i32, i32, %"class.std::set.6", i32, %"class.spv::Module", ptr, i32, ptr, i8, [7 x i8], %"struct.spv::Builder::AccessChain", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.27", %"class.std::vector.32", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::vector.17", %"class.std::stack", %"class.std::stack.45", %"class.std::unordered_map.52", %"class.std::map", ptr }
%"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.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const char *, std::allocator<const char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::set.6" = type { %"class.std::_Rb_tree.7" }
%"class.std::_Rb_tree.7" = type { %"struct.std::_Rb_tree<spv::Capability, spv::Capability, std::_Identity<spv::Capability>, std::less<spv::Capability>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<spv::Capability, spv::Capability, std::_Identity<spv::Capability>, std::less<spv::Capability>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.spv::Module" = type { ptr, %"class.std::vector.12", %"class.std::vector.17" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<spv::Function *, std::allocator<spv::Function *>>::_Vector_impl" }
%"struct.std::_Vector_base<spv::Function *, std::allocator<spv::Function *>>::_Vector_impl" = type { %"struct.std::_Vector_base<spv::Function *, std::allocator<spv::Function *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<spv::Function *, std::allocator<spv::Function *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.spv::Builder::AccessChain" = type <{ i32, [4 x i8], %"class.std::vector.22", i32, [4 x i8], %"class.std::vector.22", i32, i32, i8, [3 x i8], i32, %"struct.spv::Builder::AccessChain::CoherentFlags", [4 x i8] }>
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.spv::Builder::AccessChain::CoherentFlags" = type { i16, [2 x i8] }
%"class.std::vector.27" = type { %"struct.std::_Vector_base.28" }
%"struct.std::_Vector_base.28" = type { %"struct.std::_Vector_base<std::unique_ptr<spv::Instruction>, std::allocator<std::unique_ptr<spv::Instruction>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<spv::Instruction>, std::allocator<std::unique_ptr<spv::Instruction>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<spv::Instruction>, std::allocator<std::unique_ptr<spv::Instruction>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<spv::Instruction>, std::allocator<std::unique_ptr<spv::Instruction>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.32" = type { %"struct.std::_Vector_base.33" }
%"struct.std::_Vector_base.33" = type { %"struct.std::_Vector_base<std::unique_ptr<spv::Function>, std::allocator<std::unique_ptr<spv::Function>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<spv::Function>, std::allocator<std::unique_ptr<spv::Function>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<spv::Function>, std::allocator<std::unique_ptr<spv::Function>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<spv::Function>, std::allocator<std::unique_ptr<spv::Function>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = 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 }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<spv::Instruction *, std::allocator<spv::Instruction *>>::_Vector_impl" }
%"struct.std::_Vector_base<spv::Instruction *, std::allocator<spv::Instruction *>>::_Vector_impl" = type { %"struct.std::_Vector_base<spv::Instruction *, std::allocator<spv::Instruction *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<spv::Instruction *, std::allocator<spv::Instruction *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<spv::Block *, std::allocator<spv::Block *>>::_Deque_impl" }
%"struct.std::_Deque_base<spv::Block *, std::allocator<spv::Block *>>::_Deque_impl" = type { %"struct.std::_Deque_base<spv::Block *, std::allocator<spv::Block *>>::_Deque_impl_data" }
%"struct.std::_Deque_base<spv::Block *, std::allocator<spv::Block *>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"class.std::stack.45" = type { %"class.std::deque.46" }
%"class.std::deque.46" = type { %"class.std::_Deque_base.47" }
%"class.std::_Deque_base.47" = type { %"struct.std::_Deque_base<spv::Builder::LoopBlocks, std::allocator<spv::Builder::LoopBlocks>>::_Deque_impl" }
%"struct.std::_Deque_base<spv::Builder::LoopBlocks, std::allocator<spv::Builder::LoopBlocks>>::_Deque_impl" = type { %"struct.std::_Deque_base<spv::Builder::LoopBlocks, std::allocator<spv::Builder::LoopBlocks>>::_Deque_impl_data" }
%"struct.std::_Deque_base<spv::Builder::LoopBlocks, std::allocator<spv::Builder::LoopBlocks>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator.51", %"struct.std::_Deque_iterator.51" }
%"struct.std::_Deque_iterator.51" = type { ptr, ptr, ptr, ptr }
%"class.std::unordered_map.52" = type { %"class.std::_Hashtable.53" }
%"class.std::_Hashtable.53" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::map" = type { %"class.std::_Rb_tree.72" }
%"class.std::_Rb_tree.72" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, const std::__cxx11::basic_string<char> *>, std::_Select1st<std::pair<const unsigned int, const std::__cxx11::basic_string<char> *>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, const std::__cxx11::basic_string<char> *>, std::_Select1st<std::pair<const unsigned int, const std::__cxx11::basic_string<char> *>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

@.str.3 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj = external hidden unnamed_addr constant [101 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3spv7Builder27getResultingAccessChainTypeEv(ptr noundef nonnull align 8 dereferenceable(1096)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3spv7Builder13addDecorationEjNS_10DecorationEi(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i32 noundef, i32 noundef) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3spvorENS_16MemoryAccessMaskES0_(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3spv7Builder11createStoreEjjNS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder16makeUintConstantEjb(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i1 noundef zeroext) #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder19createLvalueSwizzleEjjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #3 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !11
  store i32 %3, ptr %10, align 4, !tbaa !13
  store i32 %4, ptr %11, align 4, !tbaa !15
  store i32 %5, ptr %12, align 4, !tbaa !9
  %20 = load ptr, ptr %7, align 8
  %21 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %22 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %21, i32 0, i32 8
  %23 = load i8, ptr %22, align 8, !tbaa !17, !range !90, !noundef !91
  %24 = trunc i8 %23 to i1
  %25 = zext i1 %24 to i32
  %26 = icmp eq i32 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %6
  br label %30

28:                                               ; preds = %6
  call void @__assert_fail(ptr noundef @.str.27, ptr noundef @.str.3, i32 noundef 2836, ptr noundef @__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj) #5
  unreachable

29:                                               ; No predecessors!
  br label %30

30:                                               ; preds = %29, %27
  call void @_ZN3spv7Builder26transferAccessChainSwizzleEb(ptr noundef nonnull align 8 dereferenceable(1096) %20, i1 noundef zeroext true)
  %31 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %32 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %31, i32 0, i32 5
  %33 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %32) #6
  %34 = icmp ugt i64 %33, 0
  br i1 %34, label %35, label %113

35:                                               ; preds = %30
  %36 = call noundef i32 @_ZNK3spv7Builder27getResultingAccessChainTypeEv(ptr noundef nonnull align 8 dereferenceable(1096) %20)
  %37 = call noundef i32 @_ZNK3spv7Builder20getNumTypeComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %36)
  %38 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %39 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %38, i32 0, i32 5
  %40 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %39) #6
  %41 = trunc i64 %40 to i32
  %42 = icmp ne i32 %37, %41
  br i1 %42, label %43, label %113

43:                                               ; preds = %35
  %44 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %45 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %44, i32 0, i32 6
  %46 = load i32, ptr %45, align 8, !tbaa !92
  %47 = icmp eq i32 %46, 0
  br i1 %47, label %48, label %113

48:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %109, %48
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %53 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %52, i32 0, i32 5
  %54 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %53) #6
  %55 = icmp ult i64 %51, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %112

57:                                               ; preds = %49
  %58 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %59 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %58, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %60 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %61 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %60, i32 0, i32 5
  %62 = load i32, ptr %13, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %63) #6
  %65 = load i32, ptr %64, align 4, !tbaa !9
  %66 = call noundef i32 @_ZN3spv7Builder16makeUintConstantEjb(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %65, i1 noundef zeroext false)
  store i32 %66, ptr %14, align 4, !tbaa !9
  call void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 4 dereferenceable(4) %14)
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  %67 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %68 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %67, i32 0, i32 3
  store i32 0, ptr %68, align 8, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  %69 = call noundef i32 @_ZN3spv7Builder19collapseAccessChainEv(ptr noundef nonnull align 8 dereferenceable(1096) %20)
  store i32 %69, ptr %15, align 4, !tbaa !9
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = load i32, ptr %9, align 4, !tbaa !11
  call void @_ZN3spv7Builder13addDecorationEjNS_10DecorationEi(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %70, i32 noundef %71, i32 noundef -1)
  %72 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %73 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %72, i32 0, i32 2
  call void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #6
  %74 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %75 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %74, i32 0, i32 3
  store i32 0, ptr %75, align 8, !tbaa !93
  %76 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %77 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %76, i32 0, i32 6
  %78 = load i32, ptr %77, align 8, !tbaa !92
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %80, label %81

80:                                               ; preds = %57
  br label %83

81:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.3, i32 noundef 2855, ptr noundef @__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj) #5
  unreachable

82:                                               ; No predecessors!
  br label %83

83:                                               ; preds = %82, %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %84 = load i32, ptr %8, align 4, !tbaa !9
  %85 = load i32, ptr %8, align 4, !tbaa !9
  %86 = call noundef i32 @_ZNK3spv7Builder9getTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %85)
  %87 = call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %86)
  %88 = load i32, ptr %13, align 4, !tbaa !9
  %89 = call noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %84, i32 noundef %87, i32 noundef %88)
  store i32 %89, ptr %16, align 4, !tbaa !9
  %90 = load i32, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %12, align 4, !tbaa !9
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = sub i32 %92, 1
  %94 = and i32 %91, %93
  %95 = xor i32 %94, -1
  %96 = and i32 %90, %95
  store i32 %96, ptr %12, align 4, !tbaa !9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = call noundef i32 @_ZNK3spv7Builder15getStorageClassEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %97)
  %99 = icmp eq i32 %98, 5349
  br i1 %99, label %100, label %103

100:                                              ; preds = %83
  %101 = load i32, ptr %10, align 4, !tbaa !13
  %102 = call noundef i32 @_ZN3spvorENS_16MemoryAccessMaskES0_(i32 noundef %101, i32 noundef 2)
  store i32 %102, ptr %10, align 4, !tbaa !13
  br label %103

103:                                              ; preds = %100, %83
  %104 = load i32, ptr %16, align 4, !tbaa !9
  %105 = load i32, ptr %15, align 4, !tbaa !9
  %106 = load i32, ptr %10, align 4, !tbaa !13
  %107 = load i32, ptr %11, align 4, !tbaa !15
  %108 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZN3spv7Builder11createStoreEjjNS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108)
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %109

109:                                              ; preds = %103
  %110 = load i32, ptr %13, align 4, !tbaa !9
  %111 = add i32 %110, 1
  store i32 %111, ptr %13, align 4, !tbaa !9
  br label %49, !llvm.loop !94

112:                                              ; preds = %56
  br label %160

113:                                              ; preds = %43, %35, %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %114 = call noundef i32 @_ZN3spv7Builder19collapseAccessChainEv(ptr noundef nonnull align 8 dereferenceable(1096) %20)
  store i32 %114, ptr %17, align 4, !tbaa !9
  %115 = load i32, ptr %17, align 4, !tbaa !9
  %116 = load i32, ptr %9, align 4, !tbaa !11
  call void @_ZN3spv7Builder13addDecorationEjNS_10DecorationEi(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %115, i32 noundef %116, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  %117 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %117, ptr %18, align 4, !tbaa !9
  %118 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %119 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %118, i32 0, i32 6
  %120 = load i32, ptr %119, align 8, !tbaa !92
  %121 = icmp eq i32 %120, 0
  br i1 %121, label %122, label %123

122:                                              ; preds = %113
  br label %125

123:                                              ; preds = %113
  call void @__assert_fail(ptr noundef @.str.28, ptr noundef @.str.3, i32 noundef 2875, ptr noundef @__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj) #5
  unreachable

124:                                              ; No predecessors!
  br label %125

125:                                              ; preds = %124, %122
  %126 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %127 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %126, i32 0, i32 5
  %128 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %127) #6
  %129 = icmp ugt i64 %128, 0
  br i1 %129, label %130, label %140

130:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %131 = load i32, ptr %17, align 4, !tbaa !9
  %132 = call noundef i32 @_ZN3spv7Builder10createLoadEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %131, i32 noundef 2147483647, i32 noundef 0, i32 noundef 2147483647, i32 noundef 0)
  store i32 %132, ptr %19, align 4, !tbaa !9
  %133 = load i32, ptr %19, align 4, !tbaa !9
  %134 = call noundef i32 @_ZNK3spv7Builder9getTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %133)
  %135 = load i32, ptr %19, align 4, !tbaa !9
  %136 = load i32, ptr %18, align 4, !tbaa !9
  %137 = getelementptr inbounds %"class.spv::Builder", ptr %20, i32 0, i32 22
  %138 = getelementptr inbounds %"struct.spv::Builder::AccessChain", ptr %137, i32 0, i32 5
  %139 = call noundef i32 @_ZN3spv7Builder19createLvalueSwizzleEjjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef nonnull align 8 dereferenceable(24) %138)
  store i32 %139, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %140

140:                                              ; preds = %130, %125
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = load i32, ptr %12, align 4, !tbaa !9
  %143 = load i32, ptr %12, align 4, !tbaa !9
  %144 = sub i32 %143, 1
  %145 = and i32 %142, %144
  %146 = xor i32 %145, -1
  %147 = and i32 %141, %146
  store i32 %147, ptr %12, align 4, !tbaa !9
  %148 = load i32, ptr %17, align 4, !tbaa !9
  %149 = call noundef i32 @_ZNK3spv7Builder15getStorageClassEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %148)
  %150 = icmp eq i32 %149, 5349
  br i1 %150, label %151, label %154

151:                                              ; preds = %140
  %152 = load i32, ptr %10, align 4, !tbaa !13
  %153 = call noundef i32 @_ZN3spvorENS_16MemoryAccessMaskES0_(i32 noundef %152, i32 noundef 2)
  store i32 %153, ptr %10, align 4, !tbaa !13
  br label %154

154:                                              ; preds = %151, %140
  %155 = load i32, ptr %18, align 4, !tbaa !9
  %156 = load i32, ptr %17, align 4, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !13
  %158 = load i32, ptr %11, align 4, !tbaa !15
  %159 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZN3spv7Builder11createStoreEjjNS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %20, i32 noundef %155, i32 noundef %156, i32 noundef %157, i32 noundef %158, i32 noundef %159)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %160

160:                                              ; preds = %154, %112
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3spv7Builder26transferAccessChainSwizzleEb(ptr noundef nonnull align 8 dereferenceable(1096), i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder19collapseAccessChainEv(ptr noundef nonnull align 8 dereferenceable(1096)) #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"_ZTSN3spv10DecorationE", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN3spv16MemoryAccessMaskE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTSN3spv5ScopeE", !7, i64 0}
!17 = !{!18, !23, i64 400}
!18 = !{!"_ZTSN3spv7BuilderE", !10, i64 8, !19, i64 12, !10, i64 16, !10, i64 20, !20, i64 24, !10, i64 56, !6, i64 64, !23, i64 72, !24, i64 80, !32, i64 128, !32, i64 152, !36, i64 176, !37, i64 180, !38, i64 184, !10, i64 232, !43, i64 240, !6, i64 296, !10, i64 304, !6, i64 312, !23, i64 320, !52, i64 328, !58, i64 416, !58, i64 440, !58, i64 464, !58, i64 488, !58, i64 512, !58, i64 536, !58, i64 560, !58, i64 584, !62, i64 608, !66, i64 632, !66, i64 688, !66, i64 744, !48, i64 800, !71, i64 824, !77, i64 904, !83, i64 984, !85, i64 1040, !6, i64 1088}
!19 = !{!"_ZTSN3spv14SourceLanguageE", !7, i64 0}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !7, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"bool", !7, i64 0}
!24 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !26, i64 0}
!26 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !27, i64 0, !29, i64 8}
!27 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !28, i64 0}
!28 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!29 = !{!"_ZTSSt15_Rb_tree_header", !30, i64 0, !22, i64 32}
!30 = !{!"_ZTSSt18_Rb_tree_node_base", !31, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!31 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!32 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!"_ZTSN3spv15AddressingModelE", !7, i64 0}
!37 = !{!"_ZTSN3spv11MemoryModelE", !7, i64 0}
!38 = !{!"_ZTSSt3setIN3spv10CapabilityESt4lessIS1_ESaIS1_EE", !39, i64 0}
!39 = !{!"_ZTSSt8_Rb_treeIN3spv10CapabilityES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !40, i64 0}
!40 = !{!"_ZTSNSt8_Rb_treeIN3spv10CapabilityES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !41, i64 0, !29, i64 8}
!41 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3spv10CapabilityEEE", !42, i64 0}
!42 = !{!"_ZTSSt4lessIN3spv10CapabilityEE"}
!43 = !{!"_ZTSN3spv6ModuleE", !44, i64 8, !48, i64 32}
!44 = !{!"_ZTSSt6vectorIPN3spv8FunctionESaIS2_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIPN3spv8FunctionESaIS2_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIPN3spv8FunctionESaIS2_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIPN3spv8FunctionESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!"_ZTSSt6vectorIPN3spv11InstructionESaIS2_EE", !49, i64 0}
!49 = !{!"_ZTSSt12_Vector_baseIPN3spv11InstructionESaIS2_EE", !50, i64 0}
!50 = !{!"_ZTSNSt12_Vector_baseIPN3spv11InstructionESaIS2_EE12_Vector_implE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIPN3spv11InstructionESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!52 = !{!"_ZTSN3spv7Builder11AccessChainE", !10, i64 0, !53, i64 8, !10, i64 32, !53, i64 40, !10, i64 64, !10, i64 68, !23, i64 72, !10, i64 76, !57, i64 80}
!53 = !{!"_ZTSSt6vectorIjSaIjEE", !54, i64 0}
!54 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !55, i64 0}
!55 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!57 = !{!"_ZTSN3spv7Builder11AccessChain13CoherentFlagsE", !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 0, !10, i64 1, !10, i64 1}
!58 = !{!"_ZTSSt6vectorISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!62 = !{!"_ZTSSt6vectorISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!66 = !{!"_ZTSSt13unordered_mapIjSt6vectorIPN3spv11InstructionESaIS3_EESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !67, i64 0}
!67 = !{!"_ZTSSt10_HashtableIjSt4pairIKjSt6vectorIPN3spv11InstructionESaIS5_EEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !22, i64 8, !68, i64 16, !22, i64 24, !69, i64 32, !6, i64 48}
!68 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!69 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !70, i64 0, !22, i64 8}
!70 = !{!"float", !7, i64 0}
!71 = !{!"_ZTSSt5stackIPN3spv5BlockESt5dequeIS2_SaIS2_EEE", !72, i64 0}
!72 = !{!"_ZTSSt5dequeIPN3spv5BlockESaIS2_EE", !73, i64 0}
!73 = !{!"_ZTSSt11_Deque_baseIPN3spv5BlockESaIS2_EE", !74, i64 0}
!74 = !{!"_ZTSNSt11_Deque_baseIPN3spv5BlockESaIS2_EE11_Deque_implE", !75, i64 0}
!75 = !{!"_ZTSNSt11_Deque_baseIPN3spv5BlockESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !76, i64 16, !76, i64 48}
!76 = !{!"_ZTSSt15_Deque_iteratorIPN3spv5BlockERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!77 = !{!"_ZTSSt5stackIN3spv7Builder10LoopBlocksESt5dequeIS2_SaIS2_EEE", !78, i64 0}
!78 = !{!"_ZTSSt5dequeIN3spv7Builder10LoopBlocksESaIS2_EE", !79, i64 0}
!79 = !{!"_ZTSSt11_Deque_baseIN3spv7Builder10LoopBlocksESaIS2_EE", !80, i64 0}
!80 = !{!"_ZTSNSt11_Deque_baseIN3spv7Builder10LoopBlocksESaIS2_EE11_Deque_implE", !81, i64 0}
!81 = !{!"_ZTSNSt11_Deque_baseIN3spv7Builder10LoopBlocksESaIS2_EE16_Deque_impl_dataE", !6, i64 0, !22, i64 8, !82, i64 16, !82, i64 48}
!82 = !{!"_ZTSSt15_Deque_iteratorIN3spv7Builder10LoopBlocksERS2_PS2_E", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!83 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_jEEE", !84, i64 0}
!84 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !22, i64 8, !68, i64 16, !22, i64 24, !69, i64 32, !6, i64 48}
!85 = !{!"_ZTSSt3mapIjPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIjESaISt4pairIKjS7_EEE", !86, i64 0}
!86 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stISA_ESt4lessIjESaISA_EE", !87, i64 0}
!87 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stISA_ESt4lessIjESaISA_EE13_Rb_tree_implISE_Lb1EEE", !88, i64 0, !29, i64 8}
!88 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !89, i64 0}
!89 = !{!"_ZTSSt4lessIjE"}
!90 = !{i8 0, i8 2}
!91 = !{}
!92 = !{!18, !10, i64 392}
!93 = !{!18, !10, i64 360}
!94 = distinct !{!94, !95}
!95 = !{!"llvm.loop.mustprogress"}


; 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"

@.str.3 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [30 x i8], align 1
@__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj = external hidden unnamed_addr constant [101 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3spvorENS_16MemoryAccessMaskES0_(i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder16makeUintConstantEjb(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #3 align 2 {
  %7 = alloca i32, align 4
  %8 = getelementptr inbounds i8, ptr %0, i64 400
  %9 = load i8, ptr %8, align 8, !tbaa !5, !range !82, !noundef !83
  %10 = icmp eq i8 %9, 0
  br i1 %10, label %12, label %11

11:                                               ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.27, ptr noundef nonnull @.str.3, i32 noundef 2836, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj) #5
  unreachable

12:                                               ; preds = %6
  tail call void @_ZN3spv7Builder26transferAccessChainSwizzleEb(ptr noundef nonnull align 8 dereferenceable(1096) %0, i1 noundef zeroext true)
  %13 = getelementptr inbounds i8, ptr %0, i64 368
  %14 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %.not = icmp eq i64 %14, 0
  br i1 %.not, label %50, label %15

15:                                               ; preds = %12
  %16 = tail call noundef i32 @_ZNK3spv7Builder27getResultingAccessChainTypeEv(ptr noundef nonnull align 8 dereferenceable(1096) %0)
  %17 = tail call noundef i32 @_ZNK3spv7Builder20getNumTypeComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %16)
  %18 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %19 = trunc i64 %18 to i32
  %.not39 = icmp eq i32 %17, %19
  br i1 %.not39, label %50, label %20

20:                                               ; preds = %15
  %21 = getelementptr inbounds i8, ptr %0, i64 392
  %22 = load i32, ptr %21, align 8, !tbaa !84
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %.preheader, label %50

.preheader:                                       ; preds = %20
  %24 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %.not45 = icmp eq i64 %24, 0
  br i1 %.not45, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %25 = getelementptr inbounds i8, ptr %0, i64 336
  %26 = getelementptr inbounds i8, ptr %0, i64 360
  br label %27

27:                                               ; preds = %.lr.ph, %45
  %28 = phi i64 [ 0, %.lr.ph ], [ %47, %45 ]
  %.044 = phi i32 [ %3, %.lr.ph ], [ %.1, %45 ]
  %.03643 = phi i32 [ %5, %.lr.ph ], [ %40, %45 ]
  %.03742 = phi i32 [ 0, %.lr.ph ], [ %46, %45 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %28) #6
  %30 = load i32, ptr %29, align 4, !tbaa !85
  %31 = call noundef i32 @_ZN3spv7Builder16makeUintConstantEjb(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %30, i1 noundef zeroext false)
  store i32 %31, ptr %7, align 4, !tbaa !85
  call void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  store i32 0, ptr %26, align 8, !tbaa !86
  %32 = call noundef i32 @_ZN3spv7Builder19collapseAccessChainEv(ptr noundef nonnull align 8 dereferenceable(1096) %0)
  call void @_ZN3spv7Builder13addDecorationEjNS_10DecorationEi(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %32, i32 noundef %2, i32 noundef -1)
  call void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #6
  store i32 0, ptr %26, align 8, !tbaa !86
  %33 = load i32, ptr %21, align 8, !tbaa !84
  %34 = icmp eq i32 %33, 0
  br i1 %34, label %36, label %35

35:                                               ; preds = %27
  call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.3, i32 noundef 2855, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj) #5
  unreachable

36:                                               ; preds = %27
  %37 = call noundef i32 @_ZNK3spv7Builder9getTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1)
  %38 = call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %37)
  %39 = call noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, i32 noundef %38, i32 noundef %.03742)
  %.03641 = sub i32 0, %.03643
  %40 = and i32 %.03643, %.03641
  %41 = call noundef i32 @_ZNK3spv7Builder15getStorageClassEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %32)
  %42 = icmp eq i32 %41, 5349
  br i1 %42, label %43, label %45

43:                                               ; preds = %36
  %44 = call noundef i32 @_ZN3spvorENS_16MemoryAccessMaskES0_(i32 noundef %.044, i32 noundef 2)
  br label %45

45:                                               ; preds = %43, %36
  %.1 = phi i32 [ %44, %43 ], [ %.044, %36 ]
  call void @_ZN3spv7Builder11createStoreEjjNS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %39, i32 noundef %32, i32 noundef %.1, i32 noundef %4, i32 noundef %40)
  %46 = add i32 %.03742, 1
  %47 = zext i32 %46 to i64
  %48 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %49 = icmp ugt i64 %48, %47
  br i1 %49, label %27, label %.loopexit, !llvm.loop !87

50:                                               ; preds = %20, %15, %12
  %51 = tail call noundef i32 @_ZN3spv7Builder19collapseAccessChainEv(ptr noundef nonnull align 8 dereferenceable(1096) %0)
  tail call void @_ZN3spv7Builder13addDecorationEjNS_10DecorationEi(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %51, i32 noundef %2, i32 noundef -1)
  %52 = getelementptr inbounds i8, ptr %0, i64 392
  %53 = load i32, ptr %52, align 8, !tbaa !84
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %56, label %55

55:                                               ; preds = %50
  tail call void @__assert_fail(ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.3, i32 noundef 2875, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3spv7Builder16accessChainStoreEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj) #5
  unreachable

56:                                               ; preds = %50
  %57 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %.not40 = icmp eq i64 %57, 0
  br i1 %.not40, label %62, label %58

58:                                               ; preds = %56
  %59 = tail call noundef i32 @_ZN3spv7Builder10createLoadEjNS_10DecorationENS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %51, i32 noundef 2147483647, i32 noundef 0, i32 noundef 2147483647, i32 noundef 0)
  %60 = tail call noundef i32 @_ZNK3spv7Builder9getTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %59)
  %61 = tail call noundef i32 @_ZN3spv7Builder19createLvalueSwizzleEjjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %60, i32 noundef %59, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %13)
  br label %62

62:                                               ; preds = %58, %56
  %.035 = phi i32 [ %61, %58 ], [ %1, %56 ]
  %63 = sub i32 0, %5
  %64 = and i32 %63, %5
  %65 = tail call noundef i32 @_ZNK3spv7Builder15getStorageClassEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %51)
  %66 = icmp eq i32 %65, 5349
  br i1 %66, label %67, label %69

67:                                               ; preds = %62
  %68 = tail call noundef i32 @_ZN3spvorENS_16MemoryAccessMaskES0_(i32 noundef %3, i32 noundef 2)
  br label %69

69:                                               ; preds = %67, %62
  %.2 = phi i32 [ %68, %67 ], [ %3, %62 ]
  tail call void @_ZN3spv7Builder11createStoreEjjNS_16MemoryAccessMaskENS_5ScopeEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %.035, i32 noundef %51, i32 noundef %.2, i32 noundef %4, i32 noundef %64)
  br label %.loopexit

.loopexit:                                        ; preds = %45, %.preheader, %69
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3spv7Builder26transferAccessChainSwizzleEb(ptr noundef nonnull align 8 dereferenceable(1096), i1 noundef zeroext) local_unnamed_addr #3 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #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 = { 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 #5 = { noreturn nounwind }
attributes #6 = { 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, !15, i64 400}
!6 = !{!"_ZTSN3spv7BuilderE", !7, i64 8, !10, i64 12, !7, i64 16, !7, i64 20, !11, i64 24, !7, i64 56, !13, i64 64, !15, i64 72, !16, i64 80, !24, i64 128, !24, i64 152, !28, i64 176, !29, i64 180, !30, i64 184, !7, i64 232, !35, i64 240, !13, i64 296, !7, i64 304, !13, i64 312, !15, i64 320, !44, i64 328, !50, i64 416, !50, i64 440, !50, i64 464, !50, i64 488, !50, i64 512, !50, i64 536, !50, i64 560, !50, i64 584, !54, i64 608, !58, i64 632, !58, i64 688, !58, i64 744, !40, i64 800, !63, i64 824, !69, i64 904, !75, i64 984, !77, i64 1040, !13, i64 1088}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3spv14SourceLanguageE", !8, i64 0}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !14, i64 8, !8, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"long", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !17, i64 0}
!17 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !18, i64 0}
!18 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !19, i64 0, !21, i64 8}
!19 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !20, i64 0}
!20 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!21 = !{!"_ZTSSt15_Rb_tree_header", !22, i64 0, !14, i64 32}
!22 = !{!"_ZTSSt18_Rb_tree_node_base", !23, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!23 = !{!"_ZTSSt14_Rb_tree_color", !8, i64 0}
!24 = !{!"_ZTSSt6vectorIPKcSaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIPKcSaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIPKcSaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!28 = !{!"_ZTSN3spv15AddressingModelE", !8, i64 0}
!29 = !{!"_ZTSN3spv11MemoryModelE", !8, i64 0}
!30 = !{!"_ZTSSt3setIN3spv10CapabilityESt4lessIS1_ESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSSt8_Rb_treeIN3spv10CapabilityES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE", !32, i64 0}
!32 = !{!"_ZTSNSt8_Rb_treeIN3spv10CapabilityES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE13_Rb_tree_implIS5_Lb1EEE", !33, i64 0, !21, i64 8}
!33 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3spv10CapabilityEEE", !34, i64 0}
!34 = !{!"_ZTSSt4lessIN3spv10CapabilityEE"}
!35 = !{!"_ZTSN3spv6ModuleE", !36, i64 8, !40, i64 32}
!36 = !{!"_ZTSSt6vectorIPN3spv8FunctionESaIS2_EE", !37, i64 0}
!37 = !{!"_ZTSSt12_Vector_baseIPN3spv8FunctionESaIS2_EE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseIPN3spv8FunctionESaIS2_EE12_Vector_implE", !39, i64 0}
!39 = !{!"_ZTSNSt12_Vector_baseIPN3spv8FunctionESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!40 = !{!"_ZTSSt6vectorIPN3spv11InstructionESaIS2_EE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIPN3spv11InstructionESaIS2_EE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIPN3spv11InstructionESaIS2_EE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIPN3spv11InstructionESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!44 = !{!"_ZTSN3spv7Builder11AccessChainE", !7, i64 0, !45, i64 8, !7, i64 32, !45, i64 40, !7, i64 64, !7, i64 68, !15, i64 72, !7, i64 76, !49, i64 80}
!45 = !{!"_ZTSSt6vectorIjSaIjEE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIjSaIjEE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIjSaIjEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!49 = !{!"_ZTSN3spv7Builder11AccessChain13CoherentFlagsE", !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 0, !7, i64 1, !7, i64 1}
!50 = !{!"_ZTSSt6vectorISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv11InstructionESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!54 = !{!"_ZTSSt6vectorISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3spv8FunctionESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!58 = !{!"_ZTSSt13unordered_mapIjSt6vectorIPN3spv11InstructionESaIS3_EESt4hashIjESt8equal_toIjESaISt4pairIKjS5_EEE", !59, i64 0}
!59 = !{!"_ZTSSt10_HashtableIjSt4pairIKjSt6vectorIPN3spv11InstructionESaIS5_EEESaIS8_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb0ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !60, i64 16, !14, i64 24, !61, i64 32, !13, i64 48}
!60 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !13, i64 0}
!61 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !62, i64 0, !14, i64 8}
!62 = !{!"float", !8, i64 0}
!63 = !{!"_ZTSSt5stackIPN3spv5BlockESt5dequeIS2_SaIS2_EEE", !64, i64 0}
!64 = !{!"_ZTSSt5dequeIPN3spv5BlockESaIS2_EE", !65, i64 0}
!65 = !{!"_ZTSSt11_Deque_baseIPN3spv5BlockESaIS2_EE", !66, i64 0}
!66 = !{!"_ZTSNSt11_Deque_baseIPN3spv5BlockESaIS2_EE11_Deque_implE", !67, i64 0}
!67 = !{!"_ZTSNSt11_Deque_baseIPN3spv5BlockESaIS2_EE16_Deque_impl_dataE", !13, i64 0, !14, i64 8, !68, i64 16, !68, i64 48}
!68 = !{!"_ZTSSt15_Deque_iteratorIPN3spv5BlockERS2_PS2_E", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!69 = !{!"_ZTSSt5stackIN3spv7Builder10LoopBlocksESt5dequeIS2_SaIS2_EEE", !70, i64 0}
!70 = !{!"_ZTSSt5dequeIN3spv7Builder10LoopBlocksESaIS2_EE", !71, i64 0}
!71 = !{!"_ZTSSt11_Deque_baseIN3spv7Builder10LoopBlocksESaIS2_EE", !72, i64 0}
!72 = !{!"_ZTSNSt11_Deque_baseIN3spv7Builder10LoopBlocksESaIS2_EE11_Deque_implE", !73, i64 0}
!73 = !{!"_ZTSNSt11_Deque_baseIN3spv7Builder10LoopBlocksESaIS2_EE16_Deque_impl_dataE", !13, i64 0, !14, i64 8, !74, i64 16, !74, i64 48}
!74 = !{!"_ZTSSt15_Deque_iteratorIN3spv7Builder10LoopBlocksERS2_PS2_E", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24}
!75 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_jEEE", !76, i64 0}
!76 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !13, i64 0, !14, i64 8, !60, i64 16, !14, i64 24, !61, i64 32, !13, i64 48}
!77 = !{!"_ZTSSt3mapIjPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIjESaISt4pairIKjS7_EEE", !78, i64 0}
!78 = !{!"_ZTSSt8_Rb_treeIjSt4pairIKjPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stISA_ESt4lessIjESaISA_EE", !79, i64 0}
!79 = !{!"_ZTSNSt8_Rb_treeIjSt4pairIKjPKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEESt10_Select1stISA_ESt4lessIjESaISA_EE13_Rb_tree_implISE_Lb1EEE", !80, i64 0, !21, i64 8}
!80 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIjEE", !81, i64 0}
!81 = !{!"_ZTSSt4lessIjE"}
!82 = !{i8 0, i8 2}
!83 = !{}
!84 = !{!6, !7, i64 392}
!85 = !{!7, !7, i64 0}
!86 = !{!6, !7, i64 360}
!87 = distinct !{!87, !88}
!88 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass