LLVM 19.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]

Public Types

using Result = PassInstrumentation
 

Public Member Functions

 PassInstrumentationAnalysis (PassInstrumentationCallbacks *Callbacks=nullptr)
 PassInstrumentationCallbacks object is shared, owned by something else, not this analysis.
 
template<typename IRUnitT , typename AnalysisManagerT , typename... ExtraArgTs>
Result run (IRUnitT &, AnalysisManagerT &, ExtraArgTs &&...)
 
- Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
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.
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

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

Member Typedef Documentation

◆ Result

Definition at line 335 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 332 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 338 of file PassManager.h.


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