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

1 2 3

  /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 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;
278 bool writeProgramToFile(const std::string &Filename, int FD,
289 std::string Filename;
290 return runPasses(M, PassesToRun, Filename, DeleteOutput);
299 /// ParseInputFile - Given a bitcode or assembly input filename, parse an
    [all...]
OptimizerDriver.cpp 65 bool BugDriver::writeProgramToFile(const std::string &Filename, int FD,
67 tool_output_file Out(Filename.c_str(), FD);
71 bool BugDriver::writeProgramToFile(const std::string &Filename,
74 tool_output_file Out(Filename.c_str(), ErrInfo, sys::fs::F_Binary);
90 std::string Filename = OutputPrefix + "-" + ID + ".bc";
91 if (writeProgramToFile(Filename, M)) {
92 errs() << "Error opening file '" << Filename << "' for writing!\n";
96 outs() << "Emitted bitcode to '" << Filename << "'\n";
100 outs() << "opt " << Filename;
115 /// 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);
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,
52 tool_output_file(const char *Filename, int FD);
  /external/llvm/include/llvm/Analysis/
DOTGraphTraitsPass.h 55 std::string Filename = Name + "." + F.getName().str() + ".dot";
58 errs() << "Writing '" << Filename << "'...";
60 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
114 std::string Filename = Name + ".dot";
117 errs() << "Writing '" << Filename << "'...";
119 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
ProfileInfoLoader.h 30 const std::string &Filename;
40 ProfileInfoLoader(const char *ToolName, const std::string &Filename);
47 const std::string &getFileName() const { return Filename; }
ProfileDataLoader.h 100 const std::string &Filename;
113 ProfileDataLoader(const char *ToolName, const std::string &Filename);
127 const std::string &getFileName() const { return Filename; }
135 /// the profiling information for the module from the specified filename.
136 ModulePass *createProfileMetadataLoaderPass(const std::string &Filename);
  /external/llvm/lib/Analysis/
CFGPrinter.cpp 79 std::string Filename = "cfg." + F.getName().str() + ".dot";
80 errs() << "Writing '" << Filename << "'...";
83 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
113 std::string Filename = "cfg." + F.getName().str() + ".dot";
114 errs() << "Writing '" << Filename << "'...";
117 raw_fd_ostream File(Filename.c_str(), ErrorInfo);
ProfileInfoLoader.cpp 86 const std::string &Filename)
87 : Filename(Filename) {
88 FILE *F = fopen(Filename.c_str(), "rb");
90 errs() << ToolName << ": Error opening '" << Filename << "': ";
ProfileDataLoaderPass.cpp 41 cl::value_desc("filename"),
48 std::string Filename;
51 explicit ProfileMetadataLoaderPass(const std::string &filename = "")
52 : ModulePass(ID), Filename(filename) {
54 if (filename.empty()) Filename = ProfileMetadataFilename;
83 /// the profiling information for the module from the specified filename,
88 ModulePass *llvm::createProfileMetadataLoaderPass(const std::string &Filename) {
89 return new ProfileMetadataLoaderPass(Filename);
    [all...]
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/lib/ExecutionEngine/
EventListenerCommon.h 28 // Holds the filename of each Scope, so that we can pass a null-terminated
36 std::string &Filename = Filenames[Scope];
37 if (Filename.empty()) {
39 Filename = DIScope.getFilename();
41 return Filename.c_str();
49 StringRef FileName = DIScope.getFilename();
54 if (FileName != "") {
55 sys::path::append(FullPath, FileName);
  /external/llvm/lib/Support/
GraphWriter.cpp 70 SmallString<128> Filename;
71 error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename);
77 errs() << "Writing '" << Filename << "'... ";
78 return Filename.str();
84 StringRef Filename, bool wait, std::string &ErrMsg) {
91 sys::fs::remove(Filename, Existed);
96 errs() << "Remember to erase graph file: " << Filename.str() << "\n";
103 std::string Filename = FilenameRef;
111 args.push_back(Filename.c_str());
115 if (!ExecGraphViewer(Graphviz, args, Filename, wait, ErrMsg)
    [all...]
  /external/llvm/lib/Transforms/Instrumentation/
DebugIR.h 35 std::string Filename;
48 /// Generate a file on disk to be displayed in a debugger. If Filename and
51 llvm::StringRef Directory, llvm::StringRef Filename)
55 Filename(Filename), GeneratedPath(false), ParsedPath(false) {}
69 /// Returns the concatenated Directory + Filename, without error checking
76 /// Replace the extension of Filename with NewExtension, and return true if
77 /// successful. Return false if extension could not be found or Filename is
81 /// Generate a temporary filename and open an fd
88 /// Returns true if either Directory or Filename is missing, false otherwise
    [all...]
  /external/chromium_org/ppapi/generators/
idl_outfile.py 29 def __init__(self, filename, always_write = False, create_dir = True):
30 self.filename = filename
70 # // From FILENAME.idl modified DAY MON DATE TIME YEAR.
71 # /* From FILENAME.idl modified DAY MON DATE TIME YEAR. */
84 def Filename(self):
85 return self.filename
90 raise RuntimeError('Could not write to closed file %s.' % self.filename)
95 filename = os.path.realpath(self.filename)
    [all...]
  /external/clang/include/clang/Frontend/
LogDiagnosticPrinter.h 28 std::string Filename;
  /external/clang/lib/AST/
InheritViz.cpp 142 SmallString<128> Filename;
144 sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename);
150 llvm::errs() << "Writing '" << Filename << "'... ";
161 DisplayGraph(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/
DependencyFile.cpp 42 bool FileMatchesDepCriteria(const char *Filename,
44 void AddFilename(StringRef Filename);
61 StringRef FileName,
89 /// FileMatchesDepCriteria - Determine whether the given Filename should be
91 bool DependencyFileCallback::FileMatchesDepCriteria(const char *Filename,
93 if (strcmp("<built-in>", Filename) == 0)
118 StringRef Filename = FE->getName();
119 if (!FileMatchesDepCriteria(Filename.data(), FileType))
123 while (Filename.size() > 2 && Filename[0] == '.' &
    [all...]
FrontendActions.cpp 225 StringRef Filename) {
227 const FileEntry *ModuleMap = CI.getFileManager().getFile(Filename);
230 << Filename;
254 << CI.getLangOpts().CurrentModule << Filename;
  /external/clang/lib/Rewrite/Frontend/
FixItRewriter.cpp 88 std::string Filename = FixItOpts->RewriteFilename(Entry->getName(), fd);
94 OS.reset(new llvm::raw_fd_ostream(Filename.c_str(), Err,
99 << Filename << Err;
107 RewrittenFiles->push_back(std::make_pair(Entry->getName(), Filename));
  /external/clang/lib/Serialization/
ASTReaderInternals.h 194 /// filename, and support "deep" comparisons of file names based on current
209 const char *Filename;
  /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/clang/lib/Basic/
FileManager.cpp 56 /// represent a filename that doesn't exist on the disk.
162 /// Filename can point to either a real file or a virtual file.
164 StringRef Filename,
166 if (Filename.empty())
169 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1]))
170 return NULL; // If Filename is a directory.
172 StringRef DirName = llvm::sys::path::parent_path(Filename);
272 const FileEntry *FileManager::getFile(StringRef Filename, bool openFile,
278 SeenFileEntries.GetOrCreateValue(Filename);
    [all...]

Completed in 261 milliseconds

1 2 3