; LLVM IR from thepowersgang/mrustc :: src/ast/dump.ll (ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.__gnu_cxx::__normal_iterator.207" = type { ptr }
%"class.AST::GenericParams" = type { %"class.std::vector.110", %"class.std::vector.115" }
%"class.std::vector.110" = type { %"struct.std::_Vector_base.111" }
%"struct.std::_Vector_base.111" = type { %"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::GenericParam, std::allocator<AST::GenericParam>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.115" = type { %"struct.std::_Vector_base.116" }
%"struct.std::_Vector_base.116" = type { %"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::GenericBound, std::allocator<AST::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.RustPrinter = type <{ %"class.AST::NodeVisitor", ptr, i32, i8, [3 x i8] }>
%"class.AST::NodeVisitor" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE = external hidden unnamed_addr constant [59 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [6 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: 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE(ptr noundef nonnull align 8 dereferenceable(21) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.207", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.207", align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.AST::GenericParams", ptr %22, i32 0, i32 0
  %24 = call noundef zeroext i1 @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  br i1 %24, label %189, label %25

25:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #7
  store i8 1, ptr %5, align 1, !tbaa !9
  %26 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef @.str.33)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #7
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  %30 = getelementptr inbounds %"class.AST::GenericParams", ptr %29, i32 0, i32 0
  store ptr %30, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = call ptr @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  %33 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.207", ptr %7, i32 0, i32 0
  store ptr %32, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = call ptr @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  %36 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.207", ptr %8, i32 0, i32 0
  store ptr %35, ptr %36, align 8
  br label %37

37:                                               ; preds = %183, %25
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  br i1 %38, label %40, label %39

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

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  %41 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  store ptr %41, ptr %10, align 8, !tbaa !5
  %42 = load i8, ptr %5, align 1, !tbaa !9, !range !15, !noundef !16
  %43 = trunc i8 %42 to i1
  br i1 %43, label %48, label %44

44:                                               ; preds = %40
  %45 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef @.str.4)
  br label %48

48:                                               ; preds = %44, %40
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #7
  store i8 1, ptr %11, align 1, !tbaa !9
  br label %49

49:                                               ; preds = %181, %48
  %50 = load i8, ptr %11, align 1, !tbaa !9, !range !15, !noundef !16
  %51 = trunc i8 %50 to i1
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 4, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #7
  br label %182

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %54, ptr %12, align 8, !tbaa !5
  br label %55

55:                                               ; preds = %179, %53
  %56 = load i8, ptr %11, align 1, !tbaa !9, !range !15, !noundef !16
  %57 = trunc i8 %56 to i1
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  store i32 7, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %180

59:                                               ; preds = %55
  %60 = load ptr, ptr %12, align 8, !tbaa !5
  %61 = call noundef i32 @_ZNK3AST12GenericParam3tagEv(ptr noundef nonnull align 8 dereferenceable(208) %60)
  switch i32 %61, label %178 [
    i32 0, label %62
    i32 1, label %63
    i32 2, label %84
    i32 3, label %106
    i32 4, label %145
  ]

62:                                               ; preds = %59
  call void @__assert_fail(ptr noundef @.str.30, ptr noundef @.str.31, i32 noundef 999, ptr noundef @__PRETTY_FUNCTION__._ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE) #8
  unreachable

63:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %64

64:                                               ; preds = %82, %63
  %65 = load i8, ptr %13, align 1, !tbaa !9, !range !15, !noundef !16
  %66 = trunc i8 %65 to i1
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  br label %83

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12GenericParam7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(208) %69)
  store ptr %70, ptr %14, align 8, !tbaa !5
  br label %71

71:                                               ; preds = %80, %68
  %72 = load ptr, ptr %14, align 8, !tbaa !5
  %73 = load i8, ptr %13, align 1, !tbaa !9, !range !15, !noundef !16
  %74 = trunc i8 %73 to i1
  br i1 %74, label %76, label %75

75:                                               ; preds = %71
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %81

76:                                               ; preds = %71
  %77 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %78 = load ptr, ptr %77, align 8, !tbaa !11
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @.str.34)
  br label %80

80:                                               ; preds = %76
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %71, !llvm.loop !17

81:                                               ; preds = %75
  br label %82

82:                                               ; preds = %81
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %64, !llvm.loop !19

83:                                               ; preds = %67
  br label %178

84:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #7
  store i8 1, ptr %15, align 1, !tbaa !9
  br label %85

85:                                               ; preds = %104, %84
  %86 = load i8, ptr %15, align 1, !tbaa !9, !range !15, !noundef !16
  %87 = trunc i8 %86 to i1
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  store i32 17, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %105

89:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3AST12GenericParam11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(208) %90)
  store ptr %91, ptr %16, align 8, !tbaa !5
  br label %92

92:                                               ; preds = %102, %89
  %93 = load ptr, ptr %16, align 8, !tbaa !5
  %94 = load i8, ptr %15, align 1, !tbaa !9, !range !15, !noundef !16
  %95 = trunc i8 %94 to i1
  br i1 %95, label %97, label %96

96:                                               ; preds = %92
  store i32 20, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %103

97:                                               ; preds = %92
  %98 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = load ptr, ptr %16, align 8, !tbaa !5
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13LifetimeParamE(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull align 8 dereferenceable(48) %100)
  br label %102

102:                                              ; preds = %97
  store i8 0, ptr %15, align 1, !tbaa !9
  br label %92, !llvm.loop !20

103:                                              ; preds = %96
  br label %104

104:                                              ; preds = %103
  store i8 0, ptr %15, align 1, !tbaa !9
  br label %85, !llvm.loop !21

105:                                              ; preds = %88
  br label %178

106:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %107

107:                                              ; preds = %143, %106
  %108 = load i8, ptr %17, align 1, !tbaa !9, !range !15, !noundef !16
  %109 = trunc i8 %108 to i1
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store i32 23, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %144

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3AST12GenericParam7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(208) %112)
  store ptr %113, ptr %18, align 8, !tbaa !5
  br label %114

114:                                              ; preds = %141, %111
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  %116 = load i8, ptr %17, align 1, !tbaa !9, !range !15, !noundef !16
  %117 = trunc i8 %116 to i1
  br i1 %117, label %119, label %118

118:                                              ; preds = %114
  store i32 26, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %142

119:                                              ; preds = %114
  %120 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %121 = load ptr, ptr %120, align 8, !tbaa !11
  %122 = load ptr, ptr %18, align 8, !tbaa !5
  %123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST9TypeParam5attrsEv(ptr noundef nonnull align 8 dereferenceable(160) %122)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef nonnull align 8 dereferenceable(24) %123)
  %125 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %126 = load ptr, ptr %125, align 8, !tbaa !11
  %127 = load ptr, ptr %18, align 8, !tbaa !5
  %128 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST9TypeParam4nameEv(ptr noundef nonnull align 8 dereferenceable(160) %127)
  %129 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef nonnull align 8 dereferenceable(8) %128)
  %130 = load ptr, ptr %18, align 8, !tbaa !5
  %131 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160) %130)
  %132 = call noundef zeroext i1 @_ZNK7TypeRef11is_wildcardEv(ptr noundef nonnull align 8 dereferenceable(120) %131)
  br i1 %132, label %140, label %133

133:                                              ; preds = %119
  %134 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %135 = load ptr, ptr %134, align 8, !tbaa !11
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef @.str.19)
  %137 = load ptr, ptr %18, align 8, !tbaa !5
  %138 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160) %137)
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8) %136, ptr noundef nonnull align 8 dereferenceable(120) %138)
  br label %140

140:                                              ; preds = %133, %119
  br label %141

141:                                              ; preds = %140
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %114, !llvm.loop !22

142:                                              ; preds = %118
  br label %143

143:                                              ; preds = %142
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %107, !llvm.loop !23

144:                                              ; preds = %110
  br label %178

145:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  store i8 1, ptr %19, align 1, !tbaa !9
  br label %146

146:                                              ; preds = %176, %145
  %147 = load i8, ptr %19, align 1, !tbaa !9, !range !15, !noundef !16
  %148 = trunc i8 %147 to i1
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  store i32 29, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %177

150:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %151 = load ptr, ptr %12, align 8, !tbaa !5
  %152 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3AST12GenericParam8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(208) %151)
  store ptr %152, ptr %20, align 8, !tbaa !5
  br label %153

153:                                              ; preds = %174, %150
  %154 = load ptr, ptr %20, align 8, !tbaa !5
  %155 = load i8, ptr %19, align 1, !tbaa !9, !range !15, !noundef !16
  %156 = trunc i8 %155 to i1
  br i1 %156, label %158, label %157

157:                                              ; preds = %153
  store i32 32, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %175

158:                                              ; preds = %153
  %159 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %160 = load ptr, ptr %159, align 8, !tbaa !11
  %161 = load ptr, ptr %20, align 8, !tbaa !5
  %162 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST10ValueParam5attrsEv(ptr noundef nonnull align 8 dereferenceable(184) %161)
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8) %160, ptr noundef nonnull align 8 dereferenceable(24) %162)
  %164 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %165 = load ptr, ptr %164, align 8, !tbaa !11
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef @.str.23)
  %167 = load ptr, ptr %20, align 8, !tbaa !5
  %168 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST10ValueParam4nameEv(ptr noundef nonnull align 8 dereferenceable(184) %167)
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Ident(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef nonnull align 8 dereferenceable(16) %168)
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %169, ptr noundef @.str.26)
  %171 = load ptr, ptr %20, align 8, !tbaa !5
  %172 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST10ValueParam4typeEv(ptr noundef nonnull align 8 dereferenceable(184) %171)
  %173 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull align 8 dereferenceable(120) %172)
  br label %174

174:                                              ; preds = %158
  store i8 0, ptr %19, align 1, !tbaa !9
  br label %153, !llvm.loop !24

175:                                              ; preds = %157
  br label %176

176:                                              ; preds = %175
  store i8 0, ptr %19, align 1, !tbaa !9
  br label %146, !llvm.loop !25

177:                                              ; preds = %149
  br label %178

178:                                              ; preds = %177, %144, %105, %83, %59
  br label %179

179:                                              ; preds = %178
  store i8 0, ptr %11, align 1, !tbaa !9
  br label %55, !llvm.loop !26

180:                                              ; preds = %58
  br label %181

181:                                              ; preds = %180
  store i8 0, ptr %11, align 1, !tbaa !9
  br label %49, !llvm.loop !27

182:                                              ; preds = %52
  store i8 0, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %183

183:                                              ; preds = %182
  %184 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #7
  br label %37

185:                                              ; preds = %39
  %186 = getelementptr inbounds %class.RustPrinter, ptr %21, i32 0, i32 1
  %187 = load ptr, ptr %186, align 8, !tbaa !11
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef @.str.35)
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #7
  br label %189

189:                                              ; preds = %185, %2
  ret void
}

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(120)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3AST12GenericParam3tagEv(ptr noundef nonnull align 8 dereferenceable(208)) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3AST12GenericParam11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(208)) #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13LifetimeParamE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3AST12GenericParam7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(208)) #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST9TypeParam4nameEv(ptr noundef nonnull align 8 dereferenceable(160)) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7TypeRef11is_wildcardEv(ptr noundef nonnull align 8 dereferenceable(120)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3AST12GenericParam8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(208)) #5 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Ident(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST10ValueParam4nameEv(ptr noundef nonnull align 8 dereferenceable(184)) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 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 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 = !{!12, !6, i64 8}
!12 = !{!"_ZTS11RustPrinter", !13, i64 0, !6, i64 8, !14, i64 16, !10, i64 20}
!13 = !{!"_ZTSN3AST11NodeVisitorE"}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !18}
!23 = distinct !{!23, !18}
!24 = distinct !{!24, !18}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18}
!27 = distinct !{!27, !18}


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

%"class.__gnu_cxx::__normal_iterator.207" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE = external hidden unnamed_addr constant [59 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [2 x i8], align 1

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

; Function Attrs: 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 #1

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE(ptr nocapture noundef nonnull readonly align 8 dereferenceable(21) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator.207", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator.207", align 8
  %5 = tail call noundef zeroext i1 @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  br i1 %5, label %86, label %.split88

.split88:                                         ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull @.str.33)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  %9 = tail call ptr @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %9, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %10 = tail call ptr @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #7
  store ptr %10, ptr %4, align 8
  %11 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %11, label %.lr.ph.peel, label %._crit_edge

.lr.ph.peel:                                      ; preds = %.split88
  %12 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %13 = call noundef i32 @_ZNK3AST12GenericParam3tagEv(ptr noundef nonnull align 8 dereferenceable(208) %12)
  switch i32 %13, label %.loopexit53.peel [
    i32 0, label %.loopexit
    i32 1, label %.preheader.peel
    i32 2, label %.preheader46.peel
    i32 3, label %.preheader48.peel
    i32 4, label %.preheader50.peel
  ]

.preheader50.peel:                                ; preds = %.lr.ph.peel
  %14 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3AST12GenericParam8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(208) %12)
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST10ValueParam5attrsEv(ptr noundef nonnull align 8 dereferenceable(184) %14)
  %17 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @.str.23)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST10ValueParam4nameEv(ptr noundef nonnull align 8 dereferenceable(184) %14)
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Ident(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(16) %20)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @.str.26)
  %23 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST10ValueParam4typeEv(ptr noundef nonnull align 8 dereferenceable(184) %14)
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(120) %23)
  br label %.loopexit53.peel

.preheader48.peel:                                ; preds = %.lr.ph.peel
  %25 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3AST12GenericParam7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(208) %12)
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST9TypeParam5attrsEv(ptr noundef nonnull align 8 dereferenceable(160) %25)
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(24) %27)
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST9TypeParam4nameEv(ptr noundef nonnull align 8 dereferenceable(160) %25)
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30)
  %32 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160) %25)
  %33 = call noundef zeroext i1 @_ZNK7TypeRef11is_wildcardEv(ptr noundef nonnull align 8 dereferenceable(120) %32)
  br i1 %33, label %.loopexit53.peel, label %34

34:                                               ; preds = %.preheader48.peel
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull @.str.19)
  %37 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160) %25)
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(120) %37)
  br label %.loopexit53.peel

.preheader46.peel:                                ; preds = %.lr.ph.peel
  %39 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3AST12GenericParam11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(208) %12)
  %40 = load ptr, ptr %6, align 8, !tbaa !5
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13LifetimeParamE(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(48) %39)
  br label %.loopexit53.peel

.preheader.peel:                                  ; preds = %.lr.ph.peel
  %42 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12GenericParam7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(208) %12)
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.34)
  br label %.loopexit53.peel

.loopexit53.peel:                                 ; preds = %.preheader.peel, %.preheader46.peel, %34, %.preheader48.peel, %.preheader50.peel, %.lr.ph.peel
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %46 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %46, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.loopexit53, %.loopexit53.peel, %.split88
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = 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.35)
  br label %86

.loopexit53:                                      ; preds = %.lr.ph, %.preheader, %.preheader46, %.preheader50, %.preheader48, %81
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %50 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #7
  br i1 %50, label %.lr.ph, label %._crit_edge, !llvm.loop !13

.lr.ph:                                           ; preds = %.loopexit53.peel, %.loopexit53
  %51 = call noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #7
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @.str.4)
  %54 = call noundef i32 @_ZNK3AST12GenericParam3tagEv(ptr noundef nonnull align 8 dereferenceable(208) %51)
  switch i32 %54, label %.loopexit53 [
    i32 0, label %.loopexit
    i32 1, label %.preheader
    i32 2, label %.preheader46
    i32 3, label %.preheader48
    i32 4, label %.preheader50
  ]

.preheader50:                                     ; preds = %.lr.ph
  %55 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3AST12GenericParam8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(208) %51)
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST10ValueParam5attrsEv(ptr noundef nonnull align 8 dereferenceable(184) %55)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(24) %57)
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull @.str.23)
  %61 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST10ValueParam4nameEv(ptr noundef nonnull align 8 dereferenceable(184) %55)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Ident(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull align 8 dereferenceable(16) %61)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @.str.26)
  %64 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST10ValueParam4typeEv(ptr noundef nonnull align 8 dereferenceable(184) %55)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(120) %64)
  br label %.loopexit53

.preheader48:                                     ; preds = %.lr.ph
  %66 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3AST12GenericParam7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(208) %51)
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST9TypeParam5attrsEv(ptr noundef nonnull align 8 dereferenceable(160) %66)
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(24) %68)
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST9TypeParam4nameEv(ptr noundef nonnull align 8 dereferenceable(160) %66)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %71)
  %73 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160) %66)
  %74 = call noundef zeroext i1 @_ZNK7TypeRef11is_wildcardEv(ptr noundef nonnull align 8 dereferenceable(120) %73)
  br i1 %74, label %.loopexit53, label %81

.preheader46:                                     ; preds = %.lr.ph
  %75 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3AST12GenericParam11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(208) %51)
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13LifetimeParamE(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull align 8 dereferenceable(48) %75)
  br label %.loopexit53

.preheader:                                       ; preds = %.lr.ph
  %78 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12GenericParam7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(208) %51)
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull @.str.34)
  br label %.loopexit53

.loopexit:                                        ; preds = %.lr.ph, %.lr.ph.peel
  call void @__assert_fail(ptr noundef nonnull @.str.30, ptr noundef nonnull @.str.31, i32 noundef 999, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN11RustPrinter12print_paramsERKN3AST13GenericParamsE) #8
  unreachable

81:                                               ; preds = %.preheader48
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull @.str.19)
  %84 = call noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160) %66)
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(120) %84)
  br label %.loopexit53

86:                                               ; preds = %._crit_edge, %2
  ret void
}

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK7TypeRef(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(120)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIN3AST12GenericParamESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(208) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST12GenericParamESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK3AST12GenericParam3tagEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3AST12GenericParam7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK3AST12GenericParam11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13LifetimeParamE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3AST12GenericParam7as_TypeEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #5 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_13AttributeListE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST9TypeParam4nameEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST9TypeParam11get_defaultEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK7TypeRef11is_wildcardEv(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(184) ptr @_ZNK3AST12GenericParam8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(208)) local_unnamed_addr #5 align 2

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Ident(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST10ValueParam4nameEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(120) ptr @_ZNK3AST10ValueParam4typeEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #5 align 2

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

attributes #0 = { mustprogress 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 = { "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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { 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, !8, i64 8}
!6 = !{!"_ZTS11RustPrinter", !7, i64 0, !8, i64 8, !11, i64 16, !12, i64 20}
!7 = !{!"_ZTSN3AST11NodeVisitorE"}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"bool", !9, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.peeled.count", i32 1}


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