moved external headers into include dir
[libfirm] / testprograms / ref-results / OO_PROGRAM_EXAMPLE_main-pure.vcg
index ff0c47b..0bdb5c7 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,176 +54,334 @@ colorentry 123:  255 220  220
 colorentry 124:  255 240  240
 colorentry 125:  255 250  250
 
-node: {title: "n27" label: "Block  27"  info1: "mode:    BB
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1 backedges:
-"color: lightyellow}
-edge: {sourcename: "n27" targetname: "n30" label: "0" class:13 priority:60 color:red}
-node: {title: "n28" label: "Start  28"  info1: "mode:    T
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 0
-start of method of type OO_PROGRAM_EXAMPLE_main
-"color: blue}
-edge: { sourcename: "n28" targetname: "n27" class:2  priority:50 linestyle:dotted}
-node: {title: "n30" label: "ProjX 0 30"  info1: "mode:    X
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n30" targetname: "n28" label: "0" class:13 priority:60 color:red}
-edge: { sourcename: "n30" targetname: "n27" class:2  priority:50 linestyle:dotted}
-node: {title: "n36" label: "Block  36"  info1: "mode:    BB
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1 backedges:
-"color: lightyellow}
-edge: {sourcename: "n36" targetname: "n30" label: "0" class:13 priority:60 color:red}
-node: {title: "n33" label: "ProjM 1 33"  info1: "mode:    M
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n33" targetname: "n28" label: "0" class:17 priority:10 color:blue}
-edge: { sourcename: "n33" targetname: "n27" class:2  priority:50 linestyle:dotted}
-node: {title: "n41" label: "Alloc  41"  info1: "mode:    T
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 2
-allocating entity of type PRIMA
-"}
-node: {title: "n41n39" label: "SymC PRIMA size  39"  info1: "mode:    Iu
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 0
-kind size
-SymConst of type type_unknown
-"}
-edge: {sourcename: "n41" targetname: "n33" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n41" targetname: "n41n39" label: "1" class:16 priority:10}
-edge: { sourcename: "n41" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n44" label: "ProjP 2 44"  info1: "mode:    P
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n44" targetname: "n41" label: "0" class:1  priority:50}
-edge: { sourcename: "n44" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n43" label: "ProjM 0 43"  info1: "mode:    M
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n43" targetname: "n41" label: "0" class:17 priority:10 color:blue}
-edge: { sourcename: "n43" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n45" label: "Sel PRIMA_set_a 45"  info1: "mode:    P
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 2
-Selecting entity of type set_a
-  from entity of type PRIMA
-"}
-edge: {sourcename: "n45" targetname: "n43" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n45" targetname: "n44" label: "1" class:1  priority:50}
-edge: { sourcename: "n45" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n46" label: "Call  46"  info1: "mode:    T
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 4
-calling method of type set_a
-  param 0 type: class_prima_ptr
-  param 1 type: int
-"}
-node: {title: "n46n37" label: "0x2Is  37"  info1: "mode:    Is
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 0
-Const of type type_unknown
-"color: yellow}
-edge: {sourcename: "n46" targetname: "n43" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n46" targetname: "n45" label: "1" class:1  priority:50}
-edge: {sourcename: "n46" targetname: "n44" label: "2" class:1  priority:50}
-edge: {sourcename: "n46" targetname: "n46n37" label: "3" class:16 priority:10}
-edge: { sourcename: "n46" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n48" label: "ProjM 0 48"  info1: "mode:    M
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n48" targetname: "n46" label: "0" class:17 priority:10 color:blue}
-edge: { sourcename: "n48" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n49" label: "Sel PRIMA_c 49"  info1: "mode:    P
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 2
-Selecting entity of type c
-  from entity of type PRIMA
-"}
-edge: {sourcename: "n49" targetname: "n48" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n49" targetname: "n44" label: "1" class:1  priority:50}
-edge: { sourcename: "n49" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n50" label: "Call  50"  info1: "mode:    T
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 4
-calling method of type c
-  param 0 type: class_prima_ptr
-  param 1 type: int
-  resul 0 type: int
-"}
-node: {title: "n50n38" label: "0x5Is  38"  info1: "mode:    Is
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 0
-Const of type type_unknown
-"color: yellow}
-edge: {sourcename: "n50" targetname: "n48" label: "0" class:14 priority:50 color:blue}
+node: {title: "n30" label: "Block 30"  info1: "Block 30
+  mode:    BB
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 34
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+color:lightyellow}
+edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red}
+node: {title: "n31" label: "Start 31"  info1: "Start 31
+  mode:    T
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  start of method of type OO_PROGRAM_EXAMPLE_main
+"
+color:blue}
+edge: { sourcename: "n31" targetname: "n30" class:2  priority:50 linestyle:dotted}
+node: {title: "n34" label: "ProjX X_initial_exec 34"  info1: "Proj 34
+  mode:    X
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 30
+     0:    Start 31
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red}
+edge: { sourcename: "n34" targetname: "n30" class:2  priority:50 linestyle:dotted}
+node: {title: "n40" label: "Block 40"  info1: "Block 40
+  mode:    BB
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 34
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+color:lightyellow}
+edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red}
+node: {title: "n37" label: "ProjM 1 37"  info1: "Proj 37
+  mode:    M
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 30
+     0:    Start 31
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue}
+edge: { sourcename: "n37" targetname: "n30" class:2  priority:50 linestyle:dotted}
+node: {title: "n45" label: "Alloc 45"  info1: "Alloc 45
+  mode:    T
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 37
+     1:    SymC PRIMA size 43
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  allocating entity of type: PRIMA
+  allocating on: the heap
+"
+}
+node: {title: "n45n43" label: "SymC PRIMA size 43"  info1: "SymC PRIMA size 43
+  mode:    Iu
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  kind: size
+  type: class type PRIMA (15)
+  type of value: type_unknown
+"
+}
+edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10}
+edge: { sourcename: "n45" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n48" label: "ProjP res 48"  info1: "Proj 48
+  mode:    P
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Alloc 45
+  Private Attributes:
+  proj nr: 2
+"
+color:yellow}
+edge: {sourcename: "n48" targetname: "n45" label: "0" class:1  priority:50}
+edge: { sourcename: "n48" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n47" label: "ProjM M 47"  info1: "Proj 47
+  mode:    M
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Alloc 45
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue}
+edge: { sourcename: "n47" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n49" label: "Sel PRIMA_set_a 49"  info1: "Sel 49
+  mode:    P
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 47
+     1:    Proj 48
+  Private Attributes:
+  Selecting entity set_a (20)
+    of type    set_a
+    with owner PRIMA.
+"
+}
+edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n49" targetname: "n48" label: "1" class:1  priority:50}
+edge: { sourcename: "n49" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n50" label: "Call 50"  info1: "Call 50
+  mode:    T
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   4
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 47
+     1:    Sel 49
+     2:    Proj 48
+     3:    0x2 41
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  calling method of type set_a
+    param 0 type: class_prima_ptr
+    param 1 type: int
+"
+}
+node: {title: "n50n41" label: "0x2Is 41"  info1: "0x2 41
+  mode:    Is
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+edge: {sourcename: "n50" targetname: "n47" label: "0" class:14 priority:50 color:blue}
 edge: {sourcename: "n50" targetname: "n49" label: "1" class:1  priority:50}
-edge: {sourcename: "n50" targetname: "n44" label: "2" class:1  priority:50}
-edge: {sourcename: "n50" targetname: "n50n38" label: "3" class:16 priority:10}
-edge: { sourcename: "n50" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n53" label: "ProjT 2 53"  info1: "mode:    T
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n53" targetname: "n50" label: "0" class:1  priority:50}
-edge: { sourcename: "n53" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n54" label: "ProjIs 0 54"  info1: "mode:    Is
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
-edge: {sourcename: "n54" targetname: "n53" label: "0" class:1  priority:50}
-edge: { sourcename: "n54" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n52" label: "ProjM 0 52"  info1: "mode:    M
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1
-"color: yellow}
+edge: {sourcename: "n50" targetname: "n48" label: "2" class:1  priority:50}
+edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10}
+edge: { sourcename: "n50" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n52" label: "ProjM M_regular 52"  info1: "Proj 52
+  mode:    M
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Call 50
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
 edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue}
-edge: { sourcename: "n52" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n55" label: "Return  55"  info1: "mode:    X
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 2
-return in method of type OO_PROGRAM_EXAMPLE_main
-  res 0 type: int
-"}
-edge: {sourcename: "n55" targetname: "n52" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n55" targetname: "n54" label: "1" class:1  priority:50}
-edge: { sourcename: "n55" targetname: "n36" class:2  priority:50 linestyle:dotted}
-node: {title: "n25" label: "Block  25"  info1: "mode:    BB
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 1 backedges:
-"color: lightyellow}
-edge: {sourcename: "n25" targetname: "n55" label: "0" class:13 priority:60 color:red}
-node: {title: "n103" label: "End  103"  info1: "mode:    X
-visited: 18
-irg:     OO_PROGRAM_EXAMPLE_main
-arity: 0
-"color: blue}
-edge: { sourcename: "n103" targetname: "n25" class:2  priority:50 linestyle:dotted}
+edge: { sourcename: "n52" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n53" label: "Sel PRIMA_c 53"  info1: "Sel 53
+  mode:    P
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 52
+     1:    Proj 48
+  Private Attributes:
+  Selecting entity c (23)
+    of type    c
+    with owner PRIMA.
+"
+}
+edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n53" targetname: "n48" label: "1" class:1  priority:50}
+edge: { sourcename: "n53" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n54" label: "Call 54"  info1: "Call 54
+  mode:    T
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   4
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 52
+     1:    Sel 53
+     2:    Proj 48
+     3:    0x5 42
+  Private Attributes:
+  pinned state: op_pin_state_pinned
+  calling method of type c
+    param 0 type: class_prima_ptr
+    param 1 type: int
+    resul 0 type: int
+"
+}
+node: {title: "n54n42" label: "0x5Is 42"  info1: "0x5 42
+  mode:    Is
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 30
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n54" targetname: "n53" label: "1" class:1  priority:50}
+edge: {sourcename: "n54" targetname: "n48" label: "2" class:1  priority:50}
+edge: {sourcename: "n54" targetname: "n54n42" label: "3" class:16 priority:10}
+edge: { sourcename: "n54" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n57" label: "ProjT T_result 57"  info1: "Proj 57
+  mode:    T
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Call 54
+  Private Attributes:
+  proj nr: 2
+"
+color:yellow}
+edge: {sourcename: "n57" targetname: "n54" label: "0" class:1  priority:50}
+edge: { sourcename: "n57" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n58" label: "ProjIs 0 58"  info1: "Proj 58
+  mode:    Is
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 57
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n58" targetname: "n57" label: "0" class:1  priority:50}
+edge: { sourcename: "n58" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n56" label: "ProjM M_regular 56"  info1: "Proj 56
+  mode:    M
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 40
+     0:    Call 54
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue}
+edge: { sourcename: "n56" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n59" label: "Return 59"  info1: "Return 59
+  mode:    X
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 40
+     0:    Proj 56
+     1:    Proj 58
+  Private Attributes:
+  return in method of type OO_PROGRAM_EXAMPLE_main
+    res 0 type: int
+"
+}
+edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n59" targetname: "n58" label: "1" class:1  priority:50}
+edge: { sourcename: "n59" targetname: "n40" class:2  priority:50 linestyle:dotted}
+node: {title: "n28" label: "Block 28"  info1: "Block 28
+  mode:    BB
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Return 59
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+color:lightyellow}
+edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red}
+node: {title: "n109" label: "End 109"  info1: "End 109
+  mode:    X
+  visited: 18
+  irg:     OO_PROGRAM_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 28
+  Private Attributes:
+"
+color:blue}
+edge: { sourcename: "n109" targetname: "n28" class:2  priority:50 linestyle:dotted}
 }