Adds barrier-chain edges from all SUs in map, then clears the map.
This is equivalent to insertBarrierChain(), but optimized for the common case where the new BarrierChain (a global memory object) has a higher NodeNum than all SUs in map. It is assumed BarrierChain has been set before calling this.
| Name | Description |
|---|---|
| map | Map of memory values whose SUnits must order after the barrier. |