gcc-10.1-one-tree-graph.gml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. graph [
  2. directed 1
  3. # function number 3
  4. node [ id 5 graphics [ fill "#ffffff" ] label "rhp_init ()
  5. ENTRY" ]
  6. node [ id 6 graphics [ fill "#ffffff" ] label "rhp_init ()
  7. EXIT" ]
  8. node [ id 7 graphics [ fill "#d3d3d3" ] label "<bb 2>:
  9. rhp_inited.0_1 = rhp_inited;
  10. if (rhp_inited.0_1 != 0)
  11. goto <bb 3>; [INV]
  12. else
  13. goto <bb 4>; [INV]
  14. " ]
  15. node [ id 8 graphics [ fill "#d3d3d3" ] label "<bb 3>:
  16. rhp_log ("%s(): rhp_deinit() not done and doing it now shouldnothappen!\n", &__FUNCTION__);
  17. rhp_deinit ();
  18. " ]
  19. node [ id 9 graphics [ fill "#d3d3d3" ] label "<bb 4>:
  20. rhp_logstream = 0B;
  21. rhp_dolog = 0;
  22. rhp_logname = 0B;
  23. if (logname != 0B)
  24. goto <bb 5>; [INV]
  25. else
  26. goto <bb 10>; [INV]
  27. " ]
  28. node [ id 10 graphics [ fill "#d3d3d3" ] label "<bb 5>:
  29. _2 = MEM[(const char *)logname];
  30. if (_2 == 0)
  31. goto <bb 6>; [INV]
  32. else
  33. goto <bb 7>; [INV]
  34. " ]
  35. node [ id 11 graphics [ fill "#d3d3d3" ] label "<bb 6>:
  36. stdout.1_3 = stdout;
  37. rhp_logstream = stdout.1_3;
  38. goto <bb 9>; [INV]
  39. " ]
  40. node [ id 12 graphics [ fill "#d3d3d3" ] label "<bb 7>:
  41. _4 = fopen (logname, "wb");
  42. rhp_logstream = _4;
  43. rhp_logstream.2_5 = rhp_logstream;
  44. if (rhp_logstream.2_5 == 0B)
  45. goto <bb 8>; [INV]
  46. else
  47. goto <bb 9>; [INV]
  48. " ]
  49. node [ id 13 graphics [ fill "#d3d3d3" ] label "<bb 8>:
  50. stdout.3_6 = stdout;
  51. rhp_logstream = stdout.3_6;
  52. " ]
  53. node [ id 14 graphics [ fill "#d3d3d3" ] label "<bb 9>:
  54. rhp_dolog = loglevel;
  55. rhp_log ("%s(): starting logfile!\n", &__FUNCTION__);
  56. " ]
  57. node [ id 15 graphics [ fill "#d3d3d3" ] label "<bb 10>:
  58. _7 = rhp_sp_new (1);
  59. rhp_sp_master_node_list = _7;
  60. _8 = rhp_sp_new (1);
  61. rhp_sp_master_edge_list = _8;
  62. rhp_uniq_nodenum = 0;
  63. rhp_uniq_edgenum = 0;
  64. rhp_number_of_nodes = 0;
  65. rhp_number_of_edges = 0;
  66. rhp_number_of_isolated_nodes = 0;
  67. _9 = rhp_sp_new (1);
  68. rhp_sp_between_layers = _9;
  69. rhp_maxlevel = 0;
  70. rhp_nlevels = 0;
  71. rhp_crossings = -1;
  72. rhp_start_crossings = -1;
  73. rhp_best_crossings_order = 0B;
  74. rhp_getlayoutdata = 0B;
  75. rhp_improvements = 0;
  76. rhp_notimprovements = 0;
  77. rhp_log ("%s(): sizeof (int) is %d bytes (expect 4)\n", &__FUNCTION__, 4);
  78. rhp_log ("%s(): sizeof (long long) is %d bytes (expect 8)\n", &__FUNCTION__, 8);
  79. rhp_log ("%s(): sizeof (int64_t) is %d bytes (expect 8)\n", &__FUNCTION__, 8);
  80. rhp_log ("%s(): sizeof (intptr_t) is %d bytes (expect 8)\n", &__FUNCTION__, 8);
  81. rhp_log ("%s(): sizeof (struct rhp_spn) is %d bytes\n", &__FUNCTION__, 32);
  82. rhp_log ("%s(): sizeof (struct rhp_sp) is %d bytes\n", &__FUNCTION__, 16);
  83. rhp_log ("%s(): sizeof (struct rhpnode) is %d bytes\n", &__FUNCTION__, 80);
  84. rhp_log ("%s(): sizeof (struct rhpedge) is %d bytes\n", &__FUNCTION__, 56);
  85. rhp_log ("%s(): sizeof (struct rhplevel) is %d bytes\n", &__FUNCTION__, 16);
  86. rhp_log ("%s(): sizeof (struct rhp_inter_layer_struct) is %d bytes\n", &__FUNCTION__, 24);
  87. rhp_log ("%s(): sizeof (struct rhp_order_struct) is %d bytes\n", &__FUNCTION__, 24);
  88. rhp_inited = 1;
  89. " ]
  90. node [ id 16 graphics [ fill "#d3d3d3" ] label "<bb 11>:
  91. <L9>:
  92. return;
  93. " ]
  94. edge [ source 5 target 7 graphics [ fill "#0000ff" ] ]
  95. edge [ source 7 target 8 graphics [ fill "#000000" ] ]
  96. edge [ source 7 target 9 graphics [ fill "#000000" ] ]
  97. edge [ source 8 target 9 graphics [ fill "#0000ff" ] ]
  98. edge [ source 9 target 10 graphics [ fill "#000000" ] ]
  99. edge [ source 9 target 15 graphics [ fill "#000000" ] ]
  100. edge [ source 10 target 11 graphics [ fill "#000000" ] ]
  101. edge [ source 10 target 12 graphics [ fill "#000000" ] ]
  102. edge [ source 11 target 14 graphics [ fill "#0000ff" ] ]
  103. edge [ source 12 target 13 graphics [ fill "#000000" ] ]
  104. edge [ source 12 target 14 graphics [ fill "#000000" ] ]
  105. edge [ source 13 target 14 graphics [ fill "#0000ff" ] ]
  106. edge [ source 14 target 15 graphics [ fill "#0000ff" ] ]
  107. edge [ source 15 target 16 graphics [ fill "#0000ff" ] ]
  108. edge [ source 16 target 6 graphics [ fill "#000000" ] ]
  109. ]