; LLVM IR from ggml-org/ggml :: tests (test-quantize-fns)

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

%"class.std::__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] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%struct.ggml_type_traits = type { ptr, i64, i64, i64, i8, ptr, ptr }
%struct.ggml_type_traits_cpu = type { ptr, ptr, i32, i64 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@stderr = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [45 x i8], align 1
@_ZL10RESULT_STR = external hidden global [2 x ptr], align 16
@.str.4 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i64, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca %"class.std::allocator.0", align 1
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  store i8 0, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #7
  store i64 4096, ptr %7, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %54, %2
  %30 = load i32, ptr %9, align 4, !tbaa !5
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = icmp slt i32 %30, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %29
  store i32 2, ptr %10, align 4
  br label %57

34:                                               ; preds = %29
  %35 = load ptr, ptr %5, align 8, !tbaa !9
  %36 = load i32, ptr %9, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds ptr, ptr %35, i64 %37
  %39 = load ptr, ptr %38, align 8, !tbaa !9
  %40 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %39)
          to label %41 unwind label %45

41:                                               ; preds = %34
  %42 = invoke noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef @.str)
          to label %43 unwind label %45

43:                                               ; preds = %41
  br i1 %42, label %44, label %49

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

45:                                               ; preds = %41, %34
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %11, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %359

49:                                               ; preds = %43
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef @.str.1, ptr noundef %51) #7
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %57

53:                                               ; preds = %44
  br label %54

54:                                               ; preds = %53
  %55 = load i32, ptr %9, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %9, align 4, !tbaa !5
  br label %29, !llvm.loop !15

57:                                               ; preds = %49, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  %58 = load i32, ptr %10, align 4
  switch i32 %58, label %357 [
    i32 2, label %59
  ]

59:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 4096, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %60 unwind label %73

60:                                               ; preds = %59
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, i64 noundef 4096, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %61 unwind label %77

61:                                               ; preds = %60
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  %62 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %63 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  invoke void @_ZL13generate_datafmPf(float noundef 0.000000e+00, i64 noundef %62, ptr noundef %63)
          to label %64 unwind label %81

64:                                               ; preds = %61
  %65 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %66 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  invoke void @_ZL13generate_datafmPf(float noundef 1.000000e+00, i64 noundef %65, ptr noundef %66)
          to label %67 unwind label %81

67:                                               ; preds = %64
  invoke void @ggml_cpu_init()
          to label %68 unwind label %81

68:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  store i8 0, ptr %18, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %329, %68
  %70 = load i32, ptr %19, align 4, !tbaa !5
  %71 = icmp slt i32 %70, 39
  br i1 %71, label %85, label %72

72:                                               ; preds = %69
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %335

73:                                               ; preds = %59
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %11, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %356

77:                                               ; preds = %60
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %11, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %355

81:                                               ; preds = %67, %64, %61
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %11, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %12, align 4
  br label %354

85:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %86 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %86, ptr %20, align 4, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %87 = load i32, ptr %20, align 4, !tbaa !17
  %88 = invoke ptr @ggml_get_type_traits(i32 noundef %87)
          to label %89 unwind label %98

89:                                               ; preds = %85
  store ptr %88, ptr %21, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #7
  %90 = load i32, ptr %20, align 4, !tbaa !17
  %91 = invoke ptr @ggml_get_type_traits_cpu(i32 noundef %90)
          to label %92 unwind label %102

92:                                               ; preds = %89
  store ptr %91, ptr %22, align 8, !tbaa !9
  %93 = load ptr, ptr %21, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.ggml_type_traits, ptr %93, i32 0, i32 1
  %95 = load i64, ptr %94, align 8, !tbaa !19
  %96 = icmp eq i64 %95, 0
  br i1 %96, label %97, label %106

97:                                               ; preds = %92
  store i32 7, ptr %10, align 4
  br label %326

98:                                               ; preds = %85
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %11, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %12, align 4
  br label %334

102:                                              ; preds = %89
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %11, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %12, align 4
  br label %333

106:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %107 = load i32, ptr %19, align 4, !tbaa !5
  store i32 %107, ptr %23, align 4, !tbaa !17
  %108 = load i32, ptr %19, align 4, !tbaa !5
  %109 = invoke ptr @ggml_type_name(i32 noundef %108)
          to label %110 unwind label %198

110:                                              ; preds = %106
  %111 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %109)
          to label %112 unwind label %198

112:                                              ; preds = %110
  %113 = load i32, ptr %23, align 4, !tbaa !17
  invoke void @ggml_quantize_init(i32 noundef %113)
          to label %114 unwind label %198

114:                                              ; preds = %112
  %115 = load ptr, ptr %22, align 8, !tbaa !9
  %116 = getelementptr inbounds %struct.ggml_type_traits_cpu, ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %116, align 8, !tbaa !21
  %118 = icmp ne ptr %117, null
  br i1 %118, label %119, label %325

119:                                              ; preds = %114
  %120 = load ptr, ptr %21, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.ggml_type_traits, ptr %120, i32 0, i32 5
  %122 = load ptr, ptr %121, align 8, !tbaa !23
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %325

124:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %125 = load ptr, ptr %21, align 8, !tbaa !9
  %126 = load ptr, ptr %22, align 8, !tbaa !9
  %127 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %128 = invoke noundef float @_ZL24total_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef %125, ptr noundef %126, i64 noundef 4096, ptr noundef %127)
          to label %129 unwind label %202

129:                                              ; preds = %124
  store float %128, ptr %24, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  %130 = load i32, ptr %20, align 4, !tbaa !17
  %131 = icmp eq i32 %130, 34
  br i1 %131, label %132, label %133

132:                                              ; preds = %129
  br label %168

133:                                              ; preds = %129
  %134 = load i32, ptr %20, align 4, !tbaa !17
  %135 = icmp eq i32 %134, 35
  br i1 %135, label %136, label %137

136:                                              ; preds = %133
  br label %166

137:                                              ; preds = %133
  %138 = load i32, ptr %20, align 4, !tbaa !17
  %139 = icmp eq i32 %138, 10
  br i1 %139, label %140, label %141

140:                                              ; preds = %137
  br label %164

141:                                              ; preds = %137
  %142 = load i32, ptr %20, align 4, !tbaa !17
  %143 = icmp eq i32 %142, 22
  br i1 %143, label %144, label %145

144:                                              ; preds = %141
  br label %162

145:                                              ; preds = %141
  %146 = load i32, ptr %20, align 4, !tbaa !17
  %147 = icmp eq i32 %146, 11
  br i1 %147, label %148, label %149

148:                                              ; preds = %145
  br label %160

149:                                              ; preds = %145
  %150 = load i32, ptr %20, align 4, !tbaa !17
  %151 = icmp eq i32 %150, 21
  br i1 %151, label %152, label %153

152:                                              ; preds = %149
  br label %158

153:                                              ; preds = %149
  %154 = load i32, ptr %20, align 4, !tbaa !17
  %155 = icmp eq i32 %154, 18
  %156 = zext i1 %155 to i64
  %157 = select i1 %155, float 0x3F747AE140000000, float 0x3F60624DE0000000
  br label %158

158:                                              ; preds = %153, %152
  %159 = phi float [ 0x3F70624DE0000000, %152 ], [ %157, %153 ]
  br label %160

160:                                              ; preds = %158, %148
  %161 = phi float [ 0x3F70624DE0000000, %148 ], [ %159, %158 ]
  br label %162

162:                                              ; preds = %160, %144
  %163 = phi float [ 0x3F7EB851E0000000, %144 ], [ %161, %160 ]
  br label %164

164:                                              ; preds = %162, %140
  %165 = phi float [ 0x3F7EB851E0000000, %140 ], [ %163, %162 ]
  br label %166

166:                                              ; preds = %164, %136
  %167 = phi float [ 0x3F847AE140000000, %136 ], [ %165, %164 ]
  br label %168

168:                                              ; preds = %166, %132
  %169 = phi float [ 0x3F847AE140000000, %132 ], [ %167, %166 ]
  store float %169, ptr %25, align 4, !tbaa !24
  %170 = load float, ptr %24, align 4, !tbaa !24
  %171 = load float, ptr %25, align 4, !tbaa !24
  %172 = fcmp olt float %170, %171
  %173 = xor i1 %172, true
  %174 = zext i1 %173 to i8
  store i8 %174, ptr %18, align 1, !tbaa !11
  %175 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %176 = trunc i8 %175 to i1
  %177 = zext i1 %176 to i32
  %178 = load i32, ptr %17, align 4, !tbaa !5
  %179 = add nsw i32 %178, %177
  store i32 %179, ptr %17, align 4, !tbaa !5
  %180 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %181 = trunc i8 %180 to i1
  br i1 %181, label %185, label %182

182:                                              ; preds = %168
  %183 = load i8, ptr %6, align 1, !tbaa !11, !range !26, !noundef !27
  %184 = trunc i8 %183 to i1
  br i1 %184, label %185, label %210

185:                                              ; preds = %182, %168
  %186 = load i32, ptr %20, align 4, !tbaa !17
  %187 = invoke ptr @ggml_type_name(i32 noundef %186)
          to label %188 unwind label %206

188:                                              ; preds = %185
  %189 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %190 = trunc i8 %189 to i1
  %191 = zext i1 %190 to i64
  %192 = getelementptr inbounds [2 x ptr], ptr @_ZL10RESULT_STR, i64 0, i64 %191
  %193 = load ptr, ptr %192, align 8, !tbaa !9
  %194 = load float, ptr %24, align 4, !tbaa !24
  %195 = fpext float %194 to double
  %196 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %187, ptr noundef %193, double noundef %195)
          to label %197 unwind label %206

197:                                              ; preds = %188
  br label %210

198:                                              ; preds = %112, %110, %106
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %11, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %12, align 4
  br label %332

202:                                              ; preds = %124
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %11, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %12, align 4
  br label %324

206:                                              ; preds = %188, %185
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %11, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %12, align 4
  br label %323

210:                                              ; preds = %197, %182
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %211 = load ptr, ptr %21, align 8, !tbaa !9
  %212 = load ptr, ptr %22, align 8, !tbaa !9
  %213 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %214 = invoke noundef float @_ZL28reference_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef %211, ptr noundef %212, i64 noundef 4096, ptr noundef %213)
          to label %215 unwind label %243

215:                                              ; preds = %210
  store float %214, ptr %26, align 4, !tbaa !24
  %216 = load float, ptr %26, align 4, !tbaa !24
  %217 = fcmp olt float %216, 0x3F1A36E2E0000000
  %218 = xor i1 %217, true
  %219 = zext i1 %218 to i8
  store i8 %219, ptr %18, align 1, !tbaa !11
  %220 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %221 = trunc i8 %220 to i1
  %222 = zext i1 %221 to i32
  %223 = load i32, ptr %17, align 4, !tbaa !5
  %224 = add nsw i32 %223, %222
  store i32 %224, ptr %17, align 4, !tbaa !5
  %225 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %226 = trunc i8 %225 to i1
  br i1 %226, label %230, label %227

227:                                              ; preds = %215
  %228 = load i8, ptr %6, align 1, !tbaa !11, !range !26, !noundef !27
  %229 = trunc i8 %228 to i1
  br i1 %229, label %230, label %247

230:                                              ; preds = %227, %215
  %231 = load i32, ptr %20, align 4, !tbaa !17
  %232 = invoke ptr @ggml_type_name(i32 noundef %231)
          to label %233 unwind label %243

233:                                              ; preds = %230
  %234 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %235 = trunc i8 %234 to i1
  %236 = zext i1 %235 to i64
  %237 = getelementptr inbounds [2 x ptr], ptr @_ZL10RESULT_STR, i64 0, i64 %236
  %238 = load ptr, ptr %237, align 8, !tbaa !9
  %239 = load float, ptr %26, align 4, !tbaa !24
  %240 = fpext float %239 to double
  %241 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %232, ptr noundef %238, double noundef %240)
          to label %242 unwind label %243

242:                                              ; preds = %233
  br label %247

243:                                              ; preds = %233, %230, %210
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %11, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %12, align 4
  br label %322

247:                                              ; preds = %242, %227
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %248 = load ptr, ptr %21, align 8, !tbaa !9
  %249 = load ptr, ptr %22, align 8, !tbaa !9
  %250 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %251 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  %252 = invoke noundef float @_ZL17dot_product_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKfS6_(ptr noundef %248, ptr noundef %249, i64 noundef 4096, ptr noundef %250, ptr noundef %251)
          to label %253 unwind label %312

253:                                              ; preds = %247
  store float %252, ptr %27, align 4, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #7
  %254 = load i32, ptr %20, align 4, !tbaa !17
  %255 = icmp eq i32 %254, 10
  br i1 %255, label %271, label %256

256:                                              ; preds = %253
  %257 = load i32, ptr %20, align 4, !tbaa !17
  %258 = icmp eq i32 %257, 17
  br i1 %258, label %271, label %259

259:                                              ; preds = %256
  %260 = load i32, ptr %20, align 4, !tbaa !17
  %261 = icmp eq i32 %260, 16
  br i1 %261, label %271, label %262

262:                                              ; preds = %259
  %263 = load i32, ptr %20, align 4, !tbaa !17
  %264 = icmp eq i32 %263, 18
  br i1 %264, label %271, label %265

265:                                              ; preds = %262
  %266 = load i32, ptr %20, align 4, !tbaa !17
  %267 = icmp eq i32 %266, 21
  br i1 %267, label %271, label %268

268:                                              ; preds = %265
  %269 = load i32, ptr %20, align 4, !tbaa !17
  %270 = icmp eq i32 %269, 22
  br i1 %270, label %271, label %272

271:                                              ; preds = %268, %265, %262, %259, %256, %253
  br label %282

272:                                              ; preds = %268
  %273 = load i32, ptr %20, align 4, !tbaa !17
  %274 = icmp eq i32 %273, 34
  br i1 %274, label %278, label %275

275:                                              ; preds = %272
  %276 = load i32, ptr %20, align 4, !tbaa !17
  %277 = icmp eq i32 %276, 35
  br label %278

278:                                              ; preds = %275, %272
  %279 = phi i1 [ true, %272 ], [ %277, %275 ]
  %280 = zext i1 %279 to i64
  %281 = select i1 %279, float 0x3FC3333340000000, float 0x3F947AE140000000
  br label %282

282:                                              ; preds = %278, %271
  %283 = phi float [ 0x3FA47AE140000000, %271 ], [ %281, %278 ]
  store float %283, ptr %28, align 4, !tbaa !24
  %284 = load float, ptr %27, align 4, !tbaa !24
  %285 = load float, ptr %28, align 4, !tbaa !24
  %286 = fcmp olt float %284, %285
  %287 = xor i1 %286, true
  %288 = zext i1 %287 to i8
  store i8 %288, ptr %18, align 1, !tbaa !11
  %289 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %290 = trunc i8 %289 to i1
  %291 = zext i1 %290 to i32
  %292 = load i32, ptr %17, align 4, !tbaa !5
  %293 = add nsw i32 %292, %291
  store i32 %293, ptr %17, align 4, !tbaa !5
  %294 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %295 = trunc i8 %294 to i1
  br i1 %295, label %299, label %296

296:                                              ; preds = %282
  %297 = load i8, ptr %6, align 1, !tbaa !11, !range !26, !noundef !27
  %298 = trunc i8 %297 to i1
  br i1 %298, label %299, label %320

299:                                              ; preds = %296, %282
  %300 = load i32, ptr %20, align 4, !tbaa !17
  %301 = invoke ptr @ggml_type_name(i32 noundef %300)
          to label %302 unwind label %316

302:                                              ; preds = %299
  %303 = load i8, ptr %18, align 1, !tbaa !11, !range !26, !noundef !27
  %304 = trunc i8 %303 to i1
  %305 = zext i1 %304 to i64
  %306 = getelementptr inbounds [2 x ptr], ptr @_ZL10RESULT_STR, i64 0, i64 %305
  %307 = load ptr, ptr %306, align 8, !tbaa !9
  %308 = load float, ptr %27, align 4, !tbaa !24
  %309 = fpext float %308 to double
  %310 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %301, ptr noundef %307, double noundef %309)
          to label %311 unwind label %316

311:                                              ; preds = %302
  br label %320

312:                                              ; preds = %247
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %11, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %12, align 4
  br label %321

316:                                              ; preds = %302, %299
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %11, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  br label %321

320:                                              ; preds = %311, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %325

321:                                              ; preds = %316, %312
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %322

322:                                              ; preds = %321, %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %323

323:                                              ; preds = %322, %206
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %324

324:                                              ; preds = %323, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %332

325:                                              ; preds = %320, %119, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  store i32 0, ptr %10, align 4
  br label %326

326:                                              ; preds = %325, %97
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %327 = load i32, ptr %10, align 4
  switch i32 %327, label %365 [
    i32 0, label %328
    i32 7, label %329
  ]

328:                                              ; preds = %326
  br label %329

329:                                              ; preds = %328, %326
  %330 = load i32, ptr %19, align 4, !tbaa !5
  %331 = add nsw i32 %330, 1
  store i32 %331, ptr %19, align 4, !tbaa !5
  br label %69, !llvm.loop !28

332:                                              ; preds = %324, %198
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %333

333:                                              ; preds = %332, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #7
  br label %334

334:                                              ; preds = %333, %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %353

335:                                              ; preds = %72
  %336 = load i32, ptr %17, align 4, !tbaa !5
  %337 = icmp ne i32 %336, 0
  br i1 %337, label %341, label %338

338:                                              ; preds = %335
  %339 = load i8, ptr %6, align 1, !tbaa !11, !range !26, !noundef !27
  %340 = trunc i8 %339 to i1
  br i1 %340, label %341, label %349

341:                                              ; preds = %338, %335
  %342 = load i32, ptr %17, align 4, !tbaa !5
  %343 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %342)
          to label %344 unwind label %345

344:                                              ; preds = %341
  br label %349

345:                                              ; preds = %341
  %346 = landingpad { ptr, i32 }
          cleanup
  %347 = extractvalue { ptr, i32 } %346, 0
  store ptr %347, ptr %11, align 8
  %348 = extractvalue { ptr, i32 } %346, 1
  store i32 %348, ptr %12, align 4
  br label %353

349:                                              ; preds = %344, %338
  %350 = load i32, ptr %17, align 4, !tbaa !5
  %351 = icmp sgt i32 %350, 0
  %352 = zext i1 %351 to i32
  store i32 %352, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  br label %357

353:                                              ; preds = %345, %334
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %354

354:                                              ; preds = %353, %81
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %355

355:                                              ; preds = %354, %77
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %356

356:                                              ; preds = %355, %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  br label %359

357:                                              ; preds = %349, %57
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  %358 = load i32, ptr %3, align 4
  ret i32 %358

359:                                              ; preds = %356, %45
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  br label %360

360:                                              ; preds = %359
  %361 = load ptr, ptr %11, align 8
  %362 = load i32, ptr %12, align 4
  %363 = insertvalue { ptr, i32 } poison, ptr %361, 0
  %364 = insertvalue { ptr, i32 } %363, i32 %362, 1
  resume { ptr, i32 } %364

365:                                              ; preds = %326
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL13generate_datafmPf(float noundef, i64 noundef, ptr noundef) #2

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

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

declare void @ggml_cpu_init() #6

declare ptr @ggml_get_type_traits(i32 noundef) #6

declare ptr @ggml_get_type_traits_cpu(i32 noundef) #6

declare i32 @printf(ptr noundef, ...) #6

declare ptr @ggml_type_name(i32 noundef) #6

declare void @ggml_quantize_init(i32 noundef) #6

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL24total_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL28reference_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef, ptr noundef, i64 noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL17dot_product_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKfS6_(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

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

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTS9ggml_type", !7, i64 0}
!19 = !{!20, !14, i64 8}
!20 = !{!"_ZTS16ggml_type_traits", !10, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !12, i64 32, !10, i64 40, !10, i64 48}
!21 = !{!22, !10, i64 0}
!22 = !{!"_ZTS20ggml_type_traits_cpu", !10, i64 0, !10, i64 8, !18, i64 16, !14, i64 24}
!23 = !{!20, !10, i64 40}
!24 = !{!25, !25, i64 0}
!25 = !{!"float", !7, i64 0}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = distinct !{!28, !16}


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

%"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] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [45 x i8], align 1
@_ZL10RESULT_STR = external hidden local_unnamed_addr global [2 x ptr], align 16
@.str.4 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::__cxx11::basic_string", align 8
  %4 = alloca %"class.std::vector", align 8
  %5 = alloca %"class.std::allocator.0", align 1
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  %.not133 = icmp sgt i32 %0, 1
  br i1 %.not133, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %2
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %.lr.ph

8:                                                ; preds = %12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !5

.lr.ph:                                           ; preds = %.lr.ph.preheader, %8
  %indvars.iv = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next, %8 ]
  %9 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %10 = load ptr, ptr %9, align 8, !tbaa !7
  %11 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef %10)
          to label %12 unwind label %14

12:                                               ; preds = %.lr.ph
  %13 = call noundef zeroext i1 @_ZSteqIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull @.str)
  br i1 %13, label %8, label %.thread

14:                                               ; preds = %.lr.ph
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %133

.thread:                                          ; preds = %12
  %16 = load ptr, ptr @stderr, align 8, !tbaa !7
  %17 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str.1, ptr noundef %17) #8
  br label %132

._crit_edge:                                      ; preds = %8, %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %4, i64 noundef 4096, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %19 unwind label %26

19:                                               ; preds = %._crit_edge
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #7
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 4096, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %20 unwind label %28

20:                                               ; preds = %19
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  %21 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %22 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @_ZL13generate_datafmPf(float noundef 0.000000e+00, i64 noundef %21, ptr noundef %22)
  %23 = call noundef i64 @_ZNKSt6vectorIfSaIfEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %24 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @_ZL13generate_datafmPf(float noundef 1.000000e+00, i64 noundef %23, ptr noundef %24)
  invoke void @ggml_cpu_init()
          to label %.preheader unwind label %30

25:                                               ; preds = %122
  %.not105 = icmp ne i32 %.2103, 0
  %brmerge121 = or i1 %.not133, %.not105
  br i1 %brmerge121, label %124, label %126

26:                                               ; preds = %._crit_edge
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #7
  br label %131

28:                                               ; preds = %19
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #7
  br label %130

30:                                               ; preds = %20
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %129

.preheader:                                       ; preds = %20, %122
  %.0101137 = phi i32 [ %.2103, %122 ], [ 0, %20 ]
  %.0104135 = phi i32 [ %123, %122 ], [ 0, %20 ]
  %32 = invoke ptr @ggml_get_type_traits(i32 noundef %.0104135)
          to label %33 unwind label %39

33:                                               ; preds = %.preheader
  %34 = invoke ptr @ggml_get_type_traits_cpu(i32 noundef %.0104135)
          to label %35 unwind label %41

35:                                               ; preds = %33
  %36 = getelementptr inbounds i8, ptr %32, i64 8
  %37 = load i64, ptr %36, align 8, !tbaa !11
  %38 = icmp eq i64 %37, 0
  br i1 %38, label %122, label %43

39:                                               ; preds = %.preheader
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %129

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  br label %129

43:                                               ; preds = %35
  %44 = invoke ptr @ggml_type_name(i32 noundef %.0104135)
          to label %45 unwind label %74

45:                                               ; preds = %43
  %46 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %44)
  invoke void @ggml_quantize_init(i32 noundef %.0104135)
          to label %47 unwind label %74

47:                                               ; preds = %45
  %48 = load ptr, ptr %34, align 8, !tbaa !15
  %.not106 = icmp eq ptr %48, null
  br i1 %.not106, label %122, label %49

49:                                               ; preds = %47
  %50 = getelementptr inbounds i8, ptr %32, i64 40
  %51 = load ptr, ptr %50, align 8, !tbaa !18
  %.not107 = icmp eq ptr %51, null
  br i1 %.not107, label %122, label %52

52:                                               ; preds = %49
  %53 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %54 = invoke noundef float @_ZL24total_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef nonnull %32, ptr noundef nonnull %34, i64 noundef 4096, ptr noundef %53)
          to label %55 unwind label %76

55:                                               ; preds = %52
  %56 = and i32 %.0104135, 62
  %or.cond11 = icmp eq i32 %56, 34
  br i1 %or.cond11, label %61, label %57

57:                                               ; preds = %55
  switch i32 %.0104135, label %58 [
    i32 22, label %61
    i32 10, label %61
    i32 21, label %.fold.split
    i32 11, label %.fold.split
  ]

58:                                               ; preds = %57
  %59 = icmp eq i32 %.0104135, 18
  %60 = select i1 %59, float 0x3F747AE140000000, float 0x3F60624DE0000000
  br label %61

.fold.split:                                      ; preds = %57, %57
  br label %61

61:                                               ; preds = %57, %57, %.fold.split, %58, %55
  %62 = phi float [ 0x3F847AE140000000, %55 ], [ 0x3F7EB851E0000000, %57 ], [ %60, %58 ], [ 0x3F7EB851E0000000, %57 ], [ 0x3F70624DE0000000, %.fold.split ]
  %63 = fcmp uge float %54, %62
  %64 = zext i1 %63 to i32
  %65 = add nsw i32 %.0101137, %64
  %brmerge = or i1 %.not133, %63
  br i1 %brmerge, label %66, label %80

66:                                               ; preds = %61
  %67 = invoke ptr @ggml_type_name(i32 noundef %.0104135)
          to label %68 unwind label %78

68:                                               ; preds = %66
  %69 = zext i1 %63 to i64
  %70 = getelementptr inbounds [2 x ptr], ptr @_ZL10RESULT_STR, i64 0, i64 %69
  %71 = load ptr, ptr %70, align 8, !tbaa !7
  %72 = fpext float %54 to double
  %73 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, ptr noundef %67, ptr noundef %71, double noundef %72)
  br label %80

74:                                               ; preds = %45, %43
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %129

76:                                               ; preds = %52
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %129

78:                                               ; preds = %66
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %129

80:                                               ; preds = %61, %68
  %81 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %82 = invoke noundef float @_ZL28reference_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef nonnull %32, ptr noundef nonnull %34, i64 noundef 4096, ptr noundef %81)
          to label %83 unwind label %95

83:                                               ; preds = %80
  %84 = fcmp uge float %82, 0x3F1A36E2E0000000
  %85 = zext i1 %84 to i32
  %86 = add nsw i32 %65, %85
  %brmerge119 = or i1 %.not133, %84
  br i1 %brmerge119, label %87, label %97

87:                                               ; preds = %83
  %88 = invoke ptr @ggml_type_name(i32 noundef %.0104135)
          to label %89 unwind label %95

89:                                               ; preds = %87
  %90 = zext i1 %84 to i64
  %91 = getelementptr inbounds [2 x ptr], ptr @_ZL10RESULT_STR, i64 0, i64 %90
  %92 = load ptr, ptr %91, align 8, !tbaa !7
  %93 = fpext float %82 to double
  %94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef %88, ptr noundef %92, double noundef %93)
  br label %97

95:                                               ; preds = %87, %80
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %129

97:                                               ; preds = %83, %89
  %98 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  %99 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %100 = invoke noundef float @_ZL17dot_product_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKfS6_(ptr noundef nonnull %32, ptr noundef nonnull %34, i64 noundef 4096, ptr noundef %98, ptr noundef %99)
          to label %101 unwind label %118

101:                                              ; preds = %97
  %102 = icmp eq i32 %56, 16
  br i1 %102, label %105, label %switch.early.test

switch.early.test:                                ; preds = %101
  switch i32 %.0104135, label %103 [
    i32 22, label %105
    i32 21, label %105
    i32 18, label %105
    i32 10, label %105
  ]

103:                                              ; preds = %switch.early.test
  %104 = select i1 %or.cond11, float 0x3FC3333340000000, float 0x3F947AE140000000
  br label %105

105:                                              ; preds = %switch.early.test, %switch.early.test, %switch.early.test, %switch.early.test, %101, %103
  %106 = phi float [ %104, %103 ], [ 0x3FA47AE140000000, %switch.early.test ], [ 0x3FA47AE140000000, %101 ], [ 0x3FA47AE140000000, %switch.early.test ], [ 0x3FA47AE140000000, %switch.early.test ], [ 0x3FA47AE140000000, %switch.early.test ]
  %107 = fcmp uge float %100, %106
  %108 = zext i1 %107 to i32
  %109 = add nsw i32 %86, %108
  %brmerge120 = or i1 %.not133, %107
  br i1 %brmerge120, label %110, label %122

110:                                              ; preds = %105
  %111 = invoke ptr @ggml_type_name(i32 noundef %.0104135)
          to label %112 unwind label %120

112:                                              ; preds = %110
  %113 = zext i1 %107 to i64
  %114 = getelementptr inbounds [2 x ptr], ptr @_ZL10RESULT_STR, i64 0, i64 %113
  %115 = load ptr, ptr %114, align 8, !tbaa !7
  %116 = fpext float %100 to double
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef %111, ptr noundef %115, double noundef %116)
  br label %122

118:                                              ; preds = %97
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %129

120:                                              ; preds = %110
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %129

122:                                              ; preds = %47, %49, %105, %112, %35
  %.2103 = phi i32 [ %.0101137, %35 ], [ %.0101137, %49 ], [ %.0101137, %47 ], [ %109, %105 ], [ %109, %112 ]
  %123 = add nuw nsw i32 %.0104135, 1
  %exitcond139.not = icmp eq i32 %123, 39
  br i1 %exitcond139.not, label %25, label %.preheader, !llvm.loop !19

124:                                              ; preds = %25
  %125 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6, i32 noundef %.2103)
  br label %126

126:                                              ; preds = %25, %124
  %127 = icmp sgt i32 %.2103, 0
  %128 = zext i1 %127 to i32
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  br label %132

129:                                              ; preds = %39, %74, %78, %118, %120, %95, %76, %41, %30
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %31, %30 ], [ %40, %39 ], [ %42, %41 ], [ %75, %74 ], [ %77, %76 ], [ %79, %78 ], [ %96, %95 ], [ %121, %120 ], [ %119, %118 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %130

130:                                              ; preds = %129, %28
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %129 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #7
  br label %131

131:                                              ; preds = %130, %26
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %130 ], [ %27, %26 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  br label %133

132:                                              ; preds = %.thread, %126
  %.1 = phi i32 [ %128, %126 ], [ 1, %.thread ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  ret i32 %.1

133:                                              ; preds = %131, %14
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %131 ], [ %15, %14 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nofree nounwind
declare noundef i32 @fprintf(ptr nocapture noundef, ptr nocapture noundef readonly, ...) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL13generate_datafmPf(float noundef, i64 noundef, ptr noundef) local_unnamed_addr #2

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

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

declare void @ggml_cpu_init() local_unnamed_addr #6

declare ptr @ggml_get_type_traits(i32 noundef) local_unnamed_addr #6

declare ptr @ggml_get_type_traits_cpu(i32 noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

declare ptr @ggml_type_name(i32 noundef) local_unnamed_addr #6

declare void @ggml_quantize_init(i32 noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL24total_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL28reference_quantization_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKf(ptr noundef, ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef float @_ZL17dot_product_errorPK16ggml_type_traitsPK20ggml_type_traits_cpumPKfS6_(ptr noundef, ptr noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #2 align 2

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

attributes #0 = { mustprogress norecurse 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree 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 #6 = { "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 = { cold 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!12, !13, i64 8}
!12 = !{!"_ZTS16ggml_type_traits", !8, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !14, i64 32, !8, i64 40, !8, i64 48}
!13 = !{!"long", !9, i64 0}
!14 = !{!"bool", !9, i64 0}
!15 = !{!16, !8, i64 0}
!16 = !{!"_ZTS20ggml_type_traits_cpu", !8, i64 0, !8, i64 8, !17, i64 16, !13, i64 24}
!17 = !{!"_ZTS9ggml_type", !9, i64 0}
!18 = !{!12, !8, i64 40}
!19 = distinct !{!19, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass