From 14471be9ab531cb677658704ea73b06d4f0b7585 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 12 Feb 2008 18:52:52 +0000 Subject: [PATCH] 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 --- include/llvm/CodeGen/SelectionDAGNodes.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 4117552b52f..f8381c7b597 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. -- 2.11.0