moved external headers into include dir
[libfirm] / testprograms / ref-results / PRIMA_c.vcg
index 8c63dc8..a9d8224 100644 (file)
@@ -5,12 +5,7 @@ manhattan_edges: yes
 port_sharing: no
 orientation: bottom_to_top
 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"
@@ -21,8 +16,16 @@ classname 9:  "Points-to"
 classname 10: "Array Element Type"
 classname 11: "Overwrites"
 classname 12: "Member"
+classname 13: "Control Flow"
+classname 14: "intrablock Memory"
+classname 15: "Dominators"
+classname 16: "interblock Data"
+classname 17: "interblock Memory"
+classname 18: "Exception Control Flow for Interval Analysis"
+classname 19: "Postdominators"
 infoname 1: "Attribute"
 infoname 2: "Verification errors"
+infoname 3: "Debug info"
 colorentry 100:    0   0    0
 colorentry 101:   20   0    0
 colorentry 102:   40   0    0
@@ -51,104 +54,248 @@ colorentry 123:  255 220  220
 colorentry 124:  255 240  240
 colorentry 125:  255 250  250
 
-graph: { title: "g90" label: "PRIMA_c" status:clustered color:white
-graph: { title: "n80"  label: "Block 80" status:clustered color:yellow
-edge: {sourcename: "n80" targetname: "n101" label: "0" class:13 priority:60 color:red}
-node: {title: "n146" label: "End  146"  info1: "mode:    X
-visited: 12
-irg:     PRIMA_c
-arity: 0
-"color: blue}
+graph: { title: "g96" label: "PRIMA_c" status:clustered color:white
+info1: "entity c (23)
+  type:  c (21)
+  owner: PRIMA (15)
+  Does not overwrite other entities.
+  Is not overwritten by other entities.
+  allocation:  allocation_static
+  visibility:  visibility_local
+  variability: variability_constant
+  calling convention: cdecl
+  atomic value: SymC &c
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: PRIMA_c
+  offset:  -1 bits, -1 bytes
+  irg = 96
+
+"
+graph: { title: "n85"  label: "Block 85" status:clustered color:yellow
+ info1: "Block 85
+  mode:    BB
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+     0:    Return 107
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n85" targetname: "n107" label: "0" class:13 priority:60 color:red}
+node: {title: "n154" label: "End 154"  info1: "End 154
+  mode:    X
+  visited: 12
+  irg:     PRIMA_c
+  arity:   0
+  pred nodes:
+    -1:    Block 85
+  Private Attributes:
+"
+color:blue}
 }
 
-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: "n101" label: "Return  101"  info1: "mode:    X
-visited: 12
-irg:     PRIMA_c
-arity: 2
-return in method of type c
-  res 0 type: int
-"}
-edge: {sourcename: "n101" targetname: "n98" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n101" targetname: "n100" label: "1" class:1  priority:50}
-node: {title: "n98" label: "ProjM 0 98"  info1: "mode:    M
-visited: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n98" targetname: "n96" label: "0" class:17 priority:10 color:blue}
-node: {title: "n100" label: "AddIs  100"  info1: "mode:    Is
-visited: 12
-irg:     PRIMA_c
-arity: 2
-"}
-edge: {sourcename: "n100" targetname: "n93" label: "0" class:1  priority:50}
-edge: {sourcename: "n100" targetname: "n99" label: "1" class:1  priority:50}
-node: {title: "n93" label: "ProjIs 1 93"  info1: "mode:    Is
-visited: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n93" targetname: "n89" label: "0" class:16 priority:10}
-node: {title: "n99" label: "ProjIs 2 99"  info1: "mode:    Is
-visited: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n99" targetname: "n96" label: "0" class:1  priority:50}
-node: {title: "n96" label: "Load  96"  info1: "mode:    T
-visited: 12
-irg:     PRIMA_c
-arity: 2
-"}
-edge: {sourcename: "n96" targetname: "n88" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n96" targetname: "n95" label: "1" class:1  priority:50}
-node: {title: "n95" label: "Sel a 95"  info1: "mode:    P
-visited: 12
-irg:     PRIMA_c
-arity: 2
-Selecting entity of type int
-  from entity of type PRIMA
-"}
-edge: {sourcename: "n95" targetname: "n88" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n95" targetname: "n92" label: "1" class:1  priority:50}
-node: {title: "n92" label: "ProjP 0 92"  info1: "mode:    P
-visited: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n92" targetname: "n89" label: "0" class:16 priority:10}
+graph: { title: "n97"  label: "Block 97" status:clustered color:yellow
+ info1: "Block 97
+  mode:    BB
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+     0:    Proj 91
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n97" targetname: "n91" label: "0" class:13 priority:60 color:red}
+node: {title: "n107" label: "Return 107"  info1: "Return 107
+  mode:    X
+  visited: 12
+  irg:     PRIMA_c
+  arity:   2
+  pred nodes:
+    -1:    Block 97
+     0:    Proj 104
+     1:    Add 106
+  Private Attributes:
+  return in method of type c
+    res 0 type: int
+"
+}
+edge: {sourcename: "n107" targetname: "n104" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n107" targetname: "n106" label: "1" class:1  priority:50}
+node: {title: "n104" label: "ProjM M 104"  info1: "Proj 104
+  mode:    M
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 97
+     0:    Load[Is] 102
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue}
+node: {title: "n106" label: "AddIs 106"  info1: "Add 106
+  mode:    Is
+  visited: 12
+  irg:     PRIMA_c
+  arity:   2
+  pred nodes:
+    -1:    Block 97
+     0:    Proj 105
+     1:    Proj 99
+  Private Attributes:
+"
+}
+edge: {sourcename: "n106" targetname: "n105" label: "0" class:1  priority:50}
+edge: {sourcename: "n106" targetname: "n99" label: "1" class:1  priority:50}
+node: {title: "n105" label: "ProjIs res 105"  info1: "Proj 105
+  mode:    Is
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 97
+     0:    Load[Is] 102
+  Private Attributes:
+  proj nr: 2
+"
+color:yellow}
+edge: {sourcename: "n105" targetname: "n102" label: "0" class:1  priority:50}
+node: {title: "n102" label: "Load[Is] 102"  info1: "Load[Is] 102
+  mode:    T
+  visited: 12
+  irg:     PRIMA_c
+  arity:   2
+  pred nodes:
+    -1:    Block 97
+     0:    Proj 94
+     1:    Sel 101
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  mode of loaded value: Is
+  volatility: volatility_non_volatile
+"
+}
+edge: {sourcename: "n102" targetname: "n94" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n102" targetname: "n101" label: "1" class:1  priority:50}
+node: {title: "n101" label: "Sel a 101"  info1: "Sel 101
+  mode:    P
+  visited: 12
+  irg:     PRIMA_c
+  arity:   2
+  pred nodes:
+    -1:    Block 97
+     0:    Proj 94
+     1:    Proj 98
+  Private Attributes:
+  Selecting entity a (17)
+    of type    int
+    with owner PRIMA.
+"
+}
+edge: {sourcename: "n101" targetname: "n94" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n101" targetname: "n98" label: "1" class:1  priority:50}
+node: {title: "n98" label: "ProjP Arg 0 98"  info1: "Proj 98
+  mode:    P
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 97
+     0:    Proj 95
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n98" targetname: "n95" label: "0" class:16 priority:10}
+node: {title: "n99" label: "ProjIs Arg 1 99"  info1: "Proj 99
+  mode:    Is
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 97
+     0:    Proj 95
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n99" targetname: "n95" label: "0" class:16 priority:10}
 }
 
-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: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n88" targetname: "n83" label: "0" class:17 priority:10 color:blue}
-node: {title: "n89" label: "ProjT 4 89"  info1: "mode:    T
-visited: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n89" targetname: "n83" label: "0" class:1  priority:50}
-node: {title: "n85" label: "ProjX 0 85"  info1: "mode:    X
-visited: 12
-irg:     PRIMA_c
-arity: 1
-"color: yellow}
-edge: {sourcename: "n85" targetname: "n83" label: "0" class:13 priority:60 color:red}
-node: {title: "n83" label: "Start  83"  info1: "mode:    T
-visited: 12
-irg:     PRIMA_c
-arity: 0
-start of method of type c
-  param 0 type: class_prima_ptr
-  param 1 type: int
-"color: blue}
+graph: { title: "n87"  label: "Block 87" status:clustered color:yellow
+ info1: "Block 87
+  mode:    BB
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+     0:    Proj 91
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n87" targetname: "n91" label: "0" class:13 priority:60 color:red}
+node: {title: "n94" label: "ProjM 1 94"  info1: "Proj 94
+  mode:    M
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 87
+     0:    Start 88
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n94" targetname: "n88" label: "0" class:17 priority:10 color:blue}
+node: {title: "n95" label: "ProjT T_args 95"  info1: "Proj 95
+  mode:    T
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 87
+     0:    Start 88
+  Private Attributes:
+  proj nr: 4
+"
+color:yellow}
+edge: {sourcename: "n95" targetname: "n88" label: "0" class:1  priority:50}
+node: {title: "n91" label: "ProjX X_initial_exec 91"  info1: "Proj 91
+  mode:    X
+  visited: 12
+  irg:     PRIMA_c
+  arity:   1
+  pred nodes:
+    -1:    Block 87
+     0:    Start 88
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n91" targetname: "n88" label: "0" class:13 priority:60 color:red}
+node: {title: "n88" label: "Start 88"  info1: "Start 88
+  mode:    T
+  visited: 12
+  irg:     PRIMA_c
+  arity:   0
+  pred nodes:
+    -1:    Block 87
+  Private Attributes:
+  start of method of type c
+    param 0 type: class_prima_ptr
+    param 1 type: int
+"
+color:blue}
 }
 
 }