Lines Matching refs:TreePattern
899 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn()
1622 TreePattern &TP) const { in ApplyTypeConstraint()
1728 TreePattern &TP) { in UpdateNodeTypeFromInst()
1758 bool TreePatternNode::ContainsUnresolvedType(TreePattern &TP) const { in ContainsUnresolvedType()
1867 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) { in GetNumNodeResults()
2072 TreePattern &TP, std::vector<TreePatternNodePtr> &OutAlternatives) { in InlinePatternFragments()
2154 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments()
2223 TreePattern &TP) { in getImplicitType()
2434 static void emitTooManyOperandsError(TreePattern &TP, StringRef InstName, in emitTooManyOperandsError()
2440 static void emitTooFewOperandsError(TreePattern &TP, StringRef InstName, in emitTooFewOperandsError()
2449 bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) { in ApplyTypeConstraints()
2798 TreePattern::TreePattern(Record *TheRec, ListInit *RawPat, bool isInput, in TreePattern() function in TreePattern
2806 TreePattern::TreePattern(Record *TheRec, DagInit *Pat, bool isInput, in TreePattern() function in TreePattern
2813 TreePattern::TreePattern(Record *TheRec, TreePatternNodePtr Pat, bool isInput, in TreePattern() function in TreePattern
2820 void TreePattern::error(const Twine &Msg) { in error()
2828 void TreePattern::ComputeNamedNodes() { in ComputeNamedNodes()
2833 void TreePattern::ComputeNamedNodes(TreePatternNode &N) { in ComputeNamedNodes()
2841 TreePatternNodePtr TreePattern::ParseTreePattern(Init *TheInit, in ParseTreePattern()
3069 bool TreePattern::InferAllTypes( in InferAllTypes()
3140 void TreePattern::print(raw_ostream &OS) const { in print()
3163 void TreePattern::dump() const { print(errs()); } in dump()
3267 TreePattern *P = (PatternFragments[Frag] = std::make_unique<TreePattern>( in ParsePatternFragments()
3325 TreePattern &ThePat = *PatternFragments[Frag]; in ParsePatternFragments()
3364 TreePattern P(DefaultOps[i], DI, false, *this); in ParseDefaultOperands()
3391 static bool HandleUse(TreePattern &I, TreePatternNodePtr Pat, in HandleUse()
3446 TreePattern &I, TreePatternNodePtr Pat, in FindPatternInputsAndOutputs()
3456 TreePattern SrcPattern(I.getRecord(), Pat, true, *this); in FindPatternInputsAndOutputs()
3515 TreePattern DestPattern(I.getRecord(), Dest, false, *this); in FindPatternInputsAndOutputs()
3778 TreePattern I(CGI.TheDef, Pat, true, *this); in parseInstructionPattern()
4011 TreePattern Pattern(Instr, SrcPattern, true, *this); in ParseInstructions()
4012 TreePattern Result(Instr, ResultPattern, false, *this); in ParseInstructions()
4022 TreePattern *PatternTop) { in FindNames()
4039 void CodeGenDAGPatterns::AddPatternToMatch(TreePattern *Pattern, in AddPatternToMatch()
4214 static bool ForceArbitraryInstResultType(TreePatternNode &N, TreePattern &TP) { in ForceArbitraryInstResultType()
4260 Record *TheDef, TreePattern &Pattern, TreePattern &Result, in ParseOnePattern()
4325 TreePattern Temp(Result.getRecord(), DstShared, false, *this); in ParseOnePattern()
4371 TreePattern Pattern(CurPattern, Tree, true, *this); in ParsePatterns()
4378 TreePattern Result(CurPattern, LI, false, *this); in ParsePatterns()