Home
last modified time | relevance | path

Searched refs:NumPages (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Support/Unix/
H A DMemory.inc111 const size_t NumPages = (NumBytes+PageSize-1)/PageSize;
117 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize*NumPages, Protect,
140 Result.AllocatedSize = PageSize*NumPages;
/llvm-project-15.0.7/llvm/lib/MC/
H A DWasmObjectWriter.cpp853 uint64_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; in writeImportSection() local
874 encodeULEB128(NumPages, W->OS); // initial in writeImportSection()