; LLVM IR from stan-dev/math :: lib/sundials_6.1.1/src/idas (idas_ls)

; 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.IDAMemRec = type { ptr, double, ptr, ptr, i32, double, double, ptr, i32, i32, ptr, ptr, i32, i32, i32, ptr, ptr, i32, i32, double, double, ptr, i32, i32, i32, i32, ptr, ptr, i32, ptr, ptr, ptr, i32, double, i32, i32, double, ptr, ptr, ptr, i32, ptr, ptr, i32, i32, i32, double, ptr, ptr, ptr, [6 x ptr], [6 x double], [6 x double], [6 x double], [6 x double], [6 x double], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [6 x ptr], ptr, ptr, ptr, ptr, [6 x ptr], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [6 x ptr], ptr, ptr, ptr, ptr, ptr, double, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, i32, double, i32, i32, i32, i32, i32, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, i32, i32, i32, i64, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, double, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, ptr, i32, ptr, ptr, double, double, double, ptr, ptr, ptr, double, double, i32, i32, i64, ptr, i32, ptr, [5 x double], ptr, ptr, i32, ptr, i32 }
%struct.IDALsMemRec = type { i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, double, double, double, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, ptr, ptr, ptr, ptr, i32, ptr, ptr, ptr, ptr }

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

declare void @N_VDestroy(ptr noundef) #1

; Function Attrs: nounwind
declare double @sqrt(double noundef) #2

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

; Function Attrs: nounwind uwtable
define dso_local i32 @idaLsDenseDQJac(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #3 {
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, 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 ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i64, align 8
  %30 = alloca i64, align 8
  %31 = alloca ptr, align 8
  %32 = alloca i32, align 4
  store double %0, ptr %9, align 8, !tbaa !5
  store double %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !9
  store ptr %3, ptr %12, align 8, !tbaa !9
  store ptr %4, ptr %13, align 8, !tbaa !9
  store ptr %5, ptr %14, align 8, !tbaa !9
  store ptr %6, ptr %15, align 8, !tbaa !9
  store ptr %7, ptr %16, align 8, !tbaa !9
  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 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  store ptr null, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  store i32 0, ptr %32, align 4, !tbaa !11
  %33 = load ptr, ptr %15, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.IDAMemRec, ptr %33, i32 0, i32 206
  %35 = load ptr, ptr %34, align 8, !tbaa !13
  store ptr %35, ptr %31, align 8, !tbaa !9
  %36 = load ptr, ptr %14, align 8, !tbaa !9
  %37 = call i64 @SUNDenseMatrix_Columns(ptr noundef %36)
  store i64 %37, ptr %30, align 8, !tbaa !16
  %38 = load ptr, ptr %16, align 8, !tbaa !9
  store ptr %38, ptr %27, align 8, !tbaa !9
  %39 = load ptr, ptr %16, align 8, !tbaa !9
  %40 = call ptr @N_VCloneEmpty(ptr noundef %39)
  store ptr %40, ptr %28, align 8, !tbaa !9
  %41 = load ptr, ptr %15, align 8, !tbaa !9
  %42 = getelementptr inbounds %struct.IDAMemRec, ptr %41, i32 0, i32 56
  %43 = load ptr, ptr %42, align 8, !tbaa !17
  %44 = call ptr @N_VGetArrayPointer(ptr noundef %43)
  store ptr %44, ptr %25, align 8, !tbaa !9
  %45 = load ptr, ptr %11, align 8, !tbaa !9
  %46 = call ptr @N_VGetArrayPointer(ptr noundef %45)
  store ptr %46, ptr %23, align 8, !tbaa !9
  %47 = load ptr, ptr %12, align 8, !tbaa !9
  %48 = call ptr @N_VGetArrayPointer(ptr noundef %47)
  store ptr %48, ptr %24, align 8, !tbaa !9
  %49 = load ptr, ptr %15, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.IDAMemRec, ptr %49, i32 0, i32 12
  %51 = load i32, ptr %50, align 8, !tbaa !18
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %58

53:                                               ; preds = %8
  %54 = load ptr, ptr %15, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.IDAMemRec, ptr %54, i32 0, i32 63
  %56 = load ptr, ptr %55, align 8, !tbaa !19
  %57 = call ptr @N_VGetArrayPointer(ptr noundef %56)
  store ptr %57, ptr %26, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %53, %8
  %59 = load ptr, ptr %15, align 8, !tbaa !9
  %60 = getelementptr inbounds %struct.IDAMemRec, ptr %59, i32 0, i32 1
  %61 = load double, ptr %60, align 8, !tbaa !20
  %62 = fcmp ole double %61, 0.000000e+00
  br i1 %62, label %63, label %64

63:                                               ; preds = %58
  br label %69

64:                                               ; preds = %58
  %65 = load ptr, ptr %15, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.IDAMemRec, ptr %65, i32 0, i32 1
  %67 = load double, ptr %66, align 8, !tbaa !20
  %68 = call double @sqrt(double noundef %67) #5
  br label %69

69:                                               ; preds = %64, %63
  %70 = phi double [ 0.000000e+00, %63 ], [ %68, %64 ]
  store double %70, ptr %21, align 8, !tbaa !5
  store i64 0, ptr %29, align 8, !tbaa !16
  br label %71

71:                                               ; preds = %253, %69
  %72 = load i64, ptr %29, align 8, !tbaa !16
  %73 = load i64, ptr %30, align 8, !tbaa !16
  %74 = icmp slt i64 %72, %73
  br i1 %74, label %75, label %256

75:                                               ; preds = %71
  %76 = load ptr, ptr %14, align 8, !tbaa !9
  %77 = load i64, ptr %29, align 8, !tbaa !16
  %78 = call ptr @SUNDenseMatrix_Column(ptr noundef %76, i64 noundef %77)
  %79 = load ptr, ptr %28, align 8, !tbaa !9
  call void @N_VSetArrayPointer(ptr noundef %78, ptr noundef %79)
  %80 = load ptr, ptr %23, align 8, !tbaa !9
  %81 = load i64, ptr %29, align 8, !tbaa !16
  %82 = getelementptr inbounds double, ptr %80, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !5
  store double %83, ptr %19, align 8, !tbaa !5
  %84 = load ptr, ptr %24, align 8, !tbaa !9
  %85 = load i64, ptr %29, align 8, !tbaa !16
  %86 = getelementptr inbounds double, ptr %84, i64 %85
  %87 = load double, ptr %86, align 8, !tbaa !5
  store double %87, ptr %20, align 8, !tbaa !5
  %88 = load double, ptr %21, align 8, !tbaa !5
  %89 = load double, ptr %19, align 8, !tbaa !5
  %90 = call double @llvm.fabs.f64(double %89)
  %91 = load ptr, ptr %15, align 8, !tbaa !9
  %92 = getelementptr inbounds %struct.IDAMemRec, ptr %91, i32 0, i32 124
  %93 = load double, ptr %92, align 8, !tbaa !21
  %94 = load double, ptr %20, align 8, !tbaa !5
  %95 = fmul double %93, %94
  %96 = call double @llvm.fabs.f64(double %95)
  %97 = fcmp ogt double %90, %96
  br i1 %97, label %98, label %101

98:                                               ; preds = %75
  %99 = load double, ptr %19, align 8, !tbaa !5
  %100 = call double @llvm.fabs.f64(double %99)
  br label %108

101:                                              ; preds = %75
  %102 = load ptr, ptr %15, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.IDAMemRec, ptr %102, i32 0, i32 124
  %104 = load double, ptr %103, align 8, !tbaa !21
  %105 = load double, ptr %20, align 8, !tbaa !5
  %106 = fmul double %104, %105
  %107 = call double @llvm.fabs.f64(double %106)
  br label %108

108:                                              ; preds = %101, %98
  %109 = phi double [ %100, %98 ], [ %107, %101 ]
  %110 = fmul double %88, %109
  %111 = load ptr, ptr %25, align 8, !tbaa !9
  %112 = load i64, ptr %29, align 8, !tbaa !16
  %113 = getelementptr inbounds double, ptr %111, i64 %112
  %114 = load double, ptr %113, align 8, !tbaa !5
  %115 = fdiv double 1.000000e+00, %114
  %116 = fcmp ogt double %110, %115
  br i1 %116, label %117, label %141

117:                                              ; preds = %108
  %118 = load double, ptr %21, align 8, !tbaa !5
  %119 = load double, ptr %19, align 8, !tbaa !5
  %120 = call double @llvm.fabs.f64(double %119)
  %121 = load ptr, ptr %15, align 8, !tbaa !9
  %122 = getelementptr inbounds %struct.IDAMemRec, ptr %121, i32 0, i32 124
  %123 = load double, ptr %122, align 8, !tbaa !21
  %124 = load double, ptr %20, align 8, !tbaa !5
  %125 = fmul double %123, %124
  %126 = call double @llvm.fabs.f64(double %125)
  %127 = fcmp ogt double %120, %126
  br i1 %127, label %128, label %131

128:                                              ; preds = %117
  %129 = load double, ptr %19, align 8, !tbaa !5
  %130 = call double @llvm.fabs.f64(double %129)
  br label %138

131:                                              ; preds = %117
  %132 = load ptr, ptr %15, align 8, !tbaa !9
  %133 = getelementptr inbounds %struct.IDAMemRec, ptr %132, i32 0, i32 124
  %134 = load double, ptr %133, align 8, !tbaa !21
  %135 = load double, ptr %20, align 8, !tbaa !5
  %136 = fmul double %134, %135
  %137 = call double @llvm.fabs.f64(double %136)
  br label %138

138:                                              ; preds = %131, %128
  %139 = phi double [ %130, %128 ], [ %137, %131 ]
  %140 = fmul double %118, %139
  br label %147

141:                                              ; preds = %108
  %142 = load ptr, ptr %25, align 8, !tbaa !9
  %143 = load i64, ptr %29, align 8, !tbaa !16
  %144 = getelementptr inbounds double, ptr %142, i64 %143
  %145 = load double, ptr %144, align 8, !tbaa !5
  %146 = fdiv double 1.000000e+00, %145
  br label %147

147:                                              ; preds = %141, %138
  %148 = phi double [ %140, %138 ], [ %146, %141 ]
  store double %148, ptr %17, align 8, !tbaa !5
  %149 = load ptr, ptr %15, align 8, !tbaa !9
  %150 = getelementptr inbounds %struct.IDAMemRec, ptr %149, i32 0, i32 124
  %151 = load double, ptr %150, align 8, !tbaa !21
  %152 = load double, ptr %20, align 8, !tbaa !5
  %153 = fmul double %151, %152
  %154 = fcmp olt double %153, 0.000000e+00
  br i1 %154, label %155, label %158

155:                                              ; preds = %147
  %156 = load double, ptr %17, align 8, !tbaa !5
  %157 = fneg double %156
  store double %157, ptr %17, align 8, !tbaa !5
  br label %158

158:                                              ; preds = %155, %147
  %159 = load double, ptr %19, align 8, !tbaa !5
  %160 = load double, ptr %17, align 8, !tbaa !5
  %161 = fadd double %159, %160
  %162 = load double, ptr %19, align 8, !tbaa !5
  %163 = fsub double %161, %162
  store double %163, ptr %17, align 8, !tbaa !5
  %164 = load ptr, ptr %15, align 8, !tbaa !9
  %165 = getelementptr inbounds %struct.IDAMemRec, ptr %164, i32 0, i32 12
  %166 = load i32, ptr %165, align 8, !tbaa !18
  %167 = icmp ne i32 %166, 0
  br i1 %167, label %168, label %204

168:                                              ; preds = %158
  %169 = load ptr, ptr %26, align 8, !tbaa !9
  %170 = load i64, ptr %29, align 8, !tbaa !16
  %171 = getelementptr inbounds double, ptr %169, i64 %170
  %172 = load double, ptr %171, align 8, !tbaa !5
  store double %172, ptr %22, align 8, !tbaa !5
  %173 = load double, ptr %22, align 8, !tbaa !5
  %174 = call double @llvm.fabs.f64(double %173)
  %175 = fcmp oeq double %174, 1.000000e+00
  br i1 %175, label %176, label %187

176:                                              ; preds = %168
  %177 = load double, ptr %19, align 8, !tbaa !5
  %178 = load double, ptr %17, align 8, !tbaa !5
  %179 = fadd double %177, %178
  %180 = load double, ptr %22, align 8, !tbaa !5
  %181 = fmul double %179, %180
  %182 = fcmp olt double %181, 0.000000e+00
  br i1 %182, label %183, label %186

183:                                              ; preds = %176
  %184 = load double, ptr %17, align 8, !tbaa !5
  %185 = fneg double %184
  store double %185, ptr %17, align 8, !tbaa !5
  br label %186

186:                                              ; preds = %183, %176
  br label %203

187:                                              ; preds = %168
  %188 = load double, ptr %22, align 8, !tbaa !5
  %189 = call double @llvm.fabs.f64(double %188)
  %190 = fcmp oeq double %189, 2.000000e+00
  br i1 %190, label %191, label %202

191:                                              ; preds = %187
  %192 = load double, ptr %19, align 8, !tbaa !5
  %193 = load double, ptr %17, align 8, !tbaa !5
  %194 = fadd double %192, %193
  %195 = load double, ptr %22, align 8, !tbaa !5
  %196 = fmul double %194, %195
  %197 = fcmp ole double %196, 0.000000e+00
  br i1 %197, label %198, label %201

198:                                              ; preds = %191
  %199 = load double, ptr %17, align 8, !tbaa !5
  %200 = fneg double %199
  store double %200, ptr %17, align 8, !tbaa !5
  br label %201

201:                                              ; preds = %198, %191
  br label %202

202:                                              ; preds = %201, %187
  br label %203

203:                                              ; preds = %202, %186
  br label %204

204:                                              ; preds = %203, %158
  %205 = load double, ptr %17, align 8, !tbaa !5
  %206 = load ptr, ptr %23, align 8, !tbaa !9
  %207 = load i64, ptr %29, align 8, !tbaa !16
  %208 = getelementptr inbounds double, ptr %206, i64 %207
  %209 = load double, ptr %208, align 8, !tbaa !5
  %210 = fadd double %209, %205
  store double %210, ptr %208, align 8, !tbaa !5
  %211 = load double, ptr %10, align 8, !tbaa !5
  %212 = load double, ptr %17, align 8, !tbaa !5
  %213 = load ptr, ptr %24, align 8, !tbaa !9
  %214 = load i64, ptr %29, align 8, !tbaa !16
  %215 = getelementptr inbounds double, ptr %213, i64 %214
  %216 = load double, ptr %215, align 8, !tbaa !5
  %217 = call double @llvm.fmuladd.f64(double %211, double %212, double %216)
  store double %217, ptr %215, align 8, !tbaa !5
  %218 = load ptr, ptr %15, align 8, !tbaa !9
  %219 = getelementptr inbounds %struct.IDAMemRec, ptr %218, i32 0, i32 2
  %220 = load ptr, ptr %219, align 8, !tbaa !22
  %221 = load double, ptr %9, align 8, !tbaa !5
  %222 = load ptr, ptr %11, align 8, !tbaa !9
  %223 = load ptr, ptr %12, align 8, !tbaa !9
  %224 = load ptr, ptr %27, align 8, !tbaa !9
  %225 = load ptr, ptr %15, align 8, !tbaa !9
  %226 = getelementptr inbounds %struct.IDAMemRec, ptr %225, i32 0, i32 3
  %227 = load ptr, ptr %226, align 8, !tbaa !23
  %228 = call i32 %220(double noundef %221, ptr noundef %222, ptr noundef %223, ptr noundef %224, ptr noundef %227)
  store i32 %228, ptr %32, align 4, !tbaa !11
  %229 = load ptr, ptr %31, align 8, !tbaa !9
  %230 = getelementptr inbounds %struct.IDALsMemRec, ptr %229, i32 0, i32 22
  %231 = load i64, ptr %230, align 8, !tbaa !24
  %232 = add nsw i64 %231, 1
  store i64 %232, ptr %230, align 8, !tbaa !24
  %233 = load i32, ptr %32, align 4, !tbaa !11
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %235, label %236

235:                                              ; preds = %204
  br label %256

236:                                              ; preds = %204
  %237 = load double, ptr %17, align 8, !tbaa !5
  %238 = fdiv double 1.000000e+00, %237
  store double %238, ptr %18, align 8, !tbaa !5
  %239 = load double, ptr %18, align 8, !tbaa !5
  %240 = load ptr, ptr %27, align 8, !tbaa !9
  %241 = load double, ptr %18, align 8, !tbaa !5
  %242 = fneg double %241
  %243 = load ptr, ptr %13, align 8, !tbaa !9
  %244 = load ptr, ptr %28, align 8, !tbaa !9
  call void @N_VLinearSum(double noundef %239, ptr noundef %240, double noundef %242, ptr noundef %243, ptr noundef %244)
  %245 = load double, ptr %19, align 8, !tbaa !5
  %246 = load ptr, ptr %23, align 8, !tbaa !9
  %247 = load i64, ptr %29, align 8, !tbaa !16
  %248 = getelementptr inbounds double, ptr %246, i64 %247
  store double %245, ptr %248, align 8, !tbaa !5
  %249 = load double, ptr %20, align 8, !tbaa !5
  %250 = load ptr, ptr %24, align 8, !tbaa !9
  %251 = load i64, ptr %29, align 8, !tbaa !16
  %252 = getelementptr inbounds double, ptr %250, i64 %251
  store double %249, ptr %252, align 8, !tbaa !5
  br label %253

253:                                              ; preds = %236
  %254 = load i64, ptr %29, align 8, !tbaa !16
  %255 = add nsw i64 %254, 1
  store i64 %255, ptr %29, align 8, !tbaa !16
  br label %71, !llvm.loop !26

256:                                              ; preds = %235, %71
  %257 = load ptr, ptr %28, align 8, !tbaa !9
  call void @N_VSetArrayPointer(ptr noundef null, ptr noundef %257)
  %258 = load ptr, ptr %28, align 8, !tbaa !9
  call void @N_VDestroy(ptr noundef %258)
  %259 = load i32, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  ret i32 %259
}

declare i64 @SUNDenseMatrix_Columns(ptr noundef) #1

declare ptr @N_VCloneEmpty(ptr noundef) #1

declare ptr @N_VGetArrayPointer(ptr noundef) #1

declare void @N_VSetArrayPointer(ptr noundef, ptr noundef) #1

declare ptr @SUNDenseMatrix_Column(ptr noundef, i64 noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

declare void @N_VLinearSum(double noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 "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 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"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, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 1832}
!14 = !{!"IDAMemRec", !10, i64 0, !6, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !6, i64 40, !6, i64 48, !10, i64 56, !12, i64 64, !12, i64 68, !10, i64 72, !10, i64 80, !12, i64 88, !12, i64 92, !12, i64 96, !10, i64 104, !10, i64 112, !12, i64 120, !12, i64 124, !6, i64 128, !6, i64 136, !10, i64 144, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !10, i64 168, !10, i64 176, !12, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !12, i64 216, !6, i64 224, !12, i64 232, !12, i64 236, !6, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !12, i64 272, !10, i64 280, !10, i64 288, !12, i64 296, !12, i64 300, !12, i64 304, !6, i64 312, !10, i64 320, !10, i64 328, !10, i64 336, !7, i64 344, !7, i64 392, !7, i64 440, !7, i64 488, !7, i64 536, !7, i64 584, !10, i64 632, !10, i64 640, !10, i64 648, !10, i64 656, !10, i64 664, !10, i64 672, !10, i64 680, !10, i64 688, !10, i64 696, !10, i64 704, !10, i64 712, !10, i64 720, !10, i64 728, !10, i64 736, !10, i64 744, !10, i64 752, !10, i64 760, !7, i64 768, !10, i64 816, !10, i64 824, !10, i64 832, !10, i64 840, !7, i64 848, !10, i64 896, !10, i64 904, !10, i64 912, !10, i64 920, !10, i64 928, !10, i64 936, !10, i64 944, !10, i64 952, !10, i64 960, !10, i64 968, !10, i64 976, !10, i64 984, !10, i64 992, !10, i64 1000, !10, i64 1008, !10, i64 1016, !7, i64 1024, !10, i64 1072, !10, i64 1080, !10, i64 1088, !10, i64 1096, !10, i64 1104, !6, i64 1112, !10, i64 1120, !10, i64 1128, !12, i64 1136, !12, i64 1140, !12, i64 1144, !12, i64 1148, !12, i64 1152, !12, i64 1156, !12, i64 1160, !12, i64 1164, !6, i64 1168, !6, i64 1176, !6, i64 1184, !12, i64 1192, !6, i64 1200, !12, i64 1208, !12, i64 1212, !12, i64 1216, !12, i64 1220, !12, i64 1224, !6, i64 1232, !6, i64 1240, !6, i64 1248, !6, i64 1256, !6, i64 1264, !6, i64 1272, !6, i64 1280, !6, i64 1288, !6, i64 1296, !6, i64 1304, !6, i64 1312, !6, i64 1320, !6, i64 1328, !6, i64 1336, !6, i64 1344, !6, i64 1352, !6, i64 1360, !12, i64 1368, !12, i64 1372, !12, i64 1376, !12, i64 1380, !15, i64 1384, !6, i64 1392, !15, i64 1400, !15, i64 1408, !15, i64 1416, !15, i64 1424, !15, i64 1432, !15, i64 1440, !15, i64 1448, !15, i64 1456, !15, i64 1464, !15, i64 1472, !15, i64 1480, !15, i64 1488, !15, i64 1496, !15, i64 1504, !15, i64 1512, !15, i64 1520, !15, i64 1528, !15, i64 1536, !15, i64 1544, !15, i64 1552, !15, i64 1560, !15, i64 1568, !15, i64 1576, !15, i64 1584, !6, i64 1592, !10, i64 1600, !10, i64 1608, !10, i64 1616, !12, i64 1624, !12, i64 1628, !12, i64 1632, !12, i64 1636, !12, i64 1640, !12, i64 1644, !12, i64 1648, !12, i64 1652, !12, i64 1656, !12, i64 1660, !12, i64 1664, !12, i64 1668, !12, i64 1672, !10, i64 1680, !12, i64 1688, !10, i64 1696, !12, i64 1704, !10, i64 1712, !12, i64 1720, !10, i64 1728, !10, i64 1736, !10, i64 1744, !10, i64 1752, !10, i64 1760, !10, i64 1768, !12, i64 1776, !12, i64 1780, !10, i64 1784, !10, i64 1792, !10, i64 1800, !10, i64 1808, !10, i64 1816, !10, i64 1824, !10, i64 1832, !12, i64 1840, !12, i64 1844, !10, i64 1848, !12, i64 1856, !10, i64 1864, !10, i64 1872, !6, i64 1880, !6, i64 1888, !6, i64 1896, !10, i64 1904, !10, i64 1912, !10, i64 1920, !6, i64 1928, !6, i64 1936, !12, i64 1944, !12, i64 1948, !15, i64 1952, !10, i64 1960, !12, i64 1968, !10, i64 1976, !7, i64 1984, !10, i64 2024, !10, i64 2032, !12, i64 2040, !10, i64 2048, !12, i64 2056}
!15 = !{!"long", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!14, !10, i64 632}
!18 = !{!14, !12, i64 88}
!19 = !{!14, !10, i64 688}
!20 = !{!14, !6, i64 8}
!21 = !{!14, !6, i64 1248}
!22 = !{!14, !10, i64 16}
!23 = !{!14, !10, i64 24}
!24 = !{!25, !15, i64 168}
!25 = !{!"IDALsMemRec", !12, i64 0, !12, i64 4, !12, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !10, i64 88, !12, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !15, i64 128, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224, !12, i64 232, !10, i64 240, !10, i64 248, !10, i64 256, !10, i64 264, !12, i64 272, !10, i64 280, !10, i64 288, !10, i64 296, !10, i64 304}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}


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

declare void @N_VDestroy(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @idaLsDenseDQJac(double noundef %0, double noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr nocapture noundef readonly %6, ptr noundef %7) local_unnamed_addr #2 {
  %9 = getelementptr inbounds i8, ptr %6, i64 1832
  %10 = load ptr, ptr %9, align 8, !tbaa !5
  %11 = tail call i64 @SUNDenseMatrix_Columns(ptr noundef %5) #4
  %12 = tail call ptr @N_VCloneEmpty(ptr noundef %7) #4
  %13 = getelementptr inbounds i8, ptr %6, i64 632
  %14 = load ptr, ptr %13, align 8, !tbaa !13
  %15 = tail call ptr @N_VGetArrayPointer(ptr noundef %14) #4
  %16 = tail call ptr @N_VGetArrayPointer(ptr noundef %2) #4
  %17 = tail call ptr @N_VGetArrayPointer(ptr noundef %3) #4
  %18 = getelementptr inbounds i8, ptr %6, i64 88
  %19 = load i32, ptr %18, align 8, !tbaa !14
  %.not = icmp eq i32 %19, 0
  br i1 %.not, label %24, label %20

20:                                               ; preds = %8
  %21 = getelementptr inbounds i8, ptr %6, i64 688
  %22 = load ptr, ptr %21, align 8, !tbaa !15
  %23 = tail call ptr @N_VGetArrayPointer(ptr noundef %22) #4
  br label %24

24:                                               ; preds = %20, %8
  %.089 = phi ptr [ %23, %20 ], [ null, %8 ]
  %25 = getelementptr inbounds i8, ptr %6, i64 8
  %26 = load double, ptr %25, align 8, !tbaa !16
  %27 = fcmp ugt double %26, 0.000000e+00
  br i1 %27, label %28, label %30

28:                                               ; preds = %24
  %29 = tail call double @sqrt(double noundef %26) #4
  br label %30

30:                                               ; preds = %24, %28
  %31 = phi double [ %29, %28 ], [ 0.000000e+00, %24 ]
  %32 = icmp sgt i64 %11, 0
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %30
  %33 = getelementptr inbounds i8, ptr %6, i64 1248
  %34 = getelementptr inbounds i8, ptr %6, i64 16
  %35 = getelementptr inbounds i8, ptr %6, i64 24
  %36 = getelementptr inbounds i8, ptr %10, i64 168
  br label %37

37:                                               ; preds = %.lr.ph, %87
  %.090103 = phi i64 [ 0, %.lr.ph ], [ %90, %87 ]
  %38 = tail call ptr @SUNDenseMatrix_Column(ptr noundef %5, i64 noundef %.090103) #4
  tail call void @N_VSetArrayPointer(ptr noundef %38, ptr noundef %12) #4
  %39 = getelementptr inbounds double, ptr %16, i64 %.090103
  %40 = load double, ptr %39, align 8, !tbaa !17
  %41 = getelementptr inbounds double, ptr %17, i64 %.090103
  %42 = load double, ptr %41, align 8, !tbaa !17
  %43 = tail call double @llvm.fabs.f64(double %40)
  %44 = load double, ptr %33, align 8, !tbaa !18
  %45 = fmul double %42, %44
  %46 = tail call double @llvm.fabs.f64(double %45)
  %47 = fcmp ogt double %43, %46
  %. = select i1 %47, double %43, double %46
  %48 = fmul double %31, %.
  %49 = getelementptr inbounds double, ptr %15, i64 %.090103
  %50 = load double, ptr %49, align 8, !tbaa !17
  %51 = fdiv double 1.000000e+00, %50
  %52 = fcmp ogt double %48, %51
  %53 = select i1 %52, double %48, double %51
  %54 = fcmp olt double %45, 0.000000e+00
  %55 = fneg double %53
  %.087 = select i1 %54, double %55, double %53
  %56 = fadd double %40, %.087
  %57 = fsub double %56, %40
  %58 = load i32, ptr %18, align 8, !tbaa !14
  %.not100 = icmp eq i32 %58, 0
  br i1 %.not100, label %78, label %59

59:                                               ; preds = %37
  %60 = getelementptr inbounds double, ptr %.089, i64 %.090103
  %61 = load double, ptr %60, align 8, !tbaa !17
  %62 = tail call double @llvm.fabs.f64(double %61)
  %63 = fcmp oeq double %62, 1.000000e+00
  br i1 %63, label %64, label %70

64:                                               ; preds = %59
  %65 = fadd double %40, %57
  %66 = fmul double %65, %61
  %67 = fcmp olt double %66, 0.000000e+00
  br i1 %67, label %68, label %78

68:                                               ; preds = %64
  %69 = fneg double %57
  br label %78

70:                                               ; preds = %59
  %71 = fcmp oeq double %62, 2.000000e+00
  br i1 %71, label %72, label %78

72:                                               ; preds = %70
  %73 = fadd double %40, %57
  %74 = fmul double %73, %61
  %75 = fcmp ugt double %74, 0.000000e+00
  br i1 %75, label %78, label %76

76:                                               ; preds = %72
  %77 = fneg double %57
  br label %78

78:                                               ; preds = %68, %64, %72, %76, %70, %37
  %.188 = phi double [ %69, %68 ], [ %57, %64 ], [ %77, %76 ], [ %57, %72 ], [ %57, %70 ], [ %57, %37 ]
  %79 = fadd double %40, %.188
  store double %79, ptr %39, align 8, !tbaa !17
  %80 = load double, ptr %41, align 8, !tbaa !17
  %81 = tail call double @llvm.fmuladd.f64(double %1, double %.188, double %80)
  store double %81, ptr %41, align 8, !tbaa !17
  %82 = load ptr, ptr %34, align 8, !tbaa !19
  %83 = load ptr, ptr %35, align 8, !tbaa !20
  %84 = tail call i32 %82(double noundef %0, ptr noundef %2, ptr noundef %3, ptr noundef %7, ptr noundef %83) #4
  %85 = load i64, ptr %36, align 8, !tbaa !21
  %86 = add nsw i64 %85, 1
  store i64 %86, ptr %36, align 8, !tbaa !21
  %.not101 = icmp eq i32 %84, 0
  br i1 %.not101, label %87, label %._crit_edge

87:                                               ; preds = %78
  %88 = fdiv double 1.000000e+00, %.188
  %89 = fneg double %88
  tail call void @N_VLinearSum(double noundef %88, ptr noundef %7, double noundef %89, ptr noundef %4, ptr noundef %12) #4
  store double %40, ptr %39, align 8, !tbaa !17
  store double %42, ptr %41, align 8, !tbaa !17
  %90 = add nuw nsw i64 %.090103, 1
  %exitcond.not = icmp eq i64 %90, %11
  br i1 %exitcond.not, label %._crit_edge, label %37, !llvm.loop !23

._crit_edge:                                      ; preds = %87, %78, %30
  %.1 = phi i32 [ 0, %30 ], [ %84, %78 ], [ 0, %87 ]
  tail call void @N_VSetArrayPointer(ptr noundef null, ptr noundef %12) #4
  tail call void @N_VDestroy(ptr noundef %12) #4
  ret i32 %.1
}

declare i64 @SUNDenseMatrix_Columns(ptr noundef) local_unnamed_addr #0

declare ptr @N_VCloneEmpty(ptr noundef) local_unnamed_addr #0

declare ptr @N_VGetArrayPointer(ptr noundef) local_unnamed_addr #0

declare void @N_VSetArrayPointer(ptr noundef, ptr noundef) local_unnamed_addr #0

declare ptr @SUNDenseMatrix_Column(ptr noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fabs.f64(double) #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

declare void @N_VLinearSum(double noundef, ptr noundef, double noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

attributes #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 nofree nounwind willreturn memory(write) "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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, !7, i64 1832}
!6 = !{!"IDAMemRec", !7, i64 0, !10, i64 8, !7, i64 16, !7, i64 24, !11, i64 32, !10, i64 40, !10, i64 48, !7, i64 56, !11, i64 64, !11, i64 68, !7, i64 72, !7, i64 80, !11, i64 88, !11, i64 92, !11, i64 96, !7, i64 104, !7, i64 112, !11, i64 120, !11, i64 124, !10, i64 128, !10, i64 136, !7, i64 144, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !7, i64 168, !7, i64 176, !11, i64 184, !7, i64 192, !7, i64 200, !7, i64 208, !11, i64 216, !10, i64 224, !11, i64 232, !11, i64 236, !10, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !11, i64 272, !7, i64 280, !7, i64 288, !11, i64 296, !11, i64 300, !11, i64 304, !10, i64 312, !7, i64 320, !7, i64 328, !7, i64 336, !8, i64 344, !8, i64 392, !8, i64 440, !8, i64 488, !8, i64 536, !8, i64 584, !7, i64 632, !7, i64 640, !7, i64 648, !7, i64 656, !7, i64 664, !7, i64 672, !7, i64 680, !7, i64 688, !7, i64 696, !7, i64 704, !7, i64 712, !7, i64 720, !7, i64 728, !7, i64 736, !7, i64 744, !7, i64 752, !7, i64 760, !8, i64 768, !7, i64 816, !7, i64 824, !7, i64 832, !7, i64 840, !8, i64 848, !7, i64 896, !7, i64 904, !7, i64 912, !7, i64 920, !7, i64 928, !7, i64 936, !7, i64 944, !7, i64 952, !7, i64 960, !7, i64 968, !7, i64 976, !7, i64 984, !7, i64 992, !7, i64 1000, !7, i64 1008, !7, i64 1016, !8, i64 1024, !7, i64 1072, !7, i64 1080, !7, i64 1088, !7, i64 1096, !7, i64 1104, !10, i64 1112, !7, i64 1120, !7, i64 1128, !11, i64 1136, !11, i64 1140, !11, i64 1144, !11, i64 1148, !11, i64 1152, !11, i64 1156, !11, i64 1160, !11, i64 1164, !10, i64 1168, !10, i64 1176, !10, i64 1184, !11, i64 1192, !10, i64 1200, !11, i64 1208, !11, i64 1212, !11, i64 1216, !11, i64 1220, !11, i64 1224, !10, i64 1232, !10, i64 1240, !10, i64 1248, !10, i64 1256, !10, i64 1264, !10, i64 1272, !10, i64 1280, !10, i64 1288, !10, i64 1296, !10, i64 1304, !10, i64 1312, !10, i64 1320, !10, i64 1328, !10, i64 1336, !10, i64 1344, !10, i64 1352, !10, i64 1360, !11, i64 1368, !11, i64 1372, !11, i64 1376, !11, i64 1380, !12, i64 1384, !10, i64 1392, !12, i64 1400, !12, i64 1408, !12, i64 1416, !12, i64 1424, !12, i64 1432, !12, i64 1440, !12, i64 1448, !12, i64 1456, !12, i64 1464, !12, i64 1472, !12, i64 1480, !12, i64 1488, !12, i64 1496, !12, i64 1504, !12, i64 1512, !12, i64 1520, !12, i64 1528, !12, i64 1536, !12, i64 1544, !12, i64 1552, !12, i64 1560, !12, i64 1568, !12, i64 1576, !12, i64 1584, !10, i64 1592, !7, i64 1600, !7, i64 1608, !7, i64 1616, !11, i64 1624, !11, i64 1628, !11, i64 1632, !11, i64 1636, !11, i64 1640, !11, i64 1644, !11, i64 1648, !11, i64 1652, !11, i64 1656, !11, i64 1660, !11, i64 1664, !11, i64 1668, !11, i64 1672, !7, i64 1680, !11, i64 1688, !7, i64 1696, !11, i64 1704, !7, i64 1712, !11, i64 1720, !7, i64 1728, !7, i64 1736, !7, i64 1744, !7, i64 1752, !7, i64 1760, !7, i64 1768, !11, i64 1776, !11, i64 1780, !7, i64 1784, !7, i64 1792, !7, i64 1800, !7, i64 1808, !7, i64 1816, !7, i64 1824, !7, i64 1832, !11, i64 1840, !11, i64 1844, !7, i64 1848, !11, i64 1856, !7, i64 1864, !7, i64 1872, !10, i64 1880, !10, i64 1888, !10, i64 1896, !7, i64 1904, !7, i64 1912, !7, i64 1920, !10, i64 1928, !10, i64 1936, !11, i64 1944, !11, i64 1948, !12, i64 1952, !7, i64 1960, !11, i64 1968, !7, i64 1976, !8, i64 1984, !7, i64 2024, !7, i64 2032, !11, i64 2040, !7, i64 2048, !11, i64 2056}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!"long", !8, i64 0}
!13 = !{!6, !7, i64 632}
!14 = !{!6, !11, i64 88}
!15 = !{!6, !7, i64 688}
!16 = !{!6, !10, i64 8}
!17 = !{!10, !10, i64 0}
!18 = !{!6, !10, i64 1248}
!19 = !{!6, !7, i64 16}
!20 = !{!6, !7, i64 24}
!21 = !{!22, !12, i64 168}
!22 = !{!"IDALsMemRec", !11, i64 0, !11, i64 4, !11, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !11, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !12, i64 128, !12, i64 136, !12, i64 144, !12, i64 152, !12, i64 160, !12, i64 168, !12, i64 176, !12, i64 184, !12, i64 192, !12, i64 200, !12, i64 208, !12, i64 216, !12, i64 224, !11, i64 232, !7, i64 240, !7, i64 248, !7, i64 256, !7, i64 264, !11, i64 272, !7, i64 280, !7, i64 288, !7, i64 296, !7, i64 304}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass