LLVM API Documentation
#include <DbgValueHistoryCalculator.h>
Public Types | |
typedef std::pair< const MachineInstr *, const MachineInstr * > | InstrRange |
typedef SmallVector < InstrRange, 4 > | InstrRanges |
typedef MapVector< const MDNode *, InstrRanges > | InstrRangesMap |
Public Member Functions | |
void | startInstrRange (const MDNode *Var, const MachineInstr &MI) |
void | endInstrRange (const MDNode *Var, const MachineInstr &MI) |
unsigned | getRegisterForVar (const MDNode *Var) const |
bool | empty () const |
void | clear () |
InstrRangesMap::const_iterator | begin () const |
InstrRangesMap::const_iterator | end () const |
Definition at line 25 of file DbgValueHistoryCalculator.h.
typedef std::pair<const MachineInstr *, const MachineInstr *> llvm::DbgValueHistoryMap::InstrRange |
Definition at line 32 of file DbgValueHistoryCalculator.h.
Definition at line 33 of file DbgValueHistoryCalculator.h.
Definition at line 34 of file DbgValueHistoryCalculator.h.
InstrRangesMap::const_iterator llvm::DbgValueHistoryMap::begin | ( | ) | const [inline] |
Definition at line 47 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::begin().
void llvm::DbgValueHistoryMap::clear | ( | ) | [inline] |
Definition at line 46 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::clear().
bool llvm::DbgValueHistoryMap::empty | ( | ) | const [inline] |
Definition at line 45 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::empty().
InstrRangesMap::const_iterator llvm::DbgValueHistoryMap::end | ( | ) | const [inline] |
Definition at line 48 of file DbgValueHistoryCalculator.h.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end().
void llvm::DbgValueHistoryMap::endInstrRange | ( | const MDNode * | Var, |
const MachineInstr & | MI | ||
) |
Definition at line 51 of file DbgValueHistoryCalculator.cpp.
References llvm::MachineInstr::getParent(), llvm::AArch64CC::MI, and Ranges.
Referenced by llvm::clobberRegisterUses().
unsigned llvm::DbgValueHistoryMap::getRegisterForVar | ( | const MDNode * | Var | ) | const |
Definition at line 62 of file DbgValueHistoryCalculator.cpp.
References llvm::MapVector< KeyT, ValueT, MapType, VectorType >::end(), llvm::MapVector< KeyT, ValueT, MapType, VectorType >::find(), I, llvm::isDescribedByReg(), and Ranges.
Referenced by llvm::calculateDbgValueHistory().
void llvm::DbgValueHistoryMap::startInstrRange | ( | const MDNode * | Var, |
const MachineInstr & | MI | ||
) |
Definition at line 36 of file DbgValueHistoryCalculator.cpp.
References llvm::dbgs(), DEBUG, llvm::MachineInstr::getDebugVariable(), llvm::getEntireVariable(), llvm::MachineInstr::isDebugValue(), and Ranges.
Referenced by llvm::calculateDbgValueHistory().