/external/llvm/include/llvm/Support/ |
GraphWriter.h | 53 bool DisplayGraph(StringRef Filename, bool wait = true, 331 std::string Filename = createGraphFilename(N, FD); 335 errs() << "error opening file '" << Filename << "' for writing!\n"; 342 return Filename; 352 std::string Filename = llvm::WriteGraph(G, Name, ShortNames, Title); 354 if (Filename.empty()) 357 DisplayGraph(Filename, true, Program);
|
SourceMgr.h | 132 unsigned AddIncludeFile(const std::string &Filename, SMLoc IncludeLoc, 230 std::string Filename; 242 SMDiagnostic(StringRef filename, SourceMgr::DiagKind Knd, StringRef Msg) 243 : SM(nullptr), Filename(filename), LineNo(-1), ColumnNo(-1), Kind(Knd), 255 StringRef getFilename() const { return Filename; }
|
GCOV.h | 270 StringRef getFilename() const { return Filename; } 286 StringRef Filename; 383 void addBlockLine(StringRef Filename, uint32_t Line, const GCOVBlock *Block) { 384 if (Line > LineInfo[Filename].LastLine) 385 LineInfo[Filename].LastLine = Line; 386 LineInfo[Filename].Blocks[Line-1].push_back(Block); 388 void addFunctionLine(StringRef Filename, uint32_t Line, 390 if (Line > LineInfo[Filename].LastLine) 391 LineInfo[Filename].LastLine = Line; 392 LineInfo[Filename].Functions[Line-1].push_back(Function) [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinCodeViewLineTables.cpp | 30 Filename = Scope.getFilename(); 31 char *&Result = DirAndFilenameToFilepathMap[std::make_pair(Dir, Filename)]; 35 // Clang emits directory and relative filename info into the IR, but CodeView 40 if (Filename.find(':') == 1) 41 Filepath = Filename; 43 Filepath = (Dir + Twine("\\") + Filename).str(); 87 StringRef Filename = getFullFilepath(Scope); 93 if (LastInstr.Filename == Filename && LastInstr.LineNumber == DL.getLine()) 96 FileNameRegistry.add(Filename); [all...] |
/external/llvm/lib/LTO/ |
LTOCodeGenerator.cpp | 193 SmallString<128> Filename; 196 sys::fs::createTemporaryFile("lto-llvm", "o", FD, Filename); 203 tool_output_file objFile(Filename.c_str(), FD); 210 sys::fs::remove(Twine(Filename)); 216 sys::fs::remove(Twine(Filename)); 220 NativeObjectPath = Filename.c_str();
|
/external/llvm/lib/Support/ |
SourceMgr.cpp | 52 unsigned SourceMgr::AddIncludeFile(const std::string &Filename, 55 IncludedFile = Filename; 63 IncludeDirectories[i] + sys::path::get_separator().data() + Filename; 244 : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind), 353 if (!Filename.empty()) { 354 if (Filename == "-") 357 S << Filename;
|
/external/llvm/tools/bugpoint/ |
ExtractFunction.cpp | 367 SmallString<128> Filename; 370 OutputPrefix + "-extractblocks%%%%%%%", FD, Filename); 377 sys::RemoveFileOnSignal(Filename); 379 tool_output_file BlocksToNotExtractFile(Filename.c_str(), FD); 399 uniqueFN += Filename.str(); 406 sys::fs::remove(Filename.c_str());
|
/external/llvm/utils/KillTheDoctor/ |
KillTheDoctor.cpp | 177 char Filename[MAX_PATH+1]; 209 Filename, 210 array_lengthof(Filename) - 1); 215 Name = Filename;
|
/frameworks/compile/slang/ |
slang_rs.cpp | 69 // Returns true if \p Filename ends in ".fs". 70 bool SlangRS::isFilterscript(const char *Filename) { 71 const char *c = strrchr(Filename, '.'); 260 const char *Filename = PLoc.getFilename(); 261 if (!Filename) { 264 return IsRSHeaderFile(llvm::sys::path::filename(Filename).data());
|
/external/clang/include/clang/Basic/ |
SourceLocation.h | 357 const char *Filename; 361 PresumedLoc() : Filename(nullptr) {} 363 : Filename(FN), Line(Ln), Col(Co), IncludeLoc(IL) { 370 bool isInvalid() const { return Filename == nullptr; } 371 bool isValid() const { return Filename != nullptr; } 373 /// \brief Return the presumed filename of this location. 376 const char *getFilename() const { return Filename; }
|
/external/clang/include/clang/Frontend/ |
CompilerInstance.h | 140 /// If TempFilename is not empty we must rename it to Filename at the end. 141 /// TempFilename may be empty and Filename non-empty if creating the temporary 144 std::string Filename; 148 OutputFile(const std::string &filename, const std::string &tempFilename, 150 : Filename(filename), TempFilename(tempFilename), OS(os) { } 602 /// \p Filename, \p Line, and \p Column, to the given output stream \p OS. 604 createCodeCompletionConsumer(Preprocessor &PP, const std::string &Filename,
|
ASTUnit.h | 79 std::string Filename; 534 /// \brief If this ASTUnit came from an AST file, returns the filename for it. 687 llvm::MemoryBuffer *getBufferForFile(StringRef Filename, 705 /// \param Filename - The AST file to load. 711 static ASTUnit *LoadFromASTFile(const std::string &Filename, [all...] |
/external/clang/lib/CodeGen/ |
CodeGenAction.cpp | 426 StringRef Filename; 428 D.getLocation(&Filename, &Line, &Column); 430 const FileEntry *FE = FileMgr.getFile(Filename); 454 << Filename << Line << Column;
|
/external/clang/lib/Rewrite/Core/ |
Rewriter.cpp | 437 AtomicallyMovedFile(DiagnosticsEngine &Diagnostics, StringRef Filename, 439 : Diagnostics(Diagnostics), Filename(Filename), AllWritten(AllWritten) { 440 TempFilename = Filename; 461 llvm::sys::fs::rename(TempFilename.str(), Filename)) { 464 << TempFilename << Filename << ec.message(); 476 StringRef Filename;
|
/external/llvm/tools/llvm-symbolizer/ |
LLVMSymbolize.cpp | 214 StringRef Basename = sys::path::filename(Path); 399 // By default, DILineInfo contains "<invalid>" for function/filename it 411 std::string Filename = LineInfo.FileName; 412 if (Filename == kDILineInfoBadString) 413 Filename = kBadString; 414 Result << Filename << ":" << LineInfo.Line << ":" << LineInfo.Column << "\n";
|
/external/clang/lib/Lex/ |
HeaderSearch.cpp | 223 /// getName - Return the directory or filename corresponding to this lookup 235 getFileAndSuggestModule(HeaderSearch &HS, StringRef FileName, 240 HS.hasModuleMap(FileName, Dir, IsSystemHeaderDir); 242 const FileEntry *File = HS.getFileMgr().getFile(FileName, 251 HS.hasModuleMap(FileName, Dir, IsSystemHeaderDir)) 258 return HS.getFileMgr().getFile(FileName, /*openFile=*/true); 264 StringRef &Filename, 279 llvm::sys::path::append(TmpDir, Filename); 287 RelativePath->append(Filename.begin(), Filename.end()) [all...] |
Pragma.cpp | 462 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); 467 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); 470 if (Filename.empty()) 475 const FileEntry *File = LookupFile(FilenameTok.getLocation(), Filename, 480 Diag(FilenameTok, diag::err_pp_file_not_found) << Filename; 622 // We will either get a quoted filename or a bracketed filename, and we 623 // have to track which we got. The first filename is the source name, 624 // and the second name is the mapped filename. If the first is quoted, [all...] |
PPDirectives.cpp | 562 StringRef Filename, 606 Filename, FilenameLoc, isAngled, FromDir, CurDir, Includers, SearchPath, 611 getModuleForLocation(FilenameLoc), FilenameLoc, Filename, FE); 621 if ((FE = HeaderInfo.LookupSubframeworkHeader(Filename, CurFileEnt, 626 getModuleForLocation(FilenameLoc), FilenameLoc, Filename, FE); 638 Filename, CurFileEnt, SearchPath, RelativePath, 642 getModuleForLocation(FilenameLoc), FilenameLoc, Filename, FE); [all...] |
/external/clang/lib/StaticAnalyzer/Frontend/ |
AnalysisConsumer.cpp | 708 std::string Filename; 715 UbigraphViz(raw_ostream *Out, StringRef Filename); 770 UbigraphViz::UbigraphViz(raw_ostream *Out, StringRef Filename) 771 : Out(Out), Filename(Filename), Cntr(0) { 785 args.push_back(Filename.c_str()); 794 llvm::sys::fs::remove(Filename);
|
/external/llvm/lib/Transforms/Instrumentation/ |
DebugIR.cpp | 138 /// - changes Filename/Directory to values provided on construction 157 /// Source filename and directory 158 StringRef Filename; 170 DIUpdater(Module &M, StringRef Filename = StringRef(), 174 Finder(), Filename(Filename), Directory(Directory), FileNode(nullptr), 293 Builder.createCompileUnit(dwarf::DW_LANG_C99, Filename, Directory, 300 FileNode = Builder.createFile(Filename, Directory); 454 /// Sets Filename/Directory from the Module identifier and returns true, or 457 std::string &Filename) { [all...] |
GCOVProfiling.cpp | 209 // list of line numbers and a single filename, representing lines that belong 220 return lengthOfGCOVString(Filename) + 2 + Lines.size(); 225 writeGCOVString(Filename); 231 : Filename(F) { 236 StringRef Filename; 246 GCOVLines &getFile(StringRef Filename) { 247 GCOVLines *&Lines = LinesByFile[Filename]; 249 Lines = new GCOVLines(Filename, os); 426 SmallString<128> Filename = GCovFile->getString(); 427 sys::path::replace_extension(Filename, NewStem) [all...] |
/external/chromium_org/v8/tools/ |
generate-runtime-tests.py | 20 FILENAME = "src/runtime.cc" 769 def Filename(self): [all...] |
/external/clang/lib/Driver/ |
Driver.cpp | 529 VFS = llvm::sys::path::filename(Script + ".cache"); 540 // Replace the original filename with the preprocessed one. 548 StringRef NewFilename = llvm::sys::path::filename(*it); [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SampleProfile.cpp | 60 "sample-profile-file", cl::init(""), cl::value_desc("filename"), 243 : Profiles(0), Filename(F), M(M) {} 256 DiagnosticInfoSampleProfile Diag(Filename.data(), LineNumber, Msg); 274 StringRef Filename; 292 : FunctionPass(ID), Profiler(), Filename(Name), ProfileIsValid(false) { 316 StringRef Filename; 454 MemoryBuffer::getFile(Filename); 457 M.getContext().diagnose(DiagnosticInfoSampleProfile(Filename.data(), Msg)); [all...] |
/external/llvm/tools/llvm-ar/ |
llvm-ar.cpp | 145 // getRelPos - Extract the member filename from the command line for 497 [Name](StringRef Path) { return Name == sys::path::filename(Path); }); 511 StringRef PosName = sys::path::filename(RelPos); 543 StringRef PosName = sys::path::filename(RelPos); 600 StringRef Name = sys::path::filename(*I); 770 const char *Filename = Member.getNew(); 774 MemoryBuffer::getOpenFile(FD, Filename, Status.getSize(), false); 775 failIfError(MemberBufferOrErr.getError(), Filename); 814 const char *FileName = I->getNew(); 817 StringRef Name = sys::path::filename(FileName) [all...] |