gcc-tree.dot 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. digraph "rhp.c.011t.cfg" {
  2. overlap=false;
  3. subgraph "cluster_rhp_init" {
  4. style="dashed";
  5. color="black";
  6. label="rhp_init ()";
  7. fn_3_basic_block_0 [shape=Mdiamond,style=filled,fillcolor=white,label="ENTRY"];
  8. fn_3_basic_block_1 [shape=Mdiamond,style=filled,fillcolor=white,label="EXIT"];
  9. fn_3_basic_block_2 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 2\>:\l\
  10. |rhp_inited.0\ =\ rhp_inited;\l\
  11. |if\ (rhp_inited.0\ !=\ 0)\l\
  12. \ \ goto\ \<bb\ 3\>;\l\
  13. else\l\
  14. \ \ goto\ \<bb\ 4\>;\l\
  15. }"];
  16. fn_3_basic_block_3 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 3\>:\l\
  17. |rhp_log\ (\"%s():\ rhp_deinit()\ not\ done\ and\ doing\ it\ now\ shouldnothappen!\n\",\ &__FUNCTION__);\l\
  18. |rhp_deinit\ ();\l\
  19. }"];
  20. fn_3_basic_block_4 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 4\>:\l\
  21. |rhp_logstream\ =\ 0B;\l\
  22. |rhp_dolog\ =\ 0;\l\
  23. |rhp_logname\ =\ 0B;\l\
  24. |if\ (logname\ !=\ 0B)\l\
  25. \ \ goto\ \<bb\ 5\>;\l\
  26. else\l\
  27. \ \ goto\ \<bb\ 10\>;\l\
  28. }"];
  29. fn_3_basic_block_5 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 5\>:\l\
  30. |D.4172\ =\ MEM[(const\ char\ *)logname];\l\
  31. |if\ (D.4172\ ==\ 0)\l\
  32. \ \ goto\ \<bb\ 6\>;\l\
  33. else\l\
  34. \ \ goto\ \<bb\ 7\>;\l\
  35. }"];
  36. fn_3_basic_block_6 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 6\>:\l\
  37. |stdout.1\ =\ stdout;\l\
  38. |rhp_logstream\ =\ stdout.1;\l\
  39. goto\ \<bb\ 9\>;\l\
  40. }"];
  41. fn_3_basic_block_7 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 7\>:\l\
  42. |D.4177\ =\ fopen\ (logname,\ \"wb\");\l\
  43. |rhp_logstream\ =\ D.4177;\l\
  44. |rhp_logstream.2\ =\ rhp_logstream;\l\
  45. |if\ (rhp_logstream.2\ ==\ 0B)\l\
  46. \ \ goto\ \<bb\ 8\>;\l\
  47. else\l\
  48. \ \ goto\ \<bb\ 9\>;\l\
  49. }"];
  50. fn_3_basic_block_8 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 8\>:\l\
  51. |stdout.3\ =\ stdout;\l\
  52. |rhp_logstream\ =\ stdout.3;\l\
  53. }"];
  54. fn_3_basic_block_9 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 9\>:\l\
  55. |rhp_dolog\ =\ loglevel;\l\
  56. |rhp_log\ (\"%s():\ starting\ logfile!\n\",\ &__FUNCTION__);\l\
  57. }"];
  58. fn_3_basic_block_10 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 10\>:\l\
  59. |D.4182\ =\ rhp_sp_new\ (1);\l\
  60. |rhp_sp_master_node_list\ =\ D.4182;\l\
  61. |D.4183\ =\ rhp_sp_new\ (1);\l\
  62. |rhp_sp_master_edge_list\ =\ D.4183;\l\
  63. |rhp_uniq_nodenum\ =\ 0;\l\
  64. |rhp_uniq_edgenum\ =\ 0;\l\
  65. |rhp_number_of_nodes\ =\ 0;\l\
  66. |rhp_number_of_edges\ =\ 0;\l\
  67. |rhp_number_of_isolated_nodes\ =\ 0;\l\
  68. |D.4184\ =\ rhp_sp_new\ (1);\l\
  69. |rhp_sp_between_layers\ =\ D.4184;\l\
  70. |rhp_maxlevel\ =\ 0;\l\
  71. |rhp_nlevels\ =\ 0;\l\
  72. |rhp_crossings\ =\ -1;\l\
  73. |rhp_start_crossings\ =\ -1;\l\
  74. |rhp_best_crossings_order\ =\ 0B;\l\
  75. |rhp_getlayoutdata\ =\ 0B;\l\
  76. |rhp_improvements\ =\ 0;\l\
  77. |rhp_notimprovements\ =\ 0;\l\
  78. |rhp_log\ (\"%s():\ sizeof\ (int)\ is\ %d\ bytes\ (expect\ 4)\n\",\ &__FUNCTION__,\ 4);\l\
  79. |rhp_log\ (\"%s():\ sizeof\ (long\ long)\ is\ %d\ bytes\ (expect\ 8)\n\",\ &__FUNCTION__,\ 8);\l\
  80. |rhp_log\ (\"%s():\ sizeof\ (int64_t)\ is\ %d\ bytes\ (expect\ 8)\n\",\ &__FUNCTION__,\ 8);\l\
  81. |rhp_log\ (\"%s():\ sizeof\ (intptr_t)\ is\ %d\ bytes\ (expect\ 8)\n\",\ &__FUNCTION__,\ 8);\l\
  82. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhp_spn)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 32);\l\
  83. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhp_sp)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 16);\l\
  84. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhpnode)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 80);\l\
  85. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhpedge)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 56);\l\
  86. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhplevel)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 16);\l\
  87. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhp_inter_layer_struct)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 24);\l\
  88. |rhp_log\ (\"%s():\ sizeof\ (struct\ rhp_order_struct)\ is\ %d\ bytes\n\",\ &__FUNCTION__,\ 24);\l\
  89. |rhp_inited\ =\ 1;\l\
  90. }"];
  91. fn_3_basic_block_11 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 11\>:\l\
  92. |\<L9\>:\l\
  93. |return;\l\
  94. }"];
  95. fn_3_basic_block_0:s -> fn_3_basic_block_2:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  96. fn_3_basic_block_2:s -> fn_3_basic_block_3:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  97. fn_3_basic_block_2:s -> fn_3_basic_block_4:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  98. fn_3_basic_block_3:s -> fn_3_basic_block_4:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  99. fn_3_basic_block_4:s -> fn_3_basic_block_5:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  100. fn_3_basic_block_4:s -> fn_3_basic_block_10:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  101. fn_3_basic_block_5:s -> fn_3_basic_block_6:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  102. fn_3_basic_block_5:s -> fn_3_basic_block_7:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  103. fn_3_basic_block_6:s -> fn_3_basic_block_9:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  104. fn_3_basic_block_7:s -> fn_3_basic_block_8:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  105. fn_3_basic_block_7:s -> fn_3_basic_block_9:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  106. fn_3_basic_block_8:s -> fn_3_basic_block_9:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  107. fn_3_basic_block_9:s -> fn_3_basic_block_10:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  108. fn_3_basic_block_10:s -> fn_3_basic_block_11:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  109. fn_3_basic_block_11:s -> fn_3_basic_block_1:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  110. fn_3_basic_block_0:s -> fn_3_basic_block_1:n [style="invis",constraint=true];
  111. }
  112. subgraph "cluster_rhp_deinit" {
  113. style="dashed";
  114. color="black";
  115. label="rhp_deinit ()";
  116. fn_4_basic_block_0 [shape=Mdiamond,style=filled,fillcolor=white,label="ENTRY"];
  117. fn_4_basic_block_1 [shape=Mdiamond,style=filled,fillcolor=white,label="EXIT"];
  118. fn_4_basic_block_2 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 2\>:\l\
  119. |rhp_inited.4\ =\ rhp_inited;\l\
  120. |if\ (rhp_inited.4\ ==\ 0)\l\
  121. \ \ goto\ \<bb\ 3\>;\l\
  122. else\l\
  123. \ \ goto\ \<bb\ 4\>;\l\
  124. }"];
  125. fn_4_basic_block_3 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 3\>:\l\
  126. |rhp_log\ (\"%s():\ first\ rhp_init()\ must\ be\ done\ shouldnothappen!\n\",\ &__FUNCTION__);\l\
  127. goto\ \<bb\ 13\>\ (\<L12\>);\l\
  128. }"];
  129. fn_4_basic_block_4 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 4\>:\l\
  130. |rhp_log\ (\"%s():\n\",\ &__FUNCTION__);\l\
  131. |rhp_empty_best_crossings_order\ ();\l\
  132. |rhp_empty_sp_layers\ ();\l\
  133. |rhp_empty_sp_between_layers\ ();\l\
  134. |rhp_empty_sp_master_node_list\ ();\l\
  135. |rhp_empty_sp_master_edge_list\ ();\l\
  136. |rhp_sp_layers.5\ =\ rhp_sp_layers;\l\
  137. |D.4190\ =\ rhp_sp_delete\ (rhp_sp_layers.5);\l\
  138. |rhp_sp_layers\ =\ D.4190;\l\
  139. |rhp_best_crossings_order.6\ =\ rhp_best_crossings_order;\l\
  140. |if\ (rhp_best_crossings_order.6\ !=\ 0B)\l\
  141. \ \ goto\ \<bb\ 5\>;\l\
  142. else\l\
  143. \ \ goto\ \<bb\ 6\>;\l\
  144. }"];
  145. fn_4_basic_block_5 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 5\>:\l\
  146. |rhp_best_crossings_order.7\ =\ rhp_best_crossings_order;\l\
  147. |D.4195\ =\ rhp_free\ (rhp_best_crossings_order.7,\ &__FUNCTION__,\ 735);\l\
  148. |rhp_best_crossings_order\ =\ D.4195;\l\
  149. }"];
  150. fn_4_basic_block_6 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 6\>:\l\
  151. |rhp_sp_master_node_list.8\ =\ rhp_sp_master_node_list;\l\
  152. |D.4197\ =\ rhp_sp_delete\ (rhp_sp_master_node_list.8);\l\
  153. |rhp_sp_master_node_list\ =\ D.4197;\l\
  154. |rhp_sp_master_edge_list.9\ =\ rhp_sp_master_edge_list;\l\
  155. |D.4199\ =\ rhp_sp_delete\ (rhp_sp_master_edge_list.9);\l\
  156. |rhp_sp_master_edge_list\ =\ D.4199;\l\
  157. |rhp_sp_master_node_list_sorted.10\ =\ rhp_sp_master_node_list_sorted;\l\
  158. |D.4201\ =\ rhp_sp_delete\ (rhp_sp_master_node_list_sorted.10);\l\
  159. |rhp_sp_master_node_list_sorted\ =\ D.4201;\l\
  160. |rhp_sp_between_layers.11\ =\ rhp_sp_between_layers;\l\
  161. |D.4203\ =\ rhp_sp_delete\ (rhp_sp_between_layers.11);\l\
  162. |rhp_sp_between_layers\ =\ D.4203;\l\
  163. |rhp_uniq_nodenum\ =\ 0;\l\
  164. |rhp_uniq_edgenum\ =\ 0;\l\
  165. |rhp_number_of_nodes\ =\ 0;\l\
  166. |rhp_number_of_edges\ =\ 0;\l\
  167. |rhp_number_of_isolated_nodes\ =\ 0;\l\
  168. |rhp_maxlevel\ =\ 0;\l\
  169. |rhp_nlevels\ =\ 0;\l\
  170. |rhp_crossings\ =\ -1;\l\
  171. |rhp_start_crossings\ =\ -1;\l\
  172. |rhp_getlayoutdata\ =\ 0B;\l\
  173. |rhp_improvements\ =\ 0;\l\
  174. |rhp_notimprovements\ =\ 0;\l\
  175. |rhp_n_malloc.12\ =\ rhp_n_malloc;\l\
  176. |rhp_n_free.13\ =\ rhp_n_free;\l\
  177. |if\ (rhp_n_malloc.12\ !=\ rhp_n_free.13)\l\
  178. \ \ goto\ \<bb\ 7\>;\l\
  179. else\l\
  180. \ \ goto\ \<bb\ 9\>;\l\
  181. }"];
  182. fn_4_basic_block_7 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 7\>:\l\
  183. |rhp_dolog.14\ =\ rhp_dolog;\l\
  184. |if\ (rhp_dolog.14\ \>\ 1)\l\
  185. \ \ goto\ \<bb\ 8\>;\l\
  186. else\l\
  187. \ \ goto\ \<bb\ 9\>;\l\
  188. }"];
  189. fn_4_basic_block_8 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 8\>:\l\
  190. |rhp_n_malloc.15\ =\ rhp_n_malloc;\l\
  191. |rhp_n_free.16\ =\ rhp_n_free;\l\
  192. |D.4213\ =\ rhp_n_malloc.15\ -\ rhp_n_free.16;\l\
  193. |rhp_n_free.17\ =\ rhp_n_free;\l\
  194. |rhp_n_malloc.18\ =\ rhp_n_malloc;\l\
  195. |rhp_log\ (\"%s():\ done\ %lu\ malloc\ and\ %lu\ free\ and\ delta\ is\ %li\ shouldnothappen!\n\",\ &__FUNCTION__,\ rhp_n_malloc.18,\ rhp_n_free.17,\ D.4213);\l\
  196. }"];
  197. fn_4_basic_block_9 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 9\>:\l\
  198. |rhp_n_malloc\ =\ 0;\l\
  199. |rhp_n_free\ =\ 0;\l\
  200. |rhp_dolog.19\ =\ rhp_dolog;\l\
  201. |if\ (rhp_dolog.19\ !=\ 0)\l\
  202. \ \ goto\ \<bb\ 10\>;\l\
  203. else\l\
  204. \ \ goto\ \<bb\ 12\>;\l\
  205. }"];
  206. fn_4_basic_block_10 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 10\>:\l\
  207. |rhp_log\ (\"%s():\ closing\ logfile\n\",\ &__FUNCTION__);\l\
  208. |rhp_logname.20\ =\ rhp_logname;\l\
  209. |if\ (rhp_logname.20\ !=\ 0B)\l\
  210. \ \ goto\ \<bb\ 11\>;\l\
  211. else\l\
  212. \ \ goto\ \<bb\ 12\>;\l\
  213. }"];
  214. fn_4_basic_block_11 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 11\>:\l\
  215. |rhp_logstream.21\ =\ rhp_logstream;\l\
  216. |fclose\ (rhp_logstream.21);\l\
  217. |rhp_logname\ =\ 0B;\l\
  218. }"];
  219. fn_4_basic_block_12 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 12\>:\l\
  220. |rhp_dolog\ =\ 0;\l\
  221. |rhp_inited\ =\ 0;\l\
  222. }"];
  223. fn_4_basic_block_13 [shape=record,style=filled,fillcolor=lightgrey,label="{ FREQ:0 |\<bb\ 13\>:\l\
  224. |\<L12\>:\l\
  225. |return;\l\
  226. }"];
  227. fn_4_basic_block_0:s -> fn_4_basic_block_2:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  228. fn_4_basic_block_2:s -> fn_4_basic_block_3:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  229. fn_4_basic_block_2:s -> fn_4_basic_block_4:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  230. fn_4_basic_block_3:s -> fn_4_basic_block_13:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  231. fn_4_basic_block_4:s -> fn_4_basic_block_5:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  232. fn_4_basic_block_4:s -> fn_4_basic_block_6:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  233. fn_4_basic_block_5:s -> fn_4_basic_block_6:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  234. fn_4_basic_block_6:s -> fn_4_basic_block_7:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  235. fn_4_basic_block_6:s -> fn_4_basic_block_9:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  236. fn_4_basic_block_7:s -> fn_4_basic_block_8:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  237. fn_4_basic_block_7:s -> fn_4_basic_block_9:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  238. fn_4_basic_block_8:s -> fn_4_basic_block_9:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  239. fn_4_basic_block_9:s -> fn_4_basic_block_10:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  240. fn_4_basic_block_9:s -> fn_4_basic_block_12:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  241. fn_4_basic_block_10:s -> fn_4_basic_block_11:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  242. fn_4_basic_block_10:s -> fn_4_basic_block_12:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  243. fn_4_basic_block_11:s -> fn_4_basic_block_12:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  244. fn_4_basic_block_12:s -> fn_4_basic_block_13:n [style="solid,bold",color=blue,weight=100,constraint=true, label="[0%]"];
  245. fn_4_basic_block_13:s -> fn_4_basic_block_1:n [style="solid,bold",color=black,weight=10,constraint=true, label="[0%]"];
  246. fn_4_basic_block_0:s -> fn_4_basic_block_1:n [style="invis",constraint=true];
  247. }
  248. }