From be6b17f92798e953d36a88693076ae95e3a06a39 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 19 Mar 2010 04:54:36 +0000 Subject: rewrite EnforceSmallerThan to be less bone headed. llvm-svn: 98933 --- llvm/utils/TableGen/CodeGenDAGPatterns.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.h') diff --git a/llvm/utils/TableGen/CodeGenDAGPatterns.h b/llvm/utils/TableGen/CodeGenDAGPatterns.h index 404cb35770b..caf053285d9 100644 --- a/llvm/utils/TableGen/CodeGenDAGPatterns.h +++ b/llvm/utils/TableGen/CodeGenDAGPatterns.h @@ -133,6 +133,11 @@ namespace EEVT { bool operator!=(const TypeSet &RHS) const { return TypeVec != RHS.TypeVec; } bool operator==(const TypeSet &RHS) const { return TypeVec == RHS.TypeVec; } + + private: + /// FillWithPossibleTypes - Set to all legal types and return true, only + /// valid on completely unknown type sets + bool FillWithPossibleTypes(TreePattern &TP); }; } -- cgit v1.2.3