LLVM  17.0.0git
Classes | Namespaces | Functions
PassInstrumentation.h File Reference
#include "llvm/ADT/Any.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringMap.h"
#include <type_traits>
#include <vector>
Include dependency graph for PassInstrumentation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::PassInstrumentationCallbacks
 This class manages callbacks registration, as well as provides a way for PassInstrumentation to pass control to the registered callbacks. More...
class  llvm::PassInstrumentation
 This class provides instrumentation entry points for the Pass Manager, doing calls to callbacks registered in PassInstrumentationCallbacks. More...


 This is an optimization pass for GlobalISel generic memory operations.


bool llvm::isSpecialPass (StringRef PassID, const std::vector< StringRef > &Specials)

Detailed Description

This file defines the Pass Instrumentation classes that provide instrumentation points into the pass execution by PassManager.

There are two main classes:

PassInstrumentation object is being used as a result of PassInstrumentationAnalysis (so it is intended to be easily copyable).

Intended scheme of use for Pass Instrumentation is as follows:

Definition in file PassInstrumentation.h.