Getting optimization level in getAnalysisUsage()

Hi,

Is it possible to access the optimization level in getAnalysisUsage() on a machine function pass?

Once the pass is running, it is available through getAnalysis<MachineFunctionAnalysis>().getOptLevel(). That doesn't work during getAnalysisUsage(), though.

/jakob