|
LLVM
8.0.1
|
For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction. More...
#include "llvm/CodeGen/DbgEntityHistoryCalculator.h"
Public Types | |
| using | InlinedEntity = std::pair< const DINode *, const DILocation * > |
| using | InstrMap = MapVector< InlinedEntity, const MachineInstr * > |
Public Member Functions | |
| void | addInstr (InlinedEntity Label, const MachineInstr &MI) |
| bool | empty () const |
| void | clear () |
| InstrMap::const_iterator | begin () const |
| InstrMap::const_iterator | end () const |
For each inlined instance of a source-level label, keep the corresponding DBG_LABEL instruction.
The DBG_LABEL instruction could be used to generate a temporary (assembler) label before it.
Definition at line 63 of file DbgEntityHistoryCalculator.h.
| using llvm::DbgLabelInstrMap::InlinedEntity = std::pair<const DINode *, const DILocation *> |
Definition at line 65 of file DbgEntityHistoryCalculator.h.
Definition at line 66 of file DbgEntityHistoryCalculator.h.
| void DbgLabelInstrMap::addInstr | ( | InlinedEntity | Label, |
| const MachineInstr & | MI | ||
| ) |
Definition at line 81 of file DbgEntityHistoryCalculator.cpp.
References assert(), llvm::MachineInstr::isDebugLabel(), and MI.
Referenced by llvm::calculateDbgEntityHistory().
|
inline |
Definition at line 76 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::begin().
|
inline |
Definition at line 75 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::clear().
Referenced by llvm::DebugHandlerBase::endFunction().
|
inline |
Definition at line 74 of file DbgEntityHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::empty().
Referenced by llvm::DebugHandlerBase::beginFunction().
|
inline |
Definition at line 77 of file DbgEntityHistoryCalculator.h.
References llvm::calculateDbgEntityHistory(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), and TRI.
1.8.13