From 5a9b8fb95c9a4c6fd5e06c1e89fa9263d39cd252 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98933 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CodeGenDAGPatterns.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'utils/TableGen/CodeGenDAGPatterns.h') diff --git a/utils/TableGen/CodeGenDAGPatterns.h b/utils/TableGen/CodeGenDAGPatterns.h index 404cb35770..caf053285d 100644 --- a/utils/TableGen/CodeGenDAGPatterns.h +++ b/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