Lines Matching defs:Rules
179 /// This is a wrapper around OperandTypeChecker specialized for Combiner Rules.
2379 MatchTable buildMatchTable(MutableArrayRef<RuleMatcher> Rules);
2405 void gatherRules(std::vector<RuleMatcher> &Rules,
2638 GICombinerEmitter::buildMatchTable(MutableArrayRef<RuleMatcher> Rules) {
2640 for (Matcher &Rule : Rules)
2645 for (RuleMatcher &Rule : Rules) {
2682 if (!Rec->isValueUnset("Rules")) {
2683 gatherRules(ActiveRules, Rec->getValueAsListOfDefs("Rules"));
2722 std::vector<RuleMatcher> Rules;
2723 gatherRules(Rules, Combiner->getValueAsListOfDefs("Rules"));
2732 for (const auto &Rule : Rules)
2735 llvm::stable_sort(Rules, [&](const RuleMatcher &A, const RuleMatcher &B) {
2745 const MatchTable Table = buildMatchTable(Rules);
2779 emitExecutorImpl(OS, Table, TypeObjects, Rules, {}, {},