Lines Matching refs:TreePattern
864 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn()
1541 TreePattern &TP) const { in ApplyTypeConstraint()
1651 TreePattern &TP) { in UpdateNodeTypeFromInst()
1681 bool TreePatternNode::ContainsUnresolvedType(TreePattern &TP) const { in ContainsUnresolvedType()
1790 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) { in GetNumNodeResults()
1986 TreePatternNodePtr T, TreePattern &TP, in InlinePatternFragments()
2065 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments()
2132 TreePattern &TP) { in getImplicitType()
2345 static void emitTooManyOperandsError(TreePattern &TP, in emitTooManyOperandsError()
2353 static void emitTooFewOperandsError(TreePattern &TP, in emitTooFewOperandsError()
2363 bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) { in ApplyTypeConstraints()
2691 TreePattern::TreePattern(Record *TheRec, ListInit *RawPat, bool isInput, in TreePattern() function in TreePattern
2699 TreePattern::TreePattern(Record *TheRec, DagInit *Pat, bool isInput, in TreePattern() function in TreePattern
2706 TreePattern::TreePattern(Record *TheRec, TreePatternNodePtr Pat, bool isInput, in TreePattern() function in TreePattern
2713 void TreePattern::error(const Twine &Msg) { in error()
2721 void TreePattern::ComputeNamedNodes() { in ComputeNamedNodes()
2726 void TreePattern::ComputeNamedNodes(TreePatternNode *N) { in ComputeNamedNodes()
2734 TreePatternNodePtr TreePattern::ParseTreePattern(Init *TheInit, in ParseTreePattern()
2958 bool TreePattern::
3030 void TreePattern::print(raw_ostream &OS) const { in print()
3052 void TreePattern::dump() const { print(errs()); } in dump()
3154 TreePattern *P = in ParsePatternFragments()
3155 (PatternFragments[Frag] = std::make_unique<TreePattern>( in ParsePatternFragments()
3214 TreePattern &ThePat = *PatternFragments[Frag]; in ParsePatternFragments()
3253 TreePattern P(DefaultOps[i], DI, false, *this); in ParseDefaultOperands()
3280 static bool HandleUse(TreePattern &I, TreePatternNodePtr Pat, in HandleUse()
3335 TreePattern &I, TreePatternNodePtr Pat, in FindPatternInputsAndOutputs()
3345 TreePattern SrcPattern(I.getRecord(), Pat, true, *this); in FindPatternInputsAndOutputs()
3403 TreePattern DestPattern(I.getRecord(), Dest, false, *this); in FindPatternInputsAndOutputs()
3653 TreePattern I(CGI.TheDef, Pat, true, *this); in parseInstructionPattern()
3878 TreePattern Pattern(Instr, SrcPattern, true, *this); in ParseInstructions()
3879 TreePattern Result(Instr, ResultPattern, false, *this); in ParseInstructions()
3889 TreePattern *PatternTop) { in FindNames()
3920 void CodeGenDAGPatterns::AddPatternToMatch(TreePattern *Pattern, in AddPatternToMatch()
4098 static bool ForceArbitraryInstResultType(TreePatternNode *N, TreePattern &TP) { in ForceArbitraryInstResultType()
4144 TreePattern &Pattern, TreePattern &Result, in ParseOnePattern()
4211 TreePattern Temp(Result.getRecord(), DstShared, false, *this); in ParseOnePattern()
4247 TreePattern Pattern(CurPattern, Tree, true, *this); in ParsePatterns()
4253 TreePattern Result(CurPattern, LI, false, *this); in ParsePatterns()