; LLVM IR from cvxpy/cvxpy :: cvxpy/cvxcore/src/LinOpOperations.ll (Z12get_rmul_matRK5LinOpi)

; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>, std::_Select1st<std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>, std::_Select1st<std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>>, std::less<int>>::_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<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl" }
%"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.Eigen::Transpose" = type { %"class.Eigen::TransposeImpl", ptr }
%"class.Eigen::TransposeImpl" = type { %"class.Eigen::internal::SparseTransposeImpl" }
%"class.Eigen::internal::SparseTransposeImpl" = type { %"class.Eigen::SparseCompressedBase.53" }
%"class.Eigen::SparseCompressedBase.53" = type { %"class.Eigen::SparseMatrixBase.54" }
%"class.Eigen::SparseMatrixBase.54" = type { i8 }
%"class.Eigen::SparseMatrix" = type { %"class.Eigen::SparseCompressedBase", i64, i64, ptr, ptr, %"class.Eigen::internal::CompressedStorage" }
%"class.Eigen::SparseCompressedBase" = type { %"class.Eigen::SparseMatrixBase" }
%"class.Eigen::SparseMatrixBase" = type { i8 }
%"class.Eigen::internal::CompressedStorage" = type { ptr, ptr, i64, i64 }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Eigen::SparseCompressedBase<Eigen::SparseMatrix<double>>::InnerIterator" = type { ptr, ptr, %"class.Eigen::internal::variable_if_dynamic", i64, i64 }
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Triplet" = type { i32, i32, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.std::pair" = type { i32, %"class.std::map.17" }
%"class.std::map.17" = type { %"class.std::_Rb_tree.18" }
%"class.std::_Rb_tree.18" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::vector<Eigen::SparseMatrix<double>>>, std::_Select1st<std::pair<const int, std::vector<Eigen::SparseMatrix<double>>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::vector<Eigen::SparseMatrix<double>>>, std::_Select1st<std::pair<const int, std::vector<Eigen::SparseMatrix<double>>>>, std::less<int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::pair.51" = type { i32, %"class.std::vector.22" }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<Eigen::SparseMatrix<double>, std::allocator<Eigen::SparseMatrix<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<Eigen::SparseMatrix<double>, std::allocator<Eigen::SparseMatrix<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Eigen::SparseMatrix<double>, std::allocator<Eigen::SparseMatrix<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Eigen::SparseMatrix<double>, std::allocator<Eigen::SparseMatrix<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str.5 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._Z12get_rmul_matRK5LinOpi = external hidden unnamed_addr constant [40 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5LinOp8get_typeEv(ptr noundef nonnull align 8 dereferenceable(193)) #0 align 2

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) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12get_rmul_matRK5LinOpi(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8 %0, ptr noundef nonnull align 8 dereferenceable(193) %1, i32 noundef %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::vector.4", align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i1, align 1
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca i1, align 1
  %14 = alloca %"class.std::vector.4", align 8
  %15 = alloca i1, align 1
  %16 = alloca i1, align 1
  %17 = alloca i1, align 1
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %24 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %"class.Eigen::Transpose", align 8
  %29 = alloca i32, align 4
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca i1, align 1
  %33 = alloca i1, align 1
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca %"class.std::vector", align 8
  %37 = alloca i1, align 1
  %38 = alloca i1, align 1
  %39 = alloca i32, align 4
  %40 = alloca %"class.std::vector", align 8
  %41 = alloca %"class.std::vector.4", align 8
  %42 = alloca %"class.std::vector", align 8
  %43 = alloca %"class.std::vector.4", align 8
  %44 = alloca %"class.std::vector", align 8
  %45 = alloca %"class.std::vector.4", align 8
  %46 = alloca i32, align 4
  %47 = alloca %"class.std::vector", align 8
  %48 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %49 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %50 = alloca i32, align 4
  %51 = alloca ptr, align 8
  %52 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %53 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %54 = alloca i32, align 4
  %55 = alloca ptr, align 8
  %56 = alloca i32, align 4
  %57 = alloca %"class.Eigen::SparseMatrix", align 8
  %58 = alloca %"class.std::vector.33", align 8
  %59 = alloca ptr, align 8
  %60 = alloca i32, align 4
  %61 = alloca %"class.Eigen::SparseCompressedBase<Eigen::SparseMatrix<double>>::InnerIterator", align 8
  %62 = alloca double, align 8
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca i32, align 4
  %67 = alloca i32, align 4
  %68 = alloca i32, align 4
  %69 = alloca i32, align 4
  %70 = alloca %"class.Eigen::Triplet", align 8
  %71 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %72 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = call noundef i32 @_ZNK5LinOp8get_typeEv(ptr noundef nonnull align 8 dereferenceable(193) %73)
  %75 = icmp eq i32 %74, 4
  br i1 %75, label %76, label %77

76:                                               ; preds = %3
  br label %79

77:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.5, i32 noundef 802, ptr noundef @__PRETTY_FUNCTION__._Z12get_rmul_matRK5LinOpi) #7
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #8
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.4") align 8 %8, ptr noundef nonnull align 8 dereferenceable(193) %80)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 0) #8
  %82 = load ptr, ptr %81, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %7, ptr noundef nonnull align 8 dereferenceable(193) %82)
          to label %83 unwind label %88

83:                                               ; preds = %79
  %84 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %85 = icmp ugt i64 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  br label %93

87:                                               ; preds = %83
  call void @__assert_fail(ptr noundef @.str.23, ptr noundef @.str.5, i32 noundef 804, ptr noundef @__PRETTY_FUNCTION__._Z12get_rmul_matRK5LinOpi) #7
  unreachable

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %9, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %10, align 4
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %569

92:                                               ; No predecessors!
  br label %93

93:                                               ; preds = %92, %86
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  store i1 false, ptr %11, align 1
  %94 = load ptr, ptr %5, align 8, !tbaa !5
  %95 = call noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %94)
  call void @_Z13lin_to_tensorRK5LinOp(ptr dead_on_unwind writable sret(%"class.std::map") align 8 %0, ptr noundef nonnull align 8 dereferenceable(193) %95)
  %96 = load ptr, ptr %5, align 8, !tbaa !5
  store i1 false, ptr %13, align 1
  store i1 false, ptr %15, align 1
  store i1 false, ptr %16, align 1
  store i1 false, ptr %17, align 1
  %97 = invoke noundef i32 @_ZNK5LinOp13get_data_ndimEv(ptr noundef nonnull align 8 dereferenceable(193) %96)
          to label %98 unwind label %131

98:                                               ; preds = %93
  %99 = icmp eq i32 %97, 1
  br i1 %99, label %100, label %109

100:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #8
  store i1 true, ptr %13, align 1
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #8
  store i1 true, ptr %15, align 1
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.4") align 8 %14, ptr noundef nonnull align 8 dereferenceable(193) %101)
          to label %102 unwind label %135

102:                                              ; preds = %100
  store i1 true, ptr %16, align 1
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #8
  %104 = load ptr, ptr %103, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %12, ptr noundef nonnull align 8 dereferenceable(193) %104)
          to label %105 unwind label %139

105:                                              ; preds = %102
  store i1 true, ptr %17, align 1
  %106 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %12, i64 noundef 0) #8
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = icmp ne i32 %107, 1
  br label %109

109:                                              ; preds = %105, %98
  %110 = phi i1 [ false, %98 ], [ %108, %105 ]
  %111 = load i1, ptr %17, align 1
  br i1 %111, label %112, label %113

112:                                              ; preds = %109
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #8
  br label %113

113:                                              ; preds = %112, %109
  %114 = load i1, ptr %16, align 1
  br i1 %114, label %115, label %116

115:                                              ; preds = %113
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  br label %116

116:                                              ; preds = %115, %113
  %117 = load i1, ptr %15, align 1
  br i1 %117, label %118, label %119

118:                                              ; preds = %116
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %119

119:                                              ; preds = %118, %116
  %120 = load i1, ptr %13, align 1
  br i1 %120, label %121, label %122

121:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  br label %122

122:                                              ; preds = %121, %119
  br i1 %110, label %123, label %215

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %124 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  %125 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %18, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  br label %126

126:                                              ; preds = %212, %123
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %127 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  %128 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %19, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br i1 %129, label %153, label %130

130:                                              ; preds = %126
  store i32 2, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %214

131:                                              ; preds = %93
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %9, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %10, align 4
  br label %568

135:                                              ; preds = %100
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %9, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %10, align 4
  br label %146

139:                                              ; preds = %102
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %9, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %10, align 4
  %143 = load i1, ptr %16, align 1
  br i1 %143, label %144, label %145

144:                                              ; preds = %139
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #8
  br label %145

145:                                              ; preds = %144, %139
  br label %146

146:                                              ; preds = %145, %135
  %147 = load i1, ptr %15, align 1
  br i1 %147, label %148, label %149

148:                                              ; preds = %146
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #8
  br label %149

149:                                              ; preds = %148, %146
  %150 = load i1, ptr %13, align 1
  br i1 %150, label %151, label %152

151:                                              ; preds = %149
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #8
  br label %152

152:                                              ; preds = %151, %149
  br label %568

153:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %154 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %155 = getelementptr inbounds %"struct.std::pair", ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 8, !tbaa !11
  store i32 %156, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %157 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %158 = getelementptr inbounds %"struct.std::pair", ptr %157, i32 0, i32 1
  store ptr %158, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %159 = load ptr, ptr %22, align 8, !tbaa !5
  %160 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %159) #8
  %161 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %23, i32 0, i32 0
  store ptr %160, ptr %161, align 8
  br label %162

162:                                              ; preds = %209, %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %163 = load ptr, ptr %22, align 8, !tbaa !5
  %164 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %163) #8
  %165 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %24, i32 0, i32 0
  store ptr %164, ptr %165, align 8
  %166 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br i1 %166, label %168, label %167

167:                                              ; preds = %162
  store i32 5, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %211

168:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %169 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %170 = getelementptr inbounds %"struct.std::pair.51", ptr %169, i32 0, i32 0
  %171 = load i32, ptr %170, align 8, !tbaa !22
  store i32 %171, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %172 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %173 = getelementptr inbounds %"struct.std::pair.51", ptr %172, i32 0, i32 1
  store ptr %173, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %174

174:                                              ; preds = %201, %168
  %175 = load i32, ptr %27, align 4, !tbaa !9
  %176 = zext i32 %175 to i64
  %177 = load ptr, ptr %26, align 8, !tbaa !5
  %178 = call noundef i64 @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %177) #8
  %179 = icmp ult i64 %176, %178
  br i1 %179, label %181, label %180

180:                                              ; preds = %174
  store i32 8, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  br label %208

181:                                              ; preds = %174
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #8
  %182 = load ptr, ptr %26, align 8, !tbaa !5
  %183 = load i32, ptr %27, align 4, !tbaa !9
  %184 = zext i32 %183 to i64
  %185 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %182, i64 noundef %184) #8
  %186 = invoke { i8, ptr } @_ZNK5Eigen16SparseMatrixBaseINS_12SparseMatrixIdLi0EiEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %185)
          to label %187 unwind label %204

187:                                              ; preds = %181
  %188 = getelementptr inbounds { i8, ptr }, ptr %28, i32 0, i32 0
  %189 = extractvalue { i8, ptr } %186, 0
  store i8 %189, ptr %188, align 8
  %190 = getelementptr inbounds { i8, ptr }, ptr %28, i32 0, i32 1
  %191 = extractvalue { i8, ptr } %186, 1
  store ptr %191, ptr %190, align 8
  %192 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %193 unwind label %204

193:                                              ; preds = %187
  %194 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %192, ptr noundef nonnull align 4 dereferenceable(4) %25)
          to label %195 unwind label %204

195:                                              ; preds = %193
  %196 = load i32, ptr %27, align 4, !tbaa !9
  %197 = zext i32 %196 to i64
  %198 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %194, i64 noundef %197) #8
  %199 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN5Eigen12SparseMatrixIdLi0EiEaSINS_9TransposeIKS1_EEEERS1_RKNS_16SparseMatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(72) %198, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %200 unwind label %204

200:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  br label %201

201:                                              ; preds = %200
  %202 = load i32, ptr %27, align 4, !tbaa !9
  %203 = add i32 %202, 1
  store i32 %203, ptr %27, align 4, !tbaa !9
  br label %174, !llvm.loop !28

204:                                              ; preds = %195, %193, %187, %181
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %9, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %568

208:                                              ; preds = %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %209

209:                                              ; preds = %208
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  br label %162, !llvm.loop !30

211:                                              ; preds = %167
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  br label %212

212:                                              ; preds = %211
  %213 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %126, !llvm.loop !31

214:                                              ; preds = %130
  br label %215

215:                                              ; preds = %214, %122
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %30) #8
  %216 = load ptr, ptr %5, align 8, !tbaa !5
  store i1 false, ptr %32, align 1
  store i1 false, ptr %33, align 1
  %217 = invoke noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %216)
          to label %218 unwind label %268

218:                                              ; preds = %215
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %30, ptr noundef nonnull align 8 dereferenceable(193) %217)
          to label %219 unwind label %268

219:                                              ; preds = %218
  %220 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  %221 = icmp uge i64 %220, 1
  br i1 %221, label %222, label %229

222:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #8
  store i1 true, ptr %32, align 1
  %223 = load ptr, ptr %5, align 8, !tbaa !5
  %224 = invoke noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %223)
          to label %225 unwind label %272

225:                                              ; preds = %222
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %31, ptr noundef nonnull align 8 dereferenceable(193) %224)
          to label %226 unwind label %272

226:                                              ; preds = %225
  store i1 true, ptr %33, align 1
  %227 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 0) #8
  %228 = load i32, ptr %227, align 4, !tbaa !9
  br label %230

229:                                              ; preds = %219
  br label %230

230:                                              ; preds = %229, %226
  %231 = phi i32 [ %228, %226 ], [ 1, %229 ]
  %232 = load i1, ptr %33, align 1
  br i1 %232, label %233, label %234

233:                                              ; preds = %230
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br label %234

234:                                              ; preds = %233, %230
  %235 = load i1, ptr %32, align 1
  br i1 %235, label %236, label %237

236:                                              ; preds = %234
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #8
  br label %237

237:                                              ; preds = %236, %234
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  store i32 %231, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #8
  %238 = load ptr, ptr %5, align 8, !tbaa !5
  store i1 false, ptr %37, align 1
  store i1 false, ptr %38, align 1
  %239 = invoke noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %238)
          to label %240 unwind label %280

240:                                              ; preds = %237
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %35, ptr noundef nonnull align 8 dereferenceable(193) %239)
          to label %241 unwind label %280

241:                                              ; preds = %240
  %242 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  %243 = icmp uge i64 %242, 2
  br i1 %243, label %244, label %251

244:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #8
  store i1 true, ptr %37, align 1
  %245 = load ptr, ptr %5, align 8, !tbaa !5
  %246 = invoke noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %245)
          to label %247 unwind label %284

247:                                              ; preds = %244
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %36, ptr noundef nonnull align 8 dereferenceable(193) %246)
          to label %248 unwind label %284

248:                                              ; preds = %247
  store i1 true, ptr %38, align 1
  %249 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef 1) #8
  %250 = load i32, ptr %249, align 4, !tbaa !9
  br label %252

251:                                              ; preds = %241
  br label %252

252:                                              ; preds = %251, %248
  %253 = phi i32 [ %250, %248 ], [ 1, %251 ]
  %254 = load i1, ptr %38, align 1
  br i1 %254, label %255, label %256

255:                                              ; preds = %252
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  br label %256

256:                                              ; preds = %255, %252
  %257 = load i1, ptr %37, align 1
  br i1 %257, label %258, label %259

258:                                              ; preds = %256
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  br label %259

259:                                              ; preds = %258, %256
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  store i32 %253, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %41) #8
  %260 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.4") align 8 %41, ptr noundef nonnull align 8 dereferenceable(193) %260)
          to label %261 unwind label %292

261:                                              ; preds = %259
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 0) #8
  %263 = load ptr, ptr %262, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %40, ptr noundef nonnull align 8 dereferenceable(193) %263)
          to label %264 unwind label %296

264:                                              ; preds = %261
  %265 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  %266 = icmp eq i64 %265, 0
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  br i1 %266, label %267, label %301

267:                                              ; preds = %264
  store i32 1, ptr %39, align 4, !tbaa !9
  br label %337

268:                                              ; preds = %218, %215
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %9, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %10, align 4
  br label %279

272:                                              ; preds = %225, %222
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %9, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %10, align 4
  %276 = load i1, ptr %32, align 1
  br i1 %276, label %277, label %278

277:                                              ; preds = %272
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #8
  br label %278

278:                                              ; preds = %277, %272
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  br label %279

279:                                              ; preds = %278, %268
  call void @llvm.lifetime.end.p0(i64 24, ptr %30) #8
  br label %565

280:                                              ; preds = %240, %237
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %9, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %10, align 4
  br label %291

284:                                              ; preds = %247, %244
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %9, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %10, align 4
  %288 = load i1, ptr %37, align 1
  br i1 %288, label %289, label %290

289:                                              ; preds = %284
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  br label %290

290:                                              ; preds = %289, %284
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  br label %291

291:                                              ; preds = %290, %280
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  br label %564

292:                                              ; preds = %259
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %9, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %10, align 4
  br label %300

296:                                              ; preds = %261
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %9, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %10, align 4
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  br label %300

300:                                              ; preds = %296, %292
  call void @llvm.lifetime.end.p0(i64 24, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #8
  br label %563

301:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 24, ptr %42) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %43) #8
  %302 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.4") align 8 %43, ptr noundef nonnull align 8 dereferenceable(193) %302)
          to label %303 unwind label %310

303:                                              ; preds = %301
  %304 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef 0) #8
  %305 = load ptr, ptr %304, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %42, ptr noundef nonnull align 8 dereferenceable(193) %305)
          to label %306 unwind label %314

306:                                              ; preds = %303
  %307 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  %308 = icmp eq i64 %307, 1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br i1 %308, label %309, label %319

309:                                              ; preds = %306
  store i32 1, ptr %39, align 4, !tbaa !9
  br label %336

310:                                              ; preds = %301
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %9, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %10, align 4
  br label %318

314:                                              ; preds = %303
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %9, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %10, align 4
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  br label %318

318:                                              ; preds = %314, %310
  call void @llvm.lifetime.end.p0(i64 24, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %42) #8
  br label %563

319:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #8
  %320 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind writable sret(%"class.std::vector.4") align 8 %45, ptr noundef nonnull align 8 dereferenceable(193) %320)
          to label %321 unwind label %327

321:                                              ; preds = %319
  %322 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %45, i64 noundef 0) #8
  %323 = load ptr, ptr %322, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %44, ptr noundef nonnull align 8 dereferenceable(193) %323)
          to label %324 unwind label %331

324:                                              ; preds = %321
  %325 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #8
  %326 = load i32, ptr %325, align 4, !tbaa !9
  store i32 %326, ptr %39, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  br label %336

327:                                              ; preds = %319
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %9, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %10, align 4
  br label %335

331:                                              ; preds = %321
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %9, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %10, align 4
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  br label %335

335:                                              ; preds = %331, %327
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #8
  br label %563

336:                                              ; preds = %324, %309
  br label %337

337:                                              ; preds = %336, %267
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #8
  %338 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %47, ptr noundef nonnull align 8 dereferenceable(193) %338)
          to label %339 unwind label %354

339:                                              ; preds = %337
  %340 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  %341 = icmp ugt i64 %340, 0
  br i1 %341, label %342, label %344

342:                                              ; preds = %339
  %343 = load i32, ptr %39, align 4, !tbaa !9
  br label %345

344:                                              ; preds = %339
  br label %345

345:                                              ; preds = %344, %342
  %346 = phi i32 [ %343, %342 ], [ 1, %344 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  store i32 %346, ptr %46, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %347 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  %348 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %48, i32 0, i32 0
  store ptr %347, ptr %348, align 8
  br label %349

349:                                              ; preds = %558, %345
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %350 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  %351 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %49, i32 0, i32 0
  store ptr %350, ptr %351, align 8
  %352 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br i1 %352, label %358, label %353

353:                                              ; preds = %349
  store i32 11, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %560

354:                                              ; preds = %337
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %9, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  br label %562

358:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  %359 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  %360 = getelementptr inbounds %"struct.std::pair", ptr %359, i32 0, i32 0
  %361 = load i32, ptr %360, align 8, !tbaa !11
  store i32 %361, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %362 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  %363 = getelementptr inbounds %"struct.std::pair", ptr %362, i32 0, i32 1
  store ptr %363, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %364 = load ptr, ptr %51, align 8, !tbaa !5
  %365 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %364) #8
  %366 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %52, i32 0, i32 0
  store ptr %365, ptr %366, align 8
  br label %367

367:                                              ; preds = %555, %358
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %368 = load ptr, ptr %51, align 8, !tbaa !5
  %369 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %368) #8
  %370 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %53, i32 0, i32 0
  store ptr %369, ptr %370, align 8
  %371 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br i1 %371, label %373, label %372

372:                                              ; preds = %367
  store i32 14, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  br label %557

373:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  %374 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  %375 = getelementptr inbounds %"struct.std::pair.51", ptr %374, i32 0, i32 0
  %376 = load i32, ptr %375, align 8, !tbaa !22
  store i32 %376, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %377 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  %378 = getelementptr inbounds %"struct.std::pair.51", ptr %377, i32 0, i32 1
  store ptr %378, ptr %55, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #8
  store i32 0, ptr %56, align 4, !tbaa !9
  br label %379

379:                                              ; preds = %540, %373
  %380 = load i32, ptr %56, align 4, !tbaa !9
  %381 = zext i32 %380 to i64
  %382 = load ptr, ptr %55, align 8, !tbaa !5
  %383 = call noundef i64 @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %382) #8
  %384 = icmp ult i64 %381, %383
  br i1 %384, label %386, label %385

385:                                              ; preds = %379
  store i32 17, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  br label %554

386:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 72, ptr %57) #8
  %387 = load i32, ptr %34, align 4, !tbaa !9
  %388 = load i32, ptr %46, align 4, !tbaa !9
  %389 = mul nsw i32 %387, %388
  %390 = sext i32 %389 to i64
  %391 = load i32, ptr %29, align 4, !tbaa !9
  %392 = load i32, ptr %46, align 4, !tbaa !9
  %393 = mul nsw i32 %391, %392
  %394 = sext i32 %393 to i64
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiEC2Ell(ptr noundef nonnull align 8 dereferenceable(72) %57, i64 noundef %390, i64 noundef %394)
          to label %395 unwind label %418

395:                                              ; preds = %386
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #8
  call void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %396 = load i32, ptr %46, align 4, !tbaa !9
  %397 = sext i32 %396 to i64
  %398 = load ptr, ptr %55, align 8, !tbaa !5
  %399 = load i32, ptr %56, align 4, !tbaa !9
  %400 = zext i32 %399 to i64
  %401 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %398, i64 noundef %400) #8
  %402 = invoke noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE8nonZerosEv(ptr noundef nonnull align 1 dereferenceable(1) %401)
          to label %403 unwind label %422

403:                                              ; preds = %395
  %404 = mul nsw i64 %397, %402
  invoke void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %404)
          to label %405 unwind label %422

405:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  %406 = load ptr, ptr %55, align 8, !tbaa !5
  %407 = load i32, ptr %56, align 4, !tbaa !9
  %408 = zext i32 %407 to i64
  %409 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %406, i64 noundef %408) #8
  store ptr %409, ptr %59, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  store i32 0, ptr %60, align 4, !tbaa !9
  br label %410

410:                                              ; preds = %521, %405
  %411 = load i32, ptr %60, align 4, !tbaa !9
  %412 = sext i32 %411 to i64
  %413 = load ptr, ptr %59, align 8, !tbaa !5
  %414 = invoke noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE9outerSizeEv(ptr noundef nonnull align 8 dereferenceable(72) %413)
          to label %415 unwind label %426

415:                                              ; preds = %410
  %416 = icmp slt i64 %412, %414
  br i1 %416, label %430, label %417

417:                                              ; preds = %415
  store i32 20, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  br label %525

418:                                              ; preds = %386
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %9, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %10, align 4
  br label %553

422:                                              ; preds = %403, %395
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %9, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %10, align 4
  br label %552

426:                                              ; preds = %410
  %427 = landingpad { ptr, i32 }
          cleanup
  %428 = extractvalue { ptr, i32 } %427, 0
  store ptr %428, ptr %9, align 8
  %429 = extractvalue { ptr, i32 } %427, 1
  store i32 %429, ptr %10, align 4
  br label %524

430:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 40, ptr %61) #8
  %431 = load ptr, ptr %59, align 8, !tbaa !5
  %432 = load i32, ptr %60, align 4, !tbaa !9
  %433 = sext i32 %432 to i64
  invoke void @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorC2ERKS3_l(ptr noundef nonnull align 8 dereferenceable(40) %61, ptr noundef nonnull align 1 dereferenceable(1) %431, i64 noundef %433)
          to label %434 unwind label %439

434:                                              ; preds = %430
  br label %435

435:                                              ; preds = %516, %434
  %436 = invoke noundef zeroext i1 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorcvbEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %437 unwind label %439

437:                                              ; preds = %435
  br i1 %436, label %443, label %438

438:                                              ; preds = %437
  store i32 23, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %61) #8
  br label %520

439:                                              ; preds = %514, %435, %430
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %9, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %10, align 4
  br label %519

443:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #8
  %444 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator5valueEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %445 unwind label %464

445:                                              ; preds = %443
  %446 = load double, ptr %444, align 8, !tbaa !32
  store double %446, ptr %62, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #8
  %447 = load ptr, ptr %59, align 8, !tbaa !5
  %448 = invoke noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE4rowsEv(ptr noundef nonnull align 8 dereferenceable(72) %447)
          to label %449 unwind label %468

449:                                              ; preds = %445
  %450 = icmp eq i64 %448, 1
  br i1 %450, label %451, label %472

451:                                              ; preds = %449
  %452 = invoke noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %453 unwind label %468

453:                                              ; preds = %451
  %454 = load i32, ptr %29, align 4, !tbaa !9
  %455 = sext i32 %454 to i64
  %456 = sdiv i64 %452, %455
  %457 = trunc i64 %456 to i32
  store i32 %457, ptr %63, align 4, !tbaa !9
  %458 = invoke noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %459 unwind label %468

459:                                              ; preds = %453
  %460 = load i32, ptr %29, align 4, !tbaa !9
  %461 = sext i32 %460 to i64
  %462 = srem i64 %458, %461
  %463 = trunc i64 %462 to i32
  store i32 %463, ptr %64, align 4, !tbaa !9
  br label %485

464:                                              ; preds = %443
  %465 = landingpad { ptr, i32 }
          cleanup
  %466 = extractvalue { ptr, i32 } %465, 0
  store ptr %466, ptr %9, align 8
  %467 = extractvalue { ptr, i32 } %465, 1
  store i32 %467, ptr %10, align 4
  br label %518

468:                                              ; preds = %474, %472, %453, %451, %445
  %469 = landingpad { ptr, i32 }
          cleanup
  %470 = extractvalue { ptr, i32 } %469, 0
  store ptr %470, ptr %9, align 8
  %471 = extractvalue { ptr, i32 } %469, 1
  store i32 %471, ptr %10, align 4
  br label %517

472:                                              ; preds = %449
  %473 = invoke noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %474 unwind label %468

474:                                              ; preds = %472
  %475 = load i32, ptr %29, align 4, !tbaa !9
  %476 = sext i32 %475 to i64
  %477 = sdiv i64 %473, %476
  %478 = trunc i64 %477 to i32
  store i32 %478, ptr %63, align 4, !tbaa !9
  %479 = invoke noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %480 unwind label %468

480:                                              ; preds = %474
  %481 = load i32, ptr %29, align 4, !tbaa !9
  %482 = sext i32 %481 to i64
  %483 = srem i64 %479, %482
  %484 = trunc i64 %483 to i32
  store i32 %484, ptr %64, align 4, !tbaa !9
  br label %485

485:                                              ; preds = %480, %459
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #8
  %486 = load i32, ptr %63, align 4, !tbaa !9
  %487 = load i32, ptr %46, align 4, !tbaa !9
  %488 = mul nsw i32 %486, %487
  store i32 %488, ptr %65, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #8
  %489 = load i32, ptr %64, align 4, !tbaa !9
  %490 = load i32, ptr %46, align 4, !tbaa !9
  %491 = mul nsw i32 %489, %490
  store i32 %491, ptr %66, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  store i32 0, ptr %67, align 4, !tbaa !9
  br label %492

492:                                              ; preds = %506, %485
  %493 = load i32, ptr %67, align 4, !tbaa !9
  %494 = load i32, ptr %46, align 4, !tbaa !9
  %495 = icmp slt i32 %493, %494
  br i1 %495, label %497, label %496

496:                                              ; preds = %492
  store i32 26, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %513

497:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #8
  %498 = load i32, ptr %65, align 4, !tbaa !9
  %499 = load i32, ptr %67, align 4, !tbaa !9
  %500 = add nsw i32 %498, %499
  store i32 %500, ptr %68, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #8
  %501 = load i32, ptr %66, align 4, !tbaa !9
  %502 = load i32, ptr %67, align 4, !tbaa !9
  %503 = add nsw i32 %501, %502
  store i32 %503, ptr %69, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %70) #8
  invoke void @_ZN5Eigen7TripletIdiEC2ERKiS3_RKd(ptr noundef nonnull align 8 dereferenceable(16) %70, ptr noundef nonnull align 4 dereferenceable(4) %68, ptr noundef nonnull align 4 dereferenceable(4) %69, ptr noundef nonnull align 8 dereferenceable(8) %62)
          to label %504 unwind label %509

504:                                              ; preds = %497
  invoke void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %58, ptr noundef nonnull align 8 dereferenceable(16) %70)
          to label %505 unwind label %509

505:                                              ; preds = %504
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  br label %506

506:                                              ; preds = %505
  %507 = load i32, ptr %67, align 4, !tbaa !9
  %508 = add nsw i32 %507, 1
  store i32 %508, ptr %67, align 4, !tbaa !9
  br label %492, !llvm.loop !34

509:                                              ; preds = %504, %497
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %9, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #8
  br label %517

513:                                              ; preds = %496
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  br label %514

514:                                              ; preds = %513
  %515 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorppEv(ptr noundef nonnull align 8 dereferenceable(40) %61)
          to label %516 unwind label %439

516:                                              ; preds = %514
  br label %435, !llvm.loop !35

517:                                              ; preds = %509, %468
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  br label %518

518:                                              ; preds = %517, %464
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  br label %519

519:                                              ; preds = %518, %439
  call void @llvm.lifetime.end.p0(i64 40, ptr %61) #8
  br label %524

520:                                              ; preds = %438
  br label %521

521:                                              ; preds = %520
  %522 = load i32, ptr %60, align 4, !tbaa !9
  %523 = add nsw i32 %522, 1
  store i32 %523, ptr %60, align 4, !tbaa !9
  br label %410, !llvm.loop !36

524:                                              ; preds = %519, %426
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  br label %551

525:                                              ; preds = %417
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #8
  %526 = call ptr @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %527 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %71, i32 0, i32 0
  store ptr %526, ptr %527, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  %528 = call ptr @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %529 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %72, i32 0, i32 0
  store ptr %528, ptr %529, align 8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiE15setFromTripletsIN9__gnu_cxx17__normal_iteratorIPNS_7TripletIdiEESt6vectorIS6_SaIS6_EEEEEEvRKT_SE_(ptr noundef nonnull align 8 dereferenceable(72) %57, ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %530 unwind label %543

530:                                              ; preds = %525
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiE14makeCompressedEv(ptr noundef nonnull align 8 dereferenceable(72) %57)
          to label %531 unwind label %547

531:                                              ; preds = %530
  %532 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 4 dereferenceable(4) %50)
          to label %533 unwind label %547

533:                                              ; preds = %531
  %534 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %532, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %535 unwind label %547

535:                                              ; preds = %533
  %536 = load i32, ptr %56, align 4, !tbaa !9
  %537 = zext i32 %536 to i64
  %538 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %534, i64 noundef %537) #8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiE4swapERS1_(ptr noundef nonnull align 8 dereferenceable(72) %538, ptr noundef nonnull align 8 dereferenceable(72) %57)
          to label %539 unwind label %547

539:                                              ; preds = %535
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  call void @_ZN5Eigen12SparseMatrixIdLi0EiED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %57) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %57) #8
  br label %540

540:                                              ; preds = %539
  %541 = load i32, ptr %56, align 4, !tbaa !9
  %542 = add i32 %541, 1
  store i32 %542, ptr %56, align 4, !tbaa !9
  br label %379, !llvm.loop !37

543:                                              ; preds = %525
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %9, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #8
  br label %551

547:                                              ; preds = %535, %533, %531, %530
  %548 = landingpad { ptr, i32 }
          cleanup
  %549 = extractvalue { ptr, i32 } %548, 0
  store ptr %549, ptr %9, align 8
  %550 = extractvalue { ptr, i32 } %548, 1
  store i32 %550, ptr %10, align 4
  br label %551

551:                                              ; preds = %547, %543, %524
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  br label %552

552:                                              ; preds = %551, %422
  call void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  call void @_ZN5Eigen12SparseMatrixIdLi0EiED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %57) #8
  br label %553

553:                                              ; preds = %552, %418
  call void @llvm.lifetime.end.p0(i64 72, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %562

554:                                              ; preds = %385
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  br label %555

555:                                              ; preds = %554
  %556 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  br label %367, !llvm.loop !38

557:                                              ; preds = %372
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  br label %558

558:                                              ; preds = %557
  %559 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %349, !llvm.loop !39

560:                                              ; preds = %353
  store i1 true, ptr %11, align 1
  store i32 1, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  %561 = load i1, ptr %11, align 1
  br i1 %561, label %567, label %566

562:                                              ; preds = %553, %354
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #8
  br label %563

563:                                              ; preds = %562, %335, %318, %300
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %564

564:                                              ; preds = %563, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %565

565:                                              ; preds = %564, %279
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %568

566:                                              ; preds = %560
  call void @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  br label %567

567:                                              ; preds = %566, %560
  ret void

568:                                              ; preds = %565, %204, %152, %131
  call void @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  br label %569

569:                                              ; preds = %568, %88
  %570 = load ptr, ptr %9, align 8
  %571 = load i32, ptr %10, align 4
  %572 = insertvalue { ptr, i32 } poison, ptr %570, 0
  %573 = insertvalue { ptr, i32 } %572, i32 %571, 1
  resume { ptr, i32 } %573
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13lin_to_tensorRK5LinOp(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8, ptr noundef nonnull align 8 dereferenceable(193)) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.4") align 8, ptr noundef nonnull align 8 dereferenceable(193)) #2 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiED2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiE4swapERS1_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiEC2Ell(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE4rowsEv(ptr noundef nonnull align 8 dereferenceable(72)) #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE9outerSizeEv(ptr noundef nonnull align 8 dereferenceable(72)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorC2ERKS3_l(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator5valueEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen7TripletIdiEC2ERKiS3_RKd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorppEv(ptr noundef nonnull align 8 dereferenceable(40)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiE15setFromTripletsIN9__gnu_cxx17__normal_iteratorIPNS_7TripletIdiEESt6vectorIS6_SaIS6_EEEEEEvRKT_SE_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(193)) #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5LinOp13get_data_ndimEv(ptr noundef nonnull align 8 dereferenceable(193)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i8, ptr } @_ZNK5Eigen16SparseMatrixBaseINS_12SparseMatrixIdLi0EiEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1)) #2 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN5Eigen12SparseMatrixIdLi0EiEaSINS_9TransposeIKS1_EEEERS1_RKNS_16SparseMatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 1 dereferenceable(1)) #6 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSSt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EESt4lessIiESaIS_IS0_S7_EEEE", !10, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEESt10_Select1stIS8_ESt4lessIiESaIS8_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEESt10_Select1stIS8_ESt4lessIiESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIiE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTSSt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS4_EEE", !10, i64 0, !24, i64 8}
!24 = !{!"_ZTSSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = distinct !{!30, !29}
!31 = distinct !{!31, !29}
!32 = !{!33, !33, i64 0}
!33 = !{!"double", !7, i64 0}
!34 = distinct !{!34, !29}
!35 = distinct !{!35, !29}
!36 = distinct !{!36, !29}
!37 = distinct !{!37, !29}
!38 = distinct !{!38, !29}
!39 = distinct !{!39, !29}


; 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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<int, std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>, std::_Select1st<std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>>, std::less<int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<int, std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>, std::_Select1st<std::pair<const int, std::map<int, std::vector<Eigen::SparseMatrix<double>>>>>, std::less<int>>::_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<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl" }
%"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const LinOp *, std::allocator<const LinOp *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"class.Eigen::Transpose" = type { %"class.Eigen::TransposeImpl", ptr }
%"class.Eigen::TransposeImpl" = type { %"class.Eigen::internal::SparseTransposeImpl" }
%"class.Eigen::internal::SparseTransposeImpl" = type { %"class.Eigen::SparseCompressedBase.53" }
%"class.Eigen::SparseCompressedBase.53" = type { %"class.Eigen::SparseMatrixBase.54" }
%"class.Eigen::SparseMatrixBase.54" = type { i8 }
%"class.Eigen::SparseMatrix" = type { %"class.Eigen::SparseCompressedBase", i64, i64, ptr, ptr, %"class.Eigen::internal::CompressedStorage" }
%"class.Eigen::SparseCompressedBase" = type { %"class.Eigen::SparseMatrixBase" }
%"class.Eigen::SparseMatrixBase" = type { i8 }
%"class.Eigen::internal::CompressedStorage" = type { ptr, ptr, i64, i64 }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Eigen::Triplet<double>, std::allocator<Eigen::Triplet<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Eigen::SparseCompressedBase<Eigen::SparseMatrix<double>>::InnerIterator" = type { ptr, ptr, %"class.Eigen::internal::variable_if_dynamic", i64, i64 }
%"class.Eigen::internal::variable_if_dynamic" = type { i64 }
%"class.Eigen::Triplet" = type { i32, i32, double }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@.str.5 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._Z12get_rmul_matRK5LinOpi = external hidden unnamed_addr constant [40 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [42 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5LinOp8get_typeEv(ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #0 align 2

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) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z12get_rmul_matRK5LinOpi(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8 %0, ptr noundef nonnull align 8 dereferenceable(193) %1, i32 noundef %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::vector.4", align 8
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::vector.4", align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %12 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.Eigen::Transpose", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca %"class.std::vector.4", align 8
  %21 = alloca %"class.std::vector", align 8
  %22 = alloca %"class.std::vector.4", align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca %"class.std::vector.4", align 8
  %25 = alloca %"class.std::vector", align 8
  %26 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %30 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %31 = alloca i32, align 4
  %32 = alloca %"class.Eigen::SparseMatrix", align 8
  %33 = alloca %"class.std::vector.33", align 8
  %34 = alloca %"class.Eigen::SparseCompressedBase<Eigen::SparseMatrix<double>>::InnerIterator", align 8
  %35 = alloca double, align 8
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %"class.Eigen::Triplet", align 8
  %39 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %41 = tail call noundef i32 @_ZNK5LinOp8get_typeEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  %42 = icmp eq i32 %41, 4
  br i1 %42, label %44, label %43

43:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.5, i32 noundef 802, ptr noundef nonnull @__PRETTY_FUNCTION__._Z12get_rmul_matRK5LinOpi) #7
  unreachable

44:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.4") align 8 %5, ptr noundef nonnull align 8 dereferenceable(193) %1)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #8
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %4, ptr noundef nonnull align 8 dereferenceable(193) %46)
          to label %47 unwind label %50

47:                                               ; preds = %44
  %48 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  %.not = icmp eq i64 %48, 0
  br i1 %.not, label %49, label %52

49:                                               ; preds = %47
  call void @__assert_fail(ptr noundef nonnull @.str.23, ptr noundef nonnull @.str.5, i32 noundef 804, ptr noundef nonnull @__PRETTY_FUNCTION__._Z12get_rmul_matRK5LinOpi) #7
  unreachable

50:                                               ; preds = %44
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  br label %287

52:                                               ; preds = %47
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #8
  %53 = call noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  call void @_Z13lin_to_tensorRK5LinOp(ptr dead_on_unwind writable sret(%"class.std::map") align 8 %0, ptr noundef nonnull align 8 dereferenceable(193) %53)
  %54 = call noundef i32 @_ZNK5LinOp13get_data_ndimEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %56, label %.critedge133.thread

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #8
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.4") align 8 %7, ptr noundef nonnull align 8 dereferenceable(193) %1)
          to label %57 unwind label %67

57:                                               ; preds = %56
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #8
  %59 = load ptr, ptr %58, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %6, ptr noundef nonnull align 8 dereferenceable(193) %59)
          to label %.critedge133 unwind label %69

.critedge133:                                     ; preds = %57
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 0) #8
  %61 = load i32, ptr %60, align 4, !tbaa !9
  %.not140 = icmp eq i32 %61, 1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  br i1 %.not140, label %.critedge133.thread, label %62

62:                                               ; preds = %.critedge133
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %63 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  store ptr %63, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %64 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  store ptr %64, ptr %9, align 8
  %65 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br i1 %65, label %.lr.ph146, label %._crit_edge147

.lr.ph146:                                        ; preds = %62
  %66 = getelementptr inbounds i8, ptr %14, i64 8
  br label %72

._crit_edge147:                                   ; preds = %._crit_edge144, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %.critedge133.thread

67:                                               ; preds = %56
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %71

69:                                               ; preds = %57
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  br label %71

71:                                               ; preds = %67, %69
  %.pn = phi { ptr, i32 } [ %70, %69 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  br label %286

72:                                               ; preds = %.lr.ph146, %._crit_edge144
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #8
  %73 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %74 = load i32, ptr %73, align 8, !tbaa !11
  store i32 %74, ptr %10, align 4, !tbaa !9
  %75 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %77 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %76) #8
  store ptr %77, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %78 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %76) #8
  store ptr %78, ptr %12, align 8
  %79 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br i1 %79, label %.lr.ph143, label %._crit_edge144

._crit_edge144:                                   ; preds = %._crit_edge, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  %81 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  store ptr %81, ptr %9, align 8
  %82 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br i1 %82, label %72, label %._crit_edge147, !llvm.loop !22

.lr.ph143:                                        ; preds = %72, %._crit_edge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  %83 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %84 = load i32, ptr %83, align 8, !tbaa !24
  store i32 %84, ptr %13, align 4, !tbaa !9
  %85 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  %86 = getelementptr inbounds i8, ptr %85, i64 8
  %87 = call noundef i64 @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #8
  %.not170 = icmp eq i64 %87, 0
  br i1 %.not170, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %103, %.lr.ph143
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %89 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %76) #8
  store ptr %89, ptr %12, align 8
  %90 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br i1 %90, label %.lr.ph143, label %._crit_edge144, !llvm.loop !30

.lr.ph:                                           ; preds = %.lr.ph143, %103
  %91 = phi i64 [ %105, %103 ], [ 0, %.lr.ph143 ]
  %.0103141 = phi i32 [ %104, %103 ], [ 0, %.lr.ph143 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #8
  %92 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %91) #8
  %93 = invoke { i8, ptr } @_ZNK5Eigen16SparseMatrixBaseINS_12SparseMatrixIdLi0EiEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1) %92)
          to label %94 unwind label %108

94:                                               ; preds = %.lr.ph
  %95 = extractvalue { i8, ptr } %93, 0
  store i8 %95, ptr %14, align 8
  %96 = extractvalue { i8, ptr } %93, 1
  store ptr %96, ptr %66, align 8
  %97 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %98 unwind label %108

98:                                               ; preds = %94
  %99 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %97, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %100 unwind label %108

100:                                              ; preds = %98
  %101 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %91) #8
  %102 = invoke noundef nonnull align 8 dereferenceable(72) ptr @_ZN5Eigen12SparseMatrixIdLi0EiEaSINS_9TransposeIKS1_EEEERS1_RKNS_16SparseMatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(72) %101, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %103 unwind label %108

103:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  %104 = add i32 %.0103141, 1
  %105 = zext i32 %104 to i64
  %106 = call noundef i64 @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %86) #8
  %107 = icmp ugt i64 %106, %105
  br i1 %107, label %.lr.ph, label %._crit_edge, !llvm.loop !31

108:                                              ; preds = %100, %98, %94, %.lr.ph
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %286

.critedge133.thread:                              ; preds = %52, %._crit_edge147, %.critedge133
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #8
  %110 = call noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %15, ptr noundef nonnull align 8 dereferenceable(193) %110)
          to label %111 unwind label %135

111:                                              ; preds = %.critedge133.thread
  %112 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  %.not108.not = icmp eq i64 %112, 0
  br i1 %.not108.not, label %.critedge135, label %113

113:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  %114 = call noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %16, ptr noundef nonnull align 8 dereferenceable(193) %114)
          to label %115 unwind label %137

115:                                              ; preds = %113
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef 0) #8
  %117 = load i32, ptr %116, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  br label %.critedge135

.critedge135:                                     ; preds = %111, %115
  %118 = phi i32 [ %117, %115 ], [ 1, %111 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #8
  %119 = call noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %17, ptr noundef nonnull align 8 dereferenceable(193) %119)
          to label %120 unwind label %140

120:                                              ; preds = %.critedge135
  %121 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  %122 = icmp ugt i64 %121, 1
  br i1 %122, label %123, label %.critedge137

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #8
  %124 = call noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193) %1)
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %18, ptr noundef nonnull align 8 dereferenceable(193) %124)
          to label %125 unwind label %142

125:                                              ; preds = %123
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #8
  %127 = load i32, ptr %126, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  br label %.critedge137

.critedge137:                                     ; preds = %120, %125
  %128 = phi i32 [ %127, %125 ], [ 1, %120 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #8
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.4") align 8 %20, ptr noundef nonnull align 8 dereferenceable(193) %1)
          to label %129 unwind label %145

129:                                              ; preds = %.critedge137
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 0) #8
  %131 = load ptr, ptr %130, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %19, ptr noundef nonnull align 8 dereferenceable(193) %131)
          to label %132 unwind label %147

132:                                              ; preds = %129
  %133 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  %134 = icmp eq i64 %133, 0
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  br i1 %134, label %175, label %150

135:                                              ; preds = %.critedge133.thread
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %139

137:                                              ; preds = %113
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  br label %139

139:                                              ; preds = %137, %135
  %.pn109 = phi { ptr, i32 } [ %138, %137 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #8
  br label %286

140:                                              ; preds = %.critedge135
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %144

142:                                              ; preds = %123
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %144

144:                                              ; preds = %142, %140
  %.pn111 = phi { ptr, i32 } [ %143, %142 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #8
  br label %286

145:                                              ; preds = %.critedge137
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %149

147:                                              ; preds = %129
  %148 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %149

149:                                              ; preds = %147, %145
  %.pn113 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #8
  br label %286

150:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #8
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.4") align 8 %22, ptr noundef nonnull align 8 dereferenceable(193) %1)
          to label %151 unwind label %157

151:                                              ; preds = %150
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #8
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %21, ptr noundef nonnull align 8 dereferenceable(193) %153)
          to label %154 unwind label %159

154:                                              ; preds = %151
  %155 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %156 = icmp eq i64 %155, 1
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  br i1 %156, label %175, label %162

157:                                              ; preds = %150
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %161

159:                                              ; preds = %151
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %161

161:                                              ; preds = %159, %157
  %.pn115 = phi { ptr, i32 } [ %160, %159 ], [ %158, %157 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %21) #8
  br label %286

162:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #8
  invoke void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.4") align 8 %24, ptr noundef nonnull align 8 dereferenceable(193) %1)
          to label %163 unwind label %170

163:                                              ; preds = %162
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIPK5LinOpSaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #8
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %23, ptr noundef nonnull align 8 dereferenceable(193) %165)
          to label %166 unwind label %172

166:                                              ; preds = %163
  %167 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #8
  %168 = load i32, ptr %167, align 4, !tbaa !9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  %169 = freeze i32 %168
  br label %175

170:                                              ; preds = %162
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %174

172:                                              ; preds = %163
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPK5LinOpSaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #8
  br label %174

174:                                              ; preds = %172, %170
  %.pn117 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #8
  br label %286

175:                                              ; preds = %154, %132, %166
  %.097 = phi i32 [ %169, %166 ], [ 1, %132 ], [ 1, %154 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #8
  invoke void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %25, ptr noundef nonnull align 8 dereferenceable(193) %1)
          to label %176 unwind label %189

176:                                              ; preds = %175
  %177 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  %.not119 = icmp eq i64 %177, 0
  %178 = select i1 %.not119, i32 1, i32 %.097
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %179 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  store ptr %179, ptr %26, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %180 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  store ptr %180, ptr %27, align 8
  %181 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br i1 %181, label %.lr.ph168, label %._crit_edge169

.lr.ph168:                                        ; preds = %176
  %182 = mul nsw i32 %178, %128
  %183 = sext i32 %182 to i64
  %184 = mul nsw i32 %178, %118
  %185 = sext i32 %184 to i64
  %186 = sext i32 %178 to i64
  %187 = sext i32 %118 to i64
  %188 = icmp sgt i32 %178, 0
  br label %191

._crit_edge169:                                   ; preds = %._crit_edge166, %176
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  ret void

189:                                              ; preds = %175
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #8
  br label %286

191:                                              ; preds = %.lr.ph168, %._crit_edge166
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #8
  %192 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %193 = load i32, ptr %192, align 8, !tbaa !11
  store i32 %193, ptr %28, align 4, !tbaa !9
  %194 = call noundef ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %195 = getelementptr inbounds i8, ptr %194, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  %196 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %195) #8
  store ptr %196, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %197 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %195) #8
  store ptr %197, ptr %30, align 8
  %198 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  br i1 %198, label %.lr.ph165, label %._crit_edge166

._crit_edge166:                                   ; preds = %._crit_edge163, %191
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #8
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %200 = call ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  store ptr %200, ptr %27, align 8
  %201 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br i1 %201, label %191, label %._crit_edge169, !llvm.loop !32

.lr.ph165:                                        ; preds = %191, %._crit_edge163
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %31) #8
  %202 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %203 = load i32, ptr %202, align 8, !tbaa !24
  store i32 %203, ptr %31, align 4, !tbaa !9
  %204 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %205 = getelementptr inbounds i8, ptr %204, i64 8
  %206 = call noundef i64 @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #8
  %.not172 = icmp eq i64 %206, 0
  br i1 %.not172, label %._crit_edge163, label %.lr.ph162

._crit_edge163:                                   ; preds = %275, %.lr.ph165
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %208 = call ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %195) #8
  store ptr %208, ptr %30, align 8
  %209 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  br i1 %209, label %.lr.ph165, label %._crit_edge166, !llvm.loop !33

.lr.ph162:                                        ; preds = %.lr.ph165, %275
  %210 = phi i64 [ %277, %275 ], [ 0, %.lr.ph165 ]
  %.093160 = phi i32 [ %276, %275 ], [ 0, %.lr.ph165 ]
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %32) #8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiEC2Ell(ptr noundef nonnull align 8 dereferenceable(72) %32, i64 noundef %183, i64 noundef %185)
          to label %211 unwind label %246

211:                                              ; preds = %.lr.ph162
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33) #8
  call void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  %212 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %205, i64 noundef %210) #8
  %213 = invoke noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE8nonZerosEv(ptr noundef nonnull align 1 dereferenceable(1) %212)
          to label %214 unwind label %248

214:                                              ; preds = %211
  %215 = mul nsw i64 %213, %186
  invoke void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %215)
          to label %216 unwind label %248

216:                                              ; preds = %214
  %217 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %205, i64 noundef %210) #8
  %218 = call noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE9outerSizeEv(ptr noundef nonnull align 8 dereferenceable(72) %217)
  %219 = icmp sgt i64 %218, 0
  br i1 %219, label %.lr.ph156, label %._crit_edge157

.lr.ph156:                                        ; preds = %216
  br i1 %188, label %.lr.ph156.split.us, label %.lr.ph156.split

.lr.ph156.split.us:                               ; preds = %.lr.ph156, %._crit_edge153.split.us.us
  %indvars.iv175 = phi i64 [ %indvars.iv.next176, %._crit_edge153.split.us.us ], [ 0, %.lr.ph156 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %34) #8
  invoke void @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorC2ERKS3_l(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull align 1 dereferenceable(1) %217, i64 noundef %indvars.iv175)
          to label %.preheader.us unwind label %.split.us158

._crit_edge153.split.us.us:                       ; preds = %._crit_edge151.us.us, %.preheader.us
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #8
  %indvars.iv.next176 = add nuw nsw i64 %indvars.iv175, 1
  %220 = call noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE9outerSizeEv(ptr noundef nonnull align 8 dereferenceable(72) %217)
  %221 = icmp sgt i64 %220, %indvars.iv.next176
  br i1 %221, label %.lr.ph156.split.us, label %._crit_edge157, !llvm.loop !34

.preheader.us:                                    ; preds = %.lr.ph156.split.us
  %222 = call noundef zeroext i1 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorcvbEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br i1 %222, label %.lr.ph152.us, label %._crit_edge153.split.us.us

.lr.ph152.us:                                     ; preds = %.preheader.us, %._crit_edge151.us.us
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #8
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator5valueEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %224 = load double, ptr %223, align 8, !tbaa !35
  store double %224, ptr %35, align 8, !tbaa !35
  %225 = call noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE4rowsEv(ptr noundef nonnull align 8 dereferenceable(72) %217)
  %226 = icmp eq i64 %225, 1
  br i1 %226, label %230, label %227

227:                                              ; preds = %.lr.ph152.us
  %228 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %229 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br label %.lr.ph150.us.us

230:                                              ; preds = %.lr.ph152.us
  %231 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %232 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br label %.lr.ph150.us.us

.lr.ph150.us.us:                                  ; preds = %230, %227
  %.pn178 = phi i64 [ %231, %230 ], [ %228, %227 ]
  %.pn179 = phi i64 [ %232, %230 ], [ %229, %227 ]
  %.090.in.us.us = srem i64 %.pn179, %187
  %.091.in.us.us = sdiv i64 %.pn178, %187
  %.090.us.us = trunc nsw i64 %.090.in.us.us to i32
  %.091.us.us = trunc i64 %.091.in.us.us to i32
  %233 = mul nsw i32 %178, %.091.us.us
  %234 = mul nsw i32 %178, %.090.us.us
  br label %235

235:                                              ; preds = %238, %.lr.ph150.us.us
  %.0148.us.us = phi i32 [ 0, %.lr.ph150.us.us ], [ %239, %238 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #8
  %236 = add nsw i32 %.0148.us.us, %233
  store i32 %236, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #8
  %237 = add nsw i32 %.0148.us.us, %234
  store i32 %237, ptr %37, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %38) #8
  call void @_ZN5Eigen7TripletIdiEC2ERKiS3_RKd(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 8 dereferenceable(8) %35)
  invoke void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(16) %38)
          to label %238 unwind label %.split.us.split.us

238:                                              ; preds = %235
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #8
  %239 = add nuw nsw i32 %.0148.us.us, 1
  %exitcond.not = icmp eq i32 %239, %178
  br i1 %exitcond.not, label %._crit_edge151.us.us, label %235, !llvm.loop !37

._crit_edge151.us.us:                             ; preds = %238
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  %240 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorppEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %241 = call noundef zeroext i1 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorcvbEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br i1 %241, label %.lr.ph152.us, label %._crit_edge153.split.us.us, !llvm.loop !38

.split.us158:                                     ; preds = %.lr.ph156.split.us
  %242 = landingpad { ptr, i32 }
          cleanup
  br label %267

.split.us.split.us:                               ; preds = %235
  %243 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  br label %267

._crit_edge157:                                   ; preds = %._crit_edge153.split, %._crit_edge153.split.us.us, %216
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #8
  %244 = call ptr @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %244, ptr %39, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #8
  %245 = call ptr @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %245, ptr %40, align 8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiE15setFromTripletsIN9__gnu_cxx17__normal_iteratorIPNS_7TripletIdiEESt6vectorIS6_SaIS6_EEEEEEvRKT_SE_(ptr noundef nonnull align 8 dereferenceable(72) %32, ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40)
          to label %268 unwind label %280

246:                                              ; preds = %.lr.ph162
  %247 = landingpad { ptr, i32 }
          cleanup
  br label %285

248:                                              ; preds = %214, %211
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %284

.lr.ph156.split:                                  ; preds = %.lr.ph156, %._crit_edge153.split
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge153.split ], [ 0, %.lr.ph156 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %34) #8
  invoke void @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorC2ERKS3_l(ptr noundef nonnull align 8 dereferenceable(40) %34, ptr noundef nonnull align 1 dereferenceable(1) %217, i64 noundef %indvars.iv)
          to label %.preheader unwind label %.split

.preheader:                                       ; preds = %.lr.ph156.split
  %250 = call noundef zeroext i1 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorcvbEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br i1 %250, label %.lr.ph152, label %._crit_edge153.split

._crit_edge153.split:                             ; preds = %264, %.preheader
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %251 = call noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE9outerSizeEv(ptr noundef nonnull align 8 dereferenceable(72) %217)
  %252 = icmp sgt i64 %251, %indvars.iv.next
  br i1 %252, label %.lr.ph156.split, label %._crit_edge157, !llvm.loop !34

.split:                                           ; preds = %.lr.ph156.split
  %253 = landingpad { ptr, i32 }
          cleanup
  br label %267

.lr.ph152:                                        ; preds = %.preheader, %264
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %35) #8
  %254 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator5valueEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %255 = load double, ptr %254, align 8, !tbaa !35
  store double %255, ptr %35, align 8, !tbaa !35
  %256 = call noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE4rowsEv(ptr noundef nonnull align 8 dereferenceable(72) %217)
  %257 = icmp eq i64 %256, 1
  br i1 %257, label %258, label %261

258:                                              ; preds = %.lr.ph152
  %259 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %260 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br label %264

261:                                              ; preds = %.lr.ph152
  %262 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %263 = call noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br label %264

264:                                              ; preds = %261, %258
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %35) #8
  %265 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorppEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  %266 = call noundef zeroext i1 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorcvbEv(ptr noundef nonnull align 8 dereferenceable(40) %34)
  br i1 %266, label %.lr.ph152, label %._crit_edge153.split, !llvm.loop !38

267:                                              ; preds = %.split, %.split.us158, %.split.us.split.us
  %.pn120 = phi { ptr, i32 } [ %243, %.split.us.split.us ], [ %253, %.split ], [ %242, %.split.us158 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %34) #8
  br label %284

268:                                              ; preds = %._crit_edge157
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiE14makeCompressedEv(ptr noundef nonnull align 8 dereferenceable(72) %32)
          to label %269 unwind label %282

269:                                              ; preds = %268
  %270 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 4 dereferenceable(4) %28)
          to label %271 unwind label %282

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48) %270, ptr noundef nonnull align 4 dereferenceable(4) %31)
          to label %273 unwind label %282

273:                                              ; preds = %271
  %274 = call noundef nonnull align 8 dereferenceable(72) ptr @_ZNSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %272, i64 noundef %210) #8
  invoke void @_ZN5Eigen12SparseMatrixIdLi0EiE4swapERS1_(ptr noundef nonnull align 8 dereferenceable(72) %274, ptr noundef nonnull align 8 dereferenceable(72) %32)
          to label %275 unwind label %282

275:                                              ; preds = %273
  call void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  call void @_ZN5Eigen12SparseMatrixIdLi0EiED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %32) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %32) #8
  %276 = add i32 %.093160, 1
  %277 = zext i32 %276 to i64
  %278 = call noundef i64 @_ZNKSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %205) #8
  %279 = icmp ugt i64 %278, %277
  br i1 %279, label %.lr.ph162, label %._crit_edge163, !llvm.loop !39

280:                                              ; preds = %._crit_edge157
  %281 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %284

282:                                              ; preds = %273, %271, %269, %268
  %283 = landingpad { ptr, i32 }
          cleanup
  br label %284

284:                                              ; preds = %267, %280, %282, %248
  %.pn120.pn.pn = phi { ptr, i32 } [ %249, %248 ], [ %.pn120, %267 ], [ %283, %282 ], [ %281, %280 ]
  call void @_ZNSt6vectorIN5Eigen7TripletIdiEESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %33) #8
  call void @_ZN5Eigen12SparseMatrixIdLi0EiED2Ev(ptr noundef nonnull align 8 dereferenceable(72) %32) #8
  br label %285

285:                                              ; preds = %284, %246
  %.pn120.pn.pn.pn = phi { ptr, i32 } [ %.pn120.pn.pn, %284 ], [ %247, %246 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  br label %286

286:                                              ; preds = %139, %149, %161, %174, %285, %189, %144, %71, %108
  %.pn129 = phi { ptr, i32 } [ %109, %108 ], [ %.pn, %71 ], [ %.pn109, %139 ], [ %.pn111, %144 ], [ %.pn117, %174 ], [ %.pn115, %161 ], [ %.pn113, %149 ], [ %.pn120.pn.pn.pn, %285 ], [ %190, %189 ]
  call void @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %0) #8
  br label %287

287:                                              ; preds = %286, %50
  %.pn129.pn = phi { ptr, i32 } [ %.pn129, %286 ], [ %51, %50 ]
  resume { ptr, i32 } %.pn129.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13lin_to_tensorRK5LinOp(ptr dead_on_unwind noalias writable sret(%"class.std::map") align 8, ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5LinOp8get_argsEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.4") align 8, ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEEixERS9_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiED2Ev(ptr noundef nonnull align 8 dereferenceable(72)) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiE4swapERS1_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiEC2Ell(ptr noundef nonnull align 8 dereferenceable(72), i64 noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE4rowsEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen12SparseMatrixIdLi0EiE9outerSizeEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorC2ERKS3_l(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 1 dereferenceable(1), i64 noundef) unnamed_addr #2 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3colEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator3rowEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIterator5valueEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5Eigen7TripletIdiEC2ERKiS3_RKd(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN5Eigen20SparseCompressedBaseINS_12SparseMatrixIdLi0EiEEE13InnerIteratorppEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiE15setFromTripletsIN9__gnu_cxx17__normal_iteratorIPNS_7TripletIdiEESt6vectorIS6_SaIS6_EEEEEEvRKT_SE_(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Eigen12SparseMatrixIdLi0EiE14makeCompressedEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK5LinOp14get_linOp_dataEv(ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK5LinOp9get_shapeEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #2 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS6_EESt4lessIiESaIS0_IS1_S8_EEEEESH_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt3mapIiS_IiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEES7_SaIS8_IS9_SC_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEEESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNKSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #0 align 2

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5LinOp13get_data_ndimEv(ptr noundef nonnull align 8 dereferenceable(193)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { i8, ptr } @_ZNK5Eigen16SparseMatrixBaseINS_12SparseMatrixIdLi0EiEEE9transposeEv(ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress noinline uwtable
declare dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN5Eigen12SparseMatrixIdLi0EiEaSINS_9TransposeIKS1_EEEERS1_RKNS_16SparseMatrixBaseIT_EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #6 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSSt4pairIKiSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EESt4lessIiESaIS_IS0_S7_EEEE", !10, i64 0, !13, i64 8}
!13 = !{!"_ZTSSt3mapIiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS3_EESt4lessIiESaISt4pairIKiS5_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIiSt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEESt10_Select1stIS8_ESt4lessIiESaIS8_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIiSt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS5_EEESt10_Select1stIS8_ESt4lessIiESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIiEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIiE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !10, i64 0}
!25 = !{!"_ZTSSt4pairIKiSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS4_EEE", !10, i64 0, !26, i64 8}
!26 = !{!"_ZTSSt6vectorIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN5Eigen12SparseMatrixIdLi0EiEESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}
!32 = distinct !{!32, !23}
!33 = distinct !{!33, !23}
!34 = distinct !{!34, !23}
!35 = !{!36, !36, i64 0}
!36 = !{!"double", !7, i64 0}
!37 = distinct !{!37, !23}
!38 = distinct !{!38, !23}
!39 = distinct !{!39, !23}


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