; LLVM IR from simbody/simbody :: SimTKmath/Integrators/src/CPodes/sundials/tests (cpsNewtCrd_dns)

; 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.anon = type { double, double, double, double }
%struct._generic_N_Vector = type { ptr, ptr }
%struct._N_VectorContent_Serial = type { i64, i32, ptr }

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca [1 x i32], align 4
  %29 = alloca [1 x i32], align 4
  %30 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #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
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  store double 1.000000e-01, ptr %3, align 8, !tbaa !5
  store double 1.000000e+00, ptr %4, align 8, !tbaa !5
  store double 1.000000e+00, ptr %5, align 8, !tbaa !5
  store double 9.800000e+00, ptr %6, align 8, !tbaa !5
  store double 3.000000e+00, ptr %7, align 8, !tbaa !5
  %31 = call noalias ptr @malloc(i64 noundef 32) #6
  store ptr %31, ptr %2, align 8, !tbaa !9
  %32 = load double, ptr %3, align 8, !tbaa !5
  %33 = load ptr, ptr %2, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.anon, ptr %33, i32 0, i32 0
  store double %32, ptr %34, align 8, !tbaa !11
  %35 = load double, ptr %4, align 8, !tbaa !5
  %36 = load ptr, ptr %2, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.anon, ptr %36, i32 0, i32 1
  store double %35, ptr %37, align 8, !tbaa !13
  %38 = load double, ptr %5, align 8, !tbaa !5
  %39 = load ptr, ptr %2, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.anon, ptr %39, i32 0, i32 2
  store double %38, ptr %40, align 8, !tbaa !14
  %41 = load double, ptr %6, align 8, !tbaa !5
  %42 = load ptr, ptr %2, align 8, !tbaa !9
  %43 = getelementptr inbounds %struct.anon, ptr %42, i32 0, i32 3
  store double %41, ptr %43, align 8, !tbaa !15
  store i32 8, ptr %26, align 4, !tbaa !16
  store i32 4, ptr %27, align 4, !tbaa !16
  %44 = load i32, ptr %26, align 4, !tbaa !16
  %45 = sext i32 %44 to i64
  %46 = call ptr @N_VNew_Serial(i64 noundef %45)
  store ptr %46, ptr %9, align 8, !tbaa !9
  %47 = load i32, ptr %26, align 4, !tbaa !16
  %48 = sext i32 %47 to i64
  %49 = call ptr @N_VNew_Serial(i64 noundef %48)
  store ptr %49, ptr %10, align 8, !tbaa !9
  store double 0.000000e+00, ptr %14, align 8, !tbaa !5
  store double 6.000000e+00, ptr %15, align 8, !tbaa !5
  store double 1.000000e-08, ptr %12, align 8, !tbaa !5
  store double 1.000000e-08, ptr %13, align 8, !tbaa !5
  %50 = load i32, ptr %27, align 4, !tbaa !16
  %51 = sext i32 %50 to i64
  %52 = call ptr @N_VNew_Serial(i64 noundef %51)
  store ptr %52, ptr %11, align 8, !tbaa !9
  %53 = load ptr, ptr %11, align 8, !tbaa !9
  call void @N_VConst(double noundef 1.000000e-08, ptr noundef %53)
  %54 = getelementptr inbounds [1 x i32], ptr %28, i64 0, i64 0
  store i32 -1, ptr %54, align 4, !tbaa !16
  %55 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %55, ptr %30, align 8, !tbaa !9
  %56 = load double, ptr %3, align 8, !tbaa !5
  %57 = load ptr, ptr %9, align 8, !tbaa !9
  %58 = getelementptr inbounds %struct._generic_N_Vector, ptr %57, i32 0, i32 0
  %59 = load ptr, ptr %58, align 8, !tbaa !18
  %60 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %59, i32 0, i32 2
  %61 = load ptr, ptr %60, align 8, !tbaa !20
  %62 = getelementptr inbounds double, ptr %61, i64 0
  store double %56, ptr %62, align 8, !tbaa !5
  %63 = load double, ptr %3, align 8, !tbaa !5
  %64 = fneg double %63
  %65 = load ptr, ptr %9, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct._generic_N_Vector, ptr %65, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !18
  %68 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %67, i32 0, i32 2
  %69 = load ptr, ptr %68, align 8, !tbaa !20
  %70 = getelementptr inbounds double, ptr %69, i64 4
  store double %64, ptr %70, align 8, !tbaa !5
  %71 = load double, ptr %4, align 8, !tbaa !5
  %72 = fneg double %71
  %73 = load ptr, ptr %9, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct._generic_N_Vector, ptr %73, i32 0, i32 0
  %75 = load ptr, ptr %74, align 8, !tbaa !18
  %76 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %75, i32 0, i32 2
  %77 = load ptr, ptr %76, align 8, !tbaa !20
  %78 = getelementptr inbounds double, ptr %77, i64 1
  store double %72, ptr %78, align 8, !tbaa !5
  %79 = load double, ptr %4, align 8, !tbaa !5
  %80 = fneg double %79
  %81 = load ptr, ptr %9, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct._generic_N_Vector, ptr %81, i32 0, i32 0
  %83 = load ptr, ptr %82, align 8, !tbaa !18
  %84 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %83, i32 0, i32 2
  %85 = load ptr, ptr %84, align 8, !tbaa !20
  %86 = getelementptr inbounds double, ptr %85, i64 5
  store double %80, ptr %86, align 8, !tbaa !5
  %87 = load double, ptr %7, align 8, !tbaa !5
  %88 = load ptr, ptr %9, align 8, !tbaa !9
  %89 = getelementptr inbounds %struct._generic_N_Vector, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !18
  %91 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %90, i32 0, i32 2
  %92 = load ptr, ptr %91, align 8, !tbaa !20
  %93 = getelementptr inbounds double, ptr %92, i64 2
  store double %87, ptr %93, align 8, !tbaa !5
  %94 = load ptr, ptr %9, align 8, !tbaa !9
  %95 = getelementptr inbounds %struct._generic_N_Vector, ptr %94, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8, !tbaa !18
  %97 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %96, i32 0, i32 2
  %98 = load ptr, ptr %97, align 8, !tbaa !20
  %99 = getelementptr inbounds double, ptr %98, i64 6
  store double 0.000000e+00, ptr %99, align 8, !tbaa !5
  %100 = load ptr, ptr %9, align 8, !tbaa !9
  %101 = getelementptr inbounds %struct._generic_N_Vector, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !18
  %103 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %102, i32 0, i32 2
  %104 = load ptr, ptr %103, align 8, !tbaa !20
  %105 = getelementptr inbounds double, ptr %104, i64 3
  store double 0.000000e+00, ptr %105, align 8, !tbaa !5
  %106 = load ptr, ptr %9, align 8, !tbaa !9
  %107 = getelementptr inbounds %struct._generic_N_Vector, ptr %106, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8, !tbaa !18
  %109 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %108, i32 0, i32 2
  %110 = load ptr, ptr %109, align 8, !tbaa !20
  %111 = getelementptr inbounds double, ptr %110, i64 7
  store double 0.000000e+00, ptr %111, align 8, !tbaa !5
  %112 = call ptr @CPodeCreate(i32 noundef 1, i32 noundef 2, i32 noundef 2)
  store ptr %112, ptr %8, align 8, !tbaa !9
  %113 = load ptr, ptr %8, align 8, !tbaa !9
  %114 = load ptr, ptr %2, align 8, !tbaa !9
  %115 = load double, ptr %14, align 8, !tbaa !5
  %116 = load ptr, ptr %9, align 8, !tbaa !9
  %117 = load ptr, ptr %10, align 8, !tbaa !9
  %118 = load double, ptr %12, align 8, !tbaa !5
  %119 = call i32 @CPodeInit(ptr noundef %113, ptr noundef @ffun1, ptr noundef %114, double noundef %115, ptr noundef %116, ptr noundef %117, i32 noundef 1, double noundef %118, ptr noundef %13)
  store i32 %119, ptr %25, align 4, !tbaa !16
  %120 = load ptr, ptr %8, align 8, !tbaa !9
  %121 = load i32, ptr %26, align 4, !tbaa !16
  %122 = call i32 @CPDense(ptr noundef %120, i32 noundef %121)
  store i32 %122, ptr %25, align 4, !tbaa !16
  %123 = load ptr, ptr %8, align 8, !tbaa !9
  %124 = load ptr, ptr %2, align 8, !tbaa !9
  %125 = call i32 @CPodeRootInit(ptr noundef %123, i32 noundef 1, ptr noundef @gfun, ptr noundef %124)
  store i32 %125, ptr %25, align 4, !tbaa !16
  %126 = load ptr, ptr %8, align 8, !tbaa !9
  %127 = getelementptr inbounds [1 x i32], ptr %28, i64 0, i64 0
  %128 = call i32 @CPodeSetRootDirection(ptr noundef %126, ptr noundef %127)
  store i32 %128, ptr %25, align 4, !tbaa !16
  %129 = load ptr, ptr %8, align 8, !tbaa !9
  %130 = load ptr, ptr %2, align 8, !tbaa !9
  %131 = load ptr, ptr %11, align 8, !tbaa !9
  %132 = call i32 @CPodeProjInit(ptr noundef %129, i32 noundef 1, i32 noundef 2, ptr noundef @cfun, ptr noundef %130, ptr noundef %131)
  store i32 %132, ptr %25, align 4, !tbaa !16
  %133 = load ptr, ptr %8, align 8, !tbaa !9
  %134 = call i32 @CPodeSetProjTestCnstr(ptr noundef %133, i32 noundef 1)
  store i32 %134, ptr %25, align 4, !tbaa !16
  %135 = load ptr, ptr %8, align 8, !tbaa !9
  %136 = load i32, ptr %27, align 4, !tbaa !16
  %137 = load i32, ptr %26, align 4, !tbaa !16
  %138 = call i32 @CPDenseProj(ptr noundef %135, i32 noundef %136, i32 noundef %137, i32 noundef 1)
  store i32 %138, ptr %25, align 4, !tbaa !16
  %139 = load double, ptr %14, align 8, !tbaa !5
  store double %139, ptr %16, align 8, !tbaa !5
  br label %140

140:                                              ; preds = %248, %0
  %141 = load double, ptr %16, align 8, !tbaa !5
  %142 = load double, ptr %15, align 8, !tbaa !5
  %143 = fcmp olt double %141, %142
  br i1 %143, label %144, label %249

144:                                              ; preds = %140
  %145 = load ptr, ptr %8, align 8, !tbaa !9
  %146 = load double, ptr %15, align 8, !tbaa !5
  %147 = load ptr, ptr %9, align 8, !tbaa !9
  %148 = load ptr, ptr %10, align 8, !tbaa !9
  %149 = call i32 @CPode(ptr noundef %145, double noundef %146, ptr noundef %16, ptr noundef %147, ptr noundef %148, i32 noundef 2)
  store i32 %149, ptr %25, align 4, !tbaa !16
  %150 = load i32, ptr %25, align 4, !tbaa !16
  %151 = icmp slt i32 %150, 0
  br i1 %151, label %152, label %153

152:                                              ; preds = %144
  br label %249

153:                                              ; preds = %144
  %154 = load ptr, ptr %9, align 8, !tbaa !9
  %155 = getelementptr inbounds %struct._generic_N_Vector, ptr %154, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8, !tbaa !18
  %157 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %156, i32 0, i32 2
  %158 = load ptr, ptr %157, align 8, !tbaa !20
  %159 = getelementptr inbounds double, ptr %158, i64 0
  %160 = load double, ptr %159, align 8, !tbaa !5
  store double %160, ptr %17, align 8, !tbaa !5
  %161 = load ptr, ptr %9, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct._generic_N_Vector, ptr %161, i32 0, i32 0
  %163 = load ptr, ptr %162, align 8, !tbaa !18
  %164 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %163, i32 0, i32 2
  %165 = load ptr, ptr %164, align 8, !tbaa !20
  %166 = getelementptr inbounds double, ptr %165, i64 4
  %167 = load double, ptr %166, align 8, !tbaa !5
  store double %167, ptr %19, align 8, !tbaa !5
  %168 = load ptr, ptr %9, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct._generic_N_Vector, ptr %168, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8, !tbaa !18
  %171 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %170, i32 0, i32 2
  %172 = load ptr, ptr %171, align 8, !tbaa !20
  %173 = getelementptr inbounds double, ptr %172, i64 1
  %174 = load double, ptr %173, align 8, !tbaa !5
  store double %174, ptr %18, align 8, !tbaa !5
  %175 = load ptr, ptr %9, align 8, !tbaa !9
  %176 = getelementptr inbounds %struct._generic_N_Vector, ptr %175, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8, !tbaa !18
  %178 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %177, i32 0, i32 2
  %179 = load ptr, ptr %178, align 8, !tbaa !20
  %180 = getelementptr inbounds double, ptr %179, i64 5
  %181 = load double, ptr %180, align 8, !tbaa !5
  store double %181, ptr %20, align 8, !tbaa !5
  %182 = load ptr, ptr %9, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct._generic_N_Vector, ptr %182, i32 0, i32 0
  %184 = load ptr, ptr %183, align 8, !tbaa !18
  %185 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %184, i32 0, i32 2
  %186 = load ptr, ptr %185, align 8, !tbaa !20
  %187 = getelementptr inbounds double, ptr %186, i64 2
  %188 = load double, ptr %187, align 8, !tbaa !5
  store double %188, ptr %21, align 8, !tbaa !5
  %189 = load ptr, ptr %9, align 8, !tbaa !9
  %190 = getelementptr inbounds %struct._generic_N_Vector, ptr %189, i32 0, i32 0
  %191 = load ptr, ptr %190, align 8, !tbaa !18
  %192 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %191, i32 0, i32 2
  %193 = load ptr, ptr %192, align 8, !tbaa !20
  %194 = getelementptr inbounds double, ptr %193, i64 6
  %195 = load double, ptr %194, align 8, !tbaa !5
  store double %195, ptr %23, align 8, !tbaa !5
  %196 = load ptr, ptr %9, align 8, !tbaa !9
  %197 = getelementptr inbounds %struct._generic_N_Vector, ptr %196, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8, !tbaa !18
  %199 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %198, i32 0, i32 2
  %200 = load ptr, ptr %199, align 8, !tbaa !20
  %201 = getelementptr inbounds double, ptr %200, i64 3
  %202 = load double, ptr %201, align 8, !tbaa !5
  store double %202, ptr %22, align 8, !tbaa !5
  %203 = load ptr, ptr %9, align 8, !tbaa !9
  %204 = getelementptr inbounds %struct._generic_N_Vector, ptr %203, i32 0, i32 0
  %205 = load ptr, ptr %204, align 8, !tbaa !18
  %206 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %205, i32 0, i32 2
  %207 = load ptr, ptr %206, align 8, !tbaa !20
  %208 = getelementptr inbounds double, ptr %207, i64 7
  %209 = load double, ptr %208, align 8, !tbaa !5
  store double %209, ptr %24, align 8, !tbaa !5
  %210 = load ptr, ptr %30, align 8, !tbaa !9
  %211 = load double, ptr %16, align 8, !tbaa !5
  %212 = load double, ptr %17, align 8, !tbaa !5
  %213 = load double, ptr %18, align 8, !tbaa !5
  %214 = load double, ptr %19, align 8, !tbaa !5
  %215 = load double, ptr %20, align 8, !tbaa !5
  %216 = load double, ptr %21, align 8, !tbaa !5
  %217 = load double, ptr %22, align 8, !tbaa !5
  %218 = load double, ptr %23, align 8, !tbaa !5
  %219 = load double, ptr %24, align 8, !tbaa !5
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %210, ptr noundef @.str.2, double noundef %211, double noundef %212, double noundef %213, double noundef %214, double noundef %215, double noundef %216, double noundef %217, double noundef %218, double noundef %219) #5
  %221 = load i32, ptr %25, align 4, !tbaa !16
  %222 = icmp eq i32 %221, 2
  br i1 %222, label %223, label %245

223:                                              ; preds = %153
  %224 = load ptr, ptr %8, align 8, !tbaa !9
  %225 = getelementptr inbounds [1 x i32], ptr %29, i64 0, i64 0
  %226 = call i32 @CPodeGetRootInfo(ptr noundef %224, ptr noundef %225)
  %227 = load ptr, ptr %30, align 8, !tbaa !9
  %228 = getelementptr inbounds [1 x i32], ptr %29, i64 0, i64 0
  %229 = load i32, ptr %228, align 4, !tbaa !16
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.3, i32 noundef %229) #5
  %231 = getelementptr inbounds [1 x i32], ptr %29, i64 0, i64 0
  %232 = load i32, ptr %231, align 4, !tbaa !16
  %233 = icmp slt i32 %232, 0
  br i1 %233, label %234, label %244

234:                                              ; preds = %223
  %235 = load ptr, ptr %9, align 8, !tbaa !9
  %236 = load ptr, ptr %2, align 8, !tbaa !9
  call void @contact(ptr noundef %235, ptr noundef %236)
  %237 = load ptr, ptr %8, align 8, !tbaa !9
  %238 = load ptr, ptr %2, align 8, !tbaa !9
  %239 = load double, ptr %16, align 8, !tbaa !5
  %240 = load ptr, ptr %9, align 8, !tbaa !9
  %241 = load ptr, ptr %10, align 8, !tbaa !9
  %242 = load double, ptr %12, align 8, !tbaa !5
  %243 = call i32 @CPodeReInit(ptr noundef %237, ptr noundef @ffun1, ptr noundef %238, double noundef %239, ptr noundef %240, ptr noundef %241, i32 noundef 1, double noundef %242, ptr noundef %13)
  store i32 %243, ptr %25, align 4, !tbaa !16
  br label %244

244:                                              ; preds = %234, %223
  br label %248

245:                                              ; preds = %153
  %246 = load ptr, ptr %30, align 8, !tbaa !9
  %247 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %246, ptr noundef @.str.4) #5
  br label %248

248:                                              ; preds = %245, %244
  br label %140, !llvm.loop !23

249:                                              ; preds = %152, %140
  %250 = load ptr, ptr %8, align 8, !tbaa !9
  call void @PrintFinalStats(ptr noundef %250)
  call void @CPodeFree(ptr noundef %8)
  %251 = load ptr, ptr %30, align 8, !tbaa !9
  %252 = call i32 @fclose(ptr noundef %251)
  %253 = call noalias ptr @fopen(ptr noundef @.str.5, ptr noundef @.str.1)
  store ptr %253, ptr %30, align 8, !tbaa !9
  %254 = load double, ptr %3, align 8, !tbaa !5
  %255 = load ptr, ptr %9, align 8, !tbaa !9
  %256 = getelementptr inbounds %struct._generic_N_Vector, ptr %255, i32 0, i32 0
  %257 = load ptr, ptr %256, align 8, !tbaa !18
  %258 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %257, i32 0, i32 2
  %259 = load ptr, ptr %258, align 8, !tbaa !20
  %260 = getelementptr inbounds double, ptr %259, i64 0
  store double %254, ptr %260, align 8, !tbaa !5
  %261 = load double, ptr %3, align 8, !tbaa !5
  %262 = fneg double %261
  %263 = load ptr, ptr %9, align 8, !tbaa !9
  %264 = getelementptr inbounds %struct._generic_N_Vector, ptr %263, i32 0, i32 0
  %265 = load ptr, ptr %264, align 8, !tbaa !18
  %266 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %265, i32 0, i32 2
  %267 = load ptr, ptr %266, align 8, !tbaa !20
  %268 = getelementptr inbounds double, ptr %267, i64 4
  store double %262, ptr %268, align 8, !tbaa !5
  %269 = load double, ptr %4, align 8, !tbaa !5
  %270 = fneg double %269
  %271 = load ptr, ptr %9, align 8, !tbaa !9
  %272 = getelementptr inbounds %struct._generic_N_Vector, ptr %271, i32 0, i32 0
  %273 = load ptr, ptr %272, align 8, !tbaa !18
  %274 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %273, i32 0, i32 2
  %275 = load ptr, ptr %274, align 8, !tbaa !20
  %276 = getelementptr inbounds double, ptr %275, i64 1
  store double %270, ptr %276, align 8, !tbaa !5
  %277 = load double, ptr %4, align 8, !tbaa !5
  %278 = fneg double %277
  %279 = load ptr, ptr %9, align 8, !tbaa !9
  %280 = getelementptr inbounds %struct._generic_N_Vector, ptr %279, i32 0, i32 0
  %281 = load ptr, ptr %280, align 8, !tbaa !18
  %282 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %281, i32 0, i32 2
  %283 = load ptr, ptr %282, align 8, !tbaa !20
  %284 = getelementptr inbounds double, ptr %283, i64 5
  store double %278, ptr %284, align 8, !tbaa !5
  %285 = load ptr, ptr %9, align 8, !tbaa !9
  %286 = getelementptr inbounds %struct._generic_N_Vector, ptr %285, i32 0, i32 0
  %287 = load ptr, ptr %286, align 8, !tbaa !18
  %288 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %287, i32 0, i32 2
  %289 = load ptr, ptr %288, align 8, !tbaa !20
  %290 = getelementptr inbounds double, ptr %289, i64 2
  store double 0.000000e+00, ptr %290, align 8, !tbaa !5
  %291 = load ptr, ptr %9, align 8, !tbaa !9
  %292 = getelementptr inbounds %struct._generic_N_Vector, ptr %291, i32 0, i32 0
  %293 = load ptr, ptr %292, align 8, !tbaa !18
  %294 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %293, i32 0, i32 2
  %295 = load ptr, ptr %294, align 8, !tbaa !20
  %296 = getelementptr inbounds double, ptr %295, i64 6
  store double 0.000000e+00, ptr %296, align 8, !tbaa !5
  %297 = load ptr, ptr %9, align 8, !tbaa !9
  %298 = getelementptr inbounds %struct._generic_N_Vector, ptr %297, i32 0, i32 0
  %299 = load ptr, ptr %298, align 8, !tbaa !18
  %300 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %299, i32 0, i32 2
  %301 = load ptr, ptr %300, align 8, !tbaa !20
  %302 = getelementptr inbounds double, ptr %301, i64 3
  store double 0.000000e+00, ptr %302, align 8, !tbaa !5
  %303 = load ptr, ptr %9, align 8, !tbaa !9
  %304 = getelementptr inbounds %struct._generic_N_Vector, ptr %303, i32 0, i32 0
  %305 = load ptr, ptr %304, align 8, !tbaa !18
  %306 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %305, i32 0, i32 2
  %307 = load ptr, ptr %306, align 8, !tbaa !20
  %308 = getelementptr inbounds double, ptr %307, i64 7
  store double 0.000000e+00, ptr %308, align 8, !tbaa !5
  %309 = call ptr @CPodeCreate(i32 noundef 1, i32 noundef 2, i32 noundef 2)
  store ptr %309, ptr %8, align 8, !tbaa !9
  %310 = load ptr, ptr %8, align 8, !tbaa !9
  %311 = load ptr, ptr %2, align 8, !tbaa !9
  %312 = load double, ptr %14, align 8, !tbaa !5
  %313 = load ptr, ptr %9, align 8, !tbaa !9
  %314 = load ptr, ptr %10, align 8, !tbaa !9
  %315 = load double, ptr %12, align 8, !tbaa !5
  %316 = call i32 @CPodeInit(ptr noundef %310, ptr noundef @ffun2, ptr noundef %311, double noundef %312, ptr noundef %313, ptr noundef %314, i32 noundef 1, double noundef %315, ptr noundef %13)
  store i32 %316, ptr %25, align 4, !tbaa !16
  %317 = load ptr, ptr %8, align 8, !tbaa !9
  %318 = load i32, ptr %26, align 4, !tbaa !16
  %319 = call i32 @CPDense(ptr noundef %317, i32 noundef %318)
  store i32 %319, ptr %25, align 4, !tbaa !16
  %320 = load ptr, ptr %8, align 8, !tbaa !9
  %321 = load ptr, ptr %2, align 8, !tbaa !9
  %322 = call i32 @CPodeRootInit(ptr noundef %320, i32 noundef 1, ptr noundef @gfun, ptr noundef %321)
  store i32 %322, ptr %25, align 4, !tbaa !16
  %323 = load ptr, ptr %8, align 8, !tbaa !9
  %324 = getelementptr inbounds [1 x i32], ptr %28, i64 0, i64 0
  %325 = call i32 @CPodeSetRootDirection(ptr noundef %323, ptr noundef %324)
  store i32 %325, ptr %25, align 4, !tbaa !16
  %326 = load ptr, ptr %8, align 8, !tbaa !9
  %327 = load ptr, ptr %2, align 8, !tbaa !9
  %328 = load ptr, ptr %11, align 8, !tbaa !9
  %329 = call i32 @CPodeProjInit(ptr noundef %326, i32 noundef 1, i32 noundef 2, ptr noundef @cfun, ptr noundef %327, ptr noundef %328)
  store i32 %329, ptr %25, align 4, !tbaa !16
  %330 = load ptr, ptr %8, align 8, !tbaa !9
  %331 = call i32 @CPodeSetProjTestCnstr(ptr noundef %330, i32 noundef 1)
  store i32 %331, ptr %25, align 4, !tbaa !16
  %332 = load ptr, ptr %8, align 8, !tbaa !9
  %333 = load i32, ptr %27, align 4, !tbaa !16
  %334 = load i32, ptr %26, align 4, !tbaa !16
  %335 = call i32 @CPDenseProj(ptr noundef %332, i32 noundef %333, i32 noundef %334, i32 noundef 1)
  store i32 %335, ptr %25, align 4, !tbaa !16
  %336 = load double, ptr %14, align 8, !tbaa !5
  store double %336, ptr %16, align 8, !tbaa !5
  br label %337

337:                                              ; preds = %445, %249
  %338 = load double, ptr %16, align 8, !tbaa !5
  %339 = load double, ptr %15, align 8, !tbaa !5
  %340 = fcmp olt double %338, %339
  br i1 %340, label %341, label %446

341:                                              ; preds = %337
  %342 = load ptr, ptr %8, align 8, !tbaa !9
  %343 = load double, ptr %15, align 8, !tbaa !5
  %344 = load ptr, ptr %9, align 8, !tbaa !9
  %345 = load ptr, ptr %10, align 8, !tbaa !9
  %346 = call i32 @CPode(ptr noundef %342, double noundef %343, ptr noundef %16, ptr noundef %344, ptr noundef %345, i32 noundef 2)
  store i32 %346, ptr %25, align 4, !tbaa !16
  %347 = load i32, ptr %25, align 4, !tbaa !16
  %348 = icmp slt i32 %347, 0
  br i1 %348, label %349, label %350

349:                                              ; preds = %341
  br label %446

350:                                              ; preds = %341
  %351 = load ptr, ptr %9, align 8, !tbaa !9
  %352 = getelementptr inbounds %struct._generic_N_Vector, ptr %351, i32 0, i32 0
  %353 = load ptr, ptr %352, align 8, !tbaa !18
  %354 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %353, i32 0, i32 2
  %355 = load ptr, ptr %354, align 8, !tbaa !20
  %356 = getelementptr inbounds double, ptr %355, i64 0
  %357 = load double, ptr %356, align 8, !tbaa !5
  store double %357, ptr %17, align 8, !tbaa !5
  %358 = load ptr, ptr %9, align 8, !tbaa !9
  %359 = getelementptr inbounds %struct._generic_N_Vector, ptr %358, i32 0, i32 0
  %360 = load ptr, ptr %359, align 8, !tbaa !18
  %361 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %360, i32 0, i32 2
  %362 = load ptr, ptr %361, align 8, !tbaa !20
  %363 = getelementptr inbounds double, ptr %362, i64 4
  %364 = load double, ptr %363, align 8, !tbaa !5
  store double %364, ptr %19, align 8, !tbaa !5
  %365 = load ptr, ptr %9, align 8, !tbaa !9
  %366 = getelementptr inbounds %struct._generic_N_Vector, ptr %365, i32 0, i32 0
  %367 = load ptr, ptr %366, align 8, !tbaa !18
  %368 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %367, i32 0, i32 2
  %369 = load ptr, ptr %368, align 8, !tbaa !20
  %370 = getelementptr inbounds double, ptr %369, i64 1
  %371 = load double, ptr %370, align 8, !tbaa !5
  store double %371, ptr %18, align 8, !tbaa !5
  %372 = load ptr, ptr %9, align 8, !tbaa !9
  %373 = getelementptr inbounds %struct._generic_N_Vector, ptr %372, i32 0, i32 0
  %374 = load ptr, ptr %373, align 8, !tbaa !18
  %375 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %374, i32 0, i32 2
  %376 = load ptr, ptr %375, align 8, !tbaa !20
  %377 = getelementptr inbounds double, ptr %376, i64 5
  %378 = load double, ptr %377, align 8, !tbaa !5
  store double %378, ptr %20, align 8, !tbaa !5
  %379 = load ptr, ptr %9, align 8, !tbaa !9
  %380 = getelementptr inbounds %struct._generic_N_Vector, ptr %379, i32 0, i32 0
  %381 = load ptr, ptr %380, align 8, !tbaa !18
  %382 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %381, i32 0, i32 2
  %383 = load ptr, ptr %382, align 8, !tbaa !20
  %384 = getelementptr inbounds double, ptr %383, i64 2
  %385 = load double, ptr %384, align 8, !tbaa !5
  store double %385, ptr %21, align 8, !tbaa !5
  %386 = load ptr, ptr %9, align 8, !tbaa !9
  %387 = getelementptr inbounds %struct._generic_N_Vector, ptr %386, i32 0, i32 0
  %388 = load ptr, ptr %387, align 8, !tbaa !18
  %389 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %388, i32 0, i32 2
  %390 = load ptr, ptr %389, align 8, !tbaa !20
  %391 = getelementptr inbounds double, ptr %390, i64 6
  %392 = load double, ptr %391, align 8, !tbaa !5
  store double %392, ptr %23, align 8, !tbaa !5
  %393 = load ptr, ptr %9, align 8, !tbaa !9
  %394 = getelementptr inbounds %struct._generic_N_Vector, ptr %393, i32 0, i32 0
  %395 = load ptr, ptr %394, align 8, !tbaa !18
  %396 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %395, i32 0, i32 2
  %397 = load ptr, ptr %396, align 8, !tbaa !20
  %398 = getelementptr inbounds double, ptr %397, i64 3
  %399 = load double, ptr %398, align 8, !tbaa !5
  store double %399, ptr %22, align 8, !tbaa !5
  %400 = load ptr, ptr %9, align 8, !tbaa !9
  %401 = getelementptr inbounds %struct._generic_N_Vector, ptr %400, i32 0, i32 0
  %402 = load ptr, ptr %401, align 8, !tbaa !18
  %403 = getelementptr inbounds %struct._N_VectorContent_Serial, ptr %402, i32 0, i32 2
  %404 = load ptr, ptr %403, align 8, !tbaa !20
  %405 = getelementptr inbounds double, ptr %404, i64 7
  %406 = load double, ptr %405, align 8, !tbaa !5
  store double %406, ptr %24, align 8, !tbaa !5
  %407 = load ptr, ptr %30, align 8, !tbaa !9
  %408 = load double, ptr %16, align 8, !tbaa !5
  %409 = load double, ptr %17, align 8, !tbaa !5
  %410 = load double, ptr %18, align 8, !tbaa !5
  %411 = load double, ptr %19, align 8, !tbaa !5
  %412 = load double, ptr %20, align 8, !tbaa !5
  %413 = load double, ptr %21, align 8, !tbaa !5
  %414 = load double, ptr %22, align 8, !tbaa !5
  %415 = load double, ptr %23, align 8, !tbaa !5
  %416 = load double, ptr %24, align 8, !tbaa !5
  %417 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %407, ptr noundef @.str.2, double noundef %408, double noundef %409, double noundef %410, double noundef %411, double noundef %412, double noundef %413, double noundef %414, double noundef %415, double noundef %416) #5
  %418 = load i32, ptr %25, align 4, !tbaa !16
  %419 = icmp eq i32 %418, 2
  br i1 %419, label %420, label %442

420:                                              ; preds = %350
  %421 = load ptr, ptr %8, align 8, !tbaa !9
  %422 = getelementptr inbounds [1 x i32], ptr %29, i64 0, i64 0
  %423 = call i32 @CPodeGetRootInfo(ptr noundef %421, ptr noundef %422)
  %424 = load ptr, ptr %30, align 8, !tbaa !9
  %425 = getelementptr inbounds [1 x i32], ptr %29, i64 0, i64 0
  %426 = load i32, ptr %425, align 4, !tbaa !16
  %427 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %424, ptr noundef @.str.3, i32 noundef %426) #5
  %428 = getelementptr inbounds [1 x i32], ptr %29, i64 0, i64 0
  %429 = load i32, ptr %428, align 4, !tbaa !16
  %430 = icmp slt i32 %429, 0
  br i1 %430, label %431, label %441

431:                                              ; preds = %420
  %432 = load ptr, ptr %9, align 8, !tbaa !9
  %433 = load ptr, ptr %2, align 8, !tbaa !9
  call void @contact(ptr noundef %432, ptr noundef %433)
  %434 = load ptr, ptr %8, align 8, !tbaa !9
  %435 = load ptr, ptr %2, align 8, !tbaa !9
  %436 = load double, ptr %16, align 8, !tbaa !5
  %437 = load ptr, ptr %9, align 8, !tbaa !9
  %438 = load ptr, ptr %10, align 8, !tbaa !9
  %439 = load double, ptr %12, align 8, !tbaa !5
  %440 = call i32 @CPodeReInit(ptr noundef %434, ptr noundef @ffun2, ptr noundef %435, double noundef %436, ptr noundef %437, ptr noundef %438, i32 noundef 1, double noundef %439, ptr noundef %13)
  store i32 %440, ptr %25, align 4, !tbaa !16
  br label %441

441:                                              ; preds = %431, %420
  br label %445

442:                                              ; preds = %350
  %443 = load ptr, ptr %30, align 8, !tbaa !9
  %444 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %443, ptr noundef @.str.4) #5
  br label %445

445:                                              ; preds = %442, %441
  br label %337, !llvm.loop !25

446:                                              ; preds = %349, %337
  %447 = load ptr, ptr %8, align 8, !tbaa !9
  call void @PrintFinalStats(ptr noundef %447)
  call void @CPodeFree(ptr noundef %8)
  %448 = load ptr, ptr %30, align 8, !tbaa !9
  %449 = call i32 @fclose(ptr noundef %448)
  %450 = load ptr, ptr %2, align 8, !tbaa !9
  call void @free(ptr noundef %450) #5
  %451 = load ptr, ptr %9, align 8, !tbaa !9
  call void @N_VDestroy_Serial(ptr noundef %451)
  %452 = load ptr, ptr %10, align 8, !tbaa !9
  call void @N_VDestroy_Serial(ptr noundef %452)
  %453 = load ptr, ptr %11, align 8, !tbaa !9
  call void @N_VDestroy_Serial(ptr noundef %453)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, 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 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  ret i32 0
}

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

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

declare ptr @N_VNew_Serial(i64 noundef) #3

declare void @N_VConst(double noundef, ptr noundef) #3

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

declare ptr @CPodeCreate(i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @CPodeInit(ptr noundef, ptr noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @ffun1(double noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @CPDense(ptr noundef, i32 noundef) #3

declare i32 @CPodeRootInit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @gfun(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @CPodeSetRootDirection(ptr noundef, ptr noundef) #3

declare i32 @CPodeProjInit(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @cfun(double noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @CPodeSetProjTestCnstr(ptr noundef, i32 noundef) #3

declare i32 @CPDenseProj(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare i32 @CPode(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #3

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

declare i32 @CPodeGetRootInfo(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @contact(ptr noundef, ptr noundef) #0

declare i32 @CPodeReInit(ptr noundef, ptr noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden void @PrintFinalStats(ptr noundef) #0

declare void @CPodeFree(ptr noundef) #3

declare i32 @fclose(ptr noundef) #3

; Function Attrs: nounwind uwtable
declare hidden i32 @ffun2(double noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: nounwind
declare void @free(ptr noundef) #4

declare void @N_VDestroy_Serial(ptr noundef) #3

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!13 = !{!12, !6, i64 8}
!14 = !{!12, !6, i64 16}
!15 = !{!12, !6, i64 24}
!16 = !{!17, !17, i64 0}
!17 = !{!"int", !7, i64 0}
!18 = !{!19, !10, i64 0}
!19 = !{!"_generic_N_Vector", !10, i64 0, !10, i64 8}
!20 = !{!21, !10, i64 16}
!21 = !{!"_N_VectorContent_Serial", !22, i64 0, !17, i64 8, !10, i64 16}
!22 = !{!"long", !7, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}


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

@.str = external hidden unnamed_addr constant [12 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [12 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca ptr, align 8
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca [1 x i32], align 4
  %5 = alloca [1 x i32], align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %6 = tail call noalias dereferenceable_or_null(32) ptr @malloc(i64 noundef 32) #8
  store <2 x double> <double 1.000000e-01, double 1.000000e+00>, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 16
  store <2 x double> <double 1.000000e+00, double 9.800000e+00>, ptr %7, align 8, !tbaa !5
  %8 = tail call ptr @N_VNew_Serial(i64 noundef 8) #7
  %9 = tail call ptr @N_VNew_Serial(i64 noundef 8) #7
  store double 1.000000e-08, ptr %2, align 8, !tbaa !5
  %10 = tail call ptr @N_VNew_Serial(i64 noundef 4) #7
  tail call void @N_VConst(double noundef 1.000000e-08, ptr noundef %10) #7
  store i32 -1, ptr %4, align 4, !tbaa !9
  %11 = tail call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %12 = load ptr, ptr %8, align 8, !tbaa !11
  %13 = getelementptr inbounds i8, ptr %12, i64 16
  %14 = load ptr, ptr %13, align 8, !tbaa !14
  %15 = getelementptr inbounds i8, ptr %14, i64 32
  store <2 x double> <double 1.000000e-01, double -1.000000e+00>, ptr %14, align 8, !tbaa !5
  store <2 x double> <double -1.000000e-01, double -1.000000e+00>, ptr %15, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %14, i64 16
  %17 = getelementptr inbounds i8, ptr %14, i64 48
  store <2 x double> <double 3.000000e+00, double 0.000000e+00>, ptr %16, align 8, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %17, i8 0, i64 16, i1 false)
  %18 = tail call ptr @CPodeCreate(i32 noundef 1, i32 noundef 2, i32 noundef 2) #7
  store ptr %18, ptr %1, align 8, !tbaa !17
  %19 = call i32 @CPodeInit(ptr noundef %18, ptr noundef nonnull @ffun1, ptr noundef nonnull %6, double noundef 0.000000e+00, ptr noundef nonnull %8, ptr noundef %9, i32 noundef 1, double noundef 1.000000e-08, ptr noundef nonnull %2) #7
  %20 = call i32 @CPDense(ptr noundef %18, i32 noundef 8) #7
  %21 = call i32 @CPodeRootInit(ptr noundef %18, i32 noundef 1, ptr noundef nonnull @gfun, ptr noundef nonnull %6) #7
  %22 = call i32 @CPodeSetRootDirection(ptr noundef %18, ptr noundef nonnull %4) #7
  %23 = call i32 @CPodeProjInit(ptr noundef %18, i32 noundef 1, i32 noundef 2, ptr noundef nonnull @cfun, ptr noundef nonnull %6, ptr noundef %10) #7
  %24 = call i32 @CPodeSetProjTestCnstr(ptr noundef %18, i32 noundef 1) #7
  %25 = call i32 @CPDenseProj(ptr noundef %18, i32 noundef 4, i32 noundef 8, i32 noundef 1) #7
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %0, %62
  %27 = call i32 @CPode(ptr noundef %18, double noundef 6.000000e+00, ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef %9, i32 noundef 2) #7
  %28 = icmp slt i32 %27, 0
  br i1 %28, label %64, label %29

29:                                               ; preds = %26
  %30 = load ptr, ptr %8, align 8, !tbaa !11
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %32 = load ptr, ptr %31, align 8, !tbaa !14
  %33 = load double, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %32, i64 32
  %35 = load double, ptr %34, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %32, i64 8
  %37 = load double, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %32, i64 40
  %39 = load double, ptr %38, align 8, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %32, i64 16
  %41 = load double, ptr %40, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %32, i64 48
  %43 = load double, ptr %42, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %32, i64 24
  %45 = load double, ptr %44, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %32, i64 56
  %47 = load double, ptr %46, align 8, !tbaa !5
  %48 = load double, ptr %3, align 8, !tbaa !5
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.2, double noundef %48, double noundef %33, double noundef %37, double noundef %35, double noundef %39, double noundef %41, double noundef %45, double noundef %43, double noundef %47) #7
  %50 = icmp eq i32 %27, 2
  br i1 %50, label %51, label %60

51:                                               ; preds = %29
  %52 = call i32 @CPodeGetRootInfo(ptr noundef %18, ptr noundef nonnull %5) #7
  %53 = load i32, ptr %5, align 4, !tbaa !9
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.3, i32 noundef %53) #7
  %55 = load i32, ptr %5, align 4, !tbaa !9
  %56 = icmp slt i32 %55, 0
  br i1 %56, label %57, label %62

57:                                               ; preds = %51
  call void @contact(ptr noundef nonnull %8, ptr noundef nonnull %6)
  %58 = load double, ptr %3, align 8, !tbaa !5
  %59 = call i32 @CPodeReInit(ptr noundef %18, ptr noundef nonnull @ffun1, ptr noundef nonnull %6, double noundef %58, ptr noundef nonnull %8, ptr noundef %9, i32 noundef 1, double noundef 1.000000e-08, ptr noundef nonnull %2) #7
  br label %62

60:                                               ; preds = %29
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %11, ptr noundef nonnull @.str.4) #7
  br label %62

62:                                               ; preds = %51, %57, %60
  %.pr = load double, ptr %3, align 8, !tbaa !5
  %63 = fcmp olt double %.pr, 6.000000e+00
  br i1 %63, label %26, label %64, !llvm.loop !18

64:                                               ; preds = %26, %62
  call void @PrintFinalStats(ptr noundef %18)
  call void @CPodeFree(ptr noundef nonnull %1) #7
  %65 = call i32 @fclose(ptr noundef %11)
  %66 = call noalias ptr @fopen(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.1)
  %67 = load ptr, ptr %8, align 8, !tbaa !11
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  %69 = load ptr, ptr %68, align 8, !tbaa !14
  %70 = getelementptr inbounds i8, ptr %69, i64 32
  store <2 x double> <double 1.000000e-01, double -1.000000e+00>, ptr %69, align 8, !tbaa !5
  store <2 x double> <double -1.000000e-01, double -1.000000e+00>, ptr %70, align 8, !tbaa !5
  %71 = getelementptr inbounds i8, ptr %69, i64 16
  %72 = getelementptr inbounds i8, ptr %69, i64 48
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %71, i8 0, i64 16, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %72, i8 0, i64 16, i1 false)
  %73 = call ptr @CPodeCreate(i32 noundef 1, i32 noundef 2, i32 noundef 2) #7
  store ptr %73, ptr %1, align 8, !tbaa !17
  %74 = call i32 @CPodeInit(ptr noundef %73, ptr noundef nonnull @ffun2, ptr noundef nonnull %6, double noundef 0.000000e+00, ptr noundef nonnull %8, ptr noundef %9, i32 noundef 1, double noundef 1.000000e-08, ptr noundef nonnull %2) #7
  %75 = load ptr, ptr %1, align 8, !tbaa !17
  %76 = call i32 @CPDense(ptr noundef %75, i32 noundef 8) #7
  %77 = load ptr, ptr %1, align 8, !tbaa !17
  %78 = call i32 @CPodeRootInit(ptr noundef %77, i32 noundef 1, ptr noundef nonnull @gfun, ptr noundef nonnull %6) #7
  %79 = load ptr, ptr %1, align 8, !tbaa !17
  %80 = call i32 @CPodeSetRootDirection(ptr noundef %79, ptr noundef nonnull %4) #7
  %81 = load ptr, ptr %1, align 8, !tbaa !17
  %82 = call i32 @CPodeProjInit(ptr noundef %81, i32 noundef 1, i32 noundef 2, ptr noundef nonnull @cfun, ptr noundef nonnull %6, ptr noundef %10) #7
  %83 = load ptr, ptr %1, align 8, !tbaa !17
  %84 = call i32 @CPodeSetProjTestCnstr(ptr noundef %83, i32 noundef 1) #7
  %85 = load ptr, ptr %1, align 8, !tbaa !17
  %86 = call i32 @CPDenseProj(ptr noundef %85, i32 noundef 4, i32 noundef 8, i32 noundef 1) #7
  store double 0.000000e+00, ptr %3, align 8, !tbaa !5
  br label %87

87:                                               ; preds = %64, %126
  %88 = load ptr, ptr %1, align 8, !tbaa !17
  %89 = call i32 @CPode(ptr noundef %88, double noundef 6.000000e+00, ptr noundef nonnull %3, ptr noundef nonnull %8, ptr noundef %9, i32 noundef 2) #7
  %90 = icmp slt i32 %89, 0
  br i1 %90, label %128, label %91

91:                                               ; preds = %87
  %92 = load ptr, ptr %8, align 8, !tbaa !11
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  %94 = load ptr, ptr %93, align 8, !tbaa !14
  %95 = load double, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds i8, ptr %94, i64 32
  %97 = load double, ptr %96, align 8, !tbaa !5
  %98 = getelementptr inbounds i8, ptr %94, i64 8
  %99 = load double, ptr %98, align 8, !tbaa !5
  %100 = getelementptr inbounds i8, ptr %94, i64 40
  %101 = load double, ptr %100, align 8, !tbaa !5
  %102 = getelementptr inbounds i8, ptr %94, i64 16
  %103 = load double, ptr %102, align 8, !tbaa !5
  %104 = getelementptr inbounds i8, ptr %94, i64 48
  %105 = load double, ptr %104, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %94, i64 24
  %107 = load double, ptr %106, align 8, !tbaa !5
  %108 = getelementptr inbounds i8, ptr %94, i64 56
  %109 = load double, ptr %108, align 8, !tbaa !5
  %110 = load double, ptr %3, align 8, !tbaa !5
  %111 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef nonnull @.str.2, double noundef %110, double noundef %95, double noundef %99, double noundef %97, double noundef %101, double noundef %103, double noundef %107, double noundef %105, double noundef %109) #7
  %112 = icmp eq i32 %89, 2
  br i1 %112, label %113, label %124

113:                                              ; preds = %91
  %114 = load ptr, ptr %1, align 8, !tbaa !17
  %115 = call i32 @CPodeGetRootInfo(ptr noundef %114, ptr noundef nonnull %5) #7
  %116 = load i32, ptr %5, align 4, !tbaa !9
  %117 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef nonnull @.str.3, i32 noundef %116) #7
  %118 = load i32, ptr %5, align 4, !tbaa !9
  %119 = icmp slt i32 %118, 0
  br i1 %119, label %120, label %126

120:                                              ; preds = %113
  call void @contact(ptr noundef nonnull %8, ptr noundef nonnull %6)
  %121 = load ptr, ptr %1, align 8, !tbaa !17
  %122 = load double, ptr %3, align 8, !tbaa !5
  %123 = call i32 @CPodeReInit(ptr noundef %121, ptr noundef nonnull @ffun2, ptr noundef nonnull %6, double noundef %122, ptr noundef nonnull %8, ptr noundef %9, i32 noundef 1, double noundef 1.000000e-08, ptr noundef nonnull %2) #7
  br label %126

124:                                              ; preds = %91
  %125 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %66, ptr noundef nonnull @.str.4) #7
  br label %126

126:                                              ; preds = %113, %120, %124
  %.pr129 = load double, ptr %3, align 8, !tbaa !5
  %127 = fcmp olt double %.pr129, 6.000000e+00
  br i1 %127, label %87, label %128, !llvm.loop !20

128:                                              ; preds = %87, %126
  %129 = load ptr, ptr %1, align 8, !tbaa !17
  call void @PrintFinalStats(ptr noundef %129)
  call void @CPodeFree(ptr noundef nonnull %1) #7
  %130 = call i32 @fclose(ptr noundef %66)
  call void @free(ptr noundef %6) #7
  call void @N_VDestroy_Serial(ptr noundef nonnull %8) #7
  call void @N_VDestroy_Serial(ptr noundef %9) #7
  call void @N_VDestroy_Serial(ptr noundef %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0
}

; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #2

declare ptr @N_VNew_Serial(i64 noundef) local_unnamed_addr #3

declare void @N_VConst(double noundef, ptr 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 #4

declare ptr @CPodeCreate(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @CPodeInit(ptr noundef, ptr noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @ffun1(double noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @CPDense(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @CPodeRootInit(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @gfun(double noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @CPodeSetRootDirection(ptr noundef, ptr noundef) local_unnamed_addr #3

declare i32 @CPodeProjInit(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden i32 @cfun(double noundef, ptr noundef, ptr noundef, ptr noundef) #0

declare i32 @CPodeSetProjTestCnstr(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @CPDenseProj(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare i32 @CPode(ptr noundef, double noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

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

declare i32 @CPodeGetRootInfo(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @contact(ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @CPodeReInit(ptr noundef, ptr noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, i32 noundef, double noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare hidden void @PrintFinalStats(ptr noundef) local_unnamed_addr #0

declare void @CPodeFree(ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
declare hidden i32 @ffun2(double noundef, ptr noundef, ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #5

declare void @N_VDestroy_Serial(ptr noundef) local_unnamed_addr #3

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass