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

1 2 3 4

  /external/llvm/tools/bugpoint/
FindBugs.cpp 65 std::string Filename;
66 if(runPasses(Program, PassesToRun, Filename, false)) {
93 bool Diff = diffProgram(Program, Filename, "", false, &Error);
107 sys::fs::remove(Filename);
BugDriver.h 112 /// ReferenceOutput contains the filename of the file containing the output we
171 /// program to a file. A recommended filename may be optionally specified.
194 bool createReferenceFile(Module *M, const std::string &Filename
256 /// file and writting the filename into OutputFile if successful. If the
259 /// deleted on success, and the filename string is undefined. This prints to
283 bool writeProgramToFile(const std::string &Filename, const Module *M) const;
284 bool writeProgramToFile(const std::string &Filename, int FD,
295 std::string Filename;
296 return runPasses(M, PassesToRun, Filename, DeleteOutput);
305 /// Given a bitcode or assembly input filename, parse and return it, or retur
    [all...]
OptimizerDriver.cpp 72 bool BugDriver::writeProgramToFile(const std::string &Filename, int FD,
74 tool_output_file Out(Filename, FD);
78 bool BugDriver::writeProgramToFile(const std::string &Filename,
81 tool_output_file Out(Filename, EC, sys::fs::F_None);
97 std::string Filename = OutputPrefix + "-" + ID + ".bc";
98 if (writeProgramToFile(Filename, M)) {
99 errs() << "Error opening file '" << Filename << "' for writing!\n";
103 outs() << "Emitted bitcode to '" << Filename << "'\n";
107 outs() << "opt " << Filename;
122 /// and writing the filename into OutputFile if successful. If th
    [all...]
  /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);
54 sys::fs::remove(Filename);
61 void setFile(const Twine& filename, bool deleteIt = true) {
64 sys::fs::remove(Filename);
67 Filename.clear();
68 filename.toVector(Filename)
    [all...]
ToolOutputFile.h 33 std::string Filename;
48 tool_output_file(StringRef Filename, std::error_code &EC,
51 tool_output_file(StringRef Filename, int FD);
  /external/clang/include/clang/Tooling/
CompilationDatabase.h 45 CompileCommand(Twine Directory, Twine Filename,
48 Filename(Filename.str()),
55 std::string Filename;
  /external/clang/lib/AST/
InheritViz.cpp 141 SmallString<128> Filename;
143 Self.getAsString(), "dot", FD, Filename)) {
148 llvm::errs() << "Writing '" << Filename << "'... ";
159 DisplayGraph(Filename);
  /external/llvm/include/llvm/Analysis/
DOTGraphTraitsPass.h 98 std::string Filename = Name + "." + F.getName().str() + ".dot";
101 errs() << "Writing '" << Filename << "'...";
103 raw_fd_ostream File(Filename, EC, sys::fs::F_Text);
161 std::string Filename = Name + ".dot";
164 errs() << "Writing '" << Filename << "'...";
166 raw_fd_ostream File(Filename, EC, sys::fs::F_Text);
  /external/llvm/lib/Analysis/
CFGPrinter.cpp 80 std::string Filename = ("cfg." + F.getName() + ".dot").str();
81 errs() << "Writing '" << Filename << "'...";
84 raw_fd_ostream File(Filename, EC, sys::fs::F_Text);
114 std::string Filename = ("cfg." + F.getName() + ".dot").str();
115 errs() << "Writing '" << Filename << "'...";
118 raw_fd_ostream File(Filename, EC, sys::fs::F_Text);
ModuleDebugInfoPrinter.cpp 58 static void printFile(raw_ostream &O, StringRef Filename, StringRef Directory,
60 if (Filename.empty())
66 O << Filename;
  /external/llvm/lib/DebugInfo/Symbolize/
DIPrinter.cpp 22 // By default, DILineInfo contains "<invalid>" for function/filename it
37 std::string Filename = Info.FileName;
38 if (Filename == kDILineInfoBadString)
39 Filename = kBadString;
40 OS << Filename << ":" << Info.Line << ":" << Info.Column << "\n";
  /external/clang/include/clang/Frontend/
LogDiagnosticPrinter.h 28 std::string Filename;
  /external/clang/lib/Driver/
InputInfo.h 31 Filename,
37 const char *Filename;
50 : Kind(Filename), Type(_Type), BaseInput(_BaseInput) {
51 Data.Filename = _Filename;
60 bool isFilename() const { return Kind == Filename; }
67 return Data.Filename;
  /external/clang/lib/Frontend/Rewrite/
FixItRewriter.cpp 94 std::string Filename = FixItOpts->RewriteFilename(Entry->getName(), fd);
100 OS.reset(new llvm::raw_fd_ostream(Filename, EC, llvm::sys::fs::F_None));
103 Diags.Report(clang::diag::err_fe_unable_to_open_output) << Filename
112 RewrittenFiles->push_back(std::make_pair(Entry->getName(), Filename));
  /external/llvm/lib/ProfileData/
CoverageMappingWriter.cpp 23 for (const auto &Filename : Filenames) {
24 encodeULEB128(Filename.size(), OS);
25 OS << Filename;
114 // Write out the fileid -> filename mapping.
  /external/llvm/lib/Support/
GraphWriter.cpp 69 SmallString<128> Filename;
70 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
76 errs() << "Writing '" << Filename << "'... ";
77 return Filename.str();
82 StringRef Filename, bool wait,
91 sys::fs::remove(Filename);
95 errs() << "Remember to erase graph file: " << Filename << "\n";
137 std::string Filename = FilenameRef;
149 args.push_back(Filename.c_str());
152 if (!ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg)
    [all...]
LockFileManager.cpp 123 StringRef Filename;
127 : Filename(Name), RemoveImmediately(true) {
128 sys::RemoveFileOnSignal(Filename, nullptr);
136 sys::fs::remove(Filename);
137 sys::DontRemoveFileOnSignal(Filename);
143 LockFileManager::LockFileManager(StringRef FileName)
145 this->FileName = FileName;
146 if (std::error_code EC = sys::fs::make_absolute(this->FileName)) {
150 LockFileName = this->FileName;
    [all...]
  /external/llvm/tools/llvm-cov/
CoverageReport.cpp 96 for (StringRef Filename : CM->getUniqueSourceFiles()) {
97 FileReportColumns[0] = std::max(FileReportColumns[0], Filename.size());
98 for (const auto &F : CM->getCoveredFunctions(Filename)) {
178 for (StringRef Filename : Files) {
183 OS << "File '" << Filename << "':\n";
195 for (const auto &F : Coverage->getCoveredFunctions(Filename)) {
212 OS << column("Filename", FileReportColumns[0])
223 for (StringRef Filename : Coverage->getUniqueSourceFiles()) {
224 FileCoverageSummary Summary(Filename);
225 for (const auto &F : Coverage->getCoveredFunctions(Filename)) {
    [all...]
  /external/clang/include/clang/Driver/
Job.h 34 StringRef Filename;
37 CrashReportInfo(StringRef Filename, StringRef VFSPath)
38 : Filename(Filename), VFSPath(VFSPath) {}
106 void setResponseFile(const char *FileName);
  /external/compiler-rt/lib/profile/
InstrProfilingFile.c 63 const char *Filename;
66 Filename = __llvm_profile_CurrentFilename;
67 if (!Filename || !Filename[0])
71 if (strchr(Filename, '/')) {
72 char *Copy = malloc(strlen(Filename) + 1);
73 strcpy(Copy, Filename);
79 File = fopen(Filename, "w");
85 static void setFilename(const char *Filename, int OwnsFilename) {
86 /* Check if this is a new filename and therefore needs truncation. *
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
WinCodeViewLineTables.h 50 // InstrInfoTy - Holds the Filename:LineNumber information for every
53 StringRef Filename;
59 InstrInfoTy(StringRef Filename, unsigned LineNumber, unsigned ColumnNumber)
60 : Filename(Filename), LineNumber(LineNumber),
76 // filename.
83 // Add Filename to the registry, if it was not observed before.
84 void add(StringRef Filename) {
85 if (Infos.count(Filename))
88 Infos[Filename].FilenameID = OldSize
    [all...]
  /external/llvm/lib/TableGen/
TGLexer.cpp 296 PrintError(getLoc(), "Expected filename after include");
301 std::string Filename = CurStrVal;
305 CurBuffer = SrcMgr.AddIncludeFile(Filename, SMLoc::getFromPointer(CurPtr),
308 PrintError(getLoc(), "Could not find include file '" + Filename + "'");
  /external/llvm/tools/dsymutil/
DebugMap.cpp 25 : Filename(ObjectFilename), Timestamp(Timestamp) {}
131 std::string Filename;
147 io.mapRequired("filename", Norm->Filename);
201 Filename = Obj.Filename;
215 sys::path::append(Path, Filename);
DebugMap.h 146 llvm::StringRef getObjectFilename() const { return Filename; }
163 std::string Filename;
178 std::swap(Filename, RHS.Filename);
185 Filename = std::move(RHS.Filename);
  /external/clang/lib/Basic/
FileManager.cpp 42 /// represent a filename that doesn't exist on the disk.
104 /// Filename can point to either a real file or a virtual file.
106 StringRef Filename,
108 if (Filename.empty())
111 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1]))
112 return nullptr; // If Filename is a directory.
114 StringRef DirName = llvm::sys::path::parent_path(Filename);
213 const FileEntry *FileManager::getFile(StringRef Filename, bool openFile,
219 *SeenFileEntries.insert(std::make_pair(Filename, nullptr)).first
    [all...]

Completed in 360 milliseconds

1 2 3 4