crash_lencod.ll 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. ; RUN: opt < %s -basicaa -slp-vectorizer -dce -S -mtriple=x86_64-apple-macosx10.8.0 -mcpu=corei7
  2. target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
  3. target triple = "x86_64-apple-macosx10.8.0"
  4. ; Function Attrs: nounwind ssp uwtable
  5. define void @RCModelEstimator() {
  6. entry:
  7. br i1 undef, label %for.body.lr.ph, label %for.end.thread
  8. for.end.thread: ; preds = %entry
  9. unreachable
  10. for.body.lr.ph: ; preds = %entry
  11. br i1 undef, label %for.end, label %for.body
  12. for.body: ; preds = %for.body, %for.body.lr.ph
  13. br i1 undef, label %for.end, label %for.body
  14. for.end: ; preds = %for.body, %for.body.lr.ph
  15. br i1 undef, label %for.body3, label %if.end103
  16. for.cond14.preheader: ; preds = %for.inc11
  17. br i1 undef, label %for.body16.lr.ph, label %if.end103
  18. for.body16.lr.ph: ; preds = %for.cond14.preheader
  19. br label %for.body16
  20. for.body3: ; preds = %for.inc11, %for.end
  21. br i1 undef, label %if.then7, label %for.inc11
  22. if.then7: ; preds = %for.body3
  23. br label %for.inc11
  24. for.inc11: ; preds = %if.then7, %for.body3
  25. br i1 false, label %for.cond14.preheader, label %for.body3
  26. for.body16: ; preds = %for.body16, %for.body16.lr.ph
  27. br i1 undef, label %for.end39, label %for.body16
  28. for.end39: ; preds = %for.body16
  29. br i1 undef, label %if.end103, label %for.cond45.preheader
  30. for.cond45.preheader: ; preds = %for.end39
  31. br i1 undef, label %if.then88, label %if.else
  32. if.then88: ; preds = %for.cond45.preheader
  33. %mul89 = fmul double 0.000000e+00, 0.000000e+00
  34. %mul90 = fmul double 0.000000e+00, 0.000000e+00
  35. %sub91 = fsub double %mul89, %mul90
  36. %div92 = fdiv double %sub91, undef
  37. %mul94 = fmul double 0.000000e+00, 0.000000e+00
  38. %mul95 = fmul double 0.000000e+00, 0.000000e+00
  39. %sub96 = fsub double %mul94, %mul95
  40. %div97 = fdiv double %sub96, undef
  41. br label %if.end103
  42. if.else: ; preds = %for.cond45.preheader
  43. br label %if.end103
  44. if.end103: ; preds = %if.else, %if.then88, %for.end39, %for.cond14.preheader, %for.end
  45. %0 = phi double [ 0.000000e+00, %for.end39 ], [ %div97, %if.then88 ], [ 0.000000e+00, %if.else ], [ 0.000000e+00, %for.cond14.preheader ], [ 0.000000e+00, %for.end ]
  46. %1 = phi double [ undef, %for.end39 ], [ %div92, %if.then88 ], [ undef, %if.else ], [ 0.000000e+00, %for.cond14.preheader ], [ 0.000000e+00, %for.end ]
  47. ret void
  48. }
  49. define void @intrapred_luma() {
  50. entry:
  51. %conv153 = trunc i32 undef to i16
  52. %arrayidx154 = getelementptr inbounds [13 x i16], [13 x i16]* undef, i64 0, i64 12
  53. store i16 %conv153, i16* %arrayidx154, align 8
  54. %arrayidx155 = getelementptr inbounds [13 x i16], [13 x i16]* undef, i64 0, i64 11
  55. store i16 %conv153, i16* %arrayidx155, align 2
  56. %arrayidx156 = getelementptr inbounds [13 x i16], [13 x i16]* undef, i64 0, i64 10
  57. store i16 %conv153, i16* %arrayidx156, align 4
  58. ret void
  59. }
  60. define fastcc void @dct36(double* %inbuf) {
  61. entry:
  62. %arrayidx41 = getelementptr inbounds double, double* %inbuf, i64 2
  63. %arrayidx44 = getelementptr inbounds double, double* %inbuf, i64 1
  64. %0 = load double, double* %arrayidx44, align 8
  65. %add46 = fadd double %0, undef
  66. store double %add46, double* %arrayidx41, align 8
  67. %1 = load double, double* %inbuf, align 8
  68. %add49 = fadd double %1, %0
  69. store double %add49, double* %arrayidx44, align 8
  70. ret void
  71. }