Home
last modified time | relevance | path

Searched refs:variable_referenced (Results 1 – 25 of 39) sorted by relevance

12

/third_party/mesa3d/src/compiler/glsl/
Dast_array_index.cpp119 ir_variable *var = array->variable_referenced(); in get_implicit_array_size()
224 array->variable_referenced()->data.mode == ir_var_shader_out && in _mesa_ast_array_index_to_hir()
225 !array->variable_referenced()->data.patch) { in _mesa_ast_array_index_to_hir()
233 else if (array->variable_referenced()->data.mode != in _mesa_ast_array_index_to_hir()
240 ir_variable *var = array->variable_referenced(); in _mesa_ast_array_index_to_hir()
252 && ((array->variable_referenced()->data.mode == ir_var_uniform in _mesa_ast_array_index_to_hir()
257 (array->variable_referenced()->data.mode == ir_var_shader_storage in _mesa_ast_array_index_to_hir()
270 array->variable_referenced()->data.mode in _mesa_ast_array_index_to_hir()
Dlower_precision.cpp432 ir_variable *resource = param->variable_referenced(); in handle_call()
469 ir_variable *var = param->variable_referenced(); in handle_call()
571 ir_variable *var = ir->return_deref->variable_referenced(); in visit_leave()
602 ir_variable *var = ir->lhs->variable_referenced(); in visit_leave()
872 ir->return_deref ? ir->return_deref->variable_referenced() : NULL; in visit_enter()
1067 assert(_mesa_set_search(lower_vars, ir->variable_referenced())); in fix_types_in_deref_chain()
1118 ir_variable *var = lhs->variable_referenced(); in visit_enter()
1120 ir_variable *rhs_var = rhs_deref ? rhs_deref->variable_referenced() : NULL; in visit_enter()
1202 ir_variable *var = deref->variable_referenced(); in visit_enter()
1247 expr_op0_deref->variable_referenced() && in handle_rvalue()
[all …]
Dopt_constant_variable.cpp104 entry = get_assignment_entry(ir->lhs->variable_referenced(), this->ht); in visit_enter()
161 ir_variable *var = param_rval->variable_referenced(); in visit_enter()
181 ir_variable *var = ir->return_deref->variable_referenced(); in visit_enter()
Dlower_vector_derefs.cpp71 ir_variable *var = deref->variable_referenced(); in visit_enter()
83 deref->variable_referenced()->data.mode == ir_var_shader_out) { in visit_enter()
183 ir_variable *var = deref->variable_referenced(); in handle_rvalue()
Dlower_named_interface_blocks.cpp228 ir_variable *lhs_var = ir->lhs->variable_referenced(); in visit_leave()
240 ir_variable *lhs_var = lhs_rec_tmp->variable_referenced(); in visit_leave()
259 val->variable_referenced()->data.must_be_shader_input = 1; in visit_leave()
275 ir_variable *var = ir->variable_referenced(); in handle_rvalue()
Dopt_dead_builtin_varyings.cpp87 ir_variable *var = ir->variable_referenced(); in visit_enter()
146 ir_variable *var = ir->variable_referenced(); in visit()
442 if (da && da->variable_referenced() == in handle_rvalue()
456 if (da && da->variable_referenced() == this->info->fragdata_array) { in handle_rvalue()
469 ir_variable *var = dv->variable_referenced(); in handle_rvalue()
Dlower_tess_level.cpp173 if (ir->variable_referenced() == this->old_tess_level_outer_var) in is_tess_level_array()
177 if (ir->variable_referenced() == this->old_tess_level_inner_var) in is_tess_level_array()
204 if (ir->variable_referenced() == this->old_tess_level_outer_var) in lower_tess_level_array()
208 if (ir->variable_referenced() == this->old_tess_level_inner_var) in lower_tess_level_array()
Dir_variable_refcount.cpp107 ir_variable *const var = ir->variable_referenced(); in visit()
132 entry = this->get_variable_entry(ir->lhs->variable_referenced()); in visit_leave()
Dloop_analysis.cpp476 ir_variable *var = ir->variable_referenced(); in visit()
652 ir_variable *var = counter->variable_referenced(); in visit_leave()
788 ir_variable *const var = ir->lhs->variable_referenced(); in get_basic_induction_increment()
790 ir_variable *const op0 = rhs->operands[0]->variable_referenced(); in get_basic_induction_increment()
791 ir_variable *const op1 = rhs->operands[1]->variable_referenced(); in get_basic_induction_increment()
800 ir_variable *const inc_var = inc->variable_referenced(); in get_basic_induction_increment()
Dir.h247 virtual ir_variable *variable_referenced() const in variable_referenced() function
1619 virtual ir_variable *variable_referenced() const;
2035 virtual ir_variable *variable_referenced() const;
2059 virtual ir_variable *variable_referenced() const = 0;
2091 virtual ir_variable *variable_referenced() const in variable_referenced() function
2144 virtual ir_variable *variable_referenced() const in variable_referenced() function
2146 return this->array->variable_referenced(); in variable_referenced()
2189 virtual ir_variable *variable_referenced() const in variable_referenced() function
2191 return this->record->variable_referenced(); in variable_referenced()
Dlower_distance.cpp305 if (ir->variable_referenced() == this->old_distance_out_var) in is_distance_vec8()
314 if (ir->variable_referenced() == this->old_distance_in_var) in is_distance_vec8()
340 if (ir->variable_referenced() == this->old_distance_out_var) in lower_distance_vec8()
344 if (ir->variable_referenced() == this->old_distance_in_var) in lower_distance_vec8()
Dlower_shared_reference.cpp132 ir_variable *var = deref->variable_referenced(); in handle_rvalue()
190 ir_variable *var = ir->lhs->variable_referenced(); in handle_assignment()
361 ir_variable *var = deref->variable_referenced(); in lower_shared_atomic_intrinsic()
450 ir_variable *var = rvalue->variable_referenced(); in check_for_shared_atomic_intrinsic()
Dlower_if_to_cond_assign.cpp140 ir_variable *var = ir->as_dereference_variable()->variable_referenced(); in check_ir_node()
194 set, assign->lhs->variable_referenced()) != NULL; in move_block_to_cond_assign()
Dlower_ubo_reference.cpp343 ir_variable *var = deref->variable_referenced(); in handle_rvalue()
623 ir_variable *var = expr->operands[0]->variable_referenced(); in calculate_ssbo_unsized_array_length()
804 ir_variable *var = ir->lhs->variable_referenced(); in check_for_ssbo_store()
848 ir_variable *rhs_var = ir->rhs->variable_referenced(); in check_for_buffer_array_copy()
896 ir_variable *rhs_var = ir->rhs->variable_referenced(); in check_for_buffer_struct_copy()
978 ir_variable *var = deref->variable_referenced(); in lower_ssbo_atomic_intrinsic()
1078 ir_variable *var = rvalue->variable_referenced(); in check_for_ssbo_atomic_intrinsic()
Dpropagate_invariance.cpp76 ir_variable *var = ir->lhs->variable_referenced(); in visit_enter()
Dopt_flip_matrices.cpp77 ir_variable *mat_var = ir->operands[0]->variable_referenced(); in visit_enter()
Dast_function.cpp277 var = deref_var->variable_referenced(); in verify_parameter_modes()
311 ir_variable *var = actual->variable_referenced(); in verify_parameter_modes()
331 actual->variable_referenced()->name); in verify_parameter_modes()
342 ir_variable *var = actual->variable_referenced(); in verify_parameter_modes()
355 actual->variable_referenced()) { in verify_parameter_modes()
357 actual->variable_referenced())) in verify_parameter_modes()
378 actual->variable_referenced())) { in verify_parameter_modes()
391 actual->variable_referenced())) { in verify_parameter_modes()
414 ir_variable *var = idx->variable_referenced(); in copy_index_derefs_to_temps()
2051 } else if (op->variable_referenced()->is_in_shader_storage_block()) { in handle_method()
Dloop_unroll.cpp121 ir_variable *array = ir->array->variable_referenced(); in visit_enter()
122 loop_variable *lv = ls->get(ir->array_index->variable_referenced()); in visit_enter()
Dlower_mat_op_to_vec.cpp338 deref->variable_referenced() != result->variable_referenced()) { in visit_leave()
Dir_array_refcount.cpp190 ir_variable *const var = ir->variable_referenced(); in visit()
Dopt_rebalance_tree.cpp154 ir_variable *var = ir->lhs->variable_referenced(); in visit_enter()
Dopt_copy_propagation_elements.cpp374 ir_variable *var = ir->lhs->variable_referenced(); in visit_leave()
532 ir_variable *var = ir->variable_referenced(); in visit_enter()
Dir.cpp691 ir_expression::variable_referenced() const in variable_referenced() function in ir_expression
700 return operands[0]->variable_referenced(); in variable_referenced()
702 return ir_rvalue::variable_referenced(); in variable_referenced()
1750 ir_variable *var = this->variable_referenced(); in is_lvalue()
1980 ir_swizzle::variable_referenced() const in variable_referenced() function in ir_swizzle
1982 return this->val->variable_referenced(); in variable_referenced()
/third_party/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp95 EXPECT_EQ(var_c, assign->lhs->variable_referenced()); in TEST_F()
128 EXPECT_EQ(var_c, assign->lhs->variable_referenced()); in TEST_F()
161 EXPECT_EQ(var_c, assign->lhs->variable_referenced()); in TEST_F()
194 EXPECT_EQ(var_c, assign->lhs->variable_referenced()); in TEST_F()
Dlower_int64_test.cpp168 EXPECT_EQ(tmp1, assign1->lhs->variable_referenced()); in check_instructions()
183 EXPECT_EQ(tmp2, assign2->lhs->variable_referenced()); in check_instructions()
187 EXPECT_EQ(tmp1, unpack->operands[0]->variable_referenced()); in check_instructions()
442 EXPECT_EQ(deref->var, assign->lhs->variable_referenced()); in TEST_F()

12