Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Support/Unix/
H A DMemory.inc109 const size_t NumPages = (NumBytes + PageSize - 1) / PageSize;
115 void *Addr = ::mmap(reinterpret_cast<void *>(Start), PageSize * NumPages,
138 Result.AllocatedSize = PageSize * NumPages;
/openbsd-src/gnu/llvm/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()