LLVM: llvm::MachineFunction::VariableDbgInfo Class Reference (original) (raw)
Description of the location of a variable whose Address is valid and unchanging during function execution. More...
#include "[llvm/CodeGen/MachineFunction.h](MachineFunction%5F8h%5Fsource.html)"
| 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. |
Description of the location of a variable whose Address is valid and unchanging during function execution.
The Address may be:
- A stack index, which can be negative for fixed stack objects.
- A MCRegister, whose entry value contains the address of the variable.
Definition at line 446 of file MachineFunction.h.
◆ VariableDbgInfo() [2/2]
◆ getEntryValueRegister()
| MCRegister llvm::MachineFunction::VariableDbgInfo::getEntryValueRegister ( ) const | inline |
|---|
◆ getStackSlot()
| int llvm::MachineFunction::VariableDbgInfo::getStackSlot ( ) const | inline |
|---|
Returns the stack slot of this variable, assuming inStackSlot() is true.
Definition at line 472 of file MachineFunction.h.
◆ inEntryValueRegister()
| bool llvm::MachineFunction::VariableDbgInfo::inEntryValueRegister ( ) const | inline |
|---|
Return true if this variable is in the entry value of a register.
Definition at line 466 of file MachineFunction.h.
◆ inStackSlot()
| bool llvm::MachineFunction::VariableDbgInfo::inStackSlot ( ) const | inline |
|---|
◆ updateStackSlot()
| void llvm::MachineFunction::VariableDbgInfo::updateStackSlot ( int NewSlot) | inline |
|---|
◆ Expr
◆ Loc
◆ Var
The documentation for this class was generated from the following file:
- include/llvm/CodeGen/MachineFunction.h