Lines Matching defs:actual

81  *                    formal (\c ir_variable) or actual (\c ir_rvalue)
110 const ir_variable *formal, const ir_variable *actual)
121 if (actual->data.memory_coherent && !formal->data.memory_coherent) {
128 if (actual->data.memory_volatile && !formal->data.memory_volatile) {
135 if (actual->data.memory_restrict && !formal->data.memory_restrict) {
142 if (actual->data.memory_read_only && !formal->data.memory_read_only) {
149 if (actual->data.memory_write_only && !formal->data.memory_write_only) {
218 * Verify that 'out' and 'inout' actual parameters are lvalues. Also, verify
220 * ir_constant actual parameters.
236 const ir_rvalue *const actual = (ir_rvalue *) actual_ir_node;
244 actual->ir_type != ir_type_constant) {
253 const ir_rvalue *val = actual;
290 /* Verify that 'out' and 'inout' actual parameters are lvalues. */
301 * is_lvalue() is insufficient because the actual parameter at the
312 ir_variable *var = actual->variable_referenced();
332 actual->variable_referenced()->name);
334 } else if (!actual->is_lvalue(state)) {
343 ir_variable *var = actual->variable_referenced();
356 actual->variable_referenced()) {
358 actual->variable_referenced()))
370 const ir_rvalue *const actual =
379 actual->variable_referenced())) {
383 const ir_rvalue *const actual =
392 actual->variable_referenced())) {
442 fix_parameter(void *mem_ctx, ir_rvalue *actual, const glsl_type *formal_type,
446 ir_expression *const expr = actual->as_expression();
451 if (formal_type == actual->type
453 && actual->as_dereference_variable())
459 if (!actual->as_dereference_variable()) {
464 visit_tree(actual, copy_index_derefs_to_temps, &data);
493 /* If the parameter is an inout parameter, copy the value of the actual
502 assert (actual->type == formal_type);
507 new(mem_ctx) ir_assignment(deref_tmp_1, actual->clone(mem_ctx, NULL));
516 actual->replace_with(deref_tmp_2);
519 /* Copy the temporary variable to the actual parameter with optional
523 if (actual->type != formal_type)
524 rhs = convert_component(rhs, actual->type);
526 ir_rvalue *lhs = actual;
562 ir_rvalue *actual = (ir_rvalue *) actual_node;
570 = convert_component(actual, formal->type);
571 actual->replace_with(converted);
576 fix_parameter(ctx, actual, formal->type,
2056 /* When actual size is known at link-time, this will be