Hoist logic for shared-to-pshared conversion and related operations.