Home
last modified time | relevance | path

Searched refs:variable_referenced (Results 1 – 25 of 28) 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()
580 ir_variable *var = ir->return_deref->variable_referenced(); in visit_leave()
611 ir_variable *var = ir->lhs->variable_referenced(); in visit_leave()
881 ir->return_deref ? ir->return_deref->variable_referenced() : NULL; in visit_enter()
1076 assert(_mesa_set_search(lower_vars, ir->variable_referenced())); in fix_types_in_deref_chain()
1127 ir_variable *var = lhs->variable_referenced(); in visit_enter()
1129 ir_variable *rhs_var = rhs_deref ? rhs_deref->variable_referenced() : NULL; in visit_enter()
1211 ir_variable *var = deref->variable_referenced(); in visit_enter()
1256 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()
155 ir_variable *var = param_rval->variable_referenced(); in visit_enter()
175 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()
182 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()
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()
Dir.h243 virtual ir_variable *variable_referenced() const in variable_referenced() function
1609 virtual ir_variable *variable_referenced() const;
2033 virtual ir_variable *variable_referenced() const;
2057 virtual ir_variable *variable_referenced() const = 0;
2089 virtual ir_variable *variable_referenced() const in variable_referenced() function
2142 virtual ir_variable *variable_referenced() const in variable_referenced() function
2144 return this->array->variable_referenced(); in variable_referenced()
2187 virtual ir_variable *variable_referenced() const in variable_referenced() function
2189 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()
Dpropagate_invariance.cpp76 ir_variable *var = ir->lhs->variable_referenced(); in visit_enter()
Dast_function.cpp278 var = deref_var->variable_referenced(); in verify_parameter_modes()
312 ir_variable *var = actual->variable_referenced(); in verify_parameter_modes()
332 actual->variable_referenced()->name); in verify_parameter_modes()
343 ir_variable *var = actual->variable_referenced(); in verify_parameter_modes()
356 actual->variable_referenced()) { in verify_parameter_modes()
358 actual->variable_referenced())) in verify_parameter_modes()
379 actual->variable_referenced())) { in verify_parameter_modes()
392 actual->variable_referenced())) { in verify_parameter_modes()
415 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()
Dopt_flip_matrices.cpp77 ir_variable *mat_var = ir->operands[0]->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.cpp682 ir_expression::variable_referenced() const in variable_referenced() function in ir_expression
691 return operands[0]->variable_referenced(); in variable_referenced()
693 return ir_rvalue::variable_referenced(); in variable_referenced()
1741 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()
Dopt_dead_code_local.cpp193 var = ir->lhs->variable_referenced(); in process_assignment()
Dopt_tree_grafting.cpp186 return check_graft(ir, ir->lhs->variable_referenced()); in visit_leave()
Dopt_structure_splitting.cpp136 ir_variable *const var = ir->variable_referenced(); in visit()
Dopt_constant_propagation.cpp306 kill(ir->lhs->variable_referenced(), kill_mask); in visit_leave()
Dglsl_to_nir.cpp1728 b.exact = ir->lhs->variable_referenced()->data.invariant || in visit()
1729 ir->lhs->variable_referenced()->data.precise; in visit()
2639 if (ir->variable_referenced()->data.mode == ir_var_function_out) { in visit()
2643 if (param == ir->variable_referenced()) { in visit()
2654 assert(ir->variable_referenced()->data.mode != ir_var_function_inout); in visit()
Dir_print_visitor.cpp418 ir_variable *var = ir->variable_referenced(); in visit()
/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.cpp167 EXPECT_EQ(tmp1, assign1->lhs->variable_referenced()); in check_instructions()
182 EXPECT_EQ(tmp2, assign2->lhs->variable_referenced()); in check_instructions()
186 EXPECT_EQ(tmp1, unpack->operands[0]->variable_referenced()); in check_instructions()
441 EXPECT_EQ(deref->var, assign->lhs->variable_referenced()); in TEST_F()

12