Lines Matching full:os

88                            unsigned StartIdx, raw_ostream &OS);
90 unsigned SizeMatcherList(Matcher *N, raw_ostream &OS);
92 void EmitPredicateFunctions(raw_ostream &OS);
94 void EmitHistogram(const Matcher *N, raw_ostream &OS);
96 void EmitPatternMatchTable(raw_ostream &OS);
100 StringRef Decl, raw_ostream &OS);
102 unsigned SizeMatcher(Matcher *N, raw_ostream &OS);
105 raw_ostream &OS);
186 static unsigned EmitVBRValue(uint64_t Val, raw_ostream &OS) { in EmitVBRValue() argument
188 OS << Val << ", "; in EmitVBRValue()
195 OS << (Val&127) << "|128,"; in EmitVBRValue()
199 OS << Val; in EmitVBRValue()
201 OS << "/*" << InVal << "*/"; in EmitVBRValue()
202 OS << ", "; in EmitVBRValue()
209 static unsigned EmitSignedVBRValue(uint64_t Val, raw_ostream &OS) { in EmitSignedVBRValue() argument
215 return EmitVBRValue(Val, OS); in EmitSignedVBRValue()
241 SizeMatcherList(Matcher *N, raw_ostream &OS) { in SizeMatcherList() argument
244 Size += SizeMatcher(N, OS); in SizeMatcherList()
254 SizeMatcher(Matcher *N, raw_ostream &OS) { in SizeMatcher() argument
266 const unsigned ChildSize = SizeMatcherList(SM->getChild(i), OS); in SizeMatcher()
294 const unsigned ChildSize = SizeMatcherList(Child, OS); in SizeMatcher()
305 return EmitMatcher(N, 0, Idx, OS); in SizeMatcher()
310 static void BeginEmitFunction(raw_ostream &OS, StringRef RetType, in BeginEmitFunction() argument
312 OS << "#ifdef GET_DAGISEL_DECL\n"; in BeginEmitFunction()
313 OS << RetType << ' ' << Decl; in BeginEmitFunction()
315 OS << " override"; in BeginEmitFunction()
316 OS << ";\n" in BeginEmitFunction()
319 OS << RetType << " DAGISEL_CLASS_COLONCOLON " << Decl << "\n"; in BeginEmitFunction()
321 OS << "#if DAGISEL_INLINE\n" in BeginEmitFunction()
327 static void EndEmitFunction(raw_ostream &OS) { in EndEmitFunction() argument
328 OS << "#endif // GET_DAGISEL_BODY\n\n"; in EndEmitFunction()
331 void MatcherTableEmitter::EmitPatternMatchTable(raw_ostream &OS) { in EmitPatternMatchTable() argument
338 BeginEmitFunction(OS, "StringRef", "getPatternForIndex(unsigned Index)", in EmitPatternMatchTable()
340 OS << "{\n"; in EmitPatternMatchTable()
341 OS << "static const char *PATTERN_MATCH_TABLE[] = {\n"; in EmitPatternMatchTable()
344 OS << "\"" << It.first << "\",\n"; in EmitPatternMatchTable()
347 OS << "\n};"; in EmitPatternMatchTable()
348 OS << "\nreturn StringRef(PATTERN_MATCH_TABLE[Index]);"; in EmitPatternMatchTable()
349 OS << "\n}\n"; in EmitPatternMatchTable()
350 EndEmitFunction(OS); in EmitPatternMatchTable()
352 BeginEmitFunction(OS, "StringRef", "getIncludePathForIndex(unsigned Index)", in EmitPatternMatchTable()
354 OS << "{\n"; in EmitPatternMatchTable()
355 OS << "static const char *INCLUDE_PATH_TABLE[] = {\n"; in EmitPatternMatchTable()
358 OS << "\"" << It << "\",\n"; in EmitPatternMatchTable()
361 OS << "\n};"; in EmitPatternMatchTable()
362 OS << "\nreturn StringRef(INCLUDE_PATH_TABLE[Index]);"; in EmitPatternMatchTable()
363 OS << "\n}\n"; in EmitPatternMatchTable()
364 EndEmitFunction(OS); in EmitPatternMatchTable()
371 raw_ostream &OS) { in EmitMatcher() argument
372 OS.indent(Indent); in EmitMatcher()
382 OS << "OPC_Scope, "; in EmitMatcher()
386 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
387 OS.indent(Indent) << "/*Scope*/ "; in EmitMatcher()
389 OS.indent(Indent); in EmitMatcher()
393 unsigned VBRSize = EmitVBRValue(ChildSize, OS); in EmitMatcher()
395 OS << "/*->" << CurrentIdx + VBRSize + ChildSize << "*/"; in EmitMatcher()
397 OS << " // " << SM->getNumChildren() << " children in Scope"; in EmitMatcher()
399 OS << '\n'; in EmitMatcher()
402 CurrentIdx + VBRSize, OS); in EmitMatcher()
410 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
411 OS.indent(Indent) << "0, "; in EmitMatcher()
413 OS << "/*End of Scope*/"; in EmitMatcher()
414 OS << '\n'; in EmitMatcher()
419 OS << "OPC_RecordNode,"; in EmitMatcher()
421 OS << " // #" in EmitMatcher()
424 OS << '\n'; in EmitMatcher()
428 OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo() in EmitMatcher()
431 OS << " // #" in EmitMatcher()
434 OS << '\n'; in EmitMatcher()
438 OS << "OPC_RecordMemRef,\n"; in EmitMatcher()
442 OS << "OPC_CaptureGlueInput,\n"; in EmitMatcher()
448 OS << "OPC_MoveChild"; in EmitMatcher()
451 OS << ", "; in EmitMatcher()
452 OS << MCM->getChildNo() << ",\n"; in EmitMatcher()
457 OS << "OPC_MoveParent,\n"; in EmitMatcher()
461 OS << "OPC_CheckSame, " in EmitMatcher()
466 OS << "OPC_CheckChild" in EmitMatcher()
473 OS << "OPC_CheckPatternPredicate, " << getPatternPredicate(Pred) << ','; in EmitMatcher()
475 OS << " // " << Pred; in EmitMatcher()
476 OS << '\n'; in EmitMatcher()
485 OS << "OPC_CheckPredicateWithOperands, " << NumOps << "/*#Ops*/, "; in EmitMatcher()
487 OS << cast<CheckPredicateMatcher>(N)->getOperandNo(i) << ", "; in EmitMatcher()
490 OS << "OPC_CheckPredicate, "; in EmitMatcher()
493 OS << getNodePredicate(Pred) << ','; in EmitMatcher()
495 OS << " // " << Pred.getFnName(); in EmitMatcher()
496 OS << '\n'; in EmitMatcher()
501 OS << "OPC_CheckOpcode, TARGET_VAL(" in EmitMatcher()
511 OS << "OPC_SwitchOpcode "; in EmitMatcher()
514 OS << "OPC_SwitchType "; in EmitMatcher()
519 OS << "/*" << NumCases << " cases */"; in EmitMatcher()
520 OS << ", "; in EmitMatcher()
537 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
538 OS.indent(Indent); in EmitMatcher()
540 OS << (isa<SwitchOpcodeMatcher>(N) ? in EmitMatcher()
545 CurrentIdx += EmitVBRValue(ChildSize, OS) + IdxSize; in EmitMatcher()
547 OS << "TARGET_VAL(" << SOM->getCaseOpcode(i).getEnumName() << "),"; in EmitMatcher()
549 OS << getEnumName(cast<SwitchTypeMatcher>(N)->getCaseType(i)) << ','; in EmitMatcher()
551 OS << "// ->" << CurrentIdx + ChildSize; in EmitMatcher()
552 OS << '\n'; in EmitMatcher()
554 ChildSize = EmitMatcherList(Child, Indent+1, CurrentIdx, OS); in EmitMatcher()
562 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcher()
563 OS.indent(Indent) << "0,"; in EmitMatcher()
565 OS << (isa<SwitchOpcodeMatcher>(N) ? in EmitMatcher()
568 OS << '\n'; in EmitMatcher()
574 OS << "OPC_CheckType, " in EmitMatcher()
578 OS << "OPC_CheckTypeRes, " << cast<CheckTypeMatcher>(N)->getResNo() in EmitMatcher()
583 OS << "OPC_CheckChild" in EmitMatcher()
589 OS << "OPC_CheckInteger, "; in EmitMatcher()
591 1 + EmitSignedVBRValue(cast<CheckIntegerMatcher>(N)->getValue(), OS); in EmitMatcher()
592 OS << '\n'; in EmitMatcher()
596 OS << "OPC_CheckChild" << cast<CheckChildIntegerMatcher>(N)->getChildNo() in EmitMatcher()
599 cast<CheckChildIntegerMatcher>(N)->getValue(), OS); in EmitMatcher()
600 OS << '\n'; in EmitMatcher()
604 OS << "OPC_CheckCondCode, ISD::" in EmitMatcher()
609 OS << "OPC_CheckChild2CondCode, ISD::" in EmitMatcher()
614 OS << "OPC_CheckValueType, MVT::" in EmitMatcher()
621 OS << "OPC_CheckComplexPat, /*CP*/" << getComplexPat(Pattern) << ", /*#*/" in EmitMatcher()
625 OS << " // " << Pattern.getSelectFunc(); in EmitMatcher()
626 OS << ":$" << CCPM->getName(); in EmitMatcher()
628 OS << " #" << CCPM->getFirstResult()+i; in EmitMatcher()
631 OS << " + chain result"; in EmitMatcher()
633 OS << '\n'; in EmitMatcher()
638 OS << "OPC_CheckAndImm, "; in EmitMatcher()
639 unsigned Bytes=1+EmitVBRValue(cast<CheckAndImmMatcher>(N)->getValue(), OS); in EmitMatcher()
640 OS << '\n'; in EmitMatcher()
645 OS << "OPC_CheckOrImm, "; in EmitMatcher()
646 unsigned Bytes = 1+EmitVBRValue(cast<CheckOrImmMatcher>(N)->getValue(), OS); in EmitMatcher()
647 OS << '\n'; in EmitMatcher()
652 OS << "OPC_CheckFoldableChainNode,\n"; in EmitMatcher()
656 OS << "OPC_CheckImmAllOnesV,\n"; in EmitMatcher()
660 OS << "OPC_CheckImmAllZerosV,\n"; in EmitMatcher()
665 OS << "OPC_EmitInteger, " in EmitMatcher()
667 unsigned Bytes = 2 + EmitSignedVBRValue(Val, OS); in EmitMatcher()
668 OS << '\n'; in EmitMatcher()
674 OS << "OPC_EmitStringInteger, " in EmitMatcher()
686 OS << "OPC_EmitRegister2, " << getEnumName(Matcher->getVT()) << ", "; in EmitMatcher()
687 OS << "TARGET_VAL(" << getQualifiedName(Reg->TheDef) << "),\n"; in EmitMatcher()
690 OS << "OPC_EmitRegister, " << getEnumName(Matcher->getVT()) << ", "; in EmitMatcher()
692 OS << getQualifiedName(Reg->TheDef) << ",\n"; in EmitMatcher()
694 OS << "0 "; in EmitMatcher()
696 OS << "/*zero_reg*/"; in EmitMatcher()
697 OS << ",\n"; in EmitMatcher()
704 OS << "OPC_EmitConvertToTarget, " in EmitMatcher()
714 OS << "OPC_EmitMergeInputChains1_" << MN->getNode(0) << ",\n"; in EmitMatcher()
718 OS << "OPC_EmitMergeInputChains, " << MN->getNumNodes() << ", "; in EmitMatcher()
720 OS << MN->getNode(i) << ", "; in EmitMatcher()
721 OS << '\n'; in EmitMatcher()
730 OS << "OPC_EmitCopyToReg2, " << C2RMatcher->getSrcSlot() << ", " in EmitMatcher()
734 OS << "OPC_EmitCopyToReg, " << C2RMatcher->getSrcSlot() << ", " in EmitMatcher()
742 OS << "OPC_EmitNodeXForm, " << getNodeXFormID(XF->getNodeXForm()) << ", " in EmitMatcher()
745 OS << " // "<<XF->getNodeXForm()->getName(); in EmitMatcher()
746 OS <<'\n'; in EmitMatcher()
756 OS << "OPC_Coverage, "; in EmitMatcher()
765 OS << "TARGET_VAL(" << Offset << "),\n"; in EmitMatcher()
766 OS.indent(FullIndexWidth + Indent); in EmitMatcher()
770 OS << (isa<EmitNodeMatcher>(EN) ? "OPC_EmitNode" : "OPC_MorphNodeTo"); in EmitMatcher()
773 OS << EN->getNumVTs(); in EmitMatcher()
775 OS << ", TARGET_VAL(" << EN->getOpcodeName() << "), 0"; in EmitMatcher()
777 if (EN->hasChain()) OS << "|OPFL_Chain"; in EmitMatcher()
778 if (EN->hasInFlag()) OS << "|OPFL_GlueInput"; in EmitMatcher()
779 if (EN->hasOutFlag()) OS << "|OPFL_GlueOutput"; in EmitMatcher()
780 if (EN->hasMemRefs()) OS << "|OPFL_MemRefs"; in EmitMatcher()
782 OS << "|OPFL_Variadic" << EN->getNumFixedArityOperands(); in EmitMatcher()
783 OS << ",\n"; in EmitMatcher()
785 OS.indent(FullIndexWidth + Indent+4); in EmitMatcher()
787 OS << EN->getNumVTs(); in EmitMatcher()
789 OS << "/*#VTs*/"; in EmitMatcher()
790 OS << ", "; in EmitMatcher()
793 OS << getEnumName(EN->getVT(i)) << ", "; in EmitMatcher()
795 OS << EN->getNumOperands(); in EmitMatcher()
797 OS << "/*#Ops*/"; in EmitMatcher()
798 OS << ", "; in EmitMatcher()
801 NumOperandBytes += EmitVBRValue(EN->getOperand(i), OS); in EmitMatcher()
807 OS << " // Results ="; in EmitMatcher()
810 OS << " #" << First+i; in EmitMatcher()
813 OS << '\n'; in EmitMatcher()
816 OS.indent(FullIndexWidth + Indent) << "// Src: " in EmitMatcher()
819 OS.indent(FullIndexWidth + Indent) << "// Dst: " in EmitMatcher()
823 OS << '\n'; in EmitMatcher()
833 OS << "OPC_Coverage, "; in EmitMatcher()
842 OS << "TARGET_VAL(" << Offset << "),\n"; in EmitMatcher()
843 OS.indent(FullIndexWidth + Indent); in EmitMatcher()
845 OS << "OPC_CompleteMatch, " << CM->getNumResults() << ", "; in EmitMatcher()
848 NumResultBytes += EmitVBRValue(CM->getResult(i), OS); in EmitMatcher()
849 OS << '\n'; in EmitMatcher()
851 OS.indent(FullIndexWidth + Indent) << " // Src: " in EmitMatcher()
854 OS.indent(FullIndexWidth + Indent) << " // Dst: " in EmitMatcher()
857 OS << '\n'; in EmitMatcher()
868 raw_ostream &OS) { in EmitMatcherList() argument
872 OS << "/*" << format_decimal(CurrentIdx, IndexWidth) << "*/"; in EmitMatcherList()
873 unsigned MatcherSize = EmitMatcher(N, Indent, CurrentIdx, OS); in EmitMatcherList()
886 raw_ostream &OS) { in EmitNodePredicatesFunction() argument
890 BeginEmitFunction(OS, "bool", Decl, true/*AddOverride*/); in EmitNodePredicatesFunction()
891 OS << "{\n"; in EmitNodePredicatesFunction()
892 OS << " switch (PredNo) {\n"; in EmitNodePredicatesFunction()
893 OS << " default: llvm_unreachable(\"Invalid predicate in table?\");\n"; in EmitNodePredicatesFunction()
900 OS << " case " << i << ": {\n"; in EmitNodePredicatesFunction()
902 OS << " // " << TreePredicateFn(SimilarPred).getFnName() << '\n'; in EmitNodePredicatesFunction()
903 OS << PredFnCodeStr << "\n }\n"; in EmitNodePredicatesFunction()
905 OS << " }\n"; in EmitNodePredicatesFunction()
906 OS << "}\n"; in EmitNodePredicatesFunction()
907 EndEmitFunction(OS); in EmitNodePredicatesFunction()
910 void MatcherTableEmitter::EmitPredicateFunctions(raw_ostream &OS) { in EmitPredicateFunctions() argument
913 BeginEmitFunction(OS, "bool", in EmitPredicateFunctions()
915 OS << "{\n"; in EmitPredicateFunctions()
916 OS << " switch (PredNo) {\n"; in EmitPredicateFunctions()
917 OS << " default: llvm_unreachable(\"Invalid predicate in table?\");\n"; in EmitPredicateFunctions()
919 OS << " case " << i << ": return " << PatternPredicates[i] << ";\n"; in EmitPredicateFunctions()
920 OS << " }\n"; in EmitPredicateFunctions()
921 OS << "}\n"; in EmitPredicateFunctions()
922 EndEmitFunction(OS); in EmitPredicateFunctions()
928 OS); in EmitPredicateFunctions()
933 OS); in EmitPredicateFunctions()
938 BeginEmitFunction(OS, "bool", in EmitPredicateFunctions()
943 OS << "{\n"; in EmitPredicateFunctions()
944 OS << " unsigned NextRes = Result.size();\n"; in EmitPredicateFunctions()
945 OS << " switch (PatternNo) {\n"; in EmitPredicateFunctions()
946 OS << " default: llvm_unreachable(\"Invalid pattern # in table?\");\n"; in EmitPredicateFunctions()
954 OS << " case " << i << ":\n"; in EmitPredicateFunctions()
956 OS << " {\n"; in EmitPredicateFunctions()
957 OS << " Result.resize(NextRes+" << NumOps << ");\n"; in EmitPredicateFunctions()
959 OS << " bool Succeeded = " << P.getSelectFunc(); in EmitPredicateFunctions()
961 OS << " return " << P.getSelectFunc(); in EmitPredicateFunctions()
963 OS << "("; in EmitPredicateFunctions()
967 OS << "Root, "; in EmitPredicateFunctions()
972 OS << "Parent, "; in EmitPredicateFunctions()
974 OS << "N"; in EmitPredicateFunctions()
976 OS << ", Result[NextRes+" << i << "].first"; in EmitPredicateFunctions()
977 OS << ");\n"; in EmitPredicateFunctions()
979 OS << " if (Succeeded)\n"; in EmitPredicateFunctions()
980 OS << " dbgs() << \"\\nCOMPLEX_PATTERN: " << P.getSelectFunc() in EmitPredicateFunctions()
982 OS << " return Succeeded;\n"; in EmitPredicateFunctions()
983 OS << " }\n"; in EmitPredicateFunctions()
986 OS << " }\n"; in EmitPredicateFunctions()
987 OS << "}\n"; in EmitPredicateFunctions()
988 EndEmitFunction(OS); in EmitPredicateFunctions()
995 BeginEmitFunction(OS, "SDValue", in EmitPredicateFunctions()
997 OS << "{\n"; in EmitPredicateFunctions()
998 OS << " switch (XFormNo) {\n"; in EmitPredicateFunctions()
999 OS << " default: llvm_unreachable(\"Invalid xform # in table?\");\n"; in EmitPredicateFunctions()
1009 OS << " case " << i << ": { "; in EmitPredicateFunctions()
1011 OS << "// " << NodeXForms[i]->getName(); in EmitPredicateFunctions()
1012 OS << '\n'; in EmitPredicateFunctions()
1017 OS << " SDNode *N = V.getNode();\n"; in EmitPredicateFunctions()
1019 OS << " " << ClassName << " *N = cast<" << ClassName in EmitPredicateFunctions()
1021 OS << Code << "\n }\n"; in EmitPredicateFunctions()
1023 OS << " }\n"; in EmitPredicateFunctions()
1024 OS << "}\n"; in EmitPredicateFunctions()
1025 EndEmitFunction(OS); in EmitPredicateFunctions()
1076 raw_ostream &OS) { in EmitHistogram() argument
1080 OS << " // Opcode Histogram:\n"; in EmitHistogram()
1082 OS << " // #" in EmitHistogram()
1086 OS << '\n'; in EmitHistogram()
1092 raw_ostream &OS) { in EmitMatcherTable() argument
1093 OS << "#if defined(GET_DAGISEL_DECL) && defined(GET_DAGISEL_BODY)\n"; in EmitMatcherTable()
1094 OS << "#error GET_DAGISEL_DECL and GET_DAGISEL_BODY cannot be both defined, "; in EmitMatcherTable()
1095 OS << "undef both for inline definitions\n"; in EmitMatcherTable()
1096 OS << "#endif\n\n"; in EmitMatcherTable()
1099 OS << "#ifdef GET_DAGISEL_BODY\n"; in EmitMatcherTable()
1100 OS << "#define LOCAL_DAGISEL_STRINGIZE(X) LOCAL_DAGISEL_STRINGIZE_(X)\n"; in EmitMatcherTable()
1101 OS << "#define LOCAL_DAGISEL_STRINGIZE_(X) #X\n"; in EmitMatcherTable()
1102 OS << "static_assert(sizeof(LOCAL_DAGISEL_STRINGIZE(GET_DAGISEL_BODY)) > 1," in EmitMatcherTable()
1104 OS << " \"GET_DAGISEL_BODY is empty: it should be defined with the class " in EmitMatcherTable()
1106 OS << "#undef LOCAL_DAGISEL_STRINGIZE_\n"; in EmitMatcherTable()
1107 OS << "#undef LOCAL_DAGISEL_STRINGIZE\n"; in EmitMatcherTable()
1108 OS << "#endif\n\n"; in EmitMatcherTable()
1110 OS << "#if !defined(GET_DAGISEL_DECL) && !defined(GET_DAGISEL_BODY)\n"; in EmitMatcherTable()
1111 OS << "#define DAGISEL_INLINE 1\n"; in EmitMatcherTable()
1112 OS << "#else\n"; in EmitMatcherTable()
1113 OS << "#define DAGISEL_INLINE 0\n"; in EmitMatcherTable()
1114 OS << "#endif\n\n"; in EmitMatcherTable()
1116 OS << "#if !DAGISEL_INLINE\n"; in EmitMatcherTable()
1117 OS << "#define DAGISEL_CLASS_COLONCOLON GET_DAGISEL_BODY ::\n"; in EmitMatcherTable()
1118 OS << "#else\n"; in EmitMatcherTable()
1119 OS << "#define DAGISEL_CLASS_COLONCOLON\n"; in EmitMatcherTable()
1120 OS << "#endif\n\n"; in EmitMatcherTable()
1122 BeginEmitFunction(OS, "void", "SelectCode(SDNode *N)", false/*AddOverride*/); in EmitMatcherTable()
1136 OS << "{\n"; in EmitMatcherTable()
1137 OS << " // Some target values are emitted as 2 bytes, TARGET_VAL handles\n"; in EmitMatcherTable()
1138 OS << " // this.\n"; in EmitMatcherTable()
1139 OS << " #define TARGET_VAL(X) X & 255, unsigned(X) >> 8\n"; in EmitMatcherTable()
1140 OS << " static const unsigned char MatcherTable[] = {\n"; in EmitMatcherTable()
1141 TotalSize = MatcherEmitter.EmitMatcherList(TheMatcher, 1, 0, OS); in EmitMatcherTable()
1142 OS << " 0\n }; // Total Array size is " << (TotalSize+1) << " bytes\n\n"; in EmitMatcherTable()
1144 MatcherEmitter.EmitHistogram(TheMatcher, OS); in EmitMatcherTable()
1146 OS << " #undef TARGET_VAL\n"; in EmitMatcherTable()
1147 OS << " SelectCodeCommon(N, MatcherTable,sizeof(MatcherTable));\n"; in EmitMatcherTable()
1148 OS << "}\n"; in EmitMatcherTable()
1149 EndEmitFunction(OS); in EmitMatcherTable()
1152 MatcherEmitter.EmitPredicateFunctions(OS); in EmitMatcherTable()
1155 MatcherEmitter.EmitPatternMatchTable(OS); in EmitMatcherTable()
1158 OS << "\n"; in EmitMatcherTable()
1159 OS << "#ifdef DAGISEL_INLINE\n"; in EmitMatcherTable()
1160 OS << "#undef DAGISEL_INLINE\n"; in EmitMatcherTable()
1161 OS << "#endif\n"; in EmitMatcherTable()
1162 OS << "#ifdef DAGISEL_CLASS_COLONCOLON\n"; in EmitMatcherTable()
1163 OS << "#undef DAGISEL_CLASS_COLONCOLON\n"; in EmitMatcherTable()
1164 OS << "#endif\n"; in EmitMatcherTable()
1165 OS << "#ifdef GET_DAGISEL_DECL\n"; in EmitMatcherTable()
1166 OS << "#undef GET_DAGISEL_DECL\n"; in EmitMatcherTable()
1167 OS << "#endif\n"; in EmitMatcherTable()
1168 OS << "#ifdef GET_DAGISEL_BODY\n"; in EmitMatcherTable()
1169 OS << "#undef GET_DAGISEL_BODY\n"; in EmitMatcherTable()
1170 OS << "#endif\n"; in EmitMatcherTable()