swift
75f2f88b - Add AddressOwnershipLiveRange

Commit
1 year ago
Add AddressOwnershipLiveRange A live range representing the ownership of addressible memory. This live range represents the minimal guaranteed lifetime of the object being addressed. Uses of derived addresses may be extended up to the ends of this scope without violating ownership. .liveOut objects (@in_guaranteed, @out and globals) have no instruction range. .local objects (alloc_stack, yield, @in, @inout) report the single live range of the full assignment that reaches this address. .owned values (boxes and references) simply report OSSA liveness. .borrow values report each borrow scope's range. The effective live range is their intersection. A valid use must lie within
Author
Committer
Parents
Loading