A command buffer whose functions reach memory through loaded addresses
(reaches_unnamed) compares every copied host buffer at its commit, also
those no use of it names. Step 3 of the read twins would let such a
command buffer's resident set list each buffer's read twin in its place
where no function may store through an address (writes_unnamed false)
and every use was noted, so its copy in could skip those copies. This
counts what that would spare, before building it.
CopiesReached::reached_unnamed keeps the uses' keys beside "all", so
the copy in tells the copies only the unnamed reach took. WorkCounts
gains copied_unnamed_reach_copy_ins and _bytes_compared (any such reach)
and copied_unnamed_reach_twin_copy_ins and _twin_bytes_compared (reads
only, every use noted, the copy unnamed and twinned). A copy is twinned
from its read twin's making until its buffer lies elsewhere
(HostCell::replace).
Tests: copied::a_reach_of_unnamed_memory_counts_the_copies_it_alone_compares
(the split on plain memory: named, unnamed, twinned, reads only or not,
unnoted) and, on a device,
read_twin_device::a_kernel_reaching_a_private_bit_buffer_unnamed_compares_its_copy_for_that_alone
(ob2_loaded_pointer: one unnamed copy in, no twinned one, pages kept).