Lines Matching refs:Cases
391 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; in FactorNodes() local
396 Cases.push_back(std::make_pair(&COM->getOpcode(), COM->takeNext())); in FactorNodes()
400 MatcherPtr.reset(new SwitchOpcodeMatcher(Cases)); in FactorNodes()
407 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; in FactorNodes() local
419 Matcher *PrevMatcher = Cases[Entry-1].second; in FactorNodes()
427 Cases[Entry-1].second = new ScopeMatcher(Entries); in FactorNodes()
431 Entry = Cases.size()+1; in FactorNodes()
432 Cases.push_back(std::make_pair(CTMTy, MatcherWithoutCTM)); in FactorNodes()
436 for (auto &M : Cases) { in FactorNodes()
445 if (Cases.size() != 1) { in FactorNodes()
446 MatcherPtr.reset(new SwitchTypeMatcher(Cases)); in FactorNodes()
449 MatcherPtr.reset(new CheckTypeMatcher(Cases[0].first, 0)); in FactorNodes()
450 MatcherPtr->setNext(Cases[0].second); in FactorNodes()