LLVM  14.0.0git
Public Types | Public Member Functions | List of all members
llvm::PassInstrumentationAnalysis Class Reference

Pseudo-analysis pass that exposes the PassInstrumentation to pass managers. More...

#include "llvm/IR/PassManager.h"

Inheritance diagram for llvm::PassInstrumentationAnalysis:
Inheritance graph
[legend]
Collaboration diagram for llvm::PassInstrumentationAnalysis:
Collaboration graph
[legend]

Public Types

using Result = PassInstrumentation
 

Public Member Functions

 PassInstrumentationAnalysis (PassInstrumentationCallbacks *Callbacks=nullptr)
 PassInstrumentationCallbacks object is shared, owned by something else, not this analysis. More...
 
template<typename IRUnitT , typename AnalysisManagerT , typename... ExtraArgTs>
Result run (IRUnitT &, AnalysisManagerT &, ExtraArgTs &&...)
 
- Public Member Functions inherited from llvm::PassInfoMixin< PassInstrumentationAnalysis >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AnalysisInfoMixin< PassInstrumentationAnalysis >
static AnalysisKeyID ()
 Returns an opaque, unique ID for this analysis type. More...
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< PassInstrumentationAnalysis >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed Description

Pseudo-analysis pass that exposes the PassInstrumentation to pass managers.

Goes before AnalysisManager definition to provide its internals (e.g PassInstrumentationAnalysis::ID) for use there if needed. FIXME: figure out a way to move PassInstrumentationAnalysis into its own header.

Definition at line 603 of file PassManager.h.

Member Typedef Documentation

◆ Result

Definition at line 616 of file PassManager.h.

Constructor & Destructor Documentation

◆ PassInstrumentationAnalysis()

llvm::PassInstrumentationAnalysis::PassInstrumentationAnalysis ( PassInstrumentationCallbacks Callbacks = nullptr)
inline

PassInstrumentationCallbacks object is shared, owned by something else, not this analysis.

Definition at line 613 of file PassManager.h.

Member Function Documentation

◆ run()

template<typename IRUnitT , typename AnalysisManagerT , typename... ExtraArgTs>
Result llvm::PassInstrumentationAnalysis::run ( IRUnitT &  ,
AnalysisManagerT &  ,
ExtraArgTs &&  ... 
)
inline

Definition at line 619 of file PassManager.h.


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