Lines Matching refs:AddMatcher

108     void AddMatcher(Matcher *NewNode);
188 void MatcherGen::AddMatcher(Matcher *NewNode) { in AddMatcher() function in MatcherGen
212 AddMatcher(new CheckOpcodeMatcher(NI)); in EmitLeafMatchCode()
215 return AddMatcher(new CheckIntegerMatcher(II->getValue())); in EmitLeafMatchCode()
239 return AddMatcher(new CheckValueTypeMatcher(LeafRec->getName())); in EmitLeafMatchCode()
254 AddMatcher(new RecordMatcher("physreg input "+LeafRec->getName().str(), in EmitLeafMatchCode()
261 return AddMatcher(new CheckCondCodeMatcher(LeafRec->getName())); in EmitLeafMatchCode()
286 AddMatcher(new CheckOpcodeMatcher(NI)); in EmitLeafMatchCode()
288 return AddMatcher(new CheckImmAllOnesVMatcher()); in EmitLeafMatchCode()
296 AddMatcher(new CheckOpcodeMatcher(NI)); in EmitLeafMatchCode()
298 return AddMatcher(new CheckImmAllZerosVMatcher()); in EmitLeafMatchCode()
350 AddMatcher(new CheckOpcodeMatcher(CInfo)); in EmitOperatorMatchCode()
354 AddMatcher(new CheckAndImmMatcher(II->getValue())); in EmitOperatorMatchCode()
356 AddMatcher(new CheckOrImmMatcher(II->getValue())); in EmitOperatorMatchCode()
359 AddMatcher(new MoveChildMatcher(0)); in EmitOperatorMatchCode()
361 AddMatcher(new MoveParentMatcher()); in EmitOperatorMatchCode()
368 AddMatcher(new CheckOpcodeMatcher(CInfo)); in EmitOperatorMatchCode()
373 AddMatcher(new RecordMemRefMatcher()); in EmitOperatorMatchCode()
380 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() + in EmitOperatorMatchCode()
434 AddMatcher(new CheckFoldableChainNodeMatcher()); in EmitOperatorMatchCode()
444 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName().str() + in EmitOperatorMatchCode()
453 AddMatcher(new CaptureGlueInputMatcher()); in EmitOperatorMatchCode()
458 AddMatcher(new MoveChildMatcher(OpNo)); in EmitOperatorMatchCode()
460 AddMatcher(new MoveParentMatcher()); in EmitOperatorMatchCode()
482 AddMatcher(new RecordMatcher(WhatFor, NextRecordedOperandNo)); in recordUniqueNode()
490 AddMatcher(new CheckSameMatcher(Entry-1)); in recordUniqueNode()
546 AddMatcher(new CheckPredicateMatcher(Pred.Fn, Operands)); in EmitMatchCode()
550 AddMatcher(new CheckTypeMatcher(N->getSimpleType(ResultsToTypeCheck[i]), in EmitMatchCode()
568 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant]))); in EmitMatcherCode()
580 AddMatcher(new CheckPatternPredicateMatcher(Pattern.getPredicateCheck())); in EmitMatcherCode()
607 AddMatcher(new CheckComplexPatMatcher(CP, RecNodeEntry, in EmitMatcherCode()
657 AddMatcher(new EmitConvertToTargetMatcher(SlotNo)); in EmitResultOfNamedOperand()
672 AddMatcher(new EmitIntegerMatcher(II->getValue(), N->getSimpleType(0))); in EmitResultLeafAsOperand()
683 AddMatcher(new EmitRegisterMatcher(Reg, N->getSimpleType(0))); in EmitResultLeafAsOperand()
689 AddMatcher(new EmitRegisterMatcher(nullptr, N->getSimpleType(0))); in EmitResultLeafAsOperand()
698 AddMatcher(new EmitNodeMatcher("TargetOpcode::IMPLICIT_DEF", in EmitResultLeafAsOperand()
717 AddMatcher(new EmitStringIntegerMatcher(Value, MVT::i32)); in EmitResultLeafAsOperand()
720 AddMatcher(new EmitIntegerMatcher(RC.EnumValue, MVT::i32)); in EmitResultLeafAsOperand()
735 AddMatcher(new EmitIntegerMatcher(I->EnumValue, MVT::i32)); in EmitResultLeafAsOperand()
741 AddMatcher(new EmitStringIntegerMatcher(Value, MVT::i32)); in EmitResultLeafAsOperand()
895 AddMatcher(new EmitCopyToRegMatcher(PhysRegInputs[i].second, in EmitResultInstructionAsOperand()
981 AddMatcher(new EmitNodeMatcher(II.Namespace.str()+"::"+II.TheDef->getName().str(), in EmitResultInstructionAsOperand()
1011 AddMatcher(new EmitNodeXFormMatcher(InputOps[0], N->getOperator())); in EmitResultSDNodeXFormAsOperand()
1038 AddMatcher(new EmitMergeInputChainsMatcher(MatchedChainNodes)); in EmitResultCode()
1081 AddMatcher(new CompleteMatchMatcher(Results, Pattern)); in EmitResultCode()