Lines Matching refs:TypeSet

45   /// TypeSet - This is either empty if it's completely unknown, or holds a set
50 /// TypeSet can have three states:
57 class TypeSet {
60 TypeSet() {}
61 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
62 TypeSet(ArrayRef<MVT::SimpleValueType> VTList);
91 /// hasIntegerTypes - Return true if this TypeSet contains any integer value
95 /// hasFloatingPointTypes - Return true if this TypeSet contains an fAny or
99 /// hasScalarTypes - Return true if this TypeSet contains a scalar value
103 /// hasVectorTypes - Return true if this TypeSet contains a vector value
107 /// getName() - Return this TypeSet as a string.
113 bool MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP);
116 return MergeInTypeInfo(EEVT::TypeSet(InVT, TP), TP);
133 bool EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP);
137 bool EnforceVectorEltTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
145 bool EnforceVectorSubVectorTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
149 bool EnforceVectorSameNumElts(EEVT::TypeSet &VT, TreePattern &TP);
152 bool EnforceSameSize(EEVT::TypeSet &VT, TreePattern &TP);
154 bool operator!=(const TypeSet &RHS) const { return TypeVec != RHS.TypeVec; }
155 bool operator==(const TypeSet &RHS) const { return TypeVec == RHS.TypeVec; }
326 SmallVector<EEVT::TypeSet, 1> Types;
372 const SmallVectorImpl<EEVT::TypeSet> &getExtTypes() const { return Types; }
373 const EEVT::TypeSet &getExtType(unsigned ResNo) const { return Types[ResNo]; }
374 EEVT::TypeSet &getExtType(unsigned ResNo) { return Types[ResNo]; }
375 void setType(unsigned ResNo, const EEVT::TypeSet &T) { Types[ResNo] = T; }
487 bool UpdateNodeType(unsigned ResNo, const EEVT::TypeSet &InTy,
494 return Types[ResNo].MergeInTypeInfo(EEVT::TypeSet(InTy, TP), TP);