Lines Matching refs:TreePattern
48 EEVT::TypeSet::TypeSet(MVT::SimpleValueType VT, TreePattern &TP) { in TypeSet()
78 bool EEVT::TypeSet::FillWithPossibleTypes(TreePattern &TP, in FillWithPossibleTypes()
154 bool EEVT::TypeSet::MergeInTypeInfo(const EEVT::TypeSet &InVT, TreePattern &TP){ in MergeInTypeInfo()
229 bool EEVT::TypeSet::EnforceInteger(TreePattern &TP) { in EnforceInteger()
255 bool EEVT::TypeSet::EnforceFloatingPoint(TreePattern &TP) { in EnforceFloatingPoint()
281 bool EEVT::TypeSet::EnforceScalar(TreePattern &TP) { in EnforceScalar()
308 bool EEVT::TypeSet::EnforceVector(TreePattern &TP) { in EnforceVector()
337 bool EEVT::TypeSet::EnforceSmallerThan(EEVT::TypeSet &Other, TreePattern &TP) { in EnforceSmallerThan()
455 TreePattern &TP) { in EnforceVectorEltTypeIs()
483 TreePattern &TP) { in EnforceVectorEltTypeIs()
514 TreePattern &TP) { in EnforceVectorSubVectorTypeIs()
595 TreePattern &TP) { in EnforceVectorSameNumElts()
652 TreePattern &TP) { in EnforceSameSize()
751 TreePredicateFn::TreePredicateFn(TreePattern *N) : PatFragRec(N) { in TreePredicateFn()
989 TreePattern &TP) const { in ApplyTypeConstraint()
1100 TreePattern &TP) { in UpdateNodeTypeFromInst()
1229 if (TreePattern *PFRec = CDP.getPatternFragmentIfRead(Operator)) in GetNumNodeResults()
1404 TreePatternNode *TreePatternNode::InlinePatternFragments(TreePattern &TP) { in InlinePatternFragments()
1429 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments()
1485 TreePattern &TP) { in getImplicitType()
1681 static void emitTooManyOperandsError(TreePattern &TP, in emitTooManyOperandsError()
1689 static void emitTooFewOperandsError(TreePattern &TP, in emitTooFewOperandsError()
1699 bool TreePatternNode::ApplyTypeConstraints(TreePattern &TP, bool NotRegisters) { in ApplyTypeConstraints()
2045 TreePattern::TreePattern(Record *TheRec, ListInit *RawPat, bool isInput, in TreePattern() function in TreePattern
2052 TreePattern::TreePattern(Record *TheRec, DagInit *Pat, bool isInput, in TreePattern() function in TreePattern
2058 TreePattern::TreePattern(Record *TheRec, TreePatternNode *Pat, bool isInput, in TreePattern() function in TreePattern
2064 void TreePattern::error(const Twine &Msg) { in error()
2072 void TreePattern::ComputeNamedNodes() { in ComputeNamedNodes()
2077 void TreePattern::ComputeNamedNodes(TreePatternNode *N) { in ComputeNamedNodes()
2086 TreePatternNode *TreePattern::ParseTreePattern(Init *TheInit, StringRef OpName){ in ParseTreePattern()
2292 bool TreePattern::
2364 void TreePattern::print(raw_ostream &OS) const { in print()
2386 void TreePattern::dump() const { print(errs()); } in dump()
2478 TreePattern *P = in ParsePatternFragments()
2479 (PatternFragments[Frag] = llvm::make_unique<TreePattern>( in ParsePatternFragments()
2539 TreePattern &ThePat = *PatternFragments[Frag]; in ParsePatternFragments()
2572 TreePattern P(DefaultOps[i], DI, false, *this); in ParseDefaultOperands()
2599 static bool HandleUse(TreePattern *I, TreePatternNode *Pat, in HandleUse()
2650 FindPatternInputsAndOutputs(TreePattern *I, TreePatternNode *Pat, in FindPatternInputsAndOutputs()
2752 void Analyze(const TreePattern *Pat) { in Analyze()
2954 TreePattern *I = new TreePattern(CGI.TheDef, Pat, true, *this); in parseInstructionPattern()
3105 TreePattern Temp(I->getRecord(), ResultPattern, false, *this); in parseInstructionPattern()
3165 TreePattern *I = TheInst.getPattern(); in ParseInstructions()
3196 TreePattern *PatternTop) { in FindNames()
3213 void CodeGenDAGPatterns::AddPatternToMatch(TreePattern *Pattern, in AddPatternToMatch()
3270 const TreePattern *Pattern = getInstruction(InstInfo.TheDef).getPattern(); in InferInstructionFlags()
3407 static bool ForceArbitraryInstResultType(TreePatternNode *N, TreePattern &TP) { in ForceArbitraryInstResultType()
3443 TreePattern *Pattern = new TreePattern(CurPattern, Tree, true, *this); in ParsePatterns()
3452 TreePattern Result(CurPattern, LI, false, *this); in ParsePatterns()
3544 TreePattern Temp(Result.getRecord(), DstPattern, false, *this); in ParsePatterns()