Lines Matching defs:existing
353 ir_variable *const existing = variables.get_variable(var->name);
354 if (existing != NULL) {
355 if (var->type != existing->type) {
362 && existing->type->is_array()
363 && (var->type->fields.array == existing->type->fields.array)
365 || (existing->type->length == 0))) {
366 if (existing->type->length == 0) {
367 existing->type = var->type;
368 existing->max_array_access =
369 MAX2(existing->max_array_access,
377 existing->type->name);
383 if (existing->explicit_location
384 && (var->location != existing->location)) {
391 existing->location = var->location;
392 existing->explicit_location = true;
398 if (existing->constant_value != NULL) {
399 if (!var->constant_value->has_value(existing->constant_value)) {
418 existing->constant_value =
419 var->constant_value->clone(hieralloc_parent(existing), NULL);
422 if (existing->invariant != var->invariant) {
637 ir_variable *const existing =
639 if (existing != NULL)
640 ir->var = existing;