LLVM 23.0.0git
Instrumentor.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/EnumeratedArray.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/StringSaver.h"
#include "llvm/Transforms/IPO/InstrumentorUtils.h"
#include "llvm/Transforms/Utils/Instrumentation.h"
#include <cstdint>
#include <functional>
#include <string>
#include <tuple>

Go to the source code of this file.

Classes

struct  llvm::instrumentor::IRTArg
 } More...
struct  llvm::instrumentor::IRTCallDescription
 Helper to represent an instrumentation runtime function that is related to an instrumentation opportunity. More...
struct  llvm::instrumentor::InstrumentationLocation
 Helper to represent an instrumentation location, which is composed of an instrumentation opportunity type and a position. More...
struct  llvm::instrumentor::BaseConfigurationOption
 An option for the base configuration. More...
union  llvm::instrumentor::BaseConfigurationOption::ValueTy
 Helper union that holds any possible option type. More...
struct  llvm::instrumentor::InstrumentationConfig
 The class that contains the configuration for the instrumentor. More...
struct  llvm::instrumentor::InstrumentationOpportunity
 Base class for instrumentation opportunities. More...
struct  llvm::instrumentor::InstructionIO< Opcode >
 The base instrumentation opportunity class for instruction opportunities. More...
struct  llvm::instrumentor::StoreIO
 The instrumentation opportunity for store instructions. More...
struct  llvm::instrumentor::LoadIO
 The instrumentation opportunity for load instructions. More...
class  llvm::InstrumentorPass
 The Instrumentor pass. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::instrumentor

Typedefs

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