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

; 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.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.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.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZlsRSoRK11PatternRule = external hidden unnamed_addr constant [66 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK11PatternRule(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(120) %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca i8, align 1
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef @.str.24)
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %class.PatternRule, ptr %24, i32 0, i32 2
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK12field_path_t(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(24) %25)
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef @.str.25)
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #6
  store i8 1, ptr %5, align 1, !tbaa !9
  br label %28

28:                                               ; preds = %235, %2
  %29 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %30 = trunc i8 %29 to i1
  br i1 %30, label %32, label %31

31:                                               ; preds = %28
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #6
  br label %236

32:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %33, ptr %7, align 8, !tbaa !5
  br label %34

34:                                               ; preds = %233, %32
  %35 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %36 = trunc i8 %35 to i1
  br i1 %36, label %38, label %37

37:                                               ; preds = %34
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %234

38:                                               ; preds = %34
  %39 = load ptr, ptr %7, align 8, !tbaa !5
  %40 = call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %39)
  switch i32 %40, label %232 [
    i32 0, label %41
    i32 7, label %42
    i32 1, label %62
    i32 2, label %90
    i32 3, label %119
    i32 4, label %152
    i32 5, label %177
    i32 6, label %198
  ]

41:                                               ; preds = %38
  call void @__assert_fail(ptr noundef @.str.26, ptr noundef @.str.17, i32 noundef 639, ptr noundef @__PRETTY_FUNCTION__._ZlsRSoRK11PatternRule) #7
  unreachable

42:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  store i8 1, ptr %8, align 1, !tbaa !9
  br label %43

43:                                               ; preds = %60, %42
  %44 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %45 = trunc i8 %44 to i1
  br i1 %45, label %47, label %46

46:                                               ; preds = %43
  store i32 9, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  br label %61

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %48)
  store ptr %49, ptr %9, align 8, !tbaa !5
  br label %50

50:                                               ; preds = %58, %47
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %53 = trunc i8 %52 to i1
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 12, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %59

55:                                               ; preds = %50
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef @.str.27)
  br label %58

58:                                               ; preds = %55
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %50, !llvm.loop !13

59:                                               ; preds = %54
  br label %60

60:                                               ; preds = %59
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %43, !llvm.loop !15

61:                                               ; preds = %46
  br label %232

62:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #6
  store i8 1, ptr %10, align 1, !tbaa !9
  br label %63

63:                                               ; preds = %88, %62
  %64 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %65 = trunc i8 %64 to i1
  br i1 %65, label %67, label %66

66:                                               ; preds = %63
  store i32 15, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #6
  br label %89

67:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120) %68)
  store ptr %69, ptr %11, align 8, !tbaa !5
  br label %70

70:                                               ; preds = %86, %67
  %71 = load ptr, ptr %11, align 8, !tbaa !5
  %72 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %73 = trunc i8 %72 to i1
  br i1 %73, label %75, label %74

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

75:                                               ; preds = %70
  %76 = load ptr, ptr %3, align 8, !tbaa !5
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %77, i32 0, i32 0
  %79 = load i32, ptr %78, align 8, !tbaa !16
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %76, i32 noundef %79)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @.str.28)
  %82 = load ptr, ptr %11, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.PatternRule::Data_Variant", ptr %82, i32 0, i32 1
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull align 8 dereferenceable(24) %83)
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @.str.3)
  br label %86

86:                                               ; preds = %75
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %70, !llvm.loop !23

87:                                               ; preds = %74
  br label %88

88:                                               ; preds = %87
  store i8 0, ptr %10, align 1, !tbaa !9
  br label %63, !llvm.loop !24

89:                                               ; preds = %66
  br label %232

90:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #6
  store i8 1, ptr %12, align 1, !tbaa !9
  br label %91

91:                                               ; preds = %117, %90
  %92 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %93 = trunc i8 %92 to i1
  br i1 %93, label %95, label %94

94:                                               ; preds = %91
  store i32 21, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #6
  br label %118

95:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %96)
  store ptr %97, ptr %13, align 8, !tbaa !5
  br label %98

98:                                               ; preds = %115, %95
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %101 = trunc i8 %100 to i1
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 24, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %116

103:                                              ; preds = %98
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef @.str.29)
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %106, i32 0, i32 0
  %108 = load i32, ptr %107, align 8, !tbaa !25
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %105, i32 noundef %108)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @.str.28)
  %111 = load ptr, ptr %13, align 8, !tbaa !5
  %112 = getelementptr inbounds %"struct.PatternRule::Data_Slice", ptr %111, i32 0, i32 1
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull align 8 dereferenceable(24) %112)
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef @.str.3)
  br label %115

115:                                              ; preds = %103
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %98, !llvm.loop !27

116:                                              ; preds = %102
  br label %117

117:                                              ; preds = %116
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %91, !llvm.loop !28

118:                                              ; preds = %94
  br label %232

119:                                              ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %120

120:                                              ; preds = %150, %119
  %121 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %122 = trunc i8 %121 to i1
  br i1 %122, label %124, label %123

123:                                              ; preds = %120
  store i32 27, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  br label %151

124:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %125 = load ptr, ptr %7, align 8, !tbaa !5
  %126 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %125)
  store ptr %126, ptr %15, align 8, !tbaa !5
  br label %127

127:                                              ; preds = %148, %124
  %128 = load ptr, ptr %15, align 8, !tbaa !5
  %129 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %130 = trunc i8 %129 to i1
  br i1 %130, label %132, label %131

131:                                              ; preds = %127
  store i32 30, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %149

132:                                              ; preds = %127
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef @.str.30)
  %135 = load ptr, ptr %15, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %135, i32 0, i32 0
  %137 = load i32, ptr %136, align 8, !tbaa !29
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %134, i32 noundef %137)
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef @.str.28)
  %140 = load ptr, ptr %15, align 8, !tbaa !5
  %141 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %140, i32 0, i32 2
  %142 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull align 8 dereferenceable(24) %141)
  %143 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef @.str.31)
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.PatternRule::Data_SplitSlice", ptr %144, i32 0, i32 3
  %146 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull align 8 dereferenceable(24) %145)
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef @.str.3)
  br label %148

148:                                              ; preds = %132
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %127, !llvm.loop !31

149:                                              ; preds = %131
  br label %150

150:                                              ; preds = %149
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %120, !llvm.loop !32

151:                                              ; preds = %123
  br label %232

152:                                              ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  store i8 1, ptr %16, align 1, !tbaa !9
  br label %153

153:                                              ; preds = %175, %152
  %154 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %155 = trunc i8 %154 to i1
  br i1 %155, label %157, label %156

156:                                              ; preds = %153
  store i32 33, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %176

157:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120) %158)
  store ptr %159, ptr %17, align 8, !tbaa !5
  br label %160

160:                                              ; preds = %173, %157
  %161 = load ptr, ptr %17, align 8, !tbaa !5
  %162 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %163 = trunc i8 %162 to i1
  br i1 %163, label %165, label %164

164:                                              ; preds = %160
  store i32 36, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %174

165:                                              ; preds = %160
  %166 = load ptr, ptr %3, align 8, !tbaa !5
  %167 = load ptr, ptr %17, align 8, !tbaa !5
  %168 = load i8, ptr %167, align 1, !tbaa !9, !range !11, !noundef !12
  %169 = trunc i8 %168 to i1
  %170 = zext i1 %169 to i64
  %171 = select i1 %169, ptr @.str.32, ptr @.str.33
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef %171)
  br label %173

173:                                              ; preds = %165
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %160, !llvm.loop !33

174:                                              ; preds = %164
  br label %175

175:                                              ; preds = %174
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %153, !llvm.loop !34

176:                                              ; preds = %156
  br label %232

177:                                              ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  store i8 1, ptr %18, align 1, !tbaa !9
  br label %178

178:                                              ; preds = %196, %177
  %179 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %180 = trunc i8 %179 to i1
  br i1 %180, label %182, label %181

181:                                              ; preds = %178
  store i32 39, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %197

182:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  %183 = load ptr, ptr %7, align 8, !tbaa !5
  %184 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %183)
  store ptr %184, ptr %19, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %194, %182
  %186 = load ptr, ptr %19, align 8, !tbaa !5
  %187 = load i8, ptr %18, align 1, !tbaa !9, !range !11, !noundef !12
  %188 = trunc i8 %187 to i1
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  store i32 42, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %195

190:                                              ; preds = %185
  %191 = load ptr, ptr %3, align 8, !tbaa !5
  %192 = load ptr, ptr %19, align 8, !tbaa !5
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef nonnull align 8 dereferenceable(40) %192)
  br label %194

194:                                              ; preds = %190
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %185, !llvm.loop !35

195:                                              ; preds = %189
  br label %196

196:                                              ; preds = %195
  store i8 0, ptr %18, align 1, !tbaa !9
  br label %178, !llvm.loop !36

197:                                              ; preds = %181
  br label %232

198:                                              ; preds = %38
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #6
  store i8 1, ptr %20, align 1, !tbaa !9
  br label %199

199:                                              ; preds = %230, %198
  %200 = load i8, ptr %20, align 1, !tbaa !9, !range !11, !noundef !12
  %201 = trunc i8 %200 to i1
  br i1 %201, label %203, label %202

202:                                              ; preds = %199
  store i32 45, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #6
  br label %231

203:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = call noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %204)
  store ptr %205, ptr %21, align 8, !tbaa !5
  br label %206

206:                                              ; preds = %228, %203
  %207 = load ptr, ptr %21, align 8, !tbaa !5
  %208 = load i8, ptr %20, align 1, !tbaa !9, !range !11, !noundef !12
  %209 = trunc i8 %208 to i1
  br i1 %209, label %211, label %210

210:                                              ; preds = %206
  store i32 48, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  br label %229

211:                                              ; preds = %206
  %212 = load ptr, ptr %3, align 8, !tbaa !5
  %213 = load ptr, ptr %21, align 8, !tbaa !5
  %214 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %213, i32 0, i32 0
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull align 8 dereferenceable(40) %214)
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef @.str.34)
  %217 = load ptr, ptr %21, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %217, i32 0, i32 2
  %219 = load i8, ptr %218, align 8, !tbaa !37, !range !11, !noundef !12
  %220 = trunc i8 %219 to i1
  %221 = zext i1 %220 to i64
  %222 = select i1 %220, ptr @.str.35, ptr @.str.22
  %223 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef %222)
  %224 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef @.str.1)
  %225 = load ptr, ptr %21, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.PatternRule::Data_ValueRange", ptr %225, i32 0, i32 1
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef nonnull align 8 dereferenceable(40) %226)
  br label %228

228:                                              ; preds = %211
  store i8 0, ptr %20, align 1, !tbaa !9
  br label %206, !llvm.loop !41

229:                                              ; preds = %210
  br label %230

230:                                              ; preds = %229
  store i8 0, ptr %20, align 1, !tbaa !9
  br label %199, !llvm.loop !42

231:                                              ; preds = %202
  br label %232

232:                                              ; preds = %231, %197, %176, %151, %118, %89, %61, %38
  br label %233

233:                                              ; preds = %232
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %34, !llvm.loop !43

234:                                              ; preds = %37
  br label %235

235:                                              ; preds = %234
  store i8 0, ptr %5, align 1, !tbaa !9
  br label %28, !llvm.loop !44

236:                                              ; preds = %31
  %237 = load ptr, ptr %3, align 8, !tbaa !5
  ret ptr %237
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120)) #4 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)) #4 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)) #4 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)) #4 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)) #4 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)) #4 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)) #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) #5

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !18, i64 0}
!17 = !{!"_ZTSN11PatternRule12Data_VariantE", !18, i64 0, !19, i64 8}
!18 = !{!"int", !7, i64 0}
!19 = !{!"_ZTSSt6vectorI11PatternRuleSaIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseI11PatternRuleSaIS0_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseI11PatternRuleSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = !{!26, !18, i64 0}
!26 = !{!"_ZTSN11PatternRule10Data_SliceE", !18, i64 0, !19, i64 8}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = !{!30, !18, i64 0}
!30 = !{!"_ZTSN11PatternRule15Data_SplitSliceE", !18, i64 0, !18, i64 4, !19, i64 8, !19, i64 32}
!31 = distinct !{!31, !14}
!32 = distinct !{!32, !14}
!33 = distinct !{!33, !14}
!34 = distinct !{!34, !14}
!35 = distinct !{!35, !14}
!36 = distinct !{!36, !14}
!37 = !{!38, !10, i64 80}
!38 = !{!"_ZTSN11PatternRule15Data_ValueRangeE", !39, i64 0, !39, i64 40, !10, i64 80}
!39 = !{!"_ZTSN3MIR8ConstantE", !40, i64 0, !7, i64 8}
!40 = !{!"_ZTSN3MIR8Constant3TagE", !7, i64 0}
!41 = distinct !{!41, !14}
!42 = distinct !{!42, !14}
!43 = distinct !{!43, !14}
!44 = distinct !{!44, !14}


; 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.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.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.24 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZlsRSoRK11PatternRule = external hidden unnamed_addr constant [66 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK11PatternRule(ptr noundef nonnull returned align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(120) %1) local_unnamed_addr #1 {
.lr.ph:
  %2 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.24)
  %3 = getelementptr inbounds i8, ptr %1, i64 96
  %4 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK12field_path_t(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(24) %3)
  %5 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull @.str.25)
  %6 = tail call noundef i32 @_ZNK11PatternRule3tagEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  switch i32 %6, label %.loopexit87 [
    i32 0, label %53
    i32 7, label %.preheader
    i32 1, label %.preheader74
    i32 2, label %.preheader76
    i32 3, label %.preheader78
    i32 4, label %.preheader80
    i32 5, label %.preheader82
    i32 6, label %.preheader84
  ]

.loopexit87:                                      ; preds = %.lr.ph, %.preheader, %.preheader74, %.preheader76, %.preheader78, %.preheader80, %.preheader82, %.preheader84
  ret ptr %0

.preheader84:                                     ; preds = %.lr.ph
  %7 = tail call noundef nonnull align 8 dereferenceable(81) ptr @_ZNK11PatternRule13as_ValueRangeEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %8 = getelementptr inbounds i8, ptr %7, i64 80
  %9 = getelementptr inbounds i8, ptr %7, i64 40
  %10 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(40) %7)
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull @.str.34)
  %12 = load i8, ptr %8, align 8, !tbaa !5, !range !12, !noundef !13
  %13 = trunc nuw i8 %12 to i1
  %14 = select i1 %13, ptr @.str.35, ptr @.str.22
  %15 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull %14)
  %16 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull @.str.1)
  %17 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(40) %9)
  br label %.loopexit87

.preheader82:                                     ; preds = %.lr.ph
  %18 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK11PatternRule8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(40) %18)
  br label %.loopexit87

.preheader80:                                     ; preds = %.lr.ph
  %20 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule7as_BoolEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %21 = load i8, ptr %20, align 1, !tbaa !14, !range !12, !noundef !13
  %22 = trunc nuw i8 %21 to i1
  %23 = select i1 %22, ptr @.str.32, ptr @.str.33
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull %23)
  br label %.loopexit87

.preheader78:                                     ; preds = %.lr.ph
  %25 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNK11PatternRule13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %26 = getelementptr inbounds i8, ptr %25, i64 8
  %27 = getelementptr inbounds i8, ptr %25, i64 32
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.30)
  %29 = load i32, ptr %25, align 8, !tbaa !15
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef %29)
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull @.str.28)
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(24) %26)
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @.str.31)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(24) %27)
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull @.str.3)
  br label %.loopexit87

.preheader76:                                     ; preds = %.lr.ph
  %36 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %37 = getelementptr inbounds i8, ptr %36, i64 8
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.29)
  %39 = load i32, ptr %36, align 8, !tbaa !23
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef %39)
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @.str.28)
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(24) %37)
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @.str.3)
  br label %.loopexit87

.preheader74:                                     ; preds = %.lr.ph
  %44 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK11PatternRule10as_VariantEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %45 = getelementptr inbounds i8, ptr %44, i64 8
  %46 = load i32, ptr %44, align 8, !tbaa !25
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %0, i32 noundef %46)
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @.str.28)
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsI11PatternRuleERSoS1_RKSt6vectorIT_SaIS3_EE(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(24) %45)
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull @.str.3)
  br label %.loopexit87

.preheader:                                       ; preds = %.lr.ph
  %51 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK11PatternRule6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(120) %1)
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull @.str.27)
  br label %.loopexit87

53:                                               ; preds = %.lr.ph
  tail call void @__assert_fail(ptr noundef nonnull @.str.26, ptr noundef nonnull @.str.17, i32 noundef 639, ptr noundef nonnull @__PRETTY_FUNCTION__._ZlsRSoRK11PatternRule) #5
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK12field_path_t(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) 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 #3 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 #3 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 #3 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 #3 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 #3 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 #3 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 #3 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3MIRlsERSoRKNS_8ConstantE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4

; 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 #3 align 2

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


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