Searched refs:RuleDef (Results 1 – 1 of 1) sorted by relevance
739 const Record &RuleDef = Rule->getDef(); in generateCodeForTree() local741 OS << Indent << "// Rule: " << RuleDef.getName() << "\n" in generateCodeForTree()758 DagInit *Applyer = RuleDef.getValueAsDag("Apply"); in generateCodeForTree()759 if (Applyer->getOperatorAsDef(RuleDef.getLoc())->getName() != in generateCodeForTree()761 PrintError(RuleDef.getLoc(), "Expected 'apply' operator in Apply DAG"); in generateCodeForTree()778 PrintError(RuleDef.getLoc(), in generateCodeForTree()802 RuleDef.getLoc(), ShowExpansions) in generateCodeForTree()811 RuleDef.getLoc(), ShowExpansions) in generateCodeForTree()816 PrintError(RuleDef.getLoc(), "Expected apply code block"); in generateCodeForTree()