Home
last modified time | relevance | path

Searched refs:ast_expression (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/glsl/
Dast.h198 class ast_expression : public ast_node {
200 ast_expression(int oper, ast_expression *,
201 ast_expression *, ast_expression *);
203 ast_expression(const char *identifier) : in ast_expression() function
221 ast_expression *subexpressions[3];
239 class ast_expression_bin : public ast_expression {
241 ast_expression_bin(int oper, ast_expression *, ast_expression *);
249 class ast_function_expression : public ast_expression {
251 ast_function_expression(ast_expression *callee) in ast_function_expression()
252 : ast_expression(ast_function_call, callee, in ast_function_expression()
[all …]
Dast_expr.cpp28 ast_expression::operator_string(enum ast_operators op) in operator_string()
82 ast_expression_bin::ast_expression_bin(int oper, ast_expression *ex0, in ast_expression_bin()
83 ast_expression *ex1) : in ast_expression_bin()
84 ast_expression(oper, ex0, ex1, NULL) in ast_expression_bin()
Dglsl_parser_extras.cpp287 ast_opt_array_size_print(bool is_array, const ast_expression *array_size) in ast_opt_array_size_print()
326 ast_expression::print(void) const in print()
438 ast_expression::ast_expression(int oper, in ast_expression() function in ast_expression
439 ast_expression *ex0, in ast_expression()
440 ast_expression *ex1, in ast_expression()
441 ast_expression *ex2) in ast_expression()
460 ast_expression_statement::ast_expression_statement(ast_expression *ex) : in ast_expression_statement()
529 ast_expression *array_size, in ast_declaration()
530 ast_expression *initializer) in ast_declaration()
591 ast_jump_statement::ast_jump_statement(int mode, ast_expression *return_value) in ast_jump_statement()
[all …]
Dglsl_parser.ypp66 ast_expression *expression;
73 ast_expression *rest;
287 $$ = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL);
294 $$ = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL);
301 $$ = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL);
308 $$ = new(ctx) ast_expression(ast_float_constant, NULL, NULL, NULL);
315 $$ = new(ctx) ast_expression(ast_bool_constant, NULL, NULL, NULL);
330 $$ = new(ctx) ast_expression(ast_array_index, $1, $3, NULL);
340 $$ = new(ctx) ast_expression(ast_field_selection, $1, NULL, NULL);
347 $$ = new(ctx) ast_expression(ast_post_inc, $1, NULL, NULL);
[all …]
Dhir_field_selection.cpp31 _mesa_ast_field_selection_to_hir(const ast_expression *expr, in _mesa_ast_field_selection_to_hir()
78 ast_expression *call = expr->subexpressions[1]; in _mesa_ast_field_selection_to_hir()
Dglsl_parser.cpp358 ast_expression *expression;
365 ast_expression *rest;
2893 (yyval.expression) = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL);
2905 (yyval.expression) = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL);
2917 (yyval.expression) = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL);
2929 (yyval.expression) = new(ctx) ast_expression(ast_float_constant, NULL, NULL, NULL);
2941 (yyval.expression) = new(ctx) ast_expression(ast_bool_constant, NULL, NULL, NULL);
2962 …(yyval.expression) = new(ctx) ast_expression(ast_array_index, (yyvsp[(1) - (4)].expression), (yyvs…
2982 …(yyval.expression) = new(ctx) ast_expression(ast_field_selection, (yyvsp[(1) - (3)].expression), N…
2994 …(yyval.expression) = new(ctx) ast_expression(ast_post_inc, (yyvsp[(1) - (2)].expression), NULL, NU…
[all …]
Dglsl_parser.h256 ast_expression *expression;
263 ast_expression *rest;
Dast_to_hir.cpp395 ast_expression::operator_string(op)); in bit_logic_result_type()
400 ast_expression::operator_string(op)); in bit_logic_result_type()
409 "base type", ast_expression::operator_string(op)); in bit_logic_result_type()
418 "different sizes", ast_expression::operator_string(op)); in bit_logic_result_type()
543 "integer vector", ast_expression::operator_string(op)); in shift_result_type()
549 "integer vector", ast_expression::operator_string(op)); in shift_result_type()
559 ast_expression::operator_string(op)); in shift_result_type()
571 ast_expression::operator_string(op)); in shift_result_type()
838 ast_expression::hir(exec_list *instructions, in hir()
Dast_function.cpp1193 const ast_expression *id = subexpressions[0]; in hir()