; LLVM IR from robotic-vision-lab/Cloud-Object-Recognition-Engine :: 3rdparty/libsvm (svm)

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

%struct.svm_model = type { %struct.svm_parameter, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.svm_parameter = type { i32, i32, i32, double, double, double, double, double, i32, ptr, ptr, double, double, i32, i32 }
%struct.svm_node = type { i32, double }

@stderr = external global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZL12max_line_len = external hidden global i32, align 4
@_ZL4line = external hidden global ptr, align 8
@.str.47 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [3 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: nounwind
declare void @free(ptr noundef) #1

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

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

declare noalias ptr @fopen(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare noalias ptr @strdup(ptr noundef) #1

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) #1

; Function Attrs: nounwind
declare i32 @ferror(ptr noundef) #1

declare i32 @fclose(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z17read_model_headerP8_IO_FILEP9svm_model(ptr noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local ptr @svm_load_model(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %20 = load ptr, ptr %3, align 8, !tbaa !5
  %21 = call noalias ptr @fopen(ptr noundef %20, ptr noundef @.str.45)
  store ptr %21, ptr %4, align 8, !tbaa !5
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %25

24:                                               ; preds = %1
  store ptr null, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %246

25:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %26 = call ptr @setlocale(i32 noundef 6, ptr noundef null) #5
  %27 = call noalias ptr @strdup(ptr noundef %26) #5
  store ptr %27, ptr %6, align 8, !tbaa !5
  %28 = call ptr @setlocale(i32 noundef 6, ptr noundef @.str.11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %29 = call noalias ptr @malloc(i64 noundef 184) #6
  store ptr %29, ptr %7, align 8, !tbaa !5
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.svm_model, ptr %30, i32 0, i32 5
  store ptr null, ptr %31, align 8, !tbaa !9
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.svm_model, ptr %32, i32 0, i32 6
  store ptr null, ptr %33, align 8, !tbaa !14
  %34 = load ptr, ptr %7, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.svm_model, ptr %34, i32 0, i32 7
  store ptr null, ptr %35, align 8, !tbaa !15
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.svm_model, ptr %36, i32 0, i32 8
  store ptr null, ptr %37, align 8, !tbaa !16
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.svm_model, ptr %38, i32 0, i32 9
  store ptr null, ptr %39, align 8, !tbaa !17
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.svm_model, ptr %40, i32 0, i32 10
  store ptr null, ptr %41, align 8, !tbaa !18
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = call noundef zeroext i1 @_Z17read_model_headerP8_IO_FILEP9svm_model(ptr noundef %42, ptr noundef %43)
  br i1 %44, label %61, label %45

45:                                               ; preds = %25
  %46 = load ptr, ptr @stderr, align 8, !tbaa !5
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.46) #5
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = call ptr @setlocale(i32 noundef 6, ptr noundef %48) #5
  %50 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %50) #5
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.svm_model, ptr %51, i32 0, i32 5
  %53 = load ptr, ptr %52, align 8, !tbaa !9
  call void @free(ptr noundef %53) #5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.svm_model, ptr %54, i32 0, i32 9
  %56 = load ptr, ptr %55, align 8, !tbaa !17
  call void @free(ptr noundef %56) #5
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.svm_model, ptr %57, i32 0, i32 10
  %59 = load ptr, ptr %58, align 8, !tbaa !18
  call void @free(ptr noundef %59) #5
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  call void @free(ptr noundef %60) #5
  store ptr null, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %245

61:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = call i64 @ftell(ptr noundef %62)
  store i64 %63, ptr %9, align 8, !tbaa !20
  store i32 1024, ptr @_ZL12max_line_len, align 4, !tbaa !19
  %64 = load i32, ptr @_ZL12max_line_len, align 4, !tbaa !19
  %65 = sext i32 %64 to i64
  %66 = mul i64 %65, 1
  %67 = call noalias ptr @malloc(i64 noundef %66) #6
  store ptr %67, ptr @_ZL4line, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  br label %68

68:                                               ; preds = %84, %61
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = call noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef %69)
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %85

72:                                               ; preds = %68
  %73 = load ptr, ptr @_ZL4line, align 8, !tbaa !5
  %74 = call ptr @strtok(ptr noundef %73, ptr noundef @.str.47) #5
  store ptr %74, ptr %10, align 8, !tbaa !5
  br label %75

75:                                               ; preds = %81, %72
  br label %76

76:                                               ; preds = %75
  %77 = call ptr @strtok(ptr noundef null, ptr noundef @.str.47) #5
  store ptr %77, ptr %10, align 8, !tbaa !5
  %78 = load ptr, ptr %10, align 8, !tbaa !5
  %79 = icmp eq ptr %78, null
  br i1 %79, label %80, label %81

80:                                               ; preds = %76
  br label %84

81:                                               ; preds = %76
  %82 = load i32, ptr %8, align 4, !tbaa !19
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %8, align 4, !tbaa !19
  br label %75, !llvm.loop !22

84:                                               ; preds = %80
  br label %68, !llvm.loop !24

85:                                               ; preds = %68
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.svm_model, ptr %86, i32 0, i32 2
  %88 = load i32, ptr %87, align 4, !tbaa !25
  %89 = load i32, ptr %8, align 4, !tbaa !19
  %90 = add nsw i32 %89, %88
  store i32 %90, ptr %8, align 4, !tbaa !19
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  %92 = load i64, ptr %9, align 8, !tbaa !20
  %93 = call i32 @fseek(ptr noundef %91, i64 noundef %92, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %94 = load ptr, ptr %7, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.svm_model, ptr %94, i32 0, i32 1
  %96 = load i32, ptr %95, align 8, !tbaa !26
  %97 = sub nsw i32 %96, 1
  store i32 %97, ptr %14, align 4, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.svm_model, ptr %98, i32 0, i32 2
  %100 = load i32, ptr %99, align 4, !tbaa !25
  store i32 %100, ptr %15, align 4, !tbaa !19
  %101 = load i32, ptr %14, align 4, !tbaa !19
  %102 = sext i32 %101 to i64
  %103 = mul i64 %102, 8
  %104 = call noalias ptr @malloc(i64 noundef %103) #6
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.svm_model, ptr %105, i32 0, i32 4
  store ptr %104, ptr %106, align 8, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !19
  br label %107

107:                                              ; preds = %122, %85
  %108 = load i32, ptr %16, align 4, !tbaa !19
  %109 = load i32, ptr %14, align 4, !tbaa !19
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %111, label %125

111:                                              ; preds = %107
  %112 = load i32, ptr %15, align 4, !tbaa !19
  %113 = sext i32 %112 to i64
  %114 = mul i64 %113, 8
  %115 = call noalias ptr @malloc(i64 noundef %114) #6
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.svm_model, ptr %116, i32 0, i32 4
  %118 = load ptr, ptr %117, align 8, !tbaa !27
  %119 = load i32, ptr %16, align 4, !tbaa !19
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds ptr, ptr %118, i64 %120
  store ptr %115, ptr %121, align 8, !tbaa !5
  br label %122

122:                                              ; preds = %111
  %123 = load i32, ptr %16, align 4, !tbaa !19
  %124 = add nsw i32 %123, 1
  store i32 %124, ptr %16, align 4, !tbaa !19
  br label %107, !llvm.loop !28

125:                                              ; preds = %107
  %126 = load i32, ptr %15, align 4, !tbaa !19
  %127 = sext i32 %126 to i64
  %128 = mul i64 %127, 8
  %129 = call noalias ptr @malloc(i64 noundef %128) #6
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.svm_model, ptr %130, i32 0, i32 3
  store ptr %129, ptr %131, align 8, !tbaa !29
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  store ptr null, ptr %17, align 8, !tbaa !5
  %132 = load i32, ptr %15, align 4, !tbaa !19
  %133 = icmp sgt i32 %132, 0
  br i1 %133, label %134, label %139

134:                                              ; preds = %125
  %135 = load i32, ptr %8, align 4, !tbaa !19
  %136 = sext i32 %135 to i64
  %137 = mul i64 %136, 16
  %138 = call noalias ptr @malloc(i64 noundef %137) #6
  store ptr %138, ptr %17, align 8, !tbaa !5
  br label %139

139:                                              ; preds = %134, %125
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  store i32 0, ptr %18, align 4, !tbaa !19
  store i32 0, ptr %16, align 4, !tbaa !19
  br label %140

140:                                              ; preds = %224, %139
  %141 = load i32, ptr %16, align 4, !tbaa !19
  %142 = load i32, ptr %15, align 4, !tbaa !19
  %143 = icmp slt i32 %141, %142
  br i1 %143, label %144, label %227

144:                                              ; preds = %140
  %145 = load ptr, ptr %4, align 8, !tbaa !5
  %146 = call noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef %145)
  %147 = load ptr, ptr %17, align 8, !tbaa !5
  %148 = load i32, ptr %18, align 4, !tbaa !19
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds %struct.svm_node, ptr %147, i64 %149
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.svm_model, ptr %151, i32 0, i32 3
  %153 = load ptr, ptr %152, align 8, !tbaa !29
  %154 = load i32, ptr %16, align 4, !tbaa !19
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds ptr, ptr %153, i64 %155
  store ptr %150, ptr %156, align 8, !tbaa !5
  %157 = load ptr, ptr @_ZL4line, align 8, !tbaa !5
  %158 = call ptr @strtok(ptr noundef %157, ptr noundef @.str.48) #5
  store ptr %158, ptr %10, align 8, !tbaa !5
  %159 = load ptr, ptr %10, align 8, !tbaa !5
  %160 = call double @strtod(ptr noundef %159, ptr noundef %11) #5
  %161 = load ptr, ptr %7, align 8, !tbaa !5
  %162 = getelementptr inbounds %struct.svm_model, ptr %161, i32 0, i32 4
  %163 = load ptr, ptr %162, align 8, !tbaa !27
  %164 = getelementptr inbounds ptr, ptr %163, i64 0
  %165 = load ptr, ptr %164, align 8, !tbaa !5
  %166 = load i32, ptr %16, align 4, !tbaa !19
  %167 = sext i32 %166 to i64
  %168 = getelementptr inbounds double, ptr %165, i64 %167
  store double %160, ptr %168, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 1, ptr %19, align 4, !tbaa !19
  br label %169

169:                                              ; preds = %188, %144
  %170 = load i32, ptr %19, align 4, !tbaa !19
  %171 = load i32, ptr %14, align 4, !tbaa !19
  %172 = icmp slt i32 %170, %171
  br i1 %172, label %174, label %173

173:                                              ; preds = %169
  store i32 12, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %191

174:                                              ; preds = %169
  %175 = call ptr @strtok(ptr noundef null, ptr noundef @.str.48) #5
  store ptr %175, ptr %10, align 8, !tbaa !5
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  %177 = call double @strtod(ptr noundef %176, ptr noundef %11) #5
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.svm_model, ptr %178, i32 0, i32 4
  %180 = load ptr, ptr %179, align 8, !tbaa !27
  %181 = load i32, ptr %19, align 4, !tbaa !19
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds ptr, ptr %180, i64 %182
  %184 = load ptr, ptr %183, align 8, !tbaa !5
  %185 = load i32, ptr %16, align 4, !tbaa !19
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %184, i64 %186
  store double %177, ptr %187, align 8, !tbaa !30
  br label %188

188:                                              ; preds = %174
  %189 = load i32, ptr %19, align 4, !tbaa !19
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %19, align 4, !tbaa !19
  br label %169, !llvm.loop !31

191:                                              ; preds = %173
  br label %192

192:                                              ; preds = %199, %191
  br label %193

193:                                              ; preds = %192
  %194 = call ptr @strtok(ptr noundef null, ptr noundef @.str.47) #5
  store ptr %194, ptr %12, align 8, !tbaa !5
  %195 = call ptr @strtok(ptr noundef null, ptr noundef @.str.48) #5
  store ptr %195, ptr %13, align 8, !tbaa !5
  %196 = load ptr, ptr %13, align 8, !tbaa !5
  %197 = icmp eq ptr %196, null
  br i1 %197, label %198, label %199

198:                                              ; preds = %193
  br label %217

199:                                              ; preds = %193
  %200 = load ptr, ptr %12, align 8, !tbaa !5
  %201 = call i64 @strtol(ptr noundef %200, ptr noundef %11, i32 noundef 10) #5
  %202 = trunc i64 %201 to i32
  %203 = load ptr, ptr %17, align 8, !tbaa !5
  %204 = load i32, ptr %18, align 4, !tbaa !19
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds %struct.svm_node, ptr %203, i64 %205
  %207 = getelementptr inbounds %struct.svm_node, ptr %206, i32 0, i32 0
  store i32 %202, ptr %207, align 8, !tbaa !32
  %208 = load ptr, ptr %13, align 8, !tbaa !5
  %209 = call double @strtod(ptr noundef %208, ptr noundef %11) #5
  %210 = load ptr, ptr %17, align 8, !tbaa !5
  %211 = load i32, ptr %18, align 4, !tbaa !19
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds %struct.svm_node, ptr %210, i64 %212
  %214 = getelementptr inbounds %struct.svm_node, ptr %213, i32 0, i32 1
  store double %209, ptr %214, align 8, !tbaa !34
  %215 = load i32, ptr %18, align 4, !tbaa !19
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %18, align 4, !tbaa !19
  br label %192, !llvm.loop !35

217:                                              ; preds = %198
  %218 = load ptr, ptr %17, align 8, !tbaa !5
  %219 = load i32, ptr %18, align 4, !tbaa !19
  %220 = add nsw i32 %219, 1
  store i32 %220, ptr %18, align 4, !tbaa !19
  %221 = sext i32 %219 to i64
  %222 = getelementptr inbounds %struct.svm_node, ptr %218, i64 %221
  %223 = getelementptr inbounds %struct.svm_node, ptr %222, i32 0, i32 0
  store i32 -1, ptr %223, align 8, !tbaa !32
  br label %224

224:                                              ; preds = %217
  %225 = load i32, ptr %16, align 4, !tbaa !19
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %16, align 4, !tbaa !19
  br label %140, !llvm.loop !36

227:                                              ; preds = %140
  %228 = load ptr, ptr @_ZL4line, align 8, !tbaa !5
  call void @free(ptr noundef %228) #5
  %229 = load ptr, ptr %6, align 8, !tbaa !5
  %230 = call ptr @setlocale(i32 noundef 6, ptr noundef %229) #5
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %231) #5
  %232 = load ptr, ptr %4, align 8, !tbaa !5
  %233 = call i32 @ferror(ptr noundef %232) #5
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %239, label %235

235:                                              ; preds = %227
  %236 = load ptr, ptr %4, align 8, !tbaa !5
  %237 = call i32 @fclose(ptr noundef %236)
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %240

239:                                              ; preds = %235, %227
  store ptr null, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %244

240:                                              ; preds = %235
  %241 = load ptr, ptr %7, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.svm_model, ptr %241, i32 0, i32 11
  store i32 1, ptr %242, align 8, !tbaa !37
  %243 = load ptr, ptr %7, align 8, !tbaa !5
  store ptr %243, ptr %2, align 8
  store i32 1, ptr %5, align 4
  br label %244

244:                                              ; preds = %240, %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %245

245:                                              ; preds = %244, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %246

246:                                              ; preds = %245, %24
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  %247 = load ptr, ptr %2, align 8
  ret ptr %247
}

declare i64 @ftell(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef) #4

; Function Attrs: nounwind
declare ptr @strtok(ptr noundef, ptr noundef) #1

declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #3

; Function Attrs: nounwind
declare double @strtod(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind
declare i64 @strtol(ptr noundef, ptr noundef, i32 noundef) #1

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

!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, !6, i64 128}
!10 = !{!"_ZTS9svm_model", !11, i64 0, !12, i64 104, !12, i64 108, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176}
!11 = !{!"_ZTS13svm_parameter", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !12, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 88, !12, i64 96, !12, i64 100}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!10, !6, i64 136}
!15 = !{!10, !6, i64 144}
!16 = !{!10, !6, i64 152}
!17 = !{!10, !6, i64 160}
!18 = !{!10, !6, i64 168}
!19 = !{!12, !12, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"long", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = !{!10, !12, i64 108}
!26 = !{!10, !12, i64 104}
!27 = !{!10, !6, i64 120}
!28 = distinct !{!28, !23}
!29 = !{!10, !6, i64 112}
!30 = !{!13, !13, i64 0}
!31 = distinct !{!31, !23}
!32 = !{!33, !12, i64 0}
!33 = !{!"_ZTS8svm_node", !12, i64 0, !13, i64 8}
!34 = !{!33, !13, i64 8}
!35 = distinct !{!35, !23}
!36 = distinct !{!36, !23}
!37 = !{!10, !12, i64 176}


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

%struct.svm_node = type { i32, double }

@stderr = external local_unnamed_addr global ptr, align 8
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [36 x i8], align 1
@_ZL12max_line_len = external hidden local_unnamed_addr global i32, align 4
@_ZL4line = external hidden local_unnamed_addr global ptr, align 8
@.str.47 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [3 x i8], align 1

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture 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

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

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias ptr @strdup(ptr nocapture noundef readonly) local_unnamed_addr #4

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: nofree nounwind memory(read)
declare noundef i32 @ferror(ptr nocapture noundef) local_unnamed_addr #6

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z17read_model_headerP8_IO_FILEP9svm_model(ptr noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @svm_load_model(ptr nocapture noundef readonly %0) local_unnamed_addr #7 {
  %2 = alloca ptr, align 8
  %3 = tail call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str.45)
  %4 = icmp eq ptr %3, null
  br i1 %4, label %100, label %5

5:                                                ; preds = %1
  %6 = tail call ptr @setlocale(i32 noundef 6, ptr noundef null) #10
  %7 = tail call noalias ptr @strdup(ptr noundef %6) #10
  %8 = tail call ptr @setlocale(i32 noundef 6, ptr noundef nonnull @.str.11) #10
  %9 = tail call noalias dereferenceable_or_null(184) ptr @malloc(i64 noundef 184) #11
  %10 = getelementptr inbounds i8, ptr %9, i64 128
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %10, i8 0, i64 48, i1 false)
  %11 = tail call noundef zeroext i1 @_Z17read_model_headerP8_IO_FILEP9svm_model(ptr noundef nonnull %3, ptr noundef %9)
  br i1 %11, label %21, label %12

12:                                               ; preds = %5
  %13 = getelementptr inbounds i8, ptr %9, i64 168
  %14 = getelementptr inbounds i8, ptr %9, i64 160
  %15 = load ptr, ptr @stderr, align 8, !tbaa !5
  %16 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %15, ptr noundef nonnull @.str.46) #12
  %17 = tail call ptr @setlocale(i32 noundef 6, ptr noundef %7) #10
  tail call void @free(ptr noundef %7) #10
  %18 = load ptr, ptr %10, align 8, !tbaa !9
  tail call void @free(ptr noundef %18) #10
  %19 = load ptr, ptr %14, align 8, !tbaa !14
  tail call void @free(ptr noundef %19) #10
  %20 = load ptr, ptr %13, align 8, !tbaa !15
  tail call void @free(ptr noundef %20) #10
  tail call void @free(ptr noundef nonnull %9) #10
  br label %100

21:                                               ; preds = %5
  %22 = tail call i64 @ftell(ptr noundef nonnull %3)
  store i32 1024, ptr @_ZL12max_line_len, align 4, !tbaa !16
  %23 = tail call noalias dereferenceable_or_null(1024) ptr @malloc(i64 noundef 1024) #11
  store ptr %23, ptr @_ZL4line, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #10
  %24 = tail call noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef nonnull %3)
  %.not85 = icmp eq ptr %24, null
  br i1 %.not85, label %._crit_edge, label %.lr.ph

.loopexit:                                        ; preds = %28
  %25 = tail call noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef nonnull %3)
  %.not = icmp eq ptr %25, null
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

.lr.ph:                                           ; preds = %21, %.loopexit
  %.07886 = phi i32 [ %.179, %.loopexit ], [ 0, %21 ]
  %26 = load ptr, ptr @_ZL4line, align 8, !tbaa !5
  %27 = tail call ptr @strtok(ptr noundef %26, ptr noundef nonnull @.str.47) #10
  br label %28

28:                                               ; preds = %28, %.lr.ph
  %.179 = phi i32 [ %.07886, %.lr.ph ], [ %31, %28 ]
  %29 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str.47) #10
  %30 = icmp eq ptr %29, null
  %31 = add nsw i32 %.179, 1
  br i1 %30, label %.loopexit, label %28, !llvm.loop !19

._crit_edge:                                      ; preds = %.loopexit, %21
  %.078.lcssa = phi i32 [ 0, %21 ], [ %.179, %.loopexit ]
  %32 = getelementptr inbounds i8, ptr %9, i64 108
  %33 = load i32, ptr %32, align 4, !tbaa !20
  %34 = add nsw i32 %33, %.078.lcssa
  %35 = tail call i32 @fseek(ptr noundef nonnull %3, i64 noundef %22, i32 noundef 0)
  %36 = getelementptr inbounds i8, ptr %9, i64 104
  %37 = load i32, ptr %36, align 8, !tbaa !21
  %38 = add nsw i32 %37, -1
  %39 = load i32, ptr %32, align 4, !tbaa !20
  %40 = sext i32 %38 to i64
  %41 = shl nsw i64 %40, 3
  %42 = tail call noalias ptr @malloc(i64 noundef %41) #11
  %43 = getelementptr inbounds i8, ptr %9, i64 120
  store ptr %42, ptr %43, align 8, !tbaa !22
  %44 = icmp sgt i32 %37, 1
  %45 = sext i32 %39 to i64
  %46 = shl nsw i64 %45, 3
  br i1 %44, label %.lr.ph89, label %._crit_edge90

.lr.ph89:                                         ; preds = %._crit_edge
  %wide.trip.count = zext nneg i32 %38 to i64
  br label %47

47:                                               ; preds = %.lr.ph89, %47
  %indvars.iv = phi i64 [ 0, %.lr.ph89 ], [ %indvars.iv.next, %47 ]
  %48 = tail call noalias ptr @malloc(i64 noundef %46) #11
  %49 = load ptr, ptr %43, align 8, !tbaa !22
  %50 = getelementptr inbounds ptr, ptr %49, i64 %indvars.iv
  store ptr %48, ptr %50, align 8, !tbaa !5
  %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_edge90, label %47, !llvm.loop !23

._crit_edge90:                                    ; preds = %47, %._crit_edge
  %51 = tail call noalias ptr @malloc(i64 noundef %46) #11
  %52 = getelementptr inbounds i8, ptr %9, i64 112
  store ptr %51, ptr %52, align 8, !tbaa !24
  %53 = icmp sgt i32 %39, 0
  br i1 %53, label %.lr.ph101, label %._crit_edge102

.lr.ph101:                                        ; preds = %._crit_edge90
  %54 = sext i32 %34 to i64
  %55 = shl nsw i64 %54, 4
  %56 = tail call noalias ptr @malloc(i64 noundef %55) #11
  %57 = icmp sgt i32 %37, 2
  %wide.trip.count115 = zext nneg i32 %39 to i64
  %wide.trip.count107 = zext nneg i32 %38 to i64
  br label %58

58:                                               ; preds = %.lr.ph101, %._crit_edge96
  %indvars.iv112 = phi i64 [ 0, %.lr.ph101 ], [ %indvars.iv.next113, %._crit_edge96 ]
  %.07299 = phi i32 [ 0, %.lr.ph101 ], [ %90, %._crit_edge96 ]
  %59 = tail call noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef nonnull %3)
  %60 = sext i32 %.07299 to i64
  %61 = getelementptr inbounds %struct.svm_node, ptr %56, i64 %60
  %62 = load ptr, ptr %52, align 8, !tbaa !24
  %63 = getelementptr inbounds ptr, ptr %62, i64 %indvars.iv112
  store ptr %61, ptr %63, align 8, !tbaa !5
  %64 = load ptr, ptr @_ZL4line, align 8, !tbaa !5
  %65 = tail call ptr @strtok(ptr noundef %64, ptr noundef nonnull @.str.48) #10
  %66 = call double @strtod(ptr noundef %65, ptr noundef nonnull %2) #10
  %67 = load ptr, ptr %43, align 8, !tbaa !22
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = getelementptr inbounds double, ptr %68, i64 %indvars.iv112
  store double %66, ptr %69, align 8, !tbaa !25
  br i1 %57, label %.lr.ph93, label %.preheader

.preheader:                                       ; preds = %.lr.ph93, %58
  %70 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str.47) #10
  %71 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str.48) #10
  %72 = icmp eq ptr %71, null
  br i1 %72, label %._crit_edge96, label %.lr.ph95

.lr.ph93:                                         ; preds = %58, %.lr.ph93
  %indvars.iv104 = phi i64 [ %indvars.iv.next105, %.lr.ph93 ], [ 1, %58 ]
  %73 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str.48) #10
  %74 = call double @strtod(ptr noundef %73, ptr noundef nonnull %2) #10
  %75 = load ptr, ptr %43, align 8, !tbaa !22
  %76 = getelementptr inbounds ptr, ptr %75, i64 %indvars.iv104
  %77 = load ptr, ptr %76, align 8, !tbaa !5
  %78 = getelementptr inbounds double, ptr %77, i64 %indvars.iv112
  store double %74, ptr %78, align 8, !tbaa !25
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %exitcond108.not = icmp eq i64 %indvars.iv.next105, %wide.trip.count107
  br i1 %exitcond108.not, label %.preheader, label %.lr.ph93, !llvm.loop !26

.lr.ph95:                                         ; preds = %.preheader, %.lr.ph95
  %indvars.iv109 = phi i64 [ %indvars.iv.next110, %.lr.ph95 ], [ %60, %.preheader ]
  %79 = phi ptr [ %87, %.lr.ph95 ], [ %71, %.preheader ]
  %80 = phi ptr [ %86, %.lr.ph95 ], [ %70, %.preheader ]
  %81 = call i64 @strtol(ptr noundef %80, ptr noundef nonnull %2, i32 noundef 10) #10
  %82 = trunc i64 %81 to i32
  %83 = getelementptr inbounds %struct.svm_node, ptr %56, i64 %indvars.iv109
  store i32 %82, ptr %83, align 8, !tbaa !27
  %84 = call double @strtod(ptr noundef nonnull %79, ptr noundef nonnull %2) #10
  %85 = getelementptr inbounds i8, ptr %83, i64 8
  store double %84, ptr %85, align 8, !tbaa !29
  %indvars.iv.next110 = add nsw i64 %indvars.iv109, 1
  %86 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str.47) #10
  %87 = tail call ptr @strtok(ptr noundef null, ptr noundef nonnull @.str.48) #10
  %88 = icmp eq ptr %87, null
  br i1 %88, label %._crit_edge96.loopexit, label %.lr.ph95, !llvm.loop !30

._crit_edge96.loopexit:                           ; preds = %.lr.ph95
  %89 = trunc nsw i64 %indvars.iv.next110 to i32
  %sext = shl i64 %indvars.iv.next110, 32
  %.pre = ashr exact i64 %sext, 32
  br label %._crit_edge96

._crit_edge96:                                    ; preds = %._crit_edge96.loopexit, %.preheader
  %.pre-phi = phi i64 [ %.pre, %._crit_edge96.loopexit ], [ %60, %.preheader ]
  %.1.lcssa = phi i32 [ %89, %._crit_edge96.loopexit ], [ %.07299, %.preheader ]
  %90 = add nsw i32 %.1.lcssa, 1
  %91 = getelementptr inbounds %struct.svm_node, ptr %56, i64 %.pre-phi
  store i32 -1, ptr %91, align 8, !tbaa !27
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %exitcond116.not = icmp eq i64 %indvars.iv.next113, %wide.trip.count115
  br i1 %exitcond116.not, label %._crit_edge102, label %58, !llvm.loop !31

._crit_edge102:                                   ; preds = %._crit_edge96, %._crit_edge90
  %92 = load ptr, ptr @_ZL4line, align 8, !tbaa !5
  tail call void @free(ptr noundef %92) #10
  %93 = tail call ptr @setlocale(i32 noundef 6, ptr noundef %7) #10
  tail call void @free(ptr noundef %7) #10
  %94 = tail call i32 @ferror(ptr noundef nonnull %3) #10
  %.not83 = icmp eq i32 %94, 0
  br i1 %.not83, label %95, label %99

95:                                               ; preds = %._crit_edge102
  %96 = tail call i32 @fclose(ptr noundef nonnull %3)
  %.not84 = icmp eq i32 %96, 0
  br i1 %.not84, label %97, label %99

97:                                               ; preds = %95
  %98 = getelementptr inbounds i8, ptr %9, i64 176
  store i32 1, ptr %98, align 8, !tbaa !32
  br label %99

99:                                               ; preds = %._crit_edge102, %95, %97
  %.076 = phi ptr [ %9, %97 ], [ null, %95 ], [ null, %._crit_edge102 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #10
  br label %100

100:                                              ; preds = %12, %99, %1
  %.2 = phi ptr [ null, %1 ], [ %.076, %99 ], [ null, %12 ]
  ret ptr %.2
}

; Function Attrs: nofree nounwind
declare noundef i64 @ftell(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden noundef ptr @_ZL8readlineP8_IO_FILE(ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nofree nounwind willreturn
declare ptr @strtok(ptr noundef, ptr nocapture noundef readonly) local_unnamed_addr #8

; Function Attrs: nofree nounwind
declare noundef i32 @fseek(ptr nocapture noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn
declare double @strtod(ptr noundef readonly, ptr nocapture noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn
declare i64 @strtol(ptr noundef readonly, ptr nocapture noundef, i32 noundef) local_unnamed_addr #8

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #9

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #3 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nofree nounwind memory(read) "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 = { 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 #8 = { mustprogress nofree nounwind willreturn "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 #9 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #10 = { nounwind }
attributes #11 = { nounwind allocsize(0) }
attributes #12 = { 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 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 128}
!10 = !{!"_ZTS9svm_model", !11, i64 0, !12, i64 104, !12, i64 108, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !12, i64 176}
!11 = !{!"_ZTS13svm_parameter", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !12, i64 56, !6, i64 64, !6, i64 72, !13, i64 80, !13, i64 88, !12, i64 96, !12, i64 100}
!12 = !{!"int", !7, i64 0}
!13 = !{!"double", !7, i64 0}
!14 = !{!10, !6, i64 160}
!15 = !{!10, !6, i64 168}
!16 = !{!12, !12, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!10, !12, i64 108}
!21 = !{!10, !12, i64 104}
!22 = !{!10, !6, i64 120}
!23 = distinct !{!23, !18}
!24 = !{!10, !6, i64 112}
!25 = !{!13, !13, i64 0}
!26 = distinct !{!26, !18}
!27 = !{!28, !12, i64 0}
!28 = !{!"_ZTS8svm_node", !12, i64 0, !13, i64 8}
!29 = !{!28, !13, i64 8}
!30 = distinct !{!30, !18}
!31 = distinct !{!31, !18}
!32 = !{!10, !12, i64 176}


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