LLVM 22.0.0git
|
A module pass that rewrites heap allocations to use token-enabled allocation functions based on various source-level properties. More...
#include "llvm/Transforms/Instrumentation/AllocToken.h"
Public Member Functions | |
LLVM_ABI | AllocTokenPass (AllocTokenOptions Opts={}) |
LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< AllocTokenPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
Static Public Member Functions inherited from llvm::PassInfoMixin< AllocTokenPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. |
A module pass that rewrites heap allocations to use token-enabled allocation functions based on various source-level properties.
Definition at line 34 of file AllocToken.h.
|
explicit |
Definition at line 479 of file AllocToken.cpp.
References llvm::move().
|
inlinestatic |
Definition at line 38 of file AllocToken.h.
PreservedAnalyses AllocTokenPass::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM ) |
Definition at line 482 of file AllocToken.cpp.
References llvm::PreservedAnalyses::all(), F, MAM, Modified, llvm::PreservedAnalyses::none(), Pass, and llvm::PreservedAnalyses::preserveSet().