They overhauled the pass manager classes for 3.4. For now, the old ones are still operational, but have been moved to the "legacy" namespace.