/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 | 67 bool BugDriver::writeProgramToFile(const std::string &Filename, int FD, 69 tool_output_file Out(Filename.c_str(), FD); 73 bool BugDriver::writeProgramToFile(const std::string &Filename, 76 tool_output_file Out(Filename.c_str(), ErrInfo, sys::fs::F_None); 92 std::string Filename = OutputPrefix + "-" + ID + ".bc"; 93 if (writeProgramToFile(Filename, M)) { 94 errs() << "Error opening file '" << Filename << "' for writing!\n"; 98 outs() << "Emitted bitcode to '" << Filename << "'\n"; 102 outs() << "opt " << Filename; 117 /// 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.str()); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename.str()); 67 Filename.clear(); 68 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 | 68 std::string Filename = Name + "." + F.getName().str() + ".dot"; 71 errs() << "Writing '" << Filename << "'..."; 73 raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_Text); 131 std::string Filename = Name + ".dot"; 134 errs() << "Writing '" << Filename << "'..."; 136 raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_Text);
|
/external/llvm/lib/Analysis/ |
CFGPrinter.cpp | 80 std::string Filename = "cfg." + F.getName().str() + ".dot"; 81 errs() << "Writing '" << Filename << "'..."; 84 raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_Text); 114 std::string Filename = "cfg." + F.getName().str() + ".dot"; 115 errs() << "Writing '" << Filename << "'..."; 118 raw_fd_ostream File(Filename.c_str(), ErrorInfo, sys::fs::F_Text);
|
/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/Transforms/Instrumentation/ |
DebugIR.h | 34 std::string Filename; 47 /// Generate a file on disk to be displayed in a debugger. If Filename and 50 llvm::StringRef Directory, llvm::StringRef Filename) 54 Filename(Filename), GeneratedPath(false), ParsedPath(false) {} 68 /// Returns the concatenated Directory + Filename, without error checking 75 /// Replace the extension of Filename with NewExtension, and return true if 76 /// successful. Return false if extension could not be found or Filename is 80 /// Generate a temporary filename and open an fd 87 /// 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 | 141 SmallString<128> Filename; 143 sys::fs::createTemporaryFile(Self.getAsString(), "dot", FD, Filename); 149 llvm::errs() << "Writing '" << Filename << "'... "; 160 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/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));
|
InclusionRewriter.cpp | 64 StringRef FileName, bool IsAngled, 68 void WriteLineInfo(const char *Filename, int Line, 99 /// markers depending on what mode we're in, including the \p Filename and 102 void InclusionRewriter::WriteLineInfo(const char *Filename, int Line, 109 OS.write_escaped(Filename); 115 OS.write_escaped(Filename); 171 StringRef /*FileName*/, 288 StringRef Filename; 316 Filename = FilenameBuffer; 322 Filename = PP.getSpelling(Tok, FilenameBuffer, &Invalid) [all...] |
/external/llvm/lib/Support/ |
GraphWriter.cpp | 70 SmallString<128> Filename; 71 std::error_code EC = sys::fs::createTemporaryFile(Name, "dot", FD, Filename); 77 errs() << "Writing '" << Filename << "'... "; 78 return Filename.str(); 83 StringRef Filename, bool wait, 92 sys::fs::remove(Filename); 96 errs() << "Remember to erase graph file: " << Filename.str() << "\n"; 135 std::string Filename = FilenameRef; 145 args.push_back(Filename.c_str()); 149 return ExecGraphViewer(ViewerPath, args, Filename, wait, ErrMsg) [all...] |
/external/llvm/lib/Transforms/Utils/ |
AddDiscriminators.cpp | 195 StringRef Filename = FirstDIL.getFilename(); 199 DIFile File = Builder.createFile(Filename, Scope.getDirectory());
|
/external/clang/lib/Serialization/ |
ASTReaderInternals.h | 198 /// filename, and support "deep" comparisons of file names based on current 213 const char *Filename;
|
/external/compiler-rt/lib/profile/ |
InstrProfilingFile.c | 78 static void setFilename(const char *Filename, int OwnsFilename) { 82 __llvm_profile_CurrentFilename = Filename; 87 const char *Filename = __llvm_profile_CurrentFilename; 88 if (!Filename || !Filename[0]) 92 FILE *File = fopen(Filename, "w"); 102 const char *Filename = getenv("LLVM_PROFILE_FILE"); 103 if (!Filename || !Filename[0]) 106 /* Check the filename for "%p", which indicates a pid-substitution. * [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinCodeViewLineTables.h | 50 // InstrInfoTy - Holds the Filename:LineNumber information for every 53 StringRef Filename; 58 InstrInfoTy(StringRef Filename, unsigned LineNumber) 59 : Filename(Filename), LineNumber(LineNumber) {} 74 // filename. 81 // Add Filename to the registry, if it was not observed before. 82 void add(StringRef Filename) { 83 if (Infos.count(Filename)) 86 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/clang/lib/Basic/ |
FileManager.cpp | 40 /// represent a filename that doesn't exist on the disk. 107 /// Filename can point to either a real file or a virtual file. 109 StringRef Filename, 111 if (Filename.empty()) 114 if (llvm::sys::path::is_separator(Filename[Filename.size() - 1])) 115 return nullptr; // If Filename is a directory. 117 StringRef DirName = llvm::sys::path::parent_path(Filename); 216 const FileEntry *FileManager::getFile(StringRef Filename, bool openFile, 222 SeenFileEntries.GetOrCreateValue(Filename); [all...] |
/external/clang/lib/Frontend/ |
DependencyFile.cpp | 52 StringRef Filename = FE->getName(); 55 while (Filename.size() > 2 && Filename[0] == '.' && 56 llvm::sys::path::is_separator(Filename[1])) { 57 Filename = Filename.substr(1); 58 while (llvm::sys::path::is_separator(Filename[0])) 59 Filename = Filename.substr(1); 62 DepCollector.maybeAddDependency(Filename, /*FromModule*/false [all...] |
FrontendActions.cpp | 244 StringRef Filename) { 246 const FileEntry *ModuleMap = CI.getFileManager().getFile(Filename); 249 << Filename; 281 << CI.getLangOpts().CurrentModule << Filename; 294 << MissingHeader.IsUmbrella << MissingHeader.FileName;
|
/external/compiler-rt/lib/ubsan/ |
ubsan_value.h | 53 const char *Filename; 58 SourceLocation() : Filename(), Line(), Column() {} 59 SourceLocation(const char *Filename, unsigned Line, unsigned Column) 60 : Filename(Filename), Line(Line), Column(Column) {} 63 bool isInvalid() const { return !Filename; } 71 return SourceLocation(Filename, Line, OldColumn); 80 /// \brief Get the presumed filename for the source location. 81 const char *getFilename() const { return Filename; }
|