pet_expr: merge unary, binary and ternary types into operation type
commit059bd599de7af441bdab565e4d80b9081f3674bc
authorSven Verdoolaege <skimo@kotnet.org>
Sun, 15 Dec 2013 17:04:26 +0000 (15 18:04 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 21 Mar 2014 08:06:19 +0000 (21 09:06 +0100)
tree78b3e3f7956e18ca7fc7b9ac96dd64eb5b50ade3
parentb34ac716528dff7668a3f065305f7850f89d7ef2
pet_expr: merge unary, binary and ternary types into operation type

We already keep track of the number of arguments in n_arg, so there
is no need to also encode this number in the expression type.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
121 files changed:
emit.c
include/pet.h
parse.c
pet_check_code.c
print.c
scop.c
tests/QR.scop
tests/arg.scop
tests/assume.scop
tests/autodetect/decl.scop
tests/autodetect/if1.scop
tests/autodetect/if2.scop
tests/autodetect/if3.scop
tests/autodetect/loop1.scop
tests/autodetect/loop2.scop
tests/autodetect/loop3.scop
tests/autodetect/loop4.scop
tests/autodetect/loop5.scop
tests/autodetect/scalar.scop
tests/autodetect/while.scop
tests/boolean.scop
tests/break.scop
tests/break2.scop
tests/break3.scop
tests/break4.scop
tests/break5.scop
tests/cast.scop
tests/ceild.scop
tests/conditional_assignment.scop
tests/conditional_assignment2.scop
tests/continue.scop
tests/continue2.scop
tests/continue3.scop
tests/continue4.scop
tests/continue5.scop
tests/cuervo.scop
tests/data_dependent.scop
tests/data_dependent2.scop
tests/dec.scop
tests/dec2.scop
tests/dec3.scop
tests/dec4.scop
tests/decl.scop
tests/div_mod.scop
tests/dynamic_bound.scop
tests/dynamic_condition.scop
tests/empty_domain.scop
tests/filter.scop
tests/filter2.scop
tests/filter3.scop
tests/float.scop
tests/floord.scop
tests/floord2.scop
tests/for_while.scop
tests/for_while_dec.scop
tests/for_while_inc.scop
tests/for_while_overflow.scop
tests/for_while_unsigned.scop
tests/for_while_unsigned2.scop
tests/forward_substitution1.scop
tests/forward_substitution2.scop
tests/forward_substitution3.scop
tests/forward_substitution5.scop
tests/generic_condition.scop
tests/generic_condition2.scop
tests/implicit_condition.scop
tests/inc.scop
tests/inc2.scop
tests/inc3.scop
tests/inc4.scop
tests/inf.scop
tests/inf2.scop
tests/inf3.scop
tests/iterator_declaration.scop
tests/label.scop
tests/loop.scop
tests/loop2.scop
tests/loop3.scop
tests/loop4.scop
tests/loop5.scop
tests/loop_body.scop
tests/loop_body2.scop
tests/matmul.scop
tests/max.scop
tests/min.scop
tests/min2.scop
tests/mod.scop
tests/mod2.scop
tests/omega.scop
tests/piecewise.scop
tests/piecewise2.scop
tests/propagate.scop
tests/quasi_affine.scop
tests/scalar.scop
tests/scalar_inc.scop
tests/shortcut1.scop
tests/shortcut2.scop
tests/static.scop
tests/struct1.scop
tests/struct10.scop
tests/struct2.scop
tests/struct3.scop
tests/struct4.scop
tests/struct5.scop
tests/struct6.scop
tests/struct7.scop
tests/struct8.scop
tests/ternary.scop
tests/tobi1.scop
tests/tobi2.scop
tests/unsigned1.scop
tests/unsigned2.scop
tests/unsigned3.scop
tests/unsigned_break1.scop
tests/unsigned_break2.scop
tests/wdp.scop
tests/while.scop
tests/while_affine.scop
tests/while_break.scop
tests/while_inc.scop
tests/while_overflow.scop