Lines Matching defs:Filename
100 static std::string replaceIllegalFilenameChars(std::string Filename,
106 std::replace(Filename.begin(), Filename.end(), IllegalChar,
110 return Filename;
115 SmallString<128> Filename;
122 // Replace illegal characters in graph Filename with '_' if needed
126 sys::fs::createTemporaryFile(CleansedName, "dot", FD, Filename);
132 errs() << "Writing '" << Filename << "'... ";
133 return std::string(Filename);
138 StringRef Filename, bool wait,
145 sys::fs::remove(Filename);
149 errs() << "Remember to erase graph file: " << Filename << "\n";
194 std::string Filename = std::string(FilenameRef);
206 args.push_back(Filename);
208 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg))
215 args.push_back(Filename);
217 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg))
225 args.push_back(Filename);
228 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
235 args.push_back(Filename);
241 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);
272 Filename + (Viewer == VK_CmdStart ? ".pdf" : ".ps");
282 args.push_back(Filename);
288 if (ExecGraphViewer(GeneratorPath, args, Filename, true, ErrMsg))
329 args.push_back(Filename);
336 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg);