/external/mesa3d/src/glsl/ |
ir_builder.h | 30 * take either an ir_rvalue * or an ir_variable * to be automatically 34 * that you passed an ir_variable, and silently call the 35 * operand(ir_variable *var) constructor behind your back. 44 operand(ir_variable *var) 64 deref(ir_variable *var) 77 ir_variable *make_temp(const glsl_type *type, const char *name);
|
ir_variable_refcount.h | 39 ir_variable_refcount_entry(ir_variable *var); 41 ir_variable *var; /* The key: the variable's pointer. */ 66 virtual ir_visitor_status visit(ir_variable *); 72 ir_variable_refcount_entry *get_variable_entry(ir_variable *var);
|
lower_output_reads.cpp | 43 * A hash table mapping from the original ir_variable shader outputs 69 const ir_variable * var = static_cast<const ir_variable *>(key); 92 ir_variable *temp = (ir_variable *) hash_table_find(replacements, ir->var); 97 temp = new(var_ctx) ir_variable(ir->var->type, ir->var->name, 112 copy(void *ctx, ir_variable *output, ir_variable *temp) 124 ir->insert_before(copy(ir, (ir_variable *) key, (ir_variable *) data)) [all...] |
opt_copy_propagation.cpp | 46 acp_entry(ir_variable *lhs, ir_variable *rhs) 54 ir_variable *lhs; 55 ir_variable *rhs; 62 kill_entry(ir_variable *var) 68 ir_variable *var; 94 void kill(ir_variable *ir); 168 ir_variable *var = ir->var; 190 ir_variable *sig_param = (ir_variable *)sig_param_iter.get() [all...] |
opt_function_inlining.cpp | 39 ir_variable *sampler, 102 ir_variable **parameters; 113 parameters = new ir_variable *[num_parameters]; 122 ir_variable *sig_param = (ir_variable *) sig_param_iter.get(); 179 ir_variable *sig_param = (ir_variable *) sig_param_iter.get(); 202 const ir_variable *const sig_param = (ir_variable *) sig_param_iter.get(); 281 ir_sampler_replacement_visitor(ir_variable *sampler, ir_dereference *deref [all...] |
opt_structure_splitting.cpp | 52 variable_entry2(ir_variable *var) 61 ir_variable *var; /* The key: the variable's pointer. */ 72 ir_variable **components; 92 virtual ir_visitor_status visit(ir_variable *); 98 variable_entry2 *get_variable_entry2(ir_variable *var); 107 ir_structure_reference_visitor::get_variable_entry2(ir_variable *var) 127 ir_structure_reference_visitor::visit(ir_variable *ir) 140 ir_variable *const var = ir->variable_referenced(); 203 variable_entry2 *get_splitting_entry(ir_variable *var); 209 ir_structure_splitting_visitor::get_splitting_entry(ir_variable *var [all...] |
ir_print_visitor.h | 58 virtual void visit(ir_variable *); 79 * Fetch/generate a unique name for ir_variable. 84 const char *unique_name(ir_variable *var); 86 /** A mapping from ir_variable * -> unique printable names. */
|
ir_variable_refcount.cpp | 39 ir_variable_refcount_entry::ir_variable_refcount_entry(ir_variable *var) 50 ir_variable_refcount_visitor::get_variable_entry(ir_variable *var) 67 ir_variable_refcount_visitor::visit(ir_variable *ir) 80 ir_variable *const var = ir->variable_referenced();
|
opt_constant_variable.cpp | 45 ir_variable *var; 53 virtual ir_visitor_status visit(ir_variable *); 63 get_assignment_entry(ir_variable *var, exec_list *list) 79 ir_constant_variable_visitor::visit(ir_variable *ir) 114 ir_variable *var = ir->whole_variable_written(); 138 ir_variable *param = (ir_variable *)sig_iter.get(); 142 ir_variable *var = param_rval->variable_referenced(); 154 ir_variable *var = ir->return_deref->variable_referenced();
|
opt_array_splitting.cpp | 49 variable_entry(ir_variable *var) 62 ir_variable *var; /* The key: the variable's pointer. */ 74 ir_variable **components; 103 virtual ir_visitor_status visit(ir_variable *); 108 variable_entry *get_variable_entry(ir_variable *var); 117 ir_array_reference_visitor::get_variable_entry(ir_variable *var) 147 ir_array_reference_visitor::visit(ir_variable *ir) 213 ir_variable *var = ((ir_instruction *)node)->as_variable(); 259 variable_entry *get_splitting_entry(ir_variable *var); 265 ir_array_splitting_visitor::get_splitting_entry(ir_variable *var [all...] |
lower_variable_index_to_cond_assign.cpp | 62 * \param index \c ir_variable containing the desired index 73 compare_index_block(exec_list *instructions, ir_variable *index, 106 ir_variable *const condition = 107 new(mem_ctx) ir_variable(condition_val->type, 133 deref_replacer(const ir_variable *variable_to_replace, ir_rvalue *value) 151 const ir_variable *variable_to_replace; 188 ir_variable *old_index; 191 ir_variable* var; 231 ir_variable* index; 237 switch_generator(const TFunction& generator, ir_variable *index [all...] |
lower_discard_flow.cpp | 53 lower_discard_flow_visitor(ir_variable *discarded) 70 ir_variable *discarded; 135 ir_variable *var = new(mem_ctx) ir_variable(glsl_type::bool_type,
|
ir_clone.cpp | 44 ir_variable * 45 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const 47 ir_variable *var = new(mem_ctx) ir_variable(this->type, this->name, 85 hash_table_insert(ht, var, (void *)const_cast<ir_variable *>(this)); 201 ir_variable *new_var; 204 new_var = (ir_variable *)hash_table_find(ht, this->var); 333 const ir_variable *const param = (const ir_variable *) node; 335 assert(const_cast<ir_variable *>(param)->as_variable() != NULL) [all...] |
ir_function.cpp | 61 const ir_variable *const param = (ir_variable *) node_a; 189 ir_variable *a = (ir_variable *) node_a; 190 ir_variable *b = (ir_variable *) node_b;
|
lower_clip_distance.cpp | 59 virtual ir_visitor_status visit(ir_variable *); 71 ir_variable *old_clip_distance_var; 76 ir_variable *new_clip_distance_var; 85 lower_clip_distance_visitor::visit(ir_variable *ir) 152 ir_variable *old_index_var = new(ctx) ir_variable( 282 ir_variable *formal_param = (ir_variable *) formal_param_node; 298 ir_variable *temp_clip_distance = new(ctx) ir_variable( [all...] |
opt_tree_grafting.cpp | 64 ir_variable *graft_var) 81 ir_visitor_status check_graft(ir_instruction *ir, ir_variable *var); 86 ir_variable *graft_var; 91 ir_variable *var; 106 dereferences_variable(ir_instruction *ir, ir_variable *var) 163 ir_tree_grafting_visitor::check_graft(ir_instruction *ir, ir_variable *var) 210 ir_variable *sig_param = (ir_variable *)sig_iter.get(); 304 ir_variable *lhs_var, 349 ir_variable *lhs_var = assign->whole_variable_written() [all...] |
lower_ubo_reference.cpp | 52 void emit_ubo_loads(ir_dereference *deref, ir_variable *base_offset, 80 ir_variable *var = deref->variable_referenced(); 166 ir_variable *load_var = new(mem_ctx) ir_variable(type, 171 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, 206 ir_variable *base_offset,
|
ir_set_program_inouts.cpp | 67 virtual ir_visitor_status visit(ir_variable *); 75 mark(struct gl_program *prog, ir_variable *var, int offset, int len, 130 ir_variable *var = NULL; 134 var = (ir_variable *)hash_table_find(this->ht, deref_var->var); 153 ir_set_program_inouts_visitor::visit(ir_variable *ir)
|
ir_builder.cpp | 37 ir_variable * 40 ir_variable *var; 42 var = new(mem_ctx) ir_variable(type, name, ir_var_temporary);
|
lower_vec_index_to_cond_assign.cpp | 72 ir_variable *index, *var; 90 index = new(base_ir) ir_variable(glsl_type::int_type, 99 var = new(base_ir) ir_variable(ir->type, "vec_index_tmp_v", 164 ir_variable *index, *var; 188 index = new(ir) ir_variable(glsl_type::int_type, "vec_index_tmp_i", 196 var = new(ir) ir_variable(ir->rhs->type, "vec_index_tmp_v",
|
ir_expression_flattening.cpp | 72 ir_variable *var; 81 var = new(ctx) ir_variable(ir->type, "flattening_tmp", ir_var_temporary);
|
ir_visitor.h | 48 virtual void visit(class ir_variable *) = 0; 73 virtual void visit(class ir_variable *) {}
|
lower_texture_projection.cpp | 60 ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_lower_texture_gradients.cpp | 47 void emit(ir_variable *, ir_rvalue *); 54 lower_texture_grad_visitor::emit(ir_variable *var, ir_rvalue *value) 104 ir_variable *size = 105 new(mem_ctx) ir_variable(grad_type, "size", ir_var_temporary); 119 ir_variable *dPdx = 120 new(mem_ctx) ir_variable(grad_type, "dPdx", ir_var_temporary); 123 ir_variable *dPdy = 124 new(mem_ctx) ir_variable(grad_type, "dPdy", ir_var_temporary);
|
brw_fs_vector_splitting.cpp | 55 variable_entry(ir_variable *var) 63 ir_variable *var; /* The key: the variable's pointer. */ 70 ir_variable *components[4]; 89 virtual ir_visitor_status visit(ir_variable *); 95 variable_entry *get_variable_entry(ir_variable *var); 104 ir_vector_reference_visitor::get_variable_entry(ir_variable *var) 138 ir_vector_reference_visitor::visit(ir_variable *ir) 151 ir_variable *const var = ir->var; 212 variable_entry *get_splitting_entry(ir_variable *var); 218 ir_vector_splitting_visitor::get_splitting_entry(ir_variable *var [all...] |