; LLVM IR from sgtlaugh/algovault :: code_library/misc (2D_pattern_matcher)

; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN2pm1nE = external dso_local global i32, align 4
@_ZN2pm1mE = external dso_local global i32, align 4
@_ZN2pm1rE = external dso_local global i32, align 4
@_ZN2pm1cE = external dso_local global i32, align 4
@_ZN2pm2dpE = external dso_local global %"class.std::vector", align 8
@_ZN2pm8base_powE = external dso_local global i64, align 8
@_ZN2pm12pattern_hashE = external dso_local global i64, align 8
@_ZN2pm11pattern_powE = external dso_local global i64, align 8
@.str = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [93 x i8], align 1
@__PRETTY_FUNCTION__._ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_ = external hidden unnamed_addr constant [63 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #4
  %18 = trunc i64 %17 to i32
  store i32 %18, ptr @_ZN2pm1nE, align 4, !tbaa !9
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #4
  %21 = trunc i64 %20 to i32
  store i32 %21, ptr @_ZN2pm1rE, align 4, !tbaa !9
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #4
  %24 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %23) #4
  %25 = trunc i64 %24 to i32
  store i32 %25, ptr @_ZN2pm1mE, align 4, !tbaa !9
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 0) #4
  %28 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %27) #4
  %29 = trunc i64 %28 to i32
  store i32 %29, ptr @_ZN2pm1cE, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %48, %2
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %30
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %51

35:                                               ; preds = %30
  %36 = load ptr, ptr %3, align 8, !tbaa !5
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %38) #4
  %40 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %39) #4
  %41 = trunc i64 %40 to i32
  %42 = load i32, ptr @_ZN2pm1mE, align 4, !tbaa !9
  %43 = icmp eq i32 %41, %42
  br i1 %43, label %44, label %45

44:                                               ; preds = %35
  br label %47

45:                                               ; preds = %35
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.2, i32 noundef 44, ptr noundef @__PRETTY_FUNCTION__._ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_) #5
  unreachable

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %44
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %5, align 4, !tbaa !9
  br label %30, !llvm.loop !11

51:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %52

52:                                               ; preds = %70, %51
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = load i32, ptr @_ZN2pm1rE, align 4, !tbaa !9
  %55 = icmp slt i32 %53, %54
  br i1 %55, label %57, label %56

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

57:                                               ; preds = %52
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = load i32, ptr %6, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %60) #4
  %62 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %61) #4
  %63 = trunc i64 %62 to i32
  %64 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !9
  %65 = icmp eq i32 %63, %64
  br i1 %65, label %66, label %67

66:                                               ; preds = %57
  br label %69

67:                                               ; preds = %57
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.2, i32 noundef 45, ptr noundef @__PRETTY_FUNCTION__._ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_) #5
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  br label %70

70:                                               ; preds = %69
  %71 = load i32, ptr %6, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %6, align 4, !tbaa !9
  br label %52, !llvm.loop !13

73:                                               ; preds = %56
  store i64 1, ptr @_ZN2pm8base_powE, align 8, !tbaa !14
  store i64 1, ptr @_ZN2pm11pattern_powE, align 8, !tbaa !14
  store i64 0, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 1, ptr %7, align 4, !tbaa !9
  br label %74

74:                                               ; preds = %82, %73
  %75 = load i32, ptr %7, align 4, !tbaa !9
  %76 = load i32, ptr @_ZN2pm1rE, align 4, !tbaa !9
  %77 = icmp slt i32 %75, %76
  br i1 %77, label %79, label %78

78:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %85

79:                                               ; preds = %74
  %80 = load i64, ptr @_ZN2pm8base_powE, align 8, !tbaa !14
  %81 = mul i64 %80, 1995433697
  store i64 %81, ptr @_ZN2pm8base_powE, align 8, !tbaa !14
  br label %82

82:                                               ; preds = %79
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %7, align 4, !tbaa !9
  br label %74, !llvm.loop !16

85:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 1, ptr %8, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %94, %85
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !9
  %89 = icmp slt i32 %87, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %97

91:                                               ; preds = %86
  %92 = load i64, ptr @_ZN2pm11pattern_powE, align 8, !tbaa !14
  %93 = mul i64 %92, 2117566807
  store i64 %93, ptr @_ZN2pm11pattern_powE, align 8, !tbaa !14
  br label %94

94:                                               ; preds = %91
  %95 = load i32, ptr %8, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %8, align 4, !tbaa !9
  br label %86, !llvm.loop !17

97:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %130, %97
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = load i32, ptr @_ZN2pm1rE, align 4, !tbaa !9
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 14, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %133

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store i64 0, ptr %11, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %122, %103
  %105 = load i32, ptr %12, align 4, !tbaa !9
  %106 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !9
  %107 = icmp slt i32 %105, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %104
  store i32 17, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %125

109:                                              ; preds = %104
  %110 = load i64, ptr %11, align 8, !tbaa !14
  %111 = mul i64 %110, 2117566807
  %112 = load ptr, ptr %4, align 8, !tbaa !5
  %113 = load i32, ptr %9, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  %115 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %112, i64 noundef %114) #4
  %116 = load i32, ptr %12, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %115, i64 noundef %117) #4
  %119 = load i8, ptr %118, align 1, !tbaa !18
  %120 = sext i8 %119 to i64
  %121 = add i64 %111, %120
  store i64 %121, ptr %11, align 8, !tbaa !14
  br label %122

122:                                              ; preds = %109
  %123 = load i32, ptr %12, align 4, !tbaa !9
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %12, align 4, !tbaa !9
  br label %104, !llvm.loop !19

125:                                              ; preds = %108
  %126 = load i64, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !14
  %127 = mul i64 %126, 1995433697
  %128 = load i64, ptr %11, align 8, !tbaa !14
  %129 = add i64 %127, %128
  store i64 %129, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  br label %130

130:                                              ; preds = %125
  %131 = load i32, ptr %9, align 4, !tbaa !9
  %132 = add nsw i32 %131, 1
  store i32 %132, ptr %9, align 4, !tbaa !9
  br label %98, !llvm.loop !20

133:                                              ; preds = %102
  %134 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  %136 = sext i32 %135 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  store i64 0, ptr %13, align 8, !tbaa !14
  call void @_ZNSt6vectorIySaIyEE6resizeEmRKy(ptr noundef nonnull align 8 dereferenceable(24) @_ZN2pm2dpE, i64 noundef %136, ptr noundef nonnull align 8 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %137

137:                                              ; preds = %171, %133
  %138 = load i32, ptr %14, align 4, !tbaa !9
  %139 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !9
  %140 = icmp slt i32 %138, %139
  br i1 %140, label %142, label %141

141:                                              ; preds = %137
  store i32 20, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %174

142:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %143

143:                                              ; preds = %167, %142
  %144 = load i32, ptr %15, align 4, !tbaa !9
  %145 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !9
  %146 = icmp slt i32 %144, %145
  br i1 %146, label %148, label %147

147:                                              ; preds = %143
  store i32 23, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %170

148:                                              ; preds = %143
  %149 = load i32, ptr %14, align 4, !tbaa !9
  %150 = sext i32 %149 to i64
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN2pm2dpE, i64 noundef %150) #4
  %152 = load i64, ptr %151, align 8, !tbaa !14
  %153 = mul i64 %152, 2117566807
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = load i32, ptr %14, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %154, i64 noundef %156) #4
  %158 = load i32, ptr %15, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %157, i64 noundef %159) #4
  %161 = load i8, ptr %160, align 1, !tbaa !18
  %162 = sext i8 %161 to i64
  %163 = add i64 %153, %162
  %164 = load i32, ptr %14, align 4, !tbaa !9
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN2pm2dpE, i64 noundef %165) #4
  store i64 %163, ptr %166, align 8, !tbaa !14
  br label %167

167:                                              ; preds = %148
  %168 = load i32, ptr %15, align 4, !tbaa !9
  %169 = add nsw i32 %168, 1
  store i32 %169, ptr %15, align 4, !tbaa !9
  br label %143, !llvm.loop !21

170:                                              ; preds = %147
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %14, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %14, align 4, !tbaa !9
  br label %137, !llvm.loop !22

174:                                              ; preds = %141
  ret void
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #1 align 2

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

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

attributes #0 = { 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 #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"long long", !7, i64 0}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = !{!7, !7, i64 0}
!19 = distinct !{!19, !12}
!20 = distinct !{!20, !12}
!21 = distinct !{!21, !12}
!22 = distinct !{!22, !12}


; 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.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long long, std::allocator<unsigned long long>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN2pm1nE = external dso_local local_unnamed_addr global i32, align 4
@_ZN2pm1mE = external dso_local local_unnamed_addr global i32, align 4
@_ZN2pm1rE = external dso_local local_unnamed_addr global i32, align 4
@_ZN2pm1cE = external dso_local local_unnamed_addr global i32, align 4
@_ZN2pm2dpE = external dso_local global %"class.std::vector", align 8
@_ZN2pm8base_powE = external dso_local local_unnamed_addr global i64, align 8
@_ZN2pm12pattern_hashE = external dso_local local_unnamed_addr global i64, align 8
@_ZN2pm11pattern_powE = external dso_local local_unnamed_addr global i64, align 8
@.str = external hidden unnamed_addr constant [27 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [93 x i8], align 1
@__PRETTY_FUNCTION__._ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_ = external hidden unnamed_addr constant [63 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #0 {
  %3 = alloca i64, align 8
  %4 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #4
  %5 = trunc i64 %4 to i32
  store i32 %5, ptr @_ZN2pm1nE, align 4, !tbaa !5
  %6 = tail call noundef i64 @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #4
  %7 = trunc i64 %6 to i32
  store i32 %7, ptr @_ZN2pm1rE, align 4, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef 0) #4
  %9 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  %10 = trunc i64 %9 to i32
  store i32 %10, ptr @_ZN2pm1mE, align 4, !tbaa !5
  %11 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #4
  %12 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %11) #4
  %13 = trunc i64 %12 to i32
  store i32 %13, ptr @_ZN2pm1cE, align 4, !tbaa !5
  %14 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !5
  %15 = icmp sgt i32 %14, 0
  br i1 %15, label %.lr.ph, label %.preheader44

16:                                               ; preds = %.lr.ph
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %17 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = icmp slt i64 %indvars.iv.next, %18
  br i1 %19, label %.lr.ph, label %.preheader44, !llvm.loop !9

.preheader44:                                     ; preds = %16, %2
  %20 = load i32, ptr @_ZN2pm1rE, align 4, !tbaa !5
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph48, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %.preheader44
  store i64 1, ptr @_ZN2pm8base_powE, align 8, !tbaa !11
  store i64 1, ptr @_ZN2pm11pattern_powE, align 8, !tbaa !11
  store i64 0, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !11
  br label %.preheader43

.lr.ph:                                           ; preds = %2, %16
  %indvars.iv = phi i64 [ %indvars.iv.next, %16 ], [ 0, %2 ]
  %22 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #4
  %23 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %22) #4
  %24 = trunc i64 %23 to i32
  %25 = load i32, ptr @_ZN2pm1mE, align 4, !tbaa !5
  %26 = icmp eq i32 %25, %24
  br i1 %26, label %16, label %27

27:                                               ; preds = %.lr.ph
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.2, i32 noundef 44, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_) #5
  unreachable

28:                                               ; preds = %.lr.ph48
  %indvars.iv.next77 = add nuw nsw i64 %indvars.iv76, 1
  %29 = load i32, ptr @_ZN2pm1rE, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = icmp slt i64 %indvars.iv.next77, %30
  br i1 %31, label %.lr.ph48, label %._crit_edge, !llvm.loop !13

._crit_edge:                                      ; preds = %28
  store i64 1, ptr @_ZN2pm8base_powE, align 8, !tbaa !11
  store i64 1, ptr @_ZN2pm11pattern_powE, align 8, !tbaa !11
  store i64 0, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !11
  %32 = icmp sgt i32 %29, 1
  br i1 %32, label %.lr.ph51.preheader, label %.preheader43

.lr.ph51.preheader:                               ; preds = %._crit_edge
  %33 = add nsw i32 %29, -1
  %34 = add nsw i32 %29, -2
  %xtraiter = and i32 %33, 7
  %35 = icmp ult i32 %34, 7
  br i1 %35, label %..preheader43_crit_edge.unr-lcssa, label %.lr.ph51.preheader.new

.lr.ph51.preheader.new:                           ; preds = %.lr.ph51.preheader
  %unroll_iter = and i32 %33, -8
  br label %.lr.ph51

.lr.ph48:                                         ; preds = %.preheader44, %28
  %indvars.iv76 = phi i64 [ %indvars.iv.next77, %28 ], [ 0, %.preheader44 ]
  %36 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv76) #4
  %37 = tail call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %36) #4
  %38 = trunc i64 %37 to i32
  %39 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !5
  %40 = icmp eq i32 %39, %38
  br i1 %40, label %28, label %41

41:                                               ; preds = %.lr.ph48
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.2, i32 noundef 45, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN2pm5buildERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EESA_) #5
  unreachable

..preheader43_crit_edge.unr-lcssa:                ; preds = %.lr.ph51, %.lr.ph51.preheader
  %.lcssa109.ph = phi i64 [ poison, %.lr.ph51.preheader ], [ %51, %.lr.ph51 ]
  %.unr = phi i64 [ 1, %.lr.ph51.preheader ], [ %51, %.lr.ph51 ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %..preheader43_crit_edge, label %.lr.ph51.epil

.lr.ph51.epil:                                    ; preds = %..preheader43_crit_edge.unr-lcssa, %.lr.ph51.epil
  %42 = phi i64 [ %43, %.lr.ph51.epil ], [ %.unr, %..preheader43_crit_edge.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph51.epil ], [ 0, %..preheader43_crit_edge.unr-lcssa ]
  %43 = mul i64 %42, 1995433697
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %..preheader43_crit_edge, label %.lr.ph51.epil, !llvm.loop !14

..preheader43_crit_edge:                          ; preds = %.lr.ph51.epil, %..preheader43_crit_edge.unr-lcssa
  %.lcssa109 = phi i64 [ %.lcssa109.ph, %..preheader43_crit_edge.unr-lcssa ], [ %43, %.lr.ph51.epil ]
  store i64 %.lcssa109, ptr @_ZN2pm8base_powE, align 8, !tbaa !11
  br label %.preheader43

.preheader43:                                     ; preds = %._crit_edge.thread, %..preheader43_crit_edge, %._crit_edge
  %44 = phi i32 [ %20, %._crit_edge.thread ], [ %29, %..preheader43_crit_edge ], [ %29, %._crit_edge ]
  %45 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !5
  %46 = icmp sgt i32 %45, 1
  br i1 %46, label %.lr.ph54.preheader, label %.preheader42

.lr.ph54.preheader:                               ; preds = %.preheader43
  %47 = add nsw i32 %45, -1
  %48 = add nsw i32 %45, -2
  %xtraiter112 = and i32 %47, 7
  %49 = icmp ult i32 %48, 7
  br i1 %49, label %..preheader42_crit_edge.unr-lcssa, label %.lr.ph54.preheader.new

.lr.ph54.preheader.new:                           ; preds = %.lr.ph54.preheader
  %unroll_iter117 = and i32 %47, -8
  br label %.lr.ph54

.lr.ph51:                                         ; preds = %.lr.ph51, %.lr.ph51.preheader.new
  %50 = phi i64 [ 1, %.lr.ph51.preheader.new ], [ %51, %.lr.ph51 ]
  %niter = phi i32 [ 0, %.lr.ph51.preheader.new ], [ %niter.next.7, %.lr.ph51 ]
  %51 = mul i64 %50, 4257713886736590593
  %niter.next.7 = add i32 %niter, 8
  %niter.ncmp.7 = icmp eq i32 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %..preheader43_crit_edge.unr-lcssa, label %.lr.ph51, !llvm.loop !16

..preheader42_crit_edge.unr-lcssa:                ; preds = %.lr.ph54, %.lr.ph54.preheader
  %.lcssa108.ph = phi i64 [ poison, %.lr.ph54.preheader ], [ %57, %.lr.ph54 ]
  %.unr114 = phi i64 [ 1, %.lr.ph54.preheader ], [ %57, %.lr.ph54 ]
  %lcmp.mod115.not = icmp eq i32 %xtraiter112, 0
  br i1 %lcmp.mod115.not, label %..preheader42_crit_edge, label %.lr.ph54.epil

.lr.ph54.epil:                                    ; preds = %..preheader42_crit_edge.unr-lcssa, %.lr.ph54.epil
  %52 = phi i64 [ %53, %.lr.ph54.epil ], [ %.unr114, %..preheader42_crit_edge.unr-lcssa ]
  %epil.iter113 = phi i32 [ %epil.iter113.next, %.lr.ph54.epil ], [ 0, %..preheader42_crit_edge.unr-lcssa ]
  %53 = mul i64 %52, 2117566807
  %epil.iter113.next = add i32 %epil.iter113, 1
  %epil.iter113.cmp.not = icmp eq i32 %epil.iter113.next, %xtraiter112
  br i1 %epil.iter113.cmp.not, label %..preheader42_crit_edge, label %.lr.ph54.epil, !llvm.loop !17

..preheader42_crit_edge:                          ; preds = %.lr.ph54.epil, %..preheader42_crit_edge.unr-lcssa
  %.lcssa108 = phi i64 [ %.lcssa108.ph, %..preheader42_crit_edge.unr-lcssa ], [ %53, %.lr.ph54.epil ]
  store i64 %.lcssa108, ptr @_ZN2pm11pattern_powE, align 8, !tbaa !11
  br label %.preheader42

.preheader42:                                     ; preds = %..preheader42_crit_edge, %.preheader43
  %54 = icmp sgt i32 %44, 0
  br i1 %54, label %.preheader41.lr.ph, label %._crit_edge62

.preheader41.lr.ph:                               ; preds = %.preheader42
  %55 = icmp sgt i32 %45, 0
  br i1 %55, label %.preheader41, label %._crit_edge62.split.us

._crit_edge62.split.us:                           ; preds = %.preheader41.lr.ph
  store i64 0, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !11
  br label %._crit_edge62

.lr.ph54:                                         ; preds = %.lr.ph54, %.lr.ph54.preheader.new
  %56 = phi i64 [ 1, %.lr.ph54.preheader.new ], [ %57, %.lr.ph54 ]
  %niter118 = phi i32 [ 0, %.lr.ph54.preheader.new ], [ %niter118.next.7, %.lr.ph54 ]
  %57 = mul i64 %56, -9127636439876987839
  %niter118.next.7 = add i32 %niter118, 8
  %niter118.ncmp.7 = icmp eq i32 %niter118.next.7, %unroll_iter117
  br i1 %niter118.ncmp.7, label %..preheader42_crit_edge.unr-lcssa, label %.lr.ph54, !llvm.loop !18

.preheader41:                                     ; preds = %.preheader41.lr.ph, %._crit_edge59
  %58 = phi i32 [ %69, %._crit_edge59 ], [ %44, %.preheader41.lr.ph ]
  %59 = phi i64 [ %73, %._crit_edge59 ], [ 0, %.preheader41.lr.ph ]
  %60 = phi i32 [ %71, %._crit_edge59 ], [ %45, %.preheader41.lr.ph ]
  %indvars.iv84 = phi i64 [ %indvars.iv.next85, %._crit_edge59 ], [ 0, %.preheader41.lr.ph ]
  %61 = icmp sgt i32 %60, 0
  br i1 %61, label %.lr.ph58, label %._crit_edge59

._crit_edge62:                                    ; preds = %._crit_edge59, %._crit_edge62.split.us, %.preheader42
  %62 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  %64 = sext i32 %63 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #4
  store i64 0, ptr %3, align 8, !tbaa !11
  call void @_ZNSt6vectorIySaIyEE6resizeEmRKy(ptr noundef nonnull align 8 dereferenceable(24) @_ZN2pm2dpE, i64 noundef %64, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #4
  %65 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !5
  %66 = icmp sgt i32 %65, 0
  %67 = load i32, ptr @_ZN2pm1cE, align 4
  %68 = icmp sgt i32 %67, 0
  %or.cond = select i1 %66, i1 %68, i1 false
  br i1 %or.cond, label %.preheader, label %._crit_edge68

._crit_edge59.loopexit:                           ; preds = %.lr.ph58
  %.pre = load i64, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !11
  %.pre93 = load i32, ptr @_ZN2pm1rE, align 4, !tbaa !5
  br label %._crit_edge59

._crit_edge59:                                    ; preds = %._crit_edge59.loopexit, %.preheader41
  %69 = phi i32 [ %58, %.preheader41 ], [ %.pre93, %._crit_edge59.loopexit ]
  %70 = phi i64 [ %59, %.preheader41 ], [ %.pre, %._crit_edge59.loopexit ]
  %71 = phi i32 [ %60, %.preheader41 ], [ %82, %._crit_edge59.loopexit ]
  %.035.lcssa = phi i64 [ 0, %.preheader41 ], [ %81, %._crit_edge59.loopexit ]
  %72 = mul i64 %70, 1995433697
  %73 = add i64 %72, %.035.lcssa
  store i64 %73, ptr @_ZN2pm12pattern_hashE, align 8, !tbaa !11
  %indvars.iv.next85 = add nuw nsw i64 %indvars.iv84, 1
  %74 = sext i32 %69 to i64
  %75 = icmp slt i64 %indvars.iv.next85, %74
  br i1 %75, label %.preheader41, label %._crit_edge62, !llvm.loop !19

.lr.ph58:                                         ; preds = %.preheader41, %.lr.ph58
  %indvars.iv81 = phi i64 [ %indvars.iv.next82, %.lr.ph58 ], [ 0, %.preheader41 ]
  %.03556 = phi i64 [ %81, %.lr.ph58 ], [ 0, %.preheader41 ]
  %76 = mul i64 %.03556, 2117566807
  %77 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %indvars.iv84) #4
  %78 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %77, i64 noundef %indvars.iv81) #4
  %79 = load i8, ptr %78, align 1, !tbaa !21
  %80 = sext i8 %79 to i64
  %81 = add i64 %76, %80
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %82 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %indvars.iv.next82, %83
  br i1 %84, label %.lr.ph58, label %._crit_edge59.loopexit, !llvm.loop !22

.preheader:                                       ; preds = %._crit_edge62, %._crit_edge66
  %85 = phi i32 [ %88, %._crit_edge66 ], [ %65, %._crit_edge62 ]
  %86 = phi i32 [ %89, %._crit_edge66 ], [ %67, %._crit_edge62 ]
  %indvars.iv90 = phi i64 [ %indvars.iv.next91, %._crit_edge66 ], [ 0, %._crit_edge62 ]
  %87 = icmp sgt i32 %86, 0
  br i1 %87, label %.lr.ph65, label %._crit_edge66

._crit_edge68:                                    ; preds = %._crit_edge66, %._crit_edge62
  ret void

._crit_edge66.loopexit:                           ; preds = %.lr.ph65
  %.pre94 = load i32, ptr @_ZN2pm1nE, align 4, !tbaa !5
  br label %._crit_edge66

._crit_edge66:                                    ; preds = %._crit_edge66.loopexit, %.preheader
  %88 = phi i32 [ %.pre94, %._crit_edge66.loopexit ], [ %85, %.preheader ]
  %89 = phi i32 [ %101, %._crit_edge66.loopexit ], [ %86, %.preheader ]
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %90 = sext i32 %88 to i64
  %91 = icmp slt i64 %indvars.iv.next91, %90
  br i1 %91, label %.preheader, label %._crit_edge68, !llvm.loop !23

.lr.ph65:                                         ; preds = %.preheader, %.lr.ph65
  %indvars.iv87 = phi i64 [ %indvars.iv.next88, %.lr.ph65 ], [ 0, %.preheader ]
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN2pm2dpE, i64 noundef %indvars.iv90) #4
  %93 = load i64, ptr %92, align 8, !tbaa !11
  %94 = mul i64 %93, 2117566807
  %95 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv90) #4
  %96 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %95, i64 noundef %indvars.iv87) #4
  %97 = load i8, ptr %96, align 1, !tbaa !21
  %98 = sext i8 %97 to i64
  %99 = add i64 %94, %98
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIySaIyEEixEm(ptr noundef nonnull align 8 dereferenceable(24) @_ZN2pm2dpE, i64 noundef %indvars.iv90) #4
  store i64 %99, ptr %100, align 8, !tbaa !11
  %indvars.iv.next88 = add nuw nsw i64 %indvars.iv87, 1
  %101 = load i32, ptr @_ZN2pm1cE, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = icmp slt i64 %indvars.iv.next88, %102
  br i1 %103, label %.lr.ph65, label %._crit_edge66.loopexit, !llvm.loop !24
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef nonnull align 1 dereferenceable(1) ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #1 align 2

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

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

attributes #0 = { 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 #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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10, !20}
!20 = !{!"llvm.loop.unswitch.partial.disable"}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10, !20}
!24 = distinct !{!24, !10}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass