Searched refs:s_pattern (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/compiler/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 | 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() 476 s_pattern pat[] = { "if", s_cond, s_then, s_else }; in read_if() 505 s_pattern loop_pat[] = { "loop", s_body }; in read_loop() 527 s_pattern return_value_pat[] = { "return", s_retval}; in read_return() 528 s_pattern return_void_pat[] = { "return" }; in read_return() 583 s_pattern pat4[] = { "assign", mask_list, lhs_expr, rhs_expr }; in read_assignment() 584 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()
|