Lines Matching refs:RuleMatcher

58 using action_iterator = RuleMatcher::action_iterator;
319 void postProcessRule(RuleMatcher &M);
377 Error importRulePredicates(RuleMatcher &M, ArrayRef<Record *> Predicates);
379 createAndImportSelDAGMatcher(RuleMatcher &Rule,
384 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
390 RuleMatcher &M, InstructionMatcher &InsnMatcher,
393 action_iterator InsertPt, RuleMatcher &M, const TreePatternNode *Dst,
396 createInstructionRenderer(action_iterator InsertPt, RuleMatcher &M,
400 action_iterator InsertPt, RuleMatcher &M, BuildMIAction &DstMIBuilder,
404 action_iterator InsertPt, RuleMatcher &M, BuildMIAction &DstMIBuilder,
407 action_iterator InsertPt, RuleMatcher &Rule, BuildMIAction &DstMIBuilder,
409 Error importDefaultOperandRenderers(action_iterator InsertPt, RuleMatcher &M,
418 Expected<RuleMatcher> runOnPattern(const PatternToMatch &P);
424 MatchTable buildMatchTable(MutableArrayRef<RuleMatcher> Rules, bool Optimize,
536 Error GlobalISelEmitter::importRulePredicates(RuleMatcher &M, in importRulePredicates()
709 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in createAndImportSelDAGMatcher()
941 RuleMatcher &Rule, InstructionMatcher &InsnMatcher, in importChildMatcher()
1163 action_iterator InsertPt, RuleMatcher &Rule, BuildMIAction &DstMIBuilder, in importExplicitUseRenderer()
1321 RuleMatcher &M, InstructionMatcher &InsnMatcher, const TreePatternNode *Src, in createAndImportInstructionRenderer()
1356 const action_iterator InsertPt, RuleMatcher &M, const TreePatternNode *Dst, in createAndImportSubInstructionRenderer()
1477 action_iterator InsertPt, RuleMatcher &M, const TreePatternNode *Dst) { in createInstructionRenderer()
1498 action_iterator InsertPt, RuleMatcher &M, BuildMIAction &DstMIBuilder, in importExplicitDefRenderers()
1538 action_iterator InsertPt, RuleMatcher &M, BuildMIAction &DstMIBuilder, in importExplicitUseRenderers()
1712 action_iterator InsertPt, RuleMatcher &M, BuildMIAction &DstMIBuilder, in importDefaultOperandRenderers()
1892 Expected<RuleMatcher> GlobalISelEmitter::runOnPattern(const PatternToMatch &P) { in runOnPattern()
1895 RuleMatcher M(P.getSrcRecord()->getLoc()); in runOnPattern()
2206 GlobalISelEmitter::buildMatchTable(MutableArrayRef<RuleMatcher> Rules, in buildMatchTable()
2217 for (RuleMatcher &Rule : Rules) { in buildMatchTable()
2226 auto *L = static_cast<const RuleMatcher *>(A); in buildMatchTable()
2227 auto *R = static_cast<const RuleMatcher *>(B); in buildMatchTable()
2345 void GlobalISelEmitter::postProcessRule(RuleMatcher &M) { in postProcessRule()
2399 std::vector<RuleMatcher> Rules; in run()
2458 llvm::stable_sort(Rules, [&](const RuleMatcher &A, const RuleMatcher &B) { in run()