Lines Matching defs:Rules
186 /// This is a wrapper around OperandTypeChecker specialized for Combiner Rules.
2285 MatchTable buildMatchTable(MutableArrayRef<RuleMatcher> Rules);
2311 void gatherRules(std::vector<RuleMatcher> &Rules,
2543 GICombinerEmitter::buildMatchTable(MutableArrayRef<RuleMatcher> Rules) {
2545 for (Matcher &Rule : Rules)
2550 for (RuleMatcher &Rule : Rules) {
2586 if (!Rec->isValueUnset("Rules")) {
2587 gatherRules(ActiveRules, Rec->getValueAsListOfDefs("Rules"));
2625 std::vector<RuleMatcher> Rules;
2626 gatherRules(Rules, Combiner->getValueAsListOfDefs("Rules"));
2635 for (const auto &Rule : Rules)
2638 llvm::stable_sort(Rules, [&](const RuleMatcher &A, const RuleMatcher &B) {
2648 const MatchTable Table = buildMatchTable(Rules);
2687 emitExecutorImpl(OS, Table, TypeObjects, Rules, ComplexPredicates,