• Home
  • Raw
  • Download

Lines Matching refs:AddMatcher

112     void AddMatcher(Matcher *NewNode);
192 void MatcherGen::AddMatcher(Matcher *NewNode) { in AddMatcher() function in MatcherGen
216 AddMatcher(new CheckOpcodeMatcher(NI)); in EmitLeafMatchCode()
219 return AddMatcher(new CheckIntegerMatcher(II->getValue())); in EmitLeafMatchCode()
243 return AddMatcher(new CheckValueTypeMatcher(LeafRec->getName())); in EmitLeafMatchCode()
258 AddMatcher(new RecordMatcher("physreg input "+LeafRec->getName(), in EmitLeafMatchCode()
265 return AddMatcher(new CheckCondCodeMatcher(LeafRec->getName())); in EmitLeafMatchCode()
332 AddMatcher(new CheckOpcodeMatcher(CInfo)); in EmitOperatorMatchCode()
336 AddMatcher(new CheckAndImmMatcher(II->getValue())); in EmitOperatorMatchCode()
338 AddMatcher(new CheckOrImmMatcher(II->getValue())); in EmitOperatorMatchCode()
341 AddMatcher(new MoveChildMatcher(0)); in EmitOperatorMatchCode()
343 AddMatcher(new MoveParentMatcher()); in EmitOperatorMatchCode()
350 AddMatcher(new CheckOpcodeMatcher(CInfo)); in EmitOperatorMatchCode()
355 AddMatcher(new RecordMemRefMatcher()); in EmitOperatorMatchCode()
362 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName() + in EmitOperatorMatchCode()
416 AddMatcher(new CheckFoldableChainNodeMatcher()); in EmitOperatorMatchCode()
426 AddMatcher(new RecordMatcher("'" + N->getOperator()->getName() + in EmitOperatorMatchCode()
437 AddMatcher(new CaptureGlueInputMatcher()); in EmitOperatorMatchCode()
442 AddMatcher(new MoveChildMatcher(OpNo)); in EmitOperatorMatchCode()
444 AddMatcher(new MoveParentMatcher()); in EmitOperatorMatchCode()
452 AddMatcher(new RecordMatcher("$" + Name, NextRecordedOperandNo)); in recordUniqueNode()
461 AddMatcher(new CheckSameMatcher(VarMapEntry-1)); in recordUniqueNode()
492 AddMatcher(new CheckPredicateMatcher(N->getPredicateFns()[i])); in EmitMatchCode()
495 AddMatcher(new CheckTypeMatcher(N->getType(ResultsToTypeCheck[i]), in EmitMatchCode()
513 AddMatcher(new CheckOpcodeMatcher(CGP.getSDNodeInfo(OpNodes[Variant]))); in EmitMatcherCode()
524 AddMatcher(new CheckPatternPredicateMatcher(Pattern.getPredicateCheck())); in EmitMatcherCode()
551 AddMatcher(new CheckComplexPatMatcher(CP, RecNodeEntry, in EmitMatcherCode()
601 AddMatcher(new EmitConvertToTargetMatcher(SlotNo)); in EmitResultOfNamedOperand()
616 AddMatcher(new EmitIntegerMatcher(II->getValue(), N->getType(0))); in EmitResultLeafAsOperand()
627 AddMatcher(new EmitRegisterMatcher(Reg, N->getType(0))); in EmitResultLeafAsOperand()
633 AddMatcher(new EmitRegisterMatcher(nullptr, N->getType(0))); in EmitResultLeafAsOperand()
644 AddMatcher(new EmitStringIntegerMatcher(Value, MVT::i32)); in EmitResultLeafAsOperand()
652 AddMatcher(new EmitStringIntegerMatcher(Value, MVT::i32)); in EmitResultLeafAsOperand()
832 AddMatcher(new EmitCopyToRegMatcher(PhysRegInputs[i].second, in EmitResultInstructionAsOperand()
897 AddMatcher(new EmitNodeMatcher(II.Namespace+"::"+II.TheDef->getName(), in EmitResultInstructionAsOperand()
927 AddMatcher(new EmitNodeXFormMatcher(InputOps[0], N->getOperator())); in EmitResultSDNodeXFormAsOperand()
954 AddMatcher(new EmitMergeInputChainsMatcher(MatchedChainNodes)); in EmitResultCode()
995 AddMatcher(new MarkGlueResultsMatcher(MatchedGlueResultNodes)); in EmitResultCode()
997 AddMatcher(new CompleteMatchMatcher(Ops, Pattern)); in EmitResultCode()