|
LLVM 24.0.0git
|
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 |
| LLVM_ABI void | add (SDDbgValue *V, bool isParameter) |
| void | add (SDDbgLabel *L) |
| LLVM_ABI void | erase (const SDNode *Node) |
| Invalidate all DbgValues attached to the node and remove it from the Node-to-DbgValues map. | |
| 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 119 of file SelectionDAG.h.
| using llvm::SDDbgInfo::DbgIterator = SmallVectorImpl<SDDbgValue*>::iterator |
Definition at line 161 of file SelectionDAG.h.
| using llvm::SDDbgInfo::DbgLabelIterator = SmallVectorImpl<SDDbgLabel*>::iterator |
Definition at line 162 of file SelectionDAG.h.
|
default |
Referenced by operator=(), and SDDbgInfo().
References SDDbgInfo().
|
inline |
Definition at line 134 of file SelectionDAG.h.
| void SDDbgInfo::add | ( | SDDbgValue * | V, |
| bool | isParameter ) |
Definition at line 1168 of file SelectionDAG.cpp.
References assert().
|
inline |
Definition at line 166 of file SelectionDAG.h.
|
inline |
Definition at line 167 of file SelectionDAG.h.
|
inline |
Definition at line 140 of file SelectionDAG.h.
|
inline |
Definition at line 164 of file SelectionDAG.h.
|
inline |
Definition at line 165 of file SelectionDAG.h.
|
inline |
Definition at line 168 of file SelectionDAG.h.
|
inline |
Definition at line 169 of file SelectionDAG.h.
|
inline |
Definition at line 150 of file SelectionDAG.h.
Invalidate all DbgValues attached to the node and remove it from the Node-to-DbgValues map.
Definition at line 1179 of file SelectionDAG.cpp.
References I.
|
inline |
Definition at line 148 of file SelectionDAG.h.
|
inline |
Definition at line 154 of file SelectionDAG.h.
References llvm::ArrayRef(), and I.
References LLVM_ABI, and SDDbgInfo().