X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fref-results%2FAll_graphs.vcg;h=906c5c52b43f13d0e9ba58710310288bc1ac0c54;hb=2f56e9ea183b1c2f013c8db8b53c30703956be13;hp=87cc507864e2f6e439f2aa616a2266d27d5b6224;hpb=2f1660d797cad3ad5739e4543817dac6af4b07d2;p=libfirm diff --git a/testprograms/ref-results/All_graphs.vcg b/testprograms/ref-results/All_graphs.vcg index 87cc50786..906c5c52b 100644 --- a/testprograms/ref-results/All_graphs.vcg +++ b/testprograms/ref-results/All_graphs.vcg @@ -51,228 +51,352 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -graph: { title: "g25" label: "main" status:clustered color:white -graph: { title: "n15" label: "Block 15" status:clustered color:yellow -edge: {sourcename: "n15" targetname: "n78" label: "0" class:13 priority:60 color:red} -node: {title: "n16" label: "End main 16" info1: "mode: X -visited: 18 -irg: main +graph: { title: "g35" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n25" label: "Block 25" status:clustered color:yellow +edge: {sourcename: "n25" targetname: "n55" label: "0" class:13 priority:60 color:red} +node: {title: "n103" label: "End OO_PROGRAM_EXAMPLE_main 103" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 2 "color: blue} } -graph: { title: "n76" label: "Block 76" status:clustered color:yellow -edge: {sourcename: "n76" targetname: "n62" label: "0" class:13 priority:60 color:red} -node: {title: "n78" label: "Return 78" info1: "mode: X -visited: 18 -irg: main -arity: 1 +graph: { title: "n36" label: "Block 36" status:clustered color:yellow +edge: {sourcename: "n36" targetname: "n191" label: "0" class:13 priority:60 color:red} +node: {title: "n55" label: "Return 55" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 2 "} -edge: {sourcename: "n78" targetname: "n75" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n55" targetname: "n193" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n55" targetname: "n194" label: "1" class:1 priority:50} +node: {title: "n193" label: "FilterM 0 193" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 50 +"color: yellow} +edge: {sourcename: "n193" targetname: "n98" label: "0" class:17 priority:10 color:blue} +node: {title: "n194" label: "FilterIs 0 194" info1: "mode: Is +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + ProjT 53 +"color: yellow} +edge: {sourcename: "n194" targetname: "n100" label: "0" class:16 priority:10} } -graph: { title: "n60" label: "Block 60" status:clustered color:yellow -edge: {sourcename: "n60" targetname: "n59" label: "0" class:13 priority:60 color:red} -backedge: {sourcename: "n60" targetname: "n70" label: "1" linestyle:dashed class:13 priority:60 color:red} -node: {title: "n75" label: "PhiM 75" info1: "mode: M -visited: 18 -irg: main -arity: 2 backedges: -"color: green} -edge: {sourcename: "n75" targetname: "n74" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n75" targetname: "n69" label: "1" class:17 priority:10 color:blue} -node: {title: "n62" label: "ProjX 0 62" info1: "mode: X -visited: 18 -irg: main -arity: 1 +graph: { title: "n188" label: "Block 188" status:clustered color:yellow +edge: {sourcename: "n188" targetname: "n185" label: "0" class:13 priority:60 color:red} +node: {title: "n187" label: "FilterM 0 187" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 backedges: +intra predecessor nodes: + CallT 46 "color: yellow} -edge: {sourcename: "n62" targetname: "n61" label: "0" class:13 priority:60 color:red} -node: {title: "n63" label: "ProjX 1 63" info1: "mode: X -visited: 18 -irg: main +edge: {sourcename: "n187" targetname: "n76" label: "0" class:17 priority:10 color:blue} +node: {title: "n192" label: "ProjX 0 192" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n63" targetname: "n61" label: "0" class:13 priority:60 color:red} -node: {title: "n61" label: "Cond 61" info1: "mode: T -visited: 18 -irg: main +edge: {sourcename: "n192" targetname: "n190" label: "0" class:13 priority:60 color:red} +node: {title: "n190" label: "CallBegin c 190" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 +possible callees: + 0: PRIMA_c "} -node: {title: "n61n43" label: "trueb 43" info1: "mode: b -visited: 18 -irg: main -arity: 0 -Const of type type_unknown -"color: yellow} -edge: {sourcename: "n61" targetname: "n61n43" label: "0" class:16 priority:10} -} - -graph: { title: "n57" label: "Block 57" status:clustered color:yellow -edge: {sourcename: "n57" targetname: "n56" label: "0" class:13 priority:60 color:red} -edge: {sourcename: "n57" targetname: "n45" label: "1" class:13 priority:60 color:red} -node: {title: "n74" label: "PhiM 74" info1: "mode: M -visited: 18 -irg: main -arity: 2 backedges: -"color: green} -edge: {sourcename: "n74" targetname: "n52" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n74" targetname: "n23" label: "1" class:17 priority:10 color:blue} -node: {title: "n59" label: "Jmp 59" info1: "mode: X -visited: 18 -irg: main +node: {title: "n190n165" label: "SymC &c 165" info1: "mode: P +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 +kind addr_ent "} +edge: {sourcename: "n190" targetname: "n190n165" label: "0" class:16 priority:10} } -graph: { title: "n47" label: "Block 47" status:clustered color:yellow -edge: {sourcename: "n47" targetname: "n46" label: "0" class:13 priority:60 color:red} -node: {title: "n52" label: "ProjM 0 52" info1: "mode: M -visited: 18 -irg: main +graph: { title: "n182" label: "Block 182" status:clustered color:yellow +edge: {sourcename: "n182" targetname: "n30" label: "0" class:13 priority:60 color:red} +node: {title: "n43" label: "ProjM 0 43" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n43" targetname: "n41" label: "0" class:17 priority:10 color:blue} +node: {title: "n44" label: "ProjP 2 44" info1: "mode: P +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} -node: {title: "n50" label: "Call 50" info1: "mode: T -visited: 18 -irg: main +edge: {sourcename: "n44" targetname: "n41" label: "0" class:1 priority:50} +node: {title: "n41" label: "Alloc 41" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 2 -calling method of type a +allocating entity of type PRIMA "} -node: {title: "n50n48" label: "SymC &a 48" info1: "mode: P -visited: 18 -irg: main +node: {title: "n41n39" label: "SymC PRIMA size 39" info1: "mode: Iu +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 -kind addr_ent +kind size "} -edge: {sourcename: "n50" targetname: "n23" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n50" targetname: "n50n48" label: "1" class:16 priority:10} -node: {title: "n56" label: "Jmp 56" info1: "mode: X -visited: 18 -irg: main +edge: {sourcename: "n41" targetname: "n33" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n41" targetname: "n41n39" label: "1" class:16 priority:10} +node: {title: "n186" label: "ProjX 0 186" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +"color: yellow} +edge: {sourcename: "n186" targetname: "n184" label: "0" class:13 priority:60 color:red} +node: {title: "n184" label: "CallBegin set_a 184" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 1 +possible callees: + 0: PRIMA_set_a +"} +node: {title: "n184n166" label: "SymC &set_a 166" info1: "mode: P +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 +kind addr_ent "} +edge: {sourcename: "n184" targetname: "n184n166" label: "0" class:16 priority:10} } -graph: { title: "n26" label: "Block 26" status:clustered color:yellow -edge: {sourcename: "n26" targetname: "n20" label: "0" class:13 priority:60 color:red} -node: {title: "n46" label: "ProjX 1 46" info1: "mode: X -visited: 18 -irg: main +graph: { title: "n27" label: "Block 27" status:clustered color:yellow +edge: {sourcename: "n27" targetname: "n30" label: "0" class:13 priority:60 color:red} +node: {title: "n33" label: "ProjM 1 33" info1: "mode: M +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n46" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n45" label: "ProjX 0 45" info1: "mode: X -visited: 18 -irg: main +edge: {sourcename: "n33" targetname: "n28" label: "0" class:17 priority:10 color:blue} +node: {title: "n30" label: "ProjX 0 30" info1: "mode: X +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n45" targetname: "n44" label: "0" class:13 priority:60 color:red} -node: {title: "n44" label: "Cond 44" info1: "mode: T -visited: 18 -irg: main -arity: 1 -"} -node: {title: "n44n43" label: "trueb 43" info1: "mode: b -visited: 18 -irg: main +edge: {sourcename: "n30" targetname: "n28" label: "0" class:13 priority:60 color:red} +node: {title: "n28" label: "Start OO_PROGRAM_EXAMPLE_main 28" info1: "mode: T +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main arity: 0 -Const of type type_unknown +start of method of type OO_PROGRAM_EXAMPLE_main +"color: blue} +} + +} + +graph: { title: "g68" label: "PRIMA_set_a" status:clustered color:white +graph: { title: "n179" label: "Block 179" status:clustered color:yellow +edge: {sourcename: "n179" targetname: "n178" label: "0" class:13 priority:60 color:red} +node: {title: "n185" label: "ProjX 0 185" info1: "mode: X +visited: 51 +irg: PRIMA_set_a +arity: 1 "color: yellow} -edge: {sourcename: "n44" targetname: "n44n43" label: "0" class:16 priority:10} +edge: {sourcename: "n185" targetname: "n180" label: "0" class:13 priority:60 color:red} +node: {title: "n180" label: "EndReg PRIMA_set_a 180" info1: "mode: T +visited: 51 +irg: PRIMA_set_a +arity: 0 +"color: blue} } -graph: { title: "n64" label: "Block 64" status:clustered color:yellow -edge: {sourcename: "n64" targetname: "n63" label: "0" class:13 priority:60 color:red} -node: {title: "n69" label: "ProjM 0 69" info1: "mode: M -visited: 18 -irg: main +graph: { title: "n69" label: "Block 69" status:clustered color:yellow +edge: {sourcename: "n69" targetname: "n63" label: "0" class:13 priority:60 color:red} +node: {title: "n76" label: "ProjM 0 76" info1: "mode: M +visited: 51 +irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n69" targetname: "n67" label: "0" class:17 priority:10 color:blue} -node: {title: "n67" label: "Call 67" info1: "mode: T -visited: 18 -irg: main -arity: 2 -calling method of type a +edge: {sourcename: "n76" targetname: "n74" label: "0" class:17 priority:10 color:blue} +node: {title: "n74" label: "Store 74" info1: "mode: T +visited: 51 +irg: PRIMA_set_a +arity: 3 "} -node: {title: "n67n48" label: "SymC &a 48" info1: "mode: P -visited: 18 -irg: main -arity: 0 -kind addr_ent +edge: {sourcename: "n74" targetname: "n175" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n74" targetname: "n73" label: "1" class:1 priority:50} +edge: {sourcename: "n74" targetname: "n177" label: "2" class:16 priority:10} +node: {title: "n73" label: "Sel a 73" info1: "mode: P +visited: 51 +irg: PRIMA_set_a +arity: 2 +Selecting entity of type int + from entity of type PRIMA "} -edge: {sourcename: "n67" targetname: "n75" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n67" targetname: "n67n48" label: "1" class:16 priority:10} -node: {title: "n70" label: "Jmp 70" info1: "mode: X -visited: 18 -irg: main +edge: {sourcename: "n73" targetname: "n175" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n73" targetname: "n176" label: "1" class:16 priority:10} +node: {title: "n178" label: "Jmp 178" info1: "mode: X +visited: 51 +irg: PRIMA_set_a arity: 0 "} } -graph: { title: "n17" label: "Block 17" status:clustered color:yellow -edge: {sourcename: "n17" targetname: "n20" label: "0" class:13 priority:60 color:red} -node: {title: "n23" label: "ProjM 1 23" info1: "mode: M -visited: 18 -irg: main -arity: 1 +graph: { title: "n60" label: "Block 60" status:clustered color:yellow +edge: {sourcename: "n60" targetname: "n186" label: "0" class:13 priority:60 color:red} +node: {title: "n175" label: "FilterM 1 175" info1: "mode: M +visited: 51 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + StartT 61 +"color: yellow} +edge: {sourcename: "n175" targetname: "n43" label: "0" class:17 priority:10 color:blue} +node: {title: "n176" label: "FilterP 0 176" info1: "mode: P +visited: 51 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 67 "color: yellow} -edge: {sourcename: "n23" targetname: "n18" label: "0" class:17 priority:10 color:blue} -node: {title: "n20" label: "ProjX 0 20" info1: "mode: X -visited: 18 -irg: main +edge: {sourcename: "n176" targetname: "n44" label: "0" class:16 priority:10} +node: {title: "n177" label: "FilterIs 1 177" info1: "mode: Is +visited: 51 +irg: PRIMA_set_a +arity: 1 backedges: +intra predecessor nodes: + ProjT 67 +"color: yellow} +node: {title: "n177n37" label: "0x2Is 37" info1: "mode: Is +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown +"color: yellow} +edge: {sourcename: "n177" targetname: "n177n37" label: "0" class:16 priority:10} +node: {title: "n63" label: "ProjX 0 63" info1: "mode: X +visited: 51 +irg: PRIMA_set_a arity: 1 "color: yellow} -edge: {sourcename: "n20" targetname: "n18" label: "0" class:13 priority:60 color:red} -node: {title: "n18" label: "Start main 18" info1: "mode: T -visited: 18 -irg: main +edge: {sourcename: "n63" targetname: "n61" label: "0" class:13 priority:60 color:red} +node: {title: "n61" label: "Start PRIMA_set_a 61" info1: "mode: T +visited: 51 +irg: PRIMA_set_a arity: 0 -start of method of type main +start of method of type set_a + param 0 type: class_prima_ptr + param 1 type: int "color: blue} } } -graph: { title: "g41" label: "a" status:clustered color:white -graph: { title: "n31" label: "Block 31" status:clustered color:yellow -edge: {sourcename: "n31" targetname: "n81" label: "0" class:13 priority:60 color:red} -node: {title: "n32" label: "End a 32" info1: "mode: X -visited: 18 -irg: a +graph: { title: "g90" label: "PRIMA_c" status:clustered color:white +graph: { title: "n171" label: "Block 171" status:clustered color:yellow +edge: {sourcename: "n171" targetname: "n170" label: "0" class:13 priority:60 color:red} +node: {title: "n191" label: "ProjX 0 191" info1: "mode: X +visited: 51 +irg: PRIMA_c +arity: 1 +"color: yellow} +edge: {sourcename: "n191" targetname: "n172" label: "0" class:13 priority:60 color:red} +node: {title: "n172" label: "EndReg PRIMA_c 172" info1: "mode: T +visited: 51 +irg: PRIMA_c arity: 0 "color: blue} } -graph: { title: "n42" label: "Block 42" status:clustered color:yellow -edge: {sourcename: "n42" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n81" label: "Return 81" info1: "mode: X -visited: 18 -irg: a +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: "n98" label: "ProjM 0 98" info1: "mode: M +visited: 51 +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: 51 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n100" targetname: "n99" label: "0" class:1 priority:50} +edge: {sourcename: "n100" targetname: "n167" label: "1" class:16 priority:10} +node: {title: "n99" label: "ProjIs 2 99" info1: "mode: Is +visited: 51 +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: 51 +irg: PRIMA_c +arity: 2 +"} +edge: {sourcename: "n96" targetname: "n168" 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: 51 +irg: PRIMA_c +arity: 2 +Selecting entity of type int + from entity of type PRIMA +"} +edge: {sourcename: "n95" targetname: "n168" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n95" targetname: "n169" label: "1" class:16 priority:10} +node: {title: "n170" label: "Jmp 170" info1: "mode: X +visited: 51 +irg: PRIMA_c +arity: 0 "} -edge: {sourcename: "n81" targetname: "n39" label: "0" class:17 priority:10 color:blue} } -graph: { title: "n33" label: "Block 33" status:clustered color:yellow -edge: {sourcename: "n33" targetname: "n36" label: "0" class:13 priority:60 color:red} -node: {title: "n39" label: "ProjM 1 39" info1: "mode: M -visited: 18 -irg: a -arity: 1 +graph: { title: "n82" label: "Block 82" status:clustered color:yellow +edge: {sourcename: "n82" targetname: "n192" label: "0" class:13 priority:60 color:red} +node: {title: "n168" label: "FilterM 1 168" info1: "mode: M +visited: 51 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + StartT 83 +"color: yellow} +edge: {sourcename: "n168" targetname: "n187" label: "0" class:17 priority:10 color:blue} +node: {title: "n169" label: "FilterP 0 169" info1: "mode: P +visited: 51 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 89 +"color: yellow} +edge: {sourcename: "n169" targetname: "n44" label: "0" class:16 priority:10} +node: {title: "n167" label: "FilterIs 1 167" info1: "mode: Is +visited: 51 +irg: PRIMA_c +arity: 1 backedges: +intra predecessor nodes: + ProjT 89 +"color: yellow} +node: {title: "n167n38" label: "0x5Is 38" info1: "mode: Is +visited: 51 +irg: OO_PROGRAM_EXAMPLE_main +arity: 0 +Const of type type_unknown "color: yellow} -edge: {sourcename: "n39" targetname: "n34" label: "0" class:17 priority:10 color:blue} -node: {title: "n36" label: "ProjX 0 36" info1: "mode: X -visited: 18 -irg: a +edge: {sourcename: "n167" targetname: "n167n38" label: "0" class:16 priority:10} +node: {title: "n85" label: "ProjX 0 85" info1: "mode: X +visited: 51 +irg: PRIMA_c arity: 1 "color: yellow} -edge: {sourcename: "n36" targetname: "n34" label: "0" class:13 priority:60 color:red} -node: {title: "n34" label: "Start a 34" info1: "mode: T -visited: 18 -irg: a +edge: {sourcename: "n85" targetname: "n83" label: "0" class:13 priority:60 color:red} +node: {title: "n83" label: "Start PRIMA_c 83" info1: "mode: T +visited: 51 +irg: PRIMA_c arity: 0 -start of method of type a +start of method of type c + param 0 type: class_prima_ptr + param 1 type: int "color: blue} }