diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-19 04:54:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-19 04:54:36 +0000 |
commit | 5a9b8fb95c9a4c6fd5e06c1e89fa9263d39cd252 (patch) | |
tree | eb4a6ececd5b82c2258845a559e65fd8d32e1f81 /utils/TableGen/CodeGenDAGPatterns.h | |
parent | e9eda0f85d8727b2f109d42752cd7f1bf6ef95e0 (diff) |
rewrite EnforceSmallerThan to be less bone headed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.h')
-rw-r--r-- | utils/TableGen/CodeGenDAGPatterns.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); }; } |