mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Provide an interface to transfer SDDbgValue from one SDNode to another.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124245 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -100,6 +100,10 @@ public:
|
||||
return DbgValMap[Node];
|
||||
}
|
||||
|
||||
void removeSDDbgValues(const SDNode *Node) {
|
||||
DbgValMap.erase(Node);
|
||||
}
|
||||
|
||||
typedef SmallVector<SDDbgValue*,32>::iterator DbgIterator;
|
||||
DbgIterator DbgBegin() { return DbgValues.begin(); }
|
||||
DbgIterator DbgEnd() { return DbgValues.end(); }
|
||||
@@ -901,6 +905,9 @@ public:
|
||||
SmallVector<SDDbgValue*,2> &GetDbgValues(const SDNode* SD) {
|
||||
return DbgInfo->getSDDbgValues(SD);
|
||||
}
|
||||
|
||||
/// TransferDbgValues - Transfer SDDbgValues.
|
||||
void TransferDbgValues(SDValue From, SDValue To);
|
||||
|
||||
/// hasDebugValues - Return true if there are any SDDbgValue nodes associated
|
||||
/// with this SelectionDAG.
|
||||
|
Reference in New Issue
Block a user