X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=testprograms%2Fref-results%2FOO_PROGRAM_EXAMPLE_main-type.vcg;h=c1beb898d7e546dfd3ede71a298c5aa5239da3f3;hb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;hp=08bcf987b7b40f66828499c59768424aed023e9b;hpb=9cd013d664b174f9cfb3a25cceeb8de05e80aa5e;p=libfirm diff --git a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg index 08bcf987b..c1beb898d 100644 --- a/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg +++ b/testprograms/ref-results/OO_PROGRAM_EXAMPLE_main-type.vcg @@ -5,13 +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 18: "Exception Control Flow for Interval Analysis" -classname 14: "intrablock Memory" -classname 17: "interblock Memory" -classname 15: "Dominators" classname 3: "Entity type" classname 4: "Entity owner" classname 5: "Method Param" @@ -22,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 @@ -52,25 +54,92 @@ colorentry 123: 255 220 220 colorentry 124: 255 240 240 colorentry 125: 255 250 250 -node: {title: "t21" label: "method c" info1: "state: layout_fixed, -mode: P, -size: 32b, -variadicity: variadicity_non_variadic -params: 2 -results: 1 -"} +node: {title: "t21" label: "method c" info1: "method type c (21) + variadicity: variadicity_non_variadic + return types: 1 + int + parameter types: 2 + class_prima_ptr + int + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} edge: { sourcename: "t21" targetname: "t16"class: 5 label: "param 0" color: green} edge: { sourcename: "t21" targetname: "t14"class: 5 label: "param 1" color: green} edge: { sourcename: "t21" targetname: "t14"class: 6 label: "res 0" color: green} -node: {title: "t16" label: "pointer class_prima_ptr" info1: "state: layout_fixed, -mode: P, -size: 32b, -"} +node: {title: "t16" label: "pointer class_prima_ptr" info1: "pointer type class_prima_ptr (16) + points to PRIMA (15) + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} edge: { sourcename: "t16" targetname: "t15"class: 9 label: "points to" color:green} -node: {title: "t15" label: "class PRIMA" info1: "state: layout_undefined -size: -1b, -peculiarity: peculiarity_existent -" color: green} +node: {title: "t15" label: "class PRIMA" info1: "class type PRIMA (15) + members: + entity a (17) + type: int (14) + owner: PRIMA (15) + Does not overwrite other entities. + Is not overwritten by other entities. + allocation: allocation_automatic + visibility: visibility_local + variability: variability_uninitialized + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: no yet set + offset: -1 bits, -1 bytes + entity set_a (20) + type: set_a (18) + owner: PRIMA (15) + 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 &set_a + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: PRIMA_set_a + offset: -1 bits, -1 bytes + irg = 73 + entity c (23) + type: c (21) + owner: PRIMA (15) + 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 &c + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: PRIMA_c + offset: -1 bits, -1 bytes + irg = 96 + supertypes: + subtypes: + peculiarity: peculiarity_existent + visibility: visibility_external_allocated, + state: layout_undefined, + size: -1 Bits, + alignment: 32 Bits, + + +" + color: green} edge: { sourcename: "t15" targetname: "e17"class: 12 label: "member" color:blue} edge: { sourcename: "t15" targetname: "e20"class: 12 label: "member" color:blue} edge: { sourcename: "t15" targetname: "e23"class: 12 label: "member" color:blue} @@ -86,15 +155,21 @@ node: {title: "e17" label: "ent a" color: yellow volatility: volatility_non_volatile peculiarity: peculiarity_existent ld_name: no yet set - offset: -1 + offset: -1 bits, -1 bytes " } edge: { sourcename: "e17" targetname: "t14"class: 3 label: "type" color: red} -node: {title: "t14" label: "primitive int" info1: "state: layout_fixed, -mode: Is, -size: 32b, -"} +node: {title: "t14" label: "primitive int" info1: "primitive type int (14) + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: Is, + + +" +} node: {title: "e20" label: "ent PRIMA_set_a" color: yellow info1: "entity set_a (20) type: set_a (18) @@ -104,32 +179,46 @@ node: {title: "e20" label: "ent PRIMA_set_a" color: yellow allocation: allocation_static visibility: visibility_local variability: variability_constant + calling convention: cdecl atomic value: SymC &set_a volatility: volatility_non_volatile peculiarity: peculiarity_existent ld_name: PRIMA_set_a - offset: -1 + offset: -1 bits, -1 bytes irg = 73 " } edge: { sourcename: "e20" targetname: "t18"class: 3 label: "type" color: red} edge: { sourcename: "e20" targetname: "n19"label: "value 0"} -node: {title: "n19" label: "SymC &set_a 19" info1: "mode: P -visited: 7 -arity: 0 -kind addr_ent -entity PRIMA.set_a (20) - -SymConst of type type_unknown -"} -node: {title: "t18" label: "method set_a" info1: "state: layout_fixed, -mode: P, -size: 32b, -variadicity: variadicity_non_variadic -params: 2 -results: 0 -"} +node: {title: "n19" label: "SymC &set_a 19" info1: "SymC &set_a 19 + mode: P + visited: 9 + arity: 0 + pred nodes: + -1: Block 3 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.set_a (20) + + type of value: type_unknown +" +} +node: {title: "t18" label: "method set_a" info1: "method type set_a (18) + variadicity: variadicity_non_variadic + return types: 0 + parameter types: 2 + class_prima_ptr + int + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} edge: { sourcename: "t18" targetname: "t16"class: 5 label: "param 0" color: green} edge: { sourcename: "t18" targetname: "t14"class: 5 label: "param 1" color: green} node: {title: "e23" label: "ent PRIMA_c" color: yellow @@ -141,25 +230,31 @@ node: {title: "e23" label: "ent PRIMA_c" color: yellow allocation: allocation_static visibility: visibility_local variability: variability_constant + calling convention: cdecl atomic value: SymC &c volatility: volatility_non_volatile peculiarity: peculiarity_existent ld_name: PRIMA_c - offset: -1 + offset: -1 bits, -1 bytes irg = 96 " } edge: { sourcename: "e23" targetname: "t21"class: 3 label: "type" color: red} edge: { sourcename: "e23" targetname: "n22"label: "value 0"} -node: {title: "n22" label: "SymC &c 22" info1: "mode: P -visited: 7 -arity: 0 -kind addr_ent -entity PRIMA.c (23) - -SymConst of type type_unknown -"} +node: {title: "n22" label: "SymC &c 22" info1: "SymC &c 22 + mode: P + visited: 9 + arity: 0 + pred nodes: + -1: Block 3 + Private Attributes: + kind: addr_ent + entity: entity PRIMA.c (23) + + type of value: type_unknown +" +} node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow info1: "entity OO_PROGRAM_EXAMPLE_main (26) type: OO_PROGRAM_EXAMPLE_main (24) @@ -169,40 +264,86 @@ node: {title: "e26" label: "ent OO_PROGRAM_EXAMPLE_main" color: yellow allocation: allocation_static visibility: visibility_local variability: variability_constant + calling convention: cdecl atomic value: SymC &OO_PROGRAM_EXAMPLE_main volatility: volatility_non_volatile peculiarity: peculiarity_existent ld_name: no yet set - offset: -1 + offset: -1 bits, -1 bytes irg = 39 " } edge: { sourcename: "e26" targetname: "t24"class: 3 label: "type" color: red} edge: { sourcename: "e26" targetname: "n25"label: "value 0"} -node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "mode: P -visited: 7 -arity: 0 -kind addr_ent -entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) - -SymConst of type type_unknown -"} -node: {title: "t0" label: "class GlobalType" info1: "state: layout_undefined -size: -1b, -peculiarity: peculiarity_existent -" color: green} +node: {title: "n25" label: "SymC &OO_PROGRAM_EXAMPLE_main 25" info1: "SymC &OO_PROGRAM_EXAMPLE_main 25 + mode: P + visited: 9 + arity: 0 + pred nodes: + -1: Block 3 + Private Attributes: + kind: addr_ent + entity: entity GlobalType.OO_PROGRAM_EXAMPLE_main (26) + + type of value: type_unknown +" +} +node: {title: "t0" label: "class GlobalType" info1: "class type GlobalType (0) + members: + entity OO_PROGRAM_EXAMPLE_main (26) + type: OO_PROGRAM_EXAMPLE_main (24) + 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 &OO_PROGRAM_EXAMPLE_main + volatility: volatility_non_volatile + peculiarity: peculiarity_existent + ld_name: no yet set + offset: -1 bits, -1 bytes + irg = 39 + supertypes: + subtypes: + peculiarity: peculiarity_existent + visibility: visibility_external_allocated, + state: layout_undefined, + size: -1 Bits, + alignment: 32 Bits, + + +" + color: green} edge: { sourcename: "t0" targetname: "e26"class: 12 label: "member" color:blue} -node: {title: "t24" label: "method OO_PROGRAM_EXAMPLE_main" info1: "state: layout_fixed, -mode: P, -size: 32b, -variadicity: variadicity_non_variadic -params: 0 -results: 1 -"} +node: {title: "t24" label: "method OO_PROGRAM_EXAMPLE_main" info1: "method type OO_PROGRAM_EXAMPLE_main (24) + variadicity: variadicity_non_variadic + return types: 1 + int + parameter types: 0 + visibility: visibility_external_allocated, + state: layout_fixed, + size: 32 Bits, + alignment: 32 Bits, + mode: P, + + +" +} edge: { sourcename: "t24" targetname: "t14"class: 6 label: "res 0" color: green} -node: {title: "t27" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "state: layout_undefined -size: -1b, -peculiarity: peculiarity_existent -" color: green} +node: {title: "t27" label: "class OO_PROGRAM_EXAMPLE_mainframe_tp" info1: "class type OO_PROGRAM_EXAMPLE_mainframe_tp (27) + members: + supertypes: + subtypes: + peculiarity: peculiarity_existent + visibility: visibility_external_allocated, + state: layout_undefined, + size: -1 Bits, + alignment: 0 Bits, + + +" + color: green} }