Lines Matching full:s_expression
27 #include "s_expression.h"
43 void ir_read_error(s_expression *, const char *fmt, ...);
45 const glsl_type *read_type(s_expression *);
47 void scan_for_prototypes(exec_list *, s_expression *);
48 ir_function *read_function(s_expression *, bool skip_body);
49 void read_function_sig(ir_function *, s_expression *, bool skip_body);
51 void read_instructions(exec_list *, s_expression *, ir_loop *);
52 ir_instruction *read_instruction(s_expression *, ir_loop *);
53 ir_variable *read_declaration(s_expression *);
54 ir_if *read_if(s_expression *, ir_loop *);
55 ir_loop *read_loop(s_expression *);
56 ir_call *read_call(s_expression *);
57 ir_return *read_return(s_expression *);
58 ir_rvalue *read_rvalue(s_expression *);
59 ir_assignment *read_assignment(s_expression *);
60 ir_expression *read_expression(s_expression *);
61 ir_swizzle *read_swizzle(s_expression *);
62 ir_constant *read_constant(s_expression *);
63 ir_texture *read_texture(s_expression *);
64 ir_emit_vertex *read_emit_vertex(s_expression *);
65 ir_end_primitive *read_end_primitive(s_expression *);
66 ir_barrier *read_barrier(s_expression *);
68 ir_dereference *read_dereference(s_expression *);
69 ir_dereference_variable *read_var_ref(s_expression *);
91 s_expression *expr = s_expression::read_expression(sx_mem_ctx, src);
111 ir_reader::ir_read_error(s_expression *expr, const char *fmt, ...)
135 ir_reader::read_type(s_expression *expr)
137 s_expression *s_base_type;
166 ir_reader::scan_for_prototypes(exec_list *instructions, s_expression *expr)
190 ir_reader::read_function(s_expression *expr, bool skip_body)
213 s_expression *s_sig = (s_expression *) node;
226 ir_reader::read_function_sig(ir_function *f, s_expression *expr, bool skip_body)
228 s_expression *type_expr;
256 ir_variable *var = read_declaration((s_expression *) node);
310 ir_reader::read_instructions(exec_list *instructions, s_expression *expr,
320 foreach_in_list(s_expression, sub, &list->subexpressions) {
338 ir_reader::read_instruction(s_expression *expr, ir_loop *loop_ctx)
390 ir_reader::read_declaration(s_expression *expr)
393 s_expression *s_type;
470 ir_reader::read_if(s_expression *expr, ir_loop *loop_ctx)
472 s_expression *s_cond;
473 s_expression *s_then;
474 s_expression *s_else;
501 ir_reader::read_loop(s_expression *expr)
503 s_expression *s_body;
523 ir_reader::read_return(s_expression *expr)
525 s_expression *s_retval;
546 ir_reader::read_rvalue(s_expression *expr)
577 ir_reader::read_assignment(s_expression *expr)
579 s_expression *cond_expr = NULL;
580 s_expression *lhs_expr, *rhs_expr;
648 ir_reader::read_call(s_expression *expr)
671 foreach_in_list(s_expression, e, ¶ms->subexpressions) {
707 ir_reader::read_expression(s_expression *expr)
709 s_expression *s_type;
711 s_expression *s_arg[4] = {NULL};
719 s_arg[1] = (s_expression *) s_arg[0]->next; // may be tail sentinel
720 s_arg[2] = (s_expression *) s_arg[1]->next; // may be tail sentinel or NULL
722 s_arg[3] = (s_expression *) s_arg[2]->next; // may be tail sentinel or NULL
758 ir_reader::read_swizzle(s_expression *expr)
761 s_expression *sub;
787 ir_reader::read_constant(s_expression *expr)
789 s_expression *type_expr;
810 foreach_in_list(s_expression, elt, &values->subexpressions) {
830 foreach_in_list(s_expression, expr, &values->subexpressions) {
880 ir_reader::read_var_ref(s_expression *expr)
897 ir_reader::read_dereference(s_expression *expr)
899 s_expression *s_subject;
900 s_expression *s_index;
934 ir_reader::read_texture(s_expression *expr)
937 s_expression *s_type = NULL;
938 s_expression *s_sampler = NULL;
939 s_expression *s_coord = NULL;
940 s_expression *s_offset = NULL;
941 s_expression *s_proj = NULL;
943 s_expression *s_lod = NULL;
944 s_expression *s_sample_index = NULL;
945 s_expression *s_component = NULL;
1087 s_expression *s_dx, *s_dy;
1120 ir_reader::read_emit_vertex(s_expression *expr)
1122 s_expression *s_stream = NULL;
1139 ir_reader::read_end_primitive(s_expression *expr)
1141 s_expression *s_stream = NULL;
1158 ir_reader::read_barrier(s_expression *expr)