|
LLVM
10.0.0
|
Specifies a change in a variable's debug value history. More...
#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"
Public Types | |
| enum | EntryKind { DbgValue, Clobber } |
Public Member Functions | |
| Entry (const MachineInstr *Instr, EntryKind Kind) | |
| const MachineInstr * | getInstr () const |
| EntryIndex | getEndIndex () const |
| EntryKind | getEntryKind () const |
| bool | isClobber () const |
| bool | isDbgValue () const |
| bool | isClosed () const |
| void | endEntry (EntryIndex EndIndex) |
Specifies a change in a variable's debug value history.
There exist two types of entries:
Debug value entry:
A new debug value becomes live. If the entry's EndIndex is NoEntry, the value is valid until the end of the function. For other values, the index points to the entry in the entry vector that ends this debug value. The ending entry can either be an overlapping debug value, or an instruction that clobbers the value.
Clobbering entry:
This entry's instruction clobbers one or more preceding register-described debug values that have their end index set to this entry's position in the entry vector.
Definition at line 53 of file DbgEntityHistoryCalculator.h.
| Enumerator | |
|---|---|
| DbgValue | |
| Clobber | |
Definition at line 55 of file DbgEntityHistoryCalculator.h.
|
inline |
Definition at line 57 of file DbgEntityHistoryCalculator.h.
| void DbgValueHistoryMap::Entry::endEntry | ( | EntryIndex | EndIndex | ) |
Definition at line 84 of file DbgEntityHistoryCalculator.cpp.
References assert().
Referenced by llvm::calculateDbgEntityHistory(), and isClosed().
|
inline |
Definition at line 61 of file DbgEntityHistoryCalculator.h.
Referenced by llvm::DbgValueHistoryMap::dump().
|
inline |
Definition at line 62 of file DbgEntityHistoryCalculator.h.
Referenced by isClobber(), and isDbgValue().
|
inline |
Definition at line 60 of file DbgEntityHistoryCalculator.h.
Referenced by llvm::DbgValueHistoryMap::dump().
|
inline |
Definition at line 64 of file DbgEntityHistoryCalculator.h.
References Clobber, and getEntryKind().
|
inline |
Definition at line 66 of file DbgEntityHistoryCalculator.h.
References endEntry(), and llvm::DbgValueHistoryMap::NoEntry.
Referenced by llvm::calculateDbgEntityHistory().
|
inline |
Definition at line 65 of file DbgEntityHistoryCalculator.h.
References DbgValue, and getEntryKind().
Referenced by llvm::calculateDbgEntityHistory(), and llvm::DbgValueHistoryMap::dump().
1.8.13