LLVM API Documentation

Public Member Functions | Static Public Attributes
llvm::LiveDebugVariables Class Reference

#include <LiveDebugVariables.h>

Inheritance diagram for llvm::LiveDebugVariables:
Inheritance graph
[legend]
Collaboration diagram for llvm::LiveDebugVariables:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 34 of file LiveDebugVariables.h.


Constructor & Destructor Documentation

Definition at line 743 of file LiveDebugVariables.cpp.


Member Function Documentation

dump - Print data structures to dbgs().

Definition at line 1017 of file LiveDebugVariables.cpp.

References llvm::dbgs(), and llvm::Pass::print().

emitDebugValues - Emit new DBG_VALUE instructions reflecting the changes that happened during register allocation.

Parameters:
VRMRename 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.

Parameters:
OldRegOld virtual register that is going away.
NewRegNew register holding the user variables.
SubIdxIf 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.


Member Data Documentation

char LiveDebugVariables::ID = 0 [static]

Definition at line 38 of file LiveDebugVariables.h.


The documentation for this class was generated from the following files: