• Home
  • Raw
  • Download

Lines Matching refs:Frag

2065   TreePattern *Frag = TP.getDAGPatterns().getPatternFragment(Op);  in InlinePatternFragments()  local
2068 if (Frag->getNumArgs() != Children.size()) { in InlinePatternFragments()
2070 Twine(Frag->getNumArgs()) + " operands!"); in InlinePatternFragments()
2074 TreePredicateFn PredFn(Frag); in InlinePatternFragments()
2076 if (TreePredicateFn(Frag).usesOperands()) in InlinePatternFragments()
2081 for (unsigned i = 0, e = Frag->getNumArgs(); i != e; ++i) { in InlinePatternFragments()
2085 Child->addNameAsPredicateArg(ScopedName(Scope, Frag->getArgName(i))); in InlinePatternFragments()
2087 ArgMap[Frag->getArgName(i)] = Child; in InlinePatternFragments()
2091 for (auto Alternative : Frag->getTrees()) { in InlinePatternFragments()
2098 if (Frag->getNumArgs()) in InlinePatternFragments()
3149 for (Record *Frag : Fragments) { in ParsePatternFragments()
3150 if (OutFrags != Frag->isSubClassOf("OutPatFrag")) in ParsePatternFragments()
3153 ListInit *LI = Frag->getValueAsListInit("Fragments"); in ParsePatternFragments()
3155 (PatternFragments[Frag] = std::make_unique<TreePattern>( in ParsePatternFragments()
3156 Frag, LI, !Frag->isSubClassOf("OutPatFrag"), in ParsePatternFragments()
3170 DagInit *OpsList = Frag->getValueAsDag("Operands"); in ParsePatternFragments()
3202 Record *Transform = Frag->getValueAsDef("OperandTransform"); in ParsePatternFragments()
3210 for (Record *Frag : Fragments) { in ParsePatternFragments()
3211 if (OutFrags != Frag->isSubClassOf("OutPatFrag")) in ParsePatternFragments()
3214 TreePattern &ThePat = *PatternFragments[Frag]; in ParsePatternFragments()