Lines Matching refs:Cases
475 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; variable
479 : Matcher(SwitchOpcode), Cases(cases, cases+numcases) {} in SwitchOpcodeMatcher()
485 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
487 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; } in getCaseOpcode()
488 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
489 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()
529 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; variable
533 : Matcher(SwitchType), Cases(cases, cases+numcases) {} in SwitchTypeMatcher()
539 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
541 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
542 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
543 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()