Home
last modified time | relevance | path

Searched refs:FileEntry (Results 1 – 25 of 62) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DFileEntry.h24 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 DGsymReader.h54 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 DGsymCreator.h139 DenseMap<llvm::gsym::FileEntry, uint32_t> FileEntryToIndex;
142 std::vector<llvm::gsym::FileEntry> Files;
253 uint32_t insertFileEntry(FileEntry FE);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DFileEntry.h53 class FileEntry; variable
70 const FileEntry &getFileEntry() const { in getFileEntry()
71 return *getBaseMapEntry().second->V.get<FileEntry *>(); in getFileEntry()
121 llvm::PointerUnion<FileEntry *, const MapEntry *> V;
151 operator const FileEntry *() const { return &getFileEntry(); }
267 static unsigned getHashValue(const clang::FileEntry *Val) {
300 class FileEntry {
303 FileEntry();
304 FileEntry(const FileEntry &) = delete;
305 FileEntry &operator=(const FileEntry &) = delete;
[all …]
H A DFileManager.h56 llvm::SpecificBumpPtrAllocator<FileEntry> FilesAlloc;
63 llvm::DenseMap<llvm::sys::fs::UniqueID, FileEntry *> UniqueRealFiles;
71 SmallVector<FileEntry *, 4> VirtualFileEntries;
75 SmallVector<FileEntry *, 0> BypassFileEntries;
129 void fillRealPathName(FileEntry *UFE, llvm::StringRef FileName);
204 llvm::ErrorOr<const FileEntry *>
262 const FileEntry *getVirtualFile(StringRef Filename, off_t Size,
H A DSourceManager.h691 llvm::DenseMap<const FileEntry *, FileEntryRef> OverriddenFiles;
694 llvm::DenseSet<const FileEntry *> OverriddenFilesWithBuffer;
894 bool isMainFile(const FileEntry &SourceFile);
1009 void overrideFileContents(const FileEntry *SourceFile, FileEntryRef NewFile);
1012 bool isFileOverridden(const FileEntry *File) const { in isFileOverridden()
1066 const FileEntry *getFileEntryForID(FileID FID) const { in getFileEntryForID()
1086 const FileEntry *
1631 SourceLocation translateFileLineCol(const FileEntry *SourceFile,
1638 FileID translateFile(const FileEntry *SourceFile) const;
1715 bool hasFileInfo(const FileEntry *File) const { in hasFileInfo()
H A DSourceMgrAdapter.h26 class FileEntry; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DFileEntry.cpp20 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 DFileManager.cpp197 llvm::ErrorOr<const FileEntry *>
267 FileEntry *&UFE = UniqueRealFiles[Status.getUniqueID()]; in getFileRef()
270 UFE = new (FilesAlloc.Allocate()) FileEntry(); in getFileRef()
315 assert(Redirection.second->V.is<FileEntry *>() && in getFileRef()
384 FileEntry &FE = const_cast<FileEntry &>(STDIN->getFileEntry()); in getSTDIN()
404 if (LLVM_LIKELY(Value.V.is<FileEntry *>())) in getVirtualFileRef()
412 FileEntry *UFE = nullptr; in getVirtualFileRef()
450 RealFE = new (FilesAlloc.Allocate()) FileEntry(); in getVirtualFileRef()
459 UFE = new (FilesAlloc.Allocate()) FileEntry(); in getVirtualFileRef()
490 FileEntry *BFE = new (FilesAlloc.Allocate()) FileEntry(); in getBypassFile()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLine.cpp163 FileEntry.Name.dump(OS, DumpOptions); in dump()
178 FileEntry.Source.dump(OS, DumpOptions); in dump()
218 DWARFDebugLine::FileNameEntry FileEntry; in parseV2DirFileTables() local
219 FileEntry.Name = in parseV2DirFileTables()
232 FileNames.push_back(FileEntry); in parseV2DirFileTables()
316 DWARFDebugLine::FileNameEntry FileEntry; in parseV5DirFileTables() local
325 FileEntry.Name = Value; in parseV5DirFileTables()
328 FileEntry.Source = Value; in parseV5DirFileTables()
351 FileNames.push_back(FileEntry); in parseV5DirFileTables()
981 FileNameEntry FileEntry; in parse() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Serialization/
H A DModuleManager.h37 class FileEntry; variable
62 llvm::DenseMap<const FileEntry *, ModuleFile *> Modules;
78 llvm::DenseMap<const FileEntry *, std::unique_ptr<llvm::MemoryBuffer>>
183 ModuleFile *lookup(const FileEntry *File) const;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/APINotes/
H A DAPINotesYAMLCompiler.h17 class FileEntry; variable
28 bool compileAPINotes(llvm::StringRef YAMLInput, const FileEntry *SourceFile,
H A DAPINotesWriter.h20 class FileEntry; variable
28 APINotesWriter(llvm::StringRef ModuleName, const FileEntry *SF);
H A DAPINotesManager.h25 class FileEntry; variable
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DModuleMap.h41 class FileEntry; variable
289 llvm::DenseMap<const FileEntry *, bool> ParsedModuleMap;
463 void resolveHeaderDirectives(const FileEntry *File) const;
469 std::optional<const FileEntry *> File) const;
H A DHeaderSearch.h46 class FileEntry; variable
335 llvm::DenseMap<const FileEntry *, bool> LoadedModuleMaps;
338 llvm::DenseMap<const FileEntry *, llvm::SmallString<64>> IncludeNames;
867 StringRef getIncludeNameForHeader(const FileEntry *File) const;
H A DPreprocessorLexer.h27 class FileEntry; variable
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DDependencyGraph.cpp40 const FileEntry *Node);
90 const FileEntry *Node) { in writeNodeReference()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DVerifyDiagnosticConsumer.h28 class FileEntry; variable
144 using ParsedFilesMap = llvm::DenseMap<FileID, const FileEntry *>;
H A DASTUnit.h68 class FileEntry; variable
553 SourceLocation getLocation(const FileEntry *File,
557 SourceLocation getLocation(const FileEntry *File, unsigned Offset) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DGsymCreator.cpp37 return insertFileEntry(FileEntry(Dir, Base)); in insertFile()
40 uint32_t GsymCreator::insertFileEntry(FileEntry FE) { in insertFileEntry()
56 const FileEntry SrcFE = SrcGC.Files[FileIdx]; in copyFile()
60 FileEntry DstFE(Dir, Base); in copyFile()
427 Size += Files.size() * sizeof(FileEntry); in calculateHeaderAndTableSize()
/freebsd-14.2/contrib/llvm-project/clang/lib/ExtractAPI/
H A DExtractAPIConsumer.cpp219 if (auto FileEntry = CI.getFileManager().getFile(KnownFile.first)) in LocationFileChecker() local
220 KnownFileEntries.insert(*FileEntry); in LocationFileChecker()
226 llvm::DenseSet<const FileEntry *> KnownFileEntries;
227 llvm::DenseSet<const FileEntry *> ExternalFileEntries;
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderInternals.h30 class FileEntry; variable
281 const FileEntry *getFile(const internal_key_type &Key);
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerTypeUnit.cpp290 FilenamesMapTy::iterator FileEntry = FileNamesMap.find({FileName, DirIdx}); in addFileNameIntoLinetable() local
291 if (FileEntry == FileNamesMap.end()) { in addFileNameIntoLinetable()
301 FileIdx = FileEntry->second; in addFileNameIntoLinetable()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ARCMigrate/
H A DFileRemapper.h40 llvm::DenseMap<const FileEntry *, FileEntryRef> ToFromMappings;

123