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

; 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::DofSymmetries" = type { %"struct.std::array.6" }
%"struct.std::array.6" = type { [16 x i32] }
%"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] }

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

; 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: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

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

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

128:                                              ; preds = %172, %2
  %129 = load i32, ptr %5, align 4, !tbaa !13
  %130 = icmp ult i32 %129, 6
  br i1 %130, label %132, label %131

131:                                              ; preds = %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %175

132:                                              ; preds = %128
  %133 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %6, i32 0, i32 2
  %134 = load i32, ptr %5, align 4, !tbaa !13
  %135 = zext i32 %134 to i64
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %133, i64 noundef %135) #7
  %137 = load i32, ptr %136, align 4, !tbaa !13
  %138 = load i32, ptr %5, align 4, !tbaa !13
  %139 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef %138)
  %140 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %139)
  %141 = zext i8 %140 to i32
  %142 = load i32, ptr %5, align 4, !tbaa !13
  %143 = zext i32 %142 to i64
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %4, i64 noundef %143) #7
  %145 = load i32, ptr %144, align 4, !tbaa !13
  %146 = mul i32 %141, %145
  %147 = add i32 %137, %146
  %148 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %6, i32 0, i32 2
  %149 = load i32, ptr %5, align 4, !tbaa !13
  %150 = add i32 %149, 1
  %151 = zext i32 %150 to i64
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %148, i64 noundef %151) #7
  %153 = load i32, ptr %152, align 4, !tbaa !13
  %154 = add i32 %153, %147
  store i32 %154, ptr %152, align 4, !tbaa !13
  %155 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %6, i32 0, i32 1
  %156 = load i32, ptr %5, align 4, !tbaa !13
  %157 = zext i32 %156 to i64
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %155, i64 noundef %157) #7
  %159 = load i32, ptr %158, align 4, !tbaa !13
  %160 = load i32, ptr %5, align 4, !tbaa !13
  %161 = zext i32 %160 to i64
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %4, i64 noundef %161) #7
  %163 = load i32, ptr %162, align 4, !tbaa !13
  %164 = add i32 %159, %163
  %165 = getelementptr inbounds %"struct.Ani::DofT::UniteDofMap", ptr %6, i32 0, i32 1
  %166 = load i32, ptr %5, align 4, !tbaa !13
  %167 = add i32 %166, 1
  %168 = zext i32 %167 to i64
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %165, i64 noundef %168) #7
  %170 = load i32, ptr %169, align 4, !tbaa !13
  %171 = add i32 %170, %164
  store i32 %171, ptr %169, align 4, !tbaa !13
  br label %172

172:                                              ; preds = %132
  %173 = load i32, ptr %5, align 4, !tbaa !13
  %174 = add i32 %173, 1
  store i32 %174, ptr %5, align 4, !tbaa !13
  br label %128, !llvm.loop !15

175:                                              ; preds = %131
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #7
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) #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) #3 align 2

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

!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 = !{i64 0, i64 64, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"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.Ani::DofT::DofSymmetries" = type { %"struct.std::array.6" }
%"struct.std::array.6" = type { [16 x i32] }
%"struct.std::array.2" = type { [6 x i32] }

@_ZTVN3Ani4DofT11UniteDofMapE = external dso_local unnamed_addr constant { [24 x ptr] }, align 8
@_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v = external hidden local_unnamed_addr constant [16 x i8], align 16

; 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3Ani4DofT11UniteDofMapC2ENS0_13DofSymmetriesE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef byval(%"struct.Ani::DofT::DofSymmetries") align 8 %1) unnamed_addr #6 align 2 {
  %3 = alloca %"struct.std::array.2", align 4
  tail call void @_ZN3Ani4DofT10BaseDofMapC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #7
  store ptr getelementptr inbounds inrange(-16, 176) (i8, ptr @_ZTVN3Ani4DofT11UniteDofMapE, i64 16), ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = getelementptr inbounds i8, ptr %0, i64 36
  %6 = getelementptr inbounds i8, ptr %0, i64 64
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %4, i8 0, i64 56, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %6, ptr noundef nonnull align 8 dereferenceable(64) %1, i64 64, i1 false), !tbaa.struct !8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #7
  %7 = load i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, align 16, !tbaa !9
  %8 = zext i8 %7 to i32
  %9 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 0) #7
  %10 = load i32, ptr %9, align 4, !tbaa !11
  %11 = mul i32 %10, %8
  store i32 %11, ptr %3, align 4, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %3, i64 4
  %13 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 1), align 1, !tbaa !9
  %14 = zext i8 %13 to i32
  %15 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 1) #7
  %16 = load i32, ptr %15, align 4, !tbaa !11
  %17 = mul i32 %16, %14
  %18 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 2), align 2, !tbaa !9
  %19 = zext i8 %18 to i32
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 2) #7
  %21 = load i32, ptr %20, align 4, !tbaa !11
  %22 = mul i32 %21, %19
  %23 = add i32 %22, %17
  store i32 %23, ptr %12, align 4, !tbaa !11
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 3), align 1, !tbaa !9
  %26 = zext i8 %25 to i32
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 3) #7
  %28 = load i32, ptr %27, align 4, !tbaa !11
  %29 = mul i32 %28, %26
  %30 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 4), align 4, !tbaa !9
  %31 = zext i8 %30 to i32
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 4) #7
  %33 = load i32, ptr %32, align 4, !tbaa !11
  %34 = mul i32 %33, %31
  %35 = add i32 %34, %29
  store i32 %35, ptr %24, align 4, !tbaa !11
  %36 = getelementptr inbounds i8, ptr %3, i64 12
  %37 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 5), align 1, !tbaa !9
  %38 = zext i8 %37 to i32
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 5) #7
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = mul i32 %40, %38
  %42 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 6), align 2, !tbaa !9
  %43 = zext i8 %42 to i32
  %44 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 6) #7
  %45 = load i32, ptr %44, align 4, !tbaa !11
  %46 = mul i32 %45, %43
  %47 = add i32 %46, %41
  %48 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 7), align 1, !tbaa !9
  %49 = zext i8 %48 to i32
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 7) #7
  %51 = load i32, ptr %50, align 4, !tbaa !11
  %52 = mul i32 %51, %49
  %53 = add i32 %47, %52
  store i32 %53, ptr %36, align 4, !tbaa !11
  %54 = getelementptr inbounds i8, ptr %3, i64 16
  %55 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 8), align 8, !tbaa !9
  %56 = zext i8 %55 to i32
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 8) #7
  %58 = load i32, ptr %57, align 4, !tbaa !11
  %59 = mul i32 %58, %56
  %60 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 9), align 1, !tbaa !9
  %61 = zext i8 %60 to i32
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 9) #7
  %63 = load i32, ptr %62, align 4, !tbaa !11
  %64 = mul i32 %63, %61
  %65 = add i32 %64, %59
  %66 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 10), align 2, !tbaa !9
  %67 = zext i8 %66 to i32
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 10) #7
  %69 = load i32, ptr %68, align 4, !tbaa !11
  %70 = mul i32 %69, %67
  %71 = add i32 %65, %70
  store i32 %71, ptr %54, align 4, !tbaa !11
  %72 = getelementptr inbounds i8, ptr %3, i64 20
  %73 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 11), align 1, !tbaa !9
  %74 = zext i8 %73 to i32
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 11) #7
  %76 = load i32, ptr %75, align 4, !tbaa !11
  %77 = mul i32 %76, %74
  %78 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 12), align 4, !tbaa !9
  %79 = zext i8 %78 to i32
  %80 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 12) #7
  %81 = load i32, ptr %80, align 4, !tbaa !11
  %82 = mul i32 %81, %79
  %83 = add i32 %82, %77
  %84 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 13), align 1, !tbaa !9
  %85 = zext i8 %84 to i32
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 13) #7
  %87 = load i32, ptr %86, align 4, !tbaa !11
  %88 = mul i32 %87, %85
  %89 = add i32 %83, %88
  %90 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 14), align 2, !tbaa !9
  %91 = zext i8 %90 to i32
  %92 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 14) #7
  %93 = load i32, ptr %92, align 4, !tbaa !11
  %94 = mul i32 %93, %91
  %95 = add i32 %89, %94
  %96 = load i8, ptr getelementptr inbounds (i8, ptr @_ZZN3Ani4DofT11UniteDofMapC1ENS0_13DofSymmetriesEE1v, i64 15), align 1, !tbaa !9
  %97 = zext i8 %96 to i32
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64) %1, i64 noundef 15) #7
  %99 = load i32, ptr %98, align 4, !tbaa !11
  %100 = mul i32 %99, %97
  %101 = add i32 %95, %100
  store i32 %101, ptr %72, align 4, !tbaa !11
  %102 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 0) #7
  store i32 0, ptr %102, align 4, !tbaa !11
  %103 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 0) #7
  store i32 0, ptr %103, align 4, !tbaa !11
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 0) #7
  %105 = load i32, ptr %104, align 4, !tbaa !11
  %106 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 0)
  %107 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %106)
  %108 = zext i8 %107 to i32
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 0) #7
  %110 = load i32, ptr %109, align 4, !tbaa !11
  %111 = mul i32 %110, %108
  %112 = add i32 %111, %105
  %113 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 1) #7
  %114 = load i32, ptr %113, align 4, !tbaa !11
  %115 = add i32 %112, %114
  store i32 %115, ptr %113, align 4, !tbaa !11
  %116 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 0) #7
  %117 = load i32, ptr %116, align 4, !tbaa !11
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 0) #7
  %119 = load i32, ptr %118, align 4, !tbaa !11
  %120 = add i32 %119, %117
  %121 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 1) #7
  %122 = load i32, ptr %121, align 4, !tbaa !11
  %123 = add i32 %120, %122
  store i32 %123, ptr %121, align 4, !tbaa !11
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 1) #7
  %125 = load i32, ptr %124, align 4, !tbaa !11
  %126 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 1)
  %127 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %126)
  %128 = zext i8 %127 to i32
  %129 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 1) #7
  %130 = load i32, ptr %129, align 4, !tbaa !11
  %131 = mul i32 %130, %128
  %132 = add i32 %131, %125
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 2) #7
  %134 = load i32, ptr %133, align 4, !tbaa !11
  %135 = add i32 %132, %134
  store i32 %135, ptr %133, align 4, !tbaa !11
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 1) #7
  %137 = load i32, ptr %136, align 4, !tbaa !11
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 1) #7
  %139 = load i32, ptr %138, align 4, !tbaa !11
  %140 = add i32 %139, %137
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 2) #7
  %142 = load i32, ptr %141, align 4, !tbaa !11
  %143 = add i32 %140, %142
  store i32 %143, ptr %141, align 4, !tbaa !11
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 2) #7
  %145 = load i32, ptr %144, align 4, !tbaa !11
  %146 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 2)
  %147 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %146)
  %148 = zext i8 %147 to i32
  %149 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 2) #7
  %150 = load i32, ptr %149, align 4, !tbaa !11
  %151 = mul i32 %150, %148
  %152 = add i32 %151, %145
  %153 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 3) #7
  %154 = load i32, ptr %153, align 4, !tbaa !11
  %155 = add i32 %152, %154
  store i32 %155, ptr %153, align 4, !tbaa !11
  %156 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 2) #7
  %157 = load i32, ptr %156, align 4, !tbaa !11
  %158 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 2) #7
  %159 = load i32, ptr %158, align 4, !tbaa !11
  %160 = add i32 %159, %157
  %161 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 3) #7
  %162 = load i32, ptr %161, align 4, !tbaa !11
  %163 = add i32 %160, %162
  store i32 %163, ptr %161, align 4, !tbaa !11
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 3) #7
  %165 = load i32, ptr %164, align 4, !tbaa !11
  %166 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 3)
  %167 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %166)
  %168 = zext i8 %167 to i32
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 3) #7
  %170 = load i32, ptr %169, align 4, !tbaa !11
  %171 = mul i32 %170, %168
  %172 = add i32 %171, %165
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 4) #7
  %174 = load i32, ptr %173, align 4, !tbaa !11
  %175 = add i32 %172, %174
  store i32 %175, ptr %173, align 4, !tbaa !11
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 3) #7
  %177 = load i32, ptr %176, align 4, !tbaa !11
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 3) #7
  %179 = load i32, ptr %178, align 4, !tbaa !11
  %180 = add i32 %179, %177
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 4) #7
  %182 = load i32, ptr %181, align 4, !tbaa !11
  %183 = add i32 %180, %182
  store i32 %183, ptr %181, align 4, !tbaa !11
  %184 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 4) #7
  %185 = load i32, ptr %184, align 4, !tbaa !11
  %186 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 4)
  %187 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %186)
  %188 = zext i8 %187 to i32
  %189 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 4) #7
  %190 = load i32, ptr %189, align 4, !tbaa !11
  %191 = mul i32 %190, %188
  %192 = add i32 %191, %185
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 5) #7
  %194 = load i32, ptr %193, align 4, !tbaa !11
  %195 = add i32 %192, %194
  store i32 %195, ptr %193, align 4, !tbaa !11
  %196 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 4) #7
  %197 = load i32, ptr %196, align 4, !tbaa !11
  %198 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 4) #7
  %199 = load i32, ptr %198, align 4, !tbaa !11
  %200 = add i32 %199, %197
  %201 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 5) #7
  %202 = load i32, ptr %201, align 4, !tbaa !11
  %203 = add i32 %200, %202
  store i32 %203, ptr %201, align 4, !tbaa !11
  %204 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 5) #7
  %205 = load i32, ptr %204, align 4, !tbaa !11
  %206 = call noundef zeroext i8 @_ZN3Ani4DofT13NumToGeomTypeEi(i32 noundef 5)
  %207 = call noundef zeroext i8 @_ZN3Ani4DofT16GeomTypeTetElemsEh(i8 noundef zeroext %206)
  %208 = zext i8 %207 to i32
  %209 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 5) #7
  %210 = load i32, ptr %209, align 4, !tbaa !11
  %211 = mul i32 %210, %208
  %212 = add i32 %211, %205
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %5, i64 noundef 6) #7
  %214 = load i32, ptr %213, align 4, !tbaa !11
  %215 = add i32 %212, %214
  store i32 %215, ptr %213, align 4, !tbaa !11
  %216 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 5) #7
  %217 = load i32, ptr %216, align 4, !tbaa !11
  %218 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm6EEixEm(ptr noundef nonnull align 4 dereferenceable(24) %3, i64 noundef 5) #7
  %219 = load i32, ptr %218, align 4, !tbaa !11
  %220 = add i32 %219, %217
  %221 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm7EEixEm(ptr noundef nonnull align 4 dereferenceable(28) %4, i64 noundef 6) #7
  %222 = load i32, ptr %221, align 4, !tbaa !11
  %223 = add i32 %220, %222
  store i32 %223, ptr %221, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #7
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt5arrayIjLm16EEixEm(ptr noundef nonnull align 4 dereferenceable(64), i64 noundef) local_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) local_unnamed_addr #3 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress 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 }

!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 = !{i64 0, i64 64, !9}
!9 = !{!10, !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !10, i64 0}


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