/third_party/mesa3d/src/compiler/glsl/ |
D | ast_array_index.cpp | 119 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()
|
D | lower_precision.cpp | 432 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 …]
|
D | opt_constant_variable.cpp | 104 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()
|
D | lower_vector_derefs.cpp | 71 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()
|
D | lower_named_interface_blocks.cpp | 228 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()
|
D | opt_dead_builtin_varyings.cpp | 87 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()
|
D | lower_tess_level.cpp | 173 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()
|
D | ir_variable_refcount.cpp | 107 ir_variable *const var = ir->variable_referenced(); in visit() 132 entry = this->get_variable_entry(ir->lhs->variable_referenced()); in visit_leave()
|
D | loop_analysis.cpp | 476 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()
|
D | ir.h | 247 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()
|
D | lower_distance.cpp | 305 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()
|
D | lower_shared_reference.cpp | 132 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()
|
D | lower_if_to_cond_assign.cpp | 140 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()
|
D | lower_ubo_reference.cpp | 343 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()
|
D | propagate_invariance.cpp | 76 ir_variable *var = ir->lhs->variable_referenced(); in visit_enter()
|
D | opt_flip_matrices.cpp | 77 ir_variable *mat_var = ir->operands[0]->variable_referenced(); in visit_enter()
|
D | ast_function.cpp | 277 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()
|
D | loop_unroll.cpp | 121 ir_variable *array = ir->array->variable_referenced(); in visit_enter() 122 loop_variable *lv = ls->get(ir->array_index->variable_referenced()); in visit_enter()
|
D | lower_mat_op_to_vec.cpp | 338 deref->variable_referenced() != result->variable_referenced()) { in visit_leave()
|
D | ir_array_refcount.cpp | 190 ir_variable *const var = ir->variable_referenced(); in visit()
|
D | opt_rebalance_tree.cpp | 154 ir_variable *var = ir->lhs->variable_referenced(); in visit_enter()
|
D | opt_copy_propagation_elements.cpp | 374 ir_variable *var = ir->lhs->variable_referenced(); in visit_leave() 532 ir_variable *var = ir->variable_referenced(); in visit_enter()
|
D | ir.cpp | 691 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/ |
D | opt_add_neg_to_sub_test.cpp | 95 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()
|
D | lower_int64_test.cpp | 168 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()
|