LLVM API Documentation
#include <LiveDebugVariables.h>


Public Member Functions | |
| LiveDebugVariables () | |
| ~LiveDebugVariables () | |
| void | renameRegister (unsigned OldReg, unsigned NewReg, unsigned SubIdx) |
| void | splitRegister (unsigned OldReg, ArrayRef< LiveInterval * > NewRegs) |
| void | emitDebugValues (VirtRegMap *VRM) |
| void | dump () |
| dump - Print data structures to dbgs(). | |
Static Public Attributes | |
| static char | ID = 0 |
Definition at line 32 of file LiveDebugVariables.h.
| LiveDebugVariables::LiveDebugVariables | ( | ) |
Definition at line 67 of file LiveDebugVariables.cpp.
References llvm::PassRegistry::getPassRegistry(), and llvm::initializeLiveDebugVariablesPass().
| LiveDebugVariables::~LiveDebugVariables | ( | ) |
Definition at line 717 of file LiveDebugVariables.cpp.
| void LiveDebugVariables::dump | ( | ) |
dump - Print data structures to dbgs().
Definition at line 990 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 983 of file LiveDebugVariables.cpp.
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< LiveInterval * > | NewRegs | ||
| ) |
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 854 of file LiveDebugVariables.cpp.
char LiveDebugVariables::ID = 0 [static] |
Definition at line 35 of file LiveDebugVariables.h.