| /openbsd-src/gnu/llvm/libcxx/benchmarks/ |
| H A D | map.bench.cpp | 60 TestSets makeTestingSets(size_t MapSize, Mode mode, Shuffle shuffle, in makeTestingSets() argument 68 int MapCount = std::min(max_maps, 1000000 / MapSize); in makeTestingSets() 70 for (uint64_t I = 0; I < MapSize; ++I) { in makeTestingSets() 79 for (uint64_t I = 0; I < MapSize; ++I) { in makeTestingSets() 90 size_t MapSize; member 91 Base(size_t T) : MapSize(T) {} in Base() 93 std::string baseName() const { return "_MapSize=" + std::to_string(MapSize); } in baseName() 114 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run() 116 while (State.KeepRunningBatch(MapSize)) { in run() 135 auto Data = makeTestingSets(MapSize, Mode::Hit, Shuffle::None, 1); in run() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | MemoryBuffer.cpp | 115 getFileAux(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 164 MemoryBuffer::getFileSlice(const Twine &FilePath, uint64_t MapSize, in getFileSlice() argument 167 return getFileAux<MemoryBuffer>(FilePath, MapSize, Offset, /*IsText=*/false, in getFileSlice() 259 uint64_t MapSize, int64_t Offset, bool RequiresNullTerminator, 264 getFileAux(const Twine &Filename, uint64_t MapSize, uint64_t Offset, in getFileAux() argument 272 auto Ret = getOpenFileImpl<MB>(FD, Filename, /*FileSize=*/-1, MapSize, Offset, in getFileAux() 287 WritableMemoryBuffer::getFileSlice(const Twine &Filename, uint64_t MapSize, in getFileSlice() argument 291 Filename, MapSize, Offset, /*IsText=*/false, in getFileSlice() 340 size_t MapSize, in shouldUseMmap() argument 353 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap() [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
| H A D | secondary.h | 40 uptr MapSize; member 69 unmap(reinterpret_cast<void *>(H->MapBase), H->MapSize, UNMAP_ALL, &Data); in unmap() 158 Entry.MapSize = H->MapSize; in store() 225 unmap(reinterpret_cast<void *>(Entry.MapBase), Entry.MapSize, UNMAP_ALL, in store() 280 (*H)->MapSize = Entry.MapSize; in retrieve() 323 Quarantine[I].MapSize, UNMAP_ALL, &Quarantine[I].Data); in disableMemoryTagging() 345 uptr MapSize; in empty() member 355 MapInfo[N].MapSize = Entries[I].MapSize; in empty() 364 unmap(MapInfo[I].MapBase, MapInfo[I].MapSize, UNMAP_ALL, in empty() 372 uptr MapSize; member [all …]
|
| H A D | primary32.h | 321 uptr MapSize = 2 * RegionSize; in allocateRegionSlow() local 323 map(nullptr, MapSize, "scudo:primary", MAP_ALLOWNOMEM)); in allocateRegionSlow() 326 const uptr MapEnd = MapBase + MapSize; in allocateRegionSlow() 333 MapSize = RegionSize; in allocateRegionSlow() 337 MapSize = RegionSize; in allocateRegionSlow() 339 const uptr End = Region + MapSize; in allocateRegionSlow()
|
| H A D | primary64.h | 573 const uptr MapSize = in populateFreeList() local 576 if (UNLIKELY(RegionBase + MappedUser + MapSize > RegionSize)) { in populateFreeList() 591 reinterpret_cast<void *>(RegionBeg + MappedUser), MapSize, in populateFreeList() 598 Region->MappedUser += MapSize; in populateFreeList() 599 C->getStats().add(StatMapped, MapSize); in populateFreeList()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | MemoryBuffer.h | 112 getOpenFileSlice(sys::fs::file_t FD, const Twine &Filename, uint64_t MapSize, 156 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 208 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset, 271 getFileSlice(const Twine &Filename, uint64_t MapSize, uint64_t Offset);
|