Lines Matching refs:OptionsToMatch
225 SmallVector<Matcher *, 32> OptionsToMatch; in FactorNodes() local
235 OptionsToMatch.push_back(SM->takeChild(j)); in FactorNodes()
237 OptionsToMatch.push_back(Child.release()); in FactorNodes()
243 auto E = OptionsToMatch.end(); in FactorNodes()
244 for (auto I = OptionsToMatch.begin(); I != E; ++I) { in FactorNodes()
363 if (E != OptionsToMatch.end()) in FactorNodes()
364 OptionsToMatch.erase(E, OptionsToMatch.end()); in FactorNodes()
368 if (OptionsToMatch.size() == 1) { in FactorNodes()
369 MatcherPtr.reset(OptionsToMatch[0]); in FactorNodes()
373 if (OptionsToMatch.empty()) { in FactorNodes()
384 for (unsigned i = 0, e = OptionsToMatch.size(); i != e; ++i) { in FactorNodes()
386 if (AllOpcodeChecks && !isa<CheckOpcodeMatcher>(OptionsToMatch[i])) { in FactorNodes()
390 OptionsToMatch[i]->dump(); in FactorNodes()
399 FindNodeWithKind(OptionsToMatch[i], Matcher::CheckType)); in FactorNodes()
408 !CTM->canMoveBefore(OptionsToMatch[i])) { in FactorNodes()
412 OptionsToMatch[i]->dump(); in FactorNodes()
424 for (unsigned i = 0, e = OptionsToMatch.size(); i != e; ++i) { in FactorNodes()
425 CheckOpcodeMatcher *COM = cast<CheckOpcodeMatcher>(OptionsToMatch[i]); in FactorNodes()
440 for (unsigned i = 0, e = OptionsToMatch.size(); i != e; ++i) { in FactorNodes()
441 Matcher *M = FindNodeWithKind(OptionsToMatch[i], Matcher::CheckType); in FactorNodes()
445 Matcher *MatcherWithoutCTM = OptionsToMatch[i]->unlinkNode(CTM); in FactorNodes()
489 Scope->setNumChildren(OptionsToMatch.size()); in FactorNodes()
490 for (unsigned i = 0, e = OptionsToMatch.size(); i != e; ++i) in FactorNodes()
491 Scope->resetChild(i, OptionsToMatch[i]); in FactorNodes()