From 6e6e3ceb080e5a8bdfd3258d883a06ebbd8a1965 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Jan 2005 23:25:04 +0000 Subject: [PATCH] Add a helper method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19442 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/SelectionDAGNodes.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index d61ce2d2b9f..d79adc36ad5 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; } -- 2.34.1