Lines Matching refs:TreePattern
41 class TreePattern; variable
262 TypeInfer(TreePattern &T) : TP(T), ForceMode(0) {} in TypeInfer()
358 TreePattern &TP;
419 TreePattern &TP) const;
484 bool ApplyTypeConstraints(TreePatternNode *N, TreePattern &TP) const;
493 TreePattern *PatFragRec;
496 TreePredicateFn(TreePattern *N);
499 TreePattern *getOrigPatFragRecord() const { return PatFragRec; } in getOrigPatFragRecord()
712 bool isTypeCompletelyUnknown(unsigned ResNo, TreePattern &TP) const { in isTypeCompletelyUnknown()
819 TreePattern &TP,
825 bool ApplyTypeConstraints(TreePattern &TP, bool NotRegisters);
832 TreePattern &TP);
834 TreePattern &TP);
836 TreePattern &TP);
841 bool UpdateNodeTypeFromInst(unsigned ResNo, Record *Operand, TreePattern &TP);
845 bool ContainsUnresolvedType(TreePattern &TP) const;
861 class TreePattern {
904 TreePattern(Record *TheRec, ListInit *RawPat, bool isInput,
906 TreePattern(Record *TheRec, DagInit *Pat, bool isInput,
908 TreePattern(Record *TheRec, TreePatternNodePtr Pat, bool isInput,
983 TreePattern &TP) { in UpdateNodeType()
991 TreePattern &TP) { in UpdateNodeType()
999 TreePattern &TP) { in UpdateNodeType()
1150 std::map<Record *, std::unique_ptr<TreePattern>, LessRecordByID>
1166 using PatternRewriterFn = std::function<void (TreePattern *)>;
1226 TreePattern *getPatternFragment(Record *R) const { in getPatternFragment()
1231 TreePattern *getPatternFragmentIfRead(Record *R) const { in getPatternFragmentIfRead()
1238 typedef std::map<Record *, std::unique_ptr<TreePattern>,
1295 TreePattern &Pattern, TreePattern &Result,
1297 void AddPatternToMatch(TreePattern *Pattern, PatternToMatch &&PTM);
1299 TreePattern &I, TreePatternNodePtr Pat,
1308 TreePattern &TP) const { in ApplyTypeConstraints()