; LLVM IR from sympiler/nasoq :: nasoq_driver/ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEP_7efff502 (3CSCEb)

; 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.__gnu_cxx::__normal_iterator.61" = type { ptr }
%class.anon.62 = type { i8 }
%"struct.format::triplet" = type { i32, i32, double }
%"class.__gnu_cxx::__normal_iterator.64" = type { ptr }
%"struct.format::CSC" = type { i64, i64, i64, i32, i8, i8, ptr, ptr, ptr }

@.str.121 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [64 x i8], align 1
@__PRETTY_FUNCTION__._ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEPNS_3CSCEb = external hidden unnamed_addr constant [75 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6format7tripletC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEPNS_3CSCEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef %1, i1 noundef zeroext %2) #2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %9 = alloca %class.anon.62, align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"struct.format::triplet", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %19 = zext i1 %2 to i8
  store i8 %19, ptr %6, align 1, !tbaa !9
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.format::CSC", ptr %20, i32 0, i32 2
  %22 = load i64, ptr %21, align 8, !tbaa !11
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call noundef i64 @_ZNKSt6vectorIN6format7tripletESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  %25 = icmp eq i64 %22, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %3
  br label %29

27:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str.121, ptr noundef @.str.122, i32 noundef 212, ptr noundef @__PRETTY_FUNCTION__._ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEPNS_3CSCEb) #11
  unreachable

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28, %26
  %30 = load ptr, ptr %4, align 8, !tbaa !5
  %31 = call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #10
  %32 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %7, i32 0, i32 0
  store ptr %31, ptr %32, align 8
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #10
  %35 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %8, i32 0, i32 0
  store ptr %34, ptr %35, align 8
  %36 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %7, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8
  %38 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %8, i32 0, i32 0
  %39 = load ptr, ptr %38, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6format7tripletESt6vectorIS3_SaIS3_EEEEZNS2_24compress_triplets_to_cscERS7_PNS2_3CSCEbE3$_0EvT_SD_T0_"(ptr %37, ptr %39)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.format::CSC", ptr %40, i32 0, i32 1
  %42 = load i64, ptr %41, align 8, !tbaa !15
  %43 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %42, i64 4)
  %44 = extractvalue { i64, i1 } %43, 1
  %45 = extractvalue { i64, i1 } %43, 0
  %46 = select i1 %44, i64 -1, i64 %45
  %47 = call noalias noundef nonnull ptr @_Znam(i64 noundef %46) #12
  call void @llvm.memset.p0.i64(ptr align 4 %47, i8 0, i64 %46, i1 false)
  store ptr %47, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store i32 0, ptr %11, align 4, !tbaa !16
  br label %48

48:                                               ; preds = %68, %29
  %49 = load i32, ptr %11, align 4, !tbaa !16
  %50 = sext i32 %49 to i64
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.format::CSC", ptr %51, i32 0, i32 2
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = icmp ult i64 %50, %53
  br i1 %54, label %56, label %55

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

56:                                               ; preds = %48
  %57 = load ptr, ptr %10, align 8, !tbaa !5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = load i32, ptr %11, align 4, !tbaa !16
  %60 = sext i32 %59 to i64
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6format7tripletESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %60) #10
  %62 = getelementptr inbounds %"struct.format::triplet", ptr %61, i32 0, i32 1
  %63 = load i32, ptr %62, align 4, !tbaa !17
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds i32, ptr %57, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !16
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %65, align 4, !tbaa !16
  br label %68

68:                                               ; preds = %56
  %69 = load i32, ptr %11, align 4, !tbaa !16
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %11, align 4, !tbaa !16
  br label %48, !llvm.loop !20

71:                                               ; preds = %55
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %"struct.format::CSC", ptr %72, i32 0, i32 6
  %74 = load ptr, ptr %73, align 8, !tbaa !22
  %75 = getelementptr inbounds i32, ptr %74, i64 0
  store i32 0, ptr %75, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store i32 0, ptr %12, align 4, !tbaa !16
  br label %76

76:                                               ; preds = %154, %71
  %77 = load i32, ptr %12, align 4, !tbaa !16
  %78 = sext i32 %77 to i64
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.format::CSC", ptr %79, i32 0, i32 1
  %81 = load i64, ptr %80, align 8, !tbaa !15
  %82 = icmp ult i64 %78, %81
  br i1 %82, label %84, label %83

83:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  br label %157

84:                                               ; preds = %76
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = load i32, ptr %12, align 4, !tbaa !16
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds i32, ptr %85, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !16
  %90 = icmp eq i32 %89, 0
  br i1 %90, label %91, label %132

91:                                               ; preds = %84
  %92 = load i8, ptr %6, align 1, !tbaa !9, !range !23, !noundef !24
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %132

94:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #10
  call void @_ZN6format7tripletC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %13) #10
  %95 = load i32, ptr %12, align 4, !tbaa !16
  %96 = getelementptr inbounds %"struct.format::triplet", ptr %13, i32 0, i32 0
  store i32 %95, ptr %96, align 8, !tbaa !25
  %97 = getelementptr inbounds %"struct.format::triplet", ptr %13, i32 0, i32 1
  store i32 %95, ptr %97, align 4, !tbaa !17
  %98 = getelementptr inbounds %"struct.format::triplet", ptr %13, i32 0, i32 2
  store double 0.000000e+00, ptr %98, align 8, !tbaa !26
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %100 = load ptr, ptr %4, align 8, !tbaa !5
  %101 = call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #10
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %16, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = getelementptr inbounds %"struct.format::CSC", ptr %103, i32 0, i32 6
  %105 = load ptr, ptr %104, align 8, !tbaa !22
  %106 = load i32, ptr %12, align 4, !tbaa !16
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i32, ptr %105, i64 %107
  %109 = load i32, ptr %108, align 4, !tbaa !16
  %110 = sext i32 %109 to i64
  %111 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6format7tripletESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 noundef %110) #10
  %112 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %15, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN6format7tripletESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.64", ptr %14, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8
  %115 = call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_(ptr noundef nonnull align 8 dereferenceable(24) %99, ptr %114, ptr noundef nonnull align 8 dereferenceable(16) %13)
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.61", ptr %17, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  %117 = load ptr, ptr %5, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.format::CSC", ptr %117, i32 0, i32 6
  %119 = load ptr, ptr %118, align 8, !tbaa !22
  %120 = load i32, ptr %12, align 4, !tbaa !16
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds i32, ptr %119, i64 %121
  %123 = load i32, ptr %122, align 4, !tbaa !16
  %124 = add nsw i32 %123, 1
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.format::CSC", ptr %125, i32 0, i32 6
  %127 = load ptr, ptr %126, align 8, !tbaa !22
  %128 = load i32, ptr %12, align 4, !tbaa !16
  %129 = add nsw i32 %128, 1
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds i32, ptr %127, i64 %130
  store i32 %124, ptr %131, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #10
  br label %153

132:                                              ; preds = %91, %84
  %133 = load ptr, ptr %5, align 8, !tbaa !5
  %134 = getelementptr inbounds %"struct.format::CSC", ptr %133, i32 0, i32 6
  %135 = load ptr, ptr %134, align 8, !tbaa !22
  %136 = load i32, ptr %12, align 4, !tbaa !16
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds i32, ptr %135, i64 %137
  %139 = load i32, ptr %138, align 4, !tbaa !16
  %140 = load ptr, ptr %10, align 8, !tbaa !5
  %141 = load i32, ptr %12, align 4, !tbaa !16
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds i32, ptr %140, i64 %142
  %144 = load i32, ptr %143, align 4, !tbaa !16
  %145 = add nsw i32 %139, %144
  %146 = load ptr, ptr %5, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.format::CSC", ptr %146, i32 0, i32 6
  %148 = load ptr, ptr %147, align 8, !tbaa !22
  %149 = load i32, ptr %12, align 4, !tbaa !16
  %150 = add nsw i32 %149, 1
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i32, ptr %148, i64 %151
  store i32 %145, ptr %152, align 4, !tbaa !16
  br label %153

153:                                              ; preds = %132, %94
  br label %154

154:                                              ; preds = %153
  %155 = load i32, ptr %12, align 4, !tbaa !16
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %12, align 4, !tbaa !16
  br label %76, !llvm.loop !27

157:                                              ; preds = %83
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = icmp eq ptr %158, null
  br i1 %159, label %161, label %160

160:                                              ; preds = %157
  call void @_ZdaPv(ptr noundef %158) #13
  br label %161

161:                                              ; preds = %160, %157
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #10
  store i32 0, ptr %18, align 4, !tbaa !16
  br label %162

162:                                              ; preds = %195, %161
  %163 = load i32, ptr %18, align 4, !tbaa !16
  %164 = sext i32 %163 to i64
  %165 = load ptr, ptr %5, align 8, !tbaa !5
  %166 = getelementptr inbounds %"struct.format::CSC", ptr %165, i32 0, i32 2
  %167 = load i64, ptr %166, align 8, !tbaa !11
  %168 = icmp ult i64 %164, %167
  br i1 %168, label %170, label %169

169:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #10
  br label %198

170:                                              ; preds = %162
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = load i32, ptr %18, align 4, !tbaa !16
  %173 = sext i32 %172 to i64
  %174 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6format7tripletESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %171, i64 noundef %173) #10
  %175 = getelementptr inbounds %"struct.format::triplet", ptr %174, i32 0, i32 0
  %176 = load i32, ptr %175, align 8, !tbaa !25
  %177 = load ptr, ptr %5, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.format::CSC", ptr %177, i32 0, i32 7
  %179 = load ptr, ptr %178, align 8, !tbaa !28
  %180 = load i32, ptr %18, align 4, !tbaa !16
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds i32, ptr %179, i64 %181
  store i32 %176, ptr %182, align 4, !tbaa !16
  %183 = load ptr, ptr %4, align 8, !tbaa !5
  %184 = load i32, ptr %18, align 4, !tbaa !16
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6format7tripletESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %183, i64 noundef %185) #10
  %187 = getelementptr inbounds %"struct.format::triplet", ptr %186, i32 0, i32 2
  %188 = load double, ptr %187, align 8, !tbaa !26
  %189 = load ptr, ptr %5, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.format::CSC", ptr %189, i32 0, i32 8
  %191 = load ptr, ptr %190, align 8, !tbaa !29
  %192 = load i32, ptr %18, align 4, !tbaa !16
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds double, ptr %191, i64 %193
  store double %188, ptr %194, align 8, !tbaa !30
  br label %195

195:                                              ; preds = %170
  %196 = load i32, ptr %18, align 4, !tbaa !16
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %18, align 4, !tbaa !16
  br label %162, !llvm.loop !31

198:                                              ; preds = %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  ret void
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6format7tripletESt6vectorIS3_SaIS3_EEEEZNS2_24compress_triplets_to_cscERS7_PNS2_3CSCEbE3$_0EvT_SD_T0_"(ptr, ptr) #5

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #6

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #7

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #9

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { nobuiltin allocsize(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 #8 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #9 = { nobuiltin 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin 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 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 16}
!12 = !{!"_ZTSN6format3CSCE", !13, i64 0, !13, i64 8, !13, i64 16, !14, i64 24, !10, i64 28, !10, i64 29, !6, i64 32, !6, i64 40, !6, i64 48}
!13 = !{!"long", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!12, !13, i64 8}
!16 = !{!14, !14, i64 0}
!17 = !{!18, !14, i64 4}
!18 = !{!"_ZTSN6format7tripletE", !14, i64 0, !14, i64 4, !19, i64 8}
!19 = !{!"double", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!12, !6, i64 32}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!18, !14, i64 0}
!26 = !{!18, !19, i64 8}
!27 = distinct !{!27, !21}
!28 = !{!12, !6, i64 40}
!29 = !{!12, !6, i64 48}
!30 = !{!19, !19, i64 0}
!31 = distinct !{!31, !21}


; 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.format::triplet" = type { i32, i32, double }
%"class.__gnu_cxx::__normal_iterator.64" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.61" = type { ptr }

@.str.121 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.122 = external hidden unnamed_addr constant [64 x i8], align 1
@__PRETTY_FUNCTION__._ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEPNS_3CSCEb = external hidden unnamed_addr constant [75 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6format7tripletC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEPNS_3CSCEb(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr nocapture noundef readonly %1, i1 noundef zeroext %2) local_unnamed_addr #2 {
  %4 = alloca %"struct.format::triplet", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.64", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.61", align 8
  %8 = getelementptr inbounds i8, ptr %1, i64 16
  %9 = load i64, ptr %8, align 8, !tbaa !5
  %10 = tail call noundef i64 @_ZNKSt6vectorIN6format7tripletESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %11 = icmp eq i64 %9, %10
  br i1 %11, label %13, label %12

12:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.121, ptr noundef nonnull @.str.122, i32 noundef 212, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN6format24compress_triplets_to_cscERSt6vectorINS_7tripletESaIS1_EEPNS_3CSCEb) #10
  unreachable

13:                                               ; preds = %3
  %14 = tail call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %15 = tail call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6format7tripletESt6vectorIS3_SaIS3_EEEEZNS2_24compress_triplets_to_cscERS7_PNS2_3CSCEbE3$_0EvT_SD_T0_"(ptr %14, ptr %15)
  %16 = getelementptr inbounds i8, ptr %1, i64 8
  %17 = load i64, ptr %16, align 8, !tbaa !13
  %18 = icmp ugt i64 %17, 4611686018427387903
  %19 = shl i64 %17, 2
  %20 = select i1 %18, i64 -1, i64 %19
  %21 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %20) #11
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %21, i8 0, i64 %20, i1 false)
  %22 = load i64, ptr %8, align 8, !tbaa !5
  %.not = icmp eq i64 %22, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = load i64, ptr %16, align 8, !tbaa !13
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %13
  %23 = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %17, %13 ]
  %24 = getelementptr inbounds i8, ptr %1, i64 32
  %25 = load ptr, ptr %24, align 8, !tbaa !14
  store i32 0, ptr %25, align 4, !tbaa !15
  %.not61 = icmp eq i64 %23, 0
  br i1 %.not61, label %._crit_edge56, label %.lr.ph55

.lr.ph55:                                         ; preds = %._crit_edge
  %26 = getelementptr inbounds i8, ptr %4, i64 4
  %27 = getelementptr inbounds i8, ptr %4, i64 8
  br i1 %2, label %.lr.ph55.split, label %.lr.ph55.split.us.preheader

.lr.ph55.split.us.preheader:                      ; preds = %.lr.ph55
  %load_initial = load i32, ptr %25, align 4
  %xtraiter = and i64 %23, 3
  %28 = icmp ult i64 %23, 4
  br i1 %28, label %._crit_edge56.loopexit77.unr-lcssa, label %.lr.ph55.split.us.preheader.new

.lr.ph55.split.us.preheader.new:                  ; preds = %.lr.ph55.split.us.preheader
  %unroll_iter = and i64 %23, -4
  %invariant.gep78 = getelementptr inbounds i8, ptr %25, i64 4
  %invariant.gep80 = getelementptr inbounds i8, ptr %25, i64 4
  %invariant.gep82 = getelementptr inbounds i8, ptr %25, i64 4
  %invariant.gep84 = getelementptr inbounds i8, ptr %25, i64 4
  br label %.lr.ph55.split.us

.lr.ph55.split.us:                                ; preds = %.lr.ph55.split.us, %.lr.ph55.split.us.preheader.new
  %store_forwarded = phi i32 [ %load_initial, %.lr.ph55.split.us.preheader.new ], [ %40, %.lr.ph55.split.us ]
  %indvars.iv65 = phi i64 [ 0, %.lr.ph55.split.us.preheader.new ], [ %indvars.iv.next66.3, %.lr.ph55.split.us ]
  %niter = phi i64 [ 0, %.lr.ph55.split.us.preheader.new ], [ %niter.next.3, %.lr.ph55.split.us ]
  %29 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv65
  %30 = load i32, ptr %29, align 4, !tbaa !15
  %31 = add nsw i32 %store_forwarded, %30
  %gep79 = getelementptr inbounds i32, ptr %invariant.gep78, i64 %indvars.iv65
  store i32 %31, ptr %gep79, align 4, !tbaa !15
  %indvars.iv.next66 = or disjoint i64 %indvars.iv65, 1
  %32 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv.next66
  %33 = load i32, ptr %32, align 4, !tbaa !15
  %34 = add nsw i32 %31, %33
  %gep81 = getelementptr inbounds i32, ptr %invariant.gep80, i64 %indvars.iv.next66
  store i32 %34, ptr %gep81, align 4, !tbaa !15
  %indvars.iv.next66.1 = or disjoint i64 %indvars.iv65, 2
  %35 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv.next66.1
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = add nsw i32 %34, %36
  %gep83 = getelementptr inbounds i32, ptr %invariant.gep82, i64 %indvars.iv.next66.1
  store i32 %37, ptr %gep83, align 4, !tbaa !15
  %indvars.iv.next66.2 = or disjoint i64 %indvars.iv65, 3
  %38 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv.next66.2
  %39 = load i32, ptr %38, align 4, !tbaa !15
  %40 = add nsw i32 %37, %39
  %gep85 = getelementptr inbounds i32, ptr %invariant.gep84, i64 %indvars.iv.next66.2
  store i32 %40, ptr %gep85, align 4, !tbaa !15
  %indvars.iv.next66.3 = add nuw nsw i64 %indvars.iv65, 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 %._crit_edge56.loopexit77.unr-lcssa, label %.lr.ph55.split.us, !llvm.loop !16

.lr.ph:                                           ; preds = %13, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %13 ]
  %41 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6format7tripletESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #9
  %42 = getelementptr inbounds i8, ptr %41, i64 4
  %43 = load i32, ptr %42, align 4, !tbaa !18
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %21, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !15
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %45, align 4, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %48 = load i64, ptr %8, align 8, !tbaa !5
  %49 = icmp ugt i64 %48, %indvars.iv.next
  br i1 %49, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !21

.lr.ph55.split:                                   ; preds = %.lr.ph55, %75
  %50 = phi i64 [ %76, %75 ], [ %23, %.lr.ph55 ]
  %51 = phi ptr [ %77, %75 ], [ %25, %.lr.ph55 ]
  %indvars.iv68 = phi i64 [ %indvars.iv.next69, %75 ], [ 0, %.lr.ph55 ]
  %52 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv68
  %53 = load i32, ptr %52, align 4, !tbaa !15
  %54 = icmp eq i32 %53, 0
  br i1 %54, label %55, label %70

55:                                               ; preds = %.lr.ph55.split
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #9
  call void @_ZN6format7tripletC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #9
  %56 = trunc nuw nsw i64 %indvars.iv68 to i32
  store i32 %56, ptr %4, align 8, !tbaa !22
  store i32 %56, ptr %26, align 4, !tbaa !18
  store double 0.000000e+00, ptr %27, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %57 = call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  store ptr %57, ptr %7, align 8
  %58 = load ptr, ptr %24, align 8, !tbaa !14
  %59 = getelementptr inbounds i32, ptr %58, i64 %indvars.iv68
  %60 = load i32, ptr %59, align 4, !tbaa !15
  %61 = sext i32 %60 to i64
  %62 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN6format7tripletESt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef %61) #9
  store ptr %62, ptr %6, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN6format7tripletESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %63 = load ptr, ptr %5, align 8
  %64 = call ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %63, ptr noundef nonnull align 8 dereferenceable(16) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %65 = load ptr, ptr %24, align 8, !tbaa !14
  %66 = getelementptr inbounds i32, ptr %65, i64 %indvars.iv68
  %67 = load i32, ptr %66, align 4, !tbaa !15
  %68 = add nsw i32 %67, 1
  %69 = getelementptr inbounds i8, ptr %66, i64 4
  store i32 %68, ptr %69, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #9
  %.pre74 = load i64, ptr %16, align 8, !tbaa !13
  br label %75

70:                                               ; preds = %.lr.ph55.split
  %71 = getelementptr inbounds i32, ptr %51, i64 %indvars.iv68
  %72 = load i32, ptr %71, align 4, !tbaa !15
  %73 = add nsw i32 %72, %53
  %74 = getelementptr inbounds i8, ptr %71, i64 4
  store i32 %73, ptr %74, align 4, !tbaa !15
  br label %75

75:                                               ; preds = %55, %70
  %76 = phi i64 [ %.pre74, %55 ], [ %50, %70 ]
  %77 = phi ptr [ %65, %55 ], [ %51, %70 ]
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %78 = icmp ugt i64 %76, %indvars.iv.next69
  br i1 %78, label %.lr.ph55.split, label %._crit_edge56, !llvm.loop !16

._crit_edge56.loopexit77.unr-lcssa:               ; preds = %.lr.ph55.split.us, %.lr.ph55.split.us.preheader
  %store_forwarded.unr = phi i32 [ %load_initial, %.lr.ph55.split.us.preheader ], [ %40, %.lr.ph55.split.us ]
  %indvars.iv65.unr = phi i64 [ 0, %.lr.ph55.split.us.preheader ], [ %indvars.iv.next66.3, %.lr.ph55.split.us ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge56, label %.lr.ph55.split.us.epil.preheader

.lr.ph55.split.us.epil.preheader:                 ; preds = %._crit_edge56.loopexit77.unr-lcssa
  %invariant.gep = getelementptr i8, ptr %25, i64 4
  br label %.lr.ph55.split.us.epil

.lr.ph55.split.us.epil:                           ; preds = %.lr.ph55.split.us.epil, %.lr.ph55.split.us.epil.preheader
  %store_forwarded.epil = phi i32 [ %store_forwarded.unr, %.lr.ph55.split.us.epil.preheader ], [ %81, %.lr.ph55.split.us.epil ]
  %indvars.iv65.epil = phi i64 [ %indvars.iv65.unr, %.lr.ph55.split.us.epil.preheader ], [ %indvars.iv.next66.epil, %.lr.ph55.split.us.epil ]
  %epil.iter = phi i64 [ 0, %.lr.ph55.split.us.epil.preheader ], [ %epil.iter.next, %.lr.ph55.split.us.epil ]
  %79 = getelementptr inbounds i32, ptr %21, i64 %indvars.iv65.epil
  %80 = load i32, ptr %79, align 4, !tbaa !15
  %81 = add nsw i32 %store_forwarded.epil, %80
  %gep = getelementptr i32, ptr %invariant.gep, i64 %indvars.iv65.epil
  store i32 %81, ptr %gep, align 4, !tbaa !15
  %indvars.iv.next66.epil = add nuw nsw i64 %indvars.iv65.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 %._crit_edge56, label %.lr.ph55.split.us.epil, !llvm.loop !24

._crit_edge56:                                    ; preds = %._crit_edge56.loopexit77.unr-lcssa, %.lr.ph55.split.us.epil, %75, %._crit_edge
  call void @_ZdaPv(ptr noundef nonnull %21) #12
  %82 = load i64, ptr %8, align 8, !tbaa !5
  %.not62 = icmp eq i64 %82, 0
  br i1 %.not62, label %._crit_edge60, label %.lr.ph59

.lr.ph59:                                         ; preds = %._crit_edge56
  %83 = getelementptr inbounds i8, ptr %1, i64 40
  %84 = getelementptr inbounds i8, ptr %1, i64 48
  br label %85

._crit_edge60:                                    ; preds = %85, %._crit_edge56
  ret void

85:                                               ; preds = %.lr.ph59, %85
  %indvars.iv71 = phi i64 [ 0, %.lr.ph59 ], [ %indvars.iv.next72, %85 ]
  %86 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6format7tripletESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv71) #9
  %87 = load i32, ptr %86, align 8, !tbaa !22
  %88 = load ptr, ptr %83, align 8, !tbaa !26
  %89 = getelementptr inbounds i32, ptr %88, i64 %indvars.iv71
  store i32 %87, ptr %89, align 4, !tbaa !15
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorIN6format7tripletESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv71) #9
  %91 = getelementptr inbounds i8, ptr %90, i64 8
  %92 = load double, ptr %91, align 8, !tbaa !23
  %93 = load ptr, ptr %84, align 8, !tbaa !27
  %94 = getelementptr inbounds double, ptr %93, i64 %indvars.iv71
  store double %92, ptr %94, align 8, !tbaa !28
  %indvars.iv.next72 = add nuw nsw i64 %indvars.iv71, 1
  %95 = load i64, ptr %8, align 8, !tbaa !5
  %96 = icmp ugt i64 %95, %indvars.iv.next72
  br i1 %96, label %85, label %._crit_edge60, !llvm.loop !29
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPN6format7tripletESt6vectorIS3_SaIS3_EEEEZNS2_24compress_triplets_to_cscERS7_PNS2_3CSCEbE3$_0EvT_SD_T0_"(ptr, ptr) local_unnamed_addr #5

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIN6format7tripletESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EERS6_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

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

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #8

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #8 = { nobuiltin 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin 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, !7, i64 16}
!6 = !{!"_ZTSN6format3CSCE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 29, !12, i64 32, !12, i64 40, !12, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !12, i64 32}
!15 = !{!10, !10, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!19, !10, i64 4}
!19 = !{!"_ZTSN6format7tripletE", !10, i64 0, !10, i64 4, !20, i64 8}
!20 = !{!"double", !8, i64 0}
!21 = distinct !{!21, !17}
!22 = !{!19, !10, i64 0}
!23 = !{!19, !20, i64 8}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.unroll.disable"}
!26 = !{!6, !12, i64 40}
!27 = !{!6, !12, i64 48}
!28 = !{!20, !20, i64 0}
!29 = distinct !{!29, !17}


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