Home
last modified time | relevance | path

Searched refs:ast_expression (Results 1 – 7 of 7) 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
222 ast_expression *subexpressions[3];
252 class ast_expression_bin : public ast_expression {
254 ast_expression_bin(int oper, ast_expression *, ast_expression *);
262 class ast_function_expression : public ast_expression {
264 ast_function_expression(ast_expression *callee) in ast_function_expression()
265 : ast_expression(ast_function_call, callee, in ast_function_expression()
[all …]
Dast_expr.cpp27 ast_expression::operator_string(enum ast_operators op) in operator_string()
81 ast_expression_bin::ast_expression_bin(int oper, ast_expression *ex0, in ast_expression_bin()
82 ast_expression *ex1) : in ast_expression_bin()
83 ast_expression(oper, ex0, ex1, NULL) in ast_expression_bin()
Dglsl_parser_extras.cpp489 ast_opt_array_size_print(bool is_array, const ast_expression *array_size) in ast_opt_array_size_print()
528 ast_expression::print(void) const in print()
640 ast_expression::ast_expression(int oper, in ast_expression() function in ast_expression
641 ast_expression *ex0, in ast_expression()
642 ast_expression *ex1, in ast_expression()
643 ast_expression *ex2) in ast_expression()
663 ast_expression_statement::ast_expression_statement(ast_expression *ex) : in ast_expression_statement()
732 ast_expression *array_size, in ast_declaration()
733 ast_expression *initializer) in ast_declaration()
795 ast_jump_statement::ast_jump_statement(int mode, ast_expression *return_value) in ast_jump_statement()
[all …]
Dglsl_parser.yy73 ast_expression *expression;
85 ast_expression *rest;
373 $$ = new(ctx) ast_expression(ast_identifier, NULL, NULL, NULL);
380 $$ = new(ctx) ast_expression(ast_int_constant, NULL, NULL, NULL);
387 $$ = new(ctx) ast_expression(ast_uint_constant, NULL, NULL, NULL);
394 $$ = new(ctx) ast_expression(ast_float_constant, NULL, NULL, NULL);
401 $$ = new(ctx) ast_expression(ast_bool_constant, NULL, NULL, NULL);
416 $$ = new(ctx) ast_expression(ast_array_index, $1, $3, NULL);
426 $$ = new(ctx) ast_expression(ast_field_selection, $1, NULL, NULL);
433 $$ = 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()
Dast_to_hir.cpp406 ast_expression::operator_string(op)); in bit_logic_result_type()
411 ast_expression::operator_string(op)); in bit_logic_result_type()
420 "base type", ast_expression::operator_string(op)); in bit_logic_result_type()
429 "different sizes", ast_expression::operator_string(op)); in bit_logic_result_type()
569 "integer vector", ast_expression::operator_string(op)); in shift_result_type()
575 "integer vector", ast_expression::operator_string(op)); in shift_result_type()
585 ast_expression::operator_string(op)); in shift_result_type()
597 ast_expression::operator_string(op)); in shift_result_type()
886 ast_expression *parent_expr, in get_scalar_boolean_operand()
891 ast_expression *expr = parent_expr->subexpressions[operand]; in get_scalar_boolean_operand()
[all …]
Dast_function.cpp117 const ast_expression *const actual_ast = in verify_parameter_modes()
118 exec_node_data(ast_expression, actual_ast_node, link); in verify_parameter_modes()
1483 const ast_expression *id = subexpressions[0]; in hir()