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

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

%"struct.std::array.2" = type { [6 x i32] }
%"struct.Ani::DofT::UniteDofMap" = type { %"struct.Ani::DofT::BaseDofMap", %"struct.std::array.7", %"struct.std::array.7", %"struct.Ani::DofT::DofSymmetries" }
%"struct.Ani::DofT::BaseDofMap" = type { ptr }
%"struct.std::array.7" = type { [7 x i32] }
%"struct.Ani::DofT::DofSymmetries" = type { %"struct.std::array.6" }
%"struct.std::array.6" = type { [16 x i32] }

@_ZTVN3Ani4DofT11UniteDofMapE = external dso_local unnamed_addr constant { [24 x ptr] }, align 8

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28), i64 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Ani4DofT11UniteDofMapC2ESt5arrayIjLm6EE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef byval(%"struct.std::array.2") align 8 %1) unnamed_addr #5 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8
  call void @_ZN3Ani4DofT10BaseDofMapC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  store ptr getelementptr inbounds inrange(-16, 176) ({ [24 x ptr] }, ptr @_ZTVN3Ani4DofT11UniteDofMapE, i32 0, i32 0, i32 2), ptr %5, align 8, !tbaa !9
  %6 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 1
  %7 = getelementptr inbounds %"struct.std::array.7", ptr %6, i32 0, i32 0
  call void @llvm.memset.p0.i64(ptr align 8 %7, i8 0, i64 28, i1 false)
  %8 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 2
  %9 = getelementptr inbounds %"struct.std::array.7", ptr %8, i32 0, i32 0
  call void @llvm.memset.p0.i64(ptr align 4 %9, i8 0, i64 28, i1 false)
  %10 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 3
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 64, i1 false)
  call void @_ZN3Ani4DofT13DofSymmetriesC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %10) #6
  %11 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 2
  %12 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %11, i64 noundef 0) #6
  store i32 0, ptr %12, align 4, !tbaa !11
  %13 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 1
  %14 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %13, i64 noundef 0) #6
  store i32 0, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !11
  br label %15

15:                                               ; preds = %59, %2
  %16 = load i32, ptr %4, align 4, !tbaa !11
  %17 = icmp ult i32 %16, 6
  br i1 %17, label %19, label %18

18:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %62

19:                                               ; preds = %15
  %20 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 2
  %21 = load i32, ptr %4, align 4, !tbaa !11
  %22 = zext i32 %21 to i64
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %20, i64 noundef %22) #6
  %24 = load i32, ptr %23, align 4, !tbaa !11
  %25 = load i32, ptr %4, align 4, !tbaa !11
  %26 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef %25)
  %27 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %26)
  %28 = zext i8 %27 to i32
  %29 = load i32, ptr %4, align 4, !tbaa !11
  %30 = zext i32 %29 to i64
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef %30) #6
  %32 = load i32, ptr %31, align 4, !tbaa !11
  %33 = mul i32 %28, %32
  %34 = add i32 %24, %33
  %35 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 2
  %36 = load i32, ptr %4, align 4, !tbaa !11
  %37 = add i32 %36, 1
  %38 = zext i32 %37 to i64
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %35, i64 noundef %38) #6
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = add i32 %40, %34
  store i32 %41, ptr %39, align 4, !tbaa !11
  %42 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 1
  %43 = load i32, ptr %4, align 4, !tbaa !11
  %44 = zext i32 %43 to i64
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %42, i64 noundef %44) #6
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = load i32, ptr %4, align 4, !tbaa !11
  %48 = zext i32 %47 to i64
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef %48) #6
  %50 = load i32, ptr %49, align 4, !tbaa !11
  %51 = add i32 %46, %50
  %52 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %5, i32 0, i32 1
  %53 = load i32, ptr %4, align 4, !tbaa !11
  %54 = add i32 %53, 1
  %55 = zext i32 %54 to i64
  %56 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %52, i64 noundef %55) #6
  %57 = load i32, ptr %56, align 4, !tbaa !11
  %58 = add i32 %57, %51
  store i32 %58, ptr %56, align 4, !tbaa !11
  br label %59

59:                                               ; preds = %19
  %60 = load i32, ptr %4, align 4, !tbaa !11
  %61 = add i32 %60, 1
  store i32 %61, ptr %4, align 4, !tbaa !11
  br label %15, !llvm.loop !13

62:                                               ; preds = %18
  ret void
}

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

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

!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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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

%"struct.std::array.2" = type { [6 x i32] }

@_ZTVN3Ani4DofT11UniteDofMapE = external dso_local unnamed_addr constant { [24 x ptr] }, align 8

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #0

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Ani4DofT11UniteDofMapC2ESt5arrayIjLm6EE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef byval(%"struct.std::array.2") align 8 %1) unnamed_addr #4 align 2 {
  tail call void @_ZN3Ani4DofT10BaseDofMapC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  store ptr getelementptr inbounds inrange(-16, 176) (i8, ptr @_ZTVN3Ani4DofT11UniteDofMapE, i64 16), ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = getelementptr inbounds i8, ptr %0, i64 36
  %5 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(120) %3, i8 0, i64 120, i1 false)
  tail call void @_ZN3Ani4DofT13DofSymmetriesC2Ev(ptr noundef nonnull align 4 dereferenceable(64) %5) #5
  %6 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 0) #5
  store i32 0, ptr %6, align 4, !tbaa !8
  %7 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 0) #5
  store i32 0, ptr %7, align 4, !tbaa !8
  %8 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 0) #5
  %9 = load i32, ptr %8, align 4, !tbaa !8
  %10 = tail call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 0)
  %11 = tail call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %10)
  %12 = zext i8 %11 to i32
  %13 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 0) #5
  %14 = load i32, ptr %13, align 4, !tbaa !8
  %15 = mul i32 %14, %12
  %16 = add i32 %15, %9
  %17 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 1) #5
  %18 = load i32, ptr %17, align 4, !tbaa !8
  %19 = add i32 %16, %18
  store i32 %19, ptr %17, align 4, !tbaa !8
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 0) #5
  %21 = load i32, ptr %20, align 4, !tbaa !8
  %22 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 0) #5
  %23 = load i32, ptr %22, align 4, !tbaa !8
  %24 = add i32 %23, %21
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 1) #5
  %26 = load i32, ptr %25, align 4, !tbaa !8
  %27 = add i32 %24, %26
  store i32 %27, ptr %25, align 4, !tbaa !8
  %28 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 1) #5
  %29 = load i32, ptr %28, align 4, !tbaa !8
  %30 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 1)
  %31 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %30)
  %32 = zext i8 %31 to i32
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 1) #5
  %34 = load i32, ptr %33, align 4, !tbaa !8
  %35 = mul i32 %34, %32
  %36 = add i32 %35, %29
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 2) #5
  %38 = load i32, ptr %37, align 4, !tbaa !8
  %39 = add i32 %36, %38
  store i32 %39, ptr %37, align 4, !tbaa !8
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 1) #5
  %41 = load i32, ptr %40, align 4, !tbaa !8
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 1) #5
  %43 = load i32, ptr %42, align 4, !tbaa !8
  %44 = add i32 %43, %41
  %45 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 2) #5
  %46 = load i32, ptr %45, align 4, !tbaa !8
  %47 = add i32 %44, %46
  store i32 %47, ptr %45, align 4, !tbaa !8
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 2) #5
  %49 = load i32, ptr %48, align 4, !tbaa !8
  %50 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 2)
  %51 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %50)
  %52 = zext i8 %51 to i32
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 2) #5
  %54 = load i32, ptr %53, align 4, !tbaa !8
  %55 = mul i32 %54, %52
  %56 = add i32 %55, %49
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 3) #5
  %58 = load i32, ptr %57, align 4, !tbaa !8
  %59 = add i32 %56, %58
  store i32 %59, ptr %57, align 4, !tbaa !8
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 2) #5
  %61 = load i32, ptr %60, align 4, !tbaa !8
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 2) #5
  %63 = load i32, ptr %62, align 4, !tbaa !8
  %64 = add i32 %63, %61
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 3) #5
  %66 = load i32, ptr %65, align 4, !tbaa !8
  %67 = add i32 %64, %66
  store i32 %67, ptr %65, align 4, !tbaa !8
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 3) #5
  %69 = load i32, ptr %68, align 4, !tbaa !8
  %70 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 3)
  %71 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %70)
  %72 = zext i8 %71 to i32
  %73 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 3) #5
  %74 = load i32, ptr %73, align 4, !tbaa !8
  %75 = mul i32 %74, %72
  %76 = add i32 %75, %69
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 4) #5
  %78 = load i32, ptr %77, align 4, !tbaa !8
  %79 = add i32 %76, %78
  store i32 %79, ptr %77, align 4, !tbaa !8
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 3) #5
  %81 = load i32, ptr %80, align 4, !tbaa !8
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 3) #5
  %83 = load i32, ptr %82, align 4, !tbaa !8
  %84 = add i32 %83, %81
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 4) #5
  %86 = load i32, ptr %85, align 4, !tbaa !8
  %87 = add i32 %84, %86
  store i32 %87, ptr %85, align 4, !tbaa !8
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 4) #5
  %89 = load i32, ptr %88, align 4, !tbaa !8
  %90 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 4)
  %91 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %90)
  %92 = zext i8 %91 to i32
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 4) #5
  %94 = load i32, ptr %93, align 4, !tbaa !8
  %95 = mul i32 %94, %92
  %96 = add i32 %95, %89
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 5) #5
  %98 = load i32, ptr %97, align 4, !tbaa !8
  %99 = add i32 %96, %98
  store i32 %99, ptr %97, align 4, !tbaa !8
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 4) #5
  %101 = load i32, ptr %100, align 4, !tbaa !8
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 4) #5
  %103 = load i32, ptr %102, align 4, !tbaa !8
  %104 = add i32 %103, %101
  %105 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 5) #5
  %106 = load i32, ptr %105, align 4, !tbaa !8
  %107 = add i32 %104, %106
  store i32 %107, ptr %105, align 4, !tbaa !8
  %108 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 5) #5
  %109 = load i32, ptr %108, align 4, !tbaa !8
  %110 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 5)
  %111 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %110)
  %112 = zext i8 %111 to i32
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 5) #5
  %114 = load i32, ptr %113, align 4, !tbaa !8
  %115 = mul i32 %114, %112
  %116 = add i32 %115, %109
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 6) #5
  %118 = load i32, ptr %117, align 4, !tbaa !8
  %119 = add i32 %116, %118
  store i32 %119, ptr %117, align 4, !tbaa !8
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 5) #5
  %121 = load i32, ptr %120, align 4, !tbaa !8
  %122 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %1, i64 noundef 5) #5
  %123 = load i32, ptr %122, align 4, !tbaa !8
  %124 = add i32 %123, %121
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %3, i64 noundef 6) #5
  %126 = load i32, ptr %125, align 4, !tbaa !8
  %127 = add i32 %124, %126
  store i32 %127, ptr %125, align 4, !tbaa !8
  ret void
}

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass