Searched refs:OffsetCache (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 84 static std::vector<T> &GetOrCreateOffsetCache(void *&OffsetCache, in GetOrCreateOffsetCache() argument 86 if (OffsetCache) in GetOrCreateOffsetCache() 87 return *static_cast<std::vector<T> *>(OffsetCache); in GetOrCreateOffsetCache() 99 OffsetCache = Offsets; in GetOrCreateOffsetCache() 106 GetOrCreateOffsetCache<T>(OffsetCache, Buffer.get()); in getLineNumberSpecialized() 138 GetOrCreateOffsetCache<T>(OffsetCache, Buffer.get()); in getPointerForLineNumberSpecialized() 171 : Buffer(std::move(Other.Buffer)), OffsetCache(Other.OffsetCache), in SrcBuffer() 173 Other.OffsetCache = nullptr; in SrcBuffer() 177 if (OffsetCache) { in ~SrcBuffer() 180 delete static_cast<std::vector<uint8_t> *>(OffsetCache); in ~SrcBuffer() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/ |
H A D | CoroFrame.cpp | 1202 DenseMap<unsigned, std::pair<unsigned, unsigned>> OffsetCache; in buildFrameDebugInfo() local 1204 OffsetCache.insert({ResumeIndex, {8, 0}}); in buildFrameDebugInfo() 1205 OffsetCache.insert({DestroyIndex, {8, 8}}); in buildFrameDebugInfo() 1206 OffsetCache.insert( in buildFrameDebugInfo() 1213 OffsetCache.insert( in buildFrameDebugInfo() 1224 if (!OffsetCache.contains(Index)) in buildFrameDebugInfo() 1236 AlignInBits = OffsetCache[Index].first * 8; in buildFrameDebugInfo() 1237 OffsetInBits = OffsetCache[Index].second * 8; in buildFrameDebugInfo()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | SourceMgr.h | 60 mutable void *OffsetCache = nullptr; member
|