aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/SelectionDAGNodes.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-10 23:25:04 +0000
committerChris Lattner <sabre@nondot.org>2005-01-10 23:25:04 +0000
commit6e6e3ceb080e5a8bdfd3258d883a06ebbd8a1965 (patch)
tree824e3ef5a0cc8fc85c40ccff4cccfc005bdc96a2 /include/llvm/CodeGen/SelectionDAGNodes.h
parent66328480bb3eb6aa52e2c155657f3d19d4efea7a (diff)
Add a helper method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19442 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h
index d61ce2d2b9..d79adc36ad 100644
--- a/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -371,6 +371,9 @@ public:
return Values[ResNo];
}
+ /// getOperationName - Return the opcode of this operation for printing.
+ ///
+ const char* getOperationName() const;
void dump() const;
static bool classof(const SDNode *) { return true; }