reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/TableGen/DAGISelMatcherEmitter.cpp
  286   switch (N->getKind()) {
  288     const ScopeMatcher *SM = cast<ScopeMatcher>(N);
  351          << cast<RecordMatcher>(N)->getResultNo() << " = "
  352          << cast<RecordMatcher>(N)->getWhatFor();
  357     OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo()
  361          << cast<RecordChildMatcher>(N)->getResultNo() << " = "
  362          << cast<RecordChildMatcher>(N)->getWhatFor();
  375     const auto *MCM = cast<MoveChildMatcher>(N);
  391        << cast<CheckSameMatcher>(N)->getMatchNumber() << ",\n";
  396        << cast<CheckChildSameMatcher>(N)->getChildNo() << "Same, "
  397        << cast<CheckChildSameMatcher>(N)->getMatchNumber() << ",\n";
  401     StringRef Pred =cast<CheckPatternPredicateMatcher>(N)->getPredicate();
  409     TreePredicateFn Pred = cast<CheckPredicateMatcher>(N)->getPredicate();
  413       unsigned NumOps = cast<CheckPredicateMatcher>(N)->getNumOperands();
  416         OS << cast<CheckPredicateMatcher>(N)->getOperandNo(i) << ", ";
  431        << cast<CheckOpcodeMatcher>(N)->getOpcode().getEnumName() << "),\n";
  439     if (const SwitchOpcodeMatcher *SOM = dyn_cast<SwitchOpcodeMatcher>(N)) {
  444       NumCases = cast<SwitchTypeMatcher>(N)->getNumCases();
  456       if (const SwitchOpcodeMatcher *SOM = dyn_cast<SwitchOpcodeMatcher>(N)) {
  460         Child = cast<SwitchTypeMatcher>(N)->getCaseMatcher(i);
  488           OS << (isa<SwitchOpcodeMatcher>(N) ?
  495       if (const SwitchOpcodeMatcher *SOM = dyn_cast<SwitchOpcodeMatcher>(N))
  498         OS << getEnumName(cast<SwitchTypeMatcher>(N)->getCaseType(i)) << ',';
  514       OS << (isa<SwitchOpcodeMatcher>(N) ?
  523     if (cast<CheckTypeMatcher>(N)->getResNo() == 0) {
  525          << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
  528     OS << "OPC_CheckTypeRes, " << cast<CheckTypeMatcher>(N)->getResNo()
  529        << ", " << getEnumName(cast<CheckTypeMatcher>(N)->getType()) << ",\n";
  534        << cast<CheckChildTypeMatcher>(N)->getChildNo() << "Type, "
  535        << getEnumName(cast<CheckChildTypeMatcher>(N)->getType()) << ",\n";
  540     unsigned Bytes=1+EmitVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS);
  545     OS << "OPC_CheckChild" << cast<CheckChildIntegerMatcher>(N)->getChildNo()
  547     unsigned Bytes=1+EmitVBRValue(cast<CheckChildIntegerMatcher>(N)->getValue(),
  554        << cast<CheckCondCodeMatcher>(N)->getCondCodeName() << ",\n";
  559        << cast<CheckChild2CondCodeMatcher>(N)->getCondCodeName() << ",\n";
  564        << cast<CheckValueTypeMatcher>(N)->getTypeName() << ",\n";
  568     const CheckComplexPatMatcher *CCPM = cast<CheckComplexPatMatcher>(N);
  588     unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS);
  595     unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS);
  613     int64_t Val = cast<EmitIntegerMatcher>(N)->getValue();
  615        << getEnumName(cast<EmitIntegerMatcher>(N)->getVT()) << ", ";
  621     const std::string &Val = cast<EmitStringIntegerMatcher>(N)->getValue();
  624       << getEnumName(cast<EmitStringIntegerMatcher>(N)->getVT()) << ", "
  630     const EmitRegisterMatcher *Matcher = cast<EmitRegisterMatcher>(N);
  654        << cast<EmitConvertToTargetMatcher>(N)->getSlot() << ",\n";
  659       cast<EmitMergeInputChainsMatcher>(N);
  674     const auto *C2RMatcher = cast<EmitCopyToRegMatcher>(N);
  690     const EmitNodeXFormMatcher *XF = cast<EmitNodeXFormMatcher>(N);
  703       if (const MorphNodeToMatcher *SNT = dyn_cast<MorphNodeToMatcher>(N)) {
  718     const EmitNodeMatcherCommon *EN = cast<EmitNodeMatcherCommon>(N);
  764       if (const MorphNodeToMatcher *SNT = dyn_cast<MorphNodeToMatcher>(N)) {
  778     const CompleteMatchMatcher *CM = cast<CompleteMatchMatcher>(N);