Guest User

Untitled

a guest
Nov 28th, 2016
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.09 KB | None | 0 0
  1. ;; Function f (f, funcdef_no=0, decl_uid=3082, cgraph_uid=0, symbol_order=0)
  2.  
  3.  
  4.  
  5. try_optimize_cfg iteration 1
  6.  
  7. starting the processing of deferred insns
  8. ending the processing of deferred insns
  9. df_analyze called
  10. insn 13: replaced reg 2 with 0
  11. rescanning insn with uid = 13.
  12. Attempting shrink-wrapping optimization.
  13. Block 2 needs the prologue.
  14. Block 3 needs the prologue.
  15. After wrapping required blocks, PRO is now 2
  16. Avoiding non-duplicatable blocks, PRO is now 2
  17. Bumping back to anticipatable blocks, PRO is now 2
  18. scanning new insn with uid = 42.
  19. scanning new insn with uid = 43.
  20. scanning new insn with uid = 44.
  21. scanning new insn with uid = 37.
  22. scanning new insn with uid = 38.
  23. scanning new insn with uid = 39.
  24. verify found no changes in insn with uid = 10.
  25. verify found no changes in insn with uid = 16.
  26.  
  27.  
  28. try_optimize_cfg iteration 1
  29.  
  30. starting the processing of deferred insns
  31. ending the processing of deferred insns
  32.  
  33.  
  34. f
  35.  
  36. Dataflow summary:
  37. ;; invalidated by call 0 [x0] 1 [x1] 2 [x2] 3 [x3] 4 [x4] 5 [x5] 6 [x6] 7 [x7] 8 [x8] 9 [x9] 10 [x10] 11 [x11] 12 [x12] 13 [x13] 14 [x14] 15 [x15] 16 [x16] 17 [x17] 18 [x18] 30 [x30] 32 [v0] 33 [v1] 34 [v2] 35 [v3] 36 [v4] 37 [v5] 38 [v6] 39 [v7] 48 [v16] 49 [v17] 50 [v18] 51 [v19] 52 [v20] 53 [v21] 54 [v22] 55 [v23] 56 [v24] 57 [v25] 58 [v26] 59 [v27] 60 [v28] 61 [v29] 62 [v30] 63 [v31] 66 [cc]
  38. ;; hardware regs used 31 [sp]
  39. ;; regular block artificial uses 29 [x29] 31 [sp]
  40. ;; eh block artificial uses 29 [x29] 31 [sp] 64 [sfp] 65 [ap]
  41. ;; entry block defs 0 [x0] 1 [x1] 2 [x2] 3 [x3] 4 [x4] 5 [x5] 6 [x6] 7 [x7] 8 [x8] 18 [x18] 29 [x29] 30 [x30] 31 [sp] 32 [v0] 33 [v1] 34 [v2] 35 [v3] 36 [v4] 37 [v5] 38 [v6] 39 [v7] 64 [sfp]
  42. ;; exit block uses 0 [x0] 29 [x29] 30 [x30] 31 [sp] 64 [sfp]
  43. ;; regs ever live 0 [x0] 1 [x1] 2 [x2] 16 [x16] 17 [x17] 29 [x29] 30 [x30] 31 [sp] 66 [cc]
  44. ;; ref usage r0={6d,7u} r1={3d,1u} r2={5d,1u} r3={3d} r4={3d} r5={3d} r6={3d} r7={3d} r8={3d} r9={2d} r10={2d} r11={2d} r12={2d} r13={2d} r14={2d} r15={2d} r16={4d} r17={4d} r18={3d} r29={3d,6u} r30={4d,3u} r31={3d,16u} r32={3d} r33={3d} r34={3d} r35={3d} r36={3d} r37={3d} r38={3d} r39={3d} r48={2d} r49={2d} r50={2d} r51={2d} r52={2d} r53={2d} r54={2d} r55={2d} r56={2d} r57={2d} r58={2d} r59={2d} r60={2d} r61={2d} r62={2d} r63={2d} r64={1d,1u} r66={3d,1u}
  45. ;; total ref usage 163{127d,36u,0e} in 16{14 regular + 2 call} insns.
  46. (note 1 0 5 NOTE_INSN_DELETED)
  47. (note 5 1 37 2 [bb 2] NOTE_INSN_BASIC_BLOCK)
  48. (insn/f 37 5 38 2 (parallel [
  49. (set (reg/f:DI 31 sp)
  50. (plus:DI (reg/f:DI 31 sp)
  51. (const_int -16 [0xfffffffffffffff0])))
  52. (set/f (mem:DI (plus:DI (reg/f:DI 31 sp)
  53. (const_int -16 [0xfffffffffffffff0])) [0 S8 A8])
  54. (reg/f:DI 29 x29))
  55. (set/f (mem:DI (plus:DI (reg/f:DI 31 sp)
  56. (const_int -8 [0xfffffffffffffff8])) [0 S8 A8])
  57. (reg:DI 30 x30))
  58. ]) "foo2.c":2 -1
  59. (nil))
  60. (insn/f 38 37 39 2 (set (reg/f:DI 29 x29)
  61. (plus:DI (reg/f:DI 31 sp)
  62. (const_int 0 [0]))) "foo2.c":2 -1
  63. (nil))
  64. (insn 39 38 40 2 (set (mem:BLK (scratch) [0 A8])
  65. (unspec:BLK [
  66. (reg/f:DI 31 sp)
  67. (reg/f:DI 29 x29)
  68. ] UNSPEC_PRLG_STK)) "foo2.c":2 -1
  69. (nil))
  70. (note 40 39 2 2 NOTE_INSN_PROLOGUE_END)
  71. (note 2 40 4 2 NOTE_INSN_DELETED)
  72. (note 4 2 11 2 NOTE_INSN_FUNCTION_BEG)
  73. (note 11 4 7 2 NOTE_INSN_DELETED)
  74. (insn 7 11 9 2 (set (reg/f:DI 2 x2 [orig:73 _1 ] [73])
  75. (plus:DI (reg:DI 0 x0 [ dest ])
  76. (const_int 5 [0x5]))) "foo2.c":3 97 {*adddi3_aarch64}
  77. (nil))
  78. (insn 9 7 10 2 (set (reg:DI 0 x0)
  79. (reg/f:DI 2 x2 [orig:73 _1 ] [73])) "foo2.c":3 50 {*movdi_aarch64}
  80. (nil))
  81. (call_insn 10 9 36 2 (parallel [
  82. (set (reg:DI 0 x0)
  83. (call (mem:DI (symbol_ref:DI ("strcpy") [flags 0x41] <function_decl 0x7fd1fca2b000 __builtin_strcpy>) [0 __builtin_strcpy S8 A8])
  84. (const_int 0 [0])))
  85. (use (const_int 0 [0]))
  86. (clobber (reg:DI 30 x30))
  87. ]) "foo2.c":3 44 {*call_value_symbol}
  88. (expr_list:REG_RETURNED (reg/f:DI 2 x2 [orig:73 _1 ] [73])
  89. (expr_list:REG_CALL_DECL (symbol_ref:DI ("strcpy") [flags 0x41] <function_decl 0x7fd1fca2b000 __builtin_strcpy>)
  90. (expr_list:REG_EH_REGION (const_int 0 [0])
  91. (nil))))
  92. (expr_list (clobber (reg:DI 17 x17))
  93. (expr_list (clobber (reg:DI 16 x16))
  94. (expr_list:DI (set (reg:DI 0 x0)
  95. (reg:DI 0 x0))
  96. (expr_list:DI (use (reg:DI 0 x0))
  97. (expr_list:DI (use (reg:DI 1 x1))
  98. (nil)))))))
  99. (insn 36 10 13 2 (set (reg/f:DI 2 x2 [orig:73 _1 ] [73])
  100. (reg:DI 0 x0)) "foo2.c":3 50 {*movdi_aarch64}
  101. (nil))
  102. (insn 13 36 14 2 (set (reg:CC 66 cc)
  103. (compare:CC (reg/f:DI 0 x0 [orig:73 _1 ] [73])
  104. (reg:DI 0 x0))) "foo2.c":3 393 {cmpdi}
  105. (nil))
  106. (jump_insn 14 13 15 2 (set (pc)
  107. (if_then_else (eq (reg:CC 66 cc)
  108. (const_int 0 [0]))
  109. (label_ref 18)
  110. (pc))) "foo2.c":3 9 {condjump}
  111. (int_list:REG_BR_PROB 9996 (nil))
  112. -> 18)
  113. (note 15 14 16 3 [bb 3] NOTE_INSN_BASIC_BLOCK)
  114. (call_insn 16 15 17 3 (parallel [
  115. (call (mem:DI (symbol_ref:DI ("abort") [flags 0x41] <function_decl 0x7fd1fca41600 __builtin_abort>) [0 __builtin_abort S8 A8])
  116. (const_int 0 [0]))
  117. (use (const_int 0 [0]))
  118. (clobber (reg:DI 30 x30))
  119. ]) "foo2.c":4 42 {*call_symbol}
  120. (expr_list:REG_CALL_DECL (symbol_ref:DI ("abort") [flags 0x41] <function_decl 0x7fd1fca41600 __builtin_abort>)
  121. (expr_list:REG_NORETURN (const_int 0 [0])
  122. (expr_list:REG_EH_REGION (const_int 0 [0])
  123. (nil))))
  124. (expr_list (clobber (reg:DI 17 x17))
  125. (expr_list (clobber (reg:DI 16 x16))
  126. (nil))))
  127. (barrier 17 16 18)
  128. (code_label 18 17 19 4 2 "" [1 uses])
  129. (note 19 18 22 4 [bb 4] NOTE_INSN_BASIC_BLOCK)
  130. (insn 22 19 23 4 (clobber (reg/i:DI 0 x0)) "foo2.c":5 -1
  131. (nil))
  132. (insn 23 22 24 4 (clobber (reg/f:DI 0 x0 [orig:75 <retval> ] [75])) "foo2.c":5 -1
  133. (nil))
  134. (insn 24 23 41 4 (use (reg/i:DI 0 x0)) "foo2.c":5 -1
  135. (nil))
  136. (note 41 24 42 4 NOTE_INSN_EPILOGUE_BEG)
  137. (insn/f 42 41 43 4 (parallel [
  138. (set (reg/f:DI 31 sp)
  139. (plus:DI (reg/f:DI 31 sp)
  140. (const_int 16 [0x10])))
  141. (set (reg/f:DI 29 x29)
  142. (mem:DI (reg/f:DI 31 sp) [0 S8 A8]))
  143. (set (reg:DI 30 x30)
  144. (mem:DI (plus:DI (reg/f:DI 31 sp)
  145. (const_int 8 [0x8])) [0 S8 A8]))
  146. ]) "foo2.c":5 -1
  147. (expr_list:REG_CFA_DEF_CFA (reg/f:DI 31 sp)
  148. (expr_list:REG_CFA_RESTORE (reg:DI 30 x30)
  149. (expr_list:REG_CFA_RESTORE (reg/f:DI 29 x29)
  150. (nil)))))
  151. (insn 43 42 44 4 (use (reg:DI 30 x30)) "foo2.c":5 -1
  152. (nil))
  153. (jump_insn 44 43 47 4 (return) "foo2.c":5 -1
  154. (nil)
  155. -> return)
  156. (barrier 47 44 34)
  157. (note 34 47 35 NOTE_INSN_DELETED)
  158. (note 35 34 0 NOTE_INSN_DELETED)
Add Comment
Please, Sign In to add comment