Advertisement
Guest User

Untitled

a guest
Aug 17th, 2014
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. ;; Function f (f, funcdef_no=0, decl_uid=1745, cgraph_uid=0, symbol_order=0)
  2.  
  3. Immediate_uses:
  4.  
  5. t1_1 : --> single use.
  6. t2_3 = x_2(D) % t1_1;
  7.  
  8. x_2(D) : --> single use.
  9. t2_3 = x_2(D) % t1_1;
  10.  
  11. t2_3 : --> single use.
  12. t2_4 = t2_3;
  13.  
  14. t2_4 : --> single use.
  15. return t2_4;
  16.  
  17. .MEM_5(D) : --> single use.
  18. # VUSE <.MEM_5(D)>
  19. return t2_4;
  20.  
  21.  
  22. Adding Destination of edge (0 -> 2) to worklist
  23.  
  24. Simulating block 2
  25.  
  26. Visiting statement:
  27. t1_1 = 1;
  28. which is likely CONSTANT
  29. Lattice value changed to CONSTANT 1. Adding SSA edges to worklist.
  30.  
  31. Visiting statement:
  32. t2_3 = x_2(D) % t1_1;
  33. which is likely CONSTANT
  34. Match-and-simplified x_2(D) % t1_1 to 0
  35. Lattice value changed to CONSTANT 0. Adding SSA edges to worklist.
  36.  
  37. Visiting statement:
  38. t2_4 = t2_3;
  39. Lattice value changed to CONSTANT 0. Adding SSA edges to worklist.
  40.  
  41. Visiting statement:
  42. return t2_4;
  43. No interesting values produced. Marked VARYING.
  44.  
  45. Substituting values and folding statements
  46.  
  47. Folding statement: return t2_4;
  48. Folded into: return 0;
  49.  
  50. Removing dead stmt t2_4 = t2_3;
  51.  
  52. Removing dead stmt t2_3 = x_2(D) % t1_1;
  53.  
  54. Removing dead stmt t1_1 = 1;
  55.  
  56. f (int x)
  57. {
  58. int t2;
  59. int t1;
  60.  
  61. <bb 2>:
  62. return 0;
  63.  
  64. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement