LLVM 20.0.0git |
#include "llvm/CodeGen/LiveDebugVariables.h"
Classes | |
class | LDVImpl |
Public Member Functions | |
LiveDebugVariables () | |
Implementation of theLiveDebugVariables pass. | |
~LiveDebugVariables () | |
LiveDebugVariables (LiveDebugVariables &&) | |
void | analyze (MachineFunction &MF,LiveIntervals *LIS) |
void | splitRegister (Register OldReg,ArrayRef<Register > NewRegs,LiveIntervals &LIS) |
splitRegister - Move any user variables in OldReg to the live ranges in NewRegs where they are live. | |
void | emitDebugValues (VirtRegMap *VRM) |
emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes that happened during register allocation. | |
void | dump ()const |
dump - Print data structures todbgs(). | |
void | print (raw_ostream &OS)const |
void | releaseMemory () |
bool | invalidate (MachineFunction &MF,constPreservedAnalyses &PA,MachineFunctionAnalysisManager::Invalidator &Inv) |
Definition at line35 of fileLiveDebugVariables.h.
| default |
Implementation of theLiveDebugVariables pass.
| default |
| default |
void LiveDebugVariables::analyze | ( | MachineFunction & | MF, |
LiveIntervals * | LIS | ||
) |
Definition at line1358 of fileLiveDebugVariables.cpp.
ReferencesEnableLDV,llvm::MachineFunction::getFunction(),llvm::Function::getSubprogram(),removeDebugInstrs(), andllvm::MachineFunction::useDebugInstrRef().
LLVM_DUMP_METHOD void LiveDebugVariables::dump | ( | ) | const |
dump - Print data structures todbgs().
Definition at line2012 of fileLiveDebugVariables.cpp.
Referencesllvm::dbgs(), andprint().
void LiveDebugVariables::emitDebugValues | ( | VirtRegMap * | VRM | ) |
emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes that happened during register allocation.
VRM | Rename virtual registers according to map. |
Definition at line2006 of fileLiveDebugVariables.cpp.
bool LiveDebugVariables::invalidate | ( | MachineFunction & | MF, |
constPreservedAnalyses & | PA, | ||
MachineFunctionAnalysisManager::Invalidator & | Inv | ||
) |
Definition at line1348 of fileLiveDebugVariables.cpp.
Referencesllvm::PreservedAnalyses::getChecker().
void LiveDebugVariables::print | ( | raw_ostream & | OS | ) | const |
Definition at line2015 of fileLiveDebugVariables.cpp.
ReferencesOS.
Referenced bydump(), andllvm::LiveDebugVariables::LDVImpl::runOnMachineFunction().
void LiveDebugVariables::releaseMemory | ( | ) |
Definition at line1343 of fileLiveDebugVariables.cpp.
void LiveDebugVariables::splitRegister | ( | Register | OldReg, |
ArrayRef<Register > | NewRegs, | ||
LiveIntervals & | LIS | ||
) |
splitRegister - Move any user variables in OldReg to the live ranges in NewRegs where they are live.
Mark the values as unavailable where no new register is live.
Definition at line1553 of fileLiveDebugVariables.cpp.