diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-14 23:54:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-14 23:54:24 +0000 |
commit | 3ca002bc17da7abb6258bd34f203eed4e5f9ca89 (patch) | |
tree | ec6f70b455abaa316e0543f6dbbc6485a9e9a5f1 | |
parent | f9f37fc52c444e34bad7846729ae5481a65e0a53 (diff) |
Make getNodeValueTypes methods public.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29688 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/SelectionDAG.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/SelectionDAG.h b/include/llvm/CodeGen/SelectionDAG.h index 8208af6c2d..dbe3ec5540 100644 --- a/include/llvm/CodeGen/SelectionDAG.h +++ b/include/llvm/CodeGen/SelectionDAG.h @@ -422,6 +422,14 @@ public: void dump() const; + /// getNodeValueTypes - Return a pointer to an intern'd representation of the + /// specified valuetype list. + MVT::ValueType *getNodeValueTypes(MVT::ValueType VT1); + MVT::ValueType *getNodeValueTypes(MVT::ValueType VT1, MVT::ValueType VT2); + MVT::ValueType *getNodeValueTypes(MVT::ValueType VT1, MVT::ValueType VT2, + MVT::ValueType VT3); + MVT::ValueType *getNodeValueTypes(std::vector<MVT::ValueType> &RetVals); + private: void RemoveNodeFromCSEMaps(SDNode *N); SDNode *AddNonLeafNodeToCSEMaps(SDNode *N); @@ -432,12 +440,6 @@ private: void *&InsertPos); void DeleteNodeNotInCSEMaps(SDNode *N); - MVT::ValueType *getNodeValueTypes(MVT::ValueType VT1); - MVT::ValueType *getNodeValueTypes(MVT::ValueType VT1, MVT::ValueType VT2); - MVT::ValueType *getNodeValueTypes(MVT::ValueType VT1, MVT::ValueType VT2, - MVT::ValueType VT3); - MVT::ValueType *getNodeValueTypes(std::vector<MVT::ValueType> &RetVals); - /// SimplifySetCC - Try to simplify a setcc built with the specified operands /// and cc. If unable to simplify it, return a null SDOperand. |