Lines Matching refs:Cases
394 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; in FactorNodes() local
399 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->takeNext())); in FactorNodes()
403 MatcherPtr.reset(new SwitchOpcodeMatcher(Cases)); in FactorNodes()
410 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes() local
423 Matcher *PrevMatcher = Cases[Entry-1].second; in FactorNodes()
431 Cases[Entry-1].second = new ScopeMatcher(Entries); in FactorNodes()
435 Entry = Cases.size()+1; in FactorNodes()
436 Cases.push_back(std::make_pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
440 for (auto &M : Cases) { in FactorNodes()
449 if (Cases.size() != 1) { in FactorNodes()
450 MatcherPtr.reset(new SwitchTypeMatcher(Cases)); in FactorNodes()
453 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
454 MatcherPtr->setNext(Cases[0].second); in FactorNodes()