This class provides instrumentation entry points for the Pass Manager, doing calls to callbacks registered in PassInstrumentationCallbacks.

Synopsis

Declared in <llvm/IR/PassInstrumentation.h>

class PassInstrumentation;

Member Functions

Name

Description

PassInstrumentation [constructor]

Construct instrumentation that dispatches to the given callbacks.

getPassNameForClassName

Get the pass name for a given pass class name.

invalidate

Handle invalidation from the pass manager when PassInstrumentation is used as the result of PassInstrumentationAnalysis.

popBeforeNonSkippedPassCallback

Pop the most recently pushed before‐non‐skipped‐pass callback.

pushBeforeNonSkippedPassCallback

Push a temporary before‐non‐skipped‐pass callback onto the registry.

runAfterAnalysis

AfterAnalysis instrumentation point ‐ takes Analysis instance that has just been executed and constant reference to IR it operated on.

runAfterPass

Invoke AfterPass callbacks for a pass that has just finished.

runAfterPassInvalidated

AfterPassInvalidated instrumentation point ‐ takes Pass instance that has just been executed. For use when IR has been invalidated by Pass execution.

runAnalysesCleared

AnalysesCleared instrumentation point ‐ takes name of IR that analyses operated on.

runAnalysisInvalidated

AnalysisInvalidated instrumentation point ‐ takes Analysis instance that has just been invalidated and constant reference to IR it operated on.

runBeforeAnalysis

BeforeAnalysis instrumentation point ‐ takes Analysis instance to be executed and constant reference to IR it operates on.

runBeforePass

BeforePass instrumentation point ‐ takes Pass instance to be executed and constant reference to IR it operates on.

Created with MrDocs