; LLVM IR from stonne-simulator/omega :: omega-code/stonne/src/CompilerFEN.ll (ZN11CompilerFEN27generate_fen_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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"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.CompilerFEN = type { %class.CompilerComponent.base, %"class.std::map", %"class.std::map.31", %"class.std::map.36", %"class.std::map.41", %"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" }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [38 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 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 @_ZN11CompilerFEN27generate_fen_enabling_linksEj(ptr noundef nonnull align 8 dereferenceable(304) %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
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = call noundef double @_ZSt5log10IjEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %33)
  %35 = call noundef double @_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef 2)
  %36 = fdiv double %34, %35
  %37 = fptosi double %36 to i32
  store i32 %37, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %38 = getelementptr inbounds %class.CompilerComponent, ptr %30, i32 0, i32 1
  %39 = load ptr, ptr %38, align 8, !tbaa !11
  %40 = call noundef i32 @_ZNK4Tile11get_Num_VNsEv(ptr noundef nonnull align 4 dereferenceable(41) %39)
  %41 = getelementptr inbounds %class.CompilerComponent, ptr %30, i32 0, i32 1
  %42 = load ptr, ptr %41, align 8, !tbaa !11
  %43 = call noundef i32 @_ZNK4Tile11get_VN_SizeEv(ptr noundef nonnull align 4 dereferenceable(41) %42)
  %44 = mul i32 %40, %43
  store i32 %44, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %45 = load i32, ptr %4, align 4, !tbaa !9
  %46 = udiv i32 %45, 2
  store i32 %46, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %47

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

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

52:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = sub nsw i32 %53, 1
  store i32 %54, 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) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %55 = load i32, ptr %8, align 4, !tbaa !9
  %56 = mul nsw i32 %55, 2
  store i32 %56, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %57 = load i32, ptr %11, align 4, !tbaa !9
  %58 = add i32 %57, 1
  store i32 %58, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #5
  store i8 0, ptr %13, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #5
  store i8 0, ptr %14, align 1, !tbaa !18
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %6, align 4, !tbaa !9
  %61 = icmp ult i32 %59, %60
  br i1 %61, label %62, label %63

62:                                               ; preds = %52
  store i8 1, ptr %13, align 1, !tbaa !18
  br label %63

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

67:                                               ; preds = %63
  store i8 1, ptr %14, align 1, !tbaa !18
  br label %68

68:                                               ; preds = %67, %63
  call void @llvm.lifetime.start.p0(i64 2, ptr %15) #5
  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)
  %69 = getelementptr inbounds %class.CompilerFEN, ptr %30, i32 0, i32 3
  %70 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %69, ptr noundef nonnull align 4 dereferenceable(8) %9)
  %71 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %70, ptr noundef nonnull align 1 dereferenceable(2) %15)
  call void @llvm.lifetime.end.p0(i64 2, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %72

72:                                               ; preds = %68
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %8, align 4, !tbaa !9
  br label %47, !llvm.loop !19

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

78:                                               ; preds = %158, %75
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = icmp sge i32 %79, 0
  br i1 %80, label %82, label %81

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

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

85:                                               ; preds = %154, %82
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = load i32, ptr %7, align 4, !tbaa !9
  %88 = icmp slt i32 %86, %87
  br i1 %88, label %90, label %89

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

90:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  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) #5
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = mul nsw i32 %91, 2
  store i32 %92, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %93 = load i32, ptr %20, align 4, !tbaa !9
  %94 = add i32 %93, 1
  store i32 %94, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  store i8 0, ptr %22, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #5
  store i8 0, ptr %23, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %95 = load i32, ptr %16, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  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) #5
  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)
  %97 = getelementptr inbounds %class.CompilerFEN, ptr %30, i32 0, i32 1
  %98 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %97, ptr noundef nonnull align 4 dereferenceable(8) %25)
  %99 = icmp ugt i64 %98, 0
  br i1 %99, label %100, label %123

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

106:                                              ; preds = %100
  %107 = load i32, ptr %27, align 4, !tbaa !21
  %108 = icmp eq i32 %107, 2
  br i1 %108, label %112, label %109

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

112:                                              ; preds = %109, %106, %100
  store i8 1, ptr %22, align 1, !tbaa !18
  br label %113

113:                                              ; preds = %112, %109
  %114 = load i32, ptr %27, align 4, !tbaa !21
  %115 = icmp eq i32 %114, 0
  br i1 %115, label %116, label %122

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

120:                                              ; preds = %116
  store i8 1, ptr %22, align 1, !tbaa !18
  br label %121

121:                                              ; preds = %120, %116
  br label %122

122:                                              ; preds = %121, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  br label %123

123:                                              ; preds = %122, %90
  %124 = getelementptr inbounds %class.CompilerFEN, ptr %30, i32 0, i32 1
  %125 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %124, ptr noundef nonnull align 4 dereferenceable(8) %26)
  %126 = icmp ugt i64 %125, 0
  br i1 %126, label %127, label %150

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

133:                                              ; preds = %127
  %134 = load i32, ptr %28, align 4, !tbaa !21
  %135 = icmp eq i32 %134, 2
  br i1 %135, label %139, label %136

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

139:                                              ; preds = %136, %133, %127
  store i8 1, ptr %23, align 1, !tbaa !18
  br label %140

140:                                              ; preds = %139, %136
  %141 = load i32, ptr %28, align 4, !tbaa !21
  %142 = icmp eq i32 %141, 0
  br i1 %142, label %143, label %149

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

147:                                              ; preds = %143
  store i8 1, ptr %23, align 1, !tbaa !18
  br label %148

148:                                              ; preds = %147, %143
  br label %149

149:                                              ; preds = %148, %140
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %150

150:                                              ; preds = %149, %123
  call void @llvm.lifetime.start.p0(i64 2, ptr %29) #5
  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)
  %151 = getelementptr inbounds %class.CompilerFEN, ptr %30, i32 0, i32 3
  %152 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %151, ptr noundef nonnull align 4 dereferenceable(8) %19)
  %153 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %152, ptr noundef nonnull align 1 dereferenceable(2) %29)
  call void @llvm.lifetime.end.p0(i64 2, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %154

154:                                              ; preds = %150
  %155 = load i32, ptr %18, align 4, !tbaa !9
  %156 = add nsw i32 %155, 1
  store i32 %156, ptr %18, align 4, !tbaa !9
  br label %85, !llvm.loop !23

157:                                              ; preds = %89
  br label %158

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

; 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 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 = { 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 #5 = { 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"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.std::pair.46" = type { i32, i32 }
%"struct.std::pair.48" = type { i8, i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.3 = external hidden unnamed_addr constant [38 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 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 @_ZN11CompilerFEN27generate_fen_enabling_linksEj(ptr noundef nonnull align 8 dereferenceable(304) %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 nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %22 = tail call noundef double @_ZSt5log10IjEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %1)
  %23 = tail call noundef double @_ZSt5log10IiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef 2)
  %24 = fdiv double %22, %23
  %25 = fptosi double %24 to i32
  %26 = getelementptr inbounds i8, ptr %0, i64 8
  %27 = load ptr, ptr %26, align 8, !tbaa !5
  %28 = tail call noundef i32 @_ZNK4Tile11get_Num_VNsEv(ptr noundef nonnull align 4 dereferenceable(41) %27)
  %29 = load ptr, ptr %26, align 8, !tbaa !5
  %30 = tail call noundef i32 @_ZNK4Tile11get_VN_SizeEv(ptr noundef nonnull align 4 dereferenceable(41) %29)
  %31 = mul i32 %30, %28
  %32 = lshr i32 %1, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  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
  %33 = add nsw i32 %25, -1
  %34 = getelementptr inbounds i8, ptr %0, i64 160
  br label %40

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

.lr.ph38:                                         ; preds = %._crit_edge
  %37 = getelementptr inbounds i8, ptr %0, i64 64
  %38 = getelementptr inbounds i8, ptr %0, i64 112
  %39 = getelementptr inbounds i8, ptr %0, i64 160
  br label %55

40:                                               ; preds = %.lr.ph, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 %33, 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) #5
  %41 = load i32, ptr %3, align 4, !tbaa !16
  %42 = shl nsw i32 %41, 1
  %43 = or disjoint i32 %42, 1
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  store i8 0, ptr %6, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  store i8 0, ptr %7, align 1, !tbaa !17
  %44 = icmp ult i32 %42, %31
  br i1 %44, label %45, label %46

45:                                               ; preds = %40
  store i8 1, ptr %6, align 1, !tbaa !17
  br label %46

46:                                               ; preds = %45, %40
  %47 = icmp ult i32 %43, %31
  br i1 %47, label %48, label %49

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

49:                                               ; preds = %48, %46
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #5
  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)
  %50 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull align 4 dereferenceable(8) %4)
  %51 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %50, ptr noundef nonnull align 1 dereferenceable(2) %8)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %52 = load i32, ptr %3, align 4, !tbaa !16
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %3, align 4, !tbaa !16
  %54 = icmp slt i32 %53, %32
  br i1 %54, label %40, label %._crit_edge, !llvm.loop !18

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

55:                                               ; preds = %.lr.ph38, %._crit_edge35
  %56 = phi i32 [ %35, %.lr.ph38 ], [ %59, %._crit_edge35 ]
  %.036 = phi i32 [ %32, %.lr.ph38 ], [ %57, %._crit_edge35 ]
  %57 = lshr i32 %.036, 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  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 = %89
  %.pre = load i32, ptr %9, align 4, !tbaa !16
  br label %._crit_edge35

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

.lr.ph34:                                         ; preds = %55, %89
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  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) #5
  %61 = load i32, ptr %10, align 4, !tbaa !16
  %62 = shl nsw i32 %61, 1
  store i32 %62, ptr %12, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #5
  %63 = or disjoint i32 %62, 1
  store i32 %63, ptr %13, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  store i8 0, ptr %14, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #5
  store i8 0, ptr %15, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #5
  %64 = load i32, ptr %9, align 4, !tbaa !16
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %16, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  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) #5
  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)
  %66 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 4 dereferenceable(8) %17)
  %.not = icmp eq i64 %66, 0
  br i1 %.not, label %77, label %67

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

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

71:                                               ; preds = %67
  %72 = icmp eq i32 %69, 0
  br i1 %72, label %73, label %77

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

76:                                               ; preds = %73
  store i8 1, ptr %14, align 1, !tbaa !17
  br label %77

77:                                               ; preds = %.thread, %71, %76, %73, %.lr.ph34
  %78 = call noundef i64 @_ZNKSt3mapISt4pairIiiE13adderconfig_tSt4lessIS1_ESaIS0_IKS1_S2_EEE5countERS5_(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 4 dereferenceable(8) %18)
  %.not31 = icmp eq i64 %78, 0
  br i1 %.not31, label %89, label %79

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

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

83:                                               ; preds = %79
  %84 = icmp eq i32 %81, 0
  br i1 %84, label %85, label %89

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

88:                                               ; preds = %85
  store i8 1, ptr %15, align 1, !tbaa !17
  br label %89

89:                                               ; preds = %.thread32, %83, %88, %85, %77
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %19) #5
  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)
  %90 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt3mapISt4pairIiiES0_IbbESt4lessIS1_ESaIS0_IKS1_S2_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef nonnull align 4 dereferenceable(8) %11)
  %91 = call noundef nonnull align 1 dereferenceable(2) ptr @_ZNSt4pairIbbEaSERKS0_(ptr noundef nonnull align 1 dereferenceable(2) %90, ptr noundef nonnull align 1 dereferenceable(2) %19)
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %92 = load i32, ptr %10, align 4, !tbaa !16
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %10, align 4, !tbaa !16
  %94 = icmp slt i32 %93, %57
  br i1 %94, label %.lr.ph34, label %._crit_edge35.loopexit, !llvm.loop !23
}

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

; 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 #4

; 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 #4

; 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 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 = { 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 #5 = { 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