X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fref-results%2FOO_PROGRAM_EXAMPLE_main.vcg;h=ef420fe6acac6ddfb376d4c8a7071929f9361c77;hb=89e668210aa3086ab035f7e7dd3a946f19a9ca95;hp=82a561c05689e23e6dfe02fd70832549c511cdd3;hpb=b16ff8d47faf911637716469e83cf5a6b9a3cf68;p=libfirm diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg index 82a561c05..ef420fe6a 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main.vcg @@ -8,6 +8,7 @@ classname 1: "intrablock Data" classname 16: "interblock Data" classname 2: "Block" classname 13: "Control Flow" +classname 18: "Exception Control Flow for Interval Analysis" classname 14: "intrablock Memory" classname 17: "interblock Memory" classname 15: "Dominators" @@ -23,135 +24,183 @@ classname 11: "Overwrites" classname 12: "Member" infoname 1: "Attribute" infoname 2: "Verification errors" +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: "g35" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white -graph: { title: "n105" label: "Block 105" status:clustered color:yellow -edge: {sourcename: "n105" targetname: "n106" label: "0" class:13 priority:60 color:red} -node: {title: "n103" label: "End 103" info1: "visited: 19 +graph: { title: "g39" label: "OO_PROGRAM_EXAMPLE_main" status:clustered color:white +graph: { title: "n28" label: "Block 28" status:clustered color:yellow +edge: {sourcename: "n28" targetname: "n59" label: "0" class:13 priority:60 color:red} +node: {title: "n109" label: "End 109" info1: "mode: X +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 "color: blue} } -graph: { title: "n107" label: "Block 107" status:clustered color:yellow -edge: {sourcename: "n107" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n106" label: "Return 106" info1: "visited: 19 +graph: { title: "n40" label: "Block 40" status:clustered color:yellow +edge: {sourcename: "n40" targetname: "n34" label: "0" class:13 priority:60 color:red} +node: {title: "n59" label: "Return 59" info1: "mode: X +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 return in method of type OO_PROGRAM_EXAMPLE_main res 0 type: int -" info2: "mymode == mode_X && Result X"} -edge: {sourcename: "n106" targetname: "n125" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n106" targetname: "n111" label: "1" class:1 priority:50} -node: {title: "n125" label: "ProjM 0 125" info1: "visited: 19 +"} +edge: {sourcename: "n59" targetname: "n56" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n59" targetname: "n58" label: "1" class:1 priority:50} +node: {title: "n56" label: "ProjM 0 56" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n125" targetname: "n113" label: "0" class:17 priority:10 color:blue} -node: {title: "n111" label: "ProjIs 0 111" info1: "visited: 19 +edge: {sourcename: "n56" targetname: "n54" label: "0" class:17 priority:10 color:blue} +node: {title: "n58" label: "ProjIs 0 58" info1: "mode: Is +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 -" info2: "(mode == get_type_mode(get_method_res_type(mt, proj))) && Mode of Proj from Call doesn't match mode of result type."color: yellow} -edge: {sourcename: "n111" targetname: "n112" label: "0" class:1 priority:50} -node: {title: "n112" label: "ProjT 2 112" info1: "visited: 19 +"color: yellow} +edge: {sourcename: "n58" targetname: "n57" label: "0" class:1 priority:50} +node: {title: "n57" label: "ProjT 2 57" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n112" targetname: "n113" label: "0" class:1 priority:50} -node: {title: "n113" label: "Call 113" info1: "visited: 19 +edge: {sourcename: "n57" targetname: "n54" label: "0" class:1 priority:50} +node: {title: "n54" label: "Call 54" info1: "mode: T +visited: 19 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 -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n113n114" label: "0x5Is 114" info1: "visited: 19 +"} +node: {title: "n54n42" label: "0x5Is 42" info1: "mode: Is +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n113" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n113" targetname: "n119" label: "1" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n113" targetname: "n113n114" label: "3" class:16 priority:10} -node: {title: "n119" label: "Sel PRIMA_c 119" info1: "visited: 19 +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} +node: {title: "n53" label: "Sel PRIMA_c 53" info1: "mode: P +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type c from entity of type PRIMA "} -edge: {sourcename: "n119" targetname: "n120" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n119" targetname: "n115" label: "1" class:1 priority:50} -node: {title: "n120" label: "ProjM 0 120" info1: "visited: 19 +edge: {sourcename: "n53" targetname: "n52" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n53" targetname: "n48" label: "1" class:1 priority:50} +node: {title: "n52" label: "ProjM 0 52" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n120" targetname: "n121" label: "0" class:17 priority:10 color:blue} -node: {title: "n121" label: "Call 121" info1: "visited: 19 +edge: {sourcename: "n52" targetname: "n50" label: "0" class:17 priority:10 color:blue} +node: {title: "n50" label: "Call 50" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 4 calling method of type set_a param 0 type: class_prima_ptr param 1 type: int -" info2: "get_Call_n_params(n) == get_method_n_params(mt) && Number of args for Call doesn't match number of args in non variadic type."} -node: {title: "n121n122" label: "0x2Is 122" info1: "visited: 19 +"} +node: {title: "n50n41" label: "0x2Is 41" info1: "mode: Is +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 Const of type type_unknown "color: yellow} -edge: {sourcename: "n121" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n121" targetname: "n123" label: "1" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n115" label: "2" class:1 priority:50} -edge: {sourcename: "n121" targetname: "n121n122" label: "3" class:16 priority:10} -node: {title: "n123" label: "Sel PRIMA_set_a 123" info1: "visited: 19 +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: "n48" label: "2" class:1 priority:50} +edge: {sourcename: "n50" targetname: "n50n41" label: "3" class:16 priority:10} +node: {title: "n49" label: "Sel PRIMA_set_a 49" info1: "mode: P +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 Selecting entity of type set_a from entity of type PRIMA "} -edge: {sourcename: "n123" targetname: "n124" label: "0" class:14 priority:50 color:blue} -edge: {sourcename: "n123" targetname: "n115" label: "1" class:1 priority:50} -node: {title: "n124" label: "ProjM 0 124" info1: "visited: 19 +edge: {sourcename: "n49" targetname: "n47" label: "0" class:14 priority:50 color:blue} +edge: {sourcename: "n49" targetname: "n48" label: "1" class:1 priority:50} +node: {title: "n47" label: "ProjM 0 47" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n124" targetname: "n116" label: "0" class:17 priority:10 color:blue} -node: {title: "n115" label: "ProjP 2 115" info1: "visited: 19 +edge: {sourcename: "n47" targetname: "n45" label: "0" class:17 priority:10 color:blue} +node: {title: "n48" label: "ProjP 2 48" info1: "mode: P +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n115" targetname: "n116" label: "0" class:1 priority:50} -node: {title: "n116" label: "Alloc 116" info1: "visited: 19 +edge: {sourcename: "n48" targetname: "n45" label: "0" class:1 priority:50} +node: {title: "n45" label: "Alloc 45" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 2 allocating entity of type PRIMA "} -node: {title: "n116n117" label: "SymC PRIMA size 117" info1: "visited: 19 +node: {title: "n45n43" label: "SymC PRIMA size 43" info1: "mode: Iu +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 +kind: size +SymConst of type: type_unknown "} -edge: {sourcename: "n116" targetname: "n118" label: "0" class:17 priority:10 color:blue} -edge: {sourcename: "n116" targetname: "n116n117" label: "1" class:16 priority:10} +edge: {sourcename: "n45" targetname: "n37" label: "0" class:17 priority:10 color:blue} +edge: {sourcename: "n45" targetname: "n45n43" label: "1" class:16 priority:10} } -graph: { title: "n109" label: "Block 109" status:clustered color:yellow -edge: {sourcename: "n109" targetname: "n108" label: "0" class:13 priority:60 color:red} -node: {title: "n118" label: "ProjM 1 118" info1: "visited: 19 +graph: { title: "n30" label: "Block 30" status:clustered color:yellow +edge: {sourcename: "n30" targetname: "n34" label: "0" class:13 priority:60 color:red} +node: {title: "n37" label: "ProjM 1 37" info1: "mode: M +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n118" targetname: "n110" label: "0" class:17 priority:10 color:blue} -node: {title: "n108" label: "ProjX 0 108" info1: "visited: 19 +edge: {sourcename: "n37" targetname: "n31" label: "0" class:17 priority:10 color:blue} +node: {title: "n34" label: "ProjX 0 34" info1: "mode: X +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 1 "color: yellow} -edge: {sourcename: "n108" targetname: "n110" label: "0" class:13 priority:60 color:red} -node: {title: "n110" label: "Start 110" info1: "visited: 19 +edge: {sourcename: "n34" targetname: "n31" label: "0" class:13 priority:60 color:red} +node: {title: "n31" label: "Start 31" info1: "mode: T +visited: 19 irg: OO_PROGRAM_EXAMPLE_main arity: 0 start of method of type OO_PROGRAM_EXAMPLE_main -" info2: "mymode == mode_T && Start node"color: blue} +"color: blue} } }