Lines Matching full:existing
350 ir_variable *const existing = variables.get_variable(var->name);
351 if (existing != NULL) {
352 if (var->type != existing->type) {
359 && existing->type->is_array()
360 && (var->type->fields.array == existing->type->fields.array)
362 || (existing->type->length == 0))) {
363 if (existing->type->length == 0) {
364 existing->type = var->type;
365 existing->max_array_access =
366 MAX2(existing->max_array_access,
374 existing->type->name);
380 if (existing->explicit_location
381 && (var->location != existing->location)) {
388 existing->location = var->location;
389 existing->explicit_location = true;
395 if (existing->constant_value != NULL) {
396 if (!var->constant_value->has_value(existing->constant_value)) {
415 existing->constant_value =
416 var->constant_value->clone(hieralloc_parent(existing), NULL);
419 if (existing->invariant != var->invariant) {
633 ir_variable *const existing =
635 if (existing != NULL)
636 ir->var = existing;