Lines Matching refs:Matcher

59   unsigned EmitMatcherList(const Matcher *N, unsigned Indent,
64 void EmitHistogram(const Matcher *N, formatted_raw_ostream &OS);
66 unsigned EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx,
156 EmitMatcher(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcher()
161 case Matcher::Scope: { in EmitMatcher()
223 case Matcher::RecordNode: in EmitMatcher()
232 case Matcher::RecordChild: in EmitMatcher()
242 case Matcher::RecordMemRef: in EmitMatcher()
246 case Matcher::CaptureGlueInput: in EmitMatcher()
250 case Matcher::MoveChild: { in EmitMatcher()
261 case Matcher::MoveParent: in EmitMatcher()
265 case Matcher::CheckSame: in EmitMatcher()
270 case Matcher::CheckChildSame: in EmitMatcher()
276 case Matcher::CheckPatternPredicate: { in EmitMatcher()
284 case Matcher::CheckPredicate: { in EmitMatcher()
293 case Matcher::CheckOpcode: in EmitMatcher()
298 case Matcher::SwitchOpcode: in EmitMatcher()
299 case Matcher::SwitchType: { in EmitMatcher()
318 const Matcher *Child; in EmitMatcher()
387 case Matcher::CheckType: in EmitMatcher()
394 case Matcher::CheckChildType: in EmitMatcher()
400 case Matcher::CheckInteger: { in EmitMatcher()
406 case Matcher::CheckChildInteger: { in EmitMatcher()
414 case Matcher::CheckCondCode: in EmitMatcher()
419 case Matcher::CheckValueType: in EmitMatcher()
424 case Matcher::CheckComplexPat: { in EmitMatcher()
443 case Matcher::CheckAndImm: { in EmitMatcher()
450 case Matcher::CheckOrImm: { in EmitMatcher()
457 case Matcher::CheckFoldableChainNode: in EmitMatcher()
461 case Matcher::EmitInteger: { in EmitMatcher()
469 case Matcher::EmitStringInteger: { in EmitMatcher()
478 case Matcher::EmitRegister: { in EmitMatcher()
479 const EmitRegisterMatcher *Matcher = cast<EmitRegisterMatcher>(N); in EmitMatcher() local
480 const CodeGenRegister *Reg = Matcher->getReg(); in EmitMatcher()
484 OS << "OPC_EmitRegister2, " << getEnumName(Matcher->getVT()) << ", "; in EmitMatcher()
488 OS << "OPC_EmitRegister, " << getEnumName(Matcher->getVT()) << ", "; in EmitMatcher()
501 case Matcher::EmitConvertToTarget: in EmitMatcher()
506 case Matcher::EmitMergeInputChains: { in EmitMatcher()
522 case Matcher::EmitCopyToReg: in EmitMatcher()
528 case Matcher::EmitNodeXForm: { in EmitMatcher()
538 case Matcher::EmitNode: in EmitMatcher()
539 case Matcher::MorphNodeTo: { in EmitMatcher()
598 case Matcher::CompleteMatch: { in EmitMatcher()
621 EmitMatcherList(const Matcher *N, unsigned Indent, unsigned CurrentIdx, in EmitMatcherList()
746 static void BuildHistogram(const Matcher *M, std::vector<unsigned> &OpcodeFreq){ in BuildHistogram()
768 void MatcherTableEmitter::EmitHistogram(const Matcher *M, in EmitHistogram()
779 switch ((Matcher::KindTy)i) { in EmitHistogram()
780 case Matcher::Scope: OS << "OPC_Scope"; break; in EmitHistogram()
781 case Matcher::RecordNode: OS << "OPC_RecordNode"; break; in EmitHistogram()
782 case Matcher::RecordChild: OS << "OPC_RecordChild"; break; in EmitHistogram()
783 case Matcher::RecordMemRef: OS << "OPC_RecordMemRef"; break; in EmitHistogram()
784 case Matcher::CaptureGlueInput: OS << "OPC_CaptureGlueInput"; break; in EmitHistogram()
785 case Matcher::MoveChild: OS << "OPC_MoveChild"; break; in EmitHistogram()
786 case Matcher::MoveParent: OS << "OPC_MoveParent"; break; in EmitHistogram()
787 case Matcher::CheckSame: OS << "OPC_CheckSame"; break; in EmitHistogram()
788 case Matcher::CheckChildSame: OS << "OPC_CheckChildSame"; break; in EmitHistogram()
789 case Matcher::CheckPatternPredicate: in EmitHistogram()
791 case Matcher::CheckPredicate: OS << "OPC_CheckPredicate"; break; in EmitHistogram()
792 case Matcher::CheckOpcode: OS << "OPC_CheckOpcode"; break; in EmitHistogram()
793 case Matcher::SwitchOpcode: OS << "OPC_SwitchOpcode"; break; in EmitHistogram()
794 case Matcher::CheckType: OS << "OPC_CheckType"; break; in EmitHistogram()
795 case Matcher::SwitchType: OS << "OPC_SwitchType"; break; in EmitHistogram()
796 case Matcher::CheckChildType: OS << "OPC_CheckChildType"; break; in EmitHistogram()
797 case Matcher::CheckInteger: OS << "OPC_CheckInteger"; break; in EmitHistogram()
798 case Matcher::CheckChildInteger: OS << "OPC_CheckChildInteger"; break; in EmitHistogram()
799 case Matcher::CheckCondCode: OS << "OPC_CheckCondCode"; break; in EmitHistogram()
800 case Matcher::CheckValueType: OS << "OPC_CheckValueType"; break; in EmitHistogram()
801 case Matcher::CheckComplexPat: OS << "OPC_CheckComplexPat"; break; in EmitHistogram()
802 case Matcher::CheckAndImm: OS << "OPC_CheckAndImm"; break; in EmitHistogram()
803 case Matcher::CheckOrImm: OS << "OPC_CheckOrImm"; break; in EmitHistogram()
804 case Matcher::CheckFoldableChainNode: in EmitHistogram()
806 case Matcher::EmitInteger: OS << "OPC_EmitInteger"; break; in EmitHistogram()
807 case Matcher::EmitStringInteger: OS << "OPC_EmitStringInteger"; break; in EmitHistogram()
808 case Matcher::EmitRegister: OS << "OPC_EmitRegister"; break; in EmitHistogram()
809 case Matcher::EmitConvertToTarget: OS << "OPC_EmitConvertToTarget"; break; in EmitHistogram()
810 case Matcher::EmitMergeInputChains: OS << "OPC_EmitMergeInputChains"; break; in EmitHistogram()
811 case Matcher::EmitCopyToReg: OS << "OPC_EmitCopyToReg"; break; in EmitHistogram()
812 case Matcher::EmitNode: OS << "OPC_EmitNode"; break; in EmitHistogram()
813 case Matcher::MorphNodeTo: OS << "OPC_MorphNodeTo"; break; in EmitHistogram()
814 case Matcher::EmitNodeXForm: OS << "OPC_EmitNodeXForm"; break; in EmitHistogram()
815 case Matcher::CompleteMatch: OS << "OPC_CompleteMatch"; break; in EmitHistogram()
824 void llvm::EmitMatcherTable(const Matcher *TheMatcher, in EmitMatcherTable()