LLVM API Documentation
#include <LiveDebugVariables.h>
Public Member Functions | |
LiveDebugVariables () | |
~LiveDebugVariables () | |
void | renameRegister (unsigned OldReg, unsigned NewReg, unsigned SubIdx) |
void | splitRegister (unsigned OldReg, ArrayRef< unsigned > NewRegs, LiveIntervals &LIS) |
void | emitDebugValues (VirtRegMap *VRM) |
void | dump () |
dump - Print data structures to dbgs(). | |
Static Public Attributes | |
static char | ID = 0 |
Definition at line 34 of file LiveDebugVariables.h.
Definition at line 71 of file LiveDebugVariables.cpp.
References llvm::PassRegistry::getPassRegistry(), and llvm::initializeLiveDebugVariablesPass().
Definition at line 743 of file LiveDebugVariables.cpp.
void LiveDebugVariables::dump | ( | ) |
dump - Print data structures to dbgs().
Definition at line 1017 of file LiveDebugVariables.cpp.
References llvm::dbgs(), and llvm::Pass::print().
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 line 1006 of file LiveDebugVariables.cpp.
void llvm::LiveDebugVariables::renameRegister | ( | unsigned | OldReg, |
unsigned | NewReg, | ||
unsigned | SubIdx | ||
) |
renameRegister - Move any user variables in OldReg to NewReg:SubIdx.
OldReg | Old virtual register that is going away. |
NewReg | New register holding the user variables. |
SubIdx | If NewReg is a virtual register, SubIdx may indicate a sub- register. |
void LiveDebugVariables::splitRegister | ( | unsigned | OldReg, |
ArrayRef< unsigned > | 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 line 882 of file LiveDebugVariables.cpp.
char LiveDebugVariables::ID = 0 [static] |
Definition at line 38 of file LiveDebugVariables.h.