Added graph identifiction: leaf, recursive, chain
[libfirm] / testprograms / ref-results / MEMORY_EXAMPLE_main.vcg
index 9c238d3..583e9f8 100644 (file)
@@ -52,8 +52,8 @@ colorentry 124:  255 240  240
 colorentry 125:  255 250  250
 
 graph: { title: "g27" label: "MEMORY_EXAMPLE_main" status:clustered color:white
-graph: { title: "n77"  label: "Block 77" status:clustered color:yellow
-edge: {sourcename: "n77" targetname: "n78" label: "0" class:13 priority:60 color:red}
+graph: { title: "n17"  label: "Block 17" status:clustered color:yellow
+edge: {sourcename: "n17" targetname: "n73" label: "0" class:13 priority:60 color:red}
 node: {title: "n75" label: "End  75"  info1: "mode:    X
 visited: 18
 irg:     MEMORY_EXAMPLE_main
@@ -61,235 +61,242 @@ arity: 1
 "color: blue}
 }
 
-graph: { title: "n79"  label: "Block 79" status:clustered color:yellow
-edge: {sourcename: "n79" targetname: "n80" label: "0" class:13 priority:60 color:red}
-node: {title: "n78" label: "Return  78"  info1: "mode:    X
+graph: { title: "n67"  label: "Block 67" status:clustered color:yellow
+edge: {sourcename: "n67" targetname: "n65" label: "0" class:13 priority:60 color:red}
+node: {title: "n73" label: "Return  73"  info1: "mode:    X
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
 return in method of type main
   res 0 type: int
 "}
-edge: {sourcename: "n78" targetname: "n114" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n78" targetname: "n112" label: "1" class:1  priority:50}
-node: {title: "n114" label: "ProjM 0 114"  info1: "mode:    M
+edge: {sourcename: "n73" targetname: "n72" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n73" targetname: "n71" label: "1" class:1  priority:50}
+node: {title: "n72" label: "ProjM 0 72"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n114" targetname: "n113" label: "0" class:17 priority:10 color:blue}
-node: {title: "n112" label: "ProjIu 2 112"  info1: "mode:    Iu
+edge: {sourcename: "n72" targetname: "n69" label: "0" class:17 priority:10 color:blue}
+node: {title: "n71" label: "ProjIu 2 71"  info1: "mode:    Iu
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n112" targetname: "n113" label: "0" class:1  priority:50}
-node: {title: "n113" label: "Load  113"  info1: "mode:    T
+edge: {sourcename: "n71" targetname: "n69" label: "0" class:1  priority:50}
+node: {title: "n69" label: "Load[Iu]  69"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n113" targetname: "n96" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n113" targetname: "n88" label: "1" class:16 priority:10}
+edge: {sourcename: "n69" targetname: "n59" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n69" targetname: "n31" label: "1" class:16 priority:10}
 }
 
-graph: { title: "n81"  label: "Block 81" status:clustered color:yellow
-edge: {sourcename: "n81" targetname: "n111" label: "0" class:13 priority:60 color:red}
-edge: {sourcename: "n81" targetname: "n82" label: "1" class:13 priority:60 color:red}
-node: {title: "n80" label: "ProjX 1 80"  info1: "mode:    X
+graph: { title: "n44"  label: "Block 44" status:clustered color:yellow
+edge: {sourcename: "n44" targetname: "n42" label: "0" class:13 priority:60 color:red}
+edge: {sourcename: "n44" targetname: "n64" label: "1" class:13 priority:60 color:red}
+node: {title: "n65" label: "ProjX 1 65"  info1: "mode:    X
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n80" targetname: "n83" label: "0" class:13 priority:60 color:red}
-node: {title: "n82" label: "ProjX 0 82"  info1: "mode:    X
+edge: {sourcename: "n65" targetname: "n63" label: "0" class:13 priority:60 color:red}
+node: {title: "n64" label: "ProjX 0 64"  info1: "mode:    X
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n82" targetname: "n83" label: "0" class:13 priority:60 color:red}
-node: {title: "n83" label: "Cond  83"  info1: "mode:    T
+edge: {sourcename: "n64" targetname: "n63" label: "0" class:13 priority:60 color:red}
+node: {title: "n63" label: "Cond  63"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "}
-edge: {sourcename: "n83" targetname: "n84" label: "0" class:1  priority:50}
-node: {title: "n84" label: "Projb Gt 84"  info1: "mode:    b
+edge: {sourcename: "n63" targetname: "n62" label: "0" class:1  priority:50}
+node: {title: "n62" label: "Projb Gt 62"  info1: "mode:    b
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n84" targetname: "n85" label: "0" class:1  priority:50}
-node: {title: "n85" label: "CmpT  85"  info1: "mode:    T
+edge: {sourcename: "n62" targetname: "n61" label: "0" class:1  priority:50}
+node: {title: "n61" label: "CmpT  61"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
 "}
-edge: {sourcename: "n85" targetname: "n110" label: "0" class:16 priority:10}
-edge: {sourcename: "n85" targetname: "n86" label: "1" class:1  priority:50}
-node: {title: "n86" label: "ProjIu 2 86"  info1: "mode:    Iu
+edge: {sourcename: "n61" targetname: "n34" label: "0" class:16 priority:10}
+edge: {sourcename: "n61" targetname: "n49" label: "1" class:1  priority:50}
+node: {title: "n49" label: "ProjIu 2 49"  info1: "mode:    Iu
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n86" targetname: "n87" label: "0" class:1  priority:50}
-node: {title: "n87" label: "Load  87"  info1: "mode:    T
+edge: {sourcename: "n49" targetname: "n46" label: "0" class:1  priority:50}
+node: {title: "n46" label: "Load[Iu]  46"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n87" targetname: "n95" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n87" targetname: "n88" label: "1" class:16 priority:10}
-node: {title: "n95" label: "PhiM  95"  info1: "mode:    M
+edge: {sourcename: "n46" targetname: "n66" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n46" targetname: "n31" label: "1" class:16 priority:10}
+node: {title: "n66" label: "PhiM  66"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2 backedges:
 "color: green}
-edge: {sourcename: "n95" targetname: "n105" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n95" targetname: "n96" label: "1" class:17 priority:10 color:blue}
-node: {title: "n96" label: "ProjM 0 96"  info1: "mode:    M
+edge: {sourcename: "n66" targetname: "n41" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n66" targetname: "n59" label: "1" class:17 priority:10 color:blue}
+node: {title: "n59" label: "ProjM 0 59"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n96" targetname: "n97" label: "0" class:17 priority:10 color:blue}
-node: {title: "n97" label: "Store  97"  info1: "mode:    T
+edge: {sourcename: "n59" targetname: "n57" label: "0" class:17 priority:10 color:blue}
+node: {title: "n57" label: "Store  57"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 3
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n97" targetname: "n99" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n97" targetname: "n98" label: "1" class:16 priority:10}
-edge: {sourcename: "n97" targetname: "n86" label: "2" class:1  priority:50}
-node: {title: "n99" label: "ProjM 0 99"  info1: "mode:    M
+edge: {sourcename: "n57" targetname: "n56" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n57" targetname: "n33" label: "1" class:16 priority:10}
+edge: {sourcename: "n57" targetname: "n49" label: "2" class:1  priority:50}
+node: {title: "n56" label: "ProjM 0 56"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n99" targetname: "n100" label: "0" class:17 priority:10 color:blue}
-node: {title: "n100" label: "Store  100"  info1: "mode:    T
+edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue}
+node: {title: "n54" label: "Store  54"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 3
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n100" targetname: "n104" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n100" targetname: "n88" label: "1" class:16 priority:10}
-edge: {sourcename: "n100" targetname: "n101" label: "2" class:1  priority:50}
-node: {title: "n104" label: "ProjM 0 104"  info1: "mode:    M
+edge: {sourcename: "n54" targetname: "n52" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n54" targetname: "n31" label: "1" class:16 priority:10}
+edge: {sourcename: "n54" targetname: "n53" label: "2" class:1  priority:50}
+node: {title: "n52" label: "ProjM 0 52"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n104" targetname: "n102" label: "0" class:17 priority:10 color:blue}
-node: {title: "n101" label: "ProjIu 2 101"  info1: "mode:    Iu
+edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue}
+node: {title: "n53" label: "ProjIu 2 53"  info1: "mode:    Iu
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n101" targetname: "n102" label: "0" class:1  priority:50}
-node: {title: "n102" label: "Load  102"  info1: "mode:    T
+edge: {sourcename: "n53" targetname: "n50" label: "0" class:1  priority:50}
+node: {title: "n50" label: "Load[Iu]  50"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n102" targetname: "n103" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n102" targetname: "n98" label: "1" class:16 priority:10}
-node: {title: "n103" label: "ProjM 0 103"  info1: "mode:    M
+edge: {sourcename: "n50" targetname: "n48" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n50" targetname: "n33" label: "1" class:16 priority:10}
+node: {title: "n48" label: "ProjM 0 48"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n103" targetname: "n87" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n48" targetname: "n46" label: "0" class:17 priority:10 color:blue}
 }
 
-graph: { title: "n89"  label: "Block 89" status:clustered color:yellow
-edge: {sourcename: "n89" targetname: "n90" label: "0" class:13 priority:60 color:red}
-node: {title: "n111" label: "Jmp  111"  info1: "mode:    X
+graph: { title: "n28"  label: "Block 28" status:clustered color:yellow
+edge: {sourcename: "n28" targetname: "n22" label: "0" class:13 priority:60 color:red}
+node: {title: "n42" label: "Jmp  42"  info1: "mode:    X
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 0
 "}
-node: {title: "n105" label: "ProjM 0 105"  info1: "mode:    M
+node: {title: "n41" label: "ProjM 0 41"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n105" targetname: "n106" label: "0" class:17 priority:10 color:blue}
-node: {title: "n106" label: "Store  106"  info1: "mode:    T
+edge: {sourcename: "n41" targetname: "n39" label: "0" class:17 priority:10 color:blue}
+node: {title: "n39" label: "Store  39"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 3
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n106" targetname: "n108" label: "0" class:14 priority:50 color:blue}
-edge: {sourcename: "n106" targetname: "n98" label: "1" class:1  priority:50}
-edge: {sourcename: "n106" targetname: "n107" label: "2" class:16 priority:10}
-node: {title: "n108" label: "ProjM 0 108"  info1: "mode:    M
+edge: {sourcename: "n39" targetname: "n37" label: "0" class:14 priority:50 color:blue}
+edge: {sourcename: "n39" targetname: "n33" label: "1" class:1  priority:50}
+edge: {sourcename: "n39" targetname: "n38" label: "2" class:16 priority:10}
+node: {title: "n37" label: "ProjM 0 37"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n108" targetname: "n109" label: "0" class:17 priority:10 color:blue}
-node: {title: "n109" label: "Store  109"  info1: "mode:    T
+edge: {sourcename: "n37" targetname: "n35" label: "0" class:17 priority:10 color:blue}
+node: {title: "n35" label: "Store  35"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 3
+volatility: volatility_non_volatile
 "}
-edge: {sourcename: "n109" targetname: "n94" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n109" targetname: "n88" label: "1" class:1  priority:50}
-edge: {sourcename: "n109" targetname: "n110" label: "2" class:16 priority:10}
-node: {title: "n98" label: "Sel VAR_B 98"  info1: "mode:    P
+edge: {sourcename: "n35" targetname: "n25" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n35" targetname: "n31" label: "1" class:1  priority:50}
+edge: {sourcename: "n35" targetname: "n34" label: "2" class:16 priority:10}
+node: {title: "n33" label: "Sel VAR_B 33"  info1: "mode:    P
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
 Selecting entity of type int
   from entity of type GlobalType
 "}
-edge: {sourcename: "n98" targetname: "n94" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n98" targetname: "n93" label: "1" class:16 priority:10}
-node: {title: "n88" label: "Sel VAR_A 88"  info1: "mode:    P
+edge: {sourcename: "n33" targetname: "n25" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n33" targetname: "n24" label: "1" class:16 priority:10}
+node: {title: "n31" label: "Sel VAR_A 31"  info1: "mode:    P
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 2
 Selecting entity of type int
   from entity of type GlobalType
 "}
-edge: {sourcename: "n88" targetname: "n94" label: "0" class:17 priority:10 color:blue}
-edge: {sourcename: "n88" targetname: "n93" label: "1" class:16 priority:10}
+edge: {sourcename: "n31" targetname: "n25" label: "0" class:17 priority:10 color:blue}
+edge: {sourcename: "n31" targetname: "n24" label: "1" class:16 priority:10}
 }
 
-graph: { title: "n91"  label: "Block 91" status:clustered color:yellow
-edge: {sourcename: "n91" targetname: "n90" label: "0" class:13 priority:60 color:red}
-node: {title: "n110" label: "0x0Iu  110"  info1: "mode:    Iu
+graph: { title: "n19"  label: "Block 19" status:clustered color:yellow
+edge: {sourcename: "n19" targetname: "n22" label: "0" class:13 priority:60 color:red}
+node: {title: "n34" label: "0x0Iu  34"  info1: "mode:    Iu
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 0
 Const of type type_unknown
 "color: yellow}
-node: {title: "n107" label: "0x1Iu  107"  info1: "mode:    Iu
+node: {title: "n38" label: "0x1Iu  38"  info1: "mode:    Iu
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 0
 Const of type type_unknown
 "color: yellow}
-node: {title: "n94" label: "ProjM 1 94"  info1: "mode:    M
+node: {title: "n25" label: "ProjM 1 25"  info1: "mode:    M
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n94" targetname: "n92" label: "0" class:17 priority:10 color:blue}
-node: {title: "n93" label: "ProjP 3 93"  info1: "mode:    P
+edge: {sourcename: "n25" targetname: "n20" label: "0" class:17 priority:10 color:blue}
+node: {title: "n24" label: "ProjP 3 24"  info1: "mode:    P
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n93" targetname: "n92" label: "0" class:1  priority:50}
-node: {title: "n90" label: "ProjX 0 90"  info1: "mode:    X
+edge: {sourcename: "n24" targetname: "n20" label: "0" class:1  priority:50}
+node: {title: "n22" label: "ProjX 0 22"  info1: "mode:    X
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 1
 "color: yellow}
-edge: {sourcename: "n90" targetname: "n92" label: "0" class:13 priority:60 color:red}
-node: {title: "n92" label: "Start  92"  info1: "mode:    T
+edge: {sourcename: "n22" targetname: "n20" label: "0" class:13 priority:60 color:red}
+node: {title: "n20" label: "Start  20"  info1: "mode:    T
 visited: 18
 irg:     MEMORY_EXAMPLE_main
 arity: 0