|
LLVM
3.7.0
|
Keeps track of dbg_value information through SDISel. More...
#include <SelectionDAG.h>
Public Types | |
| typedef SmallVectorImpl < SDDbgValue * >::iterator | DbgIterator |
Public Member Functions | |
| SDDbgInfo () | |
| void | add (SDDbgValue *V, const SDNode *Node, bool isParameter) |
| 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) |
| DbgIterator | DbgBegin () |
| DbgIterator | DbgEnd () |
| DbgIterator | ByvalParmDbgBegin () |
| DbgIterator | ByvalParmDbgEnd () |
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 114 of file SelectionDAG.h.
| typedef SmallVectorImpl<SDDbgValue*>::iterator llvm::SDDbgInfo::DbgIterator |
Definition at line 158 of file SelectionDAG.h.
|
inline |
Definition at line 124 of file SelectionDAG.h.
|
inline |
Definition at line 126 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::AddDbgValue().
|
inline |
Definition at line 161 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::ByvalParmDbgBegin().
|
inline |
Definition at line 162 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::ByvalParmDbgEnd().
|
inline |
Definition at line 138 of file SelectionDAG.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear(), and llvm::BumpPtrAllocatorImpl< AllocatorT, SlabSize, SizeThreshold >::Reset().
Referenced by llvm::SelectionDAG::clear().
|
inline |
Definition at line 159 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::DbgBegin().
|
inline |
Definition at line 160 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::DbgEnd().
|
inline |
Definition at line 147 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::hasDebugValues().
Invalidate all DbgValues attached to the node and remove it from the Node-to-DbgValues map.
Definition at line 698 of file SelectionDAG.cpp.
References I.
|
inline |
Definition at line 145 of file SelectionDAG.h.
Referenced by llvm::SelectionDAG::getConstantDbgValue(), llvm::SelectionDAG::getDbgValue(), and llvm::SelectionDAG::getFrameIndexDbgValue().
|
inline |
Definition at line 151 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::AddDbgValue(), and llvm::SelectionDAG::GetDbgValues().
1.8.6