Searched refs:s_pattern (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/compiler/glsl/ |
D | s_expression.h | 152 class s_pattern { 154 s_pattern(s_expression *&s) : p_expr(&s), type(EXPR) { } in s_pattern() function 155 s_pattern(s_list *&s) : p_list(&s), type(LIST) { } in s_pattern() function 156 s_pattern(s_symbol *&s) : p_symbol(&s), type(SYMBOL) { } in s_pattern() function 157 s_pattern(s_number *&s) : p_number(&s), type(NUMBER) { } in s_pattern() function 158 s_pattern(s_int *&s) : p_int(&s), type(INT) { } in s_pattern() function 159 s_pattern(const char *str) : literal(str), type(STRING) { } in s_pattern() function 176 s_match(s_expression *top, unsigned n, s_pattern *pattern, bool partial);
|
D | ir_reader.cpp | 140 s_pattern pat[] = { "array", s_base_type, s_size }; in read_type() 195 s_pattern pat[] = { "function", name }; in read_function() 232 s_pattern pat[] = { "signature", type_expr, paramlist, body_list }; in read_function_sig() 396 s_pattern pat[] = { "declare", s_quals, s_type, s_name }; in read_declaration() 478 s_pattern pat[] = { "if", s_cond, s_then, s_else }; in read_if() 507 s_pattern loop_pat[] = { "loop", s_body }; in read_loop() 529 s_pattern return_value_pat[] = { "return", s_retval}; in read_return() 530 s_pattern return_void_pat[] = { "return" }; in read_return() 585 s_pattern pat4[] = { "assign", mask_list, lhs_expr, rhs_expr }; in read_assignment() 586 s_pattern pat5[] = { "assign", cond_expr, mask_list, lhs_expr, rhs_expr }; in read_assignment() [all …]
|
D | s_expression.cpp | 179 s_pattern::match(s_expression *expr) in match() 199 s_match(s_expression *top, unsigned n, s_pattern *pattern, bool partial) in s_match()
|