Lines Matching refs:Cases
474 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases; variable
478 : Matcher(SwitchOpcode), Cases(cases, cases+numcases) {} in SwitchOpcodeMatcher()
484 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
486 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; } in getCaseOpcode()
487 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
488 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()
528 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases; variable
532 : Matcher(SwitchType), Cases(cases, cases+numcases) {} in SwitchTypeMatcher()
538 unsigned getNumCases() const { return Cases.size(); } in getNumCases()
540 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; } in getCaseType()
541 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; } in getCaseMatcher()
542 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; } in getCaseMatcher()