Lines Matching refs:getLoc
248 PrintError(TheDef.getLoc(), "One or more roots are unnecessary"); in reorientToRoots()
351 if (Defs->getOperatorAsDef(TheDef.getLoc())->getName() != "defs") { in parseDefs()
352 PrintError(TheDef.getLoc(), "Expected defs operator"); in parseDefs()
376 PrintError(TheDef.getLoc(), in parseDefs()
379 PrintError(TheDef.getLoc(), in parseDefs()
382 PrintError(TheDef.getLoc(), in parseDefs()
389 PrintError(TheDef.getLoc(), "Combine rules must have at least one root"); in parseDefs()
404 Target.getInstruction(Matcher->getOperatorAsDef(TheDef.getLoc())); in parseInstructionMatcher()
480 PrintError(TheDef.getLoc(), in parseWipMatchOpcodeMatcher()
493 if (Matchers->getOperatorAsDef(TheDef.getLoc())->getName() != "match") { in parseMatcher()
494 PrintError(TheDef.getLoc(), "Expected match operator"); in parseMatcher()
499 PrintError(TheDef.getLoc(), "Matcher is empty"); in parseMatcher()
525 PrintError(TheDef.getLoc(), in parseMatcher()
536 PrintError(TheDef.getLoc(), in parseMatcher()
681 TheDef.getLoc(), in makeCombineRule()
696 PrintError(TheDef.getLoc(), "Multi-root matches are not supported (yet)"); in makeCombineRule()
710 PrintError(R->getLoc(), "Failed to parse rule"); in gatherRules()
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()
853 PrintNote(Combiner->getLoc(), in run()
858 PrintFatalError(Combiner->getLoc(), "Failed to parse one or more rules"); in run()
872 PrintFatalError(Rule->getDef().getLoc(), "All rules must have a root"); in run()
879 PrintNote(Combiner->getLoc(), in run()