Lines Matching refs:TypeSet

44   /// TypeSet - This is either empty if it's completely unknown, or holds a set
49 /// TypeSet can have three states:
56 class TypeSet {
59 TypeSet() {}
60 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
61 TypeSet(const std::vector<MVT::SimpleValueType> &VTList);
90 /// hasIntegerTypes - Return true if this TypeSet contains any integer value
94 /// hasFloatingPointTypes - Return true if this TypeSet contains an fAny or
98 /// hasVectorTypes - Return true if this TypeSet contains a vector value
102 /// getName() - Return this TypeSet as a string.
108 bool MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP);
111 return MergeInTypeInfo(EEVT::TypeSet(InVT, TP), TP);
128 bool EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP);
132 bool EnforceVectorEltTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
136 bool EnforceVectorSubVectorTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
138 bool operator!=(const TypeSet &RHS) const { return TypeVec != RHS.TypeVec; }
139 bool operator==(const TypeSet &RHS) const { return TypeVec == RHS.TypeVec; }
301 SmallVector<EEVT::TypeSet, 1> Types;
346 const SmallVectorImpl<EEVT::TypeSet> &getExtTypes() const { return Types; }
347 const EEVT::TypeSet &getExtType(unsigned ResNo) const { return Types[ResNo]; }
348 EEVT::TypeSet &getExtType(unsigned ResNo) { return Types[ResNo]; }
349 void setType(unsigned ResNo, const EEVT::TypeSet &T) { Types[ResNo] = T; }
456 bool UpdateNodeType(unsigned ResNo, const EEVT::TypeSet &InTy,
463 return Types[ResNo].MergeInTypeInfo(EEVT::TypeSet(InTy, TP), TP);