Home
last modified time | relevance | path

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

12

/external/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()
1062 assert(_mesa_set_search(lower_vars, ir->variable_referenced())); in fix_types_in_deref_chain()
1113 ir_variable *var = lhs->variable_referenced(); in visit_enter()
1115 ir_variable *rhs_var = rhs_deref ? rhs_deref->variable_referenced() : NULL; in visit_enter()
1197 ir_variable *var = deref->variable_referenced(); in visit_enter()
1242 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.cpp223 ir_variable *lhs_var = ir->lhs->variable_referenced(); in visit_leave()
235 ir_variable *lhs_var = lhs_rec_tmp->variable_referenced(); in visit_leave()
254 val->variable_referenced()->data.must_be_shader_input = 1; in visit_leave()
270 ir_variable *var = ir->variable_referenced(); in handle_rvalue()
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()
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()
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()
Dloop_analysis.cpp470 ir_variable *var = ir->variable_referenced(); in visit()
646 ir_variable *var = counter->variable_referenced(); in visit_leave()
782 ir_variable *const var = ir->lhs->variable_referenced(); in get_basic_induction_increment()
784 ir_variable *const op0 = rhs->operands[0]->variable_referenced(); in get_basic_induction_increment()
785 ir_variable *const op1 = rhs->operands[1]->variable_referenced(); in get_basic_induction_increment()
794 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
1613 virtual ir_variable *variable_referenced() const;
2029 virtual ir_variable *variable_referenced() const;
2053 virtual ir_variable *variable_referenced() const = 0;
2085 virtual ir_variable *variable_referenced() const in variable_referenced() function
2138 virtual ir_variable *variable_referenced() const in variable_referenced() function
2140 return this->array->variable_referenced(); in variable_referenced()
2183 virtual ir_variable *variable_referenced() const in variable_referenced() function
2185 return this->record->variable_referenced(); in variable_referenced()
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_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_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()
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()
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()
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.cpp690 ir_expression::variable_referenced() const in variable_referenced() function in ir_expression
699 return operands[0]->variable_referenced(); in variable_referenced()
701 return ir_rvalue::variable_referenced(); in variable_referenced()
1749 ir_variable *var = this->variable_referenced(); in is_lvalue()
1979 ir_swizzle::variable_referenced() const in variable_referenced() function in ir_swizzle
1981 return this->val->variable_referenced(); in variable_referenced()
/external/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