HomeSort by relevance Sort by last modified time
    Searched defs:Filename (Results 1 - 25 of 39) 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,
GCOV.h 180 StringRef Filename;
190 void addLine(StringRef Filename, uint32_t LineNo);
206 void collectLineCounts(FileInfo &FI, StringRef Filename, uint32_t Count);
216 void addLineCount(StringRef Filename, uint32_t Line, uint32_t Count);
  /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) { }
538 /// \arg Filename, \arg Line, and \arg Column, to the given output stream \arg
541 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(StringRef Filename);
59 StringRef FileName,
96 /// FileMatchesDepCriteria - Determine whether the given Filename should be
98 bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename,
100 if (strcmp("<built-in>", Filename) == 0)
125 StringRef Filename = FE->getName();
126 if (!FileMatchesDepCriteria(Filename.data(), FileType))
130 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/lib/Support/
SourceMgr.cpp 51 unsigned SourceMgr::AddIncludeFile(const std::string &Filename,
55 IncludedFile = Filename;
60 IncludedFile = IncludeDirectories[i] + "/" + Filename;
223 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
232 if (!Filename.empty()) {
233 if (Filename == "-")
236 S << Filename;
  /external/llvm/lib/TableGen/
TGLexer.cpp 294 PrintError(getLoc(), "Expected filename after include");
299 std::string Filename = CurStrVal;
303 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr),
306 PrintError(getLoc(), "Could not find include file '" + 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 StringRef Filename,
222 if (Filename.empty())
225 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1]))
226 return NULL; // If Filename is a directory.
228 StringRef DirName = llvm::sys::path::parent_path(Filename);
316 const FileEntry *FileManager::getFile(StringRef Filename, bool openFile,
322 SeenFileEntries.GetOrCreateValue(Filename);
    [all...]
  /external/clang/lib/StaticAnalyzer/Frontend/
AnalysisConsumer.cpp 378 llvm::sys::Path Dir, Filename;
386 llvm::sys::Path& filename);
402 llvm::sys::Path Filename = Dir;
403 Filename.appendComponent("llvm_ubi");
404 Filename.makeUnique(true,&ErrMsg);
409 llvm::errs() << "Writing '" << Filename.str() << "'.\n";
412 Stream.reset(new llvm::raw_fd_ostream(Filename.c_str(), ErrMsg));
417 return new UbigraphViz(Stream.take(), Dir, Filename);
455 llvm::sys::Path& filename)
456 : Out(out), Dir(dir), Filename(filename), Cntr(0)
    [all...]

Completed in 2888 milliseconds

1 2