Lines Matching defs:Rule
365 // Rule coverage information.
388 createAndImportSelDAGMatcher(RuleMatcher &Rule,
393 Error importChildMatcher(RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
418 action_iterator InsertPt, RuleMatcher &Rule, BuildMIAction &DstMIBuilder,
720 RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
722 const auto SavedFlags = Rule.setGISelFlags(Src.getGISelFlagsRecord());
921 importChildMatcher(Rule, InsnMatcher, SrcChild, OperandIsAPointer,
961 RuleMatcher &Rule, InstructionMatcher &InsnMatcher,
1050 if (auto Error = Rule.defineComplexSubOperand(
1073 Rule, InsnOperand.getInsnMatcher(), SrcChild, TempOpIdx);
1183 action_iterator InsertPt, RuleMatcher &Rule, BuildMIAction &DstMIBuilder,
1186 const auto &SubOperand = Rule.getComplexSubOperand(DstChild.getName());
1253 unsigned TempRegID = Rule.allocateTempRegID();
1255 Rule.insertAction<MakeTempRegisterAction>(InsertPt, *OpTy, TempRegID);
1259 ++InsertPt, Rule, DstChild, Src, TempRegID);
1322 const OperandMatcher &OM = Rule.getOperandMatcher(DstChild.getName());
2232 for (Matcher &Rule : Rules)
2233 InputRules.push_back(&Rule);
2240 for (RuleMatcher &Rule : Rules) {
2241 const StringRef Opcode = Rule.getOpcode();
2255 for (Matcher *Rule : InputRules)
2256 Rule->optimize();
2262 for (Matcher *Rule : OptRules)
2263 Rule->optimize();
2499 for (const auto &Rule : Rules)
2500 MaxTemporaries = std::max(MaxTemporaries, Rule.countRendererFns());