9 #ifndef LLVM_CODEGEN_DBGVALUEHISTORYCALCULATOR_H 10 #define LLVM_CODEGEN_DBGVALUEHISTORYCALCULATOR_H 20 class DILocalVariable;
21 class MachineFunction;
23 class TargetRegisterInfo;
58 : Instr(Instr, Kind), EndIndex(NoEntry) {}
83 EntryIndex &NewIndex);
87 auto &
Entries = VarEntries[Var];
96 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) 128 #endif // LLVM_CODEGEN_DBGVALUEHISTORYCALCULATOR_H For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction...
This class represents lattice values for constants.
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds...
EntriesMap::const_iterator begin() const
unsigned const TargetRegisterInfo * TRI
For each user variable, keep a list of instruction ranges where this variable is accessible.
void calculateDbgEntityHistory(const MachineFunction *MF, const TargetRegisterInfo *TRI, DbgValueHistoryMap &DbgValues, DbgLabelInstrMap &DbgLabels)
std::pair< const DINode *, const DILocation * > InlinedEntity
void endEntry(EntryIndex EndIndex)
size_t EntryIndex
Index in the entry vector.
static const EntryIndex NoEntry
Special value to indicate that an entry is valid until the end of the function.
EntryIndex getEndIndex() const
InstrMap::const_iterator begin() const
PointerIntPair - This class implements a pair of a pointer and small integer.
Specifies a change in a variable's debug value history.
EntryKind getEntryKind() const
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
std::pair< const DINode *, const DILocation * > InlinedEntity
Entry(const MachineInstr *Instr, EntryKind Kind)
Align max(MaybeAlign Lhs, Align Rhs)
InstrMap::const_iterator end() const
typename std::vector< std::pair< InlinedEntity, Entries >> ::const_iterator const_iterator
EntriesMap::const_iterator end() const
Representation of each machine instruction.
Entry & getEntry(InlinedEntity Var, EntryIndex Index)
const MachineInstr * getInstr() const
bool startDbgValue(InlinedEntity Var, const MachineInstr &MI, EntryIndex &NewIndex)
LLVM_DUMP_METHOD void dump() const
EntryIndex startClobber(InlinedEntity Var, const MachineInstr &MI)