LLVM API Documentation

Classes | Public Member Functions | Static Public Member Functions
llvm::ModuleAnalysisManagerCGSCCProxy Class Reference

A CGSCC analysis which acts as a proxy for a module analysis manager. More...

#include <CGSCCPassManager.h>

List of all members.

Classes

class  Result
 Result proxy object for ModuleAnalysisManagerCGSCCProxy. More...

Public Member Functions

 ModuleAnalysisManagerCGSCCProxy (const ModuleAnalysisManager &MAM)
 ModuleAnalysisManagerCGSCCProxy (const ModuleAnalysisManagerCGSCCProxy &Arg)
 ModuleAnalysisManagerCGSCCProxy (ModuleAnalysisManagerCGSCCProxy &&Arg)
ModuleAnalysisManagerCGSCCProxyoperator= (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 ()

Detailed Description

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.


Constructor & Destructor Documentation

Definition at line 268 of file CGSCCPassManager.h.

Definition at line 272 of file CGSCCPassManager.h.

Definition at line 275 of file CGSCCPassManager.h.


Member Function Documentation

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().

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.


The documentation for this class was generated from the following files: