diff options
author | Dan Gohman <gohman@apple.com> | 2008-02-12 18:52:52 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-02-12 18:52:52 +0000 |
commit | 14471be9ab531cb677658704ea73b06d4f0b7585 (patch) | |
tree | 37546f52a6810e99141391037e9ab8b2880139c4 | |
parent | 2be680481b676d20b5739a3aab83c1e95af547e9 (diff) |
Add a doxygen comment for SrcValueSDNode, to make its purpose
clear and to clarify how it differs from MemOperandSDNode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47015 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 4117552b52..f8381c7b59 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1396,6 +1396,14 @@ public: } }; +/// SrcValueSDNode - An SDNode that holds an arbitrary LLVM IR Value. This is +/// used when the SelectionDAG needs to make a simple reference to something +/// in the LLVM IR representation. +/// +/// Note that this is not used for carrying alias information; that is done +/// with MemOperandSDNode, which includes a Value which is required to be a +/// pointer, and several other fields specific to memory references. +/// class SrcValueSDNode : public SDNode { const Value *V; virtual void ANCHOR(); // Out-of-line virtual method to give class a home. |