Home
last modified time | relevance | path

Searched refs:orig_deref (Results 1 – 25 of 34) sorted by relevance

12

/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/
H A Dlower_variable_index_to_cond_assign.cpp405 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
408 ? orig_deref->array->type->length in convert_dereference_array()
409 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
422 ir_var_temporary, precision_from_ir(orig_deref)); in convert_dereference_array()
432 var = new(mem_ctx) ir_variable(orig_deref->type, in convert_dereference_array()
434 ir_var_temporary, precision_from_ir(orig_deref)); in convert_dereference_array()
440 new(mem_ctx) ir_variable(orig_deref->array_index->type, in convert_dereference_array()
446 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL); in convert_dereference_array()
449 orig_deref->array_index = lhs->clone(mem_ctx, NULL); in convert_dereference_array()
496 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp95 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
100 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/
H A Dlower_variable_index_to_cond_assign.cpp405 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
408 ? orig_deref->array->type->length in convert_dereference_array()
409 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
422 ir_var_temporary, precision_from_ir(orig_deref)); in convert_dereference_array()
432 var = new(mem_ctx) ir_variable(orig_deref->type, in convert_dereference_array()
434 ir_var_temporary, precision_from_ir(orig_deref)); in convert_dereference_array()
440 new(mem_ctx) ir_variable(orig_deref->array_index->type, in convert_dereference_array()
446 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL); in convert_dereference_array()
449 orig_deref->array_index = lhs->clone(mem_ctx, NULL); in convert_dereference_array()
496 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp95 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
100 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp340 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
342 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
343 ? orig_deref->array->type->length in convert_dereference_array()
344 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
358 var = body.make_temp(orig_deref->type, in convert_dereference_array()
363 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
366 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
368 orig_deref->array_index = deref(index).val; in convert_dereference_array()
398 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
399 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
91 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/lang/clover/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
91 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
91 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
91 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/graphics/libosmesa/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/graphics/mesa-gallium-xa/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/graphics/mesa-libs/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
91 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
H A Dopt_function_inlining.cpp86 ir_dereference *orig_deref = (ir_dereference *) data; in replace_return_with_assignment() local
91 ir_rvalue *lhs = orig_deref->clone(ctx, NULL); in replace_return_with_assignment()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/graphics/mesa-dri-gallium/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/graphics/mesa-gallium-vdpau/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/graphics/mesa-dri/mesa-21.3.6/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]
/dports/graphics/mesa-dri-classic/mesa-20.2.3/src/compiler/glsl/
H A Dlower_variable_index_to_cond_assign.cpp437 assert(is_array_or_matrix(orig_deref->array)); in convert_dereference_array()
439 const unsigned length = (orig_deref->array->type->is_array()) in convert_dereference_array()
440 ? orig_deref->array->type->length in convert_dereference_array()
441 : orig_deref->array->type->matrix_columns; in convert_dereference_array()
455 var = body.make_temp(orig_deref->type, in convert_dereference_array()
460 ir_variable *index = body.make_temp(orig_deref->array_index->type, in convert_dereference_array()
463 body.emit(assign(index, orig_deref->array_index)); in convert_dereference_array()
465 orig_deref->array_index = deref(index).val; in convert_dereference_array()
510 ir_dereference_array* orig_deref = (*pir)->as_dereference_array(); in handle_rvalue() local
511 if (needs_lowering(orig_deref)) { in handle_rvalue()
[all …]

12