LLVM 22.0.0git
|
Description of the location of a variable whose Address is valid and unchanging during function execution. More...
#include "llvm/CodeGen/MachineFunction.h"
Public Member Functions | |
VariableDbgInfo (const DILocalVariable *Var, const DIExpression *Expr, int Slot, const DILocation *Loc) | |
VariableDbgInfo (const DILocalVariable *Var, const DIExpression *Expr, MCRegister EntryValReg, const DILocation *Loc) | |
bool | inStackSlot () const |
Return true if this variable is in a stack slot. | |
bool | inEntryValueRegister () const |
Return true if this variable is in the entry value of a register. | |
int | getStackSlot () const |
Returns the stack slot of this variable, assuming inStackSlot() is true. | |
MCRegister | getEntryValueRegister () const |
Returns the MCRegister of this variable, assuming inEntryValueRegister() is true. | |
void | updateStackSlot (int NewSlot) |
Updates the stack slot of this variable, assuming inStackSlot() is true. |
Public Attributes | |
const DILocalVariable * | Var |
const DIExpression * | Expr |
const DILocation * | Loc |
Description of the location of a variable whose Address is valid and unchanging during function execution.
The Address may be:
Definition at line 446 of file MachineFunction.h.
|
inline |
Definition at line 454 of file MachineFunction.h.
|
inline |
Definition at line 458 of file MachineFunction.h.
|
inline |
Returns the MCRegister of this variable, assuming inEntryValueRegister() is true.
Definition at line 476 of file MachineFunction.h.
|
inline |
Returns the stack slot of this variable, assuming inStackSlot() is true.
Definition at line 472 of file MachineFunction.h.
|
inline |
Return true if this variable is in the entry value of a register.
Definition at line 466 of file MachineFunction.h.
|
inline |
Return true if this variable is in a stack slot.
Definition at line 463 of file MachineFunction.h.
Referenced by updateStackSlot().
|
inline |
Updates the stack slot of this variable, assuming inStackSlot() is true.
Definition at line 482 of file MachineFunction.h.
References assert(), and inStackSlot().
const DIExpression* llvm::MachineFunction::VariableDbgInfo::Expr |
Definition at line 451 of file MachineFunction.h.
Referenced by printStackObjectDbgInfo(), VariableDbgInfo(), and VariableDbgInfo().
const DILocation* llvm::MachineFunction::VariableDbgInfo::Loc |
Definition at line 452 of file MachineFunction.h.
Referenced by printStackObjectDbgInfo(), VariableDbgInfo(), and VariableDbgInfo().
const DILocalVariable* llvm::MachineFunction::VariableDbgInfo::Var |
Definition at line 450 of file MachineFunction.h.
Referenced by printStackObjectDbgInfo(), VariableDbgInfo(), and VariableDbgInfo().