Lines Matching refs:OffsetCache
72 static std::vector<T> &GetOrCreateOffsetCache(void *&OffsetCache, in GetOrCreateOffsetCache() argument
74 if (OffsetCache) in GetOrCreateOffsetCache()
75 return *static_cast<std::vector<T> *>(OffsetCache); in GetOrCreateOffsetCache()
87 OffsetCache = Offsets; in GetOrCreateOffsetCache()
94 GetOrCreateOffsetCache<T>(OffsetCache, Buffer.get()); in getLineNumberSpecialized()
126 GetOrCreateOffsetCache<T>(OffsetCache, Buffer.get()); in getPointerForLineNumberSpecialized()
159 : Buffer(std::move(Other.Buffer)), OffsetCache(Other.OffsetCache), in SrcBuffer()
161 Other.OffsetCache = nullptr; in SrcBuffer()
165 if (OffsetCache) { in ~SrcBuffer()
168 delete static_cast<std::vector<uint8_t> *>(OffsetCache); in ~SrcBuffer()
170 delete static_cast<std::vector<uint16_t> *>(OffsetCache); in ~SrcBuffer()
172 delete static_cast<std::vector<uint32_t> *>(OffsetCache); in ~SrcBuffer()
174 delete static_cast<std::vector<uint64_t> *>(OffsetCache); in ~SrcBuffer()
175 OffsetCache = nullptr; in ~SrcBuffer()