LLVM 23.0.0git
llvm::instrumentor::InstrumentationCaches Struct Reference

Helper that represent the caches for instrumentation call arguments. More...

#include "llvm/Transforms/IPO/InstrumentorUtils.h"

Public Attributes

DenseMap< std::tuple< unsigned, StringRef, StringRef >, Value * > DirectArgCache
 A cache for direct and indirect arguments.
DenseMap< std::tuple< unsigned, StringRef, StringRef >, Value * > IndirectArgCache

Detailed Description

Helper that represent the caches for instrumentation call arguments.

The value of an argument may not need to be recomputed between the pre and post instrumentation calls.

Definition at line 133 of file InstrumentorUtils.h.

Member Data Documentation

◆ DirectArgCache

DenseMap<std::tuple<unsigned, StringRef, StringRef>, Value *> llvm::instrumentor::InstrumentationCaches::DirectArgCache

A cache for direct and indirect arguments.

The cache is indexed by the epoch, the instrumentation opportunity name and the argument name. The result is a value.

Definition at line 137 of file InstrumentorUtils.h.

Referenced by llvm::instrumentor::IRTCallDescription::createLLVMCall().

◆ IndirectArgCache

DenseMap<std::tuple<unsigned, StringRef, StringRef>, Value *> llvm::instrumentor::InstrumentationCaches::IndirectArgCache

The documentation for this struct was generated from the following file: