Home | History | Annotate | Download | only in TableGen

Lines Matching refs:TreePattern

34   class TreePattern;
61 TypeSet(MVT::SimpleValueType VT, TreePattern &TP);
113 bool MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP);
115 bool MergeInTypeInfo(MVT::SimpleValueType InVT, TreePattern &TP) {
120 bool EnforceInteger(TreePattern &TP);
123 bool EnforceFloatingPoint(TreePattern &TP);
126 bool EnforceScalar(TreePattern &TP);
129 bool EnforceVector(TreePattern &TP);
133 bool EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP);
137 bool EnforceVectorEltTypeIs(EEVT::TypeSet &VT, TreePattern &TP);
141 bool EnforceVectorEltTypeIs(MVT::SimpleValueType 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);
161 bool FillWithPossibleTypes(TreePattern &TP,
217 TreePattern &TP) const;
260 bool ApplyTypeConstraints(TreePatternNode *N, TreePattern &TP) const {
272 /// PatFragRec - This is the TreePattern for the PatFrag that we
274 TreePattern *PatFragRec;
277 TreePredicateFn(TreePattern *N);
280 TreePattern *getOrigPatFragRecord() const { return PatFragRec; }
476 TreePatternNode *InlinePatternFragments(TreePattern &TP);
481 bool ApplyTypeConstraints(TreePattern &TP, bool NotRegisters);
488 TreePattern &TP) {
493 TreePattern &TP) {
500 bool UpdateNodeTypeFromInst(unsigned ResNo, Record *Operand, TreePattern &TP);
524 /// TreePattern - Represent a pattern, used for instructions, pattern
527 class TreePattern {
565 /// TreePattern constructor - Parse the specified DagInits into the
567 TreePattern(Record *TheRec, ListInit *RawPat, bool isInput,
569 TreePattern(Record *TheRec, DagInit *Pat, bool isInput,
571 TreePattern(Record *TheRec, TreePatternNode *Pat, bool isInput,
644 TreePattern *Pattern;
650 DAGInstruction(TreePattern *TP,
657 TreePattern *getPattern() const { return Pattern; }
725 std::map<Record *, std::unique_ptr<TreePattern>, LessRecordByID>
799 TreePattern *getPatternFragment(Record *R) const {
803 TreePattern *getPatternFragmentIfRead(Record *R) const {
809 typedef std::map<Record *, std::unique_ptr<TreePattern>,
854 void AddPatternToMatch(TreePattern *Pattern, const PatternToMatch &PTM);
855 void FindPatternInputsAndOutputs(TreePattern *I, TreePatternNode *Pat,