; 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.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 }
%"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] }>
%"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" }

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local noundef i32 @_ZNK3spv11Instruction19getImmediateOperandEi(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3spv6Module14getInstructionEj(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i32 noundef) #1 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) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3spv7Builder23createMatrixConstructorENS_10DecorationERKSt6vectorIjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3) #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::vector.22", align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::vector.22", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::vector.22", align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca [4 x [4 x i32]], align 16
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca i32, align 4
  %42 = alloca %"class.std::vector.22", align 8
  %43 = alloca i32, align 4
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca i32, align 4
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca %"class.std::vector.22", align 8
  %53 = alloca i32, align 4
  %54 = alloca %"class.std::vector.22", align 8
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !11
  %57 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %58 = load i32, ptr %9, align 4, !tbaa !11
  %59 = call noundef i32 @_ZNK3spv7Builder15getScalarTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %58)
  store i32 %59, ptr %10, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %60 = load i32, ptr %9, align 4, !tbaa !11
  %61 = call noundef i32 @_ZNK3spv7Builder17getTypeNumColumnsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %60)
  store i32 %61, ptr %11, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %62 = load i32, ptr %9, align 4, !tbaa !11
  %63 = call noundef i32 @_ZNK3spv7Builder14getTypeNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %62)
  store i32 %63, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %64 = getelementptr inbounds %"class.spv::Builder", ptr %57, i32 0, i32 16
  %65 = load i32, ptr %10, align 4, !tbaa !11
  %66 = call noundef ptr @_ZNK3spv6Module14getInstructionEj(ptr noundef nonnull align 8 dereferenceable(56) %64, i32 noundef %65)
  store ptr %66, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %67 = load ptr, ptr %13, align 8, !tbaa !5
  %68 = call noundef i32 @_ZNK3spv11Instruction19getImmediateOperandEi(ptr noundef nonnull align 8 dereferenceable(96) %67, i32 noundef 0)
  store i32 %68, ptr %14, align 4, !tbaa !11
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %69, i64 noundef 0) #4
  %71 = load i32, ptr %70, align 4, !tbaa !11
  %72 = call noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %71)
  br i1 %72, label %73, label %173

73:                                               ; preds = %4
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef 0) #4
  %76 = load i32, ptr %75, align 4, !tbaa !11
  %77 = call noundef i32 @_ZNK3spv7Builder13getNumColumnsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %76)
  %78 = load i32, ptr %11, align 4, !tbaa !11
  %79 = icmp sge i32 %77, %78
  br i1 %79, label %80, label %173

80:                                               ; preds = %73
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %81, i64 noundef 0) #4
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = call noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %83)
  %85 = load i32, ptr %12, align 4, !tbaa !11
  %86 = icmp sge i32 %84, %85
  br i1 %86, label %87, label %173

87:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %88, i64 noundef 0) #4
  %90 = load i32, ptr %89, align 4, !tbaa !11
  store i32 %90, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %91 = load i32, ptr %9, align 4, !tbaa !11
  %92 = call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %91)
  store i32 %92, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %93 = load i32, ptr %15, align 4, !tbaa !11
  %94 = call noundef i32 @_ZNK3spv7Builder9getTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %93)
  %95 = call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %94)
  store i32 %95, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !11
  br label %96

96:                                               ; preds = %104, %87
  %97 = load i32, ptr %19, align 4, !tbaa !11
  %98 = load i32, ptr %12, align 4, !tbaa !11
  %99 = icmp slt i32 %97, %98
  br i1 %99, label %101, label %100

100:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %111

101:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %102 = load i32, ptr %19, align 4, !tbaa !11
  store i32 %102, ptr %20, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 4 dereferenceable(4) %20)
          to label %103 unwind label %107

103:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %104

104:                                              ; preds = %103
  %105 = load i32, ptr %19, align 4, !tbaa !11
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %19, align 4, !tbaa !11
  br label %96, !llvm.loop !13

107:                                              ; preds = %101
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %21, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %172

111:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  store i32 0, ptr %24, align 4, !tbaa !11
  br label %112

112:                                              ; preds = %155, %111
  %113 = load i32, ptr %24, align 4, !tbaa !11
  %114 = load i32, ptr %11, align 4, !tbaa !11
  %115 = icmp slt i32 %113, %114
  br i1 %115, label %117, label %116

116:                                              ; preds = %112
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %160

117:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #4
  %118 = load i32, ptr %24, align 4, !tbaa !11
  store i32 %118, ptr %26, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %25, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %119 unwind label %140

119:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %120 = load i32, ptr %15, align 4, !tbaa !11
  %121 = load i32, ptr %17, align 4, !tbaa !11
  %122 = invoke noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %120, i32 noundef %121, ptr noundef nonnull align 8 dereferenceable(24) %25)
          to label %123 unwind label %144

123:                                              ; preds = %119
  store i32 %122, ptr %27, align 4, !tbaa !11
  %124 = load i32, ptr %27, align 4, !tbaa !11
  %125 = load i32, ptr %7, align 4, !tbaa !9
  %126 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %124, i32 noundef %125)
          to label %127 unwind label %144

127:                                              ; preds = %123
  %128 = load i32, ptr %12, align 4, !tbaa !11
  %129 = load i32, ptr %15, align 4, !tbaa !11
  %130 = invoke noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %129)
          to label %131 unwind label %144

131:                                              ; preds = %127
  %132 = icmp ne i32 %128, %130
  br i1 %132, label %133, label %152

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %134 = load i32, ptr %7, align 4, !tbaa !9
  %135 = load i32, ptr %16, align 4, !tbaa !11
  %136 = load i32, ptr %27, align 4, !tbaa !11
  %137 = invoke noundef i32 @_ZN3spv7Builder19createRvalueSwizzleENS_10DecorationEjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %134, i32 noundef %135, i32 noundef %136, ptr noundef nonnull align 8 dereferenceable(24) %18)
          to label %138 unwind label %148

138:                                              ; preds = %133
  store i32 %137, ptr %28, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %139 unwind label %148

139:                                              ; preds = %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %154

140:                                              ; preds = %117
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %21, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #4
  br label %159

144:                                              ; preds = %152, %127, %123, %119
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %21, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %22, align 4
  br label %158

148:                                              ; preds = %138, %133
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %21, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %158

152:                                              ; preds = %131
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %153 unwind label %144

153:                                              ; preds = %152
  br label %154

154:                                              ; preds = %153, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #4
  br label %155

155:                                              ; preds = %154
  %156 = load i32, ptr %24, align 4, !tbaa !11
  %157 = add nsw i32 %156, 1
  store i32 %157, ptr %24, align 4, !tbaa !11
  br label %112, !llvm.loop !15

158:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %159

159:                                              ; preds = %158, %140
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  br label %171

160:                                              ; preds = %116
  %161 = load i32, ptr %9, align 4, !tbaa !11
  %162 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %161, ptr noundef nonnull align 8 dereferenceable(24) %23)
          to label %163 unwind label %167

163:                                              ; preds = %160
  %164 = load i32, ptr %7, align 4, !tbaa !9
  %165 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %162, i32 noundef %164)
          to label %166 unwind label %167

166:                                              ; preds = %163
  store i32 %165, ptr %5, align 4
  store i32 1, ptr %29, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %470

167:                                              ; preds = %163, %160
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %21, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %22, align 4
  br label %171

171:                                              ; preds = %167, %159
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #4
  br label %172

172:                                              ; preds = %171, %107
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %472

173:                                              ; preds = %80, %73, %4
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #4
  %174 = load i32, ptr %14, align 4, !tbaa !11
  %175 = icmp eq i32 %174, 64
  br i1 %175, label %176, label %178

176:                                              ; preds = %173
  %177 = call noundef i32 @_ZN3spv7Builder18makeDoubleConstantEdb(ptr noundef nonnull align 8 dereferenceable(1096) %57, double noundef 1.000000e+00, i1 noundef zeroext false)
  br label %180

178:                                              ; preds = %173
  %179 = call noundef i32 @_ZN3spv7Builder17makeFloatConstantEfb(ptr noundef nonnull align 8 dereferenceable(1096) %57, float noundef 1.000000e+00, i1 noundef zeroext false)
  br label %180

180:                                              ; preds = %178, %176
  %181 = phi i32 [ %177, %176 ], [ %179, %178 ]
  store i32 %181, ptr %31, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #4
  %182 = load i32, ptr %14, align 4, !tbaa !11
  %183 = icmp eq i32 %182, 64
  br i1 %183, label %184, label %186

184:                                              ; preds = %180
  %185 = call noundef i32 @_ZN3spv7Builder18makeDoubleConstantEdb(ptr noundef nonnull align 8 dereferenceable(1096) %57, double noundef 0.000000e+00, i1 noundef zeroext false)
  br label %188

186:                                              ; preds = %180
  %187 = call noundef i32 @_ZN3spv7Builder17makeFloatConstantEfb(ptr noundef nonnull align 8 dereferenceable(1096) %57, float noundef 0.000000e+00, i1 noundef zeroext false)
  br label %188

188:                                              ; preds = %186, %184
  %189 = phi i32 [ %185, %184 ], [ %187, %186 ]
  store i32 %189, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #4
  store i32 0, ptr %33, align 4, !tbaa !11
  br label %190

190:                                              ; preds = %224, %188
  %191 = load i32, ptr %33, align 4, !tbaa !11
  %192 = icmp slt i32 %191, 4
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  store i32 8, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #4
  br label %227

194:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #4
  store i32 0, ptr %34, align 4, !tbaa !11
  br label %195

195:                                              ; preds = %220, %194
  %196 = load i32, ptr %34, align 4, !tbaa !11
  %197 = icmp slt i32 %196, 4
  br i1 %197, label %199, label %198

198:                                              ; preds = %195
  store i32 11, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #4
  br label %223

199:                                              ; preds = %195
  %200 = load i32, ptr %33, align 4, !tbaa !11
  %201 = load i32, ptr %34, align 4, !tbaa !11
  %202 = icmp eq i32 %200, %201
  br i1 %202, label %203, label %211

203:                                              ; preds = %199
  %204 = load i32, ptr %31, align 4, !tbaa !11
  %205 = load i32, ptr %33, align 4, !tbaa !11
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %206
  %208 = load i32, ptr %34, align 4, !tbaa !11
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [4 x i32], ptr %207, i64 0, i64 %209
  store i32 %204, ptr %210, align 4, !tbaa !11
  br label %219

211:                                              ; preds = %199
  %212 = load i32, ptr %32, align 4, !tbaa !11
  %213 = load i32, ptr %33, align 4, !tbaa !11
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %214
  %216 = load i32, ptr %34, align 4, !tbaa !11
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [4 x i32], ptr %215, i64 0, i64 %217
  store i32 %212, ptr %218, align 4, !tbaa !11
  br label %219

219:                                              ; preds = %211, %203
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %34, align 4, !tbaa !11
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %34, align 4, !tbaa !11
  br label %195, !llvm.loop !16

223:                                              ; preds = %198
  br label %224

224:                                              ; preds = %223
  %225 = load i32, ptr %33, align 4, !tbaa !11
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %33, align 4, !tbaa !11
  br label %190, !llvm.loop !17

227:                                              ; preds = %193
  %228 = load ptr, ptr %8, align 8, !tbaa !5
  %229 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %228) #4
  %230 = icmp eq i64 %229, 1
  br i1 %230, label %231, label %255

231:                                              ; preds = %227
  %232 = load ptr, ptr %8, align 8, !tbaa !5
  %233 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %232, i64 noundef 0) #4
  %234 = load i32, ptr %233, align 4, !tbaa !11
  %235 = call noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %234)
  br i1 %235, label %236, label %255

236:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #4
  store i32 0, ptr %35, align 4, !tbaa !11
  br label %237

237:                                              ; preds = %251, %236
  %238 = load i32, ptr %35, align 4, !tbaa !11
  %239 = icmp slt i32 %238, 4
  br i1 %239, label %241, label %240

240:                                              ; preds = %237
  store i32 14, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #4
  br label %254

241:                                              ; preds = %237
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  %243 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %242, i64 noundef 0) #4
  %244 = load i32, ptr %243, align 4, !tbaa !11
  %245 = load i32, ptr %35, align 4, !tbaa !11
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %246
  %248 = load i32, ptr %35, align 4, !tbaa !11
  %249 = sext i32 %248 to i64
  %250 = getelementptr inbounds [4 x i32], ptr %247, i64 0, i64 %249
  store i32 %244, ptr %250, align 4, !tbaa !11
  br label %251

251:                                              ; preds = %241
  %252 = load i32, ptr %35, align 4, !tbaa !11
  %253 = add nsw i32 %252, 1
  store i32 %253, ptr %35, align 4, !tbaa !11
  br label %237, !llvm.loop !18

254:                                              ; preds = %240
  br label %411

255:                                              ; preds = %231, %227
  %256 = load ptr, ptr %8, align 8, !tbaa !5
  %257 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %256, i64 noundef 0) #4
  %258 = load i32, ptr %257, align 4, !tbaa !11
  %259 = call noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %258)
  br i1 %259, label %260, label %330

260:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #4
  %261 = load ptr, ptr %8, align 8, !tbaa !5
  %262 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %261, i64 noundef 0) #4
  %263 = load i32, ptr %262, align 4, !tbaa !11
  store i32 %263, ptr %36, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #4
  %264 = load i32, ptr %36, align 4, !tbaa !11
  %265 = call noundef i32 @_ZNK3spv7Builder13getNumColumnsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %264)
  store i32 %265, ptr %38, align 4, !tbaa !11
  %266 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %267 = load i32, ptr %266, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #4
  store i32 %267, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #4
  %268 = load i32, ptr %36, align 4, !tbaa !11
  %269 = call noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %268)
  store i32 %269, ptr %40, align 4, !tbaa !11
  %270 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %40)
  %271 = load i32, ptr %270, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #4
  store i32 %271, ptr %39, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #4
  store i32 0, ptr %41, align 4, !tbaa !11
  br label %272

272:                                              ; preds = %325, %260
  %273 = load i32, ptr %41, align 4, !tbaa !11
  %274 = load i32, ptr %37, align 4, !tbaa !11
  %275 = icmp slt i32 %273, %274
  br i1 %275, label %277, label %276

276:                                              ; preds = %272
  store i32 17, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #4
  br label %329

277:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #4
  %278 = load i32, ptr %41, align 4, !tbaa !11
  store i32 %278, ptr %43, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %279 unwind label %285

279:                                              ; preds = %277
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #4
  store i32 0, ptr %44, align 4, !tbaa !11
  br label %280

280:                                              ; preds = %312, %279
  %281 = load i32, ptr %44, align 4, !tbaa !11
  %282 = load i32, ptr %39, align 4, !tbaa !11
  %283 = icmp slt i32 %281, %282
  br i1 %283, label %289, label %284

284:                                              ; preds = %280
  store i32 20, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #4
  br label %324

285:                                              ; preds = %277
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %21, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #4
  br label %328

289:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #4
  %290 = load i32, ptr %44, align 4, !tbaa !11
  store i32 %290, ptr %45, align 4, !tbaa !11
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 4 dereferenceable(4) %45)
          to label %291 unwind label %315

291:                                              ; preds = %289
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #4
  %292 = load i32, ptr %36, align 4, !tbaa !11
  %293 = load i32, ptr %10, align 4, !tbaa !11
  %294 = invoke noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %292, i32 noundef %293, ptr noundef nonnull align 8 dereferenceable(24) %42)
          to label %295 unwind label %319

295:                                              ; preds = %291
  %296 = load i32, ptr %41, align 4, !tbaa !11
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %297
  %299 = load i32, ptr %44, align 4, !tbaa !11
  %300 = sext i32 %299 to i64
  %301 = getelementptr inbounds [4 x i32], ptr %298, i64 0, i64 %300
  store i32 %294, ptr %301, align 4, !tbaa !11
  call void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #4
  %302 = load i32, ptr %41, align 4, !tbaa !11
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %303
  %305 = load i32, ptr %44, align 4, !tbaa !11
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [4 x i32], ptr %304, i64 0, i64 %306
  %308 = load i32, ptr %307, align 4, !tbaa !11
  %309 = load i32, ptr %7, align 4, !tbaa !9
  %310 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %308, i32 noundef %309)
          to label %311 unwind label %319

311:                                              ; preds = %295
  br label %312

312:                                              ; preds = %311
  %313 = load i32, ptr %44, align 4, !tbaa !11
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %44, align 4, !tbaa !11
  br label %280, !llvm.loop !19

315:                                              ; preds = %289
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %21, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #4
  br label %323

319:                                              ; preds = %295, %291
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %21, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %22, align 4
  br label %323

323:                                              ; preds = %319, %315
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #4
  br label %328

324:                                              ; preds = %284
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #4
  br label %325

325:                                              ; preds = %324
  %326 = load i32, ptr %41, align 4, !tbaa !11
  %327 = add nsw i32 %326, 1
  store i32 %327, ptr %41, align 4, !tbaa !11
  br label %272, !llvm.loop !20

328:                                              ; preds = %323, %285
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  br label %469

329:                                              ; preds = %276
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #4
  br label %410

330:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #4
  store i32 0, ptr %46, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #4
  store i32 0, ptr %47, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #4
  store i32 0, ptr %48, align 4, !tbaa !11
  br label %331

331:                                              ; preds = %406, %330
  %332 = load i32, ptr %48, align 4, !tbaa !11
  %333 = load ptr, ptr %8, align 8, !tbaa !5
  %334 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %333) #4
  %335 = trunc i64 %334 to i32
  %336 = icmp slt i32 %332, %335
  br i1 %336, label %337, label %341

337:                                              ; preds = %331
  %338 = load i32, ptr %47, align 4, !tbaa !11
  %339 = load i32, ptr %11, align 4, !tbaa !11
  %340 = icmp slt i32 %338, %339
  br label %341

341:                                              ; preds = %337, %331
  %342 = phi i1 [ false, %331 ], [ %340, %337 ]
  br i1 %342, label %344, label %343

343:                                              ; preds = %341
  store i32 23, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #4
  br label %409

344:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #4
  %345 = load ptr, ptr %8, align 8, !tbaa !5
  %346 = load i32, ptr %48, align 4, !tbaa !11
  %347 = sext i32 %346 to i64
  %348 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %345, i64 noundef %347) #4
  %349 = load i32, ptr %348, align 4, !tbaa !11
  store i32 %349, ptr %49, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #4
  store i32 0, ptr %50, align 4, !tbaa !11
  br label %350

350:                                              ; preds = %401, %344
  %351 = load i32, ptr %50, align 4, !tbaa !11
  %352 = load ptr, ptr %8, align 8, !tbaa !5
  %353 = load i32, ptr %48, align 4, !tbaa !11
  %354 = sext i32 %353 to i64
  %355 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %352, i64 noundef %354) #4
  %356 = load i32, ptr %355, align 4, !tbaa !11
  %357 = call noundef i32 @_ZNK3spv7Builder16getNumComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %356)
  %358 = icmp slt i32 %351, %357
  br i1 %358, label %360, label %359

359:                                              ; preds = %350
  store i32 26, ptr %29, align 4
  br label %404

360:                                              ; preds = %350
  %361 = load ptr, ptr %8, align 8, !tbaa !5
  %362 = load i32, ptr %48, align 4, !tbaa !11
  %363 = sext i32 %362 to i64
  %364 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %361, i64 noundef %363) #4
  %365 = load i32, ptr %364, align 4, !tbaa !11
  %366 = call noundef i32 @_ZNK3spv7Builder16getNumComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %365)
  %367 = icmp sgt i32 %366, 1
  br i1 %367, label %368, label %380

368:                                              ; preds = %360
  %369 = load ptr, ptr %8, align 8, !tbaa !5
  %370 = load i32, ptr %48, align 4, !tbaa !11
  %371 = sext i32 %370 to i64
  %372 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %369, i64 noundef %371) #4
  %373 = load i32, ptr %372, align 4, !tbaa !11
  %374 = load i32, ptr %10, align 4, !tbaa !11
  %375 = load i32, ptr %50, align 4, !tbaa !11
  %376 = call noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %373, i32 noundef %374, i32 noundef %375)
  store i32 %376, ptr %49, align 4, !tbaa !11
  %377 = load i32, ptr %49, align 4, !tbaa !11
  %378 = load i32, ptr %7, align 4, !tbaa !9
  %379 = call noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %377, i32 noundef %378)
  br label %380

380:                                              ; preds = %368, %360
  %381 = load i32, ptr %49, align 4, !tbaa !11
  %382 = load i32, ptr %47, align 4, !tbaa !11
  %383 = sext i32 %382 to i64
  %384 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %383
  %385 = load i32, ptr %46, align 4, !tbaa !11
  %386 = add nsw i32 %385, 1
  store i32 %386, ptr %46, align 4, !tbaa !11
  %387 = sext i32 %385 to i64
  %388 = getelementptr inbounds [4 x i32], ptr %384, i64 0, i64 %387
  store i32 %381, ptr %388, align 4, !tbaa !11
  %389 = load i32, ptr %46, align 4, !tbaa !11
  %390 = load i32, ptr %12, align 4, !tbaa !11
  %391 = icmp eq i32 %389, %390
  br i1 %391, label %392, label %395

392:                                              ; preds = %380
  store i32 0, ptr %46, align 4, !tbaa !11
  %393 = load i32, ptr %47, align 4, !tbaa !11
  %394 = add nsw i32 %393, 1
  store i32 %394, ptr %47, align 4, !tbaa !11
  br label %395

395:                                              ; preds = %392, %380
  %396 = load i32, ptr %47, align 4, !tbaa !11
  %397 = load i32, ptr %11, align 4, !tbaa !11
  %398 = icmp eq i32 %396, %397
  br i1 %398, label %399, label %400

399:                                              ; preds = %395
  store i32 26, ptr %29, align 4
  br label %404

400:                                              ; preds = %395
  br label %401

401:                                              ; preds = %400
  %402 = load i32, ptr %50, align 4, !tbaa !11
  %403 = add nsw i32 %402, 1
  store i32 %403, ptr %50, align 4, !tbaa !11
  br label %350, !llvm.loop !21

404:                                              ; preds = %399, %359
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #4
  br label %405

405:                                              ; preds = %404
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #4
  br label %406

406:                                              ; preds = %405
  %407 = load i32, ptr %48, align 4, !tbaa !11
  %408 = add nsw i32 %407, 1
  store i32 %408, ptr %48, align 4, !tbaa !11
  br label %331, !llvm.loop !22

409:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #4
  br label %410

410:                                              ; preds = %409, %329
  br label %411

411:                                              ; preds = %410, %254
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #4
  %412 = load i32, ptr %9, align 4, !tbaa !11
  %413 = call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %412)
  store i32 %413, ptr %51, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #4
  store i32 0, ptr %53, align 4, !tbaa !11
  br label %414

414:                                              ; preds = %449, %411
  %415 = load i32, ptr %53, align 4, !tbaa !11
  %416 = load i32, ptr %11, align 4, !tbaa !11
  %417 = icmp slt i32 %415, %416
  br i1 %417, label %419, label %418

418:                                              ; preds = %414
  store i32 29, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #4
  br label %457

419:                                              ; preds = %414
  call void @llvm.lifetime.start.p0(i64 24, ptr %54) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #4
  store i32 0, ptr %55, align 4, !tbaa !11
  br label %420

420:                                              ; preds = %433, %419
  %421 = load i32, ptr %55, align 4, !tbaa !11
  %422 = load i32, ptr %12, align 4, !tbaa !11
  %423 = icmp slt i32 %421, %422
  br i1 %423, label %425, label %424

424:                                              ; preds = %420
  store i32 32, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #4
  br label %440

425:                                              ; preds = %420
  %426 = load i32, ptr %53, align 4, !tbaa !11
  %427 = sext i32 %426 to i64
  %428 = getelementptr inbounds [4 x [4 x i32]], ptr %30, i64 0, i64 %427
  %429 = load i32, ptr %55, align 4, !tbaa !11
  %430 = sext i32 %429 to i64
  %431 = getelementptr inbounds [4 x i32], ptr %428, i64 0, i64 %430
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 4 dereferenceable(4) %431)
          to label %432 unwind label %436

432:                                              ; preds = %425
  br label %433

433:                                              ; preds = %432
  %434 = load i32, ptr %55, align 4, !tbaa !11
  %435 = add nsw i32 %434, 1
  store i32 %435, ptr %55, align 4, !tbaa !11
  br label %420, !llvm.loop !23

436:                                              ; preds = %425
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %21, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #4
  br label %456

440:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #4
  %441 = load i32, ptr %51, align 4, !tbaa !11
  %442 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %441, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %443 unwind label %452

443:                                              ; preds = %440
  store i32 %442, ptr %56, align 4, !tbaa !11
  %444 = load i32, ptr %56, align 4, !tbaa !11
  %445 = load i32, ptr %7, align 4, !tbaa !9
  %446 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %444, i32 noundef %445)
          to label %447 unwind label %452

447:                                              ; preds = %443
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 4 dereferenceable(4) %56)
          to label %448 unwind label %452

448:                                              ; preds = %447
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  br label %449

449:                                              ; preds = %448
  %450 = load i32, ptr %53, align 4, !tbaa !11
  %451 = add nsw i32 %450, 1
  store i32 %451, ptr %53, align 4, !tbaa !11
  br label %414, !llvm.loop !24

452:                                              ; preds = %447, %443, %440
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %21, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #4
  br label %456

456:                                              ; preds = %452, %436
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %54) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #4
  br label %468

457:                                              ; preds = %418
  %458 = load i32, ptr %9, align 4, !tbaa !11
  %459 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %458, ptr noundef nonnull align 8 dereferenceable(24) %52)
          to label %460 unwind label %464

460:                                              ; preds = %457
  %461 = load i32, ptr %7, align 4, !tbaa !9
  %462 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %57, i32 noundef %459, i32 noundef %461)
          to label %463 unwind label %464

463:                                              ; preds = %460
  store i32 %462, ptr %5, align 4
  store i32 1, ptr %29, align 4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #4
  br label %470

464:                                              ; preds = %460, %457
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %21, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %22, align 4
  br label %468

468:                                              ; preds = %464, %456
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #4
  br label %469

469:                                              ; preds = %468, %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #4
  br label %472

470:                                              ; preds = %463, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %471 = load i32, ptr %5, align 4
  ret i32 %471

472:                                              ; preds = %469, %172
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %473

473:                                              ; preds = %472
  %474 = load ptr, ptr %21, align 8
  %475 = load i32, ptr %22, align 4
  %476 = insertvalue { ptr, i32 } poison, ptr %474, 0
  %477 = insertvalue { ptr, i32 } %476, i32 %475, 1
  resume { ptr, i32 } %477
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) #1 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)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 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 = { 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !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 = !{!"_ZTSN3spv10DecorationE", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}


; 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::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 }

declare i32 @__gxx_personality_v0(...)

; 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 uwtable
declare dso_local noundef i32 @_ZNK3spv11Instruction19getImmediateOperandEi(ptr noundef nonnull align 8 dereferenceable(96), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3spv6Module14getInstructionEj(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef, i32 noundef) local_unnamed_addr #1 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 #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3spv7Builder23createMatrixConstructorENS_10DecorationERKSt6vectorIjSaIjEEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, ptr noundef nonnull align 8 dereferenceable(24) %2, i32 noundef %3) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector.22", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.22", align 8
  %10 = alloca %"class.std::vector.22", align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca [4 x [4 x i32]], align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::vector.22", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::vector.22", align 8
  %21 = alloca %"class.std::vector.22", align 8
  %22 = alloca i32, align 4
  %23 = tail call noundef i32 @_ZNK3spv7Builder15getScalarTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  %24 = tail call noundef i32 @_ZNK3spv7Builder17getTypeNumColumnsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
  store i32 %24, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  %25 = tail call noundef i32 @_ZNK3spv7Builder14getTypeNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
  store i32 %25, ptr %6, align 4, !tbaa !5
  %26 = getelementptr inbounds i8, ptr %0, i64 240
  %27 = tail call noundef ptr @_ZNK3spv6Module14getInstructionEj(ptr noundef nonnull align 8 dereferenceable(56) %26, i32 noundef %23)
  %28 = tail call noundef i32 @_ZNK3spv11Instruction19getImmediateOperandEi(ptr noundef nonnull align 8 dereferenceable(96) %27, i32 noundef 0)
  %29 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = tail call noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %30)
  br i1 %31, label %32, label %90

32:                                               ; preds = %4
  %33 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = tail call noundef i32 @_ZNK3spv7Builder13getNumColumnsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %34)
  %.not = icmp slt i32 %35, %24
  br i1 %.not, label %90, label %36

36:                                               ; preds = %32
  %37 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = tail call noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %38)
  %.not136 = icmp slt i32 %39, %25
  br i1 %.not136, label %90, label %40

40:                                               ; preds = %36
  %41 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = tail call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
  %44 = tail call noundef i32 @_ZNK3spv7Builder9getTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %42)
  %45 = tail call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %44)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  %46 = load i32, ptr %6, align 4, !tbaa !5
  %47 = icmp sgt i32 %46, 0
  br i1 %47, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %50, %40
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  %48 = load i32, ptr %5, align 4, !tbaa !5
  %49 = icmp sgt i32 %48, 0
  br i1 %49, label %.lr.ph159, label %._crit_edge160

.lr.ph:                                           ; preds = %40, %50
  %.0116156 = phi i32 [ %51, %50 ], [ 0, %40 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #4
  store i32 %.0116156, ptr %8, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %50 unwind label %54

50:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  %51 = add nuw nsw i32 %.0116156, 1
  %52 = load i32, ptr %6, align 4, !tbaa !5
  %53 = icmp slt i32 %51, %52
  br i1 %53, label %.lr.ph, label %._crit_edge, !llvm.loop !9

54:                                               ; preds = %.lr.ph
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #4
  br label %89

._crit_edge160:                                   ; preds = %77, %._crit_edge
  %56 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %9)
          to label %83 unwind label %86

.lr.ph159:                                        ; preds = %._crit_edge, %77
  %.0134157 = phi i32 [ %78, %77 ], [ 0, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  store i32 %.0134157, ptr %11, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %57 unwind label %70

57:                                               ; preds = %.lr.ph159
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %58 = invoke noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %42, i32 noundef %45, ptr noundef nonnull align 8 dereferenceable(24) %10)
          to label %59 unwind label %72

59:                                               ; preds = %57
  store i32 %58, ptr %12, align 4, !tbaa !5
  %60 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %58, i32 noundef %1)
          to label %61 unwind label %72

61:                                               ; preds = %59
  %62 = load i32, ptr %6, align 4, !tbaa !5
  %63 = invoke noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %42)
          to label %64 unwind label %72

64:                                               ; preds = %61
  %.not143 = icmp eq i32 %62, %63
  br i1 %.not143, label %76, label %65

65:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %66 = load i32, ptr %12, align 4, !tbaa !5
  %67 = invoke noundef i32 @_ZN3spv7Builder19createRvalueSwizzleENS_10DecorationEjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %1, i32 noundef %43, i32 noundef %66, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %68 unwind label %74

68:                                               ; preds = %65
  store i32 %67, ptr %13, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %69 unwind label %74

69:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %77

70:                                               ; preds = %.lr.ph159
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  br label %82

72:                                               ; preds = %76, %61, %59, %57
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %81

74:                                               ; preds = %68, %65
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  br label %81

76:                                               ; preds = %64
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 4 dereferenceable(4) %12)
          to label %77 unwind label %72

77:                                               ; preds = %76, %69
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  %78 = add nuw nsw i32 %.0134157, 1
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = icmp slt i32 %78, %79
  br i1 %80, label %.lr.ph159, label %._crit_edge160, !llvm.loop !11

81:                                               ; preds = %74, %72
  %.pn144 = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  br label %82

82:                                               ; preds = %81, %70
  %.pn144.pn = phi { ptr, i32 } [ %.pn144, %81 ], [ %71, %70 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #4
  br label %88

83:                                               ; preds = %._crit_edge160
  %84 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %56, i32 noundef %1)
          to label %85 unwind label %86

85:                                               ; preds = %83
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  br label %225

86:                                               ; preds = %83, %._crit_edge160
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %88

88:                                               ; preds = %86, %82
  %.pn144.pn.pn = phi { ptr, i32 } [ %.pn144.pn, %82 ], [ %87, %86 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #4
  br label %89

89:                                               ; preds = %88, %54
  %.pn148 = phi { ptr, i32 } [ %55, %54 ], [ %.pn144.pn.pn, %88 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #4
  br label %226

90:                                               ; preds = %36, %32, %4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #4
  %91 = icmp eq i32 %28, 64
  br i1 %91, label %92, label %95

92:                                               ; preds = %90
  %93 = tail call noundef i32 @_ZN3spv7Builder18makeDoubleConstantEdb(ptr noundef nonnull align 8 dereferenceable(1096) %0, double noundef 1.000000e+00, i1 noundef zeroext false)
  %94 = tail call noundef i32 @_ZN3spv7Builder18makeDoubleConstantEdb(ptr noundef nonnull align 8 dereferenceable(1096) %0, double noundef 0.000000e+00, i1 noundef zeroext false)
  br label %98

95:                                               ; preds = %90
  %96 = tail call noundef i32 @_ZN3spv7Builder17makeFloatConstantEfb(ptr noundef nonnull align 8 dereferenceable(1096) %0, float noundef 1.000000e+00, i1 noundef zeroext false)
  %97 = tail call noundef i32 @_ZN3spv7Builder17makeFloatConstantEfb(ptr noundef nonnull align 8 dereferenceable(1096) %0, float noundef 0.000000e+00, i1 noundef zeroext false)
  br label %98

98:                                               ; preds = %95, %92
  %99 = phi i32 [ %93, %92 ], [ %96, %95 ]
  %100 = phi i32 [ %94, %92 ], [ %97, %95 ]
  store i32 %99, ptr %14, align 16
  %101 = getelementptr inbounds i8, ptr %14, i64 4
  %102 = insertelement <4 x i32> poison, i32 %100, i64 0
  %103 = shufflevector <4 x i32> %102, <4 x i32> poison, <4 x i32> zeroinitializer
  store <4 x i32> %103, ptr %101, align 4
  %104 = getelementptr inbounds i8, ptr %14, i64 20
  store i32 %99, ptr %104, align 4
  %105 = getelementptr inbounds i8, ptr %14, i64 24
  store <4 x i32> %103, ptr %105, align 8
  %106 = getelementptr inbounds i8, ptr %14, i64 40
  store i32 %99, ptr %106, align 8
  %107 = getelementptr inbounds i8, ptr %14, i64 44
  store <4 x i32> %103, ptr %107, align 4
  %108 = getelementptr inbounds i8, ptr %14, i64 60
  store i32 %99, ptr %108, align 4
  %109 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %110 = icmp eq i64 %109, 1
  br i1 %110, label %111, label %123

111:                                              ; preds = %98
  %112 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %113 = load i32, ptr %112, align 4, !tbaa !5
  %114 = tail call noundef zeroext i1 @_ZNK3spv7Builder8isScalarEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %113)
  br i1 %114, label %.preheader.preheader, label %123

.preheader.preheader:                             ; preds = %111
  %115 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %116 = load i32, ptr %115, align 4, !tbaa !5
  store i32 %116, ptr %14, align 16, !tbaa !5
  %117 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %118 = load i32, ptr %117, align 4, !tbaa !5
  store i32 %118, ptr %104, align 4, !tbaa !5
  %119 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %120 = load i32, ptr %119, align 4, !tbaa !5
  store i32 %120, ptr %106, align 8, !tbaa !5
  %121 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %122 = load i32, ptr %121, align 4, !tbaa !5
  store i32 %122, ptr %108, align 4, !tbaa !5
  br label %.loopexit

123:                                              ; preds = %111, %98
  %124 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = tail call noundef zeroext i1 @_ZNK3spv7Builder8isMatrixEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %125)
  br i1 %126, label %132, label %.preheader153

.preheader153:                                    ; preds = %123
  %127 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %128 = trunc i64 %127 to i32
  %129 = icmp sgt i32 %128, 0
  %130 = icmp sgt i32 %24, 0
  %131 = and i1 %129, %130
  br i1 %131, label %.lr.ph177, label %.loopexit

132:                                              ; preds = %123
  %133 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef 0) #4
  %134 = load i32, ptr %133, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #4
  %135 = tail call noundef i32 @_ZNK3spv7Builder13getNumColumnsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %134)
  store i32 %135, ptr %15, align 4, !tbaa !5
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %137 = load i32, ptr %136, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %138 = call noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %134)
  store i32 %138, ptr %16, align 4, !tbaa !5
  %139 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %.fr200 = freeze i32 %140
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  %141 = icmp sgt i32 %137, 0
  br i1 %141, label %.lr.ph184, label %.loopexit

.lr.ph184:                                        ; preds = %132
  %142 = icmp sgt i32 %.fr200, 0
  br i1 %142, label %.lr.ph184.split.us.preheader, label %.lr.ph184.split

.lr.ph184.split.us.preheader:                     ; preds = %.lr.ph184
  %wide.trip.count214 = zext nneg i32 %137 to i64
  %wide.trip.count = zext nneg i32 %.fr200 to i64
  br label %.lr.ph184.split.us

.lr.ph184.split.us:                               ; preds = %.lr.ph184.split.us.preheader, %._crit_edge181.us
  %indvars.iv211 = phi i64 [ 0, %.lr.ph184.split.us.preheader ], [ %indvars.iv.next212, %._crit_edge181.us ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #4
  %143 = trunc nuw nsw i64 %indvars.iv211 to i32
  store i32 %143, ptr %18, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %.lr.ph180.us unwind label %.split.us

.lr.ph180.us:                                     ; preds = %.lr.ph184.split.us
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  br label %144

144:                                              ; preds = %.lr.ph180.us, %151
  %indvars.iv207 = phi i64 [ 0, %.lr.ph180.us ], [ %indvars.iv.next208, %151 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #4
  %145 = trunc nuw nsw i64 %indvars.iv207 to i32
  store i32 %145, ptr %19, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %146 unwind label %.split186.us

146:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #4
  %147 = invoke noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %134, i32 noundef %23, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %148 unwind label %.split189.us

148:                                              ; preds = %146
  %149 = getelementptr inbounds [4 x [4 x i32]], ptr %14, i64 0, i64 %indvars.iv211, i64 %indvars.iv207
  store i32 %147, ptr %149, align 4, !tbaa !5
  call void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  %150 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %147, i32 noundef %1)
          to label %151 unwind label %.split189.us

151:                                              ; preds = %148
  %indvars.iv.next208 = add nuw nsw i64 %indvars.iv207, 1
  %exitcond210.not = icmp eq i64 %indvars.iv.next208, %wide.trip.count
  br i1 %exitcond210.not, label %._crit_edge181.us, label %144, !llvm.loop !12

._crit_edge181.us:                                ; preds = %151
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #4
  %indvars.iv.next212 = add nuw nsw i64 %indvars.iv211, 1
  %exitcond215.not = icmp eq i64 %indvars.iv.next212, %wide.trip.count214
  br i1 %exitcond215.not, label %.loopexit, label %.lr.ph184.split.us, !llvm.loop !13

.split.us:                                        ; preds = %.lr.ph184.split.us
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %158

.split186.us:                                     ; preds = %144
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #4
  br label %159

.split189.us:                                     ; preds = %148, %146
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %159

.lr.ph184.split:                                  ; preds = %.lr.ph184, %155
  %.0115182 = phi i32 [ %156, %155 ], [ 0, %.lr.ph184 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #4
  store i32 %.0115182, ptr %18, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %155 unwind label %.split

155:                                              ; preds = %.lr.ph184.split
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #4
  %156 = add nuw nsw i32 %.0115182, 1
  %exitcond.not = icmp eq i32 %156, %137
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph184.split, !llvm.loop !13

.split:                                           ; preds = %.lr.ph184.split
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %158

158:                                              ; preds = %.split.us, %.split
  %.us-phi = phi { ptr, i32 } [ %157, %.split ], [ %152, %.split.us ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #4
  br label %159

159:                                              ; preds = %.split186.us, %.split189.us, %158
  %.pn.pn = phi { ptr, i32 } [ %.us-phi, %158 ], [ %154, %.split189.us ], [ %153, %.split186.us ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #4
  br label %224

.lr.ph177:                                        ; preds = %.preheader153, %._crit_edge169
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge169 ], [ 0, %.preheader153 ]
  %.0108175 = phi i32 [ %.3, %._crit_edge169 ], [ 0, %.preheader153 ]
  %.0110174 = phi i32 [ %.3113, %._crit_edge169 ], [ 0, %.preheader153 ]
  %160 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #4
  %161 = load i32, ptr %160, align 4, !tbaa !5
  %162 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #4
  %163 = load i32, ptr %162, align 4, !tbaa !5
  %164 = tail call noundef i32 @_ZNK3spv7Builder16getNumComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %163)
  %165 = icmp sgt i32 %164, 0
  br i1 %165, label %.lr.ph168, label %._crit_edge169

166:                                              ; preds = %181
  %167 = add nuw nsw i32 %.0105166, 1
  %168 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #4
  %169 = load i32, ptr %168, align 4, !tbaa !5
  %170 = tail call noundef i32 @_ZNK3spv7Builder16getNumComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %169)
  %171 = icmp slt i32 %167, %170
  br i1 %171, label %.lr.ph168, label %._crit_edge169, !llvm.loop !14

.lr.ph168:                                        ; preds = %.lr.ph177, %166
  %.0105166 = phi i32 [ %167, %166 ], [ 0, %.lr.ph177 ]
  %.0106165 = phi i32 [ %.1, %166 ], [ %161, %.lr.ph177 ]
  %.1109164 = phi i32 [ %spec.select151, %166 ], [ %.0108175, %.lr.ph177 ]
  %.1111163 = phi i32 [ %spec.select, %166 ], [ %.0110174, %.lr.ph177 ]
  %172 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #4
  %173 = load i32, ptr %172, align 4, !tbaa !5
  %174 = tail call noundef i32 @_ZNK3spv7Builder16getNumComponentsEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %173)
  %175 = icmp sgt i32 %174, 1
  br i1 %175, label %176, label %181

176:                                              ; preds = %.lr.ph168
  %177 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNKSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %indvars.iv) #4
  %178 = load i32, ptr %177, align 4, !tbaa !5
  %179 = tail call noundef i32 @_ZN3spv7Builder22createCompositeExtractEjjj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %178, i32 noundef %23, i32 noundef %.0105166)
  %180 = tail call noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %179, i32 noundef %1)
  br label %181

181:                                              ; preds = %176, %.lr.ph168
  %.1 = phi i32 [ %179, %176 ], [ %.0106165, %.lr.ph168 ]
  %182 = sext i32 %.1109164 to i64
  %183 = add nsw i32 %.1111163, 1
  %184 = sext i32 %.1111163 to i64
  %185 = getelementptr inbounds [4 x [4 x i32]], ptr %14, i64 0, i64 %182, i64 %184
  store i32 %.1, ptr %185, align 4, !tbaa !5
  %186 = icmp eq i32 %183, %25
  %spec.select = select i1 %186, i32 0, i32 %183
  %187 = zext i1 %186 to i32
  %spec.select151 = add nsw i32 %.1109164, %187
  %188 = icmp eq i32 %spec.select151, %24
  br i1 %188, label %._crit_edge169, label %166

._crit_edge169:                                   ; preds = %166, %181, %.lr.ph177
  %.3113 = phi i32 [ %.0110174, %.lr.ph177 ], [ %spec.select, %181 ], [ %spec.select, %166 ]
  %.3 = phi i32 [ %.0108175, %.lr.ph177 ], [ %spec.select151, %166 ], [ %24, %181 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %189 = tail call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #4
  %sext = shl i64 %189, 32
  %190 = ashr exact i64 %sext, 32
  %191 = icmp slt i64 %indvars.iv.next, %190
  %192 = icmp slt i32 %.3, %24
  %193 = select i1 %191, i1 %192, i1 false
  br i1 %193, label %.lr.ph177, label %.loopexit, !llvm.loop !15

.loopexit:                                        ; preds = %._crit_edge169, %155, %._crit_edge181.us, %.preheader.preheader, %.preheader153, %132
  %194 = call noundef i32 @_ZNK3spv7Builder18getContainedTypeIdEj(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  %195 = load i32, ptr %5, align 4, !tbaa !5
  %196 = icmp sgt i32 %195, 0
  br i1 %196, label %.lr.ph198, label %._crit_edge199

._crit_edge199:                                   ; preds = %211, %.loopexit
  %197 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %218 unwind label %221

.lr.ph198:                                        ; preds = %.loopexit, %211
  %indvars.iv223 = phi i64 [ %indvars.iv.next224, %211 ], [ 0, %.loopexit ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #4
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  %198 = load i32, ptr %6, align 4, !tbaa !5
  %199 = icmp sgt i32 %198, 0
  br i1 %199, label %.lr.ph194, label %._crit_edge195

._crit_edge195:                                   ; preds = %202, %.lr.ph198
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #4
  %200 = invoke noundef i32 @_ZN3spv7Builder24createCompositeConstructEjRKSt6vectorIjSaIjEE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %194, ptr noundef nonnull align 8 dereferenceable(24) %21)
          to label %208 unwind label %215

.lr.ph194:                                        ; preds = %.lr.ph198, %202
  %indvars.iv220 = phi i64 [ %indvars.iv.next221, %202 ], [ 0, %.lr.ph198 ]
  %201 = getelementptr inbounds [4 x [4 x i32]], ptr %14, i64 0, i64 %indvars.iv223, i64 %indvars.iv220
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(4) %201)
          to label %202 unwind label %206

202:                                              ; preds = %.lr.ph194
  %indvars.iv.next221 = add nuw nsw i64 %indvars.iv220, 1
  %203 = load i32, ptr %6, align 4, !tbaa !5
  %204 = sext i32 %203 to i64
  %205 = icmp slt i64 %indvars.iv.next221, %204
  br i1 %205, label %.lr.ph194, label %._crit_edge195, !llvm.loop !16

206:                                              ; preds = %.lr.ph194
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %217

208:                                              ; preds = %._crit_edge195
  store i32 %200, ptr %22, align 4, !tbaa !5
  %209 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %200, i32 noundef %1)
          to label %210 unwind label %215

210:                                              ; preds = %208
  invoke void @_ZNSt6vectorIjSaIjEE9push_backERKj(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %211 unwind label %215

211:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #4
  %indvars.iv.next224 = add nuw nsw i64 %indvars.iv223, 1
  %212 = load i32, ptr %5, align 4, !tbaa !5
  %213 = sext i32 %212 to i64
  %214 = icmp slt i64 %indvars.iv.next224, %213
  br i1 %214, label %.lr.ph198, label %._crit_edge199, !llvm.loop !17

215:                                              ; preds = %210, %208, %._crit_edge195
  %216 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #4
  br label %217

217:                                              ; preds = %215, %206
  %.pn139 = phi { ptr, i32 } [ %207, %206 ], [ %216, %215 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #4
  br label %223

218:                                              ; preds = %._crit_edge199
  %219 = invoke noundef i32 @_ZN3spv7Builder12setPrecisionEjNS_10DecorationE(ptr noundef nonnull align 8 dereferenceable(1096) %0, i32 noundef %197, i32 noundef %1)
          to label %220 unwind label %221

220:                                              ; preds = %218
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #4
  br label %225

221:                                              ; preds = %218, %._crit_edge199
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %223

223:                                              ; preds = %221, %217
  %.pn139.pn = phi { ptr, i32 } [ %.pn139, %217 ], [ %222, %221 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #4
  br label %224

224:                                              ; preds = %223, %159
  %.pn139.pn.pn = phi { ptr, i32 } [ %.pn139.pn, %223 ], [ %.pn.pn, %159 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #4
  br label %226

225:                                              ; preds = %220, %85
  %.0104 = phi i32 [ %84, %85 ], [ %219, %220 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  ret i32 %.0104

226:                                              ; preds = %224, %89
  %.pn148.pn = phi { ptr, i32 } [ %.pn148, %89 ], [ %.pn139.pn.pn, %224 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  resume { ptr, i32 } %.pn148.pn
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK3spv7Builder10getNumRowsEj(ptr noundef nonnull align 8 dereferenceable(1096), i32 noundef) local_unnamed_addr #1 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 #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIjSaIjEE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 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 = { 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 #4 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass