; 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::PlainMemoryX" = type { ptr, ptr, ptr, i64, i64, i64 }
%"struct.Ani::DofT::ComponentTetOrder" = type { %"struct.Ani::DofT::TetOrder", %"struct.Ani::DofT::TetOrder", i32 }
%"struct.Ani::DofT::TetOrder" = type { i32 }
%"struct.Ani::ArrayView" = type { ptr, i64 }
%class.anon.28 = type { ptr, i32, i32, i32, i32, ptr }
%"struct.Ani::BaseFemSpace::FunctorContainer" = type { ptr, ptr }
%"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.13 = external hidden unnamed_addr constant [101 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESB_j = external hidden unnamed_addr constant [159 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 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)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK3Ani4DofT12VectorDofMap11ComponentIDENS0_8TetOrderE(ptr noundef nonnull align 8 dereferenceable(28), i32) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT8TetOrderC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #3 align 2

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

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

44:                                               ; preds = %9
  br label %45

45:                                               ; preds = %44, %9
  %46 = phi i1 [ false, %9 ], [ true, %44 ]
  br i1 %46, label %47, label %48

47:                                               ; preds = %45
  br label %50

48:                                               ; preds = %45
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.3, i32 noundef 425, ptr noundef @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESB_j) #7
  unreachable

49:                                               ; No predecessors!
  br label %50

50:                                               ; preds = %49, %47
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  %51 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %36, i32 0, i32 1
  %52 = call noundef ptr @_ZNK3Ani4DofT6DofMap6targetINS0_12VectorDofMapEEEPKT_v(ptr noundef nonnull align 8 dereferenceable(16) %51)
  %53 = getelementptr inbounds %"struct.Ani::DofT::VectorDofMap", ptr %52, i32 0, i32 2
  %54 = load i32, ptr %53, align 8, !tbaa !13
  store i32 %54, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %55 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %36, i32 0, i32 1
  %56 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %55) #6
  %57 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %56, i32 0, i32 1
  %58 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %57)
  store i32 %58, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %59 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %36, i32 0, i32 1
  %60 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %59) #6
  %61 = load ptr, ptr %60, align 8, !tbaa !11
  %62 = getelementptr inbounds ptr, ptr %61, i64 3
  %63 = load ptr, ptr %62, align 8
  %64 = call noundef i32 %63(ptr noundef nonnull align 8 dereferenceable(24) %60)
  store i32 %64, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  %65 = getelementptr inbounds %"struct.Ani::BaseFemSpace", ptr %36, i32 0, i32 1
  %66 = call noundef ptr @_ZNK3Ani4DofT6DofMap6targetINS0_12VectorDofMapEEEPKT_v(ptr noundef nonnull align 8 dereferenceable(16) %65)
  %67 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN3Ani4DofT8TetOrderC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %23, i32 noundef %67)
  %68 = getelementptr inbounds %"struct.Ani::DofT::TetOrder", ptr %23, i32 0, i32 0
  %69 = load i32, ptr %68, align 4
  %70 = call { i64, i32 } @_ZNK3Ani4DofT12VectorDofMap11ComponentIDENS0_8TetOrderE(ptr noundef nonnull align 8 dereferenceable(28) %66, i32 %69)
  store { i64, i32 } %70, ptr %24, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %24, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %71 = getelementptr inbounds %"struct.Ani::DofT::ComponentTetOrder", ptr %22, i32 0, i32 2
  %72 = load i32, ptr %71, align 4, !tbaa !19
  store i32 %72, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %73 = getelementptr inbounds %"struct.Ani::DofT::ComponentTetOrder", ptr %22, i32 0, i32 1
  %74 = call noundef i32 @_ZNK3Ani4DofT8TetOrdercvjEv(ptr noundef nonnull align 4 dereferenceable(4) %73)
  store i32 %74, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !9
  br label %75

75:                                               ; preds = %107, %50
  %76 = load i32, ptr %27, align 4, !tbaa !9
  %77 = load i32, ptr %15, align 4, !tbaa !9
  %78 = icmp slt i32 %76, %77
  br i1 %78, label %80, label %79

79:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %110

80:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 16, ptr %28) #6
  %81 = load ptr, ptr %13, align 8, !tbaa !5
  %82 = load i32, ptr %27, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %81, i64 %83
  %85 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %84, i32 0, i32 0
  %86 = load ptr, ptr %85, align 8, !tbaa !22
  %87 = load i32, ptr %25, align 4, !tbaa !9
  %88 = load i32, ptr %20, align 4, !tbaa !9
  %89 = mul i32 %87, %88
  %90 = zext i32 %89 to i64
  %91 = getelementptr inbounds double, ptr %86, i64 %90
  %92 = load ptr, ptr %13, align 8, !tbaa !5
  %93 = load i32, ptr %27, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %92, i64 %94
  %96 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %95, i32 0, i32 1
  %97 = load i64, ptr %96, align 8, !tbaa !25
  %98 = load i32, ptr %25, align 4, !tbaa !9
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = mul i32 %98, %99
  %101 = zext i32 %100 to i64
  %102 = sub i64 %97, %101
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %28, ptr noundef %91, i64 noundef %102)
  %103 = load ptr, ptr %13, align 8, !tbaa !5
  %104 = load i32, ptr %27, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %103, i64 %105
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %106, ptr align 8 %28, i64 16, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 16, ptr %28) #6
  br label %107

107:                                              ; preds = %80
  %108 = load i32, ptr %27, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %27, align 4, !tbaa !9
  br label %75, !llvm.loop !28

110:                                              ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %111 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8, !tbaa !30
  store ptr %112, ptr %29, align 8, !tbaa !5
  %113 = load i32, ptr %15, align 4, !tbaa !9
  %114 = load i32, ptr %19, align 4, !tbaa !9
  %115 = mul nsw i32 %113, %114
  %116 = load i32, ptr %21, align 4, !tbaa !9
  %117 = mul i32 %115, %116
  %118 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 0
  %119 = load ptr, ptr %118, align 8, !tbaa !30
  %120 = zext i32 %117 to i64
  %121 = getelementptr inbounds double, ptr %119, i64 %120
  store ptr %121, ptr %118, align 8, !tbaa !30
  %122 = load i32, ptr %15, align 4, !tbaa !9
  %123 = load i32, ptr %19, align 4, !tbaa !9
  %124 = mul nsw i32 %122, %123
  %125 = load i32, ptr %21, align 4, !tbaa !9
  %126 = mul i32 %124, %125
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds %"struct.Ani::PlainMemoryX", ptr %6, i32 0, i32 3
  %129 = load i64, ptr %128, align 8, !tbaa !32
  %130 = sub i64 %129, %127
  store i64 %130, ptr %128, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #6
  %131 = getelementptr inbounds %class.anon.28, ptr %30, i32 0, i32 0
  %132 = load ptr, ptr %12, align 8, !tbaa !5
  store ptr %132, ptr %131, align 8, !tbaa !5
  %133 = getelementptr inbounds %class.anon.28, ptr %30, i32 0, i32 1
  %134 = load i32, ptr %25, align 4, !tbaa !9
  store i32 %134, ptr %133, align 8, !tbaa !33
  %135 = getelementptr inbounds %class.anon.28, ptr %30, i32 0, i32 2
  %136 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %136, ptr %135, align 4, !tbaa !35
  %137 = getelementptr inbounds %class.anon.28, ptr %30, i32 0, i32 3
  %138 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %138, ptr %137, align 8, !tbaa !36
  %139 = getelementptr inbounds %class.anon.28, ptr %30, i32 0, i32 4
  %140 = load i32, ptr %19, align 4, !tbaa !9
  %141 = load i32, ptr %21, align 4, !tbaa !9
  %142 = mul i32 %140, %141
  store i32 %142, ptr %139, align 4, !tbaa !37
  %143 = getelementptr inbounds %class.anon.28, ptr %30, i32 0, i32 5
  %144 = load ptr, ptr %29, align 8, !tbaa !5
  store ptr %144, ptr %143, align 8, !tbaa !38
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #6
  %145 = getelementptr inbounds %"struct.Ani::BaseFemSpace::FunctorContainer", ptr %31, i32 0, i32 0
  store ptr %30, ptr %145, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.Ani::BaseFemSpace::FunctorContainer", ptr %31, i32 0, i32 1
  %147 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %147, ptr %146, align 8, !tbaa !39
  %148 = getelementptr inbounds %"struct.Ani::VectorFemSpace", ptr %36, i32 0, i32 1
  %149 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %148) #6
  %150 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  store ptr @"_ZN3Ani12BaseFemSpace16FunctorContainerIZNKS_14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESD_jE3$_0E12eval_functorESB_SC_jSD_", ptr %32, align 8, !tbaa !5
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = load i32, ptr %26, align 4, !tbaa !9
  %153 = load i32, ptr %15, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %33, ptr align 8 %6, i64 48, i1 false), !tbaa.struct !41
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = load ptr, ptr %149, align 8, !tbaa !11
  %156 = getelementptr inbounds ptr, ptr %155, i64 6
  %157 = load ptr, ptr %156, align 8
  call void %157(ptr noundef nonnull align 8 dereferenceable(24) %149, ptr noundef nonnull align 8 dereferenceable(132) %150, ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef %151, i32 noundef %152, i32 noundef %153, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %33, ptr noundef %31, i32 noundef %154)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %158

158:                                              ; preds = %191, %110
  %159 = load i32, ptr %34, align 4, !tbaa !9
  %160 = load i32, ptr %15, align 4, !tbaa !9
  %161 = icmp slt i32 %159, %160
  br i1 %161, label %163, label %162

162:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  br label %194

163:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #6
  %164 = load ptr, ptr %13, align 8, !tbaa !5
  %165 = load i32, ptr %34, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %164, i64 %166
  %168 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %167, i32 0, i32 0
  %169 = load ptr, ptr %168, align 8, !tbaa !22
  %170 = load i32, ptr %25, align 4, !tbaa !9
  %171 = load i32, ptr %20, align 4, !tbaa !9
  %172 = mul i32 %170, %171
  %173 = zext i32 %172 to i64
  %174 = sub i64 0, %173
  %175 = getelementptr inbounds double, ptr %169, i64 %174
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = load i32, ptr %34, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %176, i64 %178
  %180 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %179, i32 0, i32 1
  %181 = load i64, ptr %180, align 8, !tbaa !25
  %182 = load i32, ptr %25, align 4, !tbaa !9
  %183 = load i32, ptr %20, align 4, !tbaa !9
  %184 = mul i32 %182, %183
  %185 = zext i32 %184 to i64
  %186 = add i64 %181, %185
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %35, ptr noundef %175, i64 noundef %186)
  %187 = load ptr, ptr %13, align 8, !tbaa !5
  %188 = load i32, ptr %34, align 4, !tbaa !9
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %187, i64 %189
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %190, ptr align 8 %35, i64 16, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #6
  br label %191

191:                                              ; preds = %163
  %192 = load i32, ptr %34, align 4, !tbaa !9
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %34, align 4, !tbaa !9
  br label %158, !llvm.loop !42

194:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @"_ZN3Ani12BaseFemSpace16FunctorContainerIZNKS_14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESD_jE3$_0E12eval_functorESB_SC_jSD_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i32 noundef, ptr noundef) #2 align 2

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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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, !10, i64 8}
!20 = !{!"_ZTSN3Ani4DofT17ComponentTetOrderE", !21, i64 0, !21, i64 4, !10, i64 8}
!21 = !{!"_ZTSN3Ani4DofT8TetOrderE", !10, i64 0}
!22 = !{!23, !6, i64 0}
!23 = !{!"_ZTSN3Ani9ArrayViewIdEE", !6, i64 0, !24, i64 8}
!24 = !{!"long", !7, i64 0}
!25 = !{!23, !24, i64 8}
!26 = !{i64 0, i64 8, !5, i64 8, i64 8, !27}
!27 = !{!24, !24, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!31, !6, i64 0}
!31 = !{!"_ZTSN3Ani12PlainMemoryXIdiEE", !6, i64 0, !6, i64 8, !6, i64 16, !24, i64 24, !24, i64 32, !24, i64 40}
!32 = !{!31, !24, i64 24}
!33 = !{!34, !10, i64 8}
!34 = !{!"_ZTSZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESB_jE3$_0", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !6, i64 24}
!35 = !{!34, !10, i64 12}
!36 = !{!34, !10, i64 16}
!37 = !{!34, !10, i64 20}
!38 = !{!34, !6, i64 24}
!39 = !{!40, !6, i64 8}
!40 = !{!"_ZTSN3Ani12BaseFemSpace16FunctorContainerIZNKS_14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESD_jE3$_0EE", !6, i64 0, !6, i64 8}
!41 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !27, i64 32, i64 8, !27, i64 40, i64 8, !27}
!42 = distinct !{!42, !29}


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

%"struct.Ani::PlainMemoryX" = type { ptr, ptr, ptr, i64, i64, i64 }
%"struct.Ani::DofT::ComponentTetOrder" = type { %"struct.Ani::DofT::TetOrder", %"struct.Ani::DofT::TetOrder", i32 }
%"struct.Ani::DofT::TetOrder" = type { i32 }
%"struct.Ani::ArrayView" = type { ptr, i64 }
%class.anon.28 = type { ptr, i32, i32, i32, i32, ptr }
%"struct.Ani::BaseFemSpace::FunctorContainer" = type { ptr, ptr }

@.str.3 = external hidden unnamed_addr constant [82 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [101 x i8], align 1
@__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESB_j = external hidden unnamed_addr constant [159 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 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 #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { i64, i32 } @_ZNK3Ani4DofT12VectorDofMap11ComponentIDENS0_8TetOrderE(ptr noundef nonnull align 8 dereferenceable(28), i32) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3Ani4DofT8TetOrderC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_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 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef byval(%"struct.Ani::PlainMemoryX") align 8 %6, ptr noundef %7, i32 noundef %8) unnamed_addr #5 align 2 {
  %10 = alloca %"struct.Ani::PlainMemoryX", align 8
  %11 = alloca %"struct.Ani::DofT::ComponentTetOrder", align 8
  %12 = alloca %"struct.Ani::DofT::TetOrder", align 4
  %13 = alloca %"struct.Ani::ArrayView", align 8
  %14 = alloca %class.anon.28, align 8
  %15 = alloca %"struct.Ani::BaseFemSpace::FunctorContainer", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"struct.Ani::ArrayView", align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #6
  %18 = load ptr, ptr %0, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 56
  %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 %4, i32 noundef %5, 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.13, ptr noundef nonnull @.str.3, i32 noundef 425, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESB_j) #7
  unreachable

23:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #6
  %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) #6
  %30 = getelementptr inbounds i8, ptr %29, i64 8
  %31 = call noundef i32 @_ZNK3Ani4DofT6DofMap11NumDofOnTetEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %32 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  %33 = load ptr, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 24
  %35 = load ptr, ptr %34, align 8
  %36 = call noundef i32 %35(ptr noundef nonnull align 8 dereferenceable(24) %32)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  %37 = call noundef ptr @_ZNK3Ani4DofT6DofMap6targetINS0_12VectorDofMapEEEPKT_v(ptr noundef nonnull align 8 dereferenceable(16) %24)
  call void @_ZN3Ani4DofT8TetOrderC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef %4)
  %38 = load i32, ptr %12, align 4
  %39 = call { i64, i32 } @_ZNK3Ani4DofT12VectorDofMap11ComponentIDENS0_8TetOrderE(ptr noundef nonnull align 8 dereferenceable(28) %37, i32 %38)
  %.fca.0.extract = extractvalue { i64, i32 } %39, 0
  %.fca.1.extract = extractvalue { i64, i32 } %39, 1
  store i64 %.fca.0.extract, ptr %11, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %40 = getelementptr inbounds i8, ptr %11, i64 4
  %41 = call noundef i32 @_ZNK3Ani4DofT8TetOrdercvjEv(ptr noundef nonnull align 4 dereferenceable(4) %40)
  %42 = icmp sgt i32 %5, 0
  br i1 %42, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %23
  %43 = mul i32 %.fca.1.extract, %31
  %44 = zext i32 %43 to i64
  %wide.trip.count = zext nneg i32 %5 to i64
  br label %66

._crit_edge:                                      ; preds = %66, %23
  %45 = load ptr, ptr %6, align 8, !tbaa !17
  %46 = mul i32 %36, %27
  %47 = mul i32 %46, %5
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds double, ptr %45, i64 %48
  store ptr %49, ptr %6, align 8, !tbaa !17
  %50 = getelementptr inbounds i8, ptr %6, i64 24
  %51 = load i64, ptr %50, align 8, !tbaa !20
  %52 = sub i64 %51, %48
  store i64 %52, ptr %50, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #6
  store ptr %2, ptr %14, align 8, !tbaa !21
  %53 = getelementptr inbounds i8, ptr %14, i64 8
  store i32 %.fca.1.extract, ptr %53, align 8, !tbaa !22
  %54 = getelementptr inbounds i8, ptr %14, i64 12
  store i32 %36, ptr %54, align 4, !tbaa !24
  %55 = getelementptr inbounds i8, ptr %14, i64 16
  store i32 %5, ptr %55, align 8, !tbaa !25
  %56 = getelementptr inbounds i8, ptr %14, i64 20
  store i32 %46, ptr %56, align 4, !tbaa !26
  %57 = getelementptr inbounds i8, ptr %14, i64 24
  store ptr %45, ptr %57, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #6
  store ptr %14, ptr %15, align 8, !tbaa !21
  %58 = getelementptr inbounds i8, ptr %15, i64 8
  store ptr %7, ptr %58, align 8, !tbaa !28
  %59 = call noundef ptr @_ZNKSt19__shared_ptr_accessIN3Ani12BaseFemSpaceELN9__gnu_cxx12_Lock_policyE2ELb0ELb0EEptEv(ptr noundef nonnull align 1 dereferenceable(1) %28) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  store ptr @"_ZN3Ani12BaseFemSpace16FunctorContainerIZNKS_14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESD_jE3$_0E12eval_functorESB_SC_jSD_", ptr %16, align 8, !tbaa !21
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 48
  %62 = load ptr, ptr %61, align 8
  call void %62(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(132) %1, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef %3, i32 noundef %41, i32 noundef %5, ptr noundef nonnull byval(%"struct.Ani::PlainMemoryX") align 8 %6, ptr noundef nonnull %15, i32 noundef %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br i1 %42, label %.lr.ph54, label %._crit_edge55

.lr.ph54:                                         ; preds = %._crit_edge
  %63 = mul i32 %.fca.1.extract, %31
  %64 = zext i32 %63 to i64
  %65 = sub nsw i64 0, %64
  %wide.trip.count60 = zext nneg i32 %5 to i64
  br label %73

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 %13) #6
  %67 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %3, i64 %indvars.iv
  %68 = load ptr, ptr %67, align 8, !tbaa !30
  %69 = getelementptr inbounds double, ptr %68, i64 %44
  %70 = getelementptr inbounds i8, ptr %67, i64 8
  %71 = load i64, ptr %70, align 8, !tbaa !32
  %72 = sub i64 %71, %44
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %69, i64 noundef %72)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef nonnull align 8 dereferenceable(16) %13, i64 16, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  %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 !35

._crit_edge55:                                    ; preds = %73, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  ret void

73:                                               ; preds = %.lr.ph54, %73
  %indvars.iv57 = phi i64 [ 0, %.lr.ph54 ], [ %indvars.iv.next58, %73 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #6
  %74 = getelementptr inbounds %"struct.Ani::ArrayView", ptr %3, i64 %indvars.iv57
  %75 = load ptr, ptr %74, align 8, !tbaa !30
  %76 = getelementptr inbounds double, ptr %75, i64 %65
  %77 = getelementptr inbounds i8, ptr %74, i64 8
  %78 = load i64, ptr %77, align 8, !tbaa !32
  %79 = add i64 %78, %64
  call void @_ZN3Ani9ArrayViewIdEC2EPdm(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %76, i64 noundef %79)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %74, ptr noundef nonnull align 8 dereferenceable(16) %17, i64 16, i1 false), !tbaa.struct !33
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #6
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next58, %wide.trip.count60
  br i1 %exitcond61.not, label %._crit_edge55, label %73, !llvm.loop !37
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef i32 @"_ZN3Ani12BaseFemSpace16FunctorContainerIZNKS_14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESD_jE3$_0E12eval_functorESB_SC_jSD_"(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, i32 noundef, ptr noundef) #2 align 2

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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { 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 0}
!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 = !{!18, !19, i64 24}
!21 = !{!13, !13, i64 0}
!22 = !{!23, !16, i64 8}
!23 = !{!"_ZTSZNK3Ani14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESB_jE3$_0", !13, i64 0, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !13, i64 24}
!24 = !{!23, !16, i64 12}
!25 = !{!23, !16, i64 16}
!26 = !{!23, !16, i64 20}
!27 = !{!23, !13, i64 24}
!28 = !{!29, !13, i64 8}
!29 = !{!"_ZTSN3Ani12BaseFemSpace16FunctorContainerIZNKS_14VectorFemSpace16interpolateOnDOFERKNS_5TetraIKdEERKPFiRKSt5arrayIdLm3EEPdjPvEPNS_9ArrayViewIdEEiiNS_12PlainMemoryXIdiEESD_jE3$_0EE", !13, i64 0, !13, i64 8}
!30 = !{!31, !13, i64 0}
!31 = !{!"_ZTSN3Ani9ArrayViewIdEE", !13, i64 0, !19, i64 8}
!32 = !{!31, !19, i64 8}
!33 = !{i64 0, i64 8, !21, i64 8, i64 8, !34}
!34 = !{!19, !19, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}


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