Home | History | Annotate | Download | only in TableGen

Lines Matching refs:cases

470 cases,
474 SmallVector<std::pair<const SDNodeInfo*, Matcher*>, 8> Cases;
476 SwitchOpcodeMatcher(const std::pair<const SDNodeInfo*, Matcher*> *cases,
478 : Matcher(SwitchOpcode), Cases(cases, cases+numcases) {}
484 unsigned getNumCases() const { return Cases.size(); }
486 const SDNodeInfo &getCaseOpcode(unsigned i) const { return *Cases[i].first; }
487 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; }
488 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; }
524 /// to one matcher per case. If the type doesn't match any of the cases,
528 SmallVector<std::pair<MVT::SimpleValueType, Matcher*>, 8> Cases;
530 SwitchTypeMatcher(const std::pair<MVT::SimpleValueType, Matcher*> *cases,
532 : Matcher(SwitchType), Cases(cases, cases+numcases) {}
538 unsigned getNumCases() const { return Cases.size(); }
540 MVT::SimpleValueType getCaseType(unsigned i) const { return Cases[i].first; }
541 Matcher *getCaseMatcher(unsigned i) { return Cases[i].second; }
542 const Matcher *getCaseMatcher(unsigned i) const { return Cases[i].second; }