14#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_ALLOCTOKEN_H
15#define LLVM_TRANSFORMS_INSTRUMENTATION_ALLOCTOKEN_H
This header defines various interfaces for pass management in LLVM.
ModuleAnalysisManager MAM
LLVM_ABI AllocTokenPass(AllocTokenOptions Opts={})
LLVM_ABI PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)
A Module instance is used to store all the information related to an LLVM module.
A set of analyses that are preserved following a run of a transformation pass.
Pass manager infrastructure for declaring and invalidating analyses.
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< Module > ModuleAnalysisManager
Convenience typedef for the Module analysis manager.
AllocTokenOptions()=default
std::optional< uint64_t > MaxTokens
A CRTP mix-in to automatically provide informational APIs needed for passes.