; LLVM IR from thepowersgang/mrustc :: src/mir/from_hir_match.ll (ZNK11PatternRule3ordERKS_)

; 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.PatternRule = type { i32, %"union.PatternRule::DataUnion", %struct.field_path_t }
%"union.PatternRule::DataUnion" = type { %"struct.PatternRule::Data_SplitSlice", [32 x i8] }
%"struct.PatternRule::Data_SplitSlice" = type { i32, i32, %"class.std::vector.136", %"class.std::vector.136" }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl" }
%"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl" = type { %"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl_data" }
%"struct.std::_Vector_base<PatternRule, std::allocator<PatternRule>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.field_path_t = type { %"class.std::vector.0" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.PatternRule::Data_Variant" = type { i32, %"class.std::vector.136" }
%"struct.PatternRule::Data_Slice" = type { i32, %"class.std::vector.136" }
%"struct.PatternRule::Data_ValueRange" = type <{ %"class.MIR::Constant", %"class.MIR::Constant", i8, [7 x i8] }>
%"class.MIR::Constant" = type { i32, %"union.MIR::Constant::DataUnion" }
%"union.MIR::Constant::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.17 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_ = external hidden unnamed_addr constant [55 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [43 x i8], align 1
@_ZTIPKc = external constant ptr

; 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

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK11PatternRule3ordERKS_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %1) #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i8, align 1
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca i8, align 1
  %34 = alloca ptr, align 8
  %35 = alloca ptr, align 8
  %36 = alloca i8, align 1
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %41 = load ptr, ptr %4, align 8
  br label %42

42:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %43 = call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %41)
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %44)
  %46 = call noundef i32 @_ZL3ordii(i32 noundef %43, i32 noundef %45)
  store i32 %46, ptr %6, align 4, !tbaa !9
  %47 = load i32, ptr %6, align 4, !tbaa !9
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %51

49:                                               ; preds = %42
  %50 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %50, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %52

51:                                               ; preds = %42
  store i32 0, ptr %7, align 4
  br label %52

52:                                               ; preds = %51, %49
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %53 = load i32, ptr %7, align 4
  switch i32 %53, label %483 [
    i32 0, label %54
    i32 1, label %481
  ]

54:                                               ; preds = %52
  br label %55

55:                                               ; preds = %54
  br label %56

56:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %57 = getelementptr inbounds %class.PatternRule, ptr %41, i32 0, i32 2
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %class.PatternRule, ptr %58, i32 0, i32 2
  %60 = call noundef i32 @_Z3ordI12field_path_tE8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %59)
  store i32 %60, ptr %8, align 4, !tbaa !9
  %61 = load i32, ptr %8, align 4, !tbaa !9
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %56
  %64 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %64, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %66

65:                                               ; preds = %56
  store i32 0, ptr %7, align 4
  br label %66

66:                                               ; preds = %65, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  %67 = load i32, ptr %7, align 4
  switch i32 %67, label %483 [
    i32 0, label %68
    i32 1, label %481
  ]

68:                                               ; preds = %66
  br label %69

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #5
  store i8 1, ptr %9, align 1, !tbaa !11
  br label %70

70:                                               ; preds = %476, %69
  %71 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %72 = trunc i8 %71 to i1
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 6, ptr %7, align 4
  br label %477

74:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store ptr %41, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %75, ptr %11, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %472, %74
  %77 = load i8, ptr %9, align 1, !tbaa !11, !range !13, !noundef !14
  %78 = trunc i8 %77 to i1
  br i1 %78, label %80, label %79

79:                                               ; preds = %76
  store i32 9, ptr %7, align 4
  br label %473

80:                                               ; preds = %76
  %81 = load ptr, ptr %10, align 8, !tbaa !5
  %82 = call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %81)
  switch i32 %82, label %471 [
    i32 0, label %83
    i32 7, label %84
    i32 1, label %109
    i32 2, label %195
    i32 3, label %281
    i32 4, label %345
    i32 5, label %377
    i32 6, label %405
  ]

83:                                               ; preds = %80
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.17, i32 noundef 675, ptr noundef @__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_) #6
  unreachable

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  store i8 1, ptr %12, align 1, !tbaa !11
  br label %85

85:                                               ; preds = %105, %84
  %86 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %87 = trunc i8 %86 to i1
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  store i32 13, ptr %7, align 4
  br label %106

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %90 = load ptr, ptr %10, align 8, !tbaa !5
  %91 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %90)
  store ptr %91, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %92 = load ptr, ptr %11, align 8, !tbaa !5
  %93 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %92)
  store ptr %93, ptr %14, align 8, !tbaa !5
  br label %94

94:                                               ; preds = %101, %89
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  %97 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %98 = trunc i8 %97 to i1
  br i1 %98, label %100, label %99

99:                                               ; preds = %94
  store i32 16, ptr %7, align 4
  br label %102

100:                                              ; preds = %94
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %102

101:                                              ; No predecessors!
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %94, !llvm.loop !15

102:                                              ; preds = %100, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  %103 = load i32, ptr %7, align 4
  switch i32 %103, label %106 [
    i32 16, label %104
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %85, !llvm.loop !17

106:                                              ; preds = %102, %88
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  %107 = load i32, ptr %7, align 4
  switch i32 %107, label %473 [
    i32 13, label %108
  ]

108:                                              ; preds = %106
  br label %471

109:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #5
  store i8 1, ptr %15, align 1, !tbaa !11
  br label %110

110:                                              ; preds = %191, %109
  %111 = load i8, ptr %15, align 1, !tbaa !11, !range !13, !noundef !14
  %112 = trunc i8 %111 to i1
  br i1 %112, label %114, label %113

113:                                              ; preds = %110
  store i32 19, ptr %7, align 4
  br label %192

114:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120) %115)
  store ptr %116, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %117 = load ptr, ptr %11, align 8, !tbaa !5
  %118 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120) %117)
  store ptr %118, ptr %17, align 8, !tbaa !5
  br label %119

119:                                              ; preds = %187, %114
  %120 = load ptr, ptr %16, align 8, !tbaa !5
  %121 = load ptr, ptr %17, align 8, !tbaa !5
  %122 = load i8, ptr %15, align 1, !tbaa !11, !range !13, !noundef !14
  %123 = trunc i8 %122 to i1
  br i1 %123, label %125, label %124

124:                                              ; preds = %119
  store i32 22, ptr %7, align 4
  br label %188

125:                                              ; preds = %119
  %126 = load ptr, ptr %16, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %126, i32 0, i32 0
  %128 = load i32, ptr %127, align 8, !tbaa !18
  %129 = load ptr, ptr %17, align 8, !tbaa !5
  %130 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %129, i32 0, i32 0
  %131 = load i32, ptr %130, align 8, !tbaa !18
  %132 = icmp ne i32 %128, %131
  br i1 %132, label %133, label %141

133:                                              ; preds = %125
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %134, i32 0, i32 0
  %136 = load i32, ptr %135, align 8, !tbaa !18
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  %138 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %137, i32 0, i32 0
  %139 = load i32, ptr %138, align 8, !tbaa !18
  %140 = call noundef i32 @_ZL3ordjj(i32 noundef %136, i32 noundef %139)
  store i32 %140, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %188

141:                                              ; preds = %125
  %142 = load ptr, ptr %16, align 8, !tbaa !5
  %143 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %142, i32 0, i32 1
  %144 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %143) #5
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %145, i32 0, i32 1
  %147 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %146) #5
  %148 = icmp eq i64 %144, %147
  br i1 %148, label %149, label %150

149:                                              ; preds = %141
  br label %152

150:                                              ; preds = %141
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str.17, i32 noundef 679, ptr noundef @__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_) #6
  unreachable

151:                                              ; No predecessors!
  br label %152

152:                                              ; preds = %151, %149
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !25
  br label %153

153:                                              ; preds = %181, %152
  %154 = load i32, ptr %18, align 4, !tbaa !25
  %155 = zext i32 %154 to i64
  %156 = load ptr, ptr %16, align 8, !tbaa !5
  %157 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %156, i32 0, i32 1
  %158 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %157) #5
  %159 = icmp ult i64 %155, %158
  br i1 %159, label %161, label %160

160:                                              ; preds = %153
  store i32 25, ptr %7, align 4
  br label %184

161:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %162 = load ptr, ptr %16, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %162, i32 0, i32 1
  %164 = load i32, ptr %18, align 4, !tbaa !25
  %165 = zext i32 %164 to i64
  %166 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %163, i64 noundef %165) #5
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %167, i32 0, i32 1
  %169 = load i32, ptr %18, align 4, !tbaa !25
  %170 = zext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %168, i64 noundef %170) #5
  %172 = call noundef i32 @_ZNK11PatternRule3ordERKS_(ptr noundef nonnull align 8 dereferenceable(120) %166, ptr noundef nonnull align 8 dereferenceable(120) %171)
  store i32 %172, ptr %19, align 4, !tbaa !9
  %173 = load i32, ptr %19, align 4, !tbaa !9
  %174 = icmp ne i32 %173, 0
  br i1 %174, label %175, label %177

175:                                              ; preds = %161
  %176 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %176, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %178

177:                                              ; preds = %161
  store i32 0, ptr %7, align 4
  br label %178

178:                                              ; preds = %177, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  %179 = load i32, ptr %7, align 4
  switch i32 %179, label %184 [
    i32 0, label %180
  ]

180:                                              ; preds = %178
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %18, align 4, !tbaa !25
  %183 = add i32 %182, 1
  store i32 %183, ptr %18, align 4, !tbaa !25
  br label %153, !llvm.loop !26

184:                                              ; preds = %178, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  %185 = load i32, ptr %7, align 4
  switch i32 %185, label %188 [
    i32 25, label %186
  ]

186:                                              ; preds = %184
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %188

187:                                              ; No predecessors!
  store i8 0, ptr %15, align 1, !tbaa !11
  br label %119, !llvm.loop !27

188:                                              ; preds = %186, %184, %133, %124
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %189 = load i32, ptr %7, align 4
  switch i32 %189, label %192 [
    i32 22, label %190
  ]

190:                                              ; preds = %188
  br label %191

191:                                              ; preds = %190
  store i8 0, ptr %15, align 1, !tbaa !11
  br label %110, !llvm.loop !28

192:                                              ; preds = %188, %113
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #5
  %193 = load i32, ptr %7, align 4
  switch i32 %193, label %473 [
    i32 19, label %194
  ]

194:                                              ; preds = %192
  br label %471

195:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #5
  store i8 1, ptr %20, align 1, !tbaa !11
  br label %196

196:                                              ; preds = %277, %195
  %197 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %198 = trunc i8 %197 to i1
  br i1 %198, label %200, label %199

199:                                              ; preds = %196
  store i32 28, ptr %7, align 4
  br label %278

200:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %201 = load ptr, ptr %10, align 8, !tbaa !5
  %202 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %201)
  store ptr %202, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %203)
  store ptr %204, ptr %22, align 8, !tbaa !5
  br label %205

205:                                              ; preds = %273, %200
  %206 = load ptr, ptr %21, align 8, !tbaa !5
  %207 = load ptr, ptr %22, align 8, !tbaa !5
  %208 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %209 = trunc i8 %208 to i1
  br i1 %209, label %211, label %210

210:                                              ; preds = %205
  store i32 31, ptr %7, align 4
  br label %274

211:                                              ; preds = %205
  %212 = load ptr, ptr %21, align 8, !tbaa !5
  %213 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %212, i32 0, i32 0
  %214 = load i32, ptr %213, align 8, !tbaa !29
  %215 = load ptr, ptr %22, align 8, !tbaa !5
  %216 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %215, i32 0, i32 0
  %217 = load i32, ptr %216, align 8, !tbaa !29
  %218 = icmp ne i32 %214, %217
  br i1 %218, label %219, label %227

219:                                              ; preds = %211
  %220 = load ptr, ptr %21, align 8, !tbaa !5
  %221 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %220, i32 0, i32 0
  %222 = load i32, ptr %221, align 8, !tbaa !29
  %223 = load ptr, ptr %22, align 8, !tbaa !5
  %224 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %223, i32 0, i32 0
  %225 = load i32, ptr %224, align 8, !tbaa !29
  %226 = call noundef i32 @_ZL3ordjj(i32 noundef %222, i32 noundef %225)
  store i32 %226, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %274

227:                                              ; preds = %211
  %228 = load ptr, ptr %21, align 8, !tbaa !5
  %229 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %228, i32 0, i32 1
  %230 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %229) #5
  %231 = load ptr, ptr %22, align 8, !tbaa !5
  %232 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %231, i32 0, i32 1
  %233 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %232) #5
  %234 = icmp eq i64 %230, %233
  br i1 %234, label %235, label %236

235:                                              ; preds = %227
  br label %238

236:                                              ; preds = %227
  call void @__assert_fail(ptr noundef @.str.36, ptr noundef @.str.17, i32 noundef 691, ptr noundef @__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_) #6
  unreachable

237:                                              ; No predecessors!
  br label %238

238:                                              ; preds = %237, %235
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !25
  br label %239

239:                                              ; preds = %267, %238
  %240 = load i32, ptr %23, align 4, !tbaa !25
  %241 = zext i32 %240 to i64
  %242 = load ptr, ptr %21, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %242, i32 0, i32 1
  %244 = call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %243) #5
  %245 = icmp ult i64 %241, %244
  br i1 %245, label %247, label %246

246:                                              ; preds = %239
  store i32 34, ptr %7, align 4
  br label %270

247:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %248 = load ptr, ptr %21, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %248, i32 0, i32 1
  %250 = load i32, ptr %23, align 4, !tbaa !25
  %251 = zext i32 %250 to i64
  %252 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %249, i64 noundef %251) #5
  %253 = load ptr, ptr %22, align 8, !tbaa !5
  %254 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %253, i32 0, i32 1
  %255 = load i32, ptr %23, align 4, !tbaa !25
  %256 = zext i32 %255 to i64
  %257 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %254, i64 noundef %256) #5
  %258 = call noundef i32 @_ZNK11PatternRule3ordERKS_(ptr noundef nonnull align 8 dereferenceable(120) %252, ptr noundef nonnull align 8 dereferenceable(120) %257)
  store i32 %258, ptr %24, align 4, !tbaa !9
  %259 = load i32, ptr %24, align 4, !tbaa !9
  %260 = icmp ne i32 %259, 0
  br i1 %260, label %261, label %263

261:                                              ; preds = %247
  %262 = load i32, ptr %24, align 4, !tbaa !9
  store i32 %262, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %264

263:                                              ; preds = %247
  store i32 0, ptr %7, align 4
  br label %264

264:                                              ; preds = %263, %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  %265 = load i32, ptr %7, align 4
  switch i32 %265, label %270 [
    i32 0, label %266
  ]

266:                                              ; preds = %264
  br label %267

267:                                              ; preds = %266
  %268 = load i32, ptr %23, align 4, !tbaa !25
  %269 = add i32 %268, 1
  store i32 %269, ptr %23, align 4, !tbaa !25
  br label %239, !llvm.loop !31

270:                                              ; preds = %264, %246
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  %271 = load i32, ptr %7, align 4
  switch i32 %271, label %274 [
    i32 34, label %272
  ]

272:                                              ; preds = %270
  store i32 0, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %274

273:                                              ; No predecessors!
  store i8 0, ptr %20, align 1, !tbaa !11
  br label %205, !llvm.loop !32

274:                                              ; preds = %272, %270, %219, %210
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  %275 = load i32, ptr %7, align 4
  switch i32 %275, label %278 [
    i32 31, label %276
  ]

276:                                              ; preds = %274
  br label %277

277:                                              ; preds = %276
  store i8 0, ptr %20, align 1, !tbaa !11
  br label %196, !llvm.loop !33

278:                                              ; preds = %274, %199
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #5
  %279 = load i32, ptr %7, align 4
  switch i32 %279, label %473 [
    i32 28, label %280
  ]

280:                                              ; preds = %278
  br label %471

281:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #5
  store i8 1, ptr %25, align 1, !tbaa !11
  br label %282

282:                                              ; preds = %341, %281
  %283 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %284 = trunc i8 %283 to i1
  br i1 %284, label %286, label %285

285:                                              ; preds = %282
  store i32 37, ptr %7, align 4
  br label %342

286:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %287 = load ptr, ptr %10, align 8, !tbaa !5
  %288 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %287)
  store ptr %288, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %289 = load ptr, ptr %11, align 8, !tbaa !5
  %290 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %289)
  store ptr %290, ptr %27, align 8, !tbaa !5
  br label %291

291:                                              ; preds = %337, %286
  %292 = load ptr, ptr %26, align 8, !tbaa !5
  %293 = load ptr, ptr %27, align 8, !tbaa !5
  %294 = load i8, ptr %25, align 1, !tbaa !11, !range !13, !noundef !14
  %295 = trunc i8 %294 to i1
  br i1 %295, label %297, label %296

296:                                              ; preds = %291
  store i32 40, ptr %7, align 4
  br label %338

297:                                              ; preds = %291
  br label %298

298:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %299 = load ptr, ptr %26, align 8, !tbaa !5
  %300 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %299, i32 0, i32 2
  %301 = load ptr, ptr %27, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %301, i32 0, i32 2
  %303 = call noundef i32 @_Z3ordI11PatternRuleE8OrderingRKSt6vectorIT_SaIS3_EES7_(ptr noundef nonnull align 8 dereferenceable(24) %300, ptr noundef nonnull align 8 dereferenceable(24) %302)
  store i32 %303, ptr %28, align 4, !tbaa !9
  %304 = load i32, ptr %28, align 4, !tbaa !9
  %305 = icmp ne i32 %304, 0
  br i1 %305, label %306, label %308

306:                                              ; preds = %298
  %307 = load i32, ptr %28, align 4, !tbaa !9
  store i32 %307, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %309

308:                                              ; preds = %298
  store i32 0, ptr %7, align 4
  br label %309

309:                                              ; preds = %308, %306
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  %310 = load i32, ptr %7, align 4
  switch i32 %310, label %338 [
    i32 0, label %311
  ]

311:                                              ; preds = %309
  br label %312

312:                                              ; preds = %311
  br label %313

313:                                              ; preds = %312
  br label %314

314:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %315 = load ptr, ptr %26, align 8, !tbaa !5
  %316 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %315, i32 0, i32 0
  %317 = load i32, ptr %316, align 8, !tbaa !34
  %318 = load ptr, ptr %27, align 8, !tbaa !5
  %319 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %318, i32 0, i32 0
  %320 = load i32, ptr %319, align 8, !tbaa !34
  %321 = call noundef i32 @_ZL3ordjj(i32 noundef %317, i32 noundef %320)
  store i32 %321, ptr %29, align 4, !tbaa !9
  %322 = load i32, ptr %29, align 4, !tbaa !9
  %323 = icmp ne i32 %322, 0
  br i1 %323, label %324, label %326

324:                                              ; preds = %314
  %325 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %325, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %327

326:                                              ; preds = %314
  store i32 0, ptr %7, align 4
  br label %327

327:                                              ; preds = %326, %324
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  %328 = load i32, ptr %7, align 4
  switch i32 %328, label %338 [
    i32 0, label %329
  ]

329:                                              ; preds = %327
  br label %330

330:                                              ; preds = %329
  br label %331

331:                                              ; preds = %330
  %332 = load ptr, ptr %26, align 8, !tbaa !5
  %333 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %332, i32 0, i32 3
  %334 = load ptr, ptr %27, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %334, i32 0, i32 3
  %336 = call noundef i32 @_Z3ordI11PatternRuleE8OrderingRKSt6vectorIT_SaIS3_EES7_(ptr noundef nonnull align 8 dereferenceable(24) %333, ptr noundef nonnull align 8 dereferenceable(24) %335)
  store i32 %336, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %338

337:                                              ; No predecessors!
  store i8 0, ptr %25, align 1, !tbaa !11
  br label %291, !llvm.loop !36

338:                                              ; preds = %331, %327, %309, %296
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  %339 = load i32, ptr %7, align 4
  switch i32 %339, label %342 [
    i32 40, label %340
  ]

340:                                              ; preds = %338
  br label %341

341:                                              ; preds = %340
  store i8 0, ptr %25, align 1, !tbaa !11
  br label %282, !llvm.loop !37

342:                                              ; preds = %338, %285
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #5
  %343 = load i32, ptr %7, align 4
  switch i32 %343, label %473 [
    i32 37, label %344
  ]

344:                                              ; preds = %342
  br label %471

345:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #5
  store i8 1, ptr %30, align 1, !tbaa !11
  br label %346

346:                                              ; preds = %373, %345
  %347 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %348 = trunc i8 %347 to i1
  br i1 %348, label %350, label %349

349:                                              ; preds = %346
  store i32 47, ptr %7, align 4
  br label %374

350:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %351 = load ptr, ptr %10, align 8, !tbaa !5
  %352 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120) %351)
  store ptr %352, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  %354 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120) %353)
  store ptr %354, ptr %32, align 8, !tbaa !5
  br label %355

355:                                              ; preds = %369, %350
  %356 = load ptr, ptr %31, align 8, !tbaa !5
  %357 = load ptr, ptr %32, align 8, !tbaa !5
  %358 = load i8, ptr %30, align 1, !tbaa !11, !range !13, !noundef !14
  %359 = trunc i8 %358 to i1
  br i1 %359, label %361, label %360

360:                                              ; preds = %355
  store i32 50, ptr %7, align 4
  br label %370

361:                                              ; preds = %355
  %362 = load ptr, ptr %31, align 8, !tbaa !5
  %363 = load i8, ptr %362, align 1, !tbaa !11, !range !13, !noundef !14
  %364 = trunc i8 %363 to i1
  %365 = load ptr, ptr %32, align 8, !tbaa !5
  %366 = load i8, ptr %365, align 1, !tbaa !11, !range !13, !noundef !14
  %367 = trunc i8 %366 to i1
  %368 = call noundef i32 @_ZL3ordbb(i1 noundef zeroext %364, i1 noundef zeroext %367)
  store i32 %368, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %370

369:                                              ; No predecessors!
  store i8 0, ptr %30, align 1, !tbaa !11
  br label %355, !llvm.loop !38

370:                                              ; preds = %361, %360
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  %371 = load i32, ptr %7, align 4
  switch i32 %371, label %374 [
    i32 50, label %372
  ]

372:                                              ; preds = %370
  br label %373

373:                                              ; preds = %372
  store i8 0, ptr %30, align 1, !tbaa !11
  br label %346, !llvm.loop !39

374:                                              ; preds = %370, %349
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #5
  %375 = load i32, ptr %7, align 4
  switch i32 %375, label %473 [
    i32 47, label %376
  ]

376:                                              ; preds = %374
  br label %471

377:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #5
  store i8 1, ptr %33, align 1, !tbaa !11
  br label %378

378:                                              ; preds = %401, %377
  %379 = load i8, ptr %33, align 1, !tbaa !11, !range !13, !noundef !14
  %380 = trunc i8 %379 to i1
  br i1 %380, label %382, label %381

381:                                              ; preds = %378
  store i32 53, ptr %7, align 4
  br label %402

382:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %383 = load ptr, ptr %10, align 8, !tbaa !5
  %384 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %383)
  store ptr %384, ptr %34, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #5
  %385 = load ptr, ptr %11, align 8, !tbaa !5
  %386 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %385)
  store ptr %386, ptr %35, align 8, !tbaa !5
  br label %387

387:                                              ; preds = %397, %382
  %388 = load ptr, ptr %34, align 8, !tbaa !5
  %389 = load ptr, ptr %35, align 8, !tbaa !5
  %390 = load i8, ptr %33, align 1, !tbaa !11, !range !13, !noundef !14
  %391 = trunc i8 %390 to i1
  br i1 %391, label %393, label %392

392:                                              ; preds = %387
  store i32 56, ptr %7, align 4
  br label %398

393:                                              ; preds = %387
  %394 = load ptr, ptr %34, align 8, !tbaa !5
  %395 = load ptr, ptr %35, align 8, !tbaa !5
  %396 = call noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40) %394, ptr noundef nonnull align 8 dereferenceable(40) %395)
  store i32 %396, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %398

397:                                              ; No predecessors!
  store i8 0, ptr %33, align 1, !tbaa !11
  br label %387, !llvm.loop !40

398:                                              ; preds = %393, %392
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  %399 = load i32, ptr %7, align 4
  switch i32 %399, label %402 [
    i32 56, label %400
  ]

400:                                              ; preds = %398
  br label %401

401:                                              ; preds = %400
  store i8 0, ptr %33, align 1, !tbaa !11
  br label %378, !llvm.loop !41

402:                                              ; preds = %398, %381
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #5
  %403 = load i32, ptr %7, align 4
  switch i32 %403, label %473 [
    i32 53, label %404
  ]

404:                                              ; preds = %402
  br label %471

405:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #5
  store i8 1, ptr %36, align 1, !tbaa !11
  br label %406

406:                                              ; preds = %467, %405
  %407 = load i8, ptr %36, align 1, !tbaa !11, !range !13, !noundef !14
  %408 = trunc i8 %407 to i1
  br i1 %408, label %410, label %409

409:                                              ; preds = %406
  store i32 59, ptr %7, align 4
  br label %468

410:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #5
  %411 = load ptr, ptr %10, align 8, !tbaa !5
  %412 = call noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %411)
  store ptr %412, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  %413 = load ptr, ptr %11, align 8, !tbaa !5
  %414 = call noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %413)
  store ptr %414, ptr %38, align 8, !tbaa !5
  br label %415

415:                                              ; preds = %463, %410
  %416 = load ptr, ptr %37, align 8, !tbaa !5
  %417 = load ptr, ptr %38, align 8, !tbaa !5
  %418 = load i8, ptr %36, align 1, !tbaa !11, !range !13, !noundef !14
  %419 = trunc i8 %418 to i1
  br i1 %419, label %421, label %420

420:                                              ; preds = %415
  store i32 62, ptr %7, align 4
  br label %464

421:                                              ; preds = %415
  br label %422

422:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #5
  %423 = load ptr, ptr %37, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %423, i32 0, i32 0
  %425 = load ptr, ptr %38, align 8, !tbaa !5
  %426 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %425, i32 0, i32 0
  %427 = call noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40) %424, ptr noundef nonnull align 8 dereferenceable(40) %426)
  store i32 %427, ptr %39, align 4, !tbaa !9
  %428 = load i32, ptr %39, align 4, !tbaa !9
  %429 = icmp ne i32 %428, 0
  br i1 %429, label %430, label %432

430:                                              ; preds = %422
  %431 = load i32, ptr %39, align 4, !tbaa !9
  store i32 %431, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %433

432:                                              ; preds = %422
  store i32 0, ptr %7, align 4
  br label %433

433:                                              ; preds = %432, %430
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #5
  %434 = load i32, ptr %7, align 4
  switch i32 %434, label %464 [
    i32 0, label %435
  ]

435:                                              ; preds = %433
  br label %436

436:                                              ; preds = %435
  br label %437

437:                                              ; preds = %436
  br label %438

438:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #5
  %439 = load ptr, ptr %37, align 8, !tbaa !5
  %440 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %439, i32 0, i32 1
  %441 = load ptr, ptr %38, align 8, !tbaa !5
  %442 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %441, i32 0, i32 1
  %443 = call noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40) %440, ptr noundef nonnull align 8 dereferenceable(40) %442)
  store i32 %443, ptr %40, align 4, !tbaa !9
  %444 = load i32, ptr %40, align 4, !tbaa !9
  %445 = icmp ne i32 %444, 0
  br i1 %445, label %446, label %448

446:                                              ; preds = %438
  %447 = load i32, ptr %40, align 4, !tbaa !9
  store i32 %447, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %449

448:                                              ; preds = %438
  store i32 0, ptr %7, align 4
  br label %449

449:                                              ; preds = %448, %446
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #5
  %450 = load i32, ptr %7, align 4
  switch i32 %450, label %464 [
    i32 0, label %451
  ]

451:                                              ; preds = %449
  br label %452

452:                                              ; preds = %451
  br label %453

453:                                              ; preds = %452
  %454 = load ptr, ptr %37, align 8, !tbaa !5
  %455 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %454, i32 0, i32 2
  %456 = load i8, ptr %455, align 8, !tbaa !42, !range !13, !noundef !14
  %457 = trunc i8 %456 to i1
  %458 = load ptr, ptr %38, align 8, !tbaa !5
  %459 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %458, i32 0, i32 2
  %460 = load i8, ptr %459, align 8, !tbaa !42, !range !13, !noundef !14
  %461 = trunc i8 %460 to i1
  %462 = call noundef i32 @_ZL3ordbb(i1 noundef zeroext %457, i1 noundef zeroext %461)
  store i32 %462, ptr %3, align 4
  store i32 1, ptr %7, align 4
  br label %464

463:                                              ; No predecessors!
  store i8 0, ptr %36, align 1, !tbaa !11
  br label %415, !llvm.loop !46

464:                                              ; preds = %453, %449, %433, %420
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #5
  %465 = load i32, ptr %7, align 4
  switch i32 %465, label %468 [
    i32 62, label %466
  ]

466:                                              ; preds = %464
  br label %467

467:                                              ; preds = %466
  store i8 0, ptr %36, align 1, !tbaa !11
  br label %406, !llvm.loop !47

468:                                              ; preds = %464, %409
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  %469 = load i32, ptr %7, align 4
  switch i32 %469, label %473 [
    i32 59, label %470
  ]

470:                                              ; preds = %468
  br label %471

471:                                              ; preds = %470, %404, %376, %344, %280, %194, %108, %80
  br label %472

472:                                              ; preds = %471
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %76, !llvm.loop !48

473:                                              ; preds = %468, %402, %374, %342, %278, %192, %106, %79
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %474 = load i32, ptr %7, align 4
  switch i32 %474, label %477 [
    i32 9, label %475
  ]

475:                                              ; preds = %473
  br label %476

476:                                              ; preds = %475
  store i8 0, ptr %9, align 1, !tbaa !11
  br label %70, !llvm.loop !49

477:                                              ; preds = %473, %73
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #5
  %478 = load i32, ptr %7, align 4
  switch i32 %478, label %483 [
    i32 6, label %479
    i32 1, label %481
  ]

479:                                              ; preds = %477
  %480 = call ptr @__cxa_allocate_exception(i64 8) #5
  store ptr @.str.22, ptr %480, align 16, !tbaa !5
  call void @__cxa_throw(ptr %480, ptr @_ZTIPKc, ptr null) #7
  unreachable

481:                                              ; preds = %477, %66, %52
  %482 = load i32, ptr %3, align 4
  ret i32 %482

483:                                              ; preds = %477, %66, %52
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordii(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordI12field_path_tE8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordjj(i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordI11PatternRuleE8OrderingRKSt6vectorIT_SaIS3_EES7_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordbb(i1 noundef zeroext, i1 noundef zeroext) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) #3

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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 }
attributes #6 = { noreturn nounwind }
attributes #7 = { noreturn }

!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 = !{!"_ZTS8Ordering", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTSN11PatternRule12Data_VariantE", !20, i64 0, !21, i64 8}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSSt6vectorI11PatternRuleSaIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseI11PatternRuleSaIS0_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!20, !20, i64 0}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = !{!30, !20, i64 0}
!30 = !{!"_ZTSN11PatternRule10Data_SliceE", !20, i64 0, !21, i64 8}
!31 = distinct !{!31, !16}
!32 = distinct !{!32, !16}
!33 = distinct !{!33, !16}
!34 = !{!35, !20, i64 0}
!35 = !{!"_ZTSN11PatternRule15Data_SplitSliceE", !20, i64 0, !20, i64 4, !21, i64 8, !21, i64 32}
!36 = distinct !{!36, !16}
!37 = distinct !{!37, !16}
!38 = distinct !{!38, !16}
!39 = distinct !{!39, !16}
!40 = distinct !{!40, !16}
!41 = distinct !{!41, !16}
!42 = !{!43, !12, i64 80}
!43 = !{!"_ZTSN11PatternRule15Data_ValueRangeE", !44, i64 0, !44, i64 40, !12, i64 80}
!44 = !{!"_ZTSN3MIR8ConstantE", !45, i64 0, !7, i64 8}
!45 = !{!"_ZTSN3MIR8Constant3TagE", !7, i64 0}
!46 = distinct !{!46, !16}
!47 = distinct !{!47, !16}
!48 = distinct !{!48, !16}
!49 = distinct !{!49, !16}


; 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"

@.str.17 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_ = external hidden unnamed_addr constant [55 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [43 x i8], align 1
@_ZTIPKc = external constant ptr

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZNK11PatternRule3ordERKS_(ptr noundef nonnull align 8 dereferenceable(120) %0, ptr noundef nonnull align 8 dereferenceable(120) %1) local_unnamed_addr #2 align 2 {
  %3 = tail call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %4 = tail call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %5 = tail call noundef i32 @_ZL3ordii(i32 noundef %3, i32 noundef %4)
  %.not.not = icmp eq i32 %5, 0
  br i1 %.not.not, label %6, label %.thread231

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 96
  %8 = getelementptr inbounds i8, ptr %1, i64 96
  %9 = tail call noundef i32 @_Z3ordI12field_path_tE8OrderingRKT_S4_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
  %.not204.not = icmp eq i32 %9, 0
  br i1 %.not204.not, label %.preheader251, label %.thread231

.preheader251:                                    ; preds = %6
  %10 = tail call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  switch i32 %10, label %.thread225 [
    i32 0, label %.split.us
    i32 7, label %.split255.us
    i32 1, label %.split257.us
    i32 2, label %.split259.us
    i32 3, label %.split261.us
    i32 4, label %.split263.us
    i32 5, label %.split265.us
    i32 6, label %.split267.us
  ], !llvm.loop !5

.split.us:                                        ; preds = %.preheader251
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.17, i32 noundef 675, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_) #4
  unreachable

.split255.us:                                     ; preds = %.preheader251
  %11 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %12 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  br label %.thread231

.split257.us:                                     ; preds = %.preheader251
  %13 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %14 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %15 = load i32, ptr %13, align 8, !tbaa !7
  %16 = load i32, ptr %14, align 8, !tbaa !7
  %.not212 = icmp eq i32 %15, %16
  br i1 %.not212, label %19, label %17

17:                                               ; preds = %.split257.us
  %18 = tail call noundef i32 @_ZL3ordjj(i32 noundef %15, i32 noundef %16)
  br label %.thread231

19:                                               ; preds = %.split257.us
  %20 = getelementptr inbounds i8, ptr %13, i64 8
  %21 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %22 = getelementptr inbounds i8, ptr %14, i64 8
  %23 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #5
  %24 = icmp eq i64 %21, %23
  br i1 %24, label %.preheader, label %26

.preheader:                                       ; preds = %19
  %25 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %.not214272.not = icmp eq i64 %25, 0
  br i1 %.not214272.not, label %.thread231, label %.lr.ph274

26:                                               ; preds = %19
  tail call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.17, i32 noundef 679, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_) #4
  unreachable

27:                                               ; preds = %.lr.ph274
  %28 = add i32 %.0186273, 1
  %29 = zext i32 %28 to i64
  %30 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #5
  %.not214 = icmp ugt i64 %30, %29
  br i1 %.not214, label %.lr.ph274, label %.thread231, !llvm.loop !17

.lr.ph274:                                        ; preds = %.preheader, %27
  %31 = phi i64 [ %29, %27 ], [ 0, %.preheader ]
  %.0186273 = phi i32 [ %28, %27 ], [ 0, %.preheader ]
  %32 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %31) #5
  %33 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %31) #5
  %34 = tail call noundef i32 @_ZNK11PatternRule3ordERKS_(ptr noundef nonnull align 8 dereferenceable(120) %32, ptr noundef nonnull align 8 dereferenceable(120) %33)
  %.not213 = icmp eq i32 %34, 0
  br i1 %.not213, label %27, label %.thread231

.split259.us:                                     ; preds = %.preheader251
  %35 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %36 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %37 = load i32, ptr %35, align 8, !tbaa !18
  %38 = load i32, ptr %36, align 8, !tbaa !18
  %.not209 = icmp eq i32 %37, %38
  br i1 %.not209, label %41, label %39

39:                                               ; preds = %.split259.us
  %40 = tail call noundef i32 @_ZL3ordjj(i32 noundef %37, i32 noundef %38)
  br label %.thread231

41:                                               ; preds = %.split259.us
  %42 = getelementptr inbounds i8, ptr %35, i64 8
  %43 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %44 = getelementptr inbounds i8, ptr %36, i64 8
  %45 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %46 = icmp eq i64 %43, %45
  br i1 %46, label %.preheader248, label %48

.preheader248:                                    ; preds = %41
  %47 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %.not211268.not = icmp eq i64 %47, 0
  br i1 %.not211268.not, label %.thread231, label %.lr.ph

48:                                               ; preds = %41
  tail call void @__assert_fail(ptr noundef nonnull @.str.36, ptr noundef nonnull @.str.17, i32 noundef 691, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK11PatternRule3ordERKS_) #4
  unreachable

49:                                               ; preds = %.lr.ph
  %50 = add i32 %.0189269, 1
  %51 = zext i32 %50 to i64
  %52 = tail call noundef i64 @_ZNKSt6vectorI11PatternRuleSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %.not211 = icmp ugt i64 %52, %51
  br i1 %.not211, label %.lr.ph, label %.thread231, !llvm.loop !20

.lr.ph:                                           ; preds = %.preheader248, %49
  %53 = phi i64 [ %51, %49 ], [ 0, %.preheader248 ]
  %.0189269 = phi i32 [ %50, %49 ], [ 0, %.preheader248 ]
  %54 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef %53) #5
  %55 = tail call noundef nonnull align 8 dereferenceable(120) ptr @_ZNKSt6vectorI11PatternRuleSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %53) #5
  %56 = tail call noundef i32 @_ZNK11PatternRule3ordERKS_(ptr noundef nonnull align 8 dereferenceable(120) %54, ptr noundef nonnull align 8 dereferenceable(120) %55)
  %.not210 = icmp eq i32 %56, 0
  br i1 %.not210, label %49, label %.thread231

.split261.us:                                     ; preds = %.preheader251
  %57 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %58 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %59 = getelementptr inbounds i8, ptr %57, i64 8
  %60 = getelementptr inbounds i8, ptr %58, i64 8
  %61 = tail call noundef i32 @_Z3ordI11PatternRuleE8OrderingRKSt6vectorIT_SaIS3_EES7_(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(24) %60)
  %.not207 = icmp eq i32 %61, 0
  br i1 %.not207, label %62, label %.thread231

62:                                               ; preds = %.split261.us
  %63 = load i32, ptr %57, align 8, !tbaa !21
  %64 = load i32, ptr %58, align 8, !tbaa !21
  %65 = tail call noundef i32 @_ZL3ordjj(i32 noundef %63, i32 noundef %64)
  %.not208 = icmp eq i32 %65, 0
  br i1 %.not208, label %66, label %.thread231

66:                                               ; preds = %62
  %67 = getelementptr inbounds i8, ptr %57, i64 32
  %68 = getelementptr inbounds i8, ptr %58, i64 32
  %69 = tail call noundef i32 @_Z3ordI11PatternRuleE8OrderingRKSt6vectorIT_SaIS3_EES7_(ptr noundef nonnull align 8 dereferenceable(24) %67, ptr noundef nonnull align 8 dereferenceable(24) %68)
  br label %.thread231

.split263.us:                                     ; preds = %.preheader251
  %70 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %71 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %72 = load i8, ptr %70, align 1, !tbaa !23, !range !25, !noundef !26
  %73 = trunc nuw i8 %72 to i1
  %74 = load i8, ptr %71, align 1, !tbaa !23, !range !25, !noundef !26
  %75 = trunc nuw i8 %74 to i1
  %76 = tail call noundef i32 @_ZL3ordbb(i1 noundef zeroext %73, i1 noundef zeroext %75)
  br label %.thread231

.split265.us:                                     ; preds = %.preheader251
  %77 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %78 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %79 = tail call noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40) %77, ptr noundef nonnull align 8 dereferenceable(40) %78)
  br label %.thread231

.split267.us:                                     ; preds = %.preheader251
  %80 = tail call noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %0)
  %81 = tail call noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %82 = tail call noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40) %80, ptr noundef nonnull align 8 dereferenceable(40) %81)
  %.not205 = icmp eq i32 %82, 0
  br i1 %.not205, label %83, label %.thread231

83:                                               ; preds = %.split267.us
  %84 = getelementptr inbounds i8, ptr %80, i64 40
  %85 = getelementptr inbounds i8, ptr %81, i64 40
  %86 = tail call noundef i32 @_Z3ordIN3MIR8ConstantEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(40) %84, ptr noundef nonnull align 8 dereferenceable(40) %85)
  %.not206 = icmp eq i32 %86, 0
  br i1 %.not206, label %87, label %.thread231

87:                                               ; preds = %83
  %88 = getelementptr inbounds i8, ptr %80, i64 80
  %89 = load i8, ptr %88, align 8, !tbaa !27, !range !25, !noundef !26
  %90 = trunc nuw i8 %89 to i1
  %91 = getelementptr inbounds i8, ptr %81, i64 80
  %92 = load i8, ptr %91, align 8, !tbaa !27, !range !25, !noundef !26
  %93 = trunc nuw i8 %92 to i1
  %94 = tail call noundef i32 @_ZL3ordbb(i1 noundef zeroext %90, i1 noundef zeroext %93)
  br label %.thread231

.thread225:                                       ; preds = %.preheader251
  %95 = tail call ptr @__cxa_allocate_exception(i64 8) #5
  store ptr @.str.22, ptr %95, align 16, !tbaa !31
  tail call void @__cxa_throw(ptr nonnull %95, ptr nonnull @_ZTIPKc, ptr null) #6
  unreachable

.thread231:                                       ; preds = %49, %.lr.ph, %27, %.lr.ph274, %.preheader248, %.preheader, %.split265.us, %.split263.us, %.split255.us, %66, %.split261.us, %62, %87, %.split267.us, %83, %17, %39, %6, %2
  %.38 = phi i32 [ %5, %2 ], [ %9, %6 ], [ %79, %.split265.us ], [ %76, %.split263.us ], [ 0, %.split255.us ], [ %69, %66 ], [ %65, %62 ], [ %61, %.split261.us ], [ %94, %87 ], [ %86, %83 ], [ %82, %.split267.us ], [ %18, %17 ], [ %40, %39 ], [ 0, %.preheader ], [ 0, %.preheader248 ], [ 0, %27 ], [ %34, %.lr.ph274 ], [ 0, %49 ], [ %56, %.lr.ph ]
  ret i32 %.38
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordii(i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordjj(i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3ordbb(i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #3

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

attributes #0 = { 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 #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { noreturn nounwind }
attributes #5 = { nounwind }
attributes #6 = { noreturn }

!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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !9, i64 0}
!8 = !{!"_ZTSN11PatternRule12Data_VariantE", !9, i64 0, !12, i64 8}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSSt6vectorI11PatternRuleSaIS0_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseI11PatternRuleSaIS0_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !10, i64 0}
!17 = distinct !{!17, !6}
!18 = !{!19, !9, i64 0}
!19 = !{!"_ZTSN11PatternRule10Data_SliceE", !9, i64 0, !12, i64 8}
!20 = distinct !{!20, !6}
!21 = !{!22, !9, i64 0}
!22 = !{!"_ZTSN11PatternRule15Data_SplitSliceE", !9, i64 0, !9, i64 4, !12, i64 8, !12, i64 32}
!23 = !{!24, !24, i64 0}
!24 = !{!"bool", !10, i64 0}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!28, !24, i64 80}
!28 = !{!"_ZTSN11PatternRule15Data_ValueRangeE", !29, i64 0, !29, i64 40, !24, i64 80}
!29 = !{!"_ZTSN3MIR8ConstantE", !30, i64 0, !10, i64 8}
!30 = !{!"_ZTSN3MIR8Constant3TagE", !10, i64 0}
!31 = !{!16, !16, i64 0}


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