Lines Matching defs:CommentText
52 void HandleComment(SMLoc Loc, StringRef CommentText) override {
53 CommentText = CommentText.trim();
54 if (!CommentText.consume_front("LLVM-EXEGESIS-"))
56 if (CommentText.consume_front("DEFREG")) {
60 CommentText.split(Parts, ' ', /*unlimited splits*/ -1,
63 errs() << "invalid comment 'LLVM-EXEGESIS-DEFREG " << CommentText
70 << "' in 'LLVM-EXEGESIS-DEFREG " << CommentText << "'\n";
80 if (CommentText.consume_front("LIVEIN")) {
82 const auto RegName = CommentText.ltrim();
87 << "' in 'LLVM-EXEGESIS-LIVEIN " << CommentText << "'\n";
92 if (CommentText.consume_front("MEM-DEF")) {
95 CommentText.split(Parts, ' ', -1, false);
97 errs() << "invalid comment 'LLVM-EXEGESIS-MEM-DEF " << CommentText
106 errs() << "invalid comment 'LLVM-EXEGESIS-MEM-DEF " << CommentText
114 if (CommentText.consume_front("MEM-MAP")) {
117 CommentText.split(Parts, ' ', -1, false);
119 errs() << "invalid comment 'LLVM-EXEGESIS-MEM-MAP " << CommentText
132 errs() << "invalid comment 'LLVM-EXEGESIS-MEM-MAP " << CommentText
144 errs() << "invalid comment 'LLVM-EXEGESIS-MEM-MAP " << CommentText
153 if (CommentText.consume_front("SNIPPET-ADDRESS")) {
155 if (!to_integer<uintptr_t>(CommentText.trim(), Result->Key.SnippetAddress,
158 << CommentText
170 << CommentText
180 if (CommentText.consume_front("LOOP-REGISTER")) {
184 if (!(LoopRegister = findRegisterByName(CommentText.trim()))) {
185 errs() << "unknown register '" << CommentText
186 << "' in 'LLVM-EXEGESIS-LOOP-REGISTER " << CommentText << "'\n";