Lines Matching defs:TheDef
141 const Record &TheDef;
192 : ID(ID), TheDef(R), MatchDag(Ctx) {}
200 StringRef getName() const { return TheDef.getName(); }
201 const Record &getDef() const { return TheDef; }
248 PrintError(TheDef.getLoc(), "One or more roots are unnecessary");
351 DagInit *Defs = TheDef.getValueAsDag("Defs");
353 if (Defs->getOperatorAsDef(TheDef.getLoc())->getName() != "defs") {
354 PrintError(TheDef.getLoc(), "Expected defs operator");
378 PrintError(TheDef.getLoc(),
381 PrintError(TheDef.getLoc(),
384 PrintError(TheDef.getLoc(),
391 PrintError(TheDef.getLoc(), "Combine rules must have at least one root");
406 Target.getInstruction(Matcher->getOperatorAsDef(TheDef.getLoc()));
482 PrintError(TheDef.getLoc(),
495 DagInit *Matchers = TheDef.getValueAsDag("Match");
497 if (Matchers->getOperatorAsDef(TheDef.getLoc())->getName() != "match") {
498 PrintError(TheDef.getLoc(), "Expected match operator");
503 PrintError(TheDef.getLoc(), "Matcher is empty");
529 PrintError(TheDef.getLoc(),
540 PrintError(TheDef.getLoc(),
659 GICombinerEmitter::makeCombineRule(const Record &TheDef) {
661 std::make_unique<CombineRule>(Target, MatchDagCtx, NumPatternTotal, TheDef);
685 TheDef.getLoc(),
700 PrintError(TheDef.getLoc(), "Multi-root matches are not supported (yet)");