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