Lines Matching refs:ConstantExpression
23 #include "ConstantExpression.h"
299 android::ConstantExpression *constantExpression;
306 std::vector<android::ConstantExpression *> *constExprVec;
424 $$ = new std::vector<ConstantExpression *>;
433 $$ = new std::vector<ConstantExpression *>;
711 : INTEGER { $$ = new ConstantExpression($1); }
733 $$ = new ConstantExpression(
742 $$ = new ConstantExpression(*(v->constExpr()), $1->string());
747 $$ = new ConstantExpression($1, $3, $5);
749 | const_expr LOGICAL_OR const_expr { $$ = new ConstantExpression($1, "||", $3); }
750 | const_expr LOGICAL_AND const_expr { $$ = new ConstantExpression($1, "&&", $3); }
751 | const_expr '|' const_expr { $$ = new ConstantExpression($1, "|" , $3); }
752 | const_expr '^' const_expr { $$ = new ConstantExpression($1, "^" , $3); }
753 | const_expr '&' const_expr { $$ = new ConstantExpression($1, "&" , $3); }
754 | const_expr EQUALITY const_expr { $$ = new ConstantExpression($1, "==", $3); }
755 | const_expr NEQ const_expr { $$ = new ConstantExpression($1, "!=", $3); }
756 | const_expr '<' const_expr { $$ = new ConstantExpression($1, "<" , $3); }
757 | const_expr '>' const_expr { $$ = new ConstantExpression($1, ">" , $3); }
758 | const_expr LEQ const_expr { $$ = new ConstantExpression($1, "<=", $3); }
759 | const_expr GEQ const_expr { $$ = new ConstantExpression($1, ">=", $3); }
760 | const_expr LSHIFT const_expr { $$ = new ConstantExpression($1, "<<", $3); }
761 | const_expr RSHIFT const_expr { $$ = new ConstantExpression($1, ">>", $3); }
762 | const_expr '+' const_expr { $$ = new ConstantExpression($1, "+" , $3); }
763 | const_expr '-' const_expr { $$ = new ConstantExpression($1, "-" , $3); }
764 | const_expr '*' const_expr { $$ = new ConstantExpression($1, "*" , $3); }
765 | const_expr '/' const_expr { $$ = new ConstantExpression($1, "/" , $3); }
766 | const_expr '%' const_expr { $$ = new ConstantExpression($1, "%" , $3); }
767 | '+' const_expr %prec UNARY_PLUS { $$ = new ConstantExpression("+", $2); }
768 | '-' const_expr %prec UNARY_MINUS { $$ = new ConstantExpression("-", $2); }
769 | '!' const_expr { $$ = new ConstantExpression("!", $2); }
770 | '~' const_expr { $$ = new ConstantExpression("~", $2); }
776 $$ = new ConstantExpression(ConstantExpression::Zero(ScalarType::KIND_INT32));