• Home
  • Raw
  • Download

Lines Matching refs:ht

41 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const  in clone()
63 var->constant_value = this->constant_value->clone(mem_ctx, ht); in clone()
67 this->constant_initializer->clone(mem_ctx, ht); in clone()
71 if (ht) in clone()
72 _mesa_hash_table_insert(ht, (void *)const_cast<ir_variable *>(this), var); in clone()
78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone()
80 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
84 ir_return::clone(void *mem_ctx, struct hash_table *ht) const in clone()
89 new_value = this->value->clone(mem_ctx, ht); in clone()
95 ir_discard::clone(void *mem_ctx, struct hash_table *ht) const in clone()
100 new_condition = this->condition->clone(mem_ctx, ht); in clone()
106 ir_loop_jump::clone(void *mem_ctx, struct hash_table *ht) const in clone()
108 (void)ht; in clone()
114 ir_if::clone(void *mem_ctx, struct hash_table *ht) const in clone()
116 ir_if *new_if = new(mem_ctx) ir_if(this->condition->clone(mem_ctx, ht)); in clone()
119 new_if->then_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
123 new_if->else_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
130 ir_loop::clone(void *mem_ctx, struct hash_table *ht) const in clone()
135 new_loop->body_instructions.push_tail(ir->clone(mem_ctx, ht)); in clone()
142 ir_call::clone(void *mem_ctx, struct hash_table *ht) const in clone()
146 new_return_ref = this->return_deref->clone(mem_ctx, ht); in clone()
151 new_parameters.push_tail(ir->clone(mem_ctx, ht)); in clone()
158 ir_expression::clone(void *mem_ctx, struct hash_table *ht) const in clone()
164 op[i] = this->operands[i]->clone(mem_ctx, ht); in clone()
172 ir_dereference_variable::clone(void *mem_ctx, struct hash_table *ht) const in clone()
176 if (ht) { in clone()
177 hash_entry *entry = _mesa_hash_table_search(ht, this->var); in clone()
187 ir_dereference_array::clone(void *mem_ctx, struct hash_table *ht) const in clone()
189 return new(mem_ctx) ir_dereference_array(this->array->clone(mem_ctx, ht), in clone()
191 ht)); in clone()
195 ir_dereference_record::clone(void *mem_ctx, struct hash_table *ht) const in clone()
197 return new(mem_ctx) ir_dereference_record(this->record->clone(mem_ctx, ht), in clone()
202 ir_texture::clone(void *mem_ctx, struct hash_table *ht) const in clone()
207 new_tex->sampler = this->sampler->clone(mem_ctx, ht); in clone()
209 new_tex->coordinate = this->coordinate->clone(mem_ctx, ht); in clone()
211 new_tex->projector = this->projector->clone(mem_ctx, ht); in clone()
213 new_tex->shadow_comparator = this->shadow_comparator->clone(mem_ctx, ht); in clone()
217 new_tex->offset = this->offset->clone(mem_ctx, ht); in clone()
227 new_tex->lod_info.bias = this->lod_info.bias->clone(mem_ctx, ht); in clone()
232 new_tex->lod_info.lod = this->lod_info.lod->clone(mem_ctx, ht); in clone()
235 new_tex->lod_info.sample_index = this->lod_info.sample_index->clone(mem_ctx, ht); in clone()
238 new_tex->lod_info.grad.dPdx = this->lod_info.grad.dPdx->clone(mem_ctx, ht); in clone()
239 new_tex->lod_info.grad.dPdy = this->lod_info.grad.dPdy->clone(mem_ctx, ht); in clone()
242 new_tex->lod_info.component = this->lod_info.component->clone(mem_ctx, ht); in clone()
250 ir_assignment::clone(void *mem_ctx, struct hash_table *ht) const in clone()
255 new_condition = this->condition->clone(mem_ctx, ht); in clone()
258 new(mem_ctx) ir_assignment(this->lhs->clone(mem_ctx, ht), in clone()
259 this->rhs->clone(mem_ctx, ht), in clone()
266 ir_function::clone(void *mem_ctx, struct hash_table *ht) const in clone()
278 ir_function_signature *sig_copy = sig->clone(mem_ctx, ht); in clone()
281 if (ht != NULL) { in clone()
282 _mesa_hash_table_insert(ht, in clone()
291 ir_function_signature::clone(void *mem_ctx, struct hash_table *ht) const in clone()
293 ir_function_signature *copy = this->clone_prototype(mem_ctx, ht); in clone()
300 ir_instruction *const inst_copy = inst->clone(mem_ctx, ht); in clone()
308 ir_function_signature::clone_prototype(void *mem_ctx, struct hash_table *ht) const in clone_prototype()
322 ir_variable *const param_copy = param->clone(mem_ctx, ht); in clone_prototype()
330 ir_constant::clone(void *mem_ctx, struct hash_table *ht) const in clone()
332 (void)ht; in clone()
386 fixup_ir_call_visitor(struct hash_table *ht) in fixup_ir_call_visitor() argument
388 this->ht = ht; in fixup_ir_call_visitor()
397 hash_entry *entry = _mesa_hash_table_search(this->ht, ir->callee); in visit_enter()
411 struct hash_table *ht; member in fixup_ir_call_visitor
416 fixup_function_calls(struct hash_table *ht, exec_list *instructions) in fixup_function_calls() argument
418 fixup_ir_call_visitor v(ht); in fixup_function_calls()
426 struct hash_table *ht = in clone_ir_list() local
430 ir_instruction *copy = original->clone(mem_ctx, ht); in clone_ir_list()
440 fixup_function_calls(ht, out); in clone_ir_list()
442 _mesa_hash_table_destroy(ht, NULL); in clone_ir_list()