Lines Matching refs:Cases
424 SmallVector<std::pair<const SDNodeInfo *, Matcher *>, 8> Cases; in FactorNodes() local
429 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->takeNext())); in FactorNodes()
433 MatcherPtr.reset(new SwitchOpcodeMatcher(std::move(Cases))); in FactorNodes()
440 SmallVector<std::pair<MVT::SimpleValueType, Matcher *>, 8> Cases; in FactorNodes() local
453 Matcher *PrevMatcher = Cases[Entry - 1].second; in FactorNodes()
461 Cases[Entry - 1].second = new ScopeMatcher(std::move(Entries)); in FactorNodes()
465 Entry = Cases.size() + 1; in FactorNodes()
466 Cases.push_back(std::make_pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
470 for (auto &M : Cases) { in FactorNodes()
479 if (Cases.size() != 1) { in FactorNodes()
480 MatcherPtr.reset(new SwitchTypeMatcher(std::move(Cases))); in FactorNodes()
483 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
484 MatcherPtr->setNext(Cases[0].second); in FactorNodes()