; LLVM IR from INMOST-DEV/INMOST-FEM :: anifem++/fem (fem_space)

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

%"struct.std::array.6" = type { [12 x i8] }
%"struct.Ani::ApplyOpFromSpaceView" = type { %"struct.Ani::ApplyOpBase", ptr, i32, i32, i32, i32 }
%"struct.Ani::ApplyOpBase" = type { ptr }
%"struct.Ani::PlainMemoryX" = type { ptr, ptr, ptr, i64, i64, i64 }
%"struct.Ani::DofT::DofSparsedIterator" = type <{ %"struct.Ani::DofT::TetGeomSparsity", %"struct.Ani::DofT::LocalOrder", ptr, i8, [7 x i8] }>
%"struct.Ani::DofT::TetGeomSparsity" = type { %"struct.std::array" }
%"struct.std::array" = type { [4 x i8] }
%"struct.Ani::DofT::LocalOrder" = type { i32, i32, i8, i8, i8, i8 }
%struct.SegmentQuadFormula = type { i32, %"struct.std::array.2", ptr, ptr }
%"struct.std::array.2" = type { [2 x i32] }
%struct.TriangleQuadFormula = type { i32, %"struct.std::array.3", ptr, ptr }
%"struct.std::array.3" = type { [3 x i32] }
%struct.TetraQuadFormula = type { i32, %"struct.std::array.4", ptr, ptr }
%"struct.std::array.4" = type { [5 x i32] }
%"struct.Ani::ArrayView" = type { ptr, i64 }
%"struct.Ani::GenSpace" = type { %"struct.Ani::FemTraitsT" }
%"struct.Ani::FemTraitsT" = type { %"struct.Ani::FemTraits" }
%"struct.Ani::FemTraits" = type { %"struct.Ani::UniteFemSpace" }
%"struct.Ani::UniteFemSpace" = type { %"struct.Ani::BaseFemSpace" }
%"struct.Ani::BaseFemSpace" = type { ptr, %"struct.Ani::DofT::DofMap" }
%"struct.Ani::DofT::DofMap" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.anon = type { ptr }
%class.anon.5 = type { ptr }
%"struct.SegmentQuadFormula::PW" = type { %"struct.std::array.7", double }
%"struct.std::array.7" = type { [2 x double] }
%"struct.TriangleQuadFormula::PW" = type { %"struct.std::array.8", double }
%"struct.std::array.8" = type { [3 x double] }
%"struct.Ani::DenseMatrix.9" = type { ptr, i64, i64, i64 }
%class.anon.10 = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_j = external hidden unnamed_addr constant [155 x i8], align 1
@_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jE10lookup_nds = external hidden constant %"struct.std::array.6", align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #2

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3Ani12BaseFemSpace5getOPENS_12OperatorTypeE(ptr dead_on_unwind noalias writable sret(%"struct.Ani::ApplyOpFromSpaceView") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3Ani12BaseFemSpace27interpolateOnRegion_mem_reqEhj(ptr dead_on_unwind noalias writable sret(%"struct.Ani::PlainMemoryX") align 8, ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext, i32 noundef) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT15TetGeomSparsityC2Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #5 align 2

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setNodeEi(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3Ani4DofT6DofMap15beginBySparsityERKNS0_15TetGeomSparsityEb(ptr dead_on_unwind noalias writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(4), i1 noundef zeroext) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(25)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind noalias writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8, ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN3Ani4DofT13DimToGeomTypeEi(i32 noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN3Ani4DofT11GeomTypeDimEh(i8 noundef zeroext) #6

declare void @_Z27segment_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.SegmentQuadFormula) align 8, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK18SegmentQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32)) #7 align 2

declare void @_Z28triangle_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.TriangleQuadFormula) align 8, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK19TriangleQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32)) #7 align 2

declare void @_Z31tetrahedron_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.TetraQuadFormula) align 8, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK16TetraQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(40)) #7 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_j(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr %3, i64 %4, i8 noundef zeroext %5, i32 noundef %6, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %7, ptr noundef %8, i32 noundef %9) #4 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"struct.Ani::ArrayView", align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"struct.Ani::PlainMemoryX", align 8
  %20 = alloca %"struct.Ani::DofT::TetGeomSparsity", align 1
  %21 = alloca %"struct.Ani::ArrayView", align 8
  %22 = alloca %"struct.Ani::PlainMemoryX", align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i8, align 1
  %27 = alloca %"struct.Ani::ApplyOpFromSpaceView", align 8
  %28 = alloca %"struct.Ani::ApplyOpFromSpaceView", align 8
  %29 = alloca %"struct.Ani::GenSpace", align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca %class.anon, align 8
  %33 = alloca %class.anon.5, align 8
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca %struct.SegmentQuadFormula, align 8
  %39 = alloca i32, align 4
  %40 = alloca %"struct.SegmentQuadFormula::PW", align 8
  %41 = alloca %struct.TriangleQuadFormula, align 8
  %42 = alloca i32, align 4
  %43 = alloca %"struct.TriangleQuadFormula::PW", align 8
  %44 = alloca %struct.TetraQuadFormula, align 8
  %45 = alloca ptr, align 8
  %46 = alloca ptr, align 8
  %47 = alloca %"struct.Ani::DenseMatrix.9", align 8
  %48 = alloca %"struct.Ani::DenseMatrix.9", align 8
  %49 = alloca %"struct.Ani::ArrayView", align 8
  %50 = alloca %"struct.Ani::ArrayView", align 8
  %51 = alloca %"struct.Ani::ArrayView", align 8
  %52 = alloca %"struct.Ani::ArrayView", align 8
  %53 = alloca %"struct.Ani::PlainMemoryX", align 8
  %54 = alloca %"struct.Ani::ArrayView", align 8
  %55 = alloca %"struct.Ani::ArrayView", align 8
  %56 = alloca %class.anon.10, align 8
  %57 = alloca %"struct.Ani::PlainMemoryX", align 8
  %58 = alloca ptr, align 8
  %59 = alloca ptr, align 8
  %60 = alloca i32, align 4
  %61 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  %62 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca i32, align 4
  %67 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  store ptr %3, ptr %67, align 8
  %68 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  store i64 %4, ptr %68, align 8
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store ptr %2, ptr %14, align 8, !tbaa !5
  store i8 %5, ptr %15, align 1, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !10
  store ptr %8, ptr %17, align 8, !tbaa !5
  store i32 %9, ptr %18, align 4, !tbaa !10
  %69 = load ptr, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #9
  %70 = load i8, ptr %15, align 1, !tbaa !9
  %71 = load i32, ptr %18, align 4, !tbaa !10
  call void @_ZNK3Ani12BaseFemSpace27interpolateOnRegion_mem_reqEhj(ptr dead_on_unwind writable sret(%"struct.Ani::PlainMemoryX") align 8 %19, ptr noundef nonnull align 8 dereferenceable(24) %69, i8 noundef zeroext %70, i32 noundef %71)
  %72 = call noundef zeroext i1 @_ZNK3Ani12PlainMemoryXIdiE2geIdiEEbRKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %19)
  br i1 %72, label %73, label %74

73:                                               ; preds = %10
  br label %74

74:                                               ; preds = %73, %10
  %75 = phi i1 [ false, %10 ], [ true, %73 ]
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  br label %79

77:                                               ; preds = %74
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 123, ptr noundef @__PRETTY_FUNCTION__._ZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_j) #10
  unreachable

78:                                               ; No predecessors!
  br label %79

79:                                               ; preds = %78, %76
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  call void @_ZN3Ani4DofT15TetGeomSparsityC2Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #9
  %80 = load i8, ptr %15, align 1, !tbaa !9
  %81 = zext i8 %80 to i32
  %82 = icmp eq i32 %81, 1
  br i1 %82, label %83, label %94

83:                                               ; preds = %79
  %84 = load i32, ptr %16, align 4, !tbaa !10
  %85 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setNodeEi(ptr noundef nonnull align 1 dereferenceable(4) %20, i32 noundef %84)
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %11, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %7, i64 48, i1 false), !tbaa.struct !15
  %88 = load ptr, ptr %17, align 8, !tbaa !5
  %89 = load i32, ptr %18, align 4, !tbaa !10
  %90 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8
  %92 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %93 = load i64, ptr %92, align 8
  call void @_ZNK3Ani12BaseFemSpace17interpolateByDOFsISt8functionIFiRKSt5arrayIdLm3EEPdjPvEETnNSt9enable_ifIXntsr3std7is_sameIT_PS9_EE5valueEbE4typeELb1EEEvRKNS_5TetraIKdEERKSC_NS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEES8_j(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(132) %86, ptr noundef nonnull align 8 dereferenceable(32) %87, ptr %91, i64 %93, ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %22, ptr noundef %88, i32 noundef %89)
  store i32 1, ptr %23, align 4
  br label %459

94:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  %95 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %69, i32 0, i32 1
  %96 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %95)
  store i32 %96, ptr %24, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  store i32 0, ptr %25, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #9
  %97 = load i8, ptr %15, align 1, !tbaa !9
  %98 = call noundef i32 @_ZN3Ani4DofT11GeomTypeDimEh(i8 noundef zeroext %97)
  %99 = call noundef zeroext i8 @_ZN3Ani4DofT13DimToGeomTypeEi(i32 noundef %98)
  store i8 %99, ptr %26, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @_ZNK3Ani12BaseFemSpace5getOPENS_12OperatorTypeE(ptr dead_on_unwind writable sret(%"struct.Ani::ApplyOpFromSpaceView") align 8 %27, ptr noundef nonnull align 8 dereferenceable(24) %69, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #9
  call void @_ZN3Ani8GenSpaceILi1ELi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29)
  invoke void @_ZNK3Ani12BaseFemSpace5getOPENS_12OperatorTypeE(ptr dead_on_unwind writable sret(%"struct.Ani::ApplyOpFromSpaceView") align 8 %28, ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef 1)
          to label %100 unwind label %111

100:                                              ; preds = %94
  call void @_ZN3Ani12BaseFemSpaceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %101 = getelementptr inbounds %class.anon, ptr %32, i32 0, i32 0
  store ptr %7, ptr %101, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %102 = getelementptr inbounds %class.anon.5, ptr %33, i32 0, i32 0
  store ptr %7, ptr %102, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %103 = load i32, ptr %24, align 4, !tbaa !10
  %104 = load i32, ptr %24, align 4, !tbaa !10
  %105 = mul i32 %103, %104
  %106 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %105)
  store ptr %106, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %107 = load i32, ptr %24, align 4, !tbaa !10
  %108 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %107)
  store ptr %108, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  store ptr null, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #9
  store ptr null, ptr %37, align 8, !tbaa !5
  %109 = load i8, ptr %26, align 1, !tbaa !9
  %110 = zext i8 %109 to i32
  switch i32 %110, label %262 [
    i32 6, label %115
    i32 24, label %173
    i32 32, label %236
  ]

111:                                              ; preds = %94
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %30, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %31, align 4
  call void @_ZN3Ani12BaseFemSpaceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #9
  br label %463

115:                                              ; preds = %100
  %116 = load i32, ptr %16, align 4, !tbaa !10
  %117 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setEdgeEib(ptr noundef nonnull align 1 dereferenceable(4) %20, i32 noundef %116, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #9
  %118 = load i32, ptr %18, align 4, !tbaa !10
  call void @_Z27segment_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.SegmentQuadFormula) align 8 %38, i32 noundef %118)
  %119 = call noundef i32 @_ZNK18SegmentQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32) %38)
  store i32 %119, ptr %25, align 4, !tbaa !10
  %120 = load i32, ptr %25, align 4, !tbaa !10
  %121 = mul i32 4, %120
  %122 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %121)
  store ptr %122, ptr %36, align 8, !tbaa !5
  %123 = load i32, ptr %25, align 4, !tbaa !10
  %124 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %123)
  store ptr %124, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 0, ptr %39, align 4, !tbaa !10
  br label %125

125:                                              ; preds = %169, %115
  %126 = load i32, ptr %39, align 4, !tbaa !10
  %127 = load i32, ptr %25, align 4, !tbaa !10
  %128 = icmp ult i32 %126, %127
  br i1 %128, label %130, label %129

129:                                              ; preds = %125
  store i32 3, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  br label %172

130:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 24, ptr %40) #9
  %131 = load i32, ptr %39, align 4, !tbaa !10
  call void @_ZNK18SegmentQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind writable sret(%"struct.SegmentQuadFormula::PW") align 8 %40, ptr noundef nonnull align 8 dereferenceable(32) %38, i32 noundef %131)
  %132 = getelementptr inbounds %"struct.SegmentQuadFormula::PW", ptr %40, i32 0, i32 0
  %133 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %132, i64 noundef 0) #9
  %134 = load double, ptr %133, align 8, !tbaa !16
  %135 = load ptr, ptr %36, align 8, !tbaa !5
  %136 = load i32, ptr %39, align 4, !tbaa !10
  %137 = mul i32 4, %136
  %138 = load i32, ptr %16, align 4, !tbaa !10
  %139 = mul nsw i32 2, %138
  %140 = sext i32 %139 to i64
  %141 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIcLm12EEixEm(ptr noundef nonnull align 1 dereferenceable(12) @_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jE10lookup_nds, i64 noundef %140) #9
  %142 = load i8, ptr %141, align 1, !tbaa !9
  %143 = sext i8 %142 to i32
  %144 = add i32 %137, %143
  %145 = zext i32 %144 to i64
  %146 = getelementptr inbounds double, ptr %135, i64 %145
  store double %134, ptr %146, align 8, !tbaa !16
  %147 = getelementptr inbounds %"struct.SegmentQuadFormula::PW", ptr %40, i32 0, i32 0
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %147, i64 noundef 1) #9
  %149 = load double, ptr %148, align 8, !tbaa !16
  %150 = load ptr, ptr %36, align 8, !tbaa !5
  %151 = load i32, ptr %39, align 4, !tbaa !10
  %152 = mul i32 4, %151
  %153 = load i32, ptr %16, align 4, !tbaa !10
  %154 = mul nsw i32 2, %153
  %155 = add nsw i32 %154, 1
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIcLm12EEixEm(ptr noundef nonnull align 1 dereferenceable(12) @_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jE10lookup_nds, i64 noundef %156) #9
  %158 = load i8, ptr %157, align 1, !tbaa !9
  %159 = sext i8 %158 to i32
  %160 = add i32 %152, %159
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %150, i64 %161
  store double %149, ptr %162, align 8, !tbaa !16
  %163 = getelementptr inbounds %"struct.SegmentQuadFormula::PW", ptr %40, i32 0, i32 1
  %164 = load double, ptr %163, align 8, !tbaa !18
  %165 = load ptr, ptr %37, align 8, !tbaa !5
  %166 = load i32, ptr %39, align 4, !tbaa !10
  %167 = zext i32 %166 to i64
  %168 = getelementptr inbounds double, ptr %165, i64 %167
  store double %164, ptr %168, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 24, ptr %40) #9
  br label %169

169:                                              ; preds = %130
  %170 = load i32, ptr %39, align 4, !tbaa !10
  %171 = add i32 %170, 1
  store i32 %171, ptr %39, align 4, !tbaa !10
  br label %125, !llvm.loop !21

172:                                              ; preds = %129
  store i32 2, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #9
  br label %269

173:                                              ; preds = %100
  %174 = load i32, ptr %16, align 4, !tbaa !10
  %175 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setFaceEib(ptr noundef nonnull align 1 dereferenceable(4) %20, i32 noundef %174, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #9
  %176 = load i32, ptr %18, align 4, !tbaa !10
  call void @_Z28triangle_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.TriangleQuadFormula) align 8 %41, i32 noundef %176)
  %177 = call noundef i32 @_ZNK19TriangleQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32) %41)
  store i32 %177, ptr %25, align 4, !tbaa !10
  %178 = load i32, ptr %25, align 4, !tbaa !10
  %179 = mul i32 4, %178
  %180 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %179)
  store ptr %180, ptr %36, align 8, !tbaa !5
  %181 = load i32, ptr %25, align 4, !tbaa !10
  %182 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %181)
  store ptr %182, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  store i32 0, ptr %42, align 4, !tbaa !10
  br label %183

183:                                              ; preds = %232, %173
  %184 = load i32, ptr %42, align 4, !tbaa !10
  %185 = load i32, ptr %25, align 4, !tbaa !10
  %186 = icmp ult i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 6, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %235

188:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #9
  %189 = load i32, ptr %42, align 4, !tbaa !10
  call void @_ZNK19TriangleQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind writable sret(%"struct.TriangleQuadFormula::PW") align 8 %43, ptr noundef nonnull align 8 dereferenceable(32) %41, i32 noundef %189)
  %190 = getelementptr inbounds %"struct.TriangleQuadFormula::PW", ptr %43, i32 0, i32 0
  %191 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %190, i64 noundef 0) #9
  %192 = load double, ptr %191, align 8, !tbaa !16
  %193 = load ptr, ptr %36, align 8, !tbaa !5
  %194 = load i32, ptr %42, align 4, !tbaa !10
  %195 = mul i32 4, %194
  %196 = load i32, ptr %16, align 4, !tbaa !10
  %197 = add nsw i32 %196, 0
  %198 = srem i32 %197, 4
  %199 = add i32 %195, %198
  %200 = zext i32 %199 to i64
  %201 = getelementptr inbounds double, ptr %193, i64 %200
  store double %192, ptr %201, align 8, !tbaa !16
  %202 = getelementptr inbounds %"struct.TriangleQuadFormula::PW", ptr %43, i32 0, i32 0
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %202, i64 noundef 1) #9
  %204 = load double, ptr %203, align 8, !tbaa !16
  %205 = load ptr, ptr %36, align 8, !tbaa !5
  %206 = load i32, ptr %42, align 4, !tbaa !10
  %207 = mul i32 4, %206
  %208 = load i32, ptr %16, align 4, !tbaa !10
  %209 = add nsw i32 %208, 1
  %210 = srem i32 %209, 4
  %211 = add i32 %207, %210
  %212 = zext i32 %211 to i64
  %213 = getelementptr inbounds double, ptr %205, i64 %212
  store double %204, ptr %213, align 8, !tbaa !16
  %214 = getelementptr inbounds %"struct.TriangleQuadFormula::PW", ptr %43, i32 0, i32 0
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef 2) #9
  %216 = load double, ptr %215, align 8, !tbaa !16
  %217 = load ptr, ptr %36, align 8, !tbaa !5
  %218 = load i32, ptr %42, align 4, !tbaa !10
  %219 = mul i32 4, %218
  %220 = load i32, ptr %16, align 4, !tbaa !10
  %221 = add nsw i32 %220, 2
  %222 = srem i32 %221, 4
  %223 = add i32 %219, %222
  %224 = zext i32 %223 to i64
  %225 = getelementptr inbounds double, ptr %217, i64 %224
  store double %216, ptr %225, align 8, !tbaa !16
  %226 = getelementptr inbounds %"struct.TriangleQuadFormula::PW", ptr %43, i32 0, i32 1
  %227 = load double, ptr %226, align 8, !tbaa !23
  %228 = load ptr, ptr %37, align 8, !tbaa !5
  %229 = load i32, ptr %42, align 4, !tbaa !10
  %230 = zext i32 %229 to i64
  %231 = getelementptr inbounds double, ptr %228, i64 %230
  store double %227, ptr %231, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #9
  br label %232

232:                                              ; preds = %188
  %233 = load i32, ptr %42, align 4, !tbaa !10
  %234 = add i32 %233, 1
  store i32 %234, ptr %42, align 4, !tbaa !10
  br label %183, !llvm.loop !26

235:                                              ; preds = %187
  store i32 2, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  br label %269

236:                                              ; preds = %100
  %237 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setCellEb(ptr noundef nonnull align 1 dereferenceable(4) %20, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 40, ptr %44) #9
  %238 = load i32, ptr %18, align 4, !tbaa !10
  call void @_Z31tetrahedron_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.TetraQuadFormula) align 8 %44, i32 noundef %238)
  %239 = call noundef i32 @_ZNK16TetraQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(40) %44)
  store i32 %239, ptr %25, align 4, !tbaa !10
  %240 = load i32, ptr %25, align 4, !tbaa !10
  %241 = mul i32 4, %240
  %242 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %241)
  store ptr %242, ptr %36, align 8, !tbaa !5
  %243 = load i32, ptr %25, align 4, !tbaa !10
  %244 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %32, i32 noundef %243)
  store ptr %244, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %245 = call noundef ptr @_ZNK16TetraQuadFormula12GetPointDataEv(ptr noundef nonnull align 8 dereferenceable(40) %44)
  store ptr %245, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #9
  %246 = call noundef ptr @_ZNK16TetraQuadFormula13GetWeightDataEv(ptr noundef nonnull align 8 dereferenceable(40) %44)
  store ptr %246, ptr %46, align 8, !tbaa !5
  %247 = load ptr, ptr %45, align 8, !tbaa !5
  %248 = load ptr, ptr %45, align 8, !tbaa !5
  %249 = load i32, ptr %25, align 4, !tbaa !10
  %250 = mul i32 4, %249
  %251 = zext i32 %250 to i64
  %252 = getelementptr inbounds double, ptr %248, i64 %251
  %253 = load ptr, ptr %36, align 8, !tbaa !5
  %254 = call noundef ptr @_ZSt4copyIPKdPdET0_T_S4_S3_(ptr noundef %247, ptr noundef %252, ptr noundef %253)
  %255 = load ptr, ptr %46, align 8, !tbaa !5
  %256 = load ptr, ptr %46, align 8, !tbaa !5
  %257 = load i32, ptr %25, align 4, !tbaa !10
  %258 = zext i32 %257 to i64
  %259 = getelementptr inbounds double, ptr %256, i64 %258
  %260 = load ptr, ptr %37, align 8, !tbaa !5
  %261 = call noundef ptr @_ZSt4copyIPKdPdET0_T_S4_S3_(ptr noundef %255, ptr noundef %259, ptr noundef %260)
  store i32 2, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %44) #9
  br label %269

262:                                              ; preds = %100
  %263 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %263, ptr noundef @.str.4)
          to label %264 unwind label %265

264:                                              ; preds = %262
  call void @__cxa_throw(ptr %263, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #11
  unreachable

265:                                              ; preds = %262
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %30, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %31, align 4
  call void @__cxa_free_exception(ptr %263) #9
  br label %462

269:                                              ; preds = %236, %235, %172
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #9
  %270 = load ptr, ptr %34, align 8, !tbaa !5
  %271 = load i32, ptr %24, align 4, !tbaa !10
  %272 = zext i32 %271 to i64
  %273 = load i32, ptr %24, align 4, !tbaa !10
  %274 = zext i32 %273 to i64
  call void @_ZN3Ani11DenseMatrixIdEC2EPdmm(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef %270, i64 noundef %272, i64 noundef %274)
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #9
  %275 = load ptr, ptr %35, align 8, !tbaa !5
  %276 = load i32, ptr %24, align 4, !tbaa !10
  %277 = zext i32 %276 to i64
  call void @_ZN3Ani11DenseMatrixIdEC2EPdmm(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef %275, i64 noundef %277, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #9
  %278 = load ptr, ptr %36, align 8, !tbaa !5
  %279 = load i32, ptr %25, align 4, !tbaa !10
  %280 = mul i32 %279, 4
  %281 = zext i32 %280 to i64
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef %278, i64 noundef %281)
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #9
  %282 = load ptr, ptr %37, align 8, !tbaa !5
  %283 = load i32, ptr %25, align 4, !tbaa !10
  %284 = zext i32 %283 to i64
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %50, ptr noundef %282, i64 noundef %284)
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %51, ptr align 8 %49, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %52, ptr align 8 %50, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %53, ptr align 8 %7, i64 48, i1 false), !tbaa.struct !15
  %286 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 0
  %287 = load ptr, ptr %286, align 8
  %288 = getelementptr inbounds { ptr, i64 }, ptr %51, i32 0, i32 1
  %289 = load i64, ptr %288, align 8
  %290 = getelementptr inbounds { ptr, i64 }, ptr %52, i32 0, i32 0
  %291 = load ptr, ptr %290, align 8
  %292 = getelementptr inbounds { ptr, i64 }, ptr %52, i32 0, i32 1
  %293 = load i64, ptr %292, align 8
  call void @_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi1ELb0ELln1ELln1ELi0EEEFNS_10TensorTypeERKSt5arrayIdLm3EEPdSt4pairImmEPviENS_5TetraIKdEEEEvRKT1_NS_9ArrayViewIdEESK_RKNS_11ApplyOpBaseESN_RKT0_RNS_11DenseMatrixIdEENS_12PlainMemoryXIdiEESB_(ptr noundef nonnull align 8 dereferenceable(132) %285, ptr %287, i64 %289, ptr %291, i64 %293, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull @_ZN3Ani10TensorNullIdEENS_10TensorTypeERKSt5arrayIT_Lm3EEPS3_St4pairImmEPvi, ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %53, ptr noundef null)
  %294 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %54, ptr align 8 %49, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %55, ptr align 8 %50, i64 16, i1 false), !tbaa.struct !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #9
  %295 = getelementptr inbounds %class.anon.10, ptr %56, i32 0, i32 0
  %296 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %296, ptr %295, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %57, ptr align 8 %7, i64 48, i1 false), !tbaa.struct !15
  %297 = load ptr, ptr %17, align 8, !tbaa !5
  %298 = getelementptr inbounds { ptr, i64 }, ptr %54, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8
  %300 = getelementptr inbounds { ptr, i64 }, ptr %54, i32 0, i32 1
  %301 = load i64, ptr %300, align 8
  %302 = getelementptr inbounds { ptr, i64 }, ptr %55, i32 0, i32 0
  %303 = load ptr, ptr %302, align 8
  %304 = getelementptr inbounds { ptr, i64 }, ptr %55, i32 0, i32 1
  %305 = load i64, ptr %304, align 8
  call void @"_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi4ELb0ELln1ELln1ELi0EEEZNKS_12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESF_jE3$_2S6_EEvRKT1_SL_SL_RKNS_11ApplyOpBaseESU_RKT0_RNS_11DenseMatrixIdEESN_SF_"(ptr noundef nonnull align 8 dereferenceable(132) %294, ptr %299, i64 %301, ptr %303, i64 %305, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %57, ptr noundef %297)
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  %306 = load i32, ptr %24, align 4, !tbaa !10
  %307 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_1clEi"(ptr noundef nonnull align 8 dereferenceable(8) %33, i32 noundef %306)
  store ptr %307, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  %308 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %69, i32 0, i32 1
  store ptr %308, ptr %59, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #9
  store i32 0, ptr %60, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #9
  %309 = load ptr, ptr %59, align 8, !tbaa !5
  call void @_ZNK3Ani4DofT6DofMap15beginBySparsityERKNS0_15TetGeomSparsityEb(ptr dead_on_unwind writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %61, ptr noundef nonnull align 8 dereferenceable(16) %309, ptr noundef nonnull align 1 dereferenceable(4) %20, i1 noundef zeroext false)
  br label %310

310:                                              ; preds = %323, %269
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #9
  %311 = load ptr, ptr %59, align 8, !tbaa !5
  call void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %62, ptr noundef nonnull align 8 dereferenceable(16) %311)
  %312 = call noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25) %61, ptr noundef nonnull align 8 dereferenceable(25) %62)
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #9
  br i1 %312, label %314, label %313

313:                                              ; preds = %310
  store i32 9, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #9
  br label %325

314:                                              ; preds = %310
  %315 = call noundef ptr @_ZNK3Ani4DofT18DofSparsedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(25) %61)
  %316 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %315, i32 0, i32 0
  %317 = load i32, ptr %316, align 4, !tbaa !27
  %318 = load ptr, ptr %58, align 8, !tbaa !5
  %319 = load i32, ptr %60, align 4, !tbaa !10
  %320 = add nsw i32 %319, 1
  store i32 %320, ptr %60, align 4, !tbaa !10
  %321 = sext i32 %319 to i64
  %322 = getelementptr inbounds i32, ptr %318, i64 %321
  store i32 %317, ptr %322, align 4, !tbaa !10
  br label %323

323:                                              ; preds = %314
  %324 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZN3Ani4DofT18DofSparsedIteratorppEv(ptr noundef nonnull align 8 dereferenceable(25) %61)
  br label %310, !llvm.loop !29

325:                                              ; preds = %313
  %326 = load i32, ptr %60, align 4, !tbaa !10
  %327 = icmp eq i32 %326, 0
  br i1 %327, label %328, label %329

328:                                              ; preds = %325
  store i32 1, ptr %23, align 4
  br label %458

329:                                              ; preds = %325
  %330 = load ptr, ptr %58, align 8, !tbaa !5
  %331 = load ptr, ptr %58, align 8, !tbaa !5
  %332 = load i32, ptr %60, align 4, !tbaa !10
  %333 = sext i32 %332 to i64
  %334 = getelementptr inbounds i32, ptr %331, i64 %333
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %330, ptr noundef %334)
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #9
  store i32 0, ptr %63, align 4, !tbaa !10
  br label %335

335:                                              ; preds = %352, %329
  %336 = load i32, ptr %63, align 4, !tbaa !10
  %337 = load i32, ptr %60, align 4, !tbaa !10
  %338 = icmp slt i32 %336, %337
  br i1 %338, label %340, label %339

339:                                              ; preds = %335
  store i32 12, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  br label %355

340:                                              ; preds = %335
  %341 = load ptr, ptr %58, align 8, !tbaa !5
  %342 = load i32, ptr %63, align 4, !tbaa !10
  %343 = sext i32 %342 to i64
  %344 = getelementptr inbounds i32, ptr %341, i64 %343
  %345 = load i32, ptr %344, align 4, !tbaa !10
  %346 = sext i32 %345 to i64
  %347 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32) %48, i64 noundef %346, i64 noundef 0)
  %348 = load double, ptr %347, align 8, !tbaa !16
  %349 = load i32, ptr %63, align 4, !tbaa !10
  %350 = sext i32 %349 to i64
  %351 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32) %48, i64 noundef %350, i64 noundef 0)
  store double %348, ptr %351, align 8, !tbaa !16
  br label %352

352:                                              ; preds = %340
  %353 = load i32, ptr %63, align 4, !tbaa !10
  %354 = add nsw i32 %353, 1
  store i32 %354, ptr %63, align 4, !tbaa !10
  br label %335, !llvm.loop !30

355:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #9
  store i32 0, ptr %64, align 4, !tbaa !10
  br label %356

356:                                              ; preds = %393, %355
  %357 = load i32, ptr %64, align 4, !tbaa !10
  %358 = load i32, ptr %60, align 4, !tbaa !10
  %359 = icmp slt i32 %357, %358
  br i1 %359, label %361, label %360

360:                                              ; preds = %356
  store i32 15, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %396

361:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #9
  store i32 0, ptr %65, align 4, !tbaa !10
  br label %362

362:                                              ; preds = %389, %361
  %363 = load i32, ptr %65, align 4, !tbaa !10
  %364 = load i32, ptr %60, align 4, !tbaa !10
  %365 = icmp slt i32 %363, %364
  br i1 %365, label %367, label %366

366:                                              ; preds = %362
  store i32 18, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #9
  br label %392

367:                                              ; preds = %362
  %368 = load ptr, ptr %58, align 8, !tbaa !5
  %369 = load i32, ptr %65, align 4, !tbaa !10
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds i32, ptr %368, i64 %370
  %372 = load i32, ptr %371, align 4, !tbaa !10
  %373 = sext i32 %372 to i64
  %374 = load ptr, ptr %58, align 8, !tbaa !5
  %375 = load i32, ptr %64, align 4, !tbaa !10
  %376 = sext i32 %375 to i64
  %377 = getelementptr inbounds i32, ptr %374, i64 %376
  %378 = load i32, ptr %377, align 4, !tbaa !10
  %379 = sext i32 %378 to i64
  %380 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32) %47, i64 noundef %373, i64 noundef %379)
  %381 = load double, ptr %380, align 8, !tbaa !16
  %382 = load i32, ptr %65, align 4, !tbaa !10
  %383 = load i32, ptr %64, align 4, !tbaa !10
  %384 = load i32, ptr %60, align 4, !tbaa !10
  %385 = mul nsw i32 %383, %384
  %386 = add nsw i32 %382, %385
  %387 = sext i32 %386 to i64
  %388 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEixEm(ptr noundef nonnull align 8 dereferenceable(32) %47, i64 noundef %387)
  store double %381, ptr %388, align 8, !tbaa !16
  br label %389

389:                                              ; preds = %367
  %390 = load i32, ptr %65, align 4, !tbaa !10
  %391 = add nsw i32 %390, 1
  store i32 %391, ptr %65, align 4, !tbaa !10
  br label %362, !llvm.loop !31

392:                                              ; preds = %366
  br label %393

393:                                              ; preds = %392
  %394 = load i32, ptr %64, align 4, !tbaa !10
  %395 = add nsw i32 %394, 1
  store i32 %395, ptr %64, align 4, !tbaa !10
  br label %356, !llvm.loop !32

396:                                              ; preds = %360
  %397 = load ptr, ptr %34, align 8, !tbaa !5
  %398 = load i32, ptr %60, align 4, !tbaa !10
  %399 = sext i32 %398 to i64
  %400 = load i32, ptr %60, align 4, !tbaa !10
  %401 = sext i32 %400 to i64
  %402 = load i32, ptr %24, align 4, !tbaa !10
  %403 = load i32, ptr %24, align 4, !tbaa !10
  %404 = mul i32 %402, %403
  %405 = zext i32 %404 to i64
  call void @_ZN3Ani11DenseMatrixIdE4InitEPdmmm(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef %397, i64 noundef %399, i64 noundef %401, i64 noundef %405)
  %406 = load ptr, ptr %35, align 8, !tbaa !5
  %407 = load i32, ptr %60, align 4, !tbaa !10
  %408 = sext i32 %407 to i64
  %409 = load i32, ptr %24, align 4, !tbaa !10
  %410 = zext i32 %409 to i64
  call void @_ZN3Ani11DenseMatrixIdE4InitEPdmmm(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef %406, i64 noundef %408, i64 noundef 1, i64 noundef %410)
  %411 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %7, i32 0, i32 3
  %412 = load i64, ptr %411, align 8, !tbaa !33
  %413 = load i32, ptr %24, align 4, !tbaa !10
  %414 = load i32, ptr %24, align 4, !tbaa !10
  %415 = add i32 %414, 1
  %416 = mul i32 %413, %415
  %417 = udiv i32 %416, 2
  %418 = zext i32 %417 to i64
  %419 = icmp ult i64 %412, %418
  br i1 %419, label %420, label %427

420:                                              ; preds = %396
  %421 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %421, ptr noundef @.str.5)
          to label %422 unwind label %423

422:                                              ; preds = %420
  call void @__cxa_throw(ptr %421, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #11
  unreachable

423:                                              ; preds = %420
  %424 = landingpad { ptr, i32 }
          cleanup
  %425 = extractvalue { ptr, i32 } %424, 0
  store ptr %425, ptr %30, align 8
  %426 = extractvalue { ptr, i32 } %424, 1
  store i32 %426, ptr %31, align 4
  call void @__cxa_free_exception(ptr %421) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  br label %462

427:                                              ; preds = %396
  %428 = getelementptr inbounds %"struct.Ani::DenseMatrix.9", ptr %47, i32 0, i32 0
  %429 = load ptr, ptr %428, align 8, !tbaa !35
  %430 = getelementptr inbounds %"struct.Ani::DenseMatrix.9", ptr %48, i32 0, i32 0
  %431 = load ptr, ptr %430, align 8, !tbaa !35
  %432 = load i32, ptr %60, align 4, !tbaa !10
  %433 = getelementptr inbounds %"struct.Ani::DenseMatrix.9", ptr %48, i32 0, i32 0
  %434 = load ptr, ptr %433, align 8, !tbaa !35
  %435 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %7, i32 0, i32 0
  %436 = load ptr, ptr %435, align 8, !tbaa !37
  call void @_ZN3Ani14cholesky_solveIdEEvPKT_S3_iiPS1_S4_(ptr noundef %429, ptr noundef %431, i32 noundef %432, i32 noundef 1, ptr noundef %434, ptr noundef %436)
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #9
  store i32 0, ptr %66, align 4, !tbaa !10
  br label %437

437:                                              ; preds = %454, %427
  %438 = load i32, ptr %66, align 4, !tbaa !10
  %439 = load i32, ptr %60, align 4, !tbaa !10
  %440 = icmp slt i32 %438, %439
  br i1 %440, label %442, label %441

441:                                              ; preds = %437
  store i32 21, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  br label %457

442:                                              ; preds = %437
  %443 = load i32, ptr %66, align 4, !tbaa !10
  %444 = sext i32 %443 to i64
  %445 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEixEm(ptr noundef nonnull align 8 dereferenceable(32) %48, i64 noundef %444)
  %446 = load double, ptr %445, align 8, !tbaa !16
  %447 = load ptr, ptr %58, align 8, !tbaa !5
  %448 = load i32, ptr %66, align 4, !tbaa !10
  %449 = sext i32 %448 to i64
  %450 = getelementptr inbounds i32, ptr %447, i64 %449
  %451 = load i32, ptr %450, align 4, !tbaa !10
  %452 = sext i32 %451 to i64
  %453 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani9ArrayViewIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %452)
  store double %446, ptr %453, align 8, !tbaa !16
  br label %454

454:                                              ; preds = %442
  %455 = load i32, ptr %66, align 4, !tbaa !10
  %456 = add nsw i32 %455, 1
  store i32 %456, ptr %66, align 4, !tbaa !10
  br label %437, !llvm.loop !38

457:                                              ; preds = %441
  store i32 0, ptr %23, align 4
  br label %458

458:                                              ; preds = %457, %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  br label %459

459:                                              ; preds = %458, %83
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  %460 = load i32, ptr %23, align 4
  switch i32 %460, label %469 [
    i32 0, label %461
    i32 1, label %461
  ]

461:                                              ; preds = %459, %459
  ret void

462:                                              ; preds = %423, %265
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  br label %463

463:                                              ; preds = %462, %111
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %464

464:                                              ; preds = %463
  %465 = load ptr, ptr %30, align 8
  %466 = load i32, ptr %31, align 4
  %467 = insertvalue { ptr, i32 } poison, ptr %465, 0
  %468 = insertvalue { ptr, i32 } %467, i32 %466, 1
  resume { ptr, i32 } %468

469:                                              ; preds = %459
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani12PlainMemoryXIdiE2geIdiEEbRKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) #7 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3Ani12BaseFemSpace17interpolateByDOFsISt8functionIFiRKSt5arrayIdLm3EEPdjPvEETnNSt9enable_ifIXntsr3std7is_sameIT_PS9_EE5valueEbE4typeELb1EEEvRKNS_5TetraIKdEERKSC_NS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEES8_j(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(132), ptr noundef nonnull align 8 dereferenceable(32), ptr, i64, ptr noundef nonnull align 1 dereferenceable(4), ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8, ptr noundef, i32 noundef) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setEdgeEib(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK18SegmentQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind noalias writable sret(%"struct.SegmentQuadFormula::PW") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIcLm12EEixEm(ptr noundef nonnull align 1 dereferenceable(12), i64 noundef) #7 align 2

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setFaceEib(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK19TriangleQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind noalias writable sret(%"struct.TriangleQuadFormula::PW") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) #7 align 2

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

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setCellEb(ptr noundef nonnull align 1 dereferenceable(4), i1 noundef zeroext) #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPKdPdET0_T_S4_S3_(ptr noundef, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani11DenseMatrixIdEC2EPdmm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef, i64 noundef) unnamed_addr #7 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi1ELb0ELln1ELln1ELi0EEEFNS_10TensorTypeERKSt5arrayIdLm3EEPdSt4pairImmEPviENS_5TetraIKdEEEEvRKT1_NS_9ArrayViewIdEESK_RKNS_11ApplyOpBaseESN_RKT0_RNS_11DenseMatrixIdEENS_12PlainMemoryXIdiEESB_(ptr noundef nonnull align 8 dereferenceable(132), ptr, i64, ptr, i64, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8, ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3Ani10TensorNullIdEENS_10TensorTypeERKSt5arrayIT_Lm3EEPS3_St4pairImmEPvi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64, i64, ptr noundef, i32 noundef) #7

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi4ELb0ELln1ELln1ELi0EEEZNKS_12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESF_jE3$_2S6_EEvRKT1_SL_SL_RKNS_11ApplyOpBaseESU_RKT0_RNS_11DenseMatrixIdEESN_SF_"(ptr noundef nonnull align 8 dereferenceable(132), ptr, i64, ptr, i64, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8, ptr noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_1clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani11DenseMatrixIdE4InitEPdmmm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef, i64 noundef, i64 noundef) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3Ani14cholesky_solveIdEEvPKT_S3_iiPS1_S4_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani9ArrayViewIdEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #7 align 2

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

!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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = !{i64 0, i64 8, !5, i64 8, i64 8, !13}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !13, i64 32, i64 8, !13, i64 40, i64 8, !13}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!19, !17, i64 16}
!19 = !{!"_ZTSN18SegmentQuadFormula2PWIdEE", !20, i64 0, !17, i64 16}
!20 = !{!"_ZTSSt5arrayIdLm2EE", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!24, !17, i64 24}
!24 = !{!"_ZTSN19TriangleQuadFormula2PWIdEE", !25, i64 0, !17, i64 24}
!25 = !{!"_ZTSSt5arrayIdLm3EE", !7, i64 0}
!26 = distinct !{!26, !22}
!27 = !{!28, !11, i64 0}
!28 = !{!"_ZTSN3Ani4DofT10LocalOrderE", !11, i64 0, !11, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11}
!29 = distinct !{!29, !22}
!30 = distinct !{!30, !22}
!31 = distinct !{!31, !22}
!32 = distinct !{!32, !22}
!33 = !{!34, !14, i64 24}
!34 = !{!"_ZTSN3Ani12PlainMemoryXIdiEE", !6, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !14, i64 32, !14, i64 40}
!35 = !{!36, !6, i64 0}
!36 = !{!"_ZTSN3Ani11DenseMatrixIdEE", !6, i64 0, !14, i64 8, !14, i64 16, !14, i64 24}
!37 = !{!34, !6, i64 0}
!38 = distinct !{!38, !22}


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

%"struct.std::array.6" = type { [12 x i8] }
%"struct.Ani::ApplyOpFromSpaceView" = type { %"struct.Ani::ApplyOpBase", ptr, i32, i32, i32, i32 }
%"struct.Ani::ApplyOpBase" = type { ptr }
%"struct.Ani::PlainMemoryX" = type { ptr, ptr, ptr, i64, i64, i64 }
%"struct.Ani::DofT::DofSparsedIterator" = type <{ %"struct.Ani::DofT::TetGeomSparsity", %"struct.Ani::DofT::LocalOrder", ptr, i8, [7 x i8] }>
%"struct.Ani::DofT::TetGeomSparsity" = type { %"struct.std::array" }
%"struct.std::array" = type { [4 x i8] }
%"struct.Ani::DofT::LocalOrder" = type { i32, i32, i8, i8, i8, i8 }
%struct.SegmentQuadFormula = type { i32, %"struct.std::array.2", ptr, ptr }
%"struct.std::array.2" = type { [2 x i32] }
%struct.TriangleQuadFormula = type { i32, %"struct.std::array.3", ptr, ptr }
%"struct.std::array.3" = type { [3 x i32] }
%struct.TetraQuadFormula = type { i32, %"struct.std::array.4", ptr, ptr }
%"struct.std::array.4" = type { [5 x i32] }
%"struct.Ani::ArrayView" = type { ptr, i64 }
%"struct.Ani::GenSpace" = type { %"struct.Ani::FemTraitsT" }
%"struct.Ani::FemTraitsT" = type { %"struct.Ani::FemTraits" }
%"struct.Ani::FemTraits" = type { %"struct.Ani::UniteFemSpace" }
%"struct.Ani::UniteFemSpace" = type { %"struct.Ani::BaseFemSpace" }
%"struct.Ani::BaseFemSpace" = type { ptr, %"struct.Ani::DofT::DofMap" }
%"struct.Ani::DofT::DofMap" = type { %"class.std::shared_ptr" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.anon = type { ptr }
%class.anon.5 = type { ptr }
%"struct.SegmentQuadFormula::PW" = type { %"struct.std::array.7", double }
%"struct.std::array.7" = type { [2 x double] }
%"struct.TriangleQuadFormula::PW" = type { %"struct.std::array.8", double }
%"struct.std::array.8" = type { [3 x double] }
%"struct.Ani::DenseMatrix.9" = type { ptr, i64, i64, i64 }
%class.anon.10 = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_j = external hidden unnamed_addr constant [155 x i8], align 1
@_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jE10lookup_nds = external hidden constant %"struct.std::array.6", align 1
@.str.4 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [23 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3Ani12BaseFemSpace5getOPENS_12OperatorTypeE(ptr dead_on_unwind noalias writable sret(%"struct.Ani::ApplyOpFromSpaceView") align 8, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3Ani12BaseFemSpace27interpolateOnRegion_mem_reqEhj(ptr dead_on_unwind noalias writable sret(%"struct.Ani::PlainMemoryX") align 8, ptr noundef nonnull align 8 dereferenceable(24), i8 noundef zeroext, i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT15TetGeomSparsityC2Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #4 align 2

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setNodeEi(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3Ani4DofT6DofMap15beginBySparsityERKNS0_15TetGeomSparsityEb(ptr dead_on_unwind noalias writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(4), i1 noundef zeroext) local_unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind noalias writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i8 @_ZN3Ani4DofT13DimToGeomTypeEi(i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZN3Ani4DofT11GeomTypeDimEh(i8 noundef zeroext) local_unnamed_addr #5

declare void @_Z27segment_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.SegmentQuadFormula) align 8, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK18SegmentQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 align 2

declare void @_Z28triangle_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.TriangleQuadFormula) align 8, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK19TriangleQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #6 align 2

declare void @_Z31tetrahedron_quadrature_formulasi(ptr dead_on_unwind writable sret(%struct.TetraQuadFormula) align 8, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK16TetraQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #6 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_j(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr %3, i64 %4, i8 noundef zeroext %5, i32 noundef %6, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %7, ptr noundef %8, i32 noundef %9) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"struct.Ani::ArrayView", align 8
  %12 = alloca %"struct.Ani::PlainMemoryX", align 8
  %13 = alloca %"struct.Ani::DofT::TetGeomSparsity", align 1
  %14 = alloca %"struct.Ani::ApplyOpFromSpaceView", align 8
  %15 = alloca %"struct.Ani::ApplyOpFromSpaceView", align 8
  %16 = alloca %"struct.Ani::GenSpace", align 8
  %17 = alloca %class.anon, align 8
  %18 = alloca %class.anon.5, align 8
  %19 = alloca %struct.SegmentQuadFormula, align 8
  %20 = alloca %"struct.SegmentQuadFormula::PW", align 8
  %21 = alloca %struct.TriangleQuadFormula, align 8
  %22 = alloca %"struct.TriangleQuadFormula::PW", align 8
  %23 = alloca %struct.TetraQuadFormula, align 8
  %24 = alloca %"struct.Ani::DenseMatrix.9", align 8
  %25 = alloca %"struct.Ani::DenseMatrix.9", align 8
  %26 = alloca %"struct.Ani::ArrayView", align 8
  %27 = alloca %"struct.Ani::ArrayView", align 8
  %28 = alloca %class.anon.10, align 8
  %29 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  %30 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  store ptr %3, ptr %11, align 8
  %31 = getelementptr inbounds i8, ptr %11, i64 8
  store i64 %4, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #8
  call void @_ZNK3Ani12BaseFemSpace27interpolateOnRegion_mem_reqEhj(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::PlainMemoryX") align 8 %12, ptr noundef nonnull align 8 dereferenceable(24) %0, i8 noundef zeroext %5, i32 noundef %9)
  %32 = call noundef zeroext i1 @_ZNK3Ani12PlainMemoryXIdiE2geIdiEEbRKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(48) %12)
  br i1 %32, label %34, label %33

33:                                               ; preds = %10
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 123, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_j) #9
  unreachable

34:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #8
  call void @_ZN3Ani4DofT15TetGeomSparsityC2Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #8
  %35 = icmp eq i8 %5, 1
  br i1 %35, label %36, label %38

36:                                               ; preds = %34
  %37 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setNodeEi(ptr noundef nonnull align 1 dereferenceable(4) %13, i32 noundef %6)
  call void @_ZNK3Ani12BaseFemSpace17interpolateByDOFsISt8functionIFiRKSt5arrayIdLm3EEPdjPvEETnNSt9enable_ifIXntsr3std7is_sameIT_PS9_EE5valueEbE4typeELb1EEEvRKNS_5TetraIKdEERKSC_NS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEES8_j(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(32) %2, ptr %3, i64 %4, ptr noundef nonnull align 1 dereferenceable(4) %13, ptr noundef nonnull byval(%"struct.Ani::PlainMemoryX") align 8 %7, ptr noundef %8, i32 noundef %9)
  br label %191

38:                                               ; preds = %34
  %39 = getelementptr inbounds i8, ptr %0, i64 8
  %40 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %39)
  %41 = call noundef i32 @_ZN3Ani4DofT11GeomTypeDimEh(i8 noundef zeroext %5)
  %42 = call noundef zeroext i8 @_ZN3Ani4DofT13DimToGeomTypeEi(i32 noundef %41)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  call void @_ZNK3Ani12BaseFemSpace5getOPENS_12OperatorTypeE(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::ApplyOpFromSpaceView") align 8 %14, ptr noundef nonnull align 8 dereferenceable(24) %0, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #8
  call void @_ZN3Ani8GenSpaceILi1ELi1EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16)
  invoke void @_ZNK3Ani12BaseFemSpace5getOPENS_12OperatorTypeE(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::ApplyOpFromSpaceView") align 8 %15, ptr noundef nonnull align 8 dereferenceable(24) %16, i32 noundef 1)
          to label %43 unwind label %47

43:                                               ; preds = %38
  call void @_ZN3Ani12BaseFemSpaceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  store ptr %7, ptr %18, align 8, !tbaa !5
  %44 = mul i32 %40, %40
  %45 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %44)
  %46 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %40)
  switch i8 %42, label %127 [
    i8 6, label %49
    i8 24, label %81
    i8 32, label %113
  ]

47:                                               ; preds = %38
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3Ani12BaseFemSpaceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #8
  br label %193

49:                                               ; preds = %43
  %50 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setEdgeEib(ptr noundef nonnull align 1 dereferenceable(4) %13, i32 noundef %6, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  call void @_Z27segment_quadrature_formulasi(ptr dead_on_unwind nonnull writable sret(%struct.SegmentQuadFormula) align 8 %19, i32 noundef %9)
  %51 = call noundef i32 @_ZNK18SegmentQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
  %52 = shl i32 %51, 2
  %53 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %52)
  %54 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %51)
  %.not157 = icmp eq i32 %51, 0
  br i1 %.not157, label %._crit_edge148, label %.lr.ph147

.lr.ph147:                                        ; preds = %49
  %55 = shl nsw i32 %6, 1
  %56 = sext i32 %55 to i64
  %57 = or disjoint i32 %55, 1
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i8, ptr %20, i64 16
  %wide.trip.count162 = zext i32 %51 to i64
  br label %60

._crit_edge148:                                   ; preds = %60, %49
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  br label %132

60:                                               ; preds = %.lr.ph147, %60
  %indvars.iv159 = phi i64 [ 0, %.lr.ph147 ], [ %indvars.iv.next160, %60 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #8
  %61 = trunc nuw i64 %indvars.iv159 to i32
  call void @_ZNK18SegmentQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind nonnull writable sret(%"struct.SegmentQuadFormula::PW") align 8 %20, ptr noundef nonnull align 8 dereferenceable(32) %19, i32 noundef %61)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef 0) #8
  %63 = load double, ptr %62, align 8, !tbaa !9
  %64 = shl i32 %61, 2
  %65 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIcLm12EEixEm(ptr noundef nonnull align 1 dereferenceable(12) @_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jE10lookup_nds, i64 noundef %56) #8
  %66 = load i8, ptr %65, align 1, !tbaa !11
  %67 = sext i8 %66 to i32
  %68 = add i32 %64, %67
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %53, i64 %69
  store double %63, ptr %70, align 8, !tbaa !9
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16) %20, i64 noundef 1) #8
  %72 = load double, ptr %71, align 8, !tbaa !9
  %73 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIcLm12EEixEm(ptr noundef nonnull align 1 dereferenceable(12) @_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jE10lookup_nds, i64 noundef %58) #8
  %74 = load i8, ptr %73, align 1, !tbaa !11
  %75 = sext i8 %74 to i32
  %76 = add i32 %64, %75
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds double, ptr %53, i64 %77
  store double %72, ptr %78, align 8, !tbaa !9
  %79 = load double, ptr %59, align 8, !tbaa !12
  %80 = getelementptr inbounds double, ptr %54, i64 %indvars.iv159
  store double %79, ptr %80, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #8
  %indvars.iv.next160 = add nuw nsw i64 %indvars.iv159, 1
  %exitcond163.not = icmp eq i64 %indvars.iv.next160, %wide.trip.count162
  br i1 %exitcond163.not, label %._crit_edge148, label %60, !llvm.loop !15

81:                                               ; preds = %43
  %82 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setFaceEib(ptr noundef nonnull align 1 dereferenceable(4) %13, i32 noundef %6, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #8
  call void @_Z28triangle_quadrature_formulasi(ptr dead_on_unwind nonnull writable sret(%struct.TriangleQuadFormula) align 8 %21, i32 noundef %9)
  %83 = call noundef i32 @_ZNK19TriangleQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
  %84 = shl i32 %83, 2
  %85 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %84)
  %86 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %83)
  %.not = icmp eq i32 %83, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %81
  %87 = srem i32 %6, 4
  %88 = add nsw i32 %6, 1
  %89 = srem i32 %88, 4
  %90 = add nsw i32 %6, 2
  %91 = srem i32 %90, 4
  %92 = getelementptr inbounds i8, ptr %22, i64 24
  %wide.trip.count = zext i32 %83 to i64
  br label %93

._crit_edge:                                      ; preds = %93, %81
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  br label %132

93:                                               ; preds = %.lr.ph, %93
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %93 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #8
  %94 = trunc nuw i64 %indvars.iv to i32
  call void @_ZNK19TriangleQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind nonnull writable sret(%"struct.TriangleQuadFormula::PW") align 8 %22, ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef %94)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #8
  %96 = load double, ptr %95, align 8, !tbaa !9
  %97 = shl i32 %94, 2
  %98 = add i32 %97, %87
  %99 = zext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %85, i64 %99
  store double %96, ptr %100, align 8, !tbaa !9
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 1) #8
  %102 = load double, ptr %101, align 8, !tbaa !9
  %103 = add i32 %97, %89
  %104 = zext i32 %103 to i64
  %105 = getelementptr inbounds double, ptr %85, i64 %104
  store double %102, ptr %105, align 8, !tbaa !9
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 2) #8
  %107 = load double, ptr %106, align 8, !tbaa !9
  %108 = add i32 %97, %91
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds double, ptr %85, i64 %109
  store double %107, ptr %110, align 8, !tbaa !9
  %111 = load double, ptr %92, align 8, !tbaa !17
  %112 = getelementptr inbounds double, ptr %86, i64 %indvars.iv
  store double %111, ptr %112, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %93, !llvm.loop !20

113:                                              ; preds = %43
  %114 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setCellEb(ptr noundef nonnull align 1 dereferenceable(4) %13, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #8
  call void @_Z31tetrahedron_quadrature_formulasi(ptr dead_on_unwind nonnull writable sret(%struct.TetraQuadFormula) align 8 %23, i32 noundef %9)
  %115 = call noundef i32 @_ZNK16TetraQuadFormula12GetNumPointsEv(ptr noundef nonnull align 8 dereferenceable(40) %23)
  %116 = shl i32 %115, 2
  %117 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %116)
  %118 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef %115)
  %119 = call noundef ptr @_ZNK16TetraQuadFormula12GetPointDataEv(ptr noundef nonnull align 8 dereferenceable(40) %23)
  %120 = call noundef ptr @_ZNK16TetraQuadFormula13GetWeightDataEv(ptr noundef nonnull align 8 dereferenceable(40) %23)
  %121 = zext i32 %116 to i64
  %122 = getelementptr inbounds double, ptr %119, i64 %121
  %123 = call noundef ptr @_ZSt4copyIPKdPdET0_T_S4_S3_(ptr noundef %119, ptr noundef %122, ptr noundef %117)
  %124 = zext i32 %115 to i64
  %125 = getelementptr inbounds double, ptr %120, i64 %124
  %126 = call noundef ptr @_ZSt4copyIPKdPdET0_T_S4_S3_(ptr noundef %120, ptr noundef %125, ptr noundef %118)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #8
  br label %132

127:                                              ; preds = %43
  %128 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %128, ptr noundef nonnull @.str.4)
          to label %129 unwind label %130

129:                                              ; preds = %127
  call void @__cxa_throw(ptr nonnull %128, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

130:                                              ; preds = %127
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %128) #8
  br label %192

132:                                              ; preds = %113, %._crit_edge, %._crit_edge148
  %.pre-phi = phi i32 [ %116, %113 ], [ %84, %._crit_edge ], [ %52, %._crit_edge148 ]
  %.0136 = phi ptr [ %118, %113 ], [ %86, %._crit_edge ], [ %54, %._crit_edge148 ]
  %.0135 = phi ptr [ %117, %113 ], [ %85, %._crit_edge ], [ %53, %._crit_edge148 ]
  %.0131 = phi i32 [ %115, %113 ], [ %83, %._crit_edge ], [ %51, %._crit_edge148 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #8
  %133 = zext i32 %40 to i64
  call void @_ZN3Ani11DenseMatrixIdEC2EPdmm(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %45, i64 noundef %133, i64 noundef %133)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #8
  call void @_ZN3Ani11DenseMatrixIdEC2EPdmm(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %46, i64 noundef %133, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #8
  %134 = zext i32 %.pre-phi to i64
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef %.0135, i64 noundef %134)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %27) #8
  %135 = zext i32 %.0131 to i64
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef %.0136, i64 noundef %135)
  %.sroa.040.0.copyload = load ptr, ptr %26, align 8, !tbaa !5
  %.sroa.241.0..sroa_idx = getelementptr inbounds i8, ptr %26, i64 8
  %.sroa.241.0.copyload = load i64, ptr %.sroa.241.0..sroa_idx, align 8, !tbaa !21
  %.sroa.038.0.copyload = load ptr, ptr %27, align 8, !tbaa !5
  %.sroa.239.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  %.sroa.239.0.copyload = load i64, ptr %.sroa.239.0..sroa_idx, align 8, !tbaa !21
  call void @_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi1ELb0ELln1ELln1ELi0EEEFNS_10TensorTypeERKSt5arrayIdLm3EEPdSt4pairImmEPviENS_5TetraIKdEEEEvRKT1_NS_9ArrayViewIdEESK_RKNS_11ApplyOpBaseESN_RKT0_RNS_11DenseMatrixIdEENS_12PlainMemoryXIdiEESB_(ptr noundef nonnull align 8 dereferenceable(132) %1, ptr %.sroa.040.0.copyload, i64 %.sroa.241.0.copyload, ptr %.sroa.038.0.copyload, i64 %.sroa.239.0.copyload, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull @_ZN3Ani10TensorNullIdEENS_10TensorTypeERKSt5arrayIT_Lm3EEPS3_St4pairImmEPvi, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull byval(%"struct.Ani::PlainMemoryX") align 8 %7, ptr noundef null)
  %.sroa.036.0.copyload = load ptr, ptr %26, align 8, !tbaa !5
  %.sroa.237.0.copyload = load i64, ptr %.sroa.241.0..sroa_idx, align 8, !tbaa !21
  %.sroa.0.0.copyload = load ptr, ptr %27, align 8, !tbaa !5
  %.sroa.2.0.copyload = load i64, ptr %.sroa.239.0..sroa_idx, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  store ptr %2, ptr %28, align 8, !tbaa !5
  call void @"_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi4ELb0ELln1ELln1ELi0EEEZNKS_12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESF_jE3$_2S6_EEvRKT1_SL_SL_RKNS_11ApplyOpBaseESU_RKT0_RNS_11DenseMatrixIdEESN_SF_"(ptr noundef nonnull align 8 dereferenceable(132) %1, ptr %.sroa.036.0.copyload, i64 %.sroa.237.0.copyload, ptr %.sroa.0.0.copyload, i64 %.sroa.2.0.copyload, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull byval(%"struct.Ani::PlainMemoryX") align 8 %7, ptr noundef %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  %136 = call noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_1clEi"(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %40)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #8
  call void @_ZNK3Ani4DofT6DofMap15beginBySparsityERKNS0_15TetGeomSparsityEb(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %29, ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 1 dereferenceable(4) %13, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #8
  call void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %30, ptr noundef nonnull align 8 dereferenceable(16) %39)
  %137 = call noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25) %29, ptr noundef nonnull align 8 dereferenceable(25) %30)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #8
  br i1 %137, label %.lr.ph151, label %._crit_edge152.thread

._crit_edge152.thread:                            ; preds = %132
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  br label %.loopexit

._crit_edge152:                                   ; preds = %.lr.ph151
  %138 = trunc nuw i64 %indvars.iv.next165 to i32
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #8
  %139 = and i64 %indvars.iv.next165, 4294967295
  %140 = getelementptr inbounds i32, ptr %136, i64 %139
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull %136, ptr noundef nonnull %140)
  br label %146

.lr.ph151:                                        ; preds = %132, %.lr.ph151
  %indvars.iv164 = phi i64 [ %indvars.iv.next165, %.lr.ph151 ], [ 0, %132 ]
  %141 = call noundef ptr @_ZNK3Ani4DofT18DofSparsedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(25) %29)
  %142 = load i32, ptr %141, align 4, !tbaa !23
  %indvars.iv.next165 = add nuw nsw i64 %indvars.iv164, 1
  %143 = getelementptr inbounds i32, ptr %136, i64 %indvars.iv164
  store i32 %142, ptr %143, align 4, !tbaa !26
  %144 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZN3Ani4DofT18DofSparsedIteratorppEv(ptr noundef nonnull align 8 dereferenceable(25) %29)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #8
  call void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %30, ptr noundef nonnull align 8 dereferenceable(16) %39)
  %145 = call noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25) %29, ptr noundef nonnull align 8 dereferenceable(25) %30)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #8
  br i1 %145, label %.lr.ph151, label %._crit_edge152, !llvm.loop !27

146:                                              ; preds = %._crit_edge152, %146
  %indvars.iv167 = phi i64 [ 0, %._crit_edge152 ], [ %indvars.iv.next168, %146 ]
  %147 = getelementptr inbounds i32, ptr %136, i64 %indvars.iv167
  %148 = load i32, ptr %147, align 4, !tbaa !26
  %149 = sext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32) %25, i64 noundef %149, i64 noundef 0)
  %151 = load double, ptr %150, align 8, !tbaa !9
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32) %25, i64 noundef %indvars.iv167, i64 noundef 0)
  store double %151, ptr %152, align 8, !tbaa !9
  %indvars.iv.next168 = add nuw nsw i64 %indvars.iv167, 1
  %exitcond171.not = icmp eq i64 %indvars.iv.next168, %139
  br i1 %exitcond171.not, label %.preheader, label %146, !llvm.loop !28

.preheader:                                       ; preds = %146, %164
  %indvars.iv177 = phi i64 [ %indvars.iv.next178, %164 ], [ 0, %146 ]
  %153 = getelementptr inbounds i32, ptr %136, i64 %indvars.iv177
  %154 = mul nuw nsw i64 %indvars.iv177, %139
  br label %165

155:                                              ; preds = %164
  %156 = zext i32 %44 to i64
  call void @_ZN3Ani11DenseMatrixIdE4InitEPdmmm(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %45, i64 noundef %139, i64 noundef %139, i64 noundef %156)
  call void @_ZN3Ani11DenseMatrixIdE4InitEPdmmm(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef %46, i64 noundef %139, i64 noundef 1, i64 noundef %133)
  %157 = getelementptr inbounds i8, ptr %7, i64 24
  %158 = load i64, ptr %157, align 8, !tbaa !29
  %159 = add i32 %40, 1
  %160 = mul i32 %159, %40
  %161 = lshr i32 %160, 1
  %162 = zext nneg i32 %161 to i64
  %163 = icmp ult i64 %158, %162
  br i1 %163, label %175, label %180

164:                                              ; preds = %165
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %exitcond181.not = icmp eq i64 %indvars.iv.next178, %139
  br i1 %exitcond181.not, label %155, label %.preheader, !llvm.loop !31

165:                                              ; preds = %.preheader, %165
  %indvars.iv172 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next173, %165 ]
  %166 = getelementptr inbounds i32, ptr %136, i64 %indvars.iv172
  %167 = load i32, ptr %166, align 4, !tbaa !26
  %168 = sext i32 %167 to i64
  %169 = load i32, ptr %153, align 4, !tbaa !26
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEclEmm(ptr noundef nonnull align 8 dereferenceable(32) %24, i64 noundef %168, i64 noundef %170)
  %172 = load double, ptr %171, align 8, !tbaa !9
  %173 = add nuw nsw i64 %indvars.iv172, %154
  %174 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEixEm(ptr noundef nonnull align 8 dereferenceable(32) %24, i64 noundef %173)
  store double %172, ptr %174, align 8, !tbaa !9
  %indvars.iv.next173 = add nuw nsw i64 %indvars.iv172, 1
  %exitcond176.not = icmp eq i64 %indvars.iv.next173, %139
  br i1 %exitcond176.not, label %164, label %165, !llvm.loop !32

175:                                              ; preds = %155
  %176 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %176, ptr noundef nonnull @.str.5)
          to label %177 unwind label %178

177:                                              ; preds = %175
  call void @__cxa_throw(ptr nonnull %176, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

178:                                              ; preds = %175
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %176) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #8
  br label %192

180:                                              ; preds = %155
  %181 = load ptr, ptr %24, align 8, !tbaa !33
  %182 = load ptr, ptr %25, align 8, !tbaa !33
  %183 = load ptr, ptr %7, align 8, !tbaa !35
  call void @_ZN3Ani14cholesky_solveIdEEvPKT_S3_iiPS1_S4_(ptr noundef %181, ptr noundef %182, i32 noundef %138, i32 noundef 1, ptr noundef %182, ptr noundef %183)
  br label %184

184:                                              ; preds = %180, %184
  %indvars.iv182 = phi i64 [ 0, %180 ], [ %indvars.iv.next183, %184 ]
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani11DenseMatrixIdEixEm(ptr noundef nonnull align 8 dereferenceable(32) %25, i64 noundef %indvars.iv182)
  %186 = load double, ptr %185, align 8, !tbaa !9
  %187 = getelementptr inbounds i32, ptr %136, i64 %indvars.iv182
  %188 = load i32, ptr %187, align 4, !tbaa !26
  %189 = sext i32 %188 to i64
  %190 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani9ArrayViewIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %11, i64 noundef %189)
  store double %186, ptr %190, align 8, !tbaa !9
  %indvars.iv.next183 = add nuw nsw i64 %indvars.iv182, 1
  %exitcond186.not = icmp eq i64 %indvars.iv.next183, %139
  br i1 %exitcond186.not, label %.loopexit, label %184, !llvm.loop !36

.loopexit:                                        ; preds = %184, %._crit_edge152.thread
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %191

191:                                              ; preds = %.loopexit, %36
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  ret void

192:                                              ; preds = %178, %130
  %.pn = phi { ptr, i32 } [ %131, %130 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %193

193:                                              ; preds = %192, %47
  %.pn.pn = phi { ptr, i32 } [ %.pn, %192 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #8
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani12PlainMemoryXIdiE2geIdiEEbRKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK3Ani12BaseFemSpace17interpolateByDOFsISt8functionIFiRKSt5arrayIdLm3EEPdjPvEETnNSt9enable_ifIXntsr3std7is_sameIT_PS9_EE5valueEbE4typeELb1EEEvRKNS_5TetraIKdEERKSC_NS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEES8_j(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(132), ptr noundef nonnull align 8 dereferenceable(32), ptr, i64, ptr noundef nonnull align 1 dereferenceable(4), ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8, ptr noundef, i32 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_0clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4 align 2

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setEdgeEib(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK18SegmentQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind noalias writable sret(%"struct.SegmentQuadFormula::PW") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5arrayIdLm2EEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt5arrayIcLm12EEixEm(ptr noundef nonnull align 1 dereferenceable(12), i64 noundef) local_unnamed_addr #6 align 2

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setFaceEib(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef, i1 noundef zeroext) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK19TriangleQuadFormula14GetPointWeightIdEENS_2PWIT_EEi(ptr dead_on_unwind noalias writable sret(%"struct.TriangleQuadFormula::PW") align 8, ptr noundef nonnull align 8 dereferenceable(32), i32 noundef) local_unnamed_addr #6 align 2

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

declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity7setCellEb(ptr noundef nonnull align 1 dereferenceable(4), i1 noundef zeroext) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPKdPdET0_T_S4_S3_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani11DenseMatrixIdEC2EPdmm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef, i64 noundef) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi1ELb0ELln1ELln1ELi0EEEFNS_10TensorTypeERKSt5arrayIdLm3EEPdSt4pairImmEPviENS_5TetraIKdEEEEvRKT1_NS_9ArrayViewIdEESK_RKNS_11ApplyOpBaseESN_RKT0_RNS_11DenseMatrixIdEENS_12PlainMemoryXIdiEESB_(ptr noundef nonnull align 8 dereferenceable(132), ptr, i64, ptr, i64, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN3Ani10TensorNullIdEENS_10TensorTypeERKSt5arrayIT_Lm3EEPS3_St4pairImmEPvi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i64, i64, ptr noundef, i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZN3Ani9fem3DpntLINS_17DfuncTraitsCommonILi4ELb0ELln1ELln1ELi0EEEZNKS_12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESF_jE3$_2S6_EEvRKT1_SL_SL_RKNS_11ApplyOpBaseESU_RKT0_RNS_11DenseMatrixIdEESN_SF_"(ptr noundef nonnull align 8 dereferenceable(132), ptr, i64, ptr, i64, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8, ptr noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef ptr @"_ZZNK3Ani12BaseFemSpace19interpolateOnRegionERKNS_5TetraIKdEERKSt8functionIFiRKSt5arrayIdLm3EEPdjPvEENS_9ArrayViewIdEEhiNS_12PlainMemoryXIdiEESC_jENK3$_1clEi"(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIPiEvT_S1_(ptr noundef, ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani11DenseMatrixIdE4InitEPdmmm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3Ani14cholesky_solveIdEEvPKT_S3_iiPS1_S4_(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3Ani9ArrayViewIdEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #6 align 2

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

!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 = !{!"double", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 16}
!13 = !{!"_ZTSN18SegmentQuadFormula2PWIdEE", !14, i64 0, !10, i64 16}
!14 = !{!"_ZTSSt5arrayIdLm2EE", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !10, i64 24}
!18 = !{!"_ZTSN19TriangleQuadFormula2PWIdEE", !19, i64 0, !10, i64 24}
!19 = !{!"_ZTSSt5arrayIdLm3EE", !7, i64 0}
!20 = distinct !{!20, !16}
!21 = !{!22, !22, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!24, !25, i64 0}
!24 = !{!"_ZTSN3Ani4DofT10LocalOrderE", !25, i64 0, !25, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11}
!25 = !{!"int", !7, i64 0}
!26 = !{!25, !25, i64 0}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = !{!30, !22, i64 24}
!30 = !{!"_ZTSN3Ani12PlainMemoryXIdiEE", !6, i64 0, !6, i64 8, !6, i64 16, !22, i64 24, !22, i64 32, !22, i64 40}
!31 = distinct !{!31, !16}
!32 = distinct !{!32, !16}
!33 = !{!34, !6, i64 0}
!34 = !{!"_ZTSN3Ani11DenseMatrixIdEE", !6, i64 0, !22, i64 8, !22, i64 16, !22, i64 24}
!35 = !{!30, !6, i64 0}
!36 = distinct !{!36, !16}


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