/openbsd/gnu/llvm/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() function 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; 141 std::optional<FileEntry> getFile(uint32_t Index) const { in getFile() 194 void dump(raw_ostream &OS, std::optional<FileEntry> FE);
|
H A D | GsymCreator.h | 139 DenseMap<llvm::gsym::FileEntry, uint32_t> FileEntryToIndex; 140 std::vector<llvm::gsym::FileEntry> Files;
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | FileEntry.h | 53 class FileEntry; variable 70 const FileEntry &getFileEntry() const { in getFileEntry() 71 return *getBaseMapEntry().second->V.get<FileEntry *>(); in getFileEntry() 124 llvm::PointerUnion<FileEntry *, const void *> V; 154 operator const FileEntry *() const { return &getFileEntry(); } 328 operator const FileEntry *() const { 356 class FileEntry { 359 FileEntry(); 360 FileEntry(const FileEntry &) = delete; 361 FileEntry &operator=(const FileEntry &) = delete; [all …]
|
H A D | FileManager.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; 129 void fillRealPathName(FileEntry *UFE, llvm::StringRef FileName); 204 llvm::ErrorOr<const FileEntry *> 262 const FileEntry *getVirtualFile(StringRef Filename, off_t Size, 278 getBufferForFile(const FileEntry *Entry, bool isVolatile = false, 316 SmallVectorImpl<const FileEntry *> &UIDToFiles) const; 330 StringRef getCanonicalName(const FileEntry *File);
|
H A D | SourceManager.h | 151 const FileEntry *ContentsEntry; 189 ContentCache(FileEntryRef Ent, const FileEntry *contentEnt) in ContentCache() 862 bool isMainFile(const FileEntry &SourceFile); 911 FileID getOrCreateFileID(const FileEntry *SourceFile, 945 getMemoryBufferForFileOrNone(const FileEntry *File); 963 void overrideFileContents(const FileEntry *SourceFile, in overrideFileContents() 975 void overrideFileContents(const FileEntry *SourceFile, 991 bool isFileOverridden(const FileEntry *File) const { in isFileOverridden() 1010 void setFileIsTransient(const FileEntry *SourceFile); 1046 const FileEntry *getFileEntryForID(FileID FID) const { in getFileEntryForID() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Lex/ |
H A D | ModuleMap.h | 41 class FileEntry; variable 265 const FileEntry *ModuleMapFile; 286 llvm::DenseMap<const FileEntry *, bool> ParsedModuleMap; 361 HeadersMap::iterator findKnownHeader(const FileEntry *File); 369 KnownHeader findHeaderInUmbrellaDirs(const FileEntry *File, 378 bool isHeaderInUmbrellaDirs(const FileEntry *File) { in isHeaderInUmbrellaDirs() 421 bool isBuiltinHeader(const FileEntry *File); 442 KnownHeader findModuleForHeader(const FileEntry *File, 458 findResolvedModulesForHeader(const FileEntry *File) const; 464 void resolveHeaderDirectives(const FileEntry *File) const; [all …]
|
H A D | HeaderSearch.h | 46 class FileEntry; variable 499 StringRef Filename, const FileEntry *ContextFileEnt, 526 void MarkFileIncludeOnce(const FileEntry *File) { in MarkFileIncludeOnce() 533 void MarkFileSystemHeader(const FileEntry *File) { in MarkFileSystemHeader() 538 void MarkFileModuleHeader(const FileEntry *FE, 546 void SetFileControllingMacro(const FileEntry *File, in SetFileControllingMacro() 559 bool hasFileBeenImported(const FileEntry *File) { in hasFileBeenImported() 571 const HeaderMap *CreateHeaderMap(const FileEntry *FE); 670 findAllModulesForHeader(const FileEntry *File) const; 755 bool findUsableModuleForHeader(const FileEntry *File, [all …]
|
/openbsd/gnu/llvm/clang/lib/ARCMigrate/ |
H A D | FileRemapper.cpp | 63 std::vector<std::pair<const FileEntry *, const FileEntry *> > pairs; in initFromFile() 131 const FileEntry *origFE = I->first; in flushToFile() 137 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in flushToFile() 174 const FileEntry *origFE = I->first; in overwriteOriginal() 199 if (const FileEntry *FE = Mapping.second.dyn_cast<const FileEntry *>()) { in forEachMapping() 212 if (const FileEntry *FE = I->second.dyn_cast<const FileEntry *>()) { in applyMappings() 228 void FileRemapper::remap(const FileEntry *file, in remap() 236 void FileRemapper::remap(const FileEntry *file, const FileEntry *newfile) { in remap() 245 const FileEntry *file = nullptr; in getOriginalFile() 250 llvm::DenseMap<const FileEntry *, const FileEntry *>::iterator in getOriginalFile() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/ARCMigrate/ |
H A D | FileRemapper.h | 26 class FileEntry; variable 36 typedef llvm::PointerUnion<const FileEntry *, llvm::MemoryBuffer *> Target; 37 typedef llvm::DenseMap<const FileEntry *, Target> MappingsTy; 40 llvm::DenseMap<const FileEntry *, const FileEntry *> ToFromMappings; 69 void remap(const FileEntry *file, std::unique_ptr<llvm::MemoryBuffer> memBuf); 70 void remap(const FileEntry *file, const FileEntry *newfile); 72 const FileEntry *getOriginalFile(StringRef filePath);
|
/openbsd/gnu/llvm/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 | 197 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() 413 FileEntry *UFE = nullptr; in getVirtualFileRef() 451 RealFE = new (FilesAlloc.Allocate()) FileEntry(); in getVirtualFileRef() 460 UFE = new (FilesAlloc.Allocate()) FileEntry(); in getVirtualFileRef() 491 FileEntry *BFE = new (FilesAlloc.Allocate()) FileEntry(); in getBypassFile() [all …]
|
/openbsd/gnu/llvm/clang/tools/libclang/ |
H A D | CIndexHigh.cpp | 213 const FileEntry *File, in findIdRefsInFile() 246 const FileEntry *File; 250 FindFileMacroRefVisitData(ASTUnit &Unit, const FileEntry *File, in FindFileMacroRefVisitData() 307 const FileEntry *File, in findMacroRefsInFile() 340 const FileEntry *File; 343 FindFileIncludesVisitor(ASTUnit &Unit, const FileEntry *File, in FindFileIncludesVisitor() 381 static bool findIncludesInFile(CXTranslationUnit TU, const FileEntry *File, in findIncludesInFile() 435 *Log << cursor << " @" << static_cast<const FileEntry *>(file); in clang_findReferencesInFile() 447 static_cast<const FileEntry *>(file), in clang_findReferencesInFile() 472 static_cast<const FileEntry *>(file), in clang_findReferencesInFile() [all …]
|
H A D | CXSourceLocation.cpp | 131 const FileEntry *File = static_cast<const FileEntry *>(file); in clang_getLocation() 163 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset() 254 *file = const_cast<FileEntry *>(SM.getFileEntryForSLocEntry(sloc)); in clang_getExpansionLocation() 331 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getSpellingLocation() 367 *file = const_cast<FileEntry *>(SM.getFileEntryForID(FID)); in clang_getFileLocation()
|
H A D | CXIndexDataConsumer.h | 20 class FileEntry; variable 282 typedef llvm::DenseMap<const FileEntry *, CXIdxClientFile> FileMapTy; 291 typedef std::pair<const FileEntry *, const Decl *> RefFileOccurrence; 363 void enteredMainFile(const FileEntry *File); 370 void importedPCH(const FileEntry *File); 463 CXIdxClientFile getIndexFile(const FileEntry *File);
|
H A D | CIndexInclusionStack.cpp | 62 CB(static_cast<CXFile>(const_cast<FileEntry *>( in getInclusions() 63 static_cast<const FileEntry *>(FI.getContentCache().OrigEntry))), in getInclusions()
|
H A D | CLog.h | 26 class FileEntry; variable 68 Logger &operator<<(const FileEntry *FE);
|
/openbsd/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
H A D | DWARFDebugLine.cpp | 163 FileEntry.Name.dump(OS, DumpOptions); in dump() 174 FileEntry.Source.dump(OS, DumpOptions); in dump() 213 DWARFDebugLine::FileNameEntry FileEntry; in parseV2DirFileTables() local 214 FileEntry.Name = in parseV2DirFileTables() 227 FileNames.push_back(FileEntry); in parseV2DirFileTables() 311 DWARFDebugLine::FileNameEntry FileEntry; in parseV5DirFileTables() local 320 FileEntry.Name = Value; in parseV5DirFileTables() 323 FileEntry.Source = Value; in parseV5DirFileTables() 346 FileNames.push_back(FileEntry); in parseV5DirFileTables() 934 FileNameEntry FileEntry; in parse() local [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Frontend/ |
H A D | VerifyDiagnosticConsumer.h | 28 class FileEntry; variable 281 llvm::PointerIntPair<const FileEntry *, 1, bool> Data; 284 UnparsedFileStatus(const FileEntry *File, bool FoundDirectives) in UnparsedFileStatus() 287 const FileEntry *getFile() const { return Data.getPointer(); } in getFile() 291 using ParsedFilesMap = llvm::DenseMap<FileID, const FileEntry *>;
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | HeaderSearch.cpp | 147 const HeaderMap *HeaderSearch::CreateHeaderMap(const FileEntry *FE) { in CreateHeaderMap() 756 const FileEntry *MSFE, const FileEntry *FE, in checkMSVCHeaderSearch() 912 const FileEntry *Includer = IncluderAndDir.first; in LookupFile() 1179 StringRef Filename, const FileEntry *ContextFileEnt, in LookupSubframeworkHeader() 1316 HeaderFileInfo &HeaderSearch::getFileInfo(const FileEntry *FE) { in getFileInfo() 1339 HeaderSearch::getExistingFileInfo(const FileEntry *FE, in getExistingFileInfo() 1384 void HeaderSearch::MarkFileModuleHeader(const FileEntry *FE, in MarkFileModuleHeader() 1569 HeaderSearch::findAllModulesForHeader(const FileEntry *File) const { in findAllModulesForHeader() 1578 static bool suggestModule(HeaderSearch &HS, const FileEntry *File, in suggestModule() 1651 static const FileEntry *getPrivateModuleMap(const FileEntry *File, in getPrivateModuleMap() [all …]
|
/openbsd/gnu/llvm/clang/include/clang/Serialization/ |
H A D | ModuleManager.h | 37 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;
|
/openbsd/gnu/llvm/clang/include/clang/Tooling/Inclusions/ |
H A D | HeaderAnalysis.h | 16 class FileEntry; variable 30 bool isSelfContainedHeader(const FileEntry *FE, const SourceManager &SM,
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CoverageMappingGen.h | 28 class FileEntry; variable 107 llvm::SmallDenseMap<const FileEntry *, unsigned, 8> FileEntries; 141 unsigned getFileID(const FileEntry *File);
|
/openbsd/gnu/llvm/clang/ |
H A D | NOTES.txt | 24 1. FileEntry contains a sys::Path instead of a std::string for Name. 26 FileEntry. 28 These changes make it possible to efficiently have FileEntry objects for 37 3. Reading the dir uses the getdirentries syscall, creating a FileEntry
|
/openbsd/gnu/llvm/clang/lib/Tooling/Inclusions/ |
H A D | HeaderAnalysis.cpp | 60 llvm::StringRef getFileContents(const FileEntry *FE, const SourceManager &SM) { in getFileContents() 69 bool isSelfContainedHeader(const FileEntry *FE, const SourceManager &SM, in isSelfContainedHeader()
|