LLVM
8.0.1
|
Keeps track of dbg_value information through SDISel. More...
#include "llvm/CodeGen/SelectionDAG.h"
Public Types | |
using | DbgIterator = SmallVectorImpl< SDDbgValue * >::iterator |
using | DbgLabelIterator = SmallVectorImpl< SDDbgLabel * >::iterator |
Public Member Functions | |
SDDbgInfo ()=default | |
SDDbgInfo (const SDDbgInfo &)=delete | |
SDDbgInfo & | operator= (const SDDbgInfo &)=delete |
void | add (SDDbgValue *V, const SDNode *Node, bool isParameter) |
void | add (SDDbgLabel *L) |
void | erase (const SDNode *Node) |
Invalidate all DbgValues attached to the node and remove it from the Node-to-DbgValues map. More... | |
void | clear () |
BumpPtrAllocator & | getAlloc () |
bool | empty () const |
ArrayRef< SDDbgValue * > | getSDDbgValues (const SDNode *Node) const |
DbgIterator | DbgBegin () |
DbgIterator | DbgEnd () |
DbgIterator | ByvalParmDbgBegin () |
DbgIterator | ByvalParmDbgEnd () |
DbgLabelIterator | DbgLabelBegin () |
DbgLabelIterator | DbgLabelEnd () |
Keeps track of dbg_value information through SDISel.
We do not build SDNodes for these so as not to perturb the generated code; instead the info is kept off to the side in this structure. Each SDNode may have one or more associated dbg_value entries. This information is kept in DbgValMap. Byval parameters are handled separately because they don't use alloca's, which busts the normal mechanism. There is good reason for handling all parameters separately: they may not have code generated for them, they should always go at the beginning of the function regardless of other code motion, and debug info for them is potentially useful even if the parameter is unused. Right now only byval parameters are handled separately.
Definition at line 148 of file SelectionDAG.h.
using llvm::SDDbgInfo::DbgIterator = SmallVectorImpl<SDDbgValue*>::iterator |
Definition at line 198 of file SelectionDAG.h.
using llvm::SDDbgInfo::DbgLabelIterator = SmallVectorImpl<SDDbgLabel*>::iterator |
Definition at line 199 of file SelectionDAG.h.
|
default |
|
inline |
Definition at line 161 of file SelectionDAG.h.
References llvm::FoldingSetBase::Node::Node(), and llvm::SmallVectorTemplateBase< T >::push_back().
|
inline |
Definition at line 169 of file SelectionDAG.h.
References llvm::FoldingSetBase::Node::Node(), and llvm::SmallVectorTemplateBase< T >::push_back().
|
inline |
Definition at line 203 of file SelectionDAG.h.
References llvm::SmallVectorTemplateCommon< T >::begin().
Referenced by llvm::SelectionDAG::ByvalParmDbgBegin().
|
inline |
Definition at line 204 of file SelectionDAG.h.
References llvm::SmallVectorTemplateCommon< T >::end().
Referenced by llvm::SelectionDAG::ByvalParmDbgEnd().
|
inline |
Definition at line 177 of file SelectionDAG.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear(), llvm::SmallVectorImpl< T >::clear(), and llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold >::Reset().
Referenced by llvm::SelectionDAG::clear().
|
inline |
Definition at line 201 of file SelectionDAG.h.
References llvm::SmallVectorTemplateCommon< T >::begin().
Referenced by llvm::SelectionDAG::DbgBegin().
|
inline |
Definition at line 202 of file SelectionDAG.h.
References llvm::SmallVectorTemplateCommon< T >::end().
Referenced by llvm::SelectionDAG::DbgEnd().
|
inline |
Definition at line 205 of file SelectionDAG.h.
References llvm::SmallVectorTemplateCommon< T >::begin().
Referenced by llvm::SelectionDAG::DbgLabelBegin().
|
inline |
Definition at line 206 of file SelectionDAG.h.
References llvm::checkForCycles(), and llvm::SmallVectorTemplateCommon< T >::end().
Referenced by llvm::SelectionDAG::DbgLabelEnd().
|
inline |
Definition at line 187 of file SelectionDAG.h.
References llvm::SmallVectorBase::empty().
Referenced by llvm::SelectionDAG::hasDebugValues().
Invalidate all DbgValues attached to the node and remove it from the Node-to-DbgValues map.
Definition at line 760 of file SelectionDAG.cpp.
|
inline |
Definition at line 185 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::getConstantDbgValue(), llvm::SelectionDAG::getDbgLabel(), llvm::SelectionDAG::getDbgValue(), llvm::SelectionDAG::getFrameIndexDbgValue(), and llvm::SelectionDAG::getVRegDbgValue().
|
inline |
Definition at line 191 of file SelectionDAG.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find(), and I.
Referenced by llvm::SelectionDAG::GetDbgValues().