Home
last modified time | relevance | path

Searched refs:FileInfo (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DCachePruning.cpp31 struct FileInfo { struct
38 bool operator<(const FileInfo &Other) const { in operator <() argument
206 std::set<FileInfo> FileInfos; in pruneCache()
248 auto FileInfo = FileInfos.begin(); in pruneCache() local
253 sys::fs::remove(FileInfo->Path); in pruneCache()
255 TotalSize -= FileInfo->Size; in pruneCache()
257 LLVM_DEBUG(dbgs() << " - Remove " << FileInfo->Path << " (size " in pruneCache()
258 << FileInfo->Size << "), new occupancy is " << TotalSize in pruneCache()
260 ++FileInfo; in pruneCache()
315 while (TotalSize > TotalSizeTarget && FileInfo ! in pruneCache()
32 Time__anonb0b04ff30111::FileInfo global() argument
33 Size__anonb0b04ff30111::FileInfo global() argument
34 Path__anonb0b04ff30111::FileInfo global() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleList.cpp164 BinaryStreamRef FileInfo) { in initialize() argument
167 if (auto EC = initializeFileInfo(FileInfo)) in initialize()
187 Error DbiModuleList::initializeFileInfo(BinaryStreamRef FileInfo) { in initializeFileInfo() argument
188 FileInfoSubstream = FileInfo; in initializeFileInfo()
190 if (FileInfo.getLength() == 0) in initializeFileInfo()
193 BinaryStreamReader FISR(FileInfo); in initializeFileInfo()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp94 << FileInfo.size() << " files tracked.\n"; in PrintStats()
96 for (unsigned i = 0, e = FileInfo.size(); i != e; ++i) in PrintStats()
97 NumOnceOnlyFiles += (FileInfo[i].isPragmaOnce || FileInfo[i].isImport); in PrintStats()
1367 if (FE.getUID() >= FileInfo.size()) in getFileInfo()
1368 FileInfo.resize(FE.getUID() + 1); in getFileInfo()
1370 HeaderFileInfo *HFI = &FileInfo[FE.getUID()]; in getFileInfo()
1391 if (FE.getUID() >= FileInfo.size()) in getExistingFileInfo()
1392 FileInfo.resize(FE.getUID() + 1); in getExistingFileInfo()
1394 HFI = &FileInfo[FE.getUID()]; in getExistingFileInfo()
1404 } else if (FE.getUID() < FileInfo.size()) { in getExistingFileInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiModuleList.h71 Error initialize(BinaryStreamRef ModInfo, BinaryStreamRef FileInfo);
85 Error initializeFileInfo(BinaryStreamRef FileInfo);
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DSourceManager.cpp291 SrcMgr::FileInfo &FileInfo = Entry.getFile(); in AddLineNote() local
294 FileInfo.setHasLineDirectives(); in AddLineNote()
389 for (auto &FileInfo : Old.FileInfos) { in initializeForReplay() local
390 SrcMgr::ContentCache *&Slot = FileInfos[FileInfo.first]; in initializeForReplay()
393 Slot = CloneContentCache(FileInfo.second); in initializeForReplay()
455 0, FileInfo::get(SourceLocation(), getFakeContentCacheForRecovery(), in loadSLocEntry()
614 LoadedOffset, FileInfo::get(IncludePos, File, FileCharacter, Filename)); in createFileIDImpl()
627 FileInfo::get(IncludePos, File, FileCharacter, Filename))); in createFileIDImpl()
1432 const SrcMgr::FileInfo &FI = SEntry->getFile(); in getFileCharacteristic()
1483 const SrcMgr::FileInfo &FI = Entry.getFile(); in getPresumedLoc()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCCodeView.h240 struct FileInfo { struct
257 SmallVector<FileInfo, 4> Files; argument
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h295 class FileInfo {
321 static FileInfo get(SourceLocation IL, ContentCache &Con, in get()
323 FileInfo X; in get()
474 static_assert(sizeof(FileInfo) <= sizeof(ExpansionInfo),
487 FileInfo File;
499 const FileInfo &getFile() const { in getFile()
503 FileInfo &getFile() { in getFile()
521 static SLocEntry get(SourceLocation::UIntTy Offset, const FileInfo &FI) { in get()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DMSVC.cpp615 VS_FIXEDFILEINFO *FileInfo = nullptr; in getMSVCVersionFromExe() local
618 reinterpret_cast<LPVOID *>(&FileInfo), &FileInfoSize) || in getMSVCVersionFromExe()
619 FileInfoSize < sizeof(*FileInfo)) in getMSVCVersionFromExe()
622 const unsigned Major = (FileInfo->dwFileVersionMS >> 16) & 0xFFFF; in getMSVCVersionFromExe()
623 const unsigned Minor = (FileInfo->dwFileVersionMS ) & 0xFFFF; in getMSVCVersionFromExe()
624 const unsigned Micro = (FileInfo->dwFileVersionLS >> 16) & 0xFFFF; in getMSVCVersionFromExe()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h299 mutable std::vector<HeaderFileInfo> FileInfo; variable
455 FileInfo.clear(); in ClearFileInfo()
838 unsigned header_file_size() const { return FileInfo.size(); } in header_file_size()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h79 class FileInfo; variable
515 const SrcMgr::FileInfo &File);
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.h124 extern llvm::cl::opt<bool> FileInfo;
H A DBytesOutputStyle.cpp153 if (opts::bytes::FileInfo) { in dump()
H A Dllvm-pdbutil.cpp408 cl::opt<bool> FileInfo("files", cl::desc("Dump source file info"),
410 cl::opt<bool> FileInfo("files", cl::desc("Dump source file info"), global() variable
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1712 const SrcMgr::FileInfo &File) { in getAffectingIncludeLoc()
1763 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteInputFiles()
2301 const SrcMgr::FileInfo &File = SLoc->getFile(); in WriteSourceManagerBlock()
4942 const SrcMgr::FileInfo &File = SLoc->getFile(); in computeNonAffectingInputFiles()
4997 const SrcMgr::FileInfo &File = SLoc->getFile(); in computeNonAffectingInputFiles()
H A DASTReader.cpp1695 SrcMgr::FileInfo &FileInfo = SourceMgr.getSLocEntry(FID).getFile(); in ReadSLocEntry() local
1696 FileInfo.NumCreatedFIDs = Record[5]; in ReadSLocEntry()
1698 FileInfo.setHasLineDirectives(); in ReadSLocEntry()
1738 auto &FileInfo = SourceMgr.getSLocEntry(FID).getFile(); in ReadSLocEntry() local
1739 FileInfo.setHasLineDirectives(); in ReadSLocEntry()
/freebsd/sys/contrib/edk2/
H A DMdePkg.dec346 ## Include/Guid/FileInfo.h
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp3971 const SrcMgr::FileInfo &fileInfo = sloc.getFile(); in getNullabilityCompletenessCheckFileID()