Searched refs:s_pattern (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/glsl/ |
D | s_expression.h | 154 class s_pattern { 156 s_pattern(s_expression *&s) : p_expr(&s), type(EXPR) { } in s_pattern() function 157 s_pattern(s_list *&s) : p_list(&s), type(LIST) { } in s_pattern() function 158 s_pattern(s_symbol *&s) : p_symbol(&s), type(SYMBOL) { } in s_pattern() function 159 s_pattern(s_number *&s) : p_number(&s), type(NUMBER) { } in s_pattern() function 160 s_pattern(s_int *&s) : p_int(&s), type(INT) { } in s_pattern() function 161 s_pattern(const char *str) : literal(str), type(STRING) { } in s_pattern() function 178 s_match(s_expression *top, unsigned n, s_pattern *pattern, bool partial);
|
D | ir_reader.cpp | 133 s_pattern pat[] = { "array", s_base_type, s_size }; in read_type() 189 s_pattern pat[] = { "function", name }; in read_function() 219 s_pattern pat[] = { "signature", type_expr, paramlist, body_list }; in read_function_sig() 373 s_pattern pat[] = { "declare", s_quals, s_type, s_name }; in read_declaration() 438 s_pattern pat[] = { "if", s_cond, s_then, s_else }; in read_if() 467 s_pattern pat[] = { "loop", s_counter, s_from, s_to, s_inc, s_body }; in read_loop() 491 s_pattern return_value_pat[] = { "return", s_retval}; in read_return() 492 s_pattern return_void_pat[] = { "return" }; in read_return() 547 s_pattern pat4[] = { "assign", mask_list, lhs_expr, rhs_expr }; in read_assignment() 548 s_pattern pat5[] = { "assign", cond_expr, mask_list, lhs_expr, rhs_expr }; in read_assignment() [all …]
|
D | s_expression.cpp | 177 s_pattern::match(s_expression *expr) in match() 197 s_match(s_expression *top, unsigned n, s_pattern *pattern, bool partial) in s_match()
|