Introduce TargetMachine.AddAnalysisPasses function