LLVM 20.0.0git
|
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 72 of file DbgEntityHistoryCalculator.h.
Enumerator | |
---|---|
DbgValue | |
Clobber |
Definition at line 76 of file DbgEntityHistoryCalculator.h.
|
inline |
Definition at line 78 of file DbgEntityHistoryCalculator.h.
void DbgValueHistoryMap::Entry::endEntry | ( | EntryIndex | EndIndex | ) |
Definition at line 101 of file DbgEntityHistoryCalculator.cpp.
References assert(), isClosed(), and isDbgValue().
Referenced by llvm::calculateDbgEntityHistory().
|
inline |
Definition at line 82 of file DbgEntityHistoryCalculator.h.
Referenced by llvm::DbgValueHistoryMap::dump().
|
inline |
Definition at line 83 of file DbgEntityHistoryCalculator.h.
Referenced by isClobber(), and isDbgValue().
|
inline |
Definition at line 81 of file DbgEntityHistoryCalculator.h.
Referenced by llvm::DbgValueHistoryMap::dump(), and llvm::DbgValueHistoryMap::hasNonEmptyLocation().
|
inline |
Definition at line 85 of file DbgEntityHistoryCalculator.h.
References Clobber, and getEntryKind().
|
inline |
Definition at line 87 of file DbgEntityHistoryCalculator.h.
References llvm::DbgValueHistoryMap::NoEntry.
Referenced by llvm::calculateDbgEntityHistory(), endEntry(), and llvm::DbgValueHistoryMap::trimLocationRanges().
|
inline |
Definition at line 86 of file DbgEntityHistoryCalculator.h.
References DbgValue, and getEntryKind().
Referenced by llvm::calculateDbgEntityHistory(), llvm::DbgValueHistoryMap::dump(), endEntry(), and llvm::DbgValueHistoryMap::hasNonEmptyLocation().