In: Effects/grayscale
The Histogram Shift filter completely shifts the whole range of the image, wrapping around when reaching range limits.
It is used either directly on a fill layer or on a mask (black and white output) to shift the whole range of a specific channel.