LLVM  8.0.1
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 &&...)
 

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 575 of file PassManager.h.

Member Typedef Documentation

◆ Result

Definition at line 588 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 585 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 591 of file PassManager.h.


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