Home
last modified time | relevance | path

Searched refs:ContentCache (Results 1 – 8 of 8) sorted by relevance

/external/clang/include/clang/Basic/
DSourceManager.h86 class LLVM_ALIGNAS(8) ContentCache {
143 ContentCache(const FileEntry *Ent = nullptr) : ContentCache(Ent, Ent) {} in ContentCache() function
145 ContentCache(const FileEntry *Ent, const FileEntry *contentEnt) in ContentCache() function
150 ~ContentCache();
155 ContentCache(const ContentCache &RHS) in ContentCache() function
226 ContentCache &operator=(const ContentCache& RHS) = delete;
231 static_assert(llvm::AlignOf<ContentCache>::Alignment >= 8,
265 static FileInfo get(SourceLocation IL, const ContentCache *Con, in get()
280 const ContentCache* getContentCache() const { in getContentCache()
281 return reinterpret_cast<const ContentCache*>(Data & ~uintptr_t(7)); in getContentCache()
[all …]
/external/clang/lib/Basic/
DSourceManager.cpp38 ContentCache::~ContentCache() { in ~ContentCache()
45 unsigned ContentCache::getSizeBytesMapped() const { in getSizeBytesMapped()
51 llvm::MemoryBuffer::BufferKind ContentCache::getMemoryBufferKind() const { in getMemoryBufferKind()
66 unsigned ContentCache::getSize() const { in getSize()
71 void ContentCache::replaceBuffer(llvm::MemoryBuffer *B, bool DoNotFree) { in replaceBuffer()
84 llvm::MemoryBuffer *ContentCache::getBuffer(DiagnosticsEngine &Diag, in getBuffer()
379 MemBufferInfos[i]->~ContentCache(); in ~SourceManager()
383 for (llvm::DenseMap<const FileEntry*, SrcMgr::ContentCache*>::iterator in ~SourceManager()
386 I->second->~ContentCache(); in ~SourceManager()
414 const ContentCache *
[all …]
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll74 …lang::LineTableInfo"*, %"class.clang::FileID", %"class.clang::SrcMgr::ContentCache"*, i32, i32, %"…
132 %"struct.std::pair.68" = type { %"class.clang::FileEntry"*, %"class.clang::SrcMgr::ContentCache"* }
153 …pe { %"struct.std::_Vector_base<clang::SrcMgr::ContentCache *, std::allocator<clang::SrcMgr::Conte…
154ContentCache *, std::allocator<clang::SrcMgr::ContentCache *> >::_Vector_impl" = type { %"class.cl…
169 %"class.clang::SrcMgr::ContentCache" = type <{ %"class.llvm::PointerIntPair", %"class.clang::FileEn…
185 %"struct.std::_Head_base.134" = type { %"class.clang::SrcMgr::ContentCache"* }
/external/clang/lib/Rewrite/
DRewriter.cpp249 const SrcMgr::ContentCache * in InsertText()
353 const SrcMgr::ContentCache * in IncreaseIndentation()
/external/clang/lib/Frontend/
DCacheTokens.cpp508 const SrcMgr::ContentCache &C = *I->second; in GeneratePTH()
/external/clang/lib/Serialization/
DASTReader.cpp1258 const SrcMgr::ContentCache *ContentCache in ReadSLocEntry() local
1261 if (OverriddenBuffer && !ContentCache->BufferOverridden && in ReadSLocEntry()
1262 ContentCache->ContentsEntry == ContentCache->OrigEntry && in ReadSLocEntry()
1263 !ContentCache->getRawBuffer()) { in ReadSLocEntry()
DASTWriter.cpp1517 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteInputFiles()
1870 const SrcMgr::ContentCache *Cache = SLoc->getFile().getContentCache(); in WriteSourceManagerBlock()
1888 const SrcMgr::ContentCache *Content = File.getContentCache(); in WriteSourceManagerBlock()
/external/clang/lib/AST/
DASTImporter.cpp5715 const SrcMgr::ContentCache *Cache = FromSLoc.getFile().getContentCache(); in Import()