; LLVM IR from tangjz/acm-icpc :: self_training/2015-09-21 (I)

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

@_ZL2pi = external hidden global double, align 8
@t = external dso_local global i32, align 4
@id = external dso_local global i32, align 4
@cl = external dso_local global [3 x double], align 16
@angle = external dso_local global [3 x double], align 16
@A = external dso_local global double, align 8
@B = external dso_local global double, align 8
@C = external dso_local global double, align 8
@D = external dso_local global double, align 8
@E = external dso_local global double, align 8
@F = external dso_local global double, align 8
@delta = external dso_local global double, align 8
@xx = external dso_local global double, align 8
@yy = external dso_local global double, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZL1x = external hidden constant [3 x double], align 16
@_ZL1y = external hidden constant [3 x double], align 16
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  store i32 0, ptr %1, align 4
  %5 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @t)
  br label %6

6:                                                ; preds = %142, %0
  %7 = load i32, ptr @t, align 4, !tbaa !5
  %8 = add nsw i32 %7, -1
  store i32 %8, ptr @t, align 4, !tbaa !5
  %9 = icmp ne i32 %7, 0
  br i1 %9, label %10, label %172

10:                                               ; preds = %6
  %11 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @id)
  store double 0.000000e+00, ptr @F, align 8, !tbaa !9
  store double 0.000000e+00, ptr @E, align 8, !tbaa !9
  store double 0.000000e+00, ptr @D, align 8, !tbaa !9
  store double 0.000000e+00, ptr @C, align 8, !tbaa !9
  store double 0.000000e+00, ptr @B, align 8, !tbaa !9
  store double 0.000000e+00, ptr @A, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %139, %10
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 3
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %142

16:                                               ; preds = %12
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds double, ptr @angle, i64 %18
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds double, ptr @cl, i64 %21
  %23 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %19, ptr noundef %22)
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [3 x double], ptr @angle, i64 0, i64 %25
  %27 = load double, ptr %26, align 8, !tbaa !9
  %28 = fdiv double %27, 1.800000e+02
  %29 = load double, ptr @_ZL2pi, align 8, !tbaa !9
  %30 = fmul double %28, %29
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [3 x double], ptr @angle, i64 0, i64 %32
  store double %30, ptr %33, align 8, !tbaa !9
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = fadd double %37, 2.000000e-01
  store double %38, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [3 x double], ptr @angle, i64 0, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !9
  %43 = call double @cos(double noundef %42) #5
  store double %43, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [3 x double], ptr @angle, i64 0, i64 %45
  %47 = load double, ptr %46, align 8, !tbaa !9
  %48 = call double @sin(double noundef %47) #5
  store double %48, ptr %4, align 8, !tbaa !9
  %49 = load i32, ptr %2, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %50
  %52 = load double, ptr %51, align 8, !tbaa !9
  %53 = fmul double %52, 2.000000e+00
  %54 = load double, ptr %3, align 8, !tbaa !9
  %55 = fmul double %53, %54
  %56 = load double, ptr %3, align 8, !tbaa !9
  %57 = load double, ptr @A, align 8, !tbaa !9
  %58 = call double @llvm.fmuladd.f64(double %55, double %56, double %57)
  store double %58, ptr @A, align 8, !tbaa !9
  %59 = load i32, ptr %2, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %60
  %62 = load double, ptr %61, align 8, !tbaa !9
  %63 = fmul double %62, 2.000000e+00
  %64 = load double, ptr %4, align 8, !tbaa !9
  %65 = fmul double %63, %64
  %66 = load double, ptr %3, align 8, !tbaa !9
  %67 = load double, ptr @B, align 8, !tbaa !9
  %68 = fneg double %65
  %69 = call double @llvm.fmuladd.f64(double %68, double %66, double %67)
  store double %69, ptr @B, align 8, !tbaa !9
  %70 = load i32, ptr %2, align 4, !tbaa !5
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !9
  %74 = fmul double %73, 2.000000e+00
  %75 = load double, ptr %3, align 8, !tbaa !9
  %76 = fmul double %74, %75
  %77 = load double, ptr %4, align 8, !tbaa !9
  %78 = load double, ptr @C, align 8, !tbaa !9
  %79 = fneg double %76
  %80 = call double @llvm.fmuladd.f64(double %79, double %77, double %78)
  store double %80, ptr @C, align 8, !tbaa !9
  %81 = load i32, ptr %2, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !9
  %85 = fmul double %84, 2.000000e+00
  %86 = load double, ptr %4, align 8, !tbaa !9
  %87 = fmul double %85, %86
  %88 = load double, ptr %4, align 8, !tbaa !9
  %89 = load double, ptr @D, align 8, !tbaa !9
  %90 = call double @llvm.fmuladd.f64(double %87, double %88, double %89)
  store double %90, ptr @D, align 8, !tbaa !9
  %91 = load i32, ptr %2, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !9
  %95 = fmul double %94, 2.000000e+00
  %96 = load double, ptr %3, align 8, !tbaa !9
  %97 = load double, ptr %3, align 8, !tbaa !9
  %98 = fmul double %96, %97
  %99 = load i32, ptr %2, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [3 x double], ptr @_ZL1x, i64 0, i64 %100
  %102 = load double, ptr %101, align 8, !tbaa !9
  %103 = load double, ptr %3, align 8, !tbaa !9
  %104 = load double, ptr %4, align 8, !tbaa !9
  %105 = fmul double %103, %104
  %106 = load i32, ptr %2, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [3 x double], ptr @_ZL1y, i64 0, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !9
  %110 = fmul double %105, %109
  %111 = fneg double %110
  %112 = call double @llvm.fmuladd.f64(double %98, double %102, double %111)
  %113 = load double, ptr @E, align 8, !tbaa !9
  %114 = call double @llvm.fmuladd.f64(double %95, double %112, double %113)
  store double %114, ptr @E, align 8, !tbaa !9
  %115 = load i32, ptr %2, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds [3 x double], ptr @cl, i64 0, i64 %116
  %118 = load double, ptr %117, align 8, !tbaa !9
  %119 = fmul double %118, 2.000000e+00
  %120 = load double, ptr %4, align 8, !tbaa !9
  %121 = load double, ptr %4, align 8, !tbaa !9
  %122 = fmul double %120, %121
  %123 = load i32, ptr %2, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [3 x double], ptr @_ZL1y, i64 0, i64 %124
  %126 = load double, ptr %125, align 8, !tbaa !9
  %127 = load double, ptr %3, align 8, !tbaa !9
  %128 = load double, ptr %4, align 8, !tbaa !9
  %129 = fmul double %127, %128
  %130 = load i32, ptr %2, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [3 x double], ptr @_ZL1x, i64 0, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !9
  %134 = fmul double %129, %133
  %135 = fneg double %134
  %136 = call double @llvm.fmuladd.f64(double %122, double %126, double %135)
  %137 = load double, ptr @F, align 8, !tbaa !9
  %138 = call double @llvm.fmuladd.f64(double %119, double %136, double %137)
  store double %138, ptr @F, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %139

139:                                              ; preds = %16
  %140 = load i32, ptr %2, align 4, !tbaa !5
  %141 = add nsw i32 %140, 1
  store i32 %141, ptr %2, align 4, !tbaa !5
  br label %12, !llvm.loop !11

142:                                              ; preds = %15
  %143 = load double, ptr @A, align 8, !tbaa !9
  %144 = load double, ptr @D, align 8, !tbaa !9
  %145 = load double, ptr @B, align 8, !tbaa !9
  %146 = load double, ptr @C, align 8, !tbaa !9
  %147 = fmul double %145, %146
  %148 = fneg double %147
  %149 = call double @llvm.fmuladd.f64(double %143, double %144, double %148)
  store double %149, ptr @delta, align 8, !tbaa !9
  %150 = load double, ptr @E, align 8, !tbaa !9
  %151 = load double, ptr @D, align 8, !tbaa !9
  %152 = load double, ptr @F, align 8, !tbaa !9
  %153 = load double, ptr @B, align 8, !tbaa !9
  %154 = fmul double %152, %153
  %155 = fneg double %154
  %156 = call double @llvm.fmuladd.f64(double %150, double %151, double %155)
  %157 = load double, ptr @delta, align 8, !tbaa !9
  %158 = fdiv double %156, %157
  store double %158, ptr @xx, align 8, !tbaa !9
  %159 = load double, ptr @A, align 8, !tbaa !9
  %160 = load double, ptr @F, align 8, !tbaa !9
  %161 = load double, ptr @C, align 8, !tbaa !9
  %162 = load double, ptr @E, align 8, !tbaa !9
  %163 = fmul double %161, %162
  %164 = fneg double %163
  %165 = call double @llvm.fmuladd.f64(double %159, double %160, double %164)
  %166 = load double, ptr @delta, align 8, !tbaa !9
  %167 = fdiv double %165, %166
  store double %167, ptr @yy, align 8, !tbaa !9
  %168 = load i32, ptr @id, align 4, !tbaa !5
  %169 = load double, ptr @xx, align 8, !tbaa !9
  %170 = load double, ptr @yy, align 8, !tbaa !9
  %171 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %168, double noundef %169, double noundef %170)
  br label %6, !llvm.loop !13

172:                                              ; preds = %6
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #1

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

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

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

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

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

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

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


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

@_ZL2pi = external hidden local_unnamed_addr global double, align 8
@t = external dso_local global i32, align 4
@id = external dso_local global i32, align 4
@cl = external dso_local global [3 x double], align 16
@angle = external dso_local global [3 x double], align 16
@A = external dso_local local_unnamed_addr global double, align 8
@B = external dso_local local_unnamed_addr global double, align 8
@C = external dso_local local_unnamed_addr global double, align 8
@D = external dso_local local_unnamed_addr global double, align 8
@E = external dso_local local_unnamed_addr global double, align 8
@F = external dso_local local_unnamed_addr global double, align 8
@delta = external dso_local local_unnamed_addr global double, align 8
@xx = external dso_local local_unnamed_addr global double, align 8
@yy = external dso_local local_unnamed_addr global double, align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1
@_ZL1x = external hidden local_unnamed_addr constant [3 x double], align 16
@_ZL1y = external hidden local_unnamed_addr constant [3 x double], align 16
@.str.2 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress nofree norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @t)
  %2 = load i32, ptr @t, align 4, !tbaa !5
  %3 = add nsw i32 %2, -1
  store i32 %3, ptr @t, align 4, !tbaa !5
  %.not35 = icmp eq i32 %2, 0
  br i1 %.not35, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %0
  %.pre = load double, ptr getelementptr inbounds (i8, ptr @_ZL1x, i64 8), align 8, !tbaa !9
  %.pre37 = load double, ptr getelementptr inbounds (i8, ptr @_ZL1y, i64 8), align 8, !tbaa !9
  %4 = load double, ptr @_ZL1x, align 16
  %5 = load double, ptr @_ZL1y, align 16
  %6 = load double, ptr getelementptr inbounds (i8, ptr @_ZL1x, i64 16), align 16
  %7 = load double, ptr getelementptr inbounds (i8, ptr @_ZL1y, i64 16), align 16
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %8 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @id)
  store double 0.000000e+00, ptr @F, align 8, !tbaa !9
  store double 0.000000e+00, ptr @E, align 8, !tbaa !9
  store double 0.000000e+00, ptr @D, align 8, !tbaa !9
  store double 0.000000e+00, ptr @C, align 8, !tbaa !9
  store double 0.000000e+00, ptr @B, align 8, !tbaa !9
  store double 0.000000e+00, ptr @A, align 8, !tbaa !9
  %9 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull @angle, ptr noundef nonnull @cl)
  %10 = load double, ptr @angle, align 16, !tbaa !9
  %11 = fdiv double %10, 1.800000e+02
  %12 = load double, ptr @_ZL2pi, align 8, !tbaa !9
  %13 = fmul double %11, %12
  store double %13, ptr @angle, align 16, !tbaa !9
  %14 = load double, ptr @cl, align 16, !tbaa !9
  %15 = fadd double %14, 2.000000e-01
  store double %15, ptr @cl, align 16, !tbaa !9
  %16 = tail call double @cos(double noundef %13) #5
  %17 = load double, ptr @angle, align 16, !tbaa !9
  %18 = tail call double @sin(double noundef %17) #5
  %19 = load double, ptr @cl, align 16, !tbaa !9
  %20 = fmul double %19, 2.000000e+00
  %21 = fmul double %16, %20
  %22 = load double, ptr @A, align 8, !tbaa !9
  %23 = tail call double @llvm.fmuladd.f64(double %21, double %16, double %22)
  store double %23, ptr @A, align 8, !tbaa !9
  %24 = load double, ptr @B, align 8, !tbaa !9
  %25 = fmul double %19, -2.000000e+00
  %26 = fmul double %18, %25
  %27 = tail call double @llvm.fmuladd.f64(double %26, double %16, double %24)
  store double %27, ptr @B, align 8, !tbaa !9
  %28 = load double, ptr @C, align 8, !tbaa !9
  %29 = fmul double %16, %25
  %30 = tail call double @llvm.fmuladd.f64(double %29, double %18, double %28)
  store double %30, ptr @C, align 8, !tbaa !9
  %31 = fmul double %18, %20
  %32 = load double, ptr @D, align 8, !tbaa !9
  %33 = tail call double @llvm.fmuladd.f64(double %31, double %18, double %32)
  store double %33, ptr @D, align 8, !tbaa !9
  %34 = fmul double %16, %16
  %35 = fneg double %16
  %36 = fmul double %18, %35
  %37 = fmul double %36, %5
  %38 = tail call double @llvm.fmuladd.f64(double %34, double %4, double %37)
  %39 = load double, ptr @E, align 8, !tbaa !9
  %40 = tail call double @llvm.fmuladd.f64(double %20, double %38, double %39)
  store double %40, ptr @E, align 8, !tbaa !9
  %41 = fmul double %18, %18
  %42 = fmul double %36, %4
  %43 = tail call double @llvm.fmuladd.f64(double %41, double %5, double %42)
  %44 = load double, ptr @F, align 8, !tbaa !9
  %45 = tail call double @llvm.fmuladd.f64(double %20, double %43, double %44)
  store double %45, ptr @F, align 8, !tbaa !9
  %46 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull getelementptr inbounds (i8, ptr @angle, i64 8), ptr noundef nonnull getelementptr inbounds (i8, ptr @cl, i64 8))
  %47 = load double, ptr getelementptr inbounds (i8, ptr @angle, i64 8), align 8, !tbaa !9
  %48 = fdiv double %47, 1.800000e+02
  %49 = load double, ptr @_ZL2pi, align 8, !tbaa !9
  %50 = fmul double %48, %49
  store double %50, ptr getelementptr inbounds (i8, ptr @angle, i64 8), align 8, !tbaa !9
  %51 = load double, ptr getelementptr inbounds (i8, ptr @cl, i64 8), align 8, !tbaa !9
  %52 = fadd double %51, 2.000000e-01
  store double %52, ptr getelementptr inbounds (i8, ptr @cl, i64 8), align 8, !tbaa !9
  %53 = tail call double @cos(double noundef %50) #5
  %54 = load double, ptr getelementptr inbounds (i8, ptr @angle, i64 8), align 8, !tbaa !9
  %55 = tail call double @sin(double noundef %54) #5
  %56 = load double, ptr getelementptr inbounds (i8, ptr @cl, i64 8), align 8, !tbaa !9
  %57 = fmul double %56, 2.000000e+00
  %58 = fmul double %53, %57
  %59 = load double, ptr @A, align 8, !tbaa !9
  %60 = tail call double @llvm.fmuladd.f64(double %58, double %53, double %59)
  store double %60, ptr @A, align 8, !tbaa !9
  %61 = load double, ptr @B, align 8, !tbaa !9
  %62 = fmul double %56, -2.000000e+00
  %63 = fmul double %55, %62
  %64 = tail call double @llvm.fmuladd.f64(double %63, double %53, double %61)
  store double %64, ptr @B, align 8, !tbaa !9
  %65 = load double, ptr @C, align 8, !tbaa !9
  %66 = fmul double %53, %62
  %67 = tail call double @llvm.fmuladd.f64(double %66, double %55, double %65)
  store double %67, ptr @C, align 8, !tbaa !9
  %68 = fmul double %55, %57
  %69 = load double, ptr @D, align 8, !tbaa !9
  %70 = tail call double @llvm.fmuladd.f64(double %68, double %55, double %69)
  store double %70, ptr @D, align 8, !tbaa !9
  %71 = fmul double %53, %53
  %72 = fneg double %53
  %73 = fmul double %55, %72
  %74 = fmul double %73, %.pre37
  %75 = tail call double @llvm.fmuladd.f64(double %71, double %.pre, double %74)
  %76 = load double, ptr @E, align 8, !tbaa !9
  %77 = tail call double @llvm.fmuladd.f64(double %57, double %75, double %76)
  store double %77, ptr @E, align 8, !tbaa !9
  %78 = fmul double %55, %55
  %79 = fmul double %73, %.pre
  %80 = tail call double @llvm.fmuladd.f64(double %78, double %.pre37, double %79)
  %81 = load double, ptr @F, align 8, !tbaa !9
  %82 = tail call double @llvm.fmuladd.f64(double %57, double %80, double %81)
  store double %82, ptr @F, align 8, !tbaa !9
  %83 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull getelementptr inbounds (i8, ptr @angle, i64 16), ptr noundef nonnull getelementptr inbounds (i8, ptr @cl, i64 16))
  %84 = load double, ptr getelementptr inbounds (i8, ptr @angle, i64 16), align 16, !tbaa !9
  %85 = fdiv double %84, 1.800000e+02
  %86 = load double, ptr @_ZL2pi, align 8, !tbaa !9
  %87 = fmul double %85, %86
  store double %87, ptr getelementptr inbounds (i8, ptr @angle, i64 16), align 16, !tbaa !9
  %88 = load double, ptr getelementptr inbounds (i8, ptr @cl, i64 16), align 16, !tbaa !9
  %89 = fadd double %88, 2.000000e-01
  store double %89, ptr getelementptr inbounds (i8, ptr @cl, i64 16), align 16, !tbaa !9
  %90 = tail call double @cos(double noundef %87) #5
  %91 = load double, ptr getelementptr inbounds (i8, ptr @angle, i64 16), align 16, !tbaa !9
  %92 = tail call double @sin(double noundef %91) #5
  %93 = load double, ptr getelementptr inbounds (i8, ptr @cl, i64 16), align 16, !tbaa !9
  %94 = load double, ptr @A, align 8, !tbaa !9
  %95 = load double, ptr @B, align 8, !tbaa !9
  %96 = fmul double %93, -2.000000e+00
  %97 = load double, ptr @C, align 8, !tbaa !9
  %98 = load double, ptr @D, align 8, !tbaa !9
  %99 = fmul double %90, %90
  %100 = fneg double %90
  %101 = fmul double %92, %100
  %102 = fmul double %101, %7
  %103 = tail call double @llvm.fmuladd.f64(double %99, double %6, double %102)
  %104 = load double, ptr @E, align 8, !tbaa !9
  %105 = fmul double %92, %92
  %106 = fmul double %101, %6
  %107 = tail call double @llvm.fmuladd.f64(double %105, double %7, double %106)
  %108 = load double, ptr @F, align 8, !tbaa !9
  %109 = fmul double %93, 2.000000e+00
  %110 = fmul double %90, %109
  %111 = insertelement <2 x double> poison, double %110, i64 0
  %112 = insertelement <2 x double> %111, double %109, i64 1
  %113 = insertelement <2 x double> poison, double %90, i64 0
  %114 = insertelement <2 x double> %113, double %103, i64 1
  %115 = insertelement <2 x double> poison, double %94, i64 0
  %116 = insertelement <2 x double> %115, double %104, i64 1
  %117 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %112, <2 x double> %114, <2 x double> %116)
  %118 = extractelement <2 x double> %117, i64 0
  store double %118, ptr @A, align 8, !tbaa !9
  %119 = insertelement <2 x double> %114, double %92, i64 1
  %120 = insertelement <2 x double> poison, double %96, i64 0
  %121 = shufflevector <2 x double> %120, <2 x double> poison, <2 x i32> zeroinitializer
  %122 = fmul <2 x double> %119, %121
  %123 = shufflevector <2 x double> %119, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %124 = insertelement <2 x double> poison, double %97, i64 0
  %125 = insertelement <2 x double> %124, double %95, i64 1
  %126 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %122, <2 x double> %123, <2 x double> %125)
  %127 = extractelement <2 x double> %126, i64 1
  store double %127, ptr @B, align 8, !tbaa !9
  %128 = extractelement <2 x double> %126, i64 0
  store double %128, ptr @C, align 8, !tbaa !9
  %129 = fmul double %92, %109
  %130 = tail call double @llvm.fmuladd.f64(double %129, double %92, double %98)
  store double %130, ptr @D, align 8, !tbaa !9
  %131 = extractelement <2 x double> %117, i64 1
  store double %131, ptr @E, align 8, !tbaa !9
  %132 = tail call double @llvm.fmuladd.f64(double %109, double %107, double %108)
  store double %132, ptr @F, align 8, !tbaa !9
  %133 = shufflevector <2 x double> %126, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %134 = insertelement <2 x double> %133, double %132, i64 1
  %135 = fneg <2 x double> %134
  %136 = fmul <2 x double> %126, %135
  %137 = insertelement <2 x double> poison, double %130, i64 0
  %138 = shufflevector <2 x double> %137, <2 x double> poison, <2 x i32> zeroinitializer
  %139 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %117, <2 x double> %138, <2 x double> %136)
  %140 = extractelement <2 x double> %139, i64 0
  store double %140, ptr @delta, align 8, !tbaa !9
  %141 = extractelement <2 x double> %139, i64 1
  %142 = fdiv double %141, %140
  store double %142, ptr @xx, align 8, !tbaa !9
  %143 = fneg double %128
  %144 = fmul double %131, %143
  %145 = tail call double @llvm.fmuladd.f64(double %118, double %132, double %144)
  %146 = fdiv double %145, %140
  store double %146, ptr @yy, align 8, !tbaa !9
  %147 = load i32, ptr @id, align 4, !tbaa !5
  %148 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %147, double noundef %142, double noundef %146)
  %149 = load i32, ptr @t, align 4, !tbaa !5
  %150 = add nsw i32 %149, -1
  store i32 %150, ptr @t, align 4, !tbaa !5
  %.not = icmp eq i32 %149, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %0
  ret i32 0
}

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #4

attributes #0 = { mustprogress nofree norecurse 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 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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