|
LLVM
7.0.0
|
#include "CodeGen/AsmPrinter/DbgValueHistoryCalculator.h"
Public Types | |
| using | InstrRange = std::pair< const MachineInstr *, const MachineInstr * > |
| using | InstrRanges = SmallVector< InstrRange, 4 > |
| using | InlinedVariable = std::pair< const DILocalVariable *, const DILocation * > |
| using | InstrRangesMap = MapVector< InlinedVariable, InstrRanges > |
Public Member Functions | |
| void | startInstrRange (InlinedVariable Var, const MachineInstr &MI) |
| void | endInstrRange (InlinedVariable Var, const MachineInstr &MI) |
| unsigned | getRegisterForVar (InlinedVariable 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 DbgValueHistoryCalculator.h.
| using llvm::DbgValueHistoryMap::InlinedVariable = std::pair<const DILocalVariable *, const DILocation *> |
Definition at line 37 of file DbgValueHistoryCalculator.h.
| using llvm::DbgValueHistoryMap::InstrRange = std::pair<const MachineInstr *, const MachineInstr *> |
Definition at line 34 of file DbgValueHistoryCalculator.h.
Definition at line 35 of file DbgValueHistoryCalculator.h.
Definition at line 38 of file DbgValueHistoryCalculator.h.
|
inline |
Definition at line 53 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::begin().
|
inline |
Definition at line 52 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::clear().
Referenced by llvm::DebugHandlerBase::endFunction().
| LLVM_DUMP_METHOD void DbgValueHistoryMap::dump | ( | ) | const |
Definition at line 274 of file DbgValueHistoryCalculator.cpp.
References llvm::dbgs(), llvm::DIVariable::getName(), and llvm::lltok::LocalVar.
Referenced by llvm::DebugHandlerBase::beginFunction(), and end().
|
inline |
Definition at line 51 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::empty().
Referenced by llvm::DebugHandlerBase::beginFunction().
|
inline |
Definition at line 54 of file DbgValueHistoryCalculator.h.
References llvm::calculateDbgValueHistory(), dump(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), LLVM_DUMP_METHOD, Result, and TRI.
| void DbgValueHistoryMap::endInstrRange | ( | InlinedVariable | Var, |
| const MachineInstr & | MI | ||
| ) |
Definition at line 60 of file DbgValueHistoryCalculator.cpp.
References assert(), llvm::MachineInstr::getParent(), and MI.
Referenced by clobberRegisterUses().
| unsigned DbgValueHistoryMap::getRegisterForVar | ( | InlinedVariable | Var | ) | const |
Definition at line 71 of file DbgValueHistoryCalculator.cpp.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::find(), I, and isDescribedByReg().
Referenced by llvm::calculateDbgValueHistory().
| void DbgValueHistoryMap::startInstrRange | ( | InlinedVariable | Var, |
| const MachineInstr & | MI | ||
| ) |
Definition at line 45 of file DbgValueHistoryCalculator.cpp.
References assert(), llvm::dbgs(), llvm::MachineInstr::isDebugValue(), and LLVM_DEBUG.
Referenced by llvm::calculateDbgValueHistory().
1.8.13