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

; 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.Ani::DofT::LocalOrder" = type { i32, i32, i8, i8, i8, i8 }
%"struct.Ani::DofT::TetGeomSparsity" = type { %"struct.std::array" }
%"struct.std::array" = type { [4 x i8] }
%"struct.Ani::DofT::LocGeomOrder" = type <{ i32, i8, i8, [2 x i8] }>
%"struct.std::pair.4" = type <{ i32, %"struct.Ani::DofT::LocSymOrder", [2 x i8] }>
%"struct.Ani::DofT::LocSymOrder" = type { i8, i8 }
%"struct.Ani::DofT::TetGeomSparsity::Pos" = type { i8, i8 }
%"struct.Ani::DofT::VectorDofMap" = type <{ %"struct.Ani::DofT::BaseDofMap", %"class.std::shared_ptr", i32, [4 x i8] }>
%"struct.Ani::DofT::BaseDofMap" = type { 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 }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani4DofT12VectorDofMap23IncrementByGeomSparsityERKNS0_15TetGeomSparsityERNS0_10LocalOrderEb = external hidden unnamed_addr constant [113 x i8], align 1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity3setEhib(ptr noundef nonnull align 1 dereferenceable(4), i8 noundef zeroext, i32 noundef, i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEhib(ptr noundef nonnull align 1 dereferenceable(4), i8 noundef zeroext, i32 noundef, i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT15TetGeomSparsity3PosC2Ehh(ptr noundef nonnull align 1 dereferenceable(2), i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i16 @_ZNK3Ani4DofT15TetGeomSparsity7nextPosENS1_3PosE(ptr noundef nonnull align 1 dereferenceable(4), i16) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3Ani4DofT15TetGeomSparsity3Pos7isValidEv(ptr noundef nonnull align 1 dereferenceable(2)) #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani4DofT10BaseDofMap12isValidIndexENS0_10LocalOrderEb(ptr noundef nonnull align 8 dereferenceable(8), i64, i32, i1 noundef zeroext) #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEh(ptr noundef nonnull align 1 dereferenceable(4), i8 noundef zeroext) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT12LocGeomOrderC2Ehhj(ptr noundef nonnull align 4 dereferenceable(6), i8 noundef zeroext, i8 noundef zeroext, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani4DofT12VectorDofMap23IncrementByGeomSparsityERKNS0_15TetGeomSparsityERNS0_10LocalOrderEb(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull align 1 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, i1 noundef zeroext %3) unnamed_addr #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %10 = alloca { i64, i32 }, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %16 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %17 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %20 = alloca %"struct.Ani::DofT::TetGeomSparsity", align 1
  %21 = alloca i32, align 4
  %22 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %23 = alloca %"struct.Ani::DofT::LocGeomOrder", align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca %"struct.std::pair.4", align 4
  %27 = alloca %"struct.Ani::DofT::LocGeomOrder", align 4
  %28 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %29 = alloca %"struct.Ani::DofT::TetGeomSparsity::Pos", align 1
  %30 = alloca %"struct.Ani::DofT::TetGeomSparsity::Pos", align 1
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %34 = zext i1 %3 to i8
  store i8 %34, ptr %8, align 1, !tbaa !9
  %35 = load ptr, ptr %5, align 8
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 4 %36, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %9, i64 12, i1 false)
  %37 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 0
  %38 = load i64, ptr %37, align 4
  %39 = getelementptr inbounds { i64, i32 }, ptr %10, i32 0, i32 1
  %40 = load i32, ptr %39, align 4
  %41 = call noundef zeroext i1 @_ZNK3Ani4DofT10BaseDofMap12isValidIndexENS0_10LocalOrderEb(ptr noundef nonnull align 8 dereferenceable(8) %35, i64 %38, i32 %40, i1 noundef zeroext false)
  br i1 %41, label %42, label %43

42:                                               ; preds = %4
  br label %43

43:                                               ; preds = %42, %4
  %44 = phi i1 [ false, %4 ], [ true, %42 ]
  br i1 %44, label %45, label %46

45:                                               ; preds = %43
  br label %48

46:                                               ; preds = %43
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.3, i32 noundef 474, ptr noundef @__PRETTY_FUNCTION__._ZNK3Ani4DofT12VectorDofMap23IncrementByGeomSparsityERKNS0_15TetGeomSparsityERNS0_10LocalOrderEb) #7
  unreachable

47:                                               ; No predecessors!
  br label %48

48:                                               ; preds = %47, %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %49 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %50 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  %51 = load ptr, ptr %50, align 8, !tbaa !15
  %52 = getelementptr inbounds ptr, ptr %51, i64 3
  %53 = load ptr, ptr %52, align 8
  %54 = call noundef i32 %53(ptr noundef nonnull align 8 dereferenceable(8) %50)
  store i32 %54, ptr %11, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %55 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %56 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %57, i32 0, i32 2
  %59 = load i8, ptr %58, align 4, !tbaa !17
  %60 = load ptr, ptr %56, align 8, !tbaa !15
  %61 = getelementptr inbounds ptr, ptr %60, i64 1
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef i32 %62(ptr noundef nonnull align 8 dereferenceable(8) %56, i8 noundef zeroext %59)
  store i32 %63, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %64, i32 0, i32 0
  %66 = load i32, ptr %65, align 4, !tbaa !19
  %67 = load i32, ptr %11, align 4, !tbaa !12
  %68 = udiv i32 %66, %67
  store i32 %68, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %69, i32 0, i32 0
  %71 = load i32, ptr %70, align 4, !tbaa !19
  %72 = load i32, ptr %11, align 4, !tbaa !12
  %73 = urem i32 %71, %72
  store i32 %73, ptr %14, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %15) #8
  call void @_ZN3Ani4DofT10LocalOrderC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %15)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #8
  call void @_ZN3Ani4DofT10LocalOrderC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16)
  %74 = load i32, ptr %14, align 4, !tbaa !12
  %75 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 0
  store i32 %74, ptr %75, align 4, !tbaa !19
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %76, i32 0, i32 2
  %78 = load i8, ptr %77, align 4, !tbaa !17
  %79 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  store i8 %78, ptr %79, align 4, !tbaa !17
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %80, i32 0, i32 3
  %82 = load i8, ptr %81, align 1, !tbaa !20
  %83 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 3
  store i8 %82, ptr %83, align 1, !tbaa !20
  %84 = load ptr, ptr %7, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !21
  %87 = load i32, ptr %12, align 4, !tbaa !12
  %88 = urem i32 %86, %87
  %89 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 1
  store i32 %88, ptr %89, align 4, !tbaa !21
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %90, i32 0, i32 4
  %92 = load i8, ptr %91, align 2, !tbaa !22
  %93 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 4
  store i8 %92, ptr %93, align 2, !tbaa !22
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %94, i32 0, i32 5
  %96 = load i8, ptr %95, align 1, !tbaa !23
  %97 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 5
  store i8 %96, ptr %97, align 1, !tbaa !23
  %98 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %99 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %98) #8
  %100 = load ptr, ptr %99, align 8, !tbaa !15
  %101 = getelementptr inbounds ptr, ptr %100, i64 20
  %102 = load ptr, ptr %101, align 8
  call void %102(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 4 dereferenceable(12) %16)
  %103 = load i8, ptr %8, align 1, !tbaa !9, !range !24, !noundef !25
  %104 = trunc i8 %103 to i1
  br i1 %104, label %214, label %105

105:                                              ; preds = %48
  %106 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %107 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %106) #8
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load ptr, ptr %107, align 8, !tbaa !15
  %110 = getelementptr inbounds ptr, ptr %109, i64 21
  %111 = load ptr, ptr %110, align 8
  call void %111(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 1 dereferenceable(4) %108, ptr noundef nonnull align 4 dereferenceable(12) %15, i1 noundef zeroext false)
  %112 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
  br i1 %112, label %113, label %153

113:                                              ; preds = %105
  %114 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %115 = load i8, ptr %114, align 4, !tbaa !17
  %116 = zext i8 %115 to i32
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %117, i32 0, i32 2
  %119 = load i8, ptr %118, align 4, !tbaa !17
  %120 = zext i8 %119 to i32
  %121 = icmp ne i32 %116, %120
  br i1 %121, label %122, label %131

122:                                              ; preds = %113
  %123 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %124 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %123) #8
  %125 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %126 = load i8, ptr %125, align 4, !tbaa !17
  %127 = load ptr, ptr %124, align 8, !tbaa !15
  %128 = getelementptr inbounds ptr, ptr %127, i64 1
  %129 = load ptr, ptr %128, align 8
  %130 = call noundef i32 %129(ptr noundef nonnull align 8 dereferenceable(8) %124, i8 noundef zeroext %126)
  store i32 %130, ptr %12, align 4, !tbaa !12
  br label %131

131:                                              ; preds = %122, %113
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #8
  %132 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 0
  %133 = load i32, ptr %132, align 4, !tbaa !19
  %134 = load i32, ptr %13, align 4, !tbaa !12
  %135 = load i32, ptr %11, align 4, !tbaa !12
  %136 = mul i32 %134, %135
  %137 = add i32 %133, %136
  %138 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %139 = load i8, ptr %138, align 4, !tbaa !17
  %140 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 3
  %141 = load i8, ptr %140, align 1, !tbaa !20
  %142 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 1
  %143 = load i32, ptr %142, align 4, !tbaa !21
  %144 = load i32, ptr %13, align 4, !tbaa !12
  %145 = load i32, ptr %12, align 4, !tbaa !12
  %146 = mul i32 %144, %145
  %147 = add i32 %143, %146
  %148 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 4
  %149 = load i8, ptr %148, align 2, !tbaa !22
  %150 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 5
  %151 = load i8, ptr %150, align 1, !tbaa !23
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %17, i32 noundef %137, i8 noundef zeroext %139, i8 noundef zeroext %141, i32 noundef %147, i8 noundef zeroext %149, i8 noundef zeroext %151)
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %152, ptr align 4 %17, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #8
  store i32 1, ptr %18, align 4
  br label %448

153:                                              ; preds = %105
  %154 = load i32, ptr %13, align 4, !tbaa !12
  %155 = add i32 %154, 1
  store i32 %155, ptr %13, align 4, !tbaa !12
  %156 = load i32, ptr %13, align 4, !tbaa !12
  %157 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 2
  %158 = load i32, ptr %157, align 8, !tbaa !26
  %159 = icmp ne i32 %156, %158
  br i1 %159, label %160, label %209

160:                                              ; preds = %153
  %161 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %162 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %161) #8
  %163 = load ptr, ptr %6, align 8, !tbaa !5
  %164 = load ptr, ptr %162, align 8, !tbaa !15
  %165 = getelementptr inbounds ptr, ptr %164, i64 19
  %166 = load ptr, ptr %165, align 8
  call void %166(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef nonnull align 1 dereferenceable(4) %163, ptr noundef nonnull align 4 dereferenceable(12) %15, i1 noundef zeroext false)
  %167 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
  br i1 %167, label %168, label %208

168:                                              ; preds = %160
  %169 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %170 = load i8, ptr %169, align 4, !tbaa !17
  %171 = zext i8 %170 to i32
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %172, i32 0, i32 2
  %174 = load i8, ptr %173, align 4, !tbaa !17
  %175 = zext i8 %174 to i32
  %176 = icmp ne i32 %171, %175
  br i1 %176, label %177, label %186

177:                                              ; preds = %168
  %178 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %179 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %178) #8
  %180 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %181 = load i8, ptr %180, align 4, !tbaa !17
  %182 = load ptr, ptr %179, align 8, !tbaa !15
  %183 = getelementptr inbounds ptr, ptr %182, i64 1
  %184 = load ptr, ptr %183, align 8
  %185 = call noundef i32 %184(ptr noundef nonnull align 8 dereferenceable(8) %179, i8 noundef zeroext %181)
  store i32 %185, ptr %12, align 4, !tbaa !12
  br label %186

186:                                              ; preds = %177, %168
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #8
  %187 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 0
  %188 = load i32, ptr %187, align 4, !tbaa !19
  %189 = load i32, ptr %13, align 4, !tbaa !12
  %190 = load i32, ptr %11, align 4, !tbaa !12
  %191 = mul i32 %189, %190
  %192 = add i32 %188, %191
  %193 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %194 = load i8, ptr %193, align 4, !tbaa !17
  %195 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 3
  %196 = load i8, ptr %195, align 1, !tbaa !20
  %197 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 1
  %198 = load i32, ptr %197, align 4, !tbaa !21
  %199 = load i32, ptr %13, align 4, !tbaa !12
  %200 = load i32, ptr %12, align 4, !tbaa !12
  %201 = mul i32 %199, %200
  %202 = add i32 %198, %201
  %203 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 4
  %204 = load i8, ptr %203, align 2, !tbaa !22
  %205 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 5
  %206 = load i8, ptr %205, align 1, !tbaa !23
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %19, i32 noundef %192, i8 noundef zeroext %194, i8 noundef zeroext %196, i32 noundef %202, i8 noundef zeroext %204, i8 noundef zeroext %206)
  %207 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %207, ptr align 4 %19, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #8
  store i32 1, ptr %18, align 4
  br label %448

208:                                              ; preds = %160
  br label %209

209:                                              ; preds = %208, %153
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  %211 = load ptr, ptr %35, align 8, !tbaa !15
  %212 = getelementptr inbounds ptr, ptr %211, i64 20
  %213 = load ptr, ptr %212, align 8
  call void %213(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(12) %210)
  store i32 1, ptr %18, align 4
  br label %448

214:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @_ZN3Ani4DofT15TetGeomSparsityC2Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %215 = load ptr, ptr %7, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %215, i32 0, i32 2
  %217 = load i8, ptr %216, align 4, !tbaa !17
  %218 = call noundef i32 @_ZN3Ani4DofT11GeomTypeDimEh(i8 noundef zeroext %217)
  store i32 %218, ptr %21, align 4, !tbaa !12
  %219 = load i32, ptr %21, align 4, !tbaa !12
  %220 = trunc i32 %219 to i8
  %221 = load ptr, ptr %7, align 8, !tbaa !5
  %222 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %221, i32 0, i32 3
  %223 = load i8, ptr %222, align 1, !tbaa !20
  %224 = zext i8 %223 to i32
  %225 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity3setEhib(ptr noundef nonnull align 1 dereferenceable(4) %20, i8 noundef zeroext %220, i32 noundef %224, i1 noundef zeroext false)
  %226 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %227 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %226) #8
  %228 = load ptr, ptr %227, align 8, !tbaa !15
  %229 = getelementptr inbounds ptr, ptr %228, i64 21
  %230 = load ptr, ptr %229, align 8
  call void %230(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(12) %15, i1 noundef zeroext true)
  %231 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
  br i1 %231, label %232, label %272

232:                                              ; preds = %214
  %233 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %234 = load i8, ptr %233, align 4, !tbaa !17
  %235 = zext i8 %234 to i32
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %236, i32 0, i32 2
  %238 = load i8, ptr %237, align 4, !tbaa !17
  %239 = zext i8 %238 to i32
  %240 = icmp ne i32 %235, %239
  br i1 %240, label %241, label %250

241:                                              ; preds = %232
  %242 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %243 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %242) #8
  %244 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %245 = load i8, ptr %244, align 4, !tbaa !17
  %246 = load ptr, ptr %243, align 8, !tbaa !15
  %247 = getelementptr inbounds ptr, ptr %246, i64 1
  %248 = load ptr, ptr %247, align 8
  %249 = call noundef i32 %248(ptr noundef nonnull align 8 dereferenceable(8) %243, i8 noundef zeroext %245)
  store i32 %249, ptr %12, align 4, !tbaa !12
  br label %250

250:                                              ; preds = %241, %232
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #8
  %251 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 0
  %252 = load i32, ptr %251, align 4, !tbaa !19
  %253 = load i32, ptr %13, align 4, !tbaa !12
  %254 = load i32, ptr %11, align 4, !tbaa !12
  %255 = mul i32 %253, %254
  %256 = add i32 %252, %255
  %257 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %258 = load i8, ptr %257, align 4, !tbaa !17
  %259 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 3
  %260 = load i8, ptr %259, align 1, !tbaa !20
  %261 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 1
  %262 = load i32, ptr %261, align 4, !tbaa !21
  %263 = load i32, ptr %13, align 4, !tbaa !12
  %264 = load i32, ptr %12, align 4, !tbaa !12
  %265 = mul i32 %263, %264
  %266 = add i32 %262, %265
  %267 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 4
  %268 = load i8, ptr %267, align 2, !tbaa !22
  %269 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 5
  %270 = load i8, ptr %269, align 1, !tbaa !23
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %22, i32 noundef %256, i8 noundef zeroext %258, i8 noundef zeroext %260, i32 noundef %266, i8 noundef zeroext %268, i8 noundef zeroext %270)
  %271 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %271, ptr align 4 %22, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #8
  store i32 1, ptr %18, align 4
  br label %447

272:                                              ; preds = %214
  %273 = load i32, ptr %13, align 4, !tbaa !12
  %274 = add i32 %273, 1
  store i32 %274, ptr %13, align 4, !tbaa !12
  %275 = load i32, ptr %13, align 4, !tbaa !12
  %276 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 2
  %277 = load i32, ptr %276, align 8, !tbaa !26
  %278 = icmp ne i32 %275, %277
  br i1 %278, label %279, label %356

279:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %280, i32 0, i32 2
  %282 = load i8, ptr %281, align 4, !tbaa !17
  %283 = load ptr, ptr %7, align 8, !tbaa !5
  %284 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %283, i32 0, i32 3
  %285 = load i8, ptr %284, align 1, !tbaa !20
  call void @_ZN3Ani4DofT12LocGeomOrderC2Ehhj(ptr noundef nonnull align 4 dereferenceable(6) %23, i8 noundef zeroext %282, i8 noundef zeroext %285, i32 noundef 0)
  %286 = load ptr, ptr %7, align 8, !tbaa !5
  %287 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %286, i32 0, i32 2
  %288 = load i8, ptr %287, align 4, !tbaa !17
  %289 = zext i8 %288 to i32
  %290 = icmp eq i32 %289, 4
  br i1 %290, label %291, label %304

291:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %292 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %293 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %292) #8
  %294 = load ptr, ptr %293, align 8, !tbaa !15
  %295 = getelementptr inbounds ptr, ptr %294, i64 1
  %296 = load ptr, ptr %295, align 8
  %297 = call noundef i32 %296(ptr noundef nonnull align 8 dereferenceable(8) %293, i8 noundef zeroext 2)
  store i32 %297, ptr %24, align 4, !tbaa !12
  %298 = load i32, ptr %24, align 4, !tbaa !12
  %299 = icmp ugt i32 %298, 0
  br i1 %299, label %300, label %303

300:                                              ; preds = %291
  %301 = getelementptr inbounds %"struct.Ani::DofT::LocGeomOrder", ptr %23, i32 0, i32 1
  store i8 2, ptr %301, align 4, !tbaa !32
  %302 = load i32, ptr %24, align 4, !tbaa !12
  store i32 %302, ptr %12, align 4, !tbaa !12
  br label %303

303:                                              ; preds = %300, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %324

304:                                              ; preds = %279
  %305 = load ptr, ptr %7, align 8, !tbaa !5
  %306 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %305, i32 0, i32 2
  %307 = load i8, ptr %306, align 4, !tbaa !17
  %308 = zext i8 %307 to i32
  %309 = icmp eq i32 %308, 16
  br i1 %309, label %310, label %323

310:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  %311 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %312 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %311) #8
  %313 = load ptr, ptr %312, align 8, !tbaa !15
  %314 = getelementptr inbounds ptr, ptr %313, i64 1
  %315 = load ptr, ptr %314, align 8
  %316 = call noundef i32 %315(ptr noundef nonnull align 8 dereferenceable(8) %312, i8 noundef zeroext 8)
  store i32 %316, ptr %25, align 4, !tbaa !12
  %317 = load i32, ptr %25, align 4, !tbaa !12
  %318 = icmp ugt i32 %317, 0
  br i1 %318, label %319, label %322

319:                                              ; preds = %310
  %320 = getelementptr inbounds %"struct.Ani::DofT::LocGeomOrder", ptr %23, i32 0, i32 1
  store i8 8, ptr %320, align 4, !tbaa !32
  %321 = load i32, ptr %25, align 4, !tbaa !12
  store i32 %321, ptr %12, align 4, !tbaa !12
  br label %322

322:                                              ; preds = %319, %310
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  br label %323

323:                                              ; preds = %322, %304
  br label %324

324:                                              ; preds = %323, %303
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %325 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %326 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %325) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %23, i64 8, i1 false), !tbaa.struct !34
  %327 = load i64, ptr %27, align 4
  %328 = load ptr, ptr %326, align 8, !tbaa !15
  %329 = getelementptr inbounds ptr, ptr %328, i64 10
  %330 = load ptr, ptr %329, align 8
  %331 = call i64 %330(ptr noundef nonnull align 8 dereferenceable(8) %326, i64 %327)
  %332 = trunc i64 %331 to i48
  store i48 %332, ptr %26, align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #8
  %333 = getelementptr inbounds %"struct.std::pair.4", ptr %26, i32 0, i32 0
  %334 = load i32, ptr %333, align 4, !tbaa !35
  %335 = load i32, ptr %13, align 4, !tbaa !12
  %336 = load i32, ptr %11, align 4, !tbaa !12
  %337 = mul i32 %335, %336
  %338 = add i32 %334, %337
  %339 = getelementptr inbounds %"struct.Ani::DofT::LocGeomOrder", ptr %23, i32 0, i32 1
  %340 = load i8, ptr %339, align 4, !tbaa !32
  %341 = getelementptr inbounds %"struct.Ani::DofT::LocGeomOrder", ptr %23, i32 0, i32 2
  %342 = load i8, ptr %341, align 1, !tbaa !38
  %343 = getelementptr inbounds %"struct.Ani::DofT::LocGeomOrder", ptr %23, i32 0, i32 0
  %344 = load i32, ptr %343, align 4, !tbaa !39
  %345 = load i32, ptr %13, align 4, !tbaa !12
  %346 = load i32, ptr %12, align 4, !tbaa !12
  %347 = mul i32 %345, %346
  %348 = add i32 %344, %347
  %349 = getelementptr inbounds %"struct.std::pair.4", ptr %26, i32 0, i32 1
  %350 = getelementptr inbounds %"struct.Ani::DofT::LocSymOrder", ptr %349, i32 0, i32 0
  %351 = load i8, ptr %350, align 4, !tbaa !40
  %352 = getelementptr inbounds %"struct.std::pair.4", ptr %26, i32 0, i32 1
  %353 = getelementptr inbounds %"struct.Ani::DofT::LocSymOrder", ptr %352, i32 0, i32 1
  %354 = load i8, ptr %353, align 1, !tbaa !41
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %28, i32 noundef %338, i8 noundef zeroext %340, i8 noundef zeroext %342, i32 noundef %348, i8 noundef zeroext %351, i8 noundef zeroext %354)
  %355 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %355, ptr align 4 %28, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #8
  store i32 1, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %447

356:                                              ; preds = %272
  store i32 0, ptr %13, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #8
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = load i32, ptr %21, align 4, !tbaa !12
  %359 = trunc i32 %358 to i8
  %360 = load ptr, ptr %7, align 8, !tbaa !5
  %361 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %360, i32 0, i32 3
  %362 = load i8, ptr %361, align 1, !tbaa !20
  call void @_ZN3Ani4DofT15TetGeomSparsity3PosC2Ehh(ptr noundef nonnull align 1 dereferenceable(2) %30, i8 noundef zeroext %359, i8 noundef zeroext %362)
  %363 = load i16, ptr %30, align 1
  %364 = call i16 @_ZNK3Ani4DofT15TetGeomSparsity7nextPosENS1_3PosE(ptr noundef nonnull align 1 dereferenceable(4) %357, i16 %363)
  store i16 %364, ptr %29, align 1
  %365 = call noundef zeroext i1 @_ZN3Ani4DofT15TetGeomSparsity3Pos7isValidEv(ptr noundef nonnull align 1 dereferenceable(2) %29)
  br i1 %365, label %371, label %366

366:                                              ; preds = %356
  %367 = load ptr, ptr %7, align 8, !tbaa !5
  %368 = load ptr, ptr %35, align 8, !tbaa !15
  %369 = getelementptr inbounds ptr, ptr %368, i64 20
  %370 = load ptr, ptr %369, align 8
  call void %370(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(12) %367)
  store i32 1, ptr %18, align 4
  br label %446

371:                                              ; preds = %356
  %372 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %20, ptr align 1 %372, i64 4, i1 false), !tbaa.struct !42
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 0, ptr %31, align 4, !tbaa !12
  br label %373

373:                                              ; preds = %384, %371
  %374 = load i32, ptr %31, align 4, !tbaa !12
  %375 = getelementptr inbounds %"struct.Ani::DofT::TetGeomSparsity::Pos", ptr %29, i32 0, i32 0
  %376 = load i8, ptr %375, align 1, !tbaa !43
  %377 = zext i8 %376 to i32
  %378 = icmp slt i32 %374, %377
  br i1 %378, label %380, label %379

379:                                              ; preds = %373
  store i32 2, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %387

380:                                              ; preds = %373
  %381 = load i32, ptr %31, align 4, !tbaa !12
  %382 = trunc i32 %381 to i8
  %383 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEh(ptr noundef nonnull align 1 dereferenceable(4) %20, i8 noundef zeroext %382)
  br label %384

384:                                              ; preds = %380
  %385 = load i32, ptr %31, align 4, !tbaa !12
  %386 = add nsw i32 %385, 1
  store i32 %386, ptr %31, align 4, !tbaa !12
  br label %373, !llvm.loop !45

387:                                              ; preds = %379
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  store i32 0, ptr %32, align 4, !tbaa !12
  br label %388

388:                                              ; preds = %400, %387
  %389 = load i32, ptr %32, align 4, !tbaa !12
  %390 = getelementptr inbounds %"struct.Ani::DofT::TetGeomSparsity::Pos", ptr %29, i32 0, i32 1
  %391 = load i8, ptr %390, align 1, !tbaa !47
  %392 = zext i8 %391 to i32
  %393 = icmp slt i32 %389, %392
  br i1 %393, label %395, label %394

394:                                              ; preds = %388
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %403

395:                                              ; preds = %388
  %396 = getelementptr inbounds %"struct.Ani::DofT::TetGeomSparsity::Pos", ptr %29, i32 0, i32 0
  %397 = load i8, ptr %396, align 1, !tbaa !43
  %398 = load i32, ptr %32, align 4, !tbaa !12
  %399 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEhib(ptr noundef nonnull align 1 dereferenceable(4) %20, i8 noundef zeroext %397, i32 noundef %398, i1 noundef zeroext false)
  br label %400

400:                                              ; preds = %395
  %401 = load i32, ptr %32, align 4, !tbaa !12
  %402 = add nsw i32 %401, 1
  store i32 %402, ptr %32, align 4, !tbaa !12
  br label %388, !llvm.loop !48

403:                                              ; preds = %394
  %404 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %405 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %404) #8
  %406 = load ptr, ptr %405, align 8, !tbaa !15
  %407 = getelementptr inbounds ptr, ptr %406, i64 19
  %408 = load ptr, ptr %407, align 8
  call void %408(ptr noundef nonnull align 8 dereferenceable(8) %405, ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(12) %15, i1 noundef zeroext true)
  %409 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(12) %16)
  br i1 %409, label %410, label %440

410:                                              ; preds = %403
  %411 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %35, i32 0, i32 1
  %412 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %411) #8
  %413 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %414 = load i8, ptr %413, align 4, !tbaa !17
  %415 = load ptr, ptr %412, align 8, !tbaa !15
  %416 = getelementptr inbounds ptr, ptr %415, i64 1
  %417 = load ptr, ptr %416, align 8
  %418 = call noundef i32 %417(ptr noundef nonnull align 8 dereferenceable(8) %412, i8 noundef zeroext %414)
  store i32 %418, ptr %12, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #8
  %419 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 0
  %420 = load i32, ptr %419, align 4, !tbaa !19
  %421 = load i32, ptr %13, align 4, !tbaa !12
  %422 = load i32, ptr %11, align 4, !tbaa !12
  %423 = mul i32 %421, %422
  %424 = add i32 %420, %423
  %425 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 2
  %426 = load i8, ptr %425, align 4, !tbaa !17
  %427 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 3
  %428 = load i8, ptr %427, align 1, !tbaa !20
  %429 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 1
  %430 = load i32, ptr %429, align 4, !tbaa !21
  %431 = load i32, ptr %13, align 4, !tbaa !12
  %432 = load i32, ptr %12, align 4, !tbaa !12
  %433 = mul i32 %431, %432
  %434 = add i32 %430, %433
  %435 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 4
  %436 = load i8, ptr %435, align 2, !tbaa !22
  %437 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %15, i32 0, i32 5
  %438 = load i8, ptr %437, align 1, !tbaa !23
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %33, i32 noundef %424, i8 noundef zeroext %426, i8 noundef zeroext %428, i32 noundef %434, i8 noundef zeroext %436, i8 noundef zeroext %438)
  %439 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %439, ptr align 4 %33, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #8
  br label %445

440:                                              ; preds = %403
  %441 = load ptr, ptr %7, align 8, !tbaa !5
  %442 = load ptr, ptr %35, align 8, !tbaa !15
  %443 = getelementptr inbounds ptr, ptr %442, i64 20
  %444 = load ptr, ptr %443, align 8
  call void %444(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 4 dereferenceable(12) %441)
  br label %445

445:                                              ; preds = %440, %410
  store i32 1, ptr %18, align 4
  br label %446

446:                                              ; preds = %445, %366
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #8
  br label %447

447:                                              ; preds = %446, %324, %250
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  br label %448

448:                                              ; preds = %447, %209, %186, %131
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #1 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i64 0, i64 4, !12, i64 4, i64 4, !12, i64 8, i64 1, !14, i64 9, i64 1, !14, i64 10, i64 1, !14, i64 11, i64 1, !14}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !7, i64 8}
!18 = !{!"_ZTSN3Ani4DofT10LocalOrderE", !13, i64 0, !13, i64 4, !7, i64 8, !7, i64 9, !7, i64 10, !7, i64 11}
!19 = !{!18, !13, i64 0}
!20 = !{!18, !7, i64 9}
!21 = !{!18, !13, i64 4}
!22 = !{!18, !7, i64 10}
!23 = !{!18, !7, i64 11}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!27, !13, i64 24}
!27 = !{!"_ZTSN3Ani4DofT12VectorDofMapE", !28, i64 0, !29, i64 8, !13, i64 24}
!28 = !{!"_ZTSN3Ani4DofT10BaseDofMapE"}
!29 = !{!"_ZTSSt10shared_ptrIN3Ani4DofT10BaseDofMapEE", !30, i64 0}
!30 = !{!"_ZTSSt12__shared_ptrIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !31, i64 8}
!31 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!32 = !{!33, !7, i64 4}
!33 = !{!"_ZTSN3Ani4DofT12LocGeomOrderE", !13, i64 0, !7, i64 4, !7, i64 5}
!34 = !{i64 0, i64 4, !12, i64 4, i64 1, !14, i64 5, i64 1, !14}
!35 = !{!36, !13, i64 0}
!36 = !{!"_ZTSSt4pairIjN3Ani4DofT11LocSymOrderEE", !13, i64 0, !37, i64 4}
!37 = !{!"_ZTSN3Ani4DofT11LocSymOrderE", !7, i64 0, !7, i64 1}
!38 = !{!33, !7, i64 5}
!39 = !{!33, !13, i64 0}
!40 = !{!36, !7, i64 4}
!41 = !{!36, !7, i64 5}
!42 = !{i64 0, i64 4, !14}
!43 = !{!44, !7, i64 0}
!44 = !{!"_ZTSN3Ani4DofT15TetGeomSparsity3PosE", !7, i64 0, !7, i64 1}
!45 = distinct !{!45, !46}
!46 = !{!"llvm.loop.mustprogress"}
!47 = !{!44, !7, i64 1}
!48 = distinct !{!48, !46}


; 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.Ani::DofT::LocalOrder" = type { i32, i32, i8, i8, i8, i8 }
%"struct.Ani::DofT::TetGeomSparsity" = type { %"struct.std::array" }
%"struct.std::array" = type { [4 x i8] }
%"struct.Ani::DofT::LocGeomOrder" = type <{ i32, i8, i8, [2 x i8] }>
%"struct.Ani::DofT::TetGeomSparsity::Pos" = type { i8, i8 }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [34 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani4DofT12VectorDofMap23IncrementByGeomSparsityERKNS0_15TetGeomSparsityERNS0_10LocalOrderEb = external hidden unnamed_addr constant [113 x i8], align 1

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

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

; Function Attrs: mustprogress 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) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity3setEhib(ptr noundef nonnull align 1 dereferenceable(4), i8 noundef zeroext, i32 noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEhib(ptr noundef nonnull align 1 dereferenceable(4), i8 noundef zeroext, i32 noundef, i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT15TetGeomSparsity3PosC2Ehh(ptr noundef nonnull align 1 dereferenceable(2), i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local i16 @_ZNK3Ani4DofT15TetGeomSparsity7nextPosENS1_3PosE(ptr noundef nonnull align 1 dereferenceable(4), i16) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN3Ani4DofT15TetGeomSparsity3Pos7isValidEv(ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani4DofT10BaseDofMap12isValidIndexENS0_10LocalOrderEb(ptr noundef nonnull align 8 dereferenceable(8), i64, i32, i1 noundef zeroext) local_unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEh(ptr noundef nonnull align 1 dereferenceable(4), i8 noundef zeroext) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT12LocGeomOrderC2Ehhj(ptr noundef nonnull align 4 dereferenceable(6), i8 noundef zeroext, i8 noundef zeroext, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani4DofT12VectorDofMap23IncrementByGeomSparsityERKNS0_15TetGeomSparsityERNS0_10LocalOrderEb(ptr noundef nonnull align 8 dereferenceable(28) %0, ptr noundef nonnull align 1 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, i1 noundef zeroext %3) unnamed_addr #3 align 2 {
  %5 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %6 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %7 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %8 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %9 = alloca %"struct.Ani::DofT::TetGeomSparsity", align 4
  %10 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %11 = alloca %"struct.Ani::DofT::LocGeomOrder", align 8
  %12 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %13 = alloca %"struct.Ani::DofT::TetGeomSparsity::Pos", align 2
  %14 = alloca %"struct.Ani::DofT::TetGeomSparsity::Pos", align 2
  %15 = alloca %"struct.Ani::DofT::LocalOrder", align 4
  %.sroa.042.0.copyload = load i64, ptr %2, align 4
  %.sroa.243.0..sroa_idx = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.243.0.copyload = load i32, ptr %.sroa.243.0..sroa_idx, align 4
  %16 = tail call noundef zeroext i1 @_ZNK3Ani4DofT10BaseDofMap12isValidIndexENS0_10LocalOrderEb(ptr noundef nonnull align 8 dereferenceable(8) %0, i64 %.sroa.042.0.copyload, i32 %.sroa.243.0.copyload, i1 noundef zeroext false)
  br i1 %16, label %18, label %17

17:                                               ; preds = %4
  tail call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.3, i32 noundef 474, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3Ani4DofT12VectorDofMap23IncrementByGeomSparsityERKNS0_15TetGeomSparsityERNS0_10LocalOrderEb) #7
  unreachable

18:                                               ; preds = %4
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 24
  %23 = load ptr, ptr %22, align 8
  %24 = tail call noundef i32 %23(ptr noundef nonnull align 8 dereferenceable(8) %20)
  %25 = tail call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %26 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  %27 = load ptr, ptr %25, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 8
  %29 = load ptr, ptr %28, align 8
  %30 = tail call noundef i32 %29(ptr noundef nonnull align 8 dereferenceable(8) %25, i8 noundef zeroext %26)
  %31 = load i32, ptr %2, align 4, !tbaa !12
  %32 = udiv i32 %31, %24
  %33 = urem i32 %31, %24
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #8
  call void @_ZN3Ani4DofT10LocalOrderC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  call void @_ZN3Ani4DofT10LocalOrderC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %6)
  store i32 %33, ptr %5, align 4, !tbaa !12
  %34 = getelementptr inbounds i8, ptr %5, i64 8
  %35 = getelementptr inbounds i8, ptr %2, i64 9
  %36 = getelementptr inbounds i8, ptr %5, i64 9
  %37 = getelementptr inbounds i8, ptr %2, i64 4
  %38 = load i32, ptr %37, align 4, !tbaa !13
  %39 = urem i32 %38, %30
  %40 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 %39, ptr %40, align 4, !tbaa !13
  %41 = getelementptr inbounds i8, ptr %5, i64 10
  %42 = getelementptr inbounds i8, ptr %5, i64 11
  %43 = load <4 x i8>, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !14
  store <4 x i8> %43, ptr %34, align 4, !tbaa !14
  %44 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %45 = load ptr, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 160
  %47 = load ptr, ptr %46, align 8
  call void %47(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(12) %6)
  br i1 %3, label %110, label %48

48:                                               ; preds = %18
  %49 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %50 = load ptr, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %50, i64 168
  %52 = load ptr, ptr %51, align 8
  call void %52(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 1 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(12) %5, i1 noundef zeroext false)
  %53 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  br i1 %53, label %54, label %75

54:                                               ; preds = %48
  %55 = load i8, ptr %34, align 4, !tbaa !8
  %56 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  %.not84 = icmp eq i8 %55, %56
  br i1 %.not84, label %64, label %57

57:                                               ; preds = %54
  %58 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %59 = load i8, ptr %34, align 4, !tbaa !8
  %60 = load ptr, ptr %58, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %62 = load ptr, ptr %61, align 8
  %63 = call noundef i32 %62(ptr noundef nonnull align 8 dereferenceable(8) %58, i8 noundef zeroext %59)
  %.pre96 = load i8, ptr %34, align 4, !tbaa !8
  br label %64

64:                                               ; preds = %57, %54
  %65 = phi i8 [ %.pre96, %57 ], [ %55, %54 ]
  %.077 = phi i32 [ %63, %57 ], [ %30, %54 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  %66 = load i32, ptr %5, align 4, !tbaa !12
  %67 = mul i32 %32, %24
  %68 = add i32 %66, %67
  %69 = load i8, ptr %36, align 1, !tbaa !15
  %70 = load i32, ptr %40, align 4, !tbaa !13
  %71 = mul i32 %.077, %32
  %72 = add i32 %70, %71
  %73 = load i8, ptr %41, align 2, !tbaa !16
  %74 = load i8, ptr %42, align 1, !tbaa !17
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef %68, i8 noundef zeroext %65, i8 noundef zeroext %69, i32 noundef %72, i8 noundef zeroext %73, i8 noundef zeroext %74)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %7, i64 12, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  br label %229

75:                                               ; preds = %48
  %76 = add i32 %32, 1
  %77 = getelementptr inbounds i8, ptr %0, i64 24
  %78 = load i32, ptr %77, align 8, !tbaa !20
  %.not = icmp eq i32 %76, %78
  br i1 %.not, label %106, label %79

79:                                               ; preds = %75
  %80 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %81 = load ptr, ptr %80, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %81, i64 152
  %83 = load ptr, ptr %82, align 8
  call void %83(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 1 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(12) %5, i1 noundef zeroext false)
  %84 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  br i1 %84, label %85, label %106

85:                                               ; preds = %79
  %86 = load i8, ptr %34, align 4, !tbaa !8
  %87 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  %.not83 = icmp eq i8 %86, %87
  br i1 %.not83, label %95, label %88

88:                                               ; preds = %85
  %89 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %90 = load i8, ptr %34, align 4, !tbaa !8
  %91 = load ptr, ptr %89, align 8, !tbaa !5
  %92 = getelementptr inbounds i8, ptr %91, i64 8
  %93 = load ptr, ptr %92, align 8
  %94 = call noundef i32 %93(ptr noundef nonnull align 8 dereferenceable(8) %89, i8 noundef zeroext %90)
  %.pre = load i8, ptr %34, align 4, !tbaa !8
  br label %95

95:                                               ; preds = %88, %85
  %96 = phi i8 [ %.pre, %88 ], [ %86, %85 ]
  %.1 = phi i32 [ %94, %88 ], [ %30, %85 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #8
  %97 = load i32, ptr %5, align 4, !tbaa !12
  %98 = mul i32 %76, %24
  %99 = add i32 %97, %98
  %100 = load i8, ptr %36, align 1, !tbaa !15
  %101 = load i32, ptr %40, align 4, !tbaa !13
  %102 = mul i32 %.1, %76
  %103 = add i32 %101, %102
  %104 = load i8, ptr %41, align 2, !tbaa !16
  %105 = load i8, ptr %42, align 1, !tbaa !17
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %8, i32 noundef %99, i8 noundef zeroext %96, i8 noundef zeroext %100, i32 noundef %103, i8 noundef zeroext %104, i8 noundef zeroext %105)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %8, i64 12, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #8
  br label %229

106:                                              ; preds = %79, %75
  %107 = load ptr, ptr %0, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %107, i64 160
  %109 = load ptr, ptr %108, align 8
  call void %109(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %2)
  br label %229

110:                                              ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #8
  call void @_ZN3Ani4DofT15TetGeomSparsityC2Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #8
  %111 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  %112 = call noundef i32 @_ZN3Ani4DofT11GeomTypeDimEh(i8 noundef zeroext %111)
  %113 = trunc i32 %112 to i8
  %114 = load i8, ptr %35, align 1, !tbaa !15
  %115 = zext i8 %114 to i32
  %116 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity3setEhib(ptr noundef nonnull align 1 dereferenceable(4) %9, i8 noundef zeroext %113, i32 noundef %115, i1 noundef zeroext false)
  %117 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %118 = load ptr, ptr %117, align 8, !tbaa !5
  %119 = getelementptr inbounds i8, ptr %118, i64 168
  %120 = load ptr, ptr %119, align 8
  call void %120(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull align 1 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(12) %5, i1 noundef zeroext true)
  %121 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  br i1 %121, label %122, label %143

122:                                              ; preds = %110
  %123 = load i8, ptr %34, align 4, !tbaa !8
  %124 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  %.not90 = icmp eq i8 %123, %124
  br i1 %.not90, label %132, label %125

125:                                              ; preds = %122
  %126 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %127 = load i8, ptr %34, align 4, !tbaa !8
  %128 = load ptr, ptr %126, align 8, !tbaa !5
  %129 = getelementptr inbounds i8, ptr %128, i64 8
  %130 = load ptr, ptr %129, align 8
  %131 = call noundef i32 %130(ptr noundef nonnull align 8 dereferenceable(8) %126, i8 noundef zeroext %127)
  %.pre97 = load i8, ptr %34, align 4, !tbaa !8
  br label %132

132:                                              ; preds = %125, %122
  %133 = phi i8 [ %.pre97, %125 ], [ %123, %122 ]
  %.2 = phi i32 [ %131, %125 ], [ %30, %122 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #8
  %134 = load i32, ptr %5, align 4, !tbaa !12
  %135 = mul i32 %32, %24
  %136 = add i32 %134, %135
  %137 = load i8, ptr %36, align 1, !tbaa !15
  %138 = load i32, ptr %40, align 4, !tbaa !13
  %139 = mul i32 %.2, %32
  %140 = add i32 %138, %139
  %141 = load i8, ptr %41, align 2, !tbaa !16
  %142 = load i8, ptr %42, align 1, !tbaa !17
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef %136, i8 noundef zeroext %133, i8 noundef zeroext %137, i32 noundef %140, i8 noundef zeroext %141, i8 noundef zeroext %142)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %10, i64 12, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #8
  br label %228

143:                                              ; preds = %110
  %144 = add i32 %32, 1
  %145 = getelementptr inbounds i8, ptr %0, i64 24
  %146 = load i32, ptr %145, align 8, !tbaa !20
  %.not85 = icmp eq i32 %144, %146
  br i1 %.not85, label %179, label %147

147:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %148 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  %149 = load i8, ptr %35, align 1, !tbaa !15
  call void @_ZN3Ani4DofT12LocGeomOrderC2Ehhj(ptr noundef nonnull align 4 dereferenceable(6) %11, i8 noundef zeroext %148, i8 noundef zeroext %149, i32 noundef 0)
  %150 = load i8, ptr %.sroa.243.0..sroa_idx, align 4, !tbaa !8
  switch i8 %150, label %164 [
    i8 4, label %151
    i8 16, label %157
  ]

151:                                              ; preds = %147
  %152 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %153, i64 8
  %155 = load ptr, ptr %154, align 8
  %156 = call noundef i32 %155(ptr noundef nonnull align 8 dereferenceable(8) %152, i8 noundef zeroext 2)
  %.not87 = icmp eq i32 %156, 0
  br i1 %.not87, label %164, label %.sink.split

157:                                              ; preds = %147
  %158 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  %160 = getelementptr inbounds i8, ptr %159, i64 8
  %161 = load ptr, ptr %160, align 8
  %162 = call noundef i32 %161(ptr noundef nonnull align 8 dereferenceable(8) %158, i8 noundef zeroext 8)
  %.not86 = icmp eq i32 %162, 0
  br i1 %.not86, label %164, label %.sink.split

.sink.split:                                      ; preds = %157, %151
  %.sink = phi i8 [ 2, %151 ], [ 8, %157 ]
  %.5.ph = phi i32 [ %156, %151 ], [ %162, %157 ]
  %163 = getelementptr inbounds i8, ptr %11, i64 4
  store i8 %.sink, ptr %163, align 4, !tbaa !27
  br label %164

164:                                              ; preds = %.sink.split, %157, %147, %151
  %.5 = phi i32 [ %30, %151 ], [ %30, %147 ], [ %30, %157 ], [ %.5.ph, %.sink.split ]
  %165 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %.sroa.0.0.copyload = load i64, ptr %11, align 8
  %166 = load ptr, ptr %165, align 8, !tbaa !5
  %167 = getelementptr inbounds i8, ptr %166, i64 80
  %168 = load ptr, ptr %167, align 8
  %169 = call i64 %168(ptr noundef nonnull align 8 dereferenceable(8) %165, i64 %.sroa.0.0.copyload)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #8
  %.sroa.06.0.extract.trunc = trunc i64 %169 to i32
  %170 = mul i32 %144, %24
  %171 = add i32 %170, %.sroa.06.0.extract.trunc
  %172 = getelementptr inbounds i8, ptr %11, i64 4
  %173 = load i8, ptr %172, align 4, !tbaa !27
  %174 = getelementptr inbounds i8, ptr %11, i64 5
  %175 = load i8, ptr %174, align 1, !tbaa !29
  %176 = load i32, ptr %11, align 8, !tbaa !30
  %177 = mul i32 %.5, %144
  %178 = add i32 %176, %177
  %.sroa.06.4.extract.shift88 = lshr i64 %169, 32
  %.sroa.06.4.extract.trunc = trunc i64 %.sroa.06.4.extract.shift88 to i8
  %.sroa.06.5.extract.shift89 = lshr i64 %169, 40
  %.sroa.06.5.extract.trunc = trunc i64 %.sroa.06.5.extract.shift89 to i8
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %12, i32 noundef %171, i8 noundef zeroext %173, i8 noundef zeroext %175, i32 noundef %178, i8 noundef zeroext %.sroa.06.4.extract.trunc, i8 noundef zeroext %.sroa.06.5.extract.trunc)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %12, i64 12, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br label %228

179:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %13) #8
  %180 = load i8, ptr %35, align 1, !tbaa !15
  call void @_ZN3Ani4DofT15TetGeomSparsity3PosC2Ehh(ptr noundef nonnull align 1 dereferenceable(2) %14, i8 noundef zeroext %113, i8 noundef zeroext %180)
  %181 = load i16, ptr %14, align 2
  %182 = call i16 @_ZNK3Ani4DofT15TetGeomSparsity7nextPosENS1_3PosE(ptr noundef nonnull align 1 dereferenceable(4) %1, i16 %181)
  store i16 %182, ptr %13, align 2
  %183 = call noundef zeroext i1 @_ZN3Ani4DofT15TetGeomSparsity3Pos7isValidEv(ptr noundef nonnull align 1 dereferenceable(2) %13)
  br i1 %183, label %188, label %184

184:                                              ; preds = %179
  %185 = load ptr, ptr %0, align 8, !tbaa !5
  %186 = getelementptr inbounds i8, ptr %185, i64 160
  %187 = load ptr, ptr %186, align 8
  call void %187(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %2)
  br label %227

188:                                              ; preds = %179
  %189 = load i32, ptr %1, align 1, !tbaa !14
  store i32 %189, ptr %9, align 4, !tbaa !14
  %190 = load i8, ptr %13, align 2, !tbaa !31
  %.not94 = icmp eq i8 %190, 0
  br i1 %.not94, label %.preheader, label %.lr.ph

.preheader:                                       ; preds = %.lr.ph, %188
  %191 = getelementptr inbounds i8, ptr %13, i64 1
  %192 = load i8, ptr %191, align 1, !tbaa !33
  %.not95 = icmp eq i8 %192, 0
  br i1 %.not95, label %._crit_edge, label %.lr.ph93

.lr.ph:                                           ; preds = %188, %.lr.ph
  %.07691 = phi i32 [ %195, %.lr.ph ], [ 0, %188 ]
  %193 = trunc i32 %.07691 to i8
  %194 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEh(ptr noundef nonnull align 1 dereferenceable(4) %9, i8 noundef zeroext %193)
  %195 = add nuw nsw i32 %.07691, 1
  %196 = load i8, ptr %13, align 2, !tbaa !31
  %197 = zext i8 %196 to i32
  %198 = icmp ult i32 %195, %197
  br i1 %198, label %.lr.ph, label %.preheader, !llvm.loop !34

._crit_edge:                                      ; preds = %.lr.ph93, %.preheader
  %199 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = getelementptr inbounds i8, ptr %200, i64 152
  %202 = load ptr, ptr %201, align 8
  call void %202(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef nonnull align 1 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(12) %5, i1 noundef zeroext true)
  %203 = call noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12) %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  br i1 %203, label %210, label %223

.lr.ph93:                                         ; preds = %.preheader, %.lr.ph93
  %.092 = phi i32 [ %206, %.lr.ph93 ], [ 0, %.preheader ]
  %204 = load i8, ptr %13, align 2, !tbaa !31
  %205 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN3Ani4DofT15TetGeomSparsity5unsetEhib(ptr noundef nonnull align 1 dereferenceable(4) %9, i8 noundef zeroext %204, i32 noundef %.092, i1 noundef zeroext false)
  %206 = add nuw nsw i32 %.092, 1
  %207 = load i8, ptr %191, align 1, !tbaa !33
  %208 = zext i8 %207 to i32
  %209 = icmp ult i32 %206, %208
  br i1 %209, label %.lr.ph93, label %._crit_edge, !llvm.loop !36

210:                                              ; preds = %._crit_edge
  %211 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  %212 = load i8, ptr %34, align 4, !tbaa !8
  %213 = load ptr, ptr %211, align 8, !tbaa !5
  %214 = getelementptr inbounds i8, ptr %213, i64 8
  %215 = load ptr, ptr %214, align 8
  %216 = call noundef i32 %215(ptr noundef nonnull align 8 dereferenceable(8) %211, i8 noundef zeroext %212)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #8
  %217 = load i32, ptr %5, align 4, !tbaa !12
  %218 = load i8, ptr %34, align 4, !tbaa !8
  %219 = load i8, ptr %36, align 1, !tbaa !15
  %220 = load i32, ptr %40, align 4, !tbaa !13
  %221 = load i8, ptr %41, align 2, !tbaa !16
  %222 = load i8, ptr %42, align 1, !tbaa !17
  call void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12) %15, i32 noundef %217, i8 noundef zeroext %218, i8 noundef zeroext %219, i32 noundef %220, i8 noundef zeroext %221, i8 noundef zeroext %222)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %15, i64 12, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #8
  br label %227

223:                                              ; preds = %._crit_edge
  %224 = load ptr, ptr %0, align 8, !tbaa !5
  %225 = getelementptr inbounds i8, ptr %224, i64 160
  %226 = load ptr, ptr %225, align 8
  call void %226(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(12) %2)
  br label %227

227:                                              ; preds = %210, %223, %184
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %13) #8
  br label %228

228:                                              ; preds = %227, %164, %132
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %229

229:                                              ; preds = %228, %106, %95, %64
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #8
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK3Ani4DofT10LocalOrderneERKS1_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT10LocalOrderC2Ejhhjhh(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef, i8 noundef zeroext, i8 noundef zeroext, i32 noundef, i8 noundef zeroext, i8 noundef zeroext) unnamed_addr #1 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 8}
!9 = !{!"_ZTSN3Ani4DofT10LocalOrderE", !10, i64 0, !10, i64 4, !11, i64 8, !11, i64 9, !11, i64 10, !11, i64 11}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!9, !10, i64 0}
!13 = !{!9, !10, i64 4}
!14 = !{!11, !11, i64 0}
!15 = !{!9, !11, i64 9}
!16 = !{!9, !11, i64 10}
!17 = !{!9, !11, i64 11}
!18 = !{i64 0, i64 4, !19, i64 4, i64 4, !19, i64 8, i64 1, !14, i64 9, i64 1, !14, i64 10, i64 1, !14, i64 11, i64 1, !14}
!19 = !{!10, !10, i64 0}
!20 = !{!21, !10, i64 24}
!21 = !{!"_ZTSN3Ani4DofT12VectorDofMapE", !22, i64 0, !23, i64 8, !10, i64 24}
!22 = !{!"_ZTSN3Ani4DofT10BaseDofMapE"}
!23 = !{!"_ZTSSt10shared_ptrIN3Ani4DofT10BaseDofMapEE", !24, i64 0}
!24 = !{!"_ZTSSt12__shared_ptrIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2EE", !25, i64 0, !26, i64 8}
!25 = !{!"any pointer", !11, i64 0}
!26 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !25, i64 0}
!27 = !{!28, !11, i64 4}
!28 = !{!"_ZTSN3Ani4DofT12LocGeomOrderE", !10, i64 0, !11, i64 4, !11, i64 5}
!29 = !{!28, !11, i64 5}
!30 = !{!28, !10, i64 0}
!31 = !{!32, !11, i64 0}
!32 = !{!"_ZTSN3Ani4DofT15TetGeomSparsity3PosE", !11, i64 0, !11, i64 1}
!33 = !{!32, !11, i64 1}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}


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