Lines Matching defs:TreePattern

43 class TreePattern;
246 TypeInfer(TreePattern &T) : TP(T) {}
340 TreePattern &TP;
388 TreePattern &TP) const;
468 bool ApplyTypeConstraints(TreePatternNode &N, TreePattern &TP) const;
475 /// PatFragRec - This is the TreePattern for the PatFrag that we
477 TreePattern *PatFragRec;
481 TreePredicateFn(TreePattern *N);
483 TreePattern *getOrigPatFragRecord() const { return PatFragRec; }
700 bool isTypeCompletelyUnknown(unsigned ResNo, TreePattern &TP) const {
831 void InlinePatternFragments(TreePattern &TP,
837 bool ApplyTypeConstraints(TreePattern &TP, bool NotRegisters);
844 TreePattern &TP);
846 TreePattern &TP);
848 TreePattern &TP);
854 TreePattern &TP);
858 bool ContainsUnresolvedType(TreePattern &TP) const;
871 /// TreePattern - Represent a pattern, used for instructions, pattern
874 class TreePattern {
914 /// TreePattern constructor - Parse the specified DagInits into the
916 TreePattern(const Record *TheRec, const ListInit *RawPat, bool isInput,
918 TreePattern(const Record *TheRec, const DagInit *Pat, bool isInput,
920 TreePattern(const Record *TheRec, TreePatternNodePtr Pat, bool isInput,
990 TreePattern &TP) {
998 TreePattern &TP) {
1006 TreePattern &TP) {
1115 std::map<const Record *, std::unique_ptr<TreePattern>, LessRecordByID>
1131 using PatternRewriterFn = std::function<void(TreePattern *)>;
1192 TreePattern *getPatternFragment(const Record *R) const {
1197 TreePattern *getPatternFragmentIfRead(const Record *R) const {
1256 void ParseOnePattern(const Record *TheDef, TreePattern &Pattern,
1257 TreePattern &Result,
1260 void AddPatternToMatch(TreePattern *Pattern, PatternToMatch &&PTM);
1262 TreePattern &I, TreePatternNodePtr Pat,
1271 TreePattern &TP) const {