Searched refs:toolName (Results 1 – 6 of 6) sorted by relevance
269 protected static String usageMsgPrefix (final String toolName) in usageMsgPrefix() argument271 return toolNameToCommandName (toolName).concat (" usage: "); in usageMsgPrefix()274 protected static String usageResName (final String toolName) in usageResName() argument276 return toolName.replace ('.', '/').concat ("_usage.res"); in usageResName()279 protected static String toolNameToCommandName (final String toolName) in toolNameToCommandName() argument281 final int lastDot = toolName.lastIndexOf ('.'); in toolNameToCommandName()283 return lastDot > 0 ? toolName.substring (lastDot + 1) : toolName; in toolNameToCommandName()
41 static StringRef toolName; variable47 WithColor::error(errs(), toolName) << message << '\n'; in fatal()49 WithColor::error(errs(), toolName) << filename << ": " << message << '\n'; in fatal()139 toolName = sys::path::stem(argv[0]); in main()
57 LogicalResult MlirOptMain(int argc, char **argv, llvm::StringRef toolName,
151 LogicalResult mlir::MlirOptMain(int argc, char **argv, llvm::StringRef toolName, in MlirOptMain() argument195 std::string helpHeader = (toolName + "\nAvailable Dialects: ").str(); in MlirOptMain()
104 llvm::StringRef toolName);
130 llvm::StringRef toolName) { in mlirTranslateMain() argument