| /freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/ |
| H A D | FileEntry.h | 24 struct FileEntry { struct 32 FileEntry() = default; argument 33 FileEntry(uint32_t D, uint32_t B) : Dir(D), Base(B) {} in FileEntry() argument 37 bool operator==(const FileEntry &RHS) const { 40 bool operator!=(const FileEntry &RHS) const { 47 template <> struct DenseMapInfo<gsym::FileEntry> { 48 static inline gsym::FileEntry getEmptyKey() { 50 return gsym::FileEntry(key, key); 52 static inline gsym::FileEntry getTombstoneKey() { 54 return gsym::FileEntry(key, key); [all …]
|
| H A D | GsymReader.h | 54 ArrayRef<FileEntry> Files; 64 std::vector<FileEntry> Files; 150 std::optional<FileEntry> getFile(uint32_t Index) const { in getFile() 203 void dump(raw_ostream &OS, std::optional<FileEntry> FE);
|
| H A D | GsymCreator.h | 20 #include "llvm/DebugInfo/GSYM/FileEntry.h" 108 /// FileEntry Files[]; 112 /// used in all of the function info, followed by that number of FileEntry 114 /// the file table is represented with a FileEntry structure. 115 /// See "llvm/DebugInfo/GSYM/FileEntry.h" for details. 140 DenseMap<llvm::gsym::FileEntry, uint32_t> FileEntryToIndex; 143 std::vector<llvm::gsym::FileEntry> Files; 248 /// Inserts a FileEntry into the file table. 254 uint32_t insertFileEntry(FileEntry FE); 334 /// Inserts a file by adding a FileEntry int [all...] |
| /freebsd-src/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | FileEntry.h | 1 //===- clang/Basic/FileEntry.h - File references ----------------*- C++ -*-===// 10 /// Defines interfaces for clang::FileEntry and clang::FileEntryRef. 53 class FileEntry; variable 55 /// A reference to a \c FileEntry that includes the name of the file as it was 59 /// The name of this FileEntry. If a VFS uses 'use-external-name', this is 63 /// The name of this FileEntry, as originally requested without applying any 70 const FileEntry &getFileEntry() const { in getFileEntry() 71 return *getBaseMapEntry().second->V.get<FileEntry *>(); in getFileEntry() 82 /// Check if the underlying FileEntry is the same, intentially ignoring 87 friend bool operator==(const FileEntry *LH [all...] |
| H A D | FileManager.h | 18 #include "clang/Basic/FileEntry.h" 56 llvm::SpecificBumpPtrAllocator<FileEntry> FilesAlloc; 63 llvm::DenseMap<llvm::sys::fs::UniqueID, FileEntry *> UniqueRealFiles; 71 SmallVector<FileEntry *, 4> VirtualFileEntries; 75 SmallVector<FileEntry *, 0> BypassFileEntries; 113 /// Each FileEntry we create is assigned a unique ID #. 135 void fillRealPathName(FileEntry *UFE, llvm::StringRef FileName); 204 /// If there is no error, the FileEntry is guaranteed to be non-NULL. 210 llvm::ErrorOr<const FileEntry *> 272 const FileEntry *getVirtualFil [all...] |
| H A D | SourceManager.h | 38 #include "clang/Basic/FileEntry.h" 139 /// This reference does not own the FileEntry object. 229 /// file this size is retrieved from the file's FileEntry. 675 /// on their FileEntry*. All ContentCache objects will thus have unique, 676 /// non-null, FileEntry pointers. 695 llvm::DenseMap<const FileEntry *, FileEntryRef> OverriddenFiles; 698 llvm::DenseSet<const FileEntry *> OverriddenFilesWithBuffer; 713 /// All FileEntry* within the stored ContentCache objects are NULL, 895 /// Returns true when the given FileEntry corresponds to the main file. 898 bool isMainFile(const FileEntry in setPreambleFileID() [all...] |
| H A D | SourceMgrAdapter.h | 26 class FileEntry; variable
|
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | FileEntry.cpp | 20 FileEntry::FileEntry() : UniqueID(0, 0) {} in FileEntry() function in FileEntry 22 FileEntry::~FileEntry() = default; 24 void FileEntry::closeFile() const { File.reset(); } in closeFile()
|
| H A D | FileManager.cpp | 207 llvm::ErrorOr<const FileEntry *> in getFileRef() 277 FileEntry *&UFE = UniqueRealFiles[Status.getUniqueID()]; in getFileRef() 280 UFE = new (FilesAlloc.Allocate()) FileEntry(); in getFileRef() 283 // Use the requested name. Set the FileEntry. in getFileRef() 325 assert(Redirection.second->V.is<FileEntry *>() && in getFileRef() 327 assert(Redirection.second->V.get<FileEntry *>() == UFE && in getFileRef() 372 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN() 385 const FileEntry *FileManager::getVirtualFile(StringRef Filename, off_t Size, in getSTDIN() 399 if (LLVM_LIKELY(Value.V.is<FileEntry *>())) in getVirtualFileRef() [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFDebugLine.cpp | 160 const FileNameEntry &FileEntry = FileNames[I]; in dump() local 163 FileEntry.Name.dump(OS, DumpOptions); in dump() 165 << format(" dir_index: %" PRIu64 "\n", FileEntry.DirIdx); in dump() 167 OS << " md5_checksum: " << FileEntry.Checksum.digest() << '\n'; in dump() 169 OS << format(" mod_time: 0x%8.8" PRIx64 "\n", FileEntry.ModTime); in dump() 171 OS << format(" length: 0x%8.8" PRIx64 "\n", FileEntry.Length); in dump() 173 auto Source = FileEntry.Source.getAsCString(); in dump() 178 FileEntry.Source.dump(OS, DumpOptions); in dump() 218 DWARFDebugLine::FileNameEntry FileEntry; in parseV2DirFileTables() local 219 FileEntry in parseV2DirFileTables() 316 DWARFDebugLine::FileNameEntry FileEntry; parseV5DirFileTables() local 981 FileNameEntry FileEntry; parse() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/include/clang/Serialization/ |
| H A D | ModuleManager.h | 36 class FileEntry; 61 llvm::DenseMap<const FileEntry *, ModuleFile *> Modules; 64 /// FileEntry *. 77 llvm::DenseMap<const FileEntry *, std::unique_ptr<llvm::MemoryBuffer>> 182 ModuleFile *lookup(const FileEntry *File) const; 37 class FileEntry; global() variable
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/APINotes/ |
| H A D | APINotesYAMLCompiler.h | 17 class FileEntry; variable 28 bool compileAPINotes(llvm::StringRef YAMLInput, const FileEntry *SourceFile,
|
| H A D | APINotesWriter.h | 26 class FileEntry; 39 APINotesWriter(llvm::StringRef ModuleName, const FileEntry *SF); 20 class FileEntry; global() variable
|
| H A D | APINotesManager.h | 24 class FileEntry; 137 /// Get FileEntry for the APINotes of the module that is currently being 146 /// \returns a vector of FileEntry where APINotes files are. 25 class FileEntry; global() variable
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Lex/ |
| H A D | ModuleMap.h | 41 class FileEntry; variable 288 llvm::DenseMap<const FileEntry *, bool> ParsedModuleMap; 462 void resolveHeaderDirectives(const FileEntry *File) const; 468 std::optional<const FileEntry *> File) const;
|
| H A D | HeaderSearch.h | 47 class FileEntry; 298 /// included, indexed by the FileEntry's UID. 341 /// This is a mapping from FileEntry -> HeaderMap, uniquing headermaps. 352 llvm::DenseMap<const FileEntry *, bool> LoadedModuleMaps; 355 llvm::DenseMap<const FileEntry *, llvm::SmallString<64>> IncludeNames; 525 /// the FileEntry for the designated file, otherwise return null. 608 /// FileEntry, uniquing them through the 'HeaderMaps' datastructure. 840 /// Return the HeaderFileInfo structure for the specified FileEntry, in 844 /// Return the HeaderFileInfo structure for the specified FileEntry, if it has in angled_dir_begin() 848 /// Return the headerFileInfo structure for the specified FileEntry, i in angled_dir_end() 46 class FileEntry; global() variable [all...] |
| H A D | PreprocessorLexer.h | 27 class FileEntry; variable
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | DependencyGraph.cpp | 40 const FileEntry *Node); 113 const FileEntry *Node) { in OutputGraphFile()
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/Frontend/ |
| H A D | VerifyDiagnosticConsumer.h | 28 class FileEntry; variable 144 using ParsedFilesMap = llvm::DenseMap<FileID, const FileEntry *>;
|
| H A D | ASTUnit.h | 68 class FileEntry; variable 553 SourceLocation getLocation(const FileEntry *File, 557 SourceLocation getLocation(const FileEntry *File, unsigned Offset) const;
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/ |
| H A D | GsymCreator.cpp | 32 // We must insert the strings first, then call the FileEntry constructor. in insertFile() 38 return insertFileEntry(FileEntry(Dir, Base)); in insertFile() 41 uint32_t GsymCreator::insertFileEntry(FileEntry FE) { in insertFileEntry() 52 // File index zero is reserved for a FileEntry with no directory and no in copyFile() 57 const FileEntry SrcFE = SrcGC.Files[FileIdx]; in copyFile() 64 FileEntry DstFE(Dir, Base); in save() 434 Size += Files.size() * sizeof(FileEntry);
|
| /freebsd-src/contrib/llvm-project/clang/lib/ExtractAPI/ |
| H A D | ExtractAPIConsumer.cpp | 20 #include "clang/Basic/FileEntry.h" 220 if (auto FileEntry = CI.getFileManager().getFile(KnownFile.first)) in LocationFileChecker() 221 KnownFileEntries.insert(*FileEntry); in LocationFileChecker() 227 llvm::DenseSet<const FileEntry *> KnownFileEntries; 228 llvm::DenseSet<const FileEntry *> ExternalFileEntries; 219 if (auto FileEntry = CI.getFileManager().getFile(KnownFile.first)) LocationFileChecker() local
|
| /freebsd-src/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderInternals.h | 30 class FileEntry; variable 281 const FileEntry *getFile(const internal_key_type &Key);
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerTypeUnit.cpp | 290 FilenamesMapTy::iterator FileEntry = FileNamesMap.find({FileName, DirIdx}); in addFileNameIntoLinetable() local 291 if (FileEntry == FileNamesMap.end()) { in addFileNameIntoLinetable() 301 FileIdx = FileEntry->second; in addFileNameIntoLinetable()
|
| /freebsd-src/contrib/llvm-project/clang/include/clang/ARCMigrate/ |
| H A D | FileRemapper.h | 40 llvm::DenseMap<const FileEntry *, FileEntryRef> ToFromMappings;
|