Added graph identifiction: leaf, recursive, chain
[libfirm] / testprograms / ref-results / PRIMA_INLINE_c.vcg
index 0298a32..cee33a4 100644 (file)
@@ -4,118 +4,163 @@ layoutalgorithm: mindepth
 manhattan_edges: yes
 port_sharing: no
 orientation: bottom_to_top
-classname 1: "Data"
-classname 2: "Block"
-classname 13:"Control Flow"
-classname 14:"Memory"
-classname 15:"Dominators"
-classname 3: "Entity type"
-classname 4: "Entity owner"
-classname 5: "Method Param"
-classname 6: "Method Res"
-classname 7: "Super"
-classname 8: "Union"
-classname 9: "Points-to"
+classname 1:  "intrablock Data"
+classname 16: "interblock Data"
+classname 2:  "Block"
+classname 13: "Control Flow"
+classname 14: "intrablock Memory"
+classname 17: "interblock Memory"
+classname 15: "Dominators"
+classname 3:  "Entity type"
+classname 4:  "Entity owner"
+classname 5:  "Method Param"
+classname 6:  "Method Res"
+classname 7:  "Super"
+classname 8:  "Union"
+classname 9:  "Points-to"
 classname 10: "Array Element Type"
 classname 11: "Overwrites"
 classname 12: "Member"
 infoname 1: "Attribute"
 infoname 2: "Verification errors"
+colorentry 100:    0   0    0
+colorentry 101:   20   0    0
+colorentry 102:   40   0    0
+colorentry 103:   60   0    0
+colorentry 104:   80   0    0
+colorentry 105:  100   0    0
+colorentry 106:  120   0    0
+colorentry 107:  140   0    0
+colorentry 108:  150   0    0
+colorentry 109:  180   0    0
+colorentry 110:  200   0    0
+colorentry 111:  220   0    0
+colorentry 112:  240   0    0
+colorentry 113:  255   0    0
+colorentry 113:  255  20   20
+colorentry 114:  255  40   40
+colorentry 115:  255  60   60
+colorentry 116:  255  80   80
+colorentry 117:  255 100  100
+colorentry 118:  255 120  120
+colorentry 119:  255 140  140
+colorentry 120:  255 150  150
+colorentry 121:  255 180  180
+colorentry 122:  255 200  200
+colorentry 123:  255 220  220
+colorentry 124:  255 240  240
+colorentry 125:  255 250  250
 
 graph: { title: "g90" label: "PRIMA_INLINE_c" status:clustered color:white
-graph: { title: "n242"  label: "Block 242" status:clustered color:yellow
-edge: {sourcename: "n242" targetname: "n244" label: "0" class:13 color:red}
-edge: {sourcename: "n242" targetname: "n243" label: "1" class:13 color:red}
-node: {title: "n246" label: "PhiM  246"  info1: "visited: 21
+graph: { title: "n96"  label: "Block 96" status:clustered color:yellow
+edge: {sourcename: "n96" targetname: "n95" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n96" targetname: "n103" label: "1" class:13 priority:60 color:red}
+node: {title: "n124" label: "PhiM  124"  info1: "mode:    M
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n246" targetname: "n255" label: "0" class:14 color:blue}
-edge: {sourcename: "n246" targetname: "n247" label: "1" class:14 color:blue}
-node: {title: "n247" label: "Store  247"  info1: "visited: 21
+"color: green}
+edge: {sourcename: "n124" targetname: "n88" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n124" targetname: "n111" label: "1" class:17 priority:10 color:blue}
+node: {title: "n111" label: "Store  111"  info1: "mode:    T
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 3
-" info2: "mymode == mode_T && Store node"}
-edge: {sourcename: "n247" targetname: "n246" label: "0" class:14 color:blue}
-edge: {sourcename: "n247" targetname: "n253" label: "1" }
-edge: {sourcename: "n247" targetname: "n248" label: "2" }
-node: {title: "n253" label: "Sel a 253"  info1: "visited: 21
+volatility: volatility_non_volatile
+"}
+edge: {sourcename: "n111" targetname: "n124" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n111" targetname: "n110" label: "1" class:1  priority:50}
+edge: {sourcename: "n111" targetname: "n120" label: "2" class:1  priority:50}
+node: {title: "n110" label: "Sel a 110"  info1: "mode:    P
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 2
 Selecting entity of type int
   from entity of type PRIMA_INLINE
 "}
-edge: {sourcename: "n253" targetname: "n246" label: "0" class:14 color:blue}
-edge: {sourcename: "n253" targetname: "n254" label: "1" }
-node: {title: "n248" label: "PhiIs  248"  info1: "visited: 21
+edge: {sourcename: "n110" targetname: "n124" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n110" targetname: "n92" label: "1" class:16 priority:10}
+node: {title: "n120" label: "PhiIs  120"  info1: "mode:    Is
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n248" targetname: "n251" label: "0" }
-edge: {sourcename: "n248" targetname: "n249" label: "1" }
-node: {title: "n249" label: "PhiIs  249"  info1: "visited: 21
+"color: green}
+edge: {sourcename: "n120" targetname: "n93" label: "0" class:16 priority:10}
+edge: {sourcename: "n120" targetname: "n121" label: "1" class:1  priority:50}
+node: {title: "n121" label: "PhiIs  121"  info1: "mode:    Is
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n249" targetname: "n250" label: "0" }
-edge: {sourcename: "n249" targetname: "n248" label: "1" }
-node: {title: "n243" label: "Jmp  243"  info1: "visited: 21
+"color: green}
+edge: {sourcename: "n121" targetname: "n94" label: "0" class:16 priority:10}
+edge: {sourcename: "n121" targetname: "n120" label: "1" class:1  priority:50}
+node: {title: "n103" label: "Jmp  103"  info1: "mode:    X
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 0
-" info2: "mymode == mode_X && Jmp node"}
+"}
 }
 
-graph: { title: "n245"  label: "Block 245" status:clustered color:yellow
-edge: {sourcename: "n245" targetname: "n240" label: "0" class:13 color:red}
-node: {title: "n254" label: "ProjP 0 254"  info1: "visited: 21
+graph: { title: "n91"  label: "Block 91" status:clustered color:yellow
+edge: {sourcename: "n91" targetname: "n85" label: "0" class:13 priority:60 color:red}
+node: {title: "n92" label: "ProjP 0 92"  info1: "mode:    P
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 1
-" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow}
-edge: {sourcename: "n254" targetname: "n252" label: "0" }
-node: {title: "n251" label: "ProjIs 1 251"  info1: "visited: 21
+"color: yellow}
+edge: {sourcename: "n92" targetname: "n89" label: "0" class:16 priority:10}
+node: {title: "n93" label: "ProjIs 1 93"  info1: "mode:    Is
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 1
-" info2: "(mode == get_type_mode(get_method_param_type(mt, proj))) && Mode of Proj from Start doesn't match mode of param type."color: yellow}
-edge: {sourcename: "n251" targetname: "n252" label: "0" }
-node: {title: "n244" label: "Jmp  244"  info1: "visited: 21
+"color: yellow}
+edge: {sourcename: "n93" targetname: "n89" label: "0" class:16 priority:10}
+node: {title: "n95" label: "Jmp  95"  info1: "mode:    X
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 0
-" info2: "mymode == mode_X && Jmp node"}
+"}
 }
 
-graph: { title: "n239"  label: "Block 239" status:clustered color:yellow
-edge: {sourcename: "n239" targetname: "n240" label: "0" class:13 color:red}
-node: {title: "n255" label: "ProjM 1 255"  info1: "visited: 21
+graph: { title: "n82"  label: "Block 82" status:clustered color:yellow
+edge: {sourcename: "n82" targetname: "n85" label: "0" class:13 priority:60 color:red}
+node: {title: "n88" label: "ProjM 1 88"  info1: "mode:    M
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 1
 "color: yellow}
-edge: {sourcename: "n255" targetname: "n241" label: "0" class:14 color:blue}
-node: {title: "n252" label: "ProjT 4 252"  info1: "visited: 21
+edge: {sourcename: "n88" targetname: "n83" label: "0" class:17 priority:10 color:blue}
+node: {title: "n89" label: "ProjT 4 89"  info1: "mode:    T
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 1
 "color: yellow}
-edge: {sourcename: "n252" targetname: "n241" label: "0" }
-node: {title: "n250" label: "0x0Is  250"  info1: "visited: 21
+edge: {sourcename: "n89" targetname: "n83" label: "0" class:1  priority:50}
+node: {title: "n94" label: "0x0Is  94"  info1: "mode:    Is
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 0
 Const of type type_unknown
-" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
-node: {title: "n240" label: "ProjX 0 240"  info1: "visited: 21
+"color: yellow}
+node: {title: "n85" label: "ProjX 0 85"  info1: "mode:    X
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 1
 "color: yellow}
-edge: {sourcename: "n240" targetname: "n241" label: "0" class:13 color:red}
-node: {title: "n241" label: "Start  241"  info1: "visited: 21
+edge: {sourcename: "n85" targetname: "n83" label: "0" class:13 priority:60 color:red}
+node: {title: "n83" label: "Start  83"  info1: "mode:    T
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 0
 start of method of type c
   param 0 type: class_prima_ptr
   param 1 type: int
-" info2: "mymode == mode_T && Start node"color: blue}
+"color: blue}
 }
 
-graph: { title: "n237"  label: "Block 237" status:clustered color:yellow
-node: {title: "n236" label: "End  236"  info1: "visited: 21
+graph: { title: "n80"  label: "Block 80" status:clustered color:yellow
+node: {title: "n235" label: "End  235"  info1: "mode:    X
+visited: 25
 irg:     PRIMA_INLINE_c
 arity: 2
 "color: blue}