search for: nonpassmodul

Displaying 1 result from an estimated 1 matches for "nonpassmodul".

Did you mean: nonpassmodule
2009 Oct 07
1
[LLVMdev] Use LoopInfo in a non-pass class such as ProfileInfoLoader?
Hi everyone, I'm adding loop profiling to LLVM built-in profiler. I'm just wondering in a class that's not a pass, such as ProfileInfoLoader, how can I get information produced by passes such as LoopInfo and DominatorTree? In other words, ProfileInfoLoader is not a pass, so it can't call AnalysisUsage::addRequired and AnalysisUsage::getAnalysisUsage directly. Then how can it know