LLVM API Documentation

Public Member Functions | Static Public Member Functions | Friends
llvm::CGSCCToFunctionPassAdaptor< FunctionPassT > Class Template Reference

Adaptor that maps from a SCC to its functions. More...

#include <CGSCCPassManager.h>

List of all members.

Public Member Functions

 CGSCCToFunctionPassAdaptor (FunctionPassT Pass)
 CGSCCToFunctionPassAdaptor (const CGSCCToFunctionPassAdaptor &Arg)
 CGSCCToFunctionPassAdaptor (CGSCCToFunctionPassAdaptor &&Arg)
CGSCCToFunctionPassAdaptoroperator= (CGSCCToFunctionPassAdaptor RHS)
PreservedAnalyses run (LazyCallGraph::SCC *C, CGSCCAnalysisManager *AM)
 Runs the function pass across every function in the module.

Static Public Member Functions

static StringRef name ()

Friends

void swap (CGSCCToFunctionPassAdaptor &LHS, CGSCCToFunctionPassAdaptor &RHS)

Detailed Description

template<typename FunctionPassT>
class llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >

Adaptor that maps from a SCC to its functions.

Designed to allow composition of a FunctionPass(Manager) and a CGSCCPassManager. Note that if this pass is constructed with a pointer to a CGSCCAnalysisManager it will run the FunctionAnalysisManagerCGSCCProxy analysis prior to running the function pass over the SCC to enable a FunctionAnalysisManager to be used within this run safely.

Definition at line 524 of file CGSCCPassManager.h.


Constructor & Destructor Documentation

template<typename FunctionPassT >
llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::CGSCCToFunctionPassAdaptor ( FunctionPassT  Pass) [inline, explicit]

Definition at line 526 of file CGSCCPassManager.h.

template<typename FunctionPassT >
llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::CGSCCToFunctionPassAdaptor ( const CGSCCToFunctionPassAdaptor< FunctionPassT > &  Arg) [inline]

Definition at line 530 of file CGSCCPassManager.h.

template<typename FunctionPassT >
llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::CGSCCToFunctionPassAdaptor ( CGSCCToFunctionPassAdaptor< FunctionPassT > &&  Arg) [inline]

Definition at line 532 of file CGSCCPassManager.h.


Member Function Documentation

template<typename FunctionPassT >
static StringRef llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::name ( ) [inline, static]

Definition at line 575 of file CGSCCPassManager.h.

template<typename FunctionPassT >
CGSCCToFunctionPassAdaptor& llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::operator= ( CGSCCToFunctionPassAdaptor< FunctionPassT >  RHS) [inline]

Definition at line 538 of file CGSCCPassManager.h.

References std::swap().

template<typename FunctionPassT >
PreservedAnalyses llvm::CGSCCToFunctionPassAdaptor< FunctionPassT >::run ( LazyCallGraph::SCC C,
CGSCCAnalysisManager AM 
) [inline]

Friends And Related Function Documentation

template<typename FunctionPassT >
void swap ( CGSCCToFunctionPassAdaptor< FunctionPassT > &  LHS,
CGSCCToFunctionPassAdaptor< FunctionPassT > &  RHS 
) [friend]

Definition at line 534 of file CGSCCPassManager.h.


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