- placed phi_handler into the be_main environment, removing unnecessary allocations
[libfirm] / testprograms / ref-results / GLOBAL_CSE_EXAMPLE_main.vcg
index 6c8a18d..0f7207b 100644 (file)
@@ -4,71 +4,438 @@ layoutalgorithm: mindepth
 manhattan_edges: yes
 port_sharing: no
 orientation: bottom_to_top
-classname 1: "Data"
-classname 2: "Block"
-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"
-graph: { title: "n53"  label: "53" status:clustered color:yellow
-edge: {sourcename: "n53" targetname: "n54" label: "0" color: red}
-node: {title: "n52" label: "End  52" color: blue}
+classname 1:  "intrablock Data"
+classname 2:  "Block"
+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"
+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
+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: "g30" label: "GLOBAL_CSE_EXAMPLE_main" status:clustered color:white
+info1: "entity GLOBAL_CSE_EXAMPLE_main (16)
+  type:  GLOBAL_CSE_EXAMPLE_main (14)
+  owner: GlobalType (0)
+  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 &GLOBAL_CSE_EXAMPLE_main
+  volatility:  volatility_non_volatile
+  peculiarity: peculiarity_existent
+  ld_name: no yet set
+  offset:  -1 bits, -1 bytes
+  irg = 30
+
+"
+graph: { title: "n19"  label: "Block 19" status:clustered color:yellow
+ info1: "Block 19
+  mode:    BB
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Return 64
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n19" targetname: "n64" label: "0" class:13 priority:60 color:red}
+node: {title: "n20" label: "End 20"  info1: "End 20
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 19
+  Private Attributes:
+"
+color:blue}
 }
 
-graph: { title: "n55"  label: "55" status:clustered color:yellow
-edge: {sourcename: "n55" targetname: "n69" label: "0" color: red}
-edge: {sourcename: "n55" targetname: "n56" label: "1" color: red}
-node: {title: "n54" label: "Return  54" }
-edge: {sourcename: "n54" targetname: "n77" label: "0" color: blue}
-edge: {sourcename: "n54" targetname: "n72" label: "1" }
-node: {title: "n72" label: "PhiIs  72" color: green}
-edge: {sourcename: "n72" targetname: "n75" label: "0" }
-edge: {sourcename: "n72" targetname: "n73" label: "1" }
+node: {title: "n28" label: "ProjM 1 28"  info1: "Proj 28
+  mode:    M
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 21
+  arity:   1
+  pred nodes:
+    -1:    Block 21
+     0:    Start 22
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n28" targetname: "n22" label: "0" class:17 priority:10 color:blue}
+node: {title: "n50" label: "AddIs 50"  info1: "Add 50
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 45
+  arity:   2
+  pred nodes:
+    -1:    Block 45
+     0:    Sub 42
+     1:    0x5 49
+  Private Attributes:
+"
+}
+edge: {sourcename: "n50" targetname: "n42" label: "0" class:16 priority:10}
+edge: {sourcename: "n50" targetname: "n49" label: "1" class:16 priority:10}
+node: {title: "n49" label: "0x5Is 49"  info1: "0x5 49
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 21
+  arity:   0
+  pred nodes:
+    -1:    Block 21
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+node: {title: "n42" label: "SubIs 42"  info1: "Sub 42
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 39
+  arity:   2
+  pred nodes:
+    -1:    Block 39
+     0:    Proj 32
+     1:    0x3 40
+  Private Attributes:
+"
+}
+edge: {sourcename: "n42" targetname: "n32" label: "0" class:16 priority:10}
+edge: {sourcename: "n42" targetname: "n40" label: "1" class:16 priority:10}
+node: {title: "n40" label: "0x3Is 40"  info1: "0x3 40
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 21
+  arity:   0
+  pred nodes:
+    -1:    Block 21
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+graph: { title: "n53"  label: "Block 53" status:clustered color:yellow
+ info1: "Block 53
+  mode:    BB
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+     0:    Jmp 52
+     1:    Jmp 44
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n53" targetname: "n52" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n53" targetname: "n44" label: "1" class:13 priority:60 color:red}
+node: {title: "n64" label: "Return 64"  info1: "Return 64
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 53
+     0:    Proj 28
+     1:    Phi 55
+  Private Attributes:
+  return in method of type GLOBAL_CSE_EXAMPLE_main
+    res 0 type: int
+"
+}
+edge: {sourcename: "n64" targetname: "n28" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n64" targetname: "n55" label: "1" class:1  priority:50}
+node: {title: "n55" label: "PhiIs 55"  info1: "Phi 55
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   2
+  pred nodes:
+    -1:    Block 53
+     0:    Add 50
+     1:    Sub 42
+  Private Attributes:
+  backedges:
+"
+color:green}
+edge: {sourcename: "n55" targetname: "n50" label: "0" class:16 priority:10}
+edge: {sourcename: "n55" targetname: "n42" label: "1" class:16 priority:10}
 }
 
-graph: { title: "n57"  label: "57" status:clustered color:yellow
-edge: {sourcename: "n57" targetname: "n58" label: "0" color: red}
-node: {title: "n56" label: "Jmp  56" }
+graph: { title: "n45"  label: "Block 45" status:clustered color:yellow
+ info1: "Block 45
+  mode:    BB
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 37
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n45" targetname: "n37" label: "0" class:13 priority:60 color:red}
+node: {title: "n52" label: "Jmp 52"  info1: "Jmp 52
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 45
+  Private Attributes:
+"
+}
 }
 
-graph: { title: "n59"  label: "59" status:clustered color:yellow
-edge: {sourcename: "n59" targetname: "n60" label: "0" color: red}
-node: {title: "n63" label: "Cond  63" }
-edge: {sourcename: "n63" targetname: "n64" label: "0" }
+node: {title: "n37" label: "ProjX false 37"  info1: "Proj 37
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 31
+  arity:   1
+  pred nodes:
+    -1:    Block 31
+     0:    Cond 36
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n37" targetname: "n36" label: "0" class:13 priority:60 color:red}
+graph: { title: "n39"  label: "Block 39" status:clustered color:yellow
+ info1: "Block 39
+  mode:    BB
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 38
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n39" targetname: "n38" label: "0" class:13 priority:60 color:red}
+node: {title: "n44" label: "Jmp 44"  info1: "Jmp 44
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 39
+  Private Attributes:
+"
+}
+}
+
+node: {title: "n38" label: "ProjX true 38"  info1: "Proj 38
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 31
+  arity:   1
+  pred nodes:
+    -1:    Block 31
+     0:    Cond 36
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n38" targetname: "n36" label: "0" class:13 priority:60 color:red}
+node: {title: "n35" label: "Projb Eq 35"  info1: "Proj 35
+  mode:    b
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 31
+  arity:   1
+  pred nodes:
+    -1:    Block 31
+     0:    Cmp 34
+  Private Attributes:
+  proj nr: 1
+"
+color:yellow}
+edge: {sourcename: "n35" targetname: "n34" label: "0" class:1  priority:50}
+node: {title: "n34" label: "Cmp 34"  info1: "Cmp 34
+  mode:    T
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 31
+  arity:   2
+  pred nodes:
+    -1:    Block 31
+     0:    Proj 32
+     1:    0x2 33
+  Private Attributes:
+"
+}
+edge: {sourcename: "n34" targetname: "n32" label: "0" class:1  priority:50}
+edge: {sourcename: "n34" targetname: "n33" label: "1" class:16 priority:10}
+node: {title: "n32" label: "ProjIs Arg 0 32"  info1: "Proj 32
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 31
+  arity:   1
+  pred nodes:
+    -1:    Block 31
+     0:    Proj 29
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n32" targetname: "n29" label: "0" class:16 priority:10}
+node: {title: "n29" label: "ProjT T_args 29"  info1: "Proj 29
+  mode:    T
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 21
+  arity:   1
+  pred nodes:
+    -1:    Block 21
+     0:    Start 22
+  Private Attributes:
+  proj nr: 4
+"
+color:yellow}
+edge: {sourcename: "n29" targetname: "n22" label: "0" class:1  priority:50}
+node: {title: "n33" label: "0x2Is 33"  info1: "0x2 33
+  mode:    Is
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 21
+  arity:   0
+  pred nodes:
+    -1:    Block 21
+  Private Attributes:
+  Const of type type_unknown
+"
+color:yellow}
+graph: { title: "n31"  label: "Block 31" status:clustered color:yellow
+ info1: "Block 31
+  mode:    BB
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 25
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n31" targetname: "n25" label: "0" class:13 priority:60 color:red}
+node: {title: "n36" label: "Cond 36"  info1: "Cond 36
+  mode:    T
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+    -1:    Block 31
+     0:    Proj 35
+  Private Attributes:
+  condition kind: dense
+  default ProjNr: 0
+"
+}
+edge: {sourcename: "n36" targetname: "n35" label: "0" class:1  priority:50}
 }
 
-graph: { title: "n61"  label: "61" status:clustered color:yellow
-edge: {sourcename: "n61" targetname: "n60" label: "0" color: red}
-node: {title: "n62" label: "Start  62" color: blue}
+node: {title: "n25" label: "ProjX X_initial_exec 25"  info1: "Proj 25
+  mode:    X
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  node was pinned in Block 21
+  arity:   1
+  pred nodes:
+    -1:    Block 21
+     0:    Start 22
+  Private Attributes:
+  proj nr: 0
+"
+color:yellow}
+edge: {sourcename: "n25" targetname: "n22" label: "0" class:13 priority:60 color:red}
+graph: { title: "n21"  label: "Block 21" status:clustered color:yellow
+ info1: "Block 21
+  mode:    BB
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   1
+  pred nodes:
+     0:    Proj 25
+  Private Attributes:
+  backedges:
+  block visited: 0
+  Execution freqency statistics:
+"
+edge: {sourcename: "n21" targetname: "n25" label: "0" class:13 priority:60 color:red}
+node: {title: "n22" label: "Start 22"  info1: "Start 22
+  mode:    T
+  visited: 11
+  irg:     GLOBAL_CSE_EXAMPLE_main
+  arity:   0
+  pred nodes:
+    -1:    Block 21
+  Private Attributes:
+  start of method of type GLOBAL_CSE_EXAMPLE_main
+    param 0 type: int
+"
+color:blue}
 }
 
-graph: { title: "n70"  label: "70" status:clustered color:yellow
-edge: {sourcename: "n70" targetname: "n71" label: "0" color: red}
-node: {title: "n69" label: "Jmp  69" }
 }
 
-node: {title: "n58" label: "ProjX 1 58" color: yellow}
-edge: {sourcename: "n58" targetname: "n63" label: "0" color: red}
-node: {title: "n60" label: "ProjX 0 60" color: yellow}
-edge: {sourcename: "n60" targetname: "n62" label: "0" color: red}
-node: {title: "n64" label: "Projb Eq 64" color: yellow}
-edge: {sourcename: "n64" targetname: "n65" label: "0" }
-node: {title: "n65" label: "CmpT  65" }
-edge: {sourcename: "n65" targetname: "n67" label: "0" }
-edge: {sourcename: "n65" targetname: "n66" label: "1" }
-node: {title: "n66" label: "0x2Is  66" color: yellow}
-node: {title: "n67" label: "ProjIs 0 67" color: yellow}
-edge: {sourcename: "n67" targetname: "n68" label: "0" }
-node: {title: "n68" label: "ProjT 4 68" color: yellow}
-edge: {sourcename: "n68" targetname: "n62" label: "0" }
-node: {title: "n71" label: "ProjX 0 71" color: yellow}
-edge: {sourcename: "n71" targetname: "n63" label: "0" color: red}
-node: {title: "n73" label: "SubIs  73" }
-edge: {sourcename: "n73" targetname: "n67" label: "0" }
-edge: {sourcename: "n73" targetname: "n74" label: "1" }
-node: {title: "n74" label: "0x3Is  74" color: yellow}
-node: {title: "n75" label: "AddIs  75" }
-edge: {sourcename: "n75" targetname: "n73" label: "0" }
-edge: {sourcename: "n75" targetname: "n76" label: "1" }
-node: {title: "n76" label: "0x5Is  76" color: yellow}
-node: {title: "n77" label: "ProjM 1 77" color: yellow}
-edge: {sourcename: "n77" targetname: "n62" label: "0" color: blue}
-node: {title: "n80" label: "Bad  80" }
 }