HomeSort by relevance Sort by last modified time
    Searched defs:Filename (Results 1 - 25 of 37) sorted by null

1 2

  /external/llvm/tools/bugpoint/
FindBugs.cpp 64 std::string Filename;
65 if(runPasses(Program, PassesToRun, Filename, false)) {
92 bool Diff = diffProgram(Program, Filename, "", false, &Error);
106 sys::Path(Filename).eraseFromDisk();
OptimizerDriver.cpp 51 bool BugDriver::writeProgramToFile(const std::string &Filename,
54 tool_output_file Out(Filename.c_str(), ErrInfo,
78 std::string Filename = OutputPrefix + "-" + ID + ".bc";
79 if (writeProgramToFile(Filename, M)) {
80 errs() << "Error opening file '" << Filename << "' for writing!\n";
84 outs() << "Emitted bitcode to '" << Filename << "'\n";
88 outs() << "opt " << Filename << " ";
100 /// and writing the filename into OutputFile if successful. If the
103 /// deleted on success, and the filename string is undefined. This prints to
117 errs() << getToolName() << ": Error making unique filename:
    [all...]
BugDriver.h 111 /// ReferenceOutput contains the filename of the file containing the output we
170 /// program to a file. A recommended filename may be optionally specified.
193 bool createReferenceFile(Module *M, const std::string &Filename
250 /// file and writting the filename into OutputFile if successful. If the
253 /// deleted on success, and the filename string is undefined. This prints to
277 bool writeProgramToFile(const std::string &Filename, const Module *M) const;
287 std::string Filename;
288 return runPasses(M, PassesToRun, Filename, DeleteOutput);
297 /// ParseInputFile - Given a bitcode or assembly input filename, parse and
  /external/llvm/include/llvm/Support/
FileUtilities.h 37 /// If an exception is thrown from a region, the object removes the filename
41 SmallString<128> Filename;
46 explicit FileRemover(const Twine& filename, bool deleteIt = true)
48 filename.toVector(Filename);
55 sys::fs::remove(Filename.str(), existed);
62 void setFile(const Twine& filename, bool deleteIt = true) {
66 sys::fs::remove(Filename.str(), existed);
69 Filename.clear();
70 filename.toVector(Filename)
    [all...]
ToolOutputFile.h 32 /// Filename - The name of the file.
33 std::string Filename;
38 explicit CleanupInstaller(const char *filename);
49 tool_output_file(const char *filename, std::string &ErrorInfo,
GraphWriter.h 49 void DisplayGraph(const sys::Path& Filename, bool wait=true, GraphProgram::Name program = GraphProgram::DOT);
313 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg);
314 if (Filename.isEmpty()) {
316 return Filename;
318 Filename.appendComponent(Name + ".dot");
319 if (Filename.makeUnique(true,&ErrMsg)) {
324 errs() << "Writing '" << Filename.str() << "'... ";
327 raw_fd_ostream O(Filename.c_str(), ErrorInfo);
333 errs() << "error opening file '" << Filename.str() << "' for writing!\n";
334 Filename.clear()
    [all...]
  /external/llvm/include/llvm/Analysis/
DOTGraphTraitsPass.h 58 std::string Filename = Name + "." + F.getNameStr() + ".dot";
59 errs() << "Writing '" << Filename << "'...";
62 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
ProfileInfoLoader.h 30 const std::string &Filename;
42 ProfileInfoLoader(const char *ToolName, const std::string &Filename,
50 const std::string &getFileName() const { return Filename; }
  /external/llvm/lib/Analysis/
CFGPrinter.cpp 80 std::string Filename = "cfg." + F.getNameStr() + ".dot";
81 errs() << "Writing '" << Filename << "'...";
84 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
114 std::string Filename = "cfg." + F.getNameStr() + ".dot";
115 errs() << "Writing '" << Filename << "'...";
118 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
ProfileInfoLoader.cpp 86 const std::string &Filename,
88 Filename(Filename),
90 FILE *F = fopen(Filename.c_str(), "rb");
92 errs() << ToolName << ": Error opening '" << Filename << "': ";
ProfileInfoLoaderPass.cpp 36 cl::value_desc("filename"),
41 std::string Filename;
47 explicit LoaderPass(const std::string &filename = "")
48 : ModulePass(ID), Filename(filename) {
50 if (filename.empty()) Filename = ProfileInfoFilename;
91 /// profiling information for the module from the specified filename, making it
93 Pass *llvm::createProfileLoaderPass(const std::string &Filename) {
94 return new LoaderPass(Filename);
    [all...]
  /external/llvm/tools/llvm-link/
llvm-link.cpp 36 OutputFilename("o", cl::desc("Override output filename"), cl::init("-"),
37 cl::value_desc("filename"));
58 sys::Path Filename;
59 if (!Filename.set(FN)) {
65 if (Verbose) errs() << "Loading '" << Filename.c_str() << "'\n";
68 const std::string &FNStr = Filename.str();
  /external/llvm/tools/opt/
GraphPrinters.cpp 28 std::string Filename = GraphName + ".dot";
29 O << "Writing '" << Filename << "'...";
31 tool_output_file F(Filename.c_str(), ErrInfo);
  /external/clang/include/clang/Frontend/
LogDiagnosticPrinter.h 28 std::string Filename;
CompilerInstance.h 99 /// If TempFilename is not empty we must rename it to Filename at the end.
100 /// TempFilename may be empty and Filename non empty if creating the temporary
103 std::string Filename;
107 OutputFile(const std::string &filename, const std::string &tempFilename,
109 : Filename(filename), TempFilename(tempFilename), OS(os) { }
542 /// \arg Filename, \arg Line, and \arg Column, to the given output stream \arg
545 createCodeCompletionConsumer(Preprocessor &PP, const std::string &Filename,
  /external/clang/lib/AST/
InheritViz.cpp 139 sys::Path Filename = sys::Path::GetTemporaryDirectory(&ErrMsg);
140 if (Filename.isEmpty()) {
144 Filename.appendComponent(Self.getAsString() + ".dot");
145 if (Filename.makeUnique(true,&ErrMsg)) {
150 llvm::errs() << "Writing '" << Filename.c_str() << "'... ";
152 llvm::raw_fd_ostream O(Filename.c_str(), ErrMsg);
162 DisplayGraph(Filename);
  /external/clang/lib/Rewrite/
FixItRewriter.cpp 60 std::string Filename = FixItOpts->RewriteFilename(Entry->getName());
62 llvm::raw_fd_ostream OS(Filename.c_str(), Err,
66 << Filename << Err;
  /external/clang/lib/Driver/
InputInfo.h 31 Filename,
37 const char *Filename;
50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) {
51 Data.Filename = _Filename;
59 bool isFilename() const { return Kind == Filename; }
66 return Data.Filename;
  /external/clang/lib/Frontend/
DependencyFile.cpp 40 bool FileMatchesDepCriteria(const char *Filename,
42 void AddFilename(llvm::StringRef Filename);
58 llvm::StringRef FileName,
101 /// FileMatchesDepCriteria - Determine whether the given Filename should be
103 bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename,
105 if (strcmp("<built-in>", Filename) == 0)
129 llvm::StringRef Filename = FE->getName();
130 if (!FileMatchesDepCriteria(Filename.data(), FileType))
134 while (Filename.size() > 2 && Filename[0] == '.' &
    [all...]
  /external/llvm/lib/ExecutionEngine/JIT/
JITDebugRegisterer.cpp 119 std::string Filename;
120 raw_string_ostream O2(Filename);
124 raw_fd_ostream O3(Filename.c_str(), Errors);
OProfileJITEventListener.cpp 75 // Holds the filename of each Scope, so that we can pass a null-terminated
82 std::string &Filename = Filenames[Scope];
83 if (Filename.empty()) {
84 Filename = DIScope(Scope).getFilename();
86 return Filename.c_str();
96 Result.filename = Filenames.getFilename(
99 << Result.filename << ":" << Result.lineno << "\n");
119 // format in Details to the address/filename/lineno format that OProfile
139 line_info.filename = Filenames.getFilename(FirstLocScope);
  /external/llvm/utils/TableGen/
TGLexer.cpp 254 PrintError(getLoc(), "Expected filename after include");
259 std::string Filename = CurStrVal;
263 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr),
266 PrintError(getLoc(), "Could not find include file '" + Filename + "'");
  /external/llvm/lib/Support/
SourceMgr.cpp 51 unsigned SourceMgr::AddIncludeFile(const std::string &Filename,
55 IncludedFile = Filename;
60 IncludedFile = IncludeDirectories[i] + "/" + Filename;
206 if (!Filename.empty()) {
207 if (Filename == "-")
210 S << Filename;
  /external/clang/lib/Basic/
FileManager.cpp 51 /// represent a filename that doesn't exist on the disk.
218 /// Filename can point to either a real file or a virtual file.
220 llvm::StringRef Filename) {
221 if (Filename.empty())
224 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1]))
225 return NULL; // If Filename is a directory.
227 llvm::StringRef DirName = llvm::sys::path::parent_path(Filename);
312 const FileEntry *FileManager::getFile(llvm::StringRef Filename, bool openFile) {
317 SeenFileEntries.GetOrCreateValue(Filename);
    [all...]
  /external/clang/lib/StaticAnalyzer/Frontend/
AnalysisConsumer.cpp 387 llvm::sys::Path Dir, Filename;
395 llvm::sys::Path& filename);
411 llvm::sys::Path Filename = Dir;
412 Filename.appendComponent("llvm_ubi");
413 Filename.makeUnique(true,&ErrMsg);
418 llvm::errs() << "Writing '" << Filename.str() << "'.\n";
421 Stream.reset(new llvm::raw_fd_ostream(Filename.c_str(), ErrMsg));
426 return new UbigraphViz(Stream.take(), Dir, Filename);
464 llvm::sys::Path& filename)
465 : Out(out), Dir(dir), Filename(filename), Cntr(0)
    [all...]

Completed in 370 milliseconds

1 2