; LLVM IR from stonne-simulator/omega :: omega-code/stonne/src/CompilerART.ll (ZN11CompilerART27generate_art_enabling_linksEj)

; 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.std::pair.46" = type { i32, i32 }
%"struct.std::pair.48" = type { i8, i8 }
%class.CompilerComponent = type <{ ptr, ptr, %"class.std::vector.23", ptr, i32, i8, [3 x i8], i32, [4 x i8] }>
%"class.std::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl" }
%"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl" = type { %"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl_data" }
%"struct.std::_Vector_base<SparseVN, std::allocator<SparseVN>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.CompilerART = type { %class.CompilerComponent.base, %"class.std::map", %"class.std::map.31", %"class.std::map.36", %"class.std::map.41" }
%class.CompilerComponent.base = type <{ ptr, ptr, %"class.std::vector.23", ptr, i32, i8, [3 x i8], i32 }>
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, adderconfig_t>, std::_Select1st<std::pair<const std::pair<int, int>, adderconfig_t>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, adderconfig_t>, std::_Select1st<std::pair<const std::pair<int, int>, adderconfig_t>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.31" = type { %"class.std::_Rb_tree.32" }
%"class.std::_Rb_tree.32" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, fl_t>, std::_Select1st<std::pair<const std::pair<int, int>, fl_t>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, fl_t>, std::_Select1st<std::pair<const std::pair<int, int>, fl_t>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.36" = type { %"class.std::_Rb_tree.37" }
%"class.std::_Rb_tree.37" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, std::pair<bool, bool>>, std::_Select1st<std::pair<const std::pair<int, int>, std::pair<bool, bool>>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, std::pair<bool, bool>>, std::_Select1st<std::pair<const std::pair<int, int>, std::pair<bool, bool>>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.41" = type { %"class.std::_Rb_tree.42" }
%"class.std::_Rb_tree.42" = type { %"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, bool>, std::_Select1st<std::pair<const std::pair<int, int>, bool>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::pair<int, int>, std::pair<const std::pair<int, int>, bool>, std::_Select1st<std::pair<const std::pair<int, int>, bool>>, std::less<std::pair<int, int>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }

; 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 nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile11get_VN_SizeEv(ptr noundef nonnull align 4 dereferenceable(41)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile11get_Num_VNsEv(ptr noundef nonnull align 4 dereferenceable(41)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11CompilerART27generate_art_enabling_linksEj(ptr noundef nonnull align 8 dereferenceable(256) %0, i32 noundef %1) #2 align 2 {
  %3 = alloca ptr, 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 %"struct.std::pair.46", align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca i8, align 1
  %15 = alloca %"struct.std::pair.48", align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"struct.std::pair.46", align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca %"struct.std::pair.46", align 4
  %26 = alloca %"struct.std::pair.46", align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca %"struct.std::pair.48", align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %30 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %31 = load i32, ptr %4, align 4, !tbaa !9
  %32 = call noundef double @_ZSt5log10IjEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %31)
  %33 = call noundef double @_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef 2)
  %34 = fdiv double %32, %33
  %35 = fptosi double %34 to i32
  store i32 %35, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %36 = getelementptr inbounds %class.CompilerComponent, ptr %30, i32 0, i32 1
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = call noundef i32 @_ZNK4Tile11get_Num_VNsEv(ptr noundef nonnull align 4 dereferenceable(41) %37)
  %39 = getelementptr inbounds %class.CompilerComponent, ptr %30, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !11
  %41 = call noundef i32 @_ZNK4Tile11get_VN_SizeEv(ptr noundef nonnull align 4 dereferenceable(41) %40)
  %42 = mul i32 %38, %41
  store i32 %42, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %43 = load i32, ptr %4, align 4, !tbaa !9
  %44 = udiv i32 %43, 2
  store i32 %44, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %70, %2
  %46 = load i32, ptr %8, align 4, !tbaa !9
  %47 = load i32, ptr %7, align 4, !tbaa !9
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %73

50:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %51 = load i32, ptr %5, align 4, !tbaa !9
  %52 = sub nsw i32 %51, 1
  store i32 %52, ptr %10, align 4, !tbaa !9
  call void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %53 = load i32, ptr %8, align 4, !tbaa !9
  %54 = mul nsw i32 %53, 2
  store i32 %54, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = add i32 %55, 1
  store i32 %56, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  store i8 0, ptr %13, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  store i8 0, ptr %14, align 1, !tbaa !18
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = load i32, ptr %6, align 4, !tbaa !9
  %59 = icmp ult i32 %57, %58
  br i1 %59, label %60, label %61

60:                                               ; preds = %50
  store i8 1, ptr %13, align 1, !tbaa !18
  br label %61

61:                                               ; preds = %60, %50
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = load i32, ptr %6, align 4, !tbaa !9
  %64 = icmp ult i32 %62, %63
  br i1 %64, label %65, label %66

65:                                               ; preds = %61
  store i8 1, ptr %14, align 1, !tbaa !18
  br label %66

66:                                               ; preds = %65, %61
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #4
  call void @_ZNSt4pairIbbEC2IRbS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 1 dereferenceable(2) %15, ptr noundef nonnull align 1 dereferenceable(1) %13, ptr noundef nonnull align 1 dereferenceable(1) %14)
  %67 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 3
  %68 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %67, ptr noundef nonnull align 4 dereferenceable(8) %9)
  %69 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %68, ptr noundef nonnull align 1 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %70

70:                                               ; preds = %66
  %71 = load i32, ptr %8, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %8, align 4, !tbaa !9
  br label %45, !llvm.loop !19

73:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %74 = load i32, ptr %5, align 4, !tbaa !9
  %75 = sub nsw i32 %74, 2
  store i32 %75, ptr %16, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %156, %73
  %77 = load i32, ptr %16, align 4, !tbaa !9
  %78 = icmp sge i32 %77, 0
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %159

80:                                               ; preds = %76
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = sdiv i32 %81, 2
  store i32 %82, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %152, %80
  %84 = load i32, ptr %18, align 4, !tbaa !9
  %85 = load i32, ptr %7, align 4, !tbaa !9
  %86 = icmp slt i32 %84, %85
  br i1 %86, label %88, label %87

87:                                               ; preds = %83
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %155

88:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %19, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  %89 = load i32, ptr %18, align 4, !tbaa !9
  %90 = mul nsw i32 %89, 2
  store i32 %90, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %91 = load i32, ptr %20, align 4, !tbaa !9
  %92 = add i32 %91, 1
  store i32 %92, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #4
  store i8 0, ptr %22, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #4
  store i8 0, ptr %23, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  call void @_ZNSt4pairIiiEC2IRiRjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  call void @_ZNSt4pairIiiEC2IRiRjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %26, ptr noundef nonnull align 4 dereferenceable(4) %24, ptr noundef nonnull align 4 dereferenceable(4) %21)
  %95 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 1
  %96 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %95, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %97 = icmp ugt i64 %96, 0
  br i1 %97, label %98, label %121

98:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #4
  %99 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 1
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %99, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %101 = load i32, ptr %100, align 4, !tbaa !21
  store i32 %101, ptr %27, align 4, !tbaa !21
  %102 = load i32, ptr %27, align 4, !tbaa !21
  %103 = icmp eq i32 %102, 1
  br i1 %103, label %110, label %104

104:                                              ; preds = %98
  %105 = load i32, ptr %27, align 4, !tbaa !21
  %106 = icmp eq i32 %105, 2
  br i1 %106, label %110, label %107

107:                                              ; preds = %104
  %108 = load i32, ptr %27, align 4, !tbaa !21
  %109 = icmp eq i32 %108, 3
  br i1 %109, label %110, label %111

110:                                              ; preds = %107, %104, %98
  store i8 1, ptr %22, align 1, !tbaa !18
  br label %111

111:                                              ; preds = %110, %107
  %112 = load i32, ptr %27, align 4, !tbaa !21
  %113 = icmp eq i32 %112, 0
  br i1 %113, label %114, label %120

114:                                              ; preds = %111
  %115 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 2
  %116 = call noundef i64 @_ZNKSt3mapISt4pairIiiE4fl_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %115, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %117 = icmp eq i64 %116, 0
  br i1 %117, label %118, label %119

118:                                              ; preds = %114
  store i8 1, ptr %22, align 1, !tbaa !18
  br label %119

119:                                              ; preds = %118, %114
  br label %120

120:                                              ; preds = %119, %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #4
  br label %121

121:                                              ; preds = %120, %88
  %122 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 1
  %123 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %122, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %124 = icmp ugt i64 %123, 0
  br i1 %124, label %125, label %148

125:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #4
  %126 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 1
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %126, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %128 = load i32, ptr %127, align 4, !tbaa !21
  store i32 %128, ptr %28, align 4, !tbaa !21
  %129 = load i32, ptr %28, align 4, !tbaa !21
  %130 = icmp eq i32 %129, 1
  br i1 %130, label %137, label %131

131:                                              ; preds = %125
  %132 = load i32, ptr %28, align 4, !tbaa !21
  %133 = icmp eq i32 %132, 2
  br i1 %133, label %137, label %134

134:                                              ; preds = %131
  %135 = load i32, ptr %28, align 4, !tbaa !21
  %136 = icmp eq i32 %135, 3
  br i1 %136, label %137, label %138

137:                                              ; preds = %134, %131, %125
  store i8 1, ptr %23, align 1, !tbaa !18
  br label %138

138:                                              ; preds = %137, %134
  %139 = load i32, ptr %28, align 4, !tbaa !21
  %140 = icmp eq i32 %139, 0
  br i1 %140, label %141, label %147

141:                                              ; preds = %138
  %142 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 2
  %143 = call noundef i64 @_ZNKSt3mapISt4pairIiiE4fl_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %142, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %144 = icmp eq i64 %143, 0
  br i1 %144, label %145, label %146

145:                                              ; preds = %141
  store i8 1, ptr %23, align 1, !tbaa !18
  br label %146

146:                                              ; preds = %145, %141
  br label %147

147:                                              ; preds = %146, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #4
  br label %148

148:                                              ; preds = %147, %121
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #4
  call void @_ZNSt4pairIbbEC2IRbS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 1 dereferenceable(2) %29, ptr noundef nonnull align 1 dereferenceable(1) %22, ptr noundef nonnull align 1 dereferenceable(1) %23)
  %149 = getelementptr inbounds %class.CompilerART, ptr %30, i32 0, i32 3
  %150 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %149, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %151 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %150, ptr noundef nonnull align 1 dereferenceable(2) %29)
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %152

152:                                              ; preds = %148
  %153 = load i32, ptr %18, align 4, !tbaa !9
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %18, align 4, !tbaa !9
  br label %83, !llvm.loop !23

155:                                              ; preds = %87
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %16, align 4, !tbaa !9
  %158 = add nsw i32 %157, -1
  store i32 %158, ptr %16, align 4, !tbaa !9
  br label %76, !llvm.loop !24

159:                                              ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt5log10IjEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt4pairIiiE4fl_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { 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 = !{!12, !6, i64 8}
!12 = !{!"_ZTS17CompilerComponent", !6, i64 8, !13, i64 16, !6, i64 40, !10, i64 48, !17, i64 52, !10, i64 56}
!13 = !{!"_ZTSSt6vectorI8SparseVNSaIS0_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseI8SparseVNSaIS0_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"bool", !7, i64 0}
!18 = !{!17, !17, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS13adderconfig_t", !7, i64 0}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.std::pair.46" = type { i32, i32 }
%"struct.std::pair.48" = type { i8, i8 }

; 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 nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile11get_VN_SizeEv(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4Tile11get_Num_VNsEv(ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11CompilerART27generate_art_enabling_linksEj(ptr noundef nonnull align 8 dereferenceable(256) %0, i32 noundef %1) local_unnamed_addr #2 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca %"struct.std::pair.46", align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca %"struct.std::pair.48", align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.std::pair.46", align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca %"struct.std::pair.46", align 4
  %18 = alloca %"struct.std::pair.46", align 4
  %19 = alloca %"struct.std::pair.48", align 1
  %20 = tail call noundef double @_ZSt5log10IjEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %1)
  %21 = tail call noundef double @_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef 2)
  %22 = fdiv double %20, %21
  %23 = fptosi double %22 to i32
  %24 = getelementptr inbounds i8, ptr %0, i64 8
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = tail call noundef i32 @_ZNK4Tile11get_Num_VNsEv(ptr noundef nonnull align 4 dereferenceable(41) %25)
  %27 = load ptr, ptr %24, align 8, !tbaa !5
  %28 = tail call noundef i32 @_ZNK4Tile11get_VN_SizeEv(ptr noundef nonnull align 4 dereferenceable(41) %27)
  %29 = mul i32 %28, %26
  %30 = lshr i32 %1, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  store i32 0, ptr %3, align 4, !tbaa !16
  %.not40 = icmp ult i32 %1, 2
  br i1 %.not40, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %31 = add nsw i32 %23, -1
  %32 = getelementptr inbounds i8, ptr %0, i64 160
  br label %38

._crit_edge:                                      ; preds = %47, %2
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #4
  %33 = add nsw i32 %23, -2
  store i32 %33, ptr %9, align 4, !tbaa !16
  %34 = icmp sgt i32 %23, 1
  br i1 %34, label %.lr.ph38, label %._crit_edge39

.lr.ph38:                                         ; preds = %._crit_edge
  %35 = getelementptr inbounds i8, ptr %0, i64 64
  %36 = getelementptr inbounds i8, ptr %0, i64 112
  %37 = getelementptr inbounds i8, ptr %0, i64 160
  br label %53

38:                                               ; preds = %.lr.ph, %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  store i32 %31, ptr %5, align 4, !tbaa !16
  call void @_ZNSt4pairIiiEC2IiRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %4, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  %39 = load i32, ptr %3, align 4, !tbaa !16
  %40 = shl nsw i32 %39, 1
  %41 = or disjoint i32 %40, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #4
  store i8 0, ptr %6, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #4
  store i8 0, ptr %7, align 1, !tbaa !17
  %42 = icmp ult i32 %40, %29
  br i1 %42, label %43, label %44

43:                                               ; preds = %38
  store i8 1, ptr %6, align 1, !tbaa !17
  br label %44

44:                                               ; preds = %43, %38
  %45 = icmp ult i32 %41, %29
  br i1 %45, label %46, label %47

46:                                               ; preds = %44
  store i8 1, ptr %7, align 1, !tbaa !17
  br label %47

47:                                               ; preds = %46, %44
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #4
  call void @_ZNSt4pairIbbEC2IRbS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 1 dereferenceable(2) %8, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef nonnull align 1 dereferenceable(1) %7)
  %48 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %32, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %49 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %48, ptr noundef nonnull align 1 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #4
  %50 = load i32, ptr %3, align 4, !tbaa !16
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %3, align 4, !tbaa !16
  %52 = icmp slt i32 %51, %30
  br i1 %52, label %38, label %._crit_edge, !llvm.loop !18

._crit_edge39:                                    ; preds = %._crit_edge35, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #4
  ret void

53:                                               ; preds = %.lr.ph38, %._crit_edge35
  %54 = phi i32 [ %33, %.lr.ph38 ], [ %57, %._crit_edge35 ]
  %.036 = phi i32 [ %30, %.lr.ph38 ], [ %55, %._crit_edge35 ]
  %55 = lshr i32 %.036, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  store i32 0, ptr %10, align 4, !tbaa !16
  %.not41 = icmp ult i32 %.036, 2
  br i1 %.not41, label %._crit_edge35, label %.lr.ph34

._crit_edge35.loopexit:                           ; preds = %87
  %.pre = load i32, ptr %9, align 4, !tbaa !16
  br label %._crit_edge35

._crit_edge35:                                    ; preds = %._crit_edge35.loopexit, %53
  %56 = phi i32 [ %.pre, %._crit_edge35.loopexit ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  %57 = add nsw i32 %56, -1
  store i32 %57, ptr %9, align 4, !tbaa !16
  %58 = icmp sgt i32 %56, 0
  br i1 %58, label %53, label %._crit_edge39, !llvm.loop !20

.lr.ph34:                                         ; preds = %53, %87
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #4
  call void @_ZNSt4pairIiiEC2IRiS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #4
  %59 = load i32, ptr %10, align 4, !tbaa !16
  %60 = shl nsw i32 %59, 1
  store i32 %60, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #4
  %61 = or disjoint i32 %60, 1
  store i32 %61, ptr %13, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #4
  store i8 0, ptr %14, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #4
  store i8 0, ptr %15, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #4
  %62 = load i32, ptr %9, align 4, !tbaa !16
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %16, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #4
  call void @_ZNSt4pairIiiEC2IRiRjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #4
  call void @_ZNSt4pairIiiEC2IRiRjTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %64 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 4 dereferenceable(8) %17)
  %.not = icmp eq i64 %64, 0
  br i1 %.not, label %75, label %65

65:                                               ; preds = %.lr.ph34
  %66 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 4 dereferenceable(8) %17)
  %67 = load i32, ptr %66, align 4, !tbaa !21
  %68 = add i32 %67, -1
  %or.cond3 = icmp ult i32 %68, 3
  br i1 %or.cond3, label %.thread, label %69

.thread:                                          ; preds = %65
  store i8 1, ptr %14, align 1, !tbaa !17
  br label %75

69:                                               ; preds = %65
  %70 = icmp eq i32 %67, 0
  br i1 %70, label %71, label %75

71:                                               ; preds = %69
  %72 = call noundef i64 @_ZNKSt3mapISt4pairIiiE4fl_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 4 dereferenceable(8) %17)
  %73 = icmp eq i64 %72, 0
  br i1 %73, label %74, label %75

74:                                               ; preds = %71
  store i8 1, ptr %14, align 1, !tbaa !17
  br label %75

75:                                               ; preds = %.thread, %69, %74, %71, %.lr.ph34
  %76 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 4 dereferenceable(8) %18)
  %.not31 = icmp eq i64 %76, 0
  br i1 %.not31, label %87, label %77

77:                                               ; preds = %75
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %35, ptr noundef nonnull align 4 dereferenceable(8) %18)
  %79 = load i32, ptr %78, align 4, !tbaa !21
  %80 = add i32 %79, -1
  %or.cond7 = icmp ult i32 %80, 3
  br i1 %or.cond7, label %.thread32, label %81

.thread32:                                        ; preds = %77
  store i8 1, ptr %15, align 1, !tbaa !17
  br label %87

81:                                               ; preds = %77
  %82 = icmp eq i32 %79, 0
  br i1 %82, label %83, label %87

83:                                               ; preds = %81
  %84 = call noundef i64 @_ZNKSt3mapISt4pairIiiE4fl_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 4 dereferenceable(8) %18)
  %85 = icmp eq i64 %84, 0
  br i1 %85, label %86, label %87

86:                                               ; preds = %83
  store i8 1, ptr %15, align 1, !tbaa !17
  br label %87

87:                                               ; preds = %.thread32, %81, %86, %83, %75
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %19) #4
  call void @_ZNSt4pairIbbEC2IRbS2_TnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS4_S5_EEEbE4typeELb1EEEOS4_OS5_(ptr noundef nonnull align 1 dereferenceable(2) %19, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
  %88 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %89 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %88, ptr noundef nonnull align 1 dereferenceable(2) %19)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #4
  %90 = load i32, ptr %10, align 4, !tbaa !16
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %10, align 4, !tbaa !16
  %92 = icmp slt i32 %91, %55
  br i1 %92, label %.lr.ph34, label %._crit_edge35.loopexit, !llvm.loop !23
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt5log10IjEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZNKSt3mapISt4pairIiiE4fl_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #4 = { 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 8}
!6 = !{!"_ZTS17CompilerComponent", !7, i64 8, !10, i64 16, !7, i64 40, !14, i64 48, !15, i64 52, !14, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorI8SparseVNSaIS0_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseI8SparseVNSaIS0_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseI8SparseVNSaIS0_EE17_Vector_impl_dataE", !7, i64 0, !7, i64 8, !7, i64 16}
!14 = !{!"int", !8, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!14, !14, i64 0}
!17 = !{!15, !15, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!22, !22, i64 0}
!22 = !{!"_ZTS13adderconfig_t", !8, i64 0}
!23 = distinct !{!23, !19}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass