LLVM 20.0.0git
|
Convert @llvm.dbg.declare intrinsics into sets of @llvm.dbg.assign intrinsics by treating stores to the dbg.declare'd address as assignments to the variable. More...
#include "llvm/IR/DebugInfo.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< AssignmentTrackingPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< AssignmentTrackingPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Convert @llvm.dbg.declare intrinsics into sets of @llvm.dbg.assign intrinsics by treating stores to the dbg.declare'd address as assignments to the variable.
Not all kinds of variables are supported yet; those will be left with their dbg.declare intrinsics. The pass sets the debug-info-assignment-tracking module flag to true to indicate assignment tracking has been enabled.
Definition at line 367 of file DebugInfo.h.
PreservedAnalyses AssignmentTrackingPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Definition at line 2302 of file DebugInfo.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::PreservedAnalyses::preserveSet(), and setAssignmentTrackingModuleFlag().
PreservedAnalyses AssignmentTrackingPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 2319 of file DebugInfo.cpp.
References llvm::PreservedAnalyses::all(), F, llvm::PreservedAnalyses::preserveSet(), and setAssignmentTrackingModuleFlag().