Make getNodeValueTypes methods public.
authorChris Lattner <sabre@nondot.org>
Mon, 14 Aug 2006 23:54:24 +0000 (23:54 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 14 Aug 2006 23:54:24 +0000 (23:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29688 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAG.h

index 8208af6c2d7e0d5d42a50290ca106d2e83d9fc9b..dbe3ec55404992e332c670257e1ff9707e1365a6 100644 (file)
@@ -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.