LLVM API Documentation
A CGSCC analysis which acts as a proxy for a module analysis manager. More...
#include <CGSCCPassManager.h>
Classes | |
class | Result |
Result proxy object for ModuleAnalysisManagerCGSCCProxy . More... | |
Public Member Functions | |
ModuleAnalysisManagerCGSCCProxy (const ModuleAnalysisManager &MAM) | |
ModuleAnalysisManagerCGSCCProxy (const ModuleAnalysisManagerCGSCCProxy &Arg) | |
ModuleAnalysisManagerCGSCCProxy (ModuleAnalysisManagerCGSCCProxy &&Arg) | |
ModuleAnalysisManagerCGSCCProxy & | operator= (ModuleAnalysisManagerCGSCCProxy RHS) |
Result | run (LazyCallGraph::SCC *) |
Run the analysis pass and create our proxy result object. Nothing to see here, it just forwards the MAM reference into the result. | |
Static Public Member Functions | |
static void * | ID () |
A CGSCC analysis which acts as a proxy for a module analysis manager.
This primarily provides an accessor to a parent module analysis manager to CGSCC passes. Only the const interface of the module analysis manager is provided to indicate that once inside of a CGSCC analysis pass you cannot request a module analysis to actually run. Instead, the user must rely on the getCachedResult
API.
This proxy *doesn't* manage the invalidation in any way. That is handled by the recursive return path of each layer of the pass manager and the returned PreservedAnalysis set.
Definition at line 242 of file CGSCCPassManager.h.
llvm::ModuleAnalysisManagerCGSCCProxy::ModuleAnalysisManagerCGSCCProxy | ( | const ModuleAnalysisManager & | MAM | ) | [inline] |
Definition at line 268 of file CGSCCPassManager.h.
llvm::ModuleAnalysisManagerCGSCCProxy::ModuleAnalysisManagerCGSCCProxy | ( | const ModuleAnalysisManagerCGSCCProxy & | Arg | ) | [inline] |
Definition at line 272 of file CGSCCPassManager.h.
llvm::ModuleAnalysisManagerCGSCCProxy::ModuleAnalysisManagerCGSCCProxy | ( | ModuleAnalysisManagerCGSCCProxy && | Arg | ) | [inline] |
Definition at line 275 of file CGSCCPassManager.h.
static void* llvm::ModuleAnalysisManagerCGSCCProxy::ID | ( | ) | [inline, static] |
Definition at line 266 of file CGSCCPassManager.h.
ModuleAnalysisManagerCGSCCProxy& llvm::ModuleAnalysisManagerCGSCCProxy::operator= | ( | ModuleAnalysisManagerCGSCCProxy | RHS | ) | [inline] |
Definition at line 278 of file CGSCCPassManager.h.
References std::swap().
Result llvm::ModuleAnalysisManagerCGSCCProxy::run | ( | LazyCallGraph::SCC * | ) | [inline] |
Run the analysis pass and create our proxy result object. Nothing to see here, it just forwards the MAM
reference into the result.
Definition at line 286 of file CGSCCPassManager.h.