What is a good way to shift a function by 90 degrees through hardware?
https://en.wikipedia.org/wiki/Hilbert_transform  shows that sin transforms to -cos, so yes -- you take the negative of the Hilbert transform to transform sin to cos (seems like a long way to go to do what you're trying to do)