; LLVM IR from bbenligiray/stag :: src/Ellipse.ll (ZN13customEllipseC2EPd)

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

%class.customEllipse = type { double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, i32, ptr, ptr, 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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272)) #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN13customEllipseC2EPd(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1) unnamed_addr #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  call void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272) %7)
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = getelementptr inbounds double, ptr %8, i64 0
  %10 = load double, ptr %9, align 8, !tbaa !9
  %11 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  store double %10, ptr %11, align 8, !tbaa !11
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds double, ptr %12, i64 1
  %14 = load double, ptr %13, align 8, !tbaa !9
  %15 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  store double %14, ptr %15, align 8, !tbaa !14
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds double, ptr %16, i64 2
  %18 = load double, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  store double %18, ptr %19, align 8, !tbaa !15
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds double, ptr %20, i64 3
  %22 = load double, ptr %21, align 8, !tbaa !9
  %23 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 3
  store double %22, ptr %23, align 8, !tbaa !16
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds double, ptr %24, i64 4
  %26 = load double, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 4
  store double %26, ptr %27, align 8, !tbaa !17
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds double, ptr %28, i64 5
  %30 = load double, ptr %29, align 8, !tbaa !9
  %31 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 5
  store double %30, ptr %31, align 8, !tbaa !18
  %32 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %35 = load double, ptr %34, align 8, !tbaa !14
  %36 = fdiv double %35, %33
  store double %36, ptr %34, align 8, !tbaa !14
  %37 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %38 = load double, ptr %37, align 8, !tbaa !11
  %39 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  %40 = load double, ptr %39, align 8, !tbaa !15
  %41 = fdiv double %40, %38
  store double %41, ptr %39, align 8, !tbaa !15
  %42 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %43 = load double, ptr %42, align 8, !tbaa !11
  %44 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 3
  %45 = load double, ptr %44, align 8, !tbaa !16
  %46 = fdiv double %45, %43
  store double %46, ptr %44, align 8, !tbaa !16
  %47 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %48 = load double, ptr %47, align 8, !tbaa !11
  %49 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 4
  %50 = load double, ptr %49, align 8, !tbaa !17
  %51 = fdiv double %50, %48
  store double %51, ptr %49, align 8, !tbaa !17
  %52 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 5
  %55 = load double, ptr %54, align 8, !tbaa !18
  %56 = fdiv double %55, %53
  store double %56, ptr %54, align 8, !tbaa !18
  %57 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %60 = load double, ptr %59, align 8, !tbaa !11
  %61 = fdiv double %60, %58
  store double %61, ptr %59, align 8, !tbaa !11
  %62 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %63 = load double, ptr %62, align 8, !tbaa !14
  %64 = fcmp oeq double %63, 0.000000e+00
  br i1 %64, label %65, label %84

65:                                               ; preds = %2
  %66 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %67 = load double, ptr %66, align 8, !tbaa !11
  %68 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 6
  store double %67, ptr %68, align 8, !tbaa !19
  %69 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %70 = load double, ptr %69, align 8, !tbaa !14
  %71 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 7
  store double %70, ptr %71, align 8, !tbaa !20
  %72 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  %73 = load double, ptr %72, align 8, !tbaa !15
  %74 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 8
  store double %73, ptr %74, align 8, !tbaa !21
  %75 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 3
  %76 = load double, ptr %75, align 8, !tbaa !16
  %77 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 9
  store double %76, ptr %77, align 8, !tbaa !22
  %78 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 4
  %79 = load double, ptr %78, align 8, !tbaa !17
  %80 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 10
  store double %79, ptr %80, align 8, !tbaa !23
  %81 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 5
  %82 = load double, ptr %81, align 8, !tbaa !18
  %83 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 11
  store double %82, ptr %83, align 8, !tbaa !24
  br label %200

84:                                               ; preds = %2
  %85 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %86 = load double, ptr %85, align 8, !tbaa !14
  %87 = fcmp une double %86, 0.000000e+00
  br i1 %87, label %88, label %199

88:                                               ; preds = %84
  %89 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %90 = load double, ptr %89, align 8, !tbaa !14
  %91 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %92 = load double, ptr %91, align 8, !tbaa !11
  %93 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  %94 = load double, ptr %93, align 8, !tbaa !15
  %95 = fsub double %92, %94
  %96 = fdiv double %90, %95
  %97 = call double @atan(double noundef %96) #4
  %98 = fdiv double %97, 2.000000e+00
  %99 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  store double %98, ptr %99, align 8, !tbaa !25
  %100 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %101 = load double, ptr %100, align 8, !tbaa !11
  %102 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %103 = load double, ptr %102, align 8, !tbaa !25
  %104 = fmul double 2.000000e+00, %103
  %105 = call double @cos(double noundef %104) #4
  %106 = fadd double 1.000000e+00, %105
  %107 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %108 = load double, ptr %107, align 8, !tbaa !14
  %109 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %110 = load double, ptr %109, align 8, !tbaa !25
  %111 = fmul double 2.000000e+00, %110
  %112 = call double @sin(double noundef %111) #4
  %113 = call double @llvm.fmuladd.f64(double %108, double %112, double %106)
  %114 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  %115 = load double, ptr %114, align 8, !tbaa !15
  %116 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %117 = load double, ptr %116, align 8, !tbaa !25
  %118 = fmul double 2.000000e+00, %117
  %119 = call double @cos(double noundef %118) #4
  %120 = fsub double 1.000000e+00, %119
  %121 = call double @llvm.fmuladd.f64(double %115, double %120, double %113)
  %122 = fmul double %101, %121
  %123 = fmul double 5.000000e-01, %122
  %124 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 6
  store double %123, ptr %124, align 8, !tbaa !19
  %125 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  %126 = load double, ptr %125, align 8, !tbaa !15
  %127 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %128 = load double, ptr %127, align 8, !tbaa !11
  %129 = fsub double %126, %128
  %130 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %131 = load double, ptr %130, align 8, !tbaa !25
  %132 = fmul double 2.000000e+00, %131
  %133 = call double @sin(double noundef %132) #4
  %134 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %135 = load double, ptr %134, align 8, !tbaa !14
  %136 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %137 = load double, ptr %136, align 8, !tbaa !25
  %138 = fmul double 2.000000e+00, %137
  %139 = call double @cos(double noundef %138) #4
  %140 = fmul double %135, %139
  %141 = call double @llvm.fmuladd.f64(double %129, double %133, double %140)
  %142 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 7
  store double %141, ptr %142, align 8, !tbaa !20
  %143 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 0
  %144 = load double, ptr %143, align 8, !tbaa !11
  %145 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %146 = load double, ptr %145, align 8, !tbaa !25
  %147 = fmul double 2.000000e+00, %146
  %148 = call double @cos(double noundef %147) #4
  %149 = fsub double 1.000000e+00, %148
  %150 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 1
  %151 = load double, ptr %150, align 8, !tbaa !14
  %152 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %153 = load double, ptr %152, align 8, !tbaa !25
  %154 = fmul double 2.000000e+00, %153
  %155 = call double @sin(double noundef %154) #4
  %156 = fneg double %151
  %157 = call double @llvm.fmuladd.f64(double %156, double %155, double %149)
  %158 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 2
  %159 = load double, ptr %158, align 8, !tbaa !15
  %160 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %161 = load double, ptr %160, align 8, !tbaa !25
  %162 = fmul double 2.000000e+00, %161
  %163 = call double @cos(double noundef %162) #4
  %164 = fadd double 1.000000e+00, %163
  %165 = call double @llvm.fmuladd.f64(double %159, double %164, double %157)
  %166 = fmul double %144, %165
  %167 = fmul double 5.000000e-01, %166
  %168 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 8
  store double %167, ptr %168, align 8, !tbaa !21
  %169 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 3
  %170 = load double, ptr %169, align 8, !tbaa !16
  %171 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %172 = load double, ptr %171, align 8, !tbaa !25
  %173 = call double @cos(double noundef %172) #4
  %174 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 4
  %175 = load double, ptr %174, align 8, !tbaa !17
  %176 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %177 = load double, ptr %176, align 8, !tbaa !25
  %178 = call double @sin(double noundef %177) #4
  %179 = fmul double %175, %178
  %180 = call double @llvm.fmuladd.f64(double %170, double %173, double %179)
  %181 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 9
  store double %180, ptr %181, align 8, !tbaa !22
  %182 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 3
  %183 = load double, ptr %182, align 8, !tbaa !16
  %184 = fneg double %183
  %185 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %186 = load double, ptr %185, align 8, !tbaa !25
  %187 = call double @sin(double noundef %186) #4
  %188 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 4
  %189 = load double, ptr %188, align 8, !tbaa !17
  %190 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %191 = load double, ptr %190, align 8, !tbaa !25
  %192 = call double @cos(double noundef %191) #4
  %193 = fmul double %189, %192
  %194 = call double @llvm.fmuladd.f64(double %184, double %187, double %193)
  %195 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 10
  store double %194, ptr %195, align 8, !tbaa !23
  %196 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 5
  %197 = load double, ptr %196, align 8, !tbaa !18
  %198 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 11
  store double %197, ptr %198, align 8, !tbaa !24
  br label %199

199:                                              ; preds = %88, %84
  br label %200

200:                                              ; preds = %199, %65
  %201 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 9
  %202 = load double, ptr %201, align 8, !tbaa !22
  %203 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 6
  %204 = load double, ptr %203, align 8, !tbaa !19
  %205 = fdiv double %202, %204
  %206 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 15
  store double %205, ptr %206, align 8, !tbaa !26
  %207 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 10
  %208 = load double, ptr %207, align 8, !tbaa !23
  %209 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 8
  %210 = load double, ptr %209, align 8, !tbaa !21
  %211 = fdiv double %208, %210
  %212 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 16
  store double %211, ptr %212, align 8, !tbaa !27
  %213 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 15
  %214 = load double, ptr %213, align 8, !tbaa !26
  %215 = fdiv double %214, 2.000000e+00
  %216 = fneg double %215
  %217 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 18
  store double %216, ptr %217, align 8, !tbaa !28
  %218 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 16
  %219 = load double, ptr %218, align 8, !tbaa !27
  %220 = fdiv double %219, 2.000000e+00
  %221 = fneg double %220
  %222 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 19
  store double %221, ptr %222, align 8, !tbaa !29
  %223 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 6
  %224 = load double, ptr %223, align 8, !tbaa !19
  %225 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 18
  %226 = load double, ptr %225, align 8, !tbaa !28
  %227 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 18
  %228 = load double, ptr %227, align 8, !tbaa !28
  %229 = fmul double %226, %228
  %230 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 8
  %231 = load double, ptr %230, align 8, !tbaa !21
  %232 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 19
  %233 = load double, ptr %232, align 8, !tbaa !29
  %234 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 19
  %235 = load double, ptr %234, align 8, !tbaa !29
  %236 = fmul double %233, %235
  %237 = fmul double %231, %236
  %238 = call double @llvm.fmuladd.f64(double %224, double %229, double %237)
  %239 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 11
  %240 = load double, ptr %239, align 8, !tbaa !24
  %241 = fsub double %238, %240
  %242 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 17
  store double %241, ptr %242, align 8, !tbaa !30
  %243 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 17
  %244 = load double, ptr %243, align 8, !tbaa !30
  %245 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 6
  %246 = load double, ptr %245, align 8, !tbaa !19
  %247 = fdiv double %244, %246
  %248 = call double @sqrt(double noundef %247) #4
  %249 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 20
  store double %248, ptr %249, align 8, !tbaa !31
  %250 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 17
  %251 = load double, ptr %250, align 8, !tbaa !30
  %252 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 8
  %253 = load double, ptr %252, align 8, !tbaa !21
  %254 = fdiv double %251, %253
  %255 = call double @sqrt(double noundef %254) #4
  %256 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 21
  store double %255, ptr %256, align 8, !tbaa !32
  %257 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 20
  %258 = load double, ptr %257, align 8, !tbaa !31
  %259 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 20
  %260 = load double, ptr %259, align 8, !tbaa !31
  %261 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 21
  %262 = load double, ptr %261, align 8, !tbaa !32
  %263 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 21
  %264 = load double, ptr %263, align 8, !tbaa !32
  %265 = fmul double %262, %264
  %266 = fneg double %265
  %267 = call double @llvm.fmuladd.f64(double %258, double %260, double %266)
  %268 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 26
  store double %267, ptr %268, align 8, !tbaa !33
  %269 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %270 = load double, ptr %269, align 8, !tbaa !25
  %271 = fcmp une double %270, 0.000000e+00
  br i1 %271, label %272, label %300

272:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %273 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 18
  %274 = load double, ptr %273, align 8, !tbaa !28
  store double %274, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %275 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 19
  %276 = load double, ptr %275, align 8, !tbaa !29
  store double %276, ptr %6, align 8, !tbaa !9
  %277 = load double, ptr %5, align 8, !tbaa !9
  %278 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %279 = load double, ptr %278, align 8, !tbaa !25
  %280 = call double @cos(double noundef %279) #4
  %281 = load double, ptr %6, align 8, !tbaa !9
  %282 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %283 = load double, ptr %282, align 8, !tbaa !25
  %284 = call double @sin(double noundef %283) #4
  %285 = fmul double %281, %284
  %286 = fneg double %285
  %287 = call double @llvm.fmuladd.f64(double %277, double %280, double %286)
  %288 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 18
  store double %287, ptr %288, align 8, !tbaa !28
  %289 = load double, ptr %5, align 8, !tbaa !9
  %290 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %291 = load double, ptr %290, align 8, !tbaa !25
  %292 = call double @sin(double noundef %291) #4
  %293 = load double, ptr %6, align 8, !tbaa !9
  %294 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 23
  %295 = load double, ptr %294, align 8, !tbaa !25
  %296 = call double @cos(double noundef %295) #4
  %297 = fmul double %293, %296
  %298 = call double @llvm.fmuladd.f64(double %289, double %292, double %297)
  %299 = getelementptr inbounds %class.customEllipse, ptr %7, i32 0, i32 19
  store double %298, ptr %299, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %300

300:                                              ; preds = %272, %200
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS13customEllipse", !10, i64 0, !10, 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, !10, i64 96, !10, i64 104, !10, i64 112, !10, i64 120, !10, i64 128, !10, i64 136, !10, i64 144, !10, i64 152, !10, i64 160, !10, i64 168, !10, i64 176, !10, i64 184, !10, i64 192, !10, i64 200, !10, i64 208, !13, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 16}
!16 = !{!12, !10, i64 24}
!17 = !{!12, !10, i64 32}
!18 = !{!12, !10, i64 40}
!19 = !{!12, !10, i64 48}
!20 = !{!12, !10, i64 56}
!21 = !{!12, !10, i64 64}
!22 = !{!12, !10, i64 72}
!23 = !{!12, !10, i64 80}
!24 = !{!12, !10, i64 88}
!25 = !{!12, !10, i64 184}
!26 = !{!12, !10, i64 120}
!27 = !{!12, !10, i64 128}
!28 = !{!12, !10, i64 144}
!29 = !{!12, !10, i64 152}
!30 = !{!12, !10, i64 136}
!31 = !{!12, !10, i64 160}
!32 = !{!12, !10, i64 168}
!33 = !{!12, !10, i64 208}


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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN13customEllipseC2EPd(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr nocapture noundef readonly %1) unnamed_addr #2 align 2 {
  tail call void @_ZN13customEllipse10InitParamsEv(ptr noundef nonnull align 8 dereferenceable(272) %0)
  %3 = load double, ptr %1, align 8, !tbaa !5
  store double %3, ptr %0, align 8, !tbaa !9
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = load double, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  store double %5, ptr %6, align 8, !tbaa !13
  %7 = getelementptr inbounds i8, ptr %1, i64 16
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  store double %8, ptr %9, align 8, !tbaa !14
  %10 = getelementptr inbounds i8, ptr %1, i64 24
  %11 = load double, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %0, i64 24
  store double %11, ptr %12, align 8, !tbaa !15
  %13 = getelementptr inbounds i8, ptr %1, i64 32
  %14 = load double, ptr %13, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  store double %14, ptr %15, align 8, !tbaa !16
  %16 = getelementptr inbounds i8, ptr %1, i64 40
  %17 = load double, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 40
  %19 = fdiv double %5, %3
  store double %19, ptr %6, align 8, !tbaa !13
  %20 = fdiv double %17, %3
  store double %20, ptr %18, align 8, !tbaa !17
  %21 = insertelement <2 x double> poison, double %3, i64 0
  %22 = insertelement <2 x double> %21, double %8, i64 1
  %23 = shufflevector <2 x double> %21, <2 x double> poison, <2 x i32> zeroinitializer
  %24 = fdiv <2 x double> %22, %23
  %25 = insertelement <2 x double> poison, double %11, i64 0
  %26 = insertelement <2 x double> %25, double %14, i64 1
  %27 = fdiv <2 x double> %26, %23
  %28 = shufflevector <2 x double> %24, <2 x double> %27, <2 x i32> <i32 1, i32 2>
  store <2 x double> %28, ptr %9, align 8, !tbaa !5
  %29 = extractelement <2 x double> %27, i64 1
  store double %29, ptr %15, align 8, !tbaa !16
  %30 = extractelement <2 x double> %24, i64 0
  store double %30, ptr %0, align 8, !tbaa !9
  %31 = fcmp oeq double %19, 0.000000e+00
  br i1 %31, label %32, label %36

32:                                               ; preds = %2
  %33 = getelementptr inbounds i8, ptr %0, i64 48
  store double %30, ptr %33, align 8, !tbaa !18
  %34 = getelementptr inbounds i8, ptr %0, i64 56
  store double %19, ptr %34, align 8, !tbaa !19
  %35 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x double> %28, ptr %35, align 8, !tbaa !5
  br label %117

36:                                               ; preds = %2
  %shift = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %37 = fsub <2 x double> %24, %shift
  %38 = extractelement <2 x double> %37, i64 0
  %39 = fdiv double %19, %38
  %40 = tail call double @atan(double noundef %39) #3
  %41 = fmul double %40, 5.000000e-01
  %42 = getelementptr inbounds i8, ptr %0, i64 184
  store double %41, ptr %42, align 8, !tbaa !20
  %43 = load double, ptr %0, align 8, !tbaa !9
  %44 = fmul double %41, 2.000000e+00
  %45 = tail call double @cos(double noundef %44) #3
  %46 = fadd double %45, 1.000000e+00
  %47 = load double, ptr %6, align 8, !tbaa !13
  %48 = load double, ptr %42, align 8, !tbaa !20
  %49 = fmul double %48, 2.000000e+00
  %50 = tail call double @sin(double noundef %49) #3
  %51 = tail call double @llvm.fmuladd.f64(double %47, double %50, double %46)
  %52 = load double, ptr %9, align 8, !tbaa !14
  %53 = load double, ptr %42, align 8, !tbaa !20
  %54 = fmul double %53, 2.000000e+00
  %55 = tail call double @cos(double noundef %54) #3
  %56 = fsub double 1.000000e+00, %55
  %57 = tail call double @llvm.fmuladd.f64(double %52, double %56, double %51)
  %58 = fmul double %43, %57
  %59 = fmul double %58, 5.000000e-01
  %60 = getelementptr inbounds i8, ptr %0, i64 48
  store double %59, ptr %60, align 8, !tbaa !18
  %61 = load double, ptr %9, align 8, !tbaa !14
  %62 = load double, ptr %0, align 8, !tbaa !9
  %63 = fsub double %61, %62
  %64 = load double, ptr %42, align 8, !tbaa !20
  %65 = fmul double %64, 2.000000e+00
  %66 = tail call double @sin(double noundef %65) #3
  %67 = load double, ptr %6, align 8, !tbaa !13
  %68 = load double, ptr %42, align 8, !tbaa !20
  %69 = fmul double %68, 2.000000e+00
  %70 = tail call double @cos(double noundef %69) #3
  %71 = fmul double %67, %70
  %72 = tail call double @llvm.fmuladd.f64(double %63, double %66, double %71)
  %73 = getelementptr inbounds i8, ptr %0, i64 56
  store double %72, ptr %73, align 8, !tbaa !19
  %74 = load double, ptr %0, align 8, !tbaa !9
  %75 = load double, ptr %42, align 8, !tbaa !20
  %76 = fmul double %75, 2.000000e+00
  %77 = tail call double @cos(double noundef %76) #3
  %78 = fsub double 1.000000e+00, %77
  %79 = load double, ptr %6, align 8, !tbaa !13
  %80 = load double, ptr %42, align 8, !tbaa !20
  %81 = fmul double %80, 2.000000e+00
  %82 = tail call double @sin(double noundef %81) #3
  %83 = fneg double %79
  %84 = tail call double @llvm.fmuladd.f64(double %83, double %82, double %78)
  %85 = load double, ptr %9, align 8, !tbaa !14
  %86 = load double, ptr %42, align 8, !tbaa !20
  %87 = fmul double %86, 2.000000e+00
  %88 = tail call double @cos(double noundef %87) #3
  %89 = fadd double %88, 1.000000e+00
  %90 = tail call double @llvm.fmuladd.f64(double %85, double %89, double %84)
  %91 = fmul double %74, %90
  %92 = fmul double %91, 5.000000e-01
  %93 = getelementptr inbounds i8, ptr %0, i64 64
  store double %92, ptr %93, align 8, !tbaa !21
  %94 = load double, ptr %12, align 8, !tbaa !15
  %95 = load double, ptr %42, align 8, !tbaa !20
  %96 = tail call double @cos(double noundef %95) #3
  %97 = load double, ptr %15, align 8, !tbaa !16
  %98 = load double, ptr %42, align 8, !tbaa !20
  %99 = tail call double @sin(double noundef %98) #3
  %100 = fmul double %97, %99
  %101 = tail call double @llvm.fmuladd.f64(double %94, double %96, double %100)
  %102 = getelementptr inbounds i8, ptr %0, i64 72
  store double %101, ptr %102, align 8, !tbaa !22
  %103 = load double, ptr %12, align 8, !tbaa !15
  %104 = fneg double %103
  %105 = load double, ptr %42, align 8, !tbaa !20
  %106 = tail call double @sin(double noundef %105) #3
  %107 = load double, ptr %15, align 8, !tbaa !16
  %108 = load double, ptr %42, align 8, !tbaa !20
  %109 = tail call double @cos(double noundef %108) #3
  %110 = fmul double %107, %109
  %111 = tail call double @llvm.fmuladd.f64(double %104, double %106, double %110)
  %112 = load double, ptr %18, align 8, !tbaa !17
  %113 = load <2 x double>, ptr %102, align 8
  %114 = load <2 x double>, ptr %60, align 8
  %.pre16 = load double, ptr %93, align 8, !tbaa !21
  %115 = insertelement <2 x double> %113, double %111, i64 1
  %116 = insertelement <2 x double> %114, double %.pre16, i64 1
  br label %117

117:                                              ; preds = %36, %32
  %.sink = phi double [ %20, %32 ], [ %112, %36 ]
  %118 = phi <2 x double> [ %27, %32 ], [ %115, %36 ]
  %119 = phi <2 x double> [ %24, %32 ], [ %116, %36 ]
  %120 = getelementptr inbounds i8, ptr %0, i64 80
  %121 = extractelement <2 x double> %118, i64 1
  store double %121, ptr %120, align 8
  %122 = getelementptr inbounds i8, ptr %0, i64 88
  store double %.sink, ptr %122, align 8
  %123 = fdiv <2 x double> %118, %119
  %124 = getelementptr inbounds i8, ptr %0, i64 120
  %125 = getelementptr inbounds i8, ptr %0, i64 64
  store <2 x double> %123, ptr %124, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %0, i64 144
  %127 = fmul <2 x double> %123, <double -5.000000e-01, double -5.000000e-01>
  store <2 x double> %127, ptr %126, align 8, !tbaa !5
  %128 = fmul <2 x double> %127, %127
  %129 = extractelement <2 x double> %128, i64 0
  %130 = fmul <2 x double> %127, %127
  %131 = fmul <2 x double> %119, %130
  %132 = extractelement <2 x double> %131, i64 1
  %133 = extractelement <2 x double> %119, i64 0
  %134 = tail call double @llvm.fmuladd.f64(double %133, double %129, double %132)
  %135 = fsub double %134, %.sink
  %136 = getelementptr inbounds i8, ptr %0, i64 136
  store double %135, ptr %136, align 8, !tbaa !23
  %137 = fdiv double %135, %133
  %138 = tail call double @sqrt(double noundef %137) #3
  %139 = getelementptr inbounds i8, ptr %0, i64 160
  store double %138, ptr %139, align 8, !tbaa !24
  %140 = load double, ptr %136, align 8, !tbaa !23
  %141 = load double, ptr %125, align 8, !tbaa !21
  %142 = fdiv double %140, %141
  %143 = tail call double @sqrt(double noundef %142) #3
  %144 = getelementptr inbounds i8, ptr %0, i64 168
  store double %143, ptr %144, align 8, !tbaa !25
  %145 = load double, ptr %139, align 8, !tbaa !24
  %146 = fneg double %143
  %147 = fmul double %143, %146
  %148 = tail call double @llvm.fmuladd.f64(double %145, double %145, double %147)
  %149 = getelementptr inbounds i8, ptr %0, i64 208
  store double %148, ptr %149, align 8, !tbaa !26
  %150 = getelementptr inbounds i8, ptr %0, i64 184
  %151 = load double, ptr %150, align 8, !tbaa !20
  %152 = fcmp une double %151, 0.000000e+00
  br i1 %152, label %153, label %169

153:                                              ; preds = %117
  %154 = getelementptr inbounds i8, ptr %0, i64 152
  %155 = load double, ptr %126, align 8, !tbaa !27
  %156 = load double, ptr %154, align 8, !tbaa !28
  %157 = tail call double @cos(double noundef %151) #3
  %158 = load double, ptr %150, align 8, !tbaa !20
  %159 = tail call double @sin(double noundef %158) #3
  %160 = fneg double %156
  %161 = fmul double %159, %160
  %162 = tail call double @llvm.fmuladd.f64(double %155, double %157, double %161)
  store double %162, ptr %126, align 8, !tbaa !27
  %163 = load double, ptr %150, align 8, !tbaa !20
  %164 = tail call double @sin(double noundef %163) #3
  %165 = load double, ptr %150, align 8, !tbaa !20
  %166 = tail call double @cos(double noundef %165) #3
  %167 = fmul double %156, %166
  %168 = tail call double @llvm.fmuladd.f64(double %155, double %164, double %167)
  store double %168, ptr %154, align 8, !tbaa !28
  br label %169

169:                                              ; preds = %153, %117
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS13customEllipse", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !11, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !12, i64 256, !12, i64 264}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!10, !6, i64 8}
!14 = !{!10, !6, i64 16}
!15 = !{!10, !6, i64 24}
!16 = !{!10, !6, i64 32}
!17 = !{!10, !6, i64 40}
!18 = !{!10, !6, i64 48}
!19 = !{!10, !6, i64 56}
!20 = !{!10, !6, i64 184}
!21 = !{!10, !6, i64 64}
!22 = !{!10, !6, i64 72}
!23 = !{!10, !6, i64 136}
!24 = !{!10, !6, i64 160}
!25 = !{!10, !6, i64 168}
!26 = !{!10, !6, i64 208}
!27 = !{!10, !6, i64 144}
!28 = !{!10, !6, i64 152}


; Effective O3 passes: BDCEPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass