Home
last modified time | relevance | path

Searched refs:PageSize (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DOrcABISupport.cpp150 static const unsigned PageSize = sys::Process::getPageSizeEstimate(); in emitIndirectStubsBlock() local
151 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock()
152 unsigned NumStubs = (NumPages * PageSize) / StubSize; in emitIndirectStubsBlock()
157 2 * NumPages * PageSize, nullptr, in emitIndirectStubsBlock()
164 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); in emitIndirectStubsBlock()
166 NumPages * PageSize, in emitIndirectStubsBlock()
167 NumPages * PageSize); in emitIndirectStubsBlock()
171 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize) in emitIndirectStubsBlock()
232 static const unsigned PageSize = sys::Process::getPageSizeEstimate(); in emitIndirectStubsBlock() local
233 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; in emitIndirectStubsBlock()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/Unix/
DMemory.inc90 static const size_t PageSize = Process::getPageSize();
91 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
108 if (Start && Start % PageSize)
109 Start += PageSize - Start % PageSize;
111 void *Addr = ::mmap(reinterpret_cast<void*>(Start), PageSize*NumPages,
123 Result.Size = NumPages*PageSize;
147 static const size_t PageSize = Process::getPageSize();
156 uintptr_t Start = alignAddr((uint8_t *)M.Address - PageSize + 1, PageSize);
157 uintptr_t End = alignAddr((uint8_t *)M.Address + M.Size, PageSize);
179 static const size_t PageSize = Process::getPageSize();
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Unix/
DMemory.inc116 static const size_t PageSize = Process::getPageSizeEstimate();
117 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
119 if (Start && Start % PageSize)
120 Start += PageSize - Start % PageSize;
123 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize*NumPages, Protect,
146 Result.AllocatedSize = PageSize*NumPages;
175 static const Align PageSize = Align(Process::getPageSizeEstimate());
183 uintptr_t Start = alignAddr((const uint8_t *)M.Address - PageSize.value() + 1, PageSize);
184 uintptr_t End = alignAddr((const uint8_t *)M.Address + M.AllocatedSize, PageSize);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DSectionMemoryManager.cpp174 static const size_t PageSize = sys::Process::getPageSizeEstimate(); in trimBlockToPageSize() local
177 (PageSize - ((uintptr_t)M.base() % PageSize)) % PageSize; in trimBlockToPageSize()
181 TrimmedSize -= TrimmedSize % PageSize; in trimBlockToPageSize()
186 assert(((uintptr_t)Trimmed.base() % PageSize) == 0); in trimBlockToPageSize()
187 assert((Trimmed.allocatedSize() % PageSize) == 0); in trimBlockToPageSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DProcess.h57 if (auto PageSize = getPageSize()) in getPageSizeEstimate() local
58 return *PageSize; in getPageSizeEstimate()
60 consumeError(PageSize.takeError()); in getPageSizeEstimate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
DMemoryBuffer.cpp287 int PageSize, in shouldUseMmap() argument
297 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap()
324 if ((FileSize & (PageSize -1)) == 0) in shouldUseMmap()
342 static int PageSize = sys::Process::getPageSize(); in getOpenFileImpl() local
368 PageSize, IsVolatileSize)) { in getOpenFileImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DMemoryBuffer.cpp313 int PageSize, in shouldUseMmap() argument
323 if (MapSize < 4 * 4096 || MapSize < (unsigned)PageSize) in shouldUseMmap()
349 if ((FileSize & (PageSize -1)) == 0) in shouldUseMmap()
421 static int PageSize = sys::Process::getPageSizeEstimate(); in getOpenFileImpl() local
447 PageSize, IsVolatile)) { in getOpenFileImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/runtime/
Dwasm-runtime.cpp60 const uint32_t PageSize = 1 << PageSizeLog2; // 64KB variable
249 HeapBreak = (WASM_DATA_SIZE + PageSize - 1) & ~(PageSize - 1); in main()
/third_party/boost/boost/interprocess/
Dmapped_region.hpp246 static const std::size_t PageSize; member
852 const std::size_t mapped_region::page_size_holder<dummy>::PageSize member in boost::interprocess::mapped_region::page_size_holder<dummy>
857 if(!page_size_holder<0>::PageSize) in get_page_size()
860 return page_size_holder<0>::PageSize; in get_page_size()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DImplicitNullChecks.cpp64 static cl::opt<int> PageSize("imp-null-check-page-size", variable
376 -PageSize < Offset && Offset < PageSize)) in isSuitableMemoryOp()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRemoteTargetServer.h338 uint32_t PageSize = sys::Process::getPageSizeEstimate(); in handleGetRemoteInfo() local
344 << " page size = " << PageSize << "\n" in handleGetRemoteInfo()
348 return std::make_tuple(ProcessTriple, PointerSize, PageSize, TrampolineSize, in handleGetRemoteInfo()
/third_party/boost/libs/interprocess/proj/
Dto-do.txt78 -> Add maximum alignment allocation limit in PageSize bytes. Otherwise, we can't
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FrameLowering.cpp580 const int64_t PageSize = 0x1000; in emitStackProbeInline() local
581 const int64_t PageMask = ~(PageSize - 1); in emitStackProbeInline()
698 false, -PageSize); in emitStackProbeInline()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch582 StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateImpl(
590 @@ -423,7 +424,8 @@ StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateImpl(
600 @@ -442,7 +444,7 @@ StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateAllocated(
608 template <size_t PageSize, size_t PageAlignment, size_t AllocationAlignment>
609 @@ -452,7 +454,7 @@ StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateQuarantined(
617 template <size_t PageSize, size_t PageAlignment, size_t AllocationAlignment>
618 @@ -463,7 +465,7 @@ StateBitmap<PageSize, PageAlignment, AllocationAlignment>::IterateQuarantined(
626 template <size_t PageSize, size_t PageAlignment, size_t AllocationAlignment>
627 @@ -472,7 +474,7 @@ inline void StateBitmap<PageSize, PageAlignment, AllocationAlignment>::
635 template <size_t PageSize, size_t PageAlignment, size_t AllocationAlignment>
[all …]