Displaying 3 results from an estimated 3 matches for "functionanalysismanagermoduleproxy".
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
Dear all,
I would like to use the PostDominatorTree in ArgPromotion. I did not find an example of how to use function level analysis inside CallGraphSCCPass. I tried to follow an example of how to use function-level pass in a module pass, but I hit "llvm_unreachable" in PMDataManager::addLowerLevelRequiredPass.
What would be a proper way to make PostDominatorTree available in
2020 Jan 07
2
Let CallGraphSCCPass Use Function-Level Analysis
...k what you are planning to do?
Cheers,
Johannes
On 01/07, Brian Gesiak via llvm-dev wrote:
> Hello! The new pass manager provides analysis proxies from one IR unit
> type to another. These are specializations of
> 'llvm::InnerAnalysisManagerProxy'. For example,
> 'llvm::FunctionAnalysisManagerModuleProxy' allows you to access
> function analyses from within module passes.
>
> In your case, it sounds like you'd want to use
> 'llvm::FunctionAnalysisManagerCGSCCProxy', which allows you to access
> function analyses from within an CGSCC pass. Here's an example of
>...
2014 Jun 18
2
[LLVMdev] PM: High-level review of the new Pass Manager (so far)
..., which was
runOnIRUnit: IRUnit* -> bool.
- PassManagers interoperate via adaptors. E.g.,
ModuleToFunctionPassAdaptor is a module transformation pass that
contains a FunctionPassManager (with some set of function passes).
- AnalysisManagers interoperate via proxies. E.g.,
FunctionAnalysisManagerModuleProxy is a module analysis pass that
forwards to a FunctionAnalysisManager.
- LazyCallGraph and ModuleToPostOrderCGSCCPassAdaptor collude to visit
SCCs in post-order, including API for updating the SCC-graph
on-the-fly without invalidating the traversal.
I think what's done generally...