; 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.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.Ani::PlainMemoryX" = type { ptr, ptr, ptr, i64, i64, i64 }
%"struct.Ani::ArrayView" = type { ptr, i64 }
%"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 }
%"struct.Ani::DofT::VectorDofMap" = type <{ %"struct.Ani::DofT::BaseDofMap", %"class.std::shared_ptr", i32, [4 x i8] }>
%"struct.Ani::DofT::BaseDofMap" = type { ptr }
%"struct.Ani::VectorFemSpace" = type { %"struct.Ani::BaseFemSpace", %"class.std::shared_ptr.21" }
%"class.std::shared_ptr.21" = type { %"class.std::__shared_ptr.22" }
%"class.std::__shared_ptr.22" = type { ptr, %"class.std::__shared_count" }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j = external hidden unnamed_addr constant [173 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [70 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

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

; 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) #2 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)) #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)) #2 align 2

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

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

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

; 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)) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr %3, i64 %4, ptr noundef nonnull align 1 dereferenceable(4) %5, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %6, ptr noundef %7, i32 noundef %8) unnamed_addr #3 align 2 {
  %10 = alloca %"struct.Ani::ArrayView", align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"struct.Ani::PlainMemoryX", align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i64, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i64, align 8
  %25 = alloca i32, align 4
  %26 = alloca %"struct.Ani::ArrayView", align 8
  %27 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  %28 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  %29 = alloca %"struct.Ani::PlainMemoryX", align 8
  %30 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  store ptr %3, ptr %30, align 8
  %31 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  store i64 %4, ptr %31, align 8
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %7, ptr %15, align 8, !tbaa !5
  store i32 %8, ptr %16, align 4, !tbaa !9
  %32 = load ptr, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #7
  %33 = load i32, ptr %16, align 4, !tbaa !9
  %34 = load ptr, ptr %32, align 8, !tbaa !11
  %35 = getelementptr inbounds ptr, ptr %34, i64 22
  %36 = load ptr, ptr %35, align 8
  call void %36(ptr dead_on_unwind writable sret(%"struct.Ani::PlainMemoryX") align 8 %17, ptr noundef nonnull align 8 dereferenceable(40) %32, i32 noundef %33)
  %37 = call noundef zeroext i1 @_ZNK3Ani12PlainMemoryXIdiE2geIdiEEbRKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %17)
  br i1 %37, label %38, label %39

38:                                               ; preds = %9
  br label %39

39:                                               ; preds = %38, %9
  %40 = phi i1 [ false, %9 ], [ true, %38 ]
  br i1 %40, label %41, label %42

41:                                               ; preds = %39
  br label %44

42:                                               ; preds = %39
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.3, i32 noundef 460, ptr noundef @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j) #8
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %41
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %45 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %32, i32 0, i32 1
  %46 = call noundef ptr @_ZNK3Ani4DofT6DofMap6targetINS0_12VectorDofMapEEEPKT_v(ptr noundef nonnull align 8 dereferenceable(16) %45)
  %47 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 8, !tbaa !13
  store i32 %48, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %49 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %32, i32 0, i32 1
  %50 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %49) #7
  %51 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %50, i32 0, i32 1
  %52 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %51)
  store i32 %52, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  store ptr null, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %53 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 2
  %54 = load ptr, ptr %53, align 8, !tbaa !19
  store ptr %54, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %55 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 5
  %56 = load i64, ptr %55, align 8, !tbaa !22
  %57 = mul i64 %56, 32
  store i64 %57, ptr %22, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  %58 = load i32, ptr %18, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = mul i64 16, %59
  %61 = call noundef ptr @_ZSt5alignmmRPvRm(i64 noundef 8, i64 noundef %60, ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %22) #7
  store ptr %61, ptr %23, align 8, !tbaa !5
  %62 = load ptr, ptr %23, align 8, !tbaa !5
  %63 = icmp ne ptr %62, null
  br i1 %63, label %64, label %65

64:                                               ; preds = %44
  br label %65

65:                                               ; preds = %64, %44
  %66 = phi i1 [ false, %44 ], [ true, %64 ]
  br i1 %66, label %67, label %68

67:                                               ; preds = %65
  br label %70

68:                                               ; preds = %65
  call void @__assert_fail(ptr noundef @.str.17, ptr noundef @.str.3, i32 noundef 468, ptr noundef @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j) #8
  unreachable

69:                                               ; No predecessors!
  br label %70

70:                                               ; preds = %69, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  %71 = load i64, ptr %22, align 8, !tbaa !23
  %72 = add i64 %71, 32
  %73 = load ptr, ptr %23, align 8, !tbaa !5
  %74 = load ptr, ptr %21, align 8, !tbaa !5
  %75 = ptrtoint ptr %73 to i64
  %76 = ptrtoint ptr %74 to i64
  %77 = sub i64 %75, %76
  %78 = sub i64 %72, %77
  store i64 %78, ptr %24, align 8, !tbaa !23
  %79 = call noundef ptr @_ZSt5alignmmRPvRm(i64 noundef 8, i64 noundef 32, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #7
  %80 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 2
  store ptr %79, ptr %80, align 8, !tbaa !19
  %81 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 2
  %82 = load ptr, ptr %81, align 8, !tbaa !19
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %85

84:                                               ; preds = %70
  br label %85

85:                                               ; preds = %84, %70
  %86 = phi i1 [ false, %70 ], [ true, %84 ]
  br i1 %86, label %87, label %88

87:                                               ; preds = %85
  br label %90

88:                                               ; preds = %85
  call void @__assert_fail(ptr noundef @.str.19, ptr noundef @.str.3, i32 noundef 471, ptr noundef @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j) #8
  unreachable

89:                                               ; No predecessors!
  br label %90

90:                                               ; preds = %89, %87
  %91 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 2
  %92 = load ptr, ptr %91, align 8, !tbaa !19
  %93 = load ptr, ptr %21, align 8, !tbaa !5
  %94 = ptrtoint ptr %92 to i64
  %95 = ptrtoint ptr %93 to i64
  %96 = sub i64 %94, %95
  %97 = sdiv exact i64 %96, 32
  %98 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 5
  %99 = load i64, ptr %98, align 8, !tbaa !22
  %100 = sub i64 %99, %97
  store i64 %100, ptr %98, align 8, !tbaa !22
  %101 = load ptr, ptr %23, align 8, !tbaa !5
  store ptr %101, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %121, %90
  %103 = load i32, ptr %25, align 4, !tbaa !9
  %104 = load i32, ptr %18, align 4, !tbaa !9
  %105 = icmp slt i32 %103, %104
  br i1 %105, label %107, label %106

106:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %124

107:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  %108 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %10, i32 0, i32 0
  %109 = load ptr, ptr %108, align 8, !tbaa !24
  %110 = load i32, ptr %25, align 4, !tbaa !9
  %111 = load i32, ptr %19, align 4, !tbaa !9
  %112 = mul i32 %110, %111
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %109, i64 %113
  %115 = load i32, ptr %19, align 4, !tbaa !9
  %116 = zext i32 %115 to i64
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %26, ptr noundef %114, i64 noundef %116)
  %117 = load ptr, ptr %20, align 8, !tbaa !5
  %118 = load i32, ptr %25, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %117, i64 %119
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %120, ptr align 8 %26, i64 16, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  br label %121

121:                                              ; preds = %107
  %122 = load i32, ptr %25, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %25, align 4, !tbaa !9
  br label %102, !llvm.loop !27

124:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #7
  %125 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %32, i32 0, i32 1
  %126 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %125) #7
  %127 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %126, i32 0, i32 1
  %128 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZNK3Ani4DofT6DofMap15beginBySparsityERKNS0_15TetGeomSparsityEb(ptr dead_on_unwind writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %27, ptr noundef nonnull align 8 dereferenceable(16) %127, ptr noundef nonnull align 1 dereferenceable(4) %128, i1 noundef zeroext false)
  br label %129

129:                                              ; preds = %150, %124
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #7
  %130 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %32, i32 0, i32 1
  %131 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %130) #7
  %132 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %131, i32 0, i32 1
  call void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %28, ptr noundef nonnull align 8 dereferenceable(16) %132)
  %133 = call noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25) %27, ptr noundef nonnull align 8 dereferenceable(25) %28)
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #7
  br i1 %133, label %135, label %134

134:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  br label %152

135:                                              ; preds = %129
  %136 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %32, i32 0, i32 1
  %137 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %136) #7
  %138 = load ptr, ptr %12, align 8, !tbaa !5
  %139 = load ptr, ptr %13, align 8, !tbaa !5
  %140 = load ptr, ptr %20, align 8, !tbaa !5
  %141 = call noundef ptr @_ZNK3Ani4DofT18DofSparsedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(25) %27)
  %142 = getelementptr inbounds %"struct.Ani::DofT::LocalOrder", ptr %141, i32 0, i32 0
  %143 = load i32, ptr %142, align 4, !tbaa !29
  %144 = load i32, ptr %18, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %29, ptr align 8 %6, i64 48, i1 false), !tbaa.struct !31
  %145 = load ptr, ptr %15, align 8, !tbaa !5
  %146 = load i32, ptr %16, align 4, !tbaa !9
  %147 = load ptr, ptr %137, align 8, !tbaa !11
  %148 = getelementptr inbounds ptr, ptr %147, i64 6
  %149 = load ptr, ptr %148, align 8
  call void %149(ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef nonnull align 8 dereferenceable(132) %138, ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef %140, i32 noundef %143, i32 noundef %144, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %29, ptr noundef %145, i32 noundef %146)
  br label %150

150:                                              ; preds = %135
  %151 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZN3Ani4DofT18DofSparsedIteratorppEv(ptr noundef nonnull align 8 dereferenceable(25) %27)
  br label %129, !llvm.loop !32

152:                                              ; preds = %134
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  ret void
}

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

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

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

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


; 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::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.Ani::PlainMemoryX" = type { ptr, ptr, ptr, i64, i64, i64 }
%"struct.Ani::ArrayView" = type { ptr, i64 }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [78 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j = external hidden unnamed_addr constant [173 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [70 x i8], align 1

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

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

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

; 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 #2 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 #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3Ani4DofT18DofSparsedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #4 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 #2 align 2

; 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 #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: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #4 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr %3, i64 %4, ptr noundef nonnull align 1 dereferenceable(4) %5, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %6, ptr noundef %7, i32 noundef %8) unnamed_addr #3 align 2 {
  %10 = alloca %"struct.Ani::PlainMemoryX", align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca %"struct.Ani::ArrayView", align 8
  %16 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  %17 = alloca %"struct.Ani::DofT::DofSparsedIterator", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #7
  %18 = load ptr, ptr %0, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 176
  %20 = load ptr, ptr %19, align 8
  call void %20(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::PlainMemoryX") align 8 %10, ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %8)
  %21 = call noundef zeroext i1 @_ZNK3Ani12PlainMemoryXIdiE2geIdiEEbRKNS0_IT_T0_EE(ptr noundef nonnull align 8 dereferenceable(48) %6, ptr noundef nonnull align 8 dereferenceable(48) %10)
  br i1 %21, label %23, label %22

22:                                               ; preds = %9
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.3, i32 noundef 460, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j) #8
  unreachable

23:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #7
  %24 = getelementptr inbounds i8, ptr %0, i64 8
  %25 = call noundef ptr @_ZNK3Ani4DofT6DofMap6targetINS0_12VectorDofMapEEEPKT_v(ptr noundef nonnull align 8 dereferenceable(16) %24)
  %26 = getelementptr inbounds i8, ptr %25, i64 24
  %27 = load i32, ptr %26, align 8, !tbaa !8
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  %29 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %32 = getelementptr inbounds i8, ptr %6, i64 16
  %33 = load ptr, ptr %32, align 8, !tbaa !17
  store ptr %33, ptr %11, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %34 = getelementptr inbounds i8, ptr %6, i64 40
  %35 = load i64, ptr %34, align 8, !tbaa !21
  %36 = shl i64 %35, 5
  store i64 %36, ptr %12, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  %37 = sext i32 %27 to i64
  %38 = shl nsw i64 %37, 4
  %39 = call noundef ptr @_ZSt5alignmmRPvRm(i64 noundef 8, i64 noundef %38, ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  store ptr %39, ptr %13, align 8, !tbaa !20
  %.not = icmp eq ptr %39, null
  br i1 %.not, label %40, label %41

40:                                               ; preds = %23
  call void @__assert_fail(ptr noundef nonnull @.str.17, ptr noundef nonnull @.str.3, i32 noundef 468, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j) #8
  unreachable

41:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %42 = load i64, ptr %12, align 8, !tbaa !22
  %43 = load ptr, ptr %11, align 8, !tbaa !20
  %44 = ptrtoint ptr %39 to i64
  %45 = ptrtoint ptr %43 to i64
  %reass.sub = sub i64 %42, %44
  %46 = add i64 %reass.sub, 32
  %47 = add i64 %46, %45
  store i64 %47, ptr %14, align 8, !tbaa !22
  %48 = call noundef ptr @_ZSt5alignmmRPvRm(i64 noundef 8, i64 noundef 32, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #7
  store ptr %48, ptr %32, align 8, !tbaa !17
  %.not21 = icmp eq ptr %48, null
  br i1 %.not21, label %49, label %50

49:                                               ; preds = %41
  call void @__assert_fail(ptr noundef nonnull @.str.19, ptr noundef nonnull @.str.3, i32 noundef 471, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace17interpolateByDOFsERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvENS_9ArrayViewIdEERKNS_4DofT15TetGeomSparsityENS_12PlainMemoryXIdiEESB_j) #8
  unreachable

50:                                               ; preds = %41
  %51 = load ptr, ptr %11, align 8, !tbaa !20
  %52 = ptrtoint ptr %48 to i64
  %53 = ptrtoint ptr %51 to i64
  %54 = sub i64 %52, %53
  %55 = ashr exact i64 %54, 5
  %56 = load i64, ptr %34, align 8, !tbaa !21
  %57 = sub i64 %56, %55
  store i64 %57, ptr %34, align 8, !tbaa !21
  %58 = load ptr, ptr %13, align 8, !tbaa !20
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %59 = icmp sgt i32 %27, 0
  br i1 %59, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %50
  %60 = zext i32 %31 to i64
  %wide.trip.count = zext nneg i32 %27 to i64
  br label %66

._crit_edge:                                      ; preds = %66, %50
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #7
  %61 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  %62 = getelementptr inbounds i8, ptr %61, i64 8
  call void @_ZNK3Ani4DofT6DofMap15beginBySparsityERKNS0_15TetGeomSparsityEb(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %62, ptr noundef nonnull align 1 dereferenceable(4) %5, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  %63 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  %64 = getelementptr inbounds i8, ptr %63, i64 8
  call void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %64)
  %65 = call noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25) %16, ptr noundef nonnull align 8 dereferenceable(25) %17)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br i1 %65, label %.lr.ph25, label %._crit_edge26

66:                                               ; preds = %.lr.ph, %66
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %66 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  %67 = trunc nuw nsw i64 %indvars.iv to i32
  %68 = mul i32 %31, %67
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %3, i64 %69
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %70, i64 noundef %60)
  %71 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %58, i64 %indvars.iv
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(16) %15, i64 16, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  %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 %66, !llvm.loop !24

._crit_edge26:                                    ; preds = %.lr.ph25, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #7
  ret void

.lr.ph25:                                         ; preds = %._crit_edge, %.lr.ph25
  %72 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  %73 = call noundef ptr @_ZNK3Ani4DofT18DofSparsedIteratorptEv(ptr noundef nonnull align 8 dereferenceable(25) %16)
  %74 = load i32, ptr %73, align 4, !tbaa !26
  %75 = load ptr, ptr %72, align 8, !tbaa !5
  %76 = getelementptr inbounds i8, ptr %75, i64 48
  %77 = load ptr, ptr %76, align 8
  call void %77(ptr noundef nonnull align 8 dereferenceable(24) %72, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef %58, i32 noundef %74, i32 noundef %27, ptr noundef nonnull byval(%"struct.Ani::PlainMemoryX") align 8 %6, ptr noundef %7, i32 noundef %8)
  %78 = call noundef nonnull align 8 dereferenceable(25) ptr @_ZN3Ani4DofT18DofSparsedIteratorppEv(ptr noundef nonnull align 8 dereferenceable(25) %16)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #7
  %79 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  %80 = getelementptr inbounds i8, ptr %79, i64 8
  call void @_ZNK3Ani4DofT6DofMap13endBySparsityEv(ptr dead_on_unwind nonnull writable sret(%"struct.Ani::DofT::DofSparsedIterator") align 8 %17, ptr noundef nonnull align 8 dereferenceable(16) %80)
  %81 = call noundef zeroext i1 @_ZNK3Ani4DofT18DofSparsedIteratorneERKS1_(ptr noundef nonnull align 8 dereferenceable(25) %16, ptr noundef nonnull align 8 dereferenceable(25) %17)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #7
  br i1 %81, label %.lr.ph25, label %._crit_edge26, !llvm.loop !28
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn nounwind "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 = { nounwind }
attributes #8 = { noreturn 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, !16, i64 24}
!9 = !{!"_ZTSN3Ani4DofT12VectorDofMapE", !10, i64 0, !11, i64 8, !16, i64 24}
!10 = !{!"_ZTSN3Ani4DofT10BaseDofMapE"}
!11 = !{!"_ZTSSt10shared_ptrIN3Ani4DofT10BaseDofMapEE", !12, i64 0}
!12 = !{!"_ZTSSt12__shared_ptrIN3Ani4DofT10BaseDofMapELN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0, !15, i64 8}
!13 = !{!"any pointer", !14, i64 0}
!14 = !{!"omnipotent char", !7, i64 0}
!15 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !13, i64 0}
!16 = !{!"int", !14, i64 0}
!17 = !{!18, !13, i64 16}
!18 = !{!"_ZTSN3Ani12PlainMemoryXIdiEE", !13, i64 0, !13, i64 8, !13, i64 16, !19, i64 24, !19, i64 32, !19, i64 40}
!19 = !{!"long", !14, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!18, !19, i64 40}
!22 = !{!19, !19, i64 0}
!23 = !{i64 0, i64 8, !20, i64 8, i64 8, !22}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = !{!27, !16, i64 0}
!27 = !{!"_ZTSN3Ani4DofT10LocalOrderE", !16, i64 0, !16, i64 4, !14, i64 8, !14, i64 9, !14, i64 10, !14, i64 11}
!28 = distinct !{!28, !25}


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