Lines Matching refs:Frag
1429 TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op); in InlinePatternFragments() local
1432 if (Frag->getNumArgs() != Children.size()) { in InlinePatternFragments()
1434 utostr(Frag->getNumArgs()) + " operands!"); in InlinePatternFragments()
1438 TreePatternNode *FragTree = Frag->getOnlyTree()->clone(); in InlinePatternFragments()
1440 TreePredicateFn PredFn(Frag); in InlinePatternFragments()
1445 if (Frag->getNumArgs()) { in InlinePatternFragments()
1448 for (unsigned i = 0, e = Frag->getNumArgs(); i != e; ++i) in InlinePatternFragments()
1449 ArgMap[Frag->getArgName(i)] = getChild(i)->InlinePatternFragments(TP); in InlinePatternFragments()
2473 for (Record *Frag : Fragments) { in ParsePatternFragments()
2474 if (OutFrags != Frag->isSubClassOf("OutPatFrag")) in ParsePatternFragments()
2477 DagInit *Tree = Frag->getValueAsDag("Fragment"); in ParsePatternFragments()
2479 (PatternFragments[Frag] = llvm::make_unique<TreePattern>( in ParsePatternFragments()
2480 Frag, Tree, !Frag->isSubClassOf("OutPatFrag"), in ParsePatternFragments()
2491 DagInit *OpsList = Frag->getValueAsDag("Operands"); in ParsePatternFragments()
2528 Record *Transform = Frag->getValueAsDef("OperandTransform"); in ParsePatternFragments()
2535 for (Record *Frag : Fragments) { in ParsePatternFragments()
2536 if (OutFrags != Frag->isSubClassOf("OutPatFrag")) in ParsePatternFragments()
2539 TreePattern &ThePat = *PatternFragments[Frag]; in ParsePatternFragments()