Lines Matching defs:tool
228 /// Finds the `tool` path, where `tool` is the name of the binary to search,
233 std::optional<std::string> findTool(StringRef tool);
262 std::optional<std::string> NVPTXSerializer::findTool(StringRef tool) {
263 // Find the `tool` path.
269 llvm::sys::path::append(path, "bin", tool);
276 llvm::sys::Process::FindInEnvPath("PATH", tool))
284 llvm::sys::path::append(path, "bin", tool);
289 << "Couldn't find the `" << tool
296 // TODO: clean this method & have a generic tool driver or never emit binaries
403 // Dump tool invocation commands.
417 // Helper function for printing tool error logs.