LLVM
8.0.1
|
#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"
Public Types | |
using | InstrRange = std::pair< const MachineInstr *, const MachineInstr * > |
using | InstrRanges = SmallVector< InstrRange, 4 > |
using | InlinedEntity = std::pair< const DINode *, const DILocation * > |
using | InstrRangesMap = MapVector< InlinedEntity, InstrRanges > |
Public Member Functions | |
void | startInstrRange (InlinedEntity Var, const MachineInstr &MI) |
void | endInstrRange (InlinedEntity Var, const MachineInstr &MI) |
unsigned | getRegisterForVar (InlinedEntity Var) const |
bool | empty () const |
void | clear () |
InstrRangesMap::const_iterator | begin () const |
InstrRangesMap::const_iterator | end () const |
LLVM_DUMP_METHOD void | dump () const |
Definition at line 27 of file DbgEntityHistoryCalculator.h.
using llvm::DbgValueHistoryMap::InlinedEntity = std::pair<const DINode *, const DILocation *> |
Definition at line 36 of file DbgEntityHistoryCalculator.h.
using llvm::DbgValueHistoryMap::InstrRange = std::pair<const MachineInstr *, const MachineInstr *> |
Definition at line 34 of file DbgEntityHistoryCalculator.h.
Definition at line 35 of file DbgEntityHistoryCalculator.h.
Definition at line 37 of file DbgEntityHistoryCalculator.h.
|
inline |
Definition at line 52 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::begin().
|
inline |
Definition at line 51 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::clear().
Referenced by llvm::DebugHandlerBase::endFunction().
LLVM_DUMP_METHOD void DbgValueHistoryMap::dump | ( | ) | const |
Definition at line 288 of file DbgEntityHistoryCalculator.cpp.
References llvm::dbgs(), llvm::DIVariable::getName(), and llvm::lltok::LocalVar.
Referenced by llvm::DebugHandlerBase::beginFunction(), and end().
|
inline |
Definition at line 50 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::empty().
Referenced by llvm::DebugHandlerBase::beginFunction().
|
inline |
Definition at line 53 of file DbgEntityHistoryCalculator.h.
References dump(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), and LLVM_DUMP_METHOD.
void DbgValueHistoryMap::endInstrRange | ( | InlinedEntity | Var, |
const MachineInstr & | MI | ||
) |
Definition at line 60 of file DbgEntityHistoryCalculator.cpp.
References assert(), llvm::MachineInstr::getParent(), and MI.
Referenced by clobberRegisterUses().
unsigned DbgValueHistoryMap::getRegisterForVar | ( | InlinedEntity | Var | ) | const |
Definition at line 71 of file DbgEntityHistoryCalculator.cpp.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::find(), I, and isDescribedByReg().
Referenced by llvm::calculateDbgEntityHistory().
void DbgValueHistoryMap::startInstrRange | ( | InlinedEntity | Var, |
const MachineInstr & | MI | ||
) |
Definition at line 45 of file DbgEntityHistoryCalculator.cpp.
References assert(), llvm::dbgs(), llvm::MachineInstr::isDebugValue(), and LLVM_DEBUG.
Referenced by llvm::calculateDbgEntityHistory().