LLVM API Documentation
A function analysis which acts as a proxy for a module analysis manager. More...
#include <PassManager.h>
Classes | |
class | Result |
Result proxy object for ModuleAnalysisManagerFunctionProxy . More... | |
Public Member Functions | |
ModuleAnalysisManagerFunctionProxy (const ModuleAnalysisManager &MAM) | |
ModuleAnalysisManagerFunctionProxy (const ModuleAnalysisManagerFunctionProxy &Arg) | |
ModuleAnalysisManagerFunctionProxy (ModuleAnalysisManagerFunctionProxy &&Arg) | |
ModuleAnalysisManagerFunctionProxy & | operator= (ModuleAnalysisManagerFunctionProxy RHS) |
Result | run (Function *) |
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 function analysis which acts as a proxy for a module analysis manager.
This primarily provides an accessor to a parent module analysis manager to function passes. Only the const interface of the module analysis manager is provided to indicate that once inside of a function 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 905 of file IR/PassManager.h.
llvm::ModuleAnalysisManagerFunctionProxy::ModuleAnalysisManagerFunctionProxy | ( | const ModuleAnalysisManager & | MAM | ) | [inline] |
Definition at line 931 of file IR/PassManager.h.
llvm::ModuleAnalysisManagerFunctionProxy::ModuleAnalysisManagerFunctionProxy | ( | const ModuleAnalysisManagerFunctionProxy & | Arg | ) | [inline] |
Definition at line 935 of file IR/PassManager.h.
llvm::ModuleAnalysisManagerFunctionProxy::ModuleAnalysisManagerFunctionProxy | ( | ModuleAnalysisManagerFunctionProxy && | Arg | ) | [inline] |
Definition at line 938 of file IR/PassManager.h.
static void* llvm::ModuleAnalysisManagerFunctionProxy::ID | ( | ) | [inline, static] |
Definition at line 929 of file IR/PassManager.h.
ModuleAnalysisManagerFunctionProxy& llvm::ModuleAnalysisManagerFunctionProxy::operator= | ( | ModuleAnalysisManagerFunctionProxy | RHS | ) | [inline] |
Definition at line 941 of file IR/PassManager.h.
References std::swap().
Result llvm::ModuleAnalysisManagerFunctionProxy::run | ( | Function * | ) | [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 949 of file IR/PassManager.h.