LLVM  3.7.0
Classes | Public Member Functions | Static Public Member Functions | List of all members
llvm::CGSCCAnalysisManagerFunctionProxy Class Reference

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

#include <CGSCCPassManager.h>

Classes

class  Result
 Result proxy object for ModuleAnalysisManagerFunctionProxy. More...
 

Public Member Functions

 CGSCCAnalysisManagerFunctionProxy (const CGSCCAnalysisManager &CGAM)
 
 CGSCCAnalysisManagerFunctionProxy (const CGSCCAnalysisManagerFunctionProxy &Arg)
 
 CGSCCAnalysisManagerFunctionProxy (CGSCCAnalysisManagerFunctionProxy &&Arg)
 
CGSCCAnalysisManagerFunctionProxyoperator= (CGSCCAnalysisManagerFunctionProxy RHS)
 
Result run (Function &)
 Run the analysis pass and create our proxy result object. More...
 

Static Public Member Functions

static void * ID ()
 
static StringRef name ()
 

Detailed Description

A function analysis which acts as a proxy for a CGSCC analysis manager.

This primarily provides an accessor to a parent CGSCC analysis manager to function passes. Only the const interface of the CGSCC analysis manager is provided to indicate that once inside of a function analysis pass you cannot request a CGSCC 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 359 of file CGSCCPassManager.h.

Constructor & Destructor Documentation

llvm::CGSCCAnalysisManagerFunctionProxy::CGSCCAnalysisManagerFunctionProxy ( const CGSCCAnalysisManager CGAM)
inline

Definition at line 387 of file CGSCCPassManager.h.

llvm::CGSCCAnalysisManagerFunctionProxy::CGSCCAnalysisManagerFunctionProxy ( const CGSCCAnalysisManagerFunctionProxy Arg)
inline

Definition at line 391 of file CGSCCPassManager.h.

llvm::CGSCCAnalysisManagerFunctionProxy::CGSCCAnalysisManagerFunctionProxy ( CGSCCAnalysisManagerFunctionProxy &&  Arg)
inline

Definition at line 394 of file CGSCCPassManager.h.

Member Function Documentation

static void* llvm::CGSCCAnalysisManagerFunctionProxy::ID ( )
inlinestatic

Definition at line 383 of file CGSCCPassManager.h.

static StringRef llvm::CGSCCAnalysisManagerFunctionProxy::name ( )
inlinestatic

Definition at line 385 of file CGSCCPassManager.h.

CGSCCAnalysisManagerFunctionProxy& llvm::CGSCCAnalysisManagerFunctionProxy::operator= ( CGSCCAnalysisManagerFunctionProxy  RHS)
inline

Definition at line 397 of file CGSCCPassManager.h.

References std::swap().

Result llvm::CGSCCAnalysisManagerFunctionProxy::run ( Function )
inline

Run the analysis pass and create our proxy result object.

Nothing to see here, it just forwards the CGAM reference into the result.

Definition at line 405 of file CGSCCPassManager.h.


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