summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-08 14:46:09 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-08 14:46:09 +0300
commit68aa5d2a564adc5332533c815cd95b132be8b05a (patch)
tree8240baaa4da1ce562aab9ad98d5f8837c5807ffd
parent605578e53c24be4356f6238b17e9deb3d209cc18 (diff)
downloadparanucker-68aa5d2a564adc5332533c815cd95b132be8b05a.tar.gz
paranucker-68aa5d2a564adc5332533c815cd95b132be8b05a.tar.bz2
paranucker-68aa5d2a564adc5332533c815cd95b132be8b05a.tar.xz
paranucker-68aa5d2a564adc5332533c815cd95b132be8b05a.zip
Update test results.
-rw-r--r--test/test1-01.txt220
-rw-r--r--test/test1-02.txt149
-rw-r--r--test/test1-03.txt4
-rw-r--r--test/test1-04.txt8
4 files changed, 371 insertions, 10 deletions
diff --git a/test/test1-01.txt b/test/test1-01.txt
index a9eaa51..0f89e1e 100644
--- a/test/test1-01.txt
+++ b/test/test1-01.txt
@@ -129,7 +129,67 @@ function_decl main test1.c 14:5
convert_expr - expresssion
call_expr - operand
- function: LOAD_LANES - operand
- Unsupported node type: addr_expr - function - operand
+ addr_expr - function
+ function_decl fun1 test1.c 2:5 - operand
+ - isExternal: 1
+ - isPublic: 1
+ function_type - function type
+ integer_type - function return type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ tree_list - arg types
+ integer_type - value
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ tree_list - arg types
+ pointer_type - value
+ pointer_type - nested type
+ pointer_type - nested type
+ integer_type - nested type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ tree_list - arg types
+ void_type - value
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ parm_decl x test1.c 2:20 - argument
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ parm_decl y test1.c 2:29 - argument
+ pointer_type - decl type
+ pointer_type - nested type
+ pointer_type - nested type
+ integer_type - nested type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 64 - parm size
integer_cst 1 - arg
integer_cst 2 - arg
decl_expr - statement
@@ -161,9 +221,105 @@ function_decl main test1.c 14:5
expr_stmt - operand
call_expr - expresssion
- function: LOAD_LANES - expresssion
- Unsupported node type: addr_expr - function - expresssion
+ addr_expr - function
+ function_decl func3 test1.c 7:6 - operand
+ - isPublic: 1
+ tree_list - attribute
+ identifier_node noreturn - purpose
+ function_type - function type
+ void_type - function return type
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ tree_list - attribute
+ identifier_node nonnull - purpose
+ tree_list - value
+ integer_cst 1 - value
+ tree_list - value
+ integer_cst 2 - value
+ tree_list - arg types
+ pointer_type - value
+ integer_type - nested type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ tree_list - arg types
+ pointer_type - value
+ integer_type - nested type
+ - precisionBits: 8
+ - isChar: 1
+ - signed
+ type_decl char <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 8 - type size
+ integer_cst -128 - min value
+ integer_cst 127 - max value
+ tree_list - arg types
+ void_type - value
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ result_decl test1.c 7:32 - function result
+ - isAutogenerated: 1
+ void_type - result type
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ - isUsed: 1
+ parm_decl ptr test1.c 7:17 - argument
+ pointer_type - decl type
+ integer_type - nested type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 64 - parm size
+ - isUsed: 1
+ parm_decl ptr2 test1.c 7:28 - argument
+ pointer_type - decl type
+ integer_type - nested type
+ - precisionBits: 8
+ - isChar: 1
+ - signed
+ type_decl char <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 8 - type size
+ integer_cst -128 - min value
+ integer_cst 127 - max value
+ integer_cst 64 - parm size
+ statement_list - code
+ cleanup_point_expr - statement
+ expr_stmt - operand
+ convert_expr - expresssion
+ modify_expr - operand
+ Unsupported node type: indirect_ref - operand - operand
+ integer_cst 10 - operand
+ cleanup_point_expr - statement
+ expr_stmt - operand
+ convert_expr - expresssion
+ modify_expr - operand
+ Unsupported node type: indirect_ref - operand - operand
+ integer_cst 20 - operand
+ statement_list - statement
+ Unsupported node type: loop_expr - statement - statement
integer_cst 0 - arg
- Unsupported node type: addr_expr - arg - expresssion
+ addr_expr - arg
+ var_decl k test1.c 17:14 - operand
+ - isUsed: 1
+ integer_cst 8 - decl size
+ integer_type - var type
+ - precisionBits: 8
+ - isChar: 1
+ - signed
+ type_decl char <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 8 - type size
+ integer_cst -128 - min value
+ integer_cst 127 - max value
return_expr - statement
init_expr - operand
result_decl test1.c 14:10 - operand
@@ -478,7 +634,63 @@ function_decl fun1 test1.c 29:5
expr_stmt - operand
call_expr - expresssion
- function: LOAD_LANES - expresssion
- Unsupported node type: addr_expr - function - expresssion
+ addr_expr - function
+ function_decl fun test1.c 21:6 - operand
+ - isPublic: 1
+ function_type - function type
+ void_type - function return type
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ tree_list - arg types
+ integer_type - value
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ tree_list - arg types
+ integer_type - value
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ tree_list - arg types
+ void_type - value
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ result_decl test1.c 21:23 - function result
+ - isAutogenerated: 1
+ void_type - result type
+ type_decl void <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ - isUsed: 1
+ parm_decl a test1.c 21:14 - argument
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ - isUsed: 1
+ parm_decl b test1.c 21:22 - argument
+ integer_type - decl type
+ - precisionBits: 32
+ - signed
+ type_decl int <built-in> 0:0 - type name
+ - isAutogenerated: 1
+ integer_cst 32 - type size
+ integer_cst -2147483648 - min value
+ integer_cst 2147483647 - max value
+ integer_cst 32 - parm size
+ Unsupported node type: cond_expr - code - operand
integer_cst 0 - arg
integer_cst 1 - arg
if_stmt - statement
diff --git a/test/test1-02.txt b/test/test1-02.txt
index 8a52a75..eb2061c 100644
--- a/test/test1-02.txt
+++ b/test/test1-02.txt
@@ -91,6 +91,49 @@
5 expr_stmt
6 convert_expr
7 call_expr
+8 addr_expr
+9 function_decl test1.c
+10 function_type
+11 integer_type
+12 type_decl <built-in>
+12 integer_cst
+12 integer_cst
+12 integer_cst
+11 tree_list
+12 integer_type
+13 type_decl <built-in>
+13 integer_cst
+13 integer_cst
+13 integer_cst
+12 tree_list
+13 pointer_type
+14 pointer_type
+15 pointer_type
+16 integer_type
+17 type_decl <built-in>
+17 integer_cst
+17 integer_cst
+17 integer_cst
+13 tree_list
+14 void_type
+15 type_decl <built-in>
+10 parm_decl test1.c
+11 integer_type
+12 type_decl <built-in>
+12 integer_cst
+12 integer_cst
+12 integer_cst
+11 integer_cst
+10 parm_decl test1.c
+11 pointer_type
+12 pointer_type
+13 pointer_type
+14 integer_type
+15 type_decl <built-in>
+15 integer_cst
+15 integer_cst
+15 integer_cst
+11 integer_cst
8 integer_cst
8 integer_cst
4 decl_expr
@@ -112,7 +155,76 @@
4 cleanup_point_expr
5 expr_stmt
6 call_expr
+7 addr_expr
+8 function_decl test1.c
+9 tree_list
+10 identifier_node
+9 function_type
+10 void_type
+11 type_decl <built-in>
+10 tree_list
+11 identifier_node
+11 tree_list
+12 integer_cst
+12 tree_list
+13 integer_cst
+10 tree_list
+11 pointer_type
+12 integer_type
+13 type_decl <built-in>
+13 integer_cst
+13 integer_cst
+13 integer_cst
+11 tree_list
+12 pointer_type
+13 integer_type
+14 type_decl <built-in>
+14 integer_cst
+14 integer_cst
+14 integer_cst
+12 tree_list
+13 void_type
+14 type_decl <built-in>
+9 result_decl test1.c
+10 void_type
+11 type_decl <built-in>
+9 parm_decl test1.c
+10 pointer_type
+11 integer_type
+12 type_decl <built-in>
+12 integer_cst
+12 integer_cst
+12 integer_cst
+10 integer_cst
+9 parm_decl test1.c
+10 pointer_type
+11 integer_type
+12 type_decl <built-in>
+12 integer_cst
+12 integer_cst
+12 integer_cst
+10 integer_cst
+9 statement_list
+10 cleanup_point_expr
+11 expr_stmt
+12 convert_expr
+13 modify_expr
+14 integer_cst
+10 cleanup_point_expr
+11 expr_stmt
+12 convert_expr
+13 modify_expr
+14 integer_cst
+10 statement_list
7 integer_cst
+7 addr_expr
+8 var_decl test1.c
+9 integer_cst
+9 integer_type
+10 type_decl <built-in>
+10 integer_cst
+10 integer_cst
+10 integer_cst
4 return_expr
5 init_expr
6 result_decl test1.c
@@ -328,6 +440,43 @@
3 cleanup_point_expr
4 expr_stmt
5 call_expr
+6 addr_expr
+7 function_decl test1.c
+8 function_type
+9 void_type
+10 type_decl <built-in>
+9 tree_list
+10 integer_type
+11 type_decl <built-in>
+11 integer_cst
+11 integer_cst
+11 integer_cst
+10 tree_list
+11 integer_type
+12 type_decl <built-in>
+12 integer_cst
+12 integer_cst
+12 integer_cst
+11 tree_list
+12 void_type
+13 type_decl <built-in>
+8 result_decl test1.c
+9 void_type
+10 type_decl <built-in>
+8 parm_decl test1.c
+9 integer_type
+10 type_decl <built-in>
+10 integer_cst
+10 integer_cst
+10 integer_cst
+9 integer_cst
+8 parm_decl test1.c
+9 integer_type
+10 type_decl <built-in>
+10 integer_cst
+10 integer_cst
+10 integer_cst
+9 integer_cst
6 integer_cst
6 integer_cst
3 if_stmt
diff --git a/test/test1-03.txt b/test/test1-03.txt
index b8a84fc..a6693f7 100644
--- a/test/test1-03.txt
+++ b/test/test1-03.txt
@@ -1,10 +1,10 @@
Allocations before cleanup: 62
Allocations after cleanup: 0
-Allocations before cleanup: 88
+Allocations before cleanup: 200
Allocations after cleanup: 0
Allocations before cleanup: 83
Allocations after cleanup: 0
-Allocations before cleanup: 149
+Allocations before cleanup: 186
Allocations after cleanup: 0
Allocations before cleanup: 50
Allocations after cleanup: 0
diff --git a/test/test1-04.txt b/test/test1-04.txt
index 9d88e53..0c2486d 100644
--- a/test/test1-04.txt
+++ b/test/test1-04.txt
@@ -1,8 +1,8 @@
Unsupported node type: indirect_ref
Unsupported node type: indirect_ref
-Unsupported node type: addr_expr
-Unsupported node type: addr_expr
-Unsupported node type: addr_expr
+Unsupported node type: indirect_ref
+Unsupported node type: indirect_ref
+Unsupported node type: loop_expr
Unsupported node type: eq_expr
-Unsupported node type: addr_expr
+Unsupported node type: cond_expr
Unsupported node type: eq_expr