Lines Matching refs:pattern
1 //===- DAGISelMatcher.h - Representation of DAG pattern matcher -*- C++ -*-===//
31 Matcher *ConvertPatternToMatcher(const PatternToMatch &Pattern,unsigned Variant,
392 /// to see if the entire pattern is capable of matching. This predicate does
652 const ComplexPattern &Pattern;
665 CheckComplexPatMatcher(const ComplexPattern &pattern, unsigned matchnumber,
667 : Matcher(CheckComplexPat), Pattern(pattern), MatchNumber(matchnumber),
670 const ComplexPattern &getPattern() const { return Pattern; }
683 return &cast<CheckComplexPatMatcher>(M)->Pattern == &Pattern &&
731 /// (which defines a chain operand) is safe to fold into a larger pattern.
842 /// matched pattern that have chain input/outputs. This node adds all input
843 /// chains of these nodes if they are not themselves a node in the pattern.
929 /// operands in the root of the pattern. The rest are appended to this node.
1002 const PatternToMatch &Pattern;
1009 int numfixedarityoperands, const PatternToMatch &pattern)
1013 Pattern(pattern) {
1016 const PatternToMatch &getPattern() const { return Pattern; }
1024 /// pattern with the newly generated nodes. This also prints a comment
1028 const PatternToMatch &Pattern;
1031 const PatternToMatch &pattern)
1033 Pattern(pattern) {}
1037 const PatternToMatch &getPattern() const { return Pattern; }
1047 &cast<CompleteMatchMatcher>(M)->Pattern == &Pattern;