10 #ifndef LLVM_CODEGEN_DBGVALUEHISTORYCALCULATOR_H 11 #define LLVM_CODEGEN_DBGVALUEHISTORYCALCULATOR_H 20 class DILocalVariable;
21 class MachineFunction;
23 class TargetRegisterInfo;
34 using InstrRange = std::pair<const MachineInstr *, const MachineInstr *>;
55 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) 87 #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.
unsigned const TargetRegisterInfo * TRI
unsigned getRegisterForVar(InlinedEntity Var) const
void calculateDbgEntityHistory(const MachineFunction *MF, const TargetRegisterInfo *TRI, DbgValueHistoryMap &DbgValues, DbgLabelInstrMap &DbgLabels)
std::pair< const DINode *, const DILocation * > InlinedEntity
InstrRangesMap::const_iterator begin() const
InstrMap::const_iterator begin() const
TargetRegisterInfo base class - We assume that the target defines a static array of TargetRegisterDes...
InstrRangesMap::const_iterator end() const
std::pair< const DINode *, const DILocation * > InlinedEntity
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small...
InstrMap::const_iterator end() const
typename std::vector< std::pair< InlinedEntity, InstrRanges >> ::const_iterator const_iterator
void startInstrRange(InlinedEntity Var, const MachineInstr &MI)
Representation of each machine instruction.
void endInstrRange(InlinedEntity Var, const MachineInstr &MI)
std::pair< const MachineInstr *, const MachineInstr * > InstrRange
LLVM_DUMP_METHOD void dump() const