Prediction of Transition for Attached and Separated Shear Layers in Turbomachinery