; LLVM IR from sunkafei/xcpc-algorithm-templates :: 算法/字符串算法 (非势能分析回文自动机)

; 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.Palindromic_Tree = type { i32, [300007 x i32], [300007 x i32], [300007 x [26 x i32]], [300007 x i32], [300007 x [26 x i32]], [2 x i32], [600014 x i32], i32, i32 }

@tree = external dso_local global %struct.Palindromic_Tree, align 4
@A = external dso_local global [300007 x i8], align 16
@c = external dso_local global [300007 x i32], align 16
@id = external dso_local global [300007 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #1 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %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 i32, align 4
  %12 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %13 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef getelementptr inbounds (i8, ptr @A, i64 1))
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  %14 = call i64 @strlen(ptr noundef getelementptr inbounds (i8, ptr @A, i64 1)) #7
  %15 = trunc i64 %14 to i32
  store i32 %15, ptr %2, align 4, !tbaa !5
  call void @_ZN16Palindromic_Tree4initEv(ptr noundef nonnull align 4 dereferenceable(68401616) @tree)
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  store i64 0, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = ashr i32 %16, 1
  store i32 %17, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  store i32 %19, ptr %5, align 4, !tbaa !5
  br label %20

20:                                               ; preds = %32, %0
  %21 = load i32, ptr %5, align 4, !tbaa !5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = icmp sle i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %35

25:                                               ; preds = %20
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [300007 x i8], ptr @A, i64 0, i64 %27
  %29 = load i8, ptr %28, align 1, !tbaa !11
  %30 = sext i8 %29 to i32
  %31 = sub nsw i32 %30, 97
  call void @_ZN16Palindromic_Tree6extendEii(ptr noundef nonnull align 4 dereferenceable(68401616) @tree, i32 noundef %31, i32 noundef 1)
  br label %32

32:                                               ; preds = %25
  %33 = load i32, ptr %5, align 4, !tbaa !5
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %5, align 4, !tbaa !5
  br label %20, !llvm.loop !12

35:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %36 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %36, ptr %6, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %48, %35
  %38 = load i32, ptr %6, align 4, !tbaa !5
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %51

41:                                               ; preds = %37
  %42 = load i32, ptr %6, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [300007 x i8], ptr @A, i64 0, i64 %43
  %45 = load i8, ptr %44, align 1, !tbaa !11
  %46 = sext i8 %45 to i32
  %47 = sub nsw i32 %46, 97
  call void @_ZN16Palindromic_Tree6extendEii(ptr noundef nonnull align 4 dereferenceable(68401616) @tree, i32 noundef %47, i32 noundef 0)
  br label %48

48:                                               ; preds = %41
  %49 = load i32, ptr %6, align 4, !tbaa !5
  %50 = add nsw i32 %49, -1
  store i32 %50, ptr %6, align 4, !tbaa !5
  br label %37, !llvm.loop !14

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

52:                                               ; preds = %66, %51
  %53 = load i32, ptr %7, align 4, !tbaa !5
  %54 = load i32, ptr @tree, align 4, !tbaa !15
  %55 = icmp sle i32 %53, %54
  br i1 %55, label %57, label %56

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

57:                                               ; preds = %52
  %58 = load i32, ptr %7, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 4), i64 0, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %63, align 4, !tbaa !5
  br label %66

66:                                               ; preds = %57
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %7, align 4, !tbaa !5
  br label %52, !llvm.loop !17

69:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %86, %69
  %71 = load i32, ptr %8, align 4, !tbaa !5
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = icmp sle i32 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %89

75:                                               ; preds = %70
  %76 = load i32, ptr %8, align 4, !tbaa !5
  %77 = sub nsw i32 %76, 1
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %78
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %82
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = add nsw i32 %84, %80
  store i32 %85, ptr %83, align 4, !tbaa !5
  br label %86

86:                                               ; preds = %75
  %87 = load i32, ptr %8, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %8, align 4, !tbaa !5
  br label %70, !llvm.loop !18

89:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 2, ptr %9, align 4, !tbaa !5
  br label %90

90:                                               ; preds = %107, %89
  %91 = load i32, ptr %9, align 4, !tbaa !5
  %92 = load i32, ptr @tree, align 4, !tbaa !15
  %93 = icmp sle i32 %91, %92
  br i1 %93, label %95, label %94

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

95:                                               ; preds = %90
  %96 = load i32, ptr %9, align 4, !tbaa !5
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 4), i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %101
  %103 = load i32, ptr %102, align 4, !tbaa !5
  %104 = add nsw i32 %103, -1
  store i32 %104, ptr %102, align 4, !tbaa !5
  %105 = sext i32 %103 to i64
  %106 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %105
  store i32 %96, ptr %106, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %95
  %108 = load i32, ptr %9, align 4, !tbaa !5
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %9, align 4, !tbaa !5
  br label %90, !llvm.loop !19

110:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %111 = load i32, ptr @tree, align 4, !tbaa !15
  %112 = sub nsw i32 %111, 1
  store i32 %112, ptr %10, align 4, !tbaa !5
  br label %113

113:                                              ; preds = %136, %110
  %114 = load i32, ptr %10, align 4, !tbaa !5
  %115 = icmp ne i32 %114, 0
  br i1 %115, label %117, label %116

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

117:                                              ; preds = %113
  %118 = load i32, ptr %10, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %119
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 1), i64 0, i64 %122
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = load i32, ptr %10, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %126
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 2), i64 0, i64 %129
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 1), i64 0, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = add nsw i32 %134, %124
  store i32 %135, ptr %133, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %117
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = add nsw i32 %137, -1
  store i32 %138, ptr %10, align 4, !tbaa !5
  br label %113, !llvm.loop !20

139:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 2, ptr %11, align 4, !tbaa !5
  br label %140

140:                                              ; preds = %160, %139
  %141 = load i32, ptr %11, align 4, !tbaa !5
  %142 = load i32, ptr @tree, align 4, !tbaa !15
  %143 = icmp sle i32 %141, %142
  br i1 %143, label %145, label %144

144:                                              ; preds = %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %163

145:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %146 = load i32, ptr %11, align 4, !tbaa !5
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 4), i64 0, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = mul nsw i64 1, %150
  %152 = load i32, ptr %11, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (%struct.Palindromic_Tree, ptr @tree, i32 0, i32 1), i64 0, i64 %153
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = sext i32 %155 to i64
  %157 = mul nsw i64 %151, %156
  store i64 %157, ptr %12, align 8, !tbaa !9
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %12)
  %159 = load i64, ptr %158, align 8, !tbaa !9
  store i64 %159, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %160

160:                                              ; preds = %145
  %161 = load i32, ptr %11, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %11, align 4, !tbaa !5
  br label %140, !llvm.loop !21

163:                                              ; preds = %144
  %164 = load i64, ptr %3, align 8, !tbaa !9
  %165 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i64 noundef %164)
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %166 = load i32, ptr %1, align 4
  ret i32 %166
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #2

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #3

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

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

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

declare i32 @printf(ptr noundef, ...) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress norecurse 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 = { "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 = { nounwind willreturn memory(read) "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 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 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 #6 = { nounwind }
attributes #7 = { nounwind willreturn memory(read) }

!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, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = !{!16, !6, i64 0}
!16 = !{!"_ZTS16Palindromic_Tree", !6, i64 0, !7, i64 4, !7, i64 1200032, !7, i64 2400060, !7, i64 33600788, !7, i64 34800816, !7, i64 66001544, !7, i64 66001552, !6, i64 68401608, !6, i64 68401612}
!17 = distinct !{!17, !13}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}
!20 = distinct !{!20, !13}
!21 = distinct !{!21, !13}


; 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.Palindromic_Tree = type { i32, [300007 x i32], [300007 x i32], [300007 x [26 x i32]], [300007 x i32], [300007 x [26 x i32]], [2 x i32], [600014 x i32], i32, i32 }

@tree = external dso_local global %struct.Palindromic_Tree, align 4
@A = external dso_local global [300007 x i8], align 16
@c = external dso_local local_unnamed_addr global [300007 x i32], align 16
@id = external dso_local local_unnamed_addr global [300007 x i32], align 16
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1

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

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

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @A, i64 1))
  %4 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) getelementptr inbounds (i8, ptr @A, i64 1)) #6
  %5 = trunc i64 %4 to i32
  tail call void @_ZN16Palindromic_Tree4initEv(ptr noundef nonnull align 4 dereferenceable(68401616) @tree)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  store i64 0, ptr %1, align 8, !tbaa !5
  %6 = ashr i32 %5, 1
  %.not.not49 = icmp sgt i32 %5, 0
  br i1 %.not.not49, label %.lr.ph.preheader, label %.preheader48

.lr.ph.preheader:                                 ; preds = %0
  %7 = zext nneg i32 %6 to i64
  %8 = and i64 %4, 2147483647
  br label %.lr.ph

.preheader48:                                     ; preds = %.lr.ph, %0
  %.not51 = icmp ult i32 %5, 2
  br i1 %.not51, label %.preheader47, label %.lr.ph53.preheader

.lr.ph53.preheader:                               ; preds = %.preheader48
  %9 = sext i32 %6 to i64
  br label %.lr.ph53

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ %7, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %10 = getelementptr inbounds [300007 x i8], ptr @A, i64 0, i64 %indvars.iv.next
  %11 = load i8, ptr %10, align 1, !tbaa !9
  %12 = sext i8 %11 to i32
  %13 = add nsw i32 %12, -97
  tail call void @_ZN16Palindromic_Tree6extendEii(ptr noundef nonnull align 4 dereferenceable(68401616) @tree, i32 noundef %13, i32 noundef 1)
  %.not.not = icmp ult i64 %indvars.iv.next, %8
  br i1 %.not.not, label %.lr.ph, label %.preheader48, !llvm.loop !10

.preheader47:                                     ; preds = %.lr.ph53, %.preheader48
  %14 = load i32, ptr @tree, align 4, !tbaa !12
  %.not3954 = icmp slt i32 %14, 2
  br i1 %.not3954, label %.preheader46, label %.lr.ph56.preheader

.lr.ph56.preheader:                               ; preds = %.preheader47
  %15 = add nuw i32 %14, 1
  %wide.trip.count = zext i32 %15 to i64
  %16 = add nsw i64 %wide.trip.count, -2
  %17 = add nsw i64 %wide.trip.count, -3
  %xtraiter = and i64 %16, 3
  %18 = icmp ult i64 %17, 3
  br i1 %18, label %.preheader46.loopexit.unr-lcssa, label %.lr.ph56.preheader.new

.lr.ph56.preheader.new:                           ; preds = %.lr.ph56.preheader
  %unroll_iter = and i64 %16, -4
  br label %.lr.ph56

.lr.ph53:                                         ; preds = %.lr.ph53.preheader, %.lr.ph53
  %indvars.iv71 = phi i64 [ %9, %.lr.ph53.preheader ], [ %indvars.iv.next72, %.lr.ph53 ]
  %19 = getelementptr inbounds [300007 x i8], ptr @A, i64 0, i64 %indvars.iv71
  %20 = load i8, ptr %19, align 1, !tbaa !9
  %21 = sext i8 %20 to i32
  %22 = add nsw i32 %21, -97
  tail call void @_ZN16Palindromic_Tree6extendEii(ptr noundef nonnull align 4 dereferenceable(68401616) @tree, i32 noundef %22, i32 noundef 0)
  %indvars.iv.next72 = add nsw i64 %indvars.iv71, -1
  %.not = icmp eq i64 %indvars.iv.next72, 0
  br i1 %.not, label %.preheader47, label %.lr.ph53, !llvm.loop !15

.preheader46.loopexit.unr-lcssa:                  ; preds = %.lr.ph56, %.lr.ph56.preheader
  %indvars.iv74.unr = phi i64 [ 2, %.lr.ph56.preheader ], [ %indvars.iv.next75.3, %.lr.ph56 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader46, label %.lr.ph56.epil

.lr.ph56.epil:                                    ; preds = %.preheader46.loopexit.unr-lcssa, %.lr.ph56.epil
  %indvars.iv74.epil = phi i64 [ %indvars.iv.next75.epil, %.lr.ph56.epil ], [ %indvars.iv74.unr, %.preheader46.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph56.epil ], [ 0, %.preheader46.loopexit.unr-lcssa ]
  %23 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv74.epil
  %24 = load i32, ptr %23, align 4, !tbaa !16
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !16
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 4, !tbaa !16
  %indvars.iv.next75.epil = add nuw nsw i64 %indvars.iv74.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader46, label %.lr.ph56.epil, !llvm.loop !17

.preheader46:                                     ; preds = %.preheader46.loopexit.unr-lcssa, %.lr.ph56.epil, %.preheader47
  %.not4057 = icmp slt i32 %5, 1
  br i1 %.not4057, label %.preheader45, label %.lr.ph59.preheader

.lr.ph59.preheader:                               ; preds = %.preheader46
  %29 = add nuw nsw i64 %4, 1
  %wide.trip.count80 = and i64 %29, 4294967295
  %.pre = load i32, ptr @c, align 16, !tbaa !16
  %30 = add nsw i64 %wide.trip.count80, -1
  %31 = add nsw i64 %wide.trip.count80, -2
  %xtraiter95 = and i64 %30, 3
  %32 = icmp ult i64 %31, 3
  br i1 %32, label %.preheader45.loopexit.unr-lcssa, label %.lr.ph59.preheader.new

.lr.ph59.preheader.new:                           ; preds = %.lr.ph59.preheader
  %unroll_iter98 = and i64 %30, -4
  br label %.lr.ph59

.lr.ph56:                                         ; preds = %.lr.ph56, %.lr.ph56.preheader.new
  %indvars.iv74 = phi i64 [ 2, %.lr.ph56.preheader.new ], [ %indvars.iv.next75.3, %.lr.ph56 ]
  %niter = phi i64 [ 0, %.lr.ph56.preheader.new ], [ %niter.next.3, %.lr.ph56 ]
  %33 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv74
  %34 = load i32, ptr %33, align 4, !tbaa !16
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %35
  %37 = load i32, ptr %36, align 4, !tbaa !16
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr %36, align 4, !tbaa !16
  %indvars.iv.next75 = or disjoint i64 %indvars.iv74, 1
  %39 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv.next75
  %40 = load i32, ptr %39, align 4, !tbaa !16
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !16
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %42, align 4, !tbaa !16
  %indvars.iv.next75.1 = add nuw nsw i64 %indvars.iv74, 2
  %45 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv.next75.1
  %46 = load i32, ptr %45, align 4, !tbaa !16
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %47
  %49 = load i32, ptr %48, align 4, !tbaa !16
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %48, align 4, !tbaa !16
  %indvars.iv.next75.2 = add nuw nsw i64 %indvars.iv74, 3
  %51 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv.next75.2
  %52 = load i32, ptr %51, align 4, !tbaa !16
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %53
  %55 = load i32, ptr %54, align 4, !tbaa !16
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %54, align 4, !tbaa !16
  %indvars.iv.next75.3 = add nuw nsw i64 %indvars.iv74, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader46.loopexit.unr-lcssa, label %.lr.ph56, !llvm.loop !19

.preheader45.loopexit.unr-lcssa:                  ; preds = %.lr.ph59, %.lr.ph59.preheader
  %.unr = phi i32 [ %.pre, %.lr.ph59.preheader ], [ %77, %.lr.ph59 ]
  %indvars.iv77.unr = phi i64 [ 1, %.lr.ph59.preheader ], [ %indvars.iv.next78.3, %.lr.ph59 ]
  %lcmp.mod97.not = icmp eq i64 %xtraiter95, 0
  br i1 %lcmp.mod97.not, label %.preheader45, label %.lr.ph59.epil

.lr.ph59.epil:                                    ; preds = %.preheader45.loopexit.unr-lcssa, %.lr.ph59.epil
  %57 = phi i32 [ %60, %.lr.ph59.epil ], [ %.unr, %.preheader45.loopexit.unr-lcssa ]
  %indvars.iv77.epil = phi i64 [ %indvars.iv.next78.epil, %.lr.ph59.epil ], [ %indvars.iv77.unr, %.preheader45.loopexit.unr-lcssa ]
  %epil.iter96 = phi i64 [ %epil.iter96.next, %.lr.ph59.epil ], [ 0, %.preheader45.loopexit.unr-lcssa ]
  %58 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %indvars.iv77.epil
  %59 = load i32, ptr %58, align 4, !tbaa !16
  %60 = add nsw i32 %59, %57
  store i32 %60, ptr %58, align 4, !tbaa !16
  %indvars.iv.next78.epil = add nuw nsw i64 %indvars.iv77.epil, 1
  %epil.iter96.next = add i64 %epil.iter96, 1
  %epil.iter96.cmp.not = icmp eq i64 %epil.iter96.next, %xtraiter95
  br i1 %epil.iter96.cmp.not, label %.preheader45, label %.lr.ph59.epil, !llvm.loop !20

.preheader45:                                     ; preds = %.preheader45.loopexit.unr-lcssa, %.lr.ph59.epil, %.preheader46
  br i1 %.not3954, label %.preheader44, label %.lr.ph62.preheader

.lr.ph62.preheader:                               ; preds = %.preheader45
  %61 = add nuw i32 %14, 1
  %wide.trip.count85 = zext i32 %61 to i64
  %xtraiter100 = and i64 %wide.trip.count85, 1
  %62 = icmp eq i32 %61, 3
  br i1 %62, label %.preheader44.loopexit.unr-lcssa, label %.lr.ph62.preheader.new

.lr.ph62.preheader.new:                           ; preds = %.lr.ph62.preheader
  %63 = and i64 %wide.trip.count85, 4294967294
  %64 = add nsw i64 %63, -4
  br label %.lr.ph62

.lr.ph59:                                         ; preds = %.lr.ph59, %.lr.ph59.preheader.new
  %65 = phi i32 [ %.pre, %.lr.ph59.preheader.new ], [ %77, %.lr.ph59 ]
  %indvars.iv77 = phi i64 [ 1, %.lr.ph59.preheader.new ], [ %indvars.iv.next78.3, %.lr.ph59 ]
  %niter99 = phi i64 [ 0, %.lr.ph59.preheader.new ], [ %niter99.next.3, %.lr.ph59 ]
  %66 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %indvars.iv77
  %67 = load i32, ptr %66, align 4, !tbaa !16
  %68 = add nsw i32 %67, %65
  store i32 %68, ptr %66, align 4, !tbaa !16
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %69 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %indvars.iv.next78
  %70 = load i32, ptr %69, align 4, !tbaa !16
  %71 = add nsw i32 %70, %68
  store i32 %71, ptr %69, align 4, !tbaa !16
  %indvars.iv.next78.1 = add nuw nsw i64 %indvars.iv77, 2
  %72 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %indvars.iv.next78.1
  %73 = load i32, ptr %72, align 4, !tbaa !16
  %74 = add nsw i32 %73, %71
  store i32 %74, ptr %72, align 4, !tbaa !16
  %indvars.iv.next78.2 = add nuw nsw i64 %indvars.iv77, 3
  %75 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %indvars.iv.next78.2
  %76 = load i32, ptr %75, align 4, !tbaa !16
  %77 = add nsw i32 %76, %74
  store i32 %77, ptr %75, align 4, !tbaa !16
  %indvars.iv.next78.3 = add nuw nsw i64 %indvars.iv77, 4
  %niter99.next.3 = add i64 %niter99, 4
  %niter99.ncmp.3 = icmp eq i64 %niter99.next.3, %unroll_iter98
  br i1 %niter99.ncmp.3, label %.preheader45.loopexit.unr-lcssa, label %.lr.ph59, !llvm.loop !21

.preheader44.loopexit.unr-lcssa:                  ; preds = %.lr.ph62, %.lr.ph62.preheader
  %indvars.iv82.unr = phi i64 [ 2, %.lr.ph62.preheader ], [ %indvars.iv.next83.1, %.lr.ph62 ]
  %lcmp.mod102.not = icmp eq i64 %xtraiter100, 0
  br i1 %lcmp.mod102.not, label %.preheader44, label %.lr.ph62.epil

.lr.ph62.epil:                                    ; preds = %.preheader44.loopexit.unr-lcssa
  %78 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv82.unr
  %79 = load i32, ptr %78, align 4, !tbaa !16
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !16
  %83 = add nsw i32 %82, -1
  store i32 %83, ptr %81, align 4, !tbaa !16
  %84 = sext i32 %82 to i64
  %85 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %84
  %86 = trunc nuw nsw i64 %indvars.iv82.unr to i32
  store i32 %86, ptr %85, align 4, !tbaa !16
  br label %.preheader44

.preheader44:                                     ; preds = %.lr.ph62.epil, %.preheader44.loopexit.unr-lcssa, %.preheader45
  %.03163 = add nsw i32 %14, -1
  %.not4264 = icmp eq i32 %.03163, 0
  br i1 %.not4264, label %._crit_edge, label %.lr.ph66.preheader

.lr.ph66.preheader:                               ; preds = %.preheader44
  %87 = sext i32 %.03163 to i64
  %xtraiter105 = and i64 %87, 1
  %lcmp.mod106.not = icmp eq i64 %xtraiter105, 0
  br i1 %lcmp.mod106.not, label %.lr.ph66.prol.loopexit, label %.lr.ph66.prol

.lr.ph66.prol:                                    ; preds = %.lr.ph66.preheader
  %88 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !16
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %90
  %92 = load i32, ptr %91, align 4, !tbaa !16
  %93 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 1200032), i64 0, i64 %90
  %94 = load i32, ptr %93, align 4, !tbaa !16
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !16
  %98 = add nsw i32 %97, %92
  store i32 %98, ptr %96, align 4, !tbaa !16
  %indvars.iv.next88.prol = add nsw i64 %87, -1
  br label %.lr.ph66.prol.loopexit

.lr.ph66.prol.loopexit:                           ; preds = %.lr.ph66.prol, %.lr.ph66.preheader
  %indvars.iv87.unr = phi i64 [ %87, %.lr.ph66.preheader ], [ %indvars.iv.next88.prol, %.lr.ph66.prol ]
  %99 = icmp eq i32 %.03163, 1
  br i1 %99, label %.preheader, label %.lr.ph66

.lr.ph62:                                         ; preds = %.lr.ph62, %.lr.ph62.preheader.new
  %indvars.iv82 = phi i64 [ 2, %.lr.ph62.preheader.new ], [ %indvars.iv.next83.1, %.lr.ph62 ]
  %niter104 = phi i64 [ 0, %.lr.ph62.preheader.new ], [ %niter104.next.1, %.lr.ph62 ]
  %100 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv82
  %101 = load i32, ptr %100, align 4, !tbaa !16
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !16
  %105 = add nsw i32 %104, -1
  store i32 %105, ptr %103, align 4, !tbaa !16
  %106 = sext i32 %104 to i64
  %107 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %106
  %108 = trunc nuw nsw i64 %indvars.iv82 to i32
  store i32 %108, ptr %107, align 4, !tbaa !16
  %indvars.iv.next83 = or disjoint i64 %indvars.iv82, 1
  %109 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv.next83
  %110 = load i32, ptr %109, align 4, !tbaa !16
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [300007 x i32], ptr @c, i64 0, i64 %111
  %113 = load i32, ptr %112, align 4, !tbaa !16
  %114 = add nsw i32 %113, -1
  store i32 %114, ptr %112, align 4, !tbaa !16
  %115 = sext i32 %113 to i64
  %116 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %115
  %117 = trunc nuw nsw i64 %indvars.iv.next83 to i32
  store i32 %117, ptr %116, align 4, !tbaa !16
  %indvars.iv.next83.1 = add nuw nsw i64 %indvars.iv82, 2
  %niter104.next.1 = add i64 %niter104, 2
  %niter104.ncmp.1 = icmp eq i64 %niter104, %64
  br i1 %niter104.ncmp.1, label %.preheader44.loopexit.unr-lcssa, label %.lr.ph62, !llvm.loop !22

.preheader:                                       ; preds = %.lr.ph66, %.lr.ph66.prol.loopexit
  %.pre93 = load i32, ptr @tree, align 4, !tbaa !12
  %.not4367 = icmp slt i32 %.pre93, 2
  br i1 %.not4367, label %._crit_edge, label %.lr.ph69

.lr.ph66:                                         ; preds = %.lr.ph66.prol.loopexit, %.lr.ph66
  %indvars.iv87 = phi i64 [ %indvars.iv.next88.1, %.lr.ph66 ], [ %indvars.iv87.unr, %.lr.ph66.prol.loopexit ]
  %118 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %indvars.iv87
  %119 = load i32, ptr %118, align 4, !tbaa !16
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !16
  %123 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 1200032), i64 0, i64 %120
  %124 = load i32, ptr %123, align 4, !tbaa !16
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %125
  %127 = load i32, ptr %126, align 4, !tbaa !16
  %128 = add nsw i32 %127, %122
  store i32 %128, ptr %126, align 4, !tbaa !16
  %indvars.iv.next88 = add nsw i64 %indvars.iv87, -1
  %129 = getelementptr inbounds [300007 x i32], ptr @id, i64 0, i64 %indvars.iv.next88
  %130 = load i32, ptr %129, align 4, !tbaa !16
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %131
  %133 = load i32, ptr %132, align 4, !tbaa !16
  %134 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 1200032), i64 0, i64 %131
  %135 = load i32, ptr %134, align 4, !tbaa !16
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !16
  %139 = add nsw i32 %138, %133
  store i32 %139, ptr %137, align 4, !tbaa !16
  %indvars.iv.next88.1 = add nsw i64 %indvars.iv87, -2
  %.not42.1 = icmp eq i64 %indvars.iv.next88.1, 0
  br i1 %.not42.1, label %.preheader, label %.lr.ph66, !llvm.loop !23

._crit_edge:                                      ; preds = %.lr.ph69, %.preheader44, %.preheader
  %140 = phi i64 [ 0, %.preheader ], [ 0, %.preheader44 ], [ %150, %.lr.ph69 ]
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i64 noundef %140)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0

.lr.ph69:                                         ; preds = %.preheader, %.lr.ph69
  %indvars.iv90 = phi i64 [ %indvars.iv.next91, %.lr.ph69 ], [ 2, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  %142 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 33600788), i64 0, i64 %indvars.iv90
  %143 = load i32, ptr %142, align 4, !tbaa !16
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [300007 x i32], ptr getelementptr inbounds (i8, ptr @tree, i64 4), i64 0, i64 %indvars.iv90
  %146 = load i32, ptr %145, align 4, !tbaa !16
  %147 = sext i32 %146 to i64
  %148 = mul nsw i64 %147, %144
  store i64 %148, ptr %2, align 8, !tbaa !5
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %150 = load i64, ptr %149, align 8, !tbaa !5
  store i64 %150, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %151 = load i32, ptr @tree, align 4, !tbaa !12
  %152 = sext i32 %151 to i64
  %.not43.not = icmp slt i64 %indvars.iv90, %152
  br i1 %.not43.not, label %.lr.ph69, label %._crit_edge, !llvm.loop !24
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16Palindromic_Tree4initEv(ptr noundef nonnull align 4 dereferenceable(68401616)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN16Palindromic_Tree6extendEii(ptr noundef nonnull align 4 dereferenceable(68401616), i32 noundef, i32 noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress norecurse 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 = { nofree 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 #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 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 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 #6 = { nounwind willreturn memory(read) }
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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!13, !14, i64 0}
!13 = !{!"_ZTS16Palindromic_Tree", !14, i64 0, !7, i64 4, !7, i64 1200032, !7, i64 2400060, !7, i64 33600788, !7, i64 34800816, !7, i64 66001544, !7, i64 66001552, !14, i64 68401608, !14, i64 68401612}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !11}
!16 = !{!14, !14, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.unroll.disable"}
!19 = distinct !{!19, !11}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !11}
!22 = distinct !{!22, !11}
!23 = distinct !{!23, !11}
!24 = distinct !{!24, !11}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass