2007-07-30-AliasSet.ll 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. ; RUN: opt < %s -licm -loop-unswitch -disable-output
  2. %struct.III_scalefac_t = type { [22 x i32], [13 x [3 x i32]] }
  3. %struct.gr_info = type { i32, i32, i32, i32, i32, i32, i32, i32, [3 x i32], [3 x i32], i32, i32, i32, i32, i32, i32, i32, i32, i32, i32*, [4 x i32] }
  4. define i32 @scale_bitcount_lsf(%struct.III_scalefac_t* %scalefac, %struct.gr_info* %cod_info) {
  5. entry:
  6. br i1 false, label %bb28, label %bb133.preheader
  7. bb133.preheader: ; preds = %entry
  8. ret i32 0
  9. bb28: ; preds = %entry
  10. br i1 false, label %bb63.outer, label %bb79
  11. bb63.outer: ; preds = %bb73, %bb28
  12. br i1 false, label %bb35, label %bb73
  13. bb35: ; preds = %cond_next60, %bb63.outer
  14. %window.34 = phi i32 [ %tmp62, %cond_next60 ], [ 0, %bb63.outer ] ; <i32> [#uses=1]
  15. %tmp44 = getelementptr [4 x i32], [4 x i32]* null, i32 0, i32 0 ; <i32*> [#uses=1]
  16. %tmp46 = load i32, i32* %tmp44, align 4 ; <i32> [#uses=0]
  17. br i1 false, label %cond_true50, label %cond_next60
  18. cond_true50: ; preds = %bb35
  19. %tmp59 = getelementptr [4 x i32], [4 x i32]* null, i32 0, i32 0 ; <i32*> [#uses=1]
  20. store i32 0, i32* %tmp59, align 4
  21. br label %cond_next60
  22. cond_next60: ; preds = %cond_true50, %bb35
  23. %tmp62 = add i32 %window.34, 1 ; <i32> [#uses=1]
  24. br i1 false, label %bb35, label %bb73
  25. bb73: ; preds = %cond_next60, %bb63.outer
  26. %tmp76 = icmp slt i32 0, 0 ; <i1> [#uses=1]
  27. br i1 %tmp76, label %bb63.outer, label %bb79
  28. bb79: ; preds = %bb73, %bb28
  29. ret i32 0
  30. }