; LLVM IR from gbanegas/CryptoSith :: gf/GFieldPol.ll (ZN11galoisfield9GFieldPollSERKj)

; 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"

%"class.galoisfield::GFieldElement" = type <{ ptr, i32, [4 x i8] }>
%"class.galoisfield::GFieldPol" = type { ptr, %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl" }
%"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl" = type { %"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl_data" }
%"struct.std::_Vector_base<galoisfield::GFieldElement, std::allocator<galoisfield::GFieldElement>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) #2 align 2

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

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

declare void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef, i32 noundef) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EE6resizeEmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(12)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN11galoisfield9GFieldPollSERKj(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef nonnull align 4 dereferenceable(4) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca %"class.galoisfield::GFieldElement", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  %13 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %14 = call noundef i64 @_ZNKSt6vectorIN11galoisfield13GFieldElementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  %15 = icmp ugt i64 %14, 0
  br i1 %15, label %16, label %72

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  %17 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %18 = call noundef i64 @_ZNKSt6vectorIN11galoisfield13GFieldElementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #6
  store i64 %18, ptr %5, align 8, !tbaa !9
  %19 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %20 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %21 = call noundef i64 @_ZNKSt6vectorIN11galoisfield13GFieldElementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #6
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = load i32, ptr %22, align 4, !tbaa !11
  %24 = zext i32 %23 to i64
  %25 = add i64 %21, %24
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #6
  %26 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !13
  call void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %6, ptr noundef %27, i32 noundef 0)
  invoke void @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EE6resizeEmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %25, ptr noundef nonnull align 8 dereferenceable(12) %6)
          to label %28 unwind label %36

28:                                               ; preds = %16
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %29 = load i64, ptr %5, align 8, !tbaa !9
  %30 = sub i64 %29, 1
  store i64 %30, ptr %9, align 8, !tbaa !9
  br label %31

31:                                               ; preds = %52, %28
  %32 = load i64, ptr %9, align 8, !tbaa !9
  %33 = trunc i64 %32 to i32
  %34 = icmp sge i32 %33, 0
  br i1 %34, label %40, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %55

36:                                               ; preds = %16
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %7, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %8, align 4
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %73

40:                                               ; preds = %31
  %41 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %42 = load i64, ptr %9, align 8, !tbaa !9
  %43 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef %42) #6
  %44 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %45 = load i64, ptr %9, align 8, !tbaa !9
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = load i32, ptr %46, align 4, !tbaa !11
  %48 = zext i32 %47 to i64
  %49 = add i64 %45, %48
  %50 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %49) #6
  %51 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %50, ptr noundef nonnull align 8 dereferenceable(12) %43)
  br label %52

52:                                               ; preds = %40
  %53 = load i64, ptr %9, align 8, !tbaa !9
  %54 = add i64 %53, -1
  store i64 %54, ptr %9, align 8, !tbaa !9
  br label %31, !llvm.loop !19

55:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %56

56:                                               ; preds = %68, %55
  %57 = load i32, ptr %10, align 4, !tbaa !11
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = load i32, ptr %58, align 4, !tbaa !11
  %60 = icmp ult i32 %57, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %71

62:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !11
  %63 = getelementptr inbounds %"class.galoisfield::GFieldPol", ptr %12, i32 0, i32 1
  %64 = load i32, ptr %10, align 4, !tbaa !11
  %65 = zext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %63, i64 noundef %65) #6
  %67 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKi(ptr noundef nonnull align 8 dereferenceable(12) %66, ptr noundef nonnull align 4 dereferenceable(4) %11)
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %68

68:                                               ; preds = %62
  %69 = load i32, ptr %10, align 4, !tbaa !11
  %70 = add i32 %69, 1
  store i32 %70, ptr %10, align 4, !tbaa !11
  br label %56, !llvm.loop !21

71:                                               ; preds = %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %72

72:                                               ; preds = %71, %2
  ret ptr %12

73:                                               ; preds = %36
  %74 = load ptr, ptr %7, align 8
  %75 = load i32, ptr %8, align 4
  %76 = insertvalue { ptr, i32 } poison, ptr %74, 0
  %77 = insertvalue { ptr, i32 } %76, i32 %75, 1
  resume { ptr, i32 } %77
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { "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 = { 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"_ZTSN11galoisfield9GFieldPolE", !6, i64 0, !15, i64 8}
!15 = !{!"_ZTSSt6vectorIN11galoisfield13GFieldElementESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN11galoisfield13GFieldElementESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN11galoisfield13GFieldElementESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN11galoisfield13GFieldElementESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; 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"

%"class.galoisfield::GFieldElement" = type <{ ptr, i32, [4 x i8] }>

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #2 align 2

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

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

declare void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef, i32 noundef) unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EE6resizeEmRKS1_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN11galoisfield9GFieldPollSERKj(ptr noundef nonnull returned align 8 dereferenceable(32) %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(4) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.galoisfield::GFieldElement", align 8
  %4 = alloca i32, align 4
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = tail call noundef i64 @_ZNKSt6vectorIN11galoisfield13GFieldElementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %.not = icmp eq i64 %6, 0
  br i1 %.not, label %.loopexit, label %7

7:                                                ; preds = %2
  %8 = tail call noundef i64 @_ZNKSt6vectorIN11galoisfield13GFieldElementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %9 = tail call noundef i64 @_ZNKSt6vectorIN11galoisfield13GFieldElementESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #6
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = zext i32 %10 to i64
  %12 = add i64 %9, %11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %13 = load ptr, ptr %0, align 8, !tbaa !9
  call void @_ZN11galoisfield13GFieldElementC1EPNS_6GFieldEi(ptr noundef nonnull align 8 dereferenceable(12) %3, ptr noundef %13, i32 noundef 0)
  invoke void @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EE6resizeEmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %12, ptr noundef nonnull align 8 dereferenceable(12) %3)
          to label %14 unwind label %18

14:                                               ; preds = %7
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  %.01314 = add i64 %8, -1
  %15 = and i64 %.01314, 2147483648
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %.lr.ph, label %.preheader

.preheader:                                       ; preds = %.lr.ph, %14
  %17 = load i32, ptr %1, align 4, !tbaa !5
  %.not18 = icmp eq i32 %17, 0
  br i1 %.not18, label %.loopexit, label %.lr.ph17

18:                                               ; preds = %7
  %19 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN11galoisfield13GFieldElementD2Ev(ptr noundef nonnull align 8 dereferenceable(12) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  resume { ptr, i32 } %19

.lr.ph:                                           ; preds = %14, %.lr.ph
  %.01315 = phi i64 [ %.013, %.lr.ph ], [ %.01314, %14 ]
  %20 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %.01315) #6
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = zext i32 %21 to i64
  %23 = add i64 %.01315, %22
  %24 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %23) #6
  %25 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKS0_(ptr noundef nonnull align 8 dereferenceable(12) %24, ptr noundef nonnull align 8 dereferenceable(12) %20)
  %.013 = add i64 %.01315, -1
  %26 = and i64 %.013, 2147483648
  %27 = icmp eq i64 %26, 0
  br i1 %27, label %.lr.ph, label %.preheader, !llvm.loop !16

.lr.ph17:                                         ; preds = %.preheader, %.lr.ph17
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph17 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  %28 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt6vectorIN11galoisfield13GFieldElementESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #6
  %29 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKi(ptr noundef nonnull align 8 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %30 = load i32, ptr %1, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = icmp ult i64 %indvars.iv.next, %31
  br i1 %32, label %.lr.ph17, label %.loopexit, !llvm.loop !18

.loopexit:                                        ; preds = %.lr.ph17, %.preheader, %2
  ret ptr %0
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZN11galoisfield13GFieldElementaSERKi(ptr noundef nonnull align 8 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { "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 = { 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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN11galoisfield9GFieldPolE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIN11galoisfield13GFieldElementESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN11galoisfield13GFieldElementESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN11galoisfield13GFieldElementESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN11galoisfield13GFieldElementESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass