• Home
  • Raw
  • Download

Lines Matching full:rewrite

10 // SymbolRewriter is a LLVM pass which can rewrite symbols transparently within
44 // New rewrite descriptors can be created. Addding a new rewrite descriptor
47 // a) extended the rewrite descriptor kind enumeration
51 // c) extending the rewrite map parser
54 // Specify to rewrite the symbols using the `-rewrite-symbols` option, and
55 // specify the map file to use for the rewriting via the `-rewrite-map-file`
76 static cl::list<std::string> RewriteMapFiles("rewrite-map-file",
77 cl::desc("Symbol Rewrite Map"),
181 /// Represents a rewrite for an explicitly named (function) symbol. Both the
188 /// Represents a rewrite for an explicitly named (global variable) symbol. Both
196 /// Represents a rewrite for an explicitly named global alias. Both the source
203 /// Represents a rewrite for a regular expression based pattern for functions.
205 /// pattern to determine the target function name create the rewrite rule.
211 /// Represents a rewrite for a global variable based upon a matching pattern.
221 /// PatternRewriteNamedAliasDescriptor - represents a rewrite for global
237 report_fatal_error("unable to read rewrite map '" + MapFile + "': " + in parse()
241 report_fatal_error("unable to parse rewrite map '" + MapFile + "'"); in parse()
281 YS.printError(Entry.getKey(), "rewrite type must be a scalar"); in parseEntry()
287 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry()
299 YS.printError(Entry.getKey(), "unknown rewrite type"); in parseEntry()
361 // TODO see if there is a more elegant solution to selecting the rewrite in parseRewriteFunctionDescriptor()
541 INITIALIZE_PASS(RewriteSymbols, "rewrite-symbols", "Rewrite Symbols", false,