Lines Matching refs:Cases
423 SmallVector<std::pair<const SDNodeInfo *, Matcher *>, 8> Cases; in FactorNodes() local
428 Cases.push_back(std::pair(&COM->getOpcode(), COM->takeNext())); in FactorNodes()
432 MatcherPtr.reset(new SwitchOpcodeMatcher(std::move(Cases))); in FactorNodes()
439 SmallVector<std::pair<MVT::SimpleValueType, Matcher *>, 8> Cases; in FactorNodes() local
452 Matcher *PrevMatcher = Cases[Entry - 1].second; in FactorNodes()
460 Cases[Entry - 1].second = new ScopeMatcher(std::move(Entries)); in FactorNodes()
464 Entry = Cases.size() + 1; in FactorNodes()
465 Cases.push_back(std::pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
469 for (auto &M : Cases) { in FactorNodes()
478 if (Cases.size() != 1) { in FactorNodes()
479 MatcherPtr.reset(new SwitchTypeMatcher(std::move(Cases))); in FactorNodes()
482 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
483 MatcherPtr->setNext(Cases[0].second); in FactorNodes()