LLVM 23.0.0git
llvm::instrumentor Namespace Reference

Classes

struct  BaseConfigTy
 Boolean option bitset with a compile-time number of bits to store as many options as the enumeration type EnumTy defines. More...
struct  BaseConfigurationOption
 An option for the base configuration. More...
struct  InstructionIO
 The base instrumentation opportunity class for instruction opportunities. More...
struct  InstrumentationCaches
 Helper that represent the caches for instrumentation call arguments. More...
struct  InstrumentationConfig
 The class that contains the configuration for the instrumentor. More...
struct  InstrumentationLocation
 Helper to represent an instrumentation location, which is composed of an instrumentation opportunity type and a position. More...
struct  InstrumentationOpportunity
 Base class for instrumentation opportunities. More...
struct  InstrumentorIRBuilderTy
 An IR builder augmented with extra information for the instrumentor pass. More...
struct  IRTArg
 } More...
struct  IRTCallDescription
 Helper to represent an instrumentation runtime function that is related to an instrumentation opportunity. More...
struct  LoadIO
 The instrumentation opportunity for load instructions. More...
struct  StoreIO
 The instrumentation opportunity for store instructions. More...

Typedefs

using GetterCallbackTy
 Callback type for getting/setting a value for a instrumented opportunity.
using SetterCallbackTy

Functions

void writeConfigToJSON (InstrumentationConfig &IConf, StringRef OutputFile, LLVMContext &Ctx)
 Write the configuration in /p IConf to the file with path OutputFile.
bool readConfigFromJSON (InstrumentationConfig &IConf, StringRef InputFile, LLVMContext &Ctx)
 Read the configuration from the file with path InputFile into /p IConf.

Typedef Documentation

◆ GetterCallbackTy

Initial value:
std::function<Value *(
The instances of the Type class are immutable: once they are created, they are never changed.
Definition Type.h:46
LLVM Value Representation.
Definition Value.h:75
The class that contains the configuration for the instrumentor.
An IR builder augmented with extra information for the instrumentor pass.

Callback type for getting/setting a value for a instrumented opportunity.

{

Definition at line 48 of file Instrumentor.h.

◆ SetterCallbackTy

Initial value:

Definition at line 50 of file Instrumentor.h.

Function Documentation

◆ readConfigFromJSON()

◆ writeConfigToJSON()