Added graph identifiction: leaf, recursive, chain
[libfirm] / testprograms / ref-results / PRIMA_INLINE_c-wtypes.vcg
index 95da7e8..1a2023e 100644 (file)
@@ -23,101 +23,144 @@ 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: "g86" label: "PRIMA_INLINE_c" status:clustered color:white
-graph: { title: "n235"  label: "Block 235" status:clustered color:yellow
-edge: {sourcename: "n235" targetname: "n237" label: "0" class:13 priority:60 color:red}
-edge: {sourcename: "n235" targetname: "n236" label: "1" class:13 priority:60 color:red}
-node: {title: "n239" label: "PhiM  239"  info1: "visited: 25
+graph: { title: "g90" label: "PRIMA_INLINE_c" status:clustered color:white
+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: 26
 irg:     PRIMA_INLINE_c
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n239" targetname: "n248" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n239" targetname: "n240" label: "1" class:17 priority:10 color:blue}
-node: {title: "n240" label: "Store  240"  info1: "visited: 25
+"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: 26
 irg:     PRIMA_INLINE_c
 arity: 3
-" info2: "mymode == mode_T && Store node"}
-edge: {sourcename: "n240" targetname: "n239" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n240" targetname: "n246" label: "1" class:1  priority:50}
-edge: {sourcename: "n240" targetname: "n241" label: "2" class:1  priority:50}
-node: {title: "n246" label: "Sel a 246"  info1: "visited: 25
+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: 26
 irg:     PRIMA_INLINE_c
 arity: 2
 Selecting entity of type int
   from entity of type PRIMA_INLINE
 "}
-edge: {sourcename: "n246" targetname: "n239" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n246" targetname: "n247" label: "1" class:16 priority:10}
-node: {title: "n241" label: "PhiIs  241"  info1: "visited: 25
+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: 26
 irg:     PRIMA_INLINE_c
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n241" targetname: "n244" label: "0" class:16 priority:10}
-edge: {sourcename: "n241" targetname: "n242" label: "1" class:1  priority:50}
-node: {title: "n242" label: "PhiIs  242"  info1: "visited: 25
+"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: 26
 irg:     PRIMA_INLINE_c
 arity: 2 backedges:
-" info2: "mode_is_dataM(mymode) && Phi node"color: green}
-edge: {sourcename: "n242" targetname: "n243" label: "0" class:16 priority:10}
-edge: {sourcename: "n242" targetname: "n241" label: "1" class:1  priority:50}
-node: {title: "n236" label: "Jmp  236"  info1: "visited: 25
+"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: 26
 irg:     PRIMA_INLINE_c
 arity: 0
-" info2: "mymode == mode_X && Jmp node"}
+"}
 }
 
-graph: { title: "n238"  label: "Block 238" status:clustered color:yellow
-edge: {sourcename: "n238" targetname: "n233" label: "0" class:13 priority:60 color:red}
-node: {title: "n247" label: "ProjP 0 247"  info1: "visited: 25
+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: 26
 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: "n247" targetname: "n245" label: "0" class:16 priority:10}
-node: {title: "n244" label: "ProjIs 1 244"  info1: "visited: 25
+"color: yellow}
+edge: {sourcename: "n92" targetname: "n89" label: "0" class:16 priority:10}
+node: {title: "n93" label: "ProjIs 1 93"  info1: "mode:    Is
+visited: 26
 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: "n244" targetname: "n245" label: "0" class:16 priority:10}
-node: {title: "n237" label: "Jmp  237"  info1: "visited: 25
+"color: yellow}
+edge: {sourcename: "n93" targetname: "n89" label: "0" class:16 priority:10}
+node: {title: "n95" label: "Jmp  95"  info1: "mode:    X
+visited: 26
 irg:     PRIMA_INLINE_c
 arity: 0
-" info2: "mymode == mode_X && Jmp node"}
+"}
 }
 
-graph: { title: "n232"  label: "Block 232" status:clustered color:yellow
-edge: {sourcename: "n232" targetname: "n233" label: "0" class:13 priority:60 color:red}
-node: {title: "n248" label: "ProjM 1 248"  info1: "visited: 25
+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: 26
 irg:     PRIMA_INLINE_c
 arity: 1
 "color: yellow}
-edge: {sourcename: "n248" targetname: "n234" label: "0" class:17 priority:10 color:blue}
-node: {title: "n245" label: "ProjT 4 245"  info1: "visited: 25
+edge: {sourcename: "n88" targetname: "n83" label: "0" class:17 priority:10 color:blue}
+node: {title: "n89" label: "ProjT 4 89"  info1: "mode:    T
+visited: 26
 irg:     PRIMA_INLINE_c
 arity: 1
 "color: yellow}
-edge: {sourcename: "n245" targetname: "n234" label: "0" class:1  priority:50}
-node: {title: "n243" label: "0x0Is  243"  info1: "visited: 25
+edge: {sourcename: "n89" targetname: "n83" label: "0" class:1  priority:50}
+node: {title: "n94" label: "0x0Is  94"  info1: "mode:    Is
+visited: 26
 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: "n233" label: "ProjX 0 233"  info1: "visited: 25
+"color: yellow}
+node: {title: "n85" label: "ProjX 0 85"  info1: "mode:    X
+visited: 26
 irg:     PRIMA_INLINE_c
 arity: 1
 "color: yellow}
-edge: {sourcename: "n233" targetname: "n234" label: "0" class:13 priority:60 color:red}
-node: {title: "n234" label: "Start  234"  info1: "visited: 25
+edge: {sourcename: "n85" targetname: "n83" label: "0" class:13 priority:60 color:red}
+node: {title: "n83" label: "Start  83"  info1: "mode:    T
+visited: 26
 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: "n231"  label: "Block 231" status:clustered color:yellow
-node: {title: "n229" label: "End  229"  info1: "visited: 25
+graph: { title: "n80"  label: "Block 80" status:clustered color:yellow
+node: {title: "n235" label: "End  235"  info1: "mode:    X
+visited: 26
 irg:     PRIMA_INLINE_c
 arity: 2
 "color: blue}
@@ -126,47 +169,59 @@ arity: 2
 }
 
 node: {title: "e14" label: "ent a" color: yellow
- info1: "
-id: e14
-allocation:  allocation_automatic
-visibility:  visibility_local
-variability: variability_uninitialized
-volatility:  volatility_non_volatile
-peculiarity: peculiarity_existent
-name:    a
-ld_name: no yet set
-offset:  -1"
+ info1: "entity a (14)
+  type:  int (11)
+  owner: PRIMA_INLINE (12)
+  Does not overwrite other entities.
+  Is not overwriten by other entities.
+  allocation:  allocation_automatic
+  visibility:  visibility_local
+  variability: variability_uninitialized
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: no yet set
+  offset:  -1
+
+"
 }
 edge: { sourcename: "e14" targetname: "t11"class: 3 label: "type" color: red}
 node: {title: "t12" label: "class PRIMA_INLINE" info1: "state: layout_undefined
-size: -1B,
+size: -1b,
 peculiarity: peculiarity_existent
 " color: green}
 edge: { sourcename: "t12" targetname: "e14"class: 12 label: "member" color:blue}
 edge: { sourcename: "t12" targetname: "e17"class: 12 label: "member" color:blue}
 edge: { sourcename: "t12" targetname: "e20"class: 12 label: "member" color:blue}
 node: {title: "e17" label: "ent PRIMA_INLINE_set_a" color: yellow
- info1: "
-id: e17
-allocation:  allocation_static
-visibility:  visibility_local
-variability: variability_constant
-volatility:  volatility_non_volatile
-peculiarity: peculiarity_existent
-name:    set_a
-ld_name: PRIMA_INLINE_set_a
-offset:  -1
-irg = g65"
+ info1: "entity set_a (17)
+  type:  set_a (15)
+  owner: PRIMA_INLINE (12)
+  Does not overwrite other entities.
+  Is not overwriten by other entities.
+  allocation:  allocation_static
+  visibility:  visibility_local
+  variability: variability_constant
+  atomic value: SymC &set_a
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: PRIMA_INLINE_set_a
+  offset:  -1
+  irg = 68
+
+"
 }
 edge: { sourcename: "e17" targetname: "t15"class: 3 label: "type" color: red}
 edge: { sourcename: "e17" targetname: "n16"label: "value 0"}
-node: {title: "n16" label: "&(PRIMA_INLINE_set_a)P  16"  info1: "visited: 3
+node: {title: "n16" label: "SymC &set_a  16"  info1: "mode:    P
+visited: 3
 arity: 0
-Const of type type_unknown
-" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
+kind addr_ent
+entity PRIMA_INLINE.set_a (17)
+
+"}
 node: {title: "t15" label: "method set_a" info1: "state: layout_fixed,
 mode: P,
-size: 4B,
+size: 32b,
 variadicity: variadicity_non_variadic
 params: 2
 results: 0
@@ -175,35 +230,43 @@ edge: { sourcename: "t15" targetname: "t13"class: 5 label: "param 0" color: gree
 edge: { sourcename: "t15" targetname: "t11"class: 5 label: "param 1" color: green}
 node: {title: "t13" label: "pointer class_prima_ptr" info1: "state: layout_fixed,
 mode: P,
-size: 4B,
+size: 32b,
 "}
 edge: { sourcename: "t13" targetname: "t12"class: 9 label: "points to" color:green}
 node: {title: "t11" label: "primitive int" info1: "state: layout_fixed,
 mode: Is,
-size: 4B,
+size: 32b,
 "}
 node: {title: "e20" label: "ent PRIMA_INLINE_c" color: yellow
- info1: "
-id: e20
-allocation:  allocation_static
-visibility:  visibility_local
-variability: variability_constant
-volatility:  volatility_non_volatile
-peculiarity: peculiarity_existent
-name:    c
-ld_name: PRIMA_INLINE_c
-offset:  -1
-irg = g86"
+ info1: "entity c (20)
+  type:  c (18)
+  owner: PRIMA_INLINE (12)
+  Does not overwrite other entities.
+  Is not overwriten by other entities.
+  allocation:  allocation_static
+  visibility:  visibility_local
+  variability: variability_constant
+  atomic value: SymC &c
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: PRIMA_INLINE_c
+  offset:  -1
+  irg = 90
+
+"
 }
 edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red}
 edge: { sourcename: "e20" targetname: "n19"label: "value 0"}
-node: {title: "n19" label: "&(PRIMA_INLINE_c)P  19"  info1: "visited: 3
+node: {title: "n19" label: "SymC &c  19"  info1: "mode:    P
+visited: 3
 arity: 0
-Const of type type_unknown
-" info2: "(mode_is_data (mymode) || mymode == mode_b) && Const node"color: yellow}
+kind addr_ent
+entity PRIMA_INLINE.c (20)
+
+"}
 node: {title: "t18" label: "method c" info1: "state: layout_fixed,
 mode: P,
-size: 4B,
+size: 32b,
 variadicity: variadicity_non_variadic
 params: 2
 results: 1
@@ -211,9 +274,9 @@ results: 1
 edge: { sourcename: "t18" targetname: "t13"class: 5 label: "param 0" color: green}
 edge: { sourcename: "t18" targetname: "t11"class: 5 label: "param 1" color: green}
 edge: { sourcename: "t18" targetname: "t11"class: 6 label: "res 0" color: green}
-node: {title: "t75" label: "class cframe_tp" info1: "state: layout_undefined
-size: -1B,
+node: {title: "t79" label: "class cframe_tp" info1: "state: layout_undefined
+size: -1b,
 peculiarity: peculiarity_existent
 " color: green}
-edge: { sourcename: "n246" targetname: "e14"class:2 priority:2 linestyle:dotted}
+edge: { sourcename: "n110" targetname: "e14"class:2 priority:2 linestyle:dotted}
 }